html{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*, *::before, *::after{
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
	        box-sizing: inherit;
}
body, html {
background: #fff;
text-align:center;
height:100%;
margin:0;
padding:0;
}
img{border: none; max-width: 100%; height: auto;}

/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/
a{
color: #991123;
}
#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
}
* html #main-container{height:100%;}

.headerwrap, .mainwrapper, .footerwrap, #module_ajax_19, .newsmoduletitle, .allnewsmodule, .slide_description, .photomdmodule{
	max-width: 1170px;
	padding: 0 10px;
	margin: 0 auto;
}

/***************** Шапка сайта */
#header{
position:relative;
height:172px;
background: url(../images/header.jpg) center top no-repeat rgba(92, 1, 18, .9);
}
#header a.logo {
text-decoration:none;
}
.headerwrap{
	height: 122px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;

}
.headerwrap p{
	font: bold 18px Arial, sans-serif;
	color: #f1d19f;
}
.phonemodule p, .addressmodule p{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.addressmodule{
	-webkit-box-ordinal-group: 0;
	-webkit-order: -1;
	   -moz-box-ordinal-group: 0;
	    -ms-flex-order: -1;
	        order: -1;
}

/************************** Хлебные крошки */
.pathway {
	margin:10px 0 30px;
}

a.pathwaylink{
	font: bold 12px 'Glober', sans-serif;
	text-decoration: none;
	color: #000000;
}

/***************** Модульная позиция - TOP */
#top {
	overflow:hidden
}

/***************** Левая колонка */
#left{
padding:0;
float:left;
line-height:normal;
width:263px;
}

/***************** Правая колонка */
#right{
padding:5px;
float:right;
line-height:normal;
width:220px;
}

/***************** Стили блока основного содержания */
#both{
margin:0 220px;
padding:0 15px;
}
#only_left {
margin:0 0 0 293px;
padding:0;
}
#only_right {
margin:0 220px 0 0;
padding:0 15px;
}
#no_sides {padding:0 10px}

/***************** Модульная позиция - BOTTOM */
#bottom {
	margin: 0;
	overflow:hidden
}

/***************** Clear block and Rasporka */
#clear{
height:0;
font-size:1px;
line-height:0px;
clear:both;
}
#rasporka {height:80px; margin: 0 0}


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
#footer{
position:relative;
height:80px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
margin:-80px auto 0;
background: #2e0006;
}
#footer p{ margin:0;}

.footerwrap{
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

/************************************ Счетчики */
p.copyright {
	font:12px Arial, Helvetica, sans-serif;
	color:#f1d19f
}
p.copyright a {color:#f1d19f; text-decoration: none;}
p.copyright a:hover{text-decoration: underline;}
table.counters {
	position:absolute;
	right:0;
	bottom:10px;
}
.counters td {padding:0 3px}
.sitemap{
	margin-right: 10px;
}

/************************************ Модуля */
#left .module,
#right .module {
	margin:0 0 15px;
}
#left .moduletitle,
#right .moduletitle {
	font-size:18px;
	text-align:center;
	margin:0 0 10px
}
#left .modulebody,
#right .modulebody {}

.photoviewlink{
	display: block;
	border: 1px solid #ae8ecb;
	text-decoration: none !important;
	text-transform: uppercase;
	color: #906eb0 !important;
	width: 273px;
	text-align: center;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
	padding: 14px 0;
	margin-bottom: 8px;
	font-size: 12px;
}
.photoviewlink:hover{border: 1px solid #561673; color: #561673 !important;}

.prevphoto, .nextphoto{
	display: inline-block;
	width: 50px;
	height: 50px;
	background: url(../images/strelki.png) 0% 0% no-repeat;
}
.nextphoto{background: url(../images/strelki.png) 100% 0% no-repeat;}
.prevphoto:hover{background-position: 0% 100%;}
.nextphoto:hover{background-position: 100% 100%;}

.pagebar{
    margin: 10px 0;
	font-size:18px;
	clear:both;
	text-align: center;
}
.pagebar a{
	color: #000000 !important;
	text-decoration: none !important;
	font-family: 'PFBeauSansProRegular';
}
.pagebar a:hover{
	color: #2968b5 !important;
	border-top: 1px solid #2968b5;
	border-bottom: 1px solid #2968b5;
}
.pagebar_title{
	margin:5px;
    color:#375E93;
}
.pagebar_page{
	margin:2px;
	padding:5px;
}
.pagebar_current{
	margin:2px;
	padding:4px;
	color: #2968b5 !important;
	background: none !important;
	border-top: 1px solid #2968b5;
	border-bottom: 1px solid #2968b5;
}

#popup_message img{
	max-width: 150px;
}

@media screen and (max-width: 1024px){
	.photo_album_tumb, .photo_thumb{width: 48%;}
}

@media screen and (max-width: 720px){
	.photo_layout td{display: block; width: 100%;}
	.photo_album_tumb, .photo_thumb{width: 99%;}
	.photo_thumb img, .photo_layout img{height: auto; width: 100%;}
}

/************************************* Модальное окно *******************************/

#modal_form{
    width: 600px; 
    height: auto; 
    -webkit-border-radius: 5px; 
       -moz-border-radius: 5px; 
            border-radius: 5px;
    border: 3px #000 solid;
    background: #fff;
    position: fixed; 
    top: 45%; 
    left: 50%; 
    margin-top: -300px;
    margin-left: -150px; 
    display: none;
    opacity: 0; 
    z-index: 500;
    padding: 20px 10px;
	max-height: 500px;
	overflow-y: scroll;
}
#modal_form #modal_close{
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
}
#modal_overlay{
    z-index: 3; 
    position: fixed; 
    background-color: #000; 
    opacity: 0.8;
    width: 100%; 
    height: 100%;
    top: 0; 
    left: 0;
    cursor: pointer;
    display: none;
}

