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;
position: relative;
min-width: 1200px;
}
img{border: none; max-width: 100%; height: auto;}

body::before{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 174px;
	background: url(../images/bodyPseudo.png) center center no-repeat;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 73px;
}

/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
}
#up, #no_sides, .mainakciamodule, .pathway{
	max-width:1170px;
	margin: 0 auto;
	padding: 0 15px;
}
* html #main-container{height:100%;}

/***************** Шапка сайта */
#header{
	background: url(../images/fn.jpg) center top no-repeat #fff;
	position:relative;
	height:250px;
	padding: 0 0;
}

#header a.logo {
	display: table;
margin: 0 auto;
padding: 10px 0 0;
text-decoration:none;
}

/************************** Хлебные крошки */
.pathway {
	margin:25px auto 60px;
	padding:0 0;
}
a.pathwaylink{
	font-size: 12px;
	font-family: Arial, sans-serif;
	color: #cab26d;
}
a.pathwaylink:last-child{
	color: #aa7e00;
	text-decoration: none;
}

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

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

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

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

#bottom{
	background: url(../images/bottom.jpg) center bottom no-repeat;
}

/***************** Модульная позиция - BOTTOM */

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


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
#footer{
position:relative;
height:107px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
margin:-107px auto 0;
background: #900b1e;
z-index: 3;
}
.foot{
	max-width:1170px;
	height: 100%;
	margin: 0 auto;
	padding: 0 15px;
    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;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.footerlogo{
	margin: -40px 0 0;
}
#footer p{ margin:0;}

.sitemap{
	margin: 0 0 0px 20px;
}
.today, #footer p.copyright{
	margin-top: 10px;
	display: block;
}
.footersocial a:hover, .contactsmodule a:hover{
	opacity: 0.5;
}

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

/************************************ Модуля */
#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;
}

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

.uc_detailfield{
	font-size: 15px;
	font-family: Arial, sans-serif;
	color: #484848;
}
.uc_detailfield .uc_detailfieldst{
	font-family: 'Plumb-Black', sans-serif;
	font-size: 15px;
	font-weight: normal;
	color: #aa7e00;
	margin-bottom: 10px;
	display: block;
}

.uc_detailfield:nth-child(2) p{
	display: inline-block;
	margin-right: 10px;
	padding: 5px 10px;
	background: #f1ecf3;
}

.uc_detailimg_mainimg .lightbox-enabled, .uc_thumb_item .lightbox-enabled, .uc_latest_item .lightbox-enabled{
	display: block;
	position: relative;
	overflow: hidden;
}

.uc_detailimg_mainimg .lightbox-enabled::before, .uc_thumb_item .lightbox-enabled::before, .uc_latest_item .lightbox-enabled::before{
	display: block;
	content: "";
	position: absolute;
	width: 100%;
	height: 20%;
	min-height: 50px;
	left: 0;
	bottom: 0;
	background: url(../images/zoom.png) center center rgba(68, 37, 85, 0.5) no-repeat;
}
.uc_thumb_item .lightbox-enabled::before, .uc_latest_item .lightbox-enabled::before{
	height: 100%;
	opacity: 0;
	left: 100%;
	bottom: -100%;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
}
.uc_thumb_item .lightbox-enabled:hover::before, .uc_latest_item .lightbox-enabled:hover::before{
	opacity: 1;
	left: 0;
	bottom: 0;
	z-index: 1;
}
.uc_detailimg_restimg{
	margin-top: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
}
.uc_detailimg_restimg a:hover{
	outline: 3px solid #efe3d0;
}