/****************** ********************/

.taglinebar{
	display: none;
}

.newsmodule, .mapmodule{
	margin-top: 50px;
}

.newsmodule{
	background: url(../images/know.jpg) right top no-repeat;
}
.newsmoduletitle, .photomdmoduletitle{
	font: bold 38px 'Glober', sans-serif;
	color: #000;
	margin-bottom: 25px;
}

#module_ajax_19{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.mod_latest_entry{
	width: 290px;
	position: relative;
}
.newswrapper{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}
.mod_latest_entry .one{
	position: relative;
	margin-bottom: 20px;
}

.mod_latest_image{
    width: 290px;
    height: 390px;
}
.mod_latest_image img{
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.mod_latest_date{
	font: 16px 'Dita', sans-serif;
	color: #f1d19f;
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: 0;
}
a.mod_latest_title{
	font: bold 24px 'Glober', sans-serif;
	color: #991123;
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}
a.mod_latest_title:hover{
	color: #f1d19f;
}
.mod_latest_desc{
	font: 13px Arial, sans-serif;
	color: #4e4e4e;
}
a.mod_latest_link{
	font: bold 17px 'Glober', sans-serif;
	color: #f1d19f;
	text-decoration: none;
	display: none;
	text-align: center;
	background: #690714;
	border: 5px solid #fff;
	-webkit-box-shadow: 0 0 0 1px #690714;
	   -moz-box-shadow: 0 0 0 1px #690714;
	        box-shadow: 0 0 0 1px #690714;
	padding: 8px 0 2px;
	margin-top: 20px;
}
a.mod_latest_link:hover{
	border-color: #690714;
}
.mod_latest_entry:hover a.mod_latest_link{
	display: block;
}
.mod_latest_entry:hover::before{
	position: absolute;
	display: block;
	content: "";
	width: -webkit-calc(100% + 40px);
	width: -moz-calc(100% + 40px);
	width: calc(100% + 40px);
	height: -webkit-calc(100% + 40px);
	height: -moz-calc(100% + 40px);
	height: calc(100% + 40px);
	left: 0;
	top: 0;
	margin: -20px 0 0 -20px;
	border: 1px solid #690714;
	pointer-events: none;
}
.allnewsmodule a{
	font: bold 18px 'Glober', sans-serif;
	color: #991123;
	display: table;
	margin: 50px auto 0;
}

.photowr{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.photo_gallery{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
        justify-content: space-between;
}
.photo_gallery > *{
width: 49%;
max-height: 300px;
    overflow: hidden;
margin-bottom: 10px;
}

.photomdmodulebody{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	   -moz-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.photomdmodulebody > a{
	width: 24.5%;
	text-align: center;
}
.photomdmodulebody img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}
.photomdmoduletitle{
	margin: 50px 0 0 0;
}

@media (max-width: 968px){

.headerwrap p{
font-size: 14px;
}

.photomdmodulebody > a{
	width: 33%;
}
.mod_latest_entry{
	width: 45%;
}
.photomdmodulebody a:last-child, .mod_latest_entry:last-child, .bannermodule, .leftmenumodule{
	display: none;
}
.mod_latest_image{
	width: 100%;
}
#module_ajax_19{
	justify-content: space-between;
	padding: 0 25px;
}

#left, #only_left{
	width: 100%;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	float: none;
}



}

@media (max-width: 720px){

.phonemodule{
	display: none;
}
.mainmodulebody img{
	max-width: 50%;
	height: auto !important;
}


}

@media (max-width: 640px){

.newsmoduletitle, .photomdmoduletitle{
	font-size: 28px;
}
.mod_latest_entry{
	width: 90%;
	margin: 0 auto;
}
.mod_latest_entry:nth-child(2), #top{
	display: none;
}
#header{
	height: 222px;
}
#mainmenu li a{
	padding: 20px 10px 13px !important;
}

}


@media (max-width: 480px){

.photomdmodulebody > a{
	width: 50%;
}
.mainmodulebody img, .photomdmodulebody a:nth-child(3){
	display: none;
}

}

.uc_cat_item1 a[href*="1002"]{background-image: url('../images/bg1.jpg');}
.uc_cat_item1 a[href*="1003"]{background-image: url('../images/bg2.jpg');}
.uc_cat_item1 a[href*="1004"]{background-image: url('../images/bg3.jpg');}

.uc_cat_item1 a[href*="1005"]{background-image: url('../images/bg4.jpg');}
.uc_cat_item1 a[href*="1006"]{background-image: url('../images/bg5.jpg');}
.uc_cat_item1 a[href*="1007"]{background-image: url('../images/bg6.jpg');}

.uc_cat_item1 a{
    position: relative;
    font: bold 20px 'Glober', sans-serif;
    color: #fff;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 150px;
    padding: 10px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.uc_cat_item1 a::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.4);
}
.uc_cat_item1 span{
    position: relative;
    z-index: 1;
}

@media (min-width: 720px){
 
.uc_cat_list1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.uc_cat_item1{
    width: 48%;
}
 
}

@media (min-width: 1024px){
 
.uc_cat_item1{
    width: 33%;
}

}

#shop_list_buttons, #shop_cartlink, #shop_ac_itemdiv, #shop_price, #shop_toollink_div{
    display: none;
}
#catalog_list_itempic{
    min-width: 240px;
}
.catalog_list_item{
    margin-bottom: 20px;
}

@media (max-width: 580px){
    #catalog_item_table td{
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}
    
    .con_desc .con_image a img {width:220px;}