.uc_cat_list{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.uc_cat_list > div{
	width: 33%;
	margin-bottom: 50px;
}
.catalog_category_link{
	display: block;
	margin-top: 10px;
}
.cat_item_wrap{
	width: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.cat_item_wrap > div{
	width: 32%;
	margin-bottom: 30px;
}
.cat_item_all{
	position: relative;
}
.uc_detailimg{
	float: left;
}

.contactsmodule{
	font-family: 'Plumb-Black', sans-serif;
	font-size: 22px;
	color: #fff;
}
.contactsmodulebody{
	display: flex;
	justify-content: center;
}
.contactsmodulebody p{
	text-align: center;
	display: inline-flex;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	background: rgba(201, 3, 22, 0.8);
	border-radius: 35px;
	padding: 10px 30px;
}
.contactsmodulebody p img{
	margin: 0 15px;
}
.contactsmodule strong{
	font-weight: normal;
	position: relative;
}
.contactsmodule strong::after{
	position: relative;
	display: inline-block;
	content: "";
	width: 21px;
	height: 21px;
	background: url(../images/ph.png) center center no-repeat;
	margin: 0px 0 -3px 10px;
}

.newsmodule{
	padding-bottom: 120px;
}
.contentlist{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	        justify-content: space-around;
}
.mod_latest_date{
	font-family: 'Plumb-Medium', sans-serif;
	font-size:14px;
	color:#AA7E00;
}
a.mod_latest_title{
	font-family: 'Plumb-Black', sans-serif;
	font-size: 18px;
	color: #a72b37;
	text-decoration: none;
	display: block;
	margin: 20px 0;
}
a.mod_latest_title:hover{
	color: #a771c5;
}
.mod_latest_desc{
	font-family: Arial, sans-serif;
	font-size: 16px;
	color: #747474;
}
.mod_latest_entry{
	padding: 20px;
	width: 31%;
}
.mod_latest_entry:hover{
	outline: 10px solid #fff;
}
.contentlist .mod_latest_entry:hover {
    outline: 10px solid rgba(170, 126, 0, 0.41);
}
#module_ajax_19{
	padding: 20px 0 40px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	        justify-content: space-around;
}
a.allnews, .mainmodule a, .ukrmodule a{
	display: table;
	margin: 0 auto;
	font-family: 'Plumb-Black', sans-serif;
	font-size: 16px;
	color: #a72b37;
	text-decoration: none;
	border-left: 1px solid #debf5f;
	border-right: 1px solid #debf5f;
	position: relative;
	padding: 10px 20px;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
.newsmoduletitle{
	text-align: center;
	margin: 50px 0;
    font-family: 'Plumb-Black', sans-serif;
    font-size: 30px;
    color: #a72b37;
}
#up .owl-item p{
	margin: 0;
}
.slidermodulebody{
	border: 5px solid #ffd988;
}
.allnews::before, .allnews::after,
.mainmodule a::before, .mainmodule a::after,
.ukrmodule a::before, .ukrmodule a::after{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 1px;
	background: #debf5f;
	opacity: 0;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
.allnews::before, .mainmodule a::before, .ukrmodule a::before{
	right: 50%;
	top: 0;
}
.allnews::after, .mainmodule a::after, .ukrmodule a::after{
	left: 50%;
	bottom: 0;
}
.allnews:hover::before, .mainmodule a:hover::before, .ukrmodule a:hover::before{
	right: 0;
	opacity: 1;
}
.allnews:hover::after, .mainmodule a:hover::after, .ukrmodule a:hover::after{
	left: 0;
	opacity: 1;
}
a.allnews:hover, .mainmodule a:hover, .ukrmodule a:hover{
	background: #debf5f;
	color: #fff;
}
.lightbox-enabled img{
	display: block;
}

@media only screen and (max-width: 1024px){


.contentlist .mod_latest_entry{
	width: 49%;
	margin-bottom: 30px;
}
.cat_item_wrap > div{
	width: 48%;
}

}

@media only screen and (min-width: 969px){

.mobilemenumodule{
	display: none;
}

}

@media only screen and (max-width: 968px){

.uc_detailimg{
    float: none;
    display: table;
    margin: 0 auto 20px;
}
.uc_list_itemdesc{
	width: 100%;
	float: none;
	display: block;
}
#left .akciamodule{
	display: none;
}
#left, #only_left{
	float: none;
	clear: both;
	width: 100%;
	padding: 0 0;
	margin: 0 auto 20px;
}

.slidermodule{
	display: none;
}
.mobilemenumodule{
	margin: 40px auto 20px;
}


}



@media only screen and (max-width: 868px){

#header{
	position: static !important;
}
body::before{
	display: none;
}
.contactsmodulebody{
	position: absolute;
	right: 15px;
	top: 5px;
}
.contactsmodulebody p{
	display: inline-block;
	float: left;
}
.contactsmodulebody span{
	position: absolute;
	right: 0;
	top: 25px;
	width: 200px;
	opacity: 0;
}
.contactsmodulebody p:hover span{
	opacity: 1;
}
.ukrmodule p{
	display: none;
}
.ukrmodule p:last-child{
	display: block;
}
.mainmodule{
	margin-bottom: 50px !important;
}

}

@media only screen and (max-width: 640px){

.footerlogo{
	display: none;
}
.foot{
	height: 100%;
}

}

@media only screen and (max-width: 520px){

#module_ajax_19{
	display: block;
}
.newsmodule .mod_latest_entry{
	width: 98%;
	margin: 0 auto;
}

}


@media only screen and (max-width: 480px){

#header .logo{
	margin-top: -10px !important;
}
.ukrmodule{
	display: none !important;
}
.uc_cat_list, .cat_item_wrap, .contentlist{
	display: block;
}
.uc_cat_list > div, .cat_item_wrap > div, .contentlist .mod_latest_entry{
	width: 100%;
}
.uc_thumb_item .lightbox-enabled{
	display: table;
}
.pathway{
	padding-top: 20px;
}

}