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 auto;
padding:0;
max-width: 1920px;
min-width: 320px;
}
body{
	-webkit-box-shadow: inset 0 88px rgba(0,0,0,0.8);
	   -moz-box-shadow: inset 0 88px rgba(0,0,0,0.8);
	        box-shadow: inset 0 88px rgba(0,0,0,0.8);
}
img{border: none; max-width: 100%; height: auto;}



.photo_thumb{max-width: 32%;}
/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

#main-container{
margin:0 auto;
padding: 0;
text-align:left;
min-height:100%;
}
.contentwrap, .headermd, .mainmodule, .contbottommodulebody{
	max-width: 1940px;
	margin: 0 auto;
}

.bannermodule{
	
	margin: 0 auto;
}
.mainmodule {
	background: url(../images_old/fon2.jpg) center center no-repeat;
}
* html #main-container{height:100%;}

/***************** Шапка сайта */
#header{
position:relative;
height:455px;
background: url(../images_old/headerMain.jpg) center -180px no-repeat;
background-attachment: fixed;
}
#header a.logo {
margin: 0;
padding: 0;
text-decoration:none;
display: block;
}
.headermd{
	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;
}



	
/************************** Хлебные крошки */
.pathway {
	margin:25px 0 45px;
padding:0 10px;
}
a.pathwaylink{
	font: 18px Segoe, sans-serif;
	color: #878787;
	text-decoration: none;
}
a.pathwaylink:last-child{
	color: #f8d045;
}

/***************** Левая колонка */
#left{
padding:5px;
float:left;
line-height:normal;
width:220px;
}

/***************** Правая колонка */
#right{
padding:0;
float:right;
line-height:normal;
width:380px;
}

/***************** Стили блока основного содержания */
#both{
margin:0 220px;
padding:0 15px;
}
#only_left {
margin:0 0 0 220px;
padding:0 15px;
}
#only_right {
margin:0 410px 0 0;
padding:0 10px;
}

/***************** Модульная позиция - BOTTOM */
#bottom {
	position: relative;
	margin: 0;
	overflow:hidden;
	background: url(../images_old/bottom.jpg) center top no-repeat;
	background-attachment: fixed;
}

/***************** Clear block and Rasporka */
#clear{
height:0;
font-size:1px;
line-height:0px;
clear:both;
}
#rasporka {height:90px; margin: 50px 0 0}


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
.foot{
background: #141313;
margin:-90px auto 0;
}
#footer{
position:relative;
height:90px;
	font-family: 'Segoe', sans-serif;
font-size:11px;
margin: 0 auto;
max-width:1200px;
padding: 0 10px;
}
#footer, .knopki{
	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;
}
#footer a[href*="liveinternet"]{
	margin: 0 10px;
}

#footer p{ margin:0;}
/************************************ Счетчики */
#footer a{
	text-decoration: none;
}

p.copyright, a.todayrus {
		font-family: 'Segoe', sans-serif;
	color:#fff;
	font-size:12px;
}
p.copyright a {color:#fff}
a.todayrus{color: #ca9426;}
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_old/strelki.png) 0% 0% no-repeat;
}
.nextphoto{background: url(../images_old/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: 'Segoe';
}
.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;
}

:root #main-container .con_heading {
	font-size:90px;
	color: #ffd953;
	font-family: Segoe, sans-serif;
	font-weight:normal;
	text-align:center;
	border:3px solid rgba(255, 216, 108, 0.2);
    position: absolute;
    top: 170px;
    width: 100%;
    padding: 40px 0;
    max-width: 1566px;
    left: 0;
    right: 0;
	margin: 0 auto;
}

/****************** ********************/

.contactsmodule{
	margin-right: 60px;
}
.contactsmodulebody{
	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;
	font-family: 'Segoe', sans-serif;
	color: #fff;
}
.contactsmodulebody p:first-child{
	margin-right: 60px;
}

.con_desc .con_image{
	width: 100%;
	max-width: 100%;
	float: none;
}
.con_details{
	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;
}
.con_details img{
	margin-right: 5px;
}
.con_details img:last-child{
	margin-left: 10px;
}
:root #main-container .con_description p{
	font-size: 16px;
	    text-align: center;
}
.contentlist tr{
	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;
}
.contentlist td{
	width: 32%;
	padding-top: 0;
}
.rightmenumoduletitle, .maincatalogmoduletitle{
	font: 18px Segoe, sans-serif;
	color: #fff;
	background: #87164b;
	padding: 34px 20px;
	margin-top: 2px;
}

/*#bottom::before{
	position: absolute;
	display: block;
	content: "";
	width: 200px;
	height: 200px;
	background: #fff;
	-webkit-border-radius: 100%;
	   -moz-border-radius: 100%;
	        border-radius: 100%;
	left: 0;
	right: 0;
	top: -170px;
	margin: 0 auto;
}*/
.contbottommodulebody{
	padding: 150px 10px 80px;
	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-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;
}
.contbottommodulebody p{
	width: 50%;
	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;
	font: 18px Segoe, sans-serif;
	color: #c7c5c5;
}
.contbottommodulebody img{
	margin-right: 10px;
}
.outpad {
	margin-bottom:25px;
}

.mainmodulebody{
	position: relative;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    padding: 30px;
}
.padright{
	margin-right:20px;
}
.pulse {max-width: 174px;position:relative;float: right;z-index: 1000;}
.pulse:hover {max-width: none;}

.pulse2{max-width: 350px;position:relative;float: right;}
.pulse2:hover {max-width: none;z-index:1000}

.mainmodule h1{
	font: 36px Segoe, sans-serif;
	    color: #403e3e;
	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;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;		
		text-align: center;			
			
}

.mainmodule a{
	display: inline-block;
	font: 18px Segoe, sans-serif;
	color: #333333;
	text-decoration: none;
	padding: 14px 30px;
}
.mainmodule a:hover{
	border-color: #c7c7c7;
	color: #c7c7c7;
}
.mainmodulebody::before{
	position: absolute;
	display: block;
	content: "";
	width: 477px;
	height: 716px;
	/*background: url(../images/main.jpg) center center no-repeat;*/
	left: 0;
	bottom: 50px;
	-webkit-transform: translateY(400px);
	   -moz-transform: translateY(400px);
	    -ms-transform: translateY(400px);
	     -o-transform: translateY(400px);
	        transform: translateY(400px);
	-webkit-transition: 0.75s;
	-moz-transition: 0.75s;
	-o-transition: 0.75s;
	transition: 0.75s;
	opacity: 0;
}
.mainmodulebody.viewdiv::before{
	opacity: 1;
	-webkit-transform: translateY(0px);
	   -moz-transform: translateY(0px);
	    -ms-transform: translateY(0px);
	     -o-transform: translateY(0px);
	        transform: translateY(0px);
}

.bannermodule{
	text-align: center;
	padding: 0 40px;
	margin-top: 0;
	position: relative;
	font-size: 20px;
	background: url(../images_old/banner.jpg) center top repeat;
	background-attachment: fixed;
	height: 100px;
	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;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	   -moz-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.outline {
    /* -webkit-text-stroke: 2px #000;*/
    color: #000!important;
	text-align: center;
	font-size: 21px!important;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;/*3px 3px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;*/
	font-family: Segoe;
}
/*.bannermodule::before{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 1px;
	left: 0;
	right: 0;
	margin: 0 auto;
	background: #c7c5c5;
	top: -70px;
}
.bannermodule::after{
	position: absolute;
	display: block;
	content: "";
	width: 193px;
	height: 60px;
	left: 0;
	right: 0;
	margin: 0 auto;
	background: url(../images/qwe.png) center center no-repeat;
	top: -97px;
}*/
.bannermodule h1{
	font: 50px Segoe, sans-serif;
	color: #818181;
	text-transform: uppercase;
}
.worksmodule {padding:0 0 30px 0;background: url(../images_old/fon2.jpg) center center no-repeat;height: 600px;}
.newsmodule {
background: url(../images_old/fon2.jpg) center center no-repeat;
}
.newsmoduletitle, .worksmoduletitle{
	font: 36px Segoe, sans-serif;
	text-align: center;
	padding: 50px 0 45px;
	border-top: 1px solid #c7c5c5;
	position: relative;
	margin-top: 0;
	text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;			
	color: #403e3e;
}
.newsmoduletitle::before, .worksmoduletitle::before{
	position: absolute;
	display: block;
	content: "";
	width: 193px;
	height: 60px;
	/*background: url(../images/qwe.png) center center no-repeat;*/
	left: 0;
	right: 0;
	top: -27px;
	margin: 0 auto;
}
 .worksmodulebody{
	max-width: 1140px;
	margin: 0 auto;
}
.newsmodulebody {
    padding-bottom: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

#module_ajax_19 .view-id-news .view-content{
padding: 0 10px;
	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;
}
#module_ajax_19 .mod-latest-entry{
	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;
	width: 32%;
}
#module_ajax_19 .mod-latest-entry:nth-child(2){
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	   -moz-box-orient: vertical;
	   -moz-box-direction: reverse;
	    -ms-flex-direction: column-reverse;
	        flex-direction: column-reverse;
}

.newsmodule .mod-latest-entry{
	opacity: 0;
	-webkit-transform: scale(0,0);
	   -moz-transform: scale(0,0);
	    -ms-transform: scale(0,0);
	     -o-transform: scale(0,0);
	        transform: scale(0,0);
}
.newsmodule.viewdiv .mod-latest-entry{
	opacity: 1;
	-webkit-transform: scale(1,1);
	   -moz-transform: scale(1,1);
	    -ms-transform: scale(1,1);
	     -o-transform: scale(1,1);
	        transform: scale(1,1);
}
.newsmodule .mod-latest-entry:nth-child(1){
	-webkit-transition: 0.25s 0s;
	-moz-transition: 0.25s 0s;
	-o-transition: 0.25s 0s;
	transition: 0.25s 0s;
}
.newsmodule .mod-latest-entry:nth-child(2){
	-webkit-transition: 0.25s 0.25s;
	-moz-transition: 0.25s 0.25s;
	-o-transition: 0.25s 0.25s;
	transition: 0.25s 0.25s;
}
.newsmodule .mod-latest-entry:nth-child(3){
	-webkit-transition: 0.25s 0.5s;
	-moz-transition: 0.25s 0.5s;
	-o-transition: 0.25s 0.5s;
	transition: 0.25s 0.5s;
}

/*.mod-latest-entry:hover {
    background: url(/templates/3K/images/ramka.png) center top repeat ;
}*/

.mod-latest-entry a{
    text-decoration:none;
}

.worksmodulebody{
	position: relative;
	height: 635px;
}
.worksmodulebody img{
	display: block;
}
.worksmodulebody > div{
	position: relative;
	overflow: hidden;
	display: inline-block;
}
.worksmodulebody > div:nth-child(1){
	/* left: 0; */
	/* top: 0; */
	-webkit-transition: 0.25s 0s;
	-moz-transition: 0.25s 0s;
	-o-transition: 0.25s 0s;
	transition: 0.25s 0s;
}
.worksmodulebody > div:nth-child(2){
	/* left: 390px; */
	top: 0;
	-webkit-transition: 0.25s 0.25s;
	-moz-transition: 0.25s 0.25s;
	-o-transition: 0.25s 0.25s;
	transition: 0.25s 0.25s;
}
.worksmodulebody > div:nth-child(3){/* top: 0; *//* right:0px; */-webkit-transition: 0.25s 0.5s;-moz-transition: 0.25s 0.5s;-o-transition: 0.25s 0.5s;transition: 0.25s 0.5s;}
.worksmodulebody > div:nth-child(4){
	/* left: 780px; */
	top: 0;
	-webkit-transition: 0.25s 0.75s;
	-moz-transition: 0.25s 0.75s;
	-o-transition: 0.25s 0.75s;
	transition: 0.25s 0.75s;
}
.worksmodulebody > div:nth-child(5){
	left: 780px;
	top: 230px;
	-webkit-transition: 0.25s 1s;
	-moz-transition: 0.25s 1s;
	-o-transition: 0.25s 1s;
	transition: 0.25s 1s;
}

.worksmodulebody .infowr{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(135, 22, 75, 0.7);
	-webkit-box-shadow: inset 0 -65px rgba(0,0,0,0.7);
	   -moz-box-shadow: inset 0 -65px rgba(0,0,0,0.7);
	        box-shadow: inset 0 -65px rgba(0,0,0,0.7);
	z-index: 1;
	left: 0;
	top: 0;
	padding: 18px 25px;
    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;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
       -moz-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
    opacity: 0;
    -webkit-transform: scale(0,0) translateY(400px);
       -moz-transform: scale(0,0) translateY(400px);
        -ms-transform: scale(0,0) translateY(400px);
         -o-transform: scale(0,0) translateY(400px);
            transform: scale(0,0) translateY(400px);
}
.worksmodulebody div:hover .infowr{
	opacity: 1;
	-webkit-transform: scale(1,1) translateY(0px);
	   -moz-transform: scale(1,1) translateY(0px);
	    -ms-transform: scale(1,1) translateY(0px);
	     -o-transform: scale(1,1) translateY(0px);
	        transform: scale(1,1) translateY(0px);
}
/*.worksmodulebody a{
	font: 14px Segoe, sans-serif;
	color: #fff;
	text-decoration: none;
	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;
}*/
/*.worksmodulebody a::before{
	position: relative;
	display: block;
	content: "";
	margin-right: 15px;
	background: url(../images/iconIn.png) center center no-repeat;
	width: 30px;
	height: 30px;
}*/
.worksmodulebody p,.worksmodulebody a {
font: 20px Segoe, sans-serif;
    color: #0e0e0e;
}

.worksmodulebody > div{
	opacity: 0;
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-ms-transform: translateY(100px);
	-o-transform: translateY(100px);
	transform: translateY(100px);
	width: 25%;
	float: left;
	padding: 0 5px;
}
.worksmodulebody.viewdiv > div{
	opacity: 1;
	-webkit-transform: translateY(0px);
	   -moz-transform: translateY(0px);
	    -ms-transform: translateY(0px);
	     -o-transform: translateY(0px);
	        transform: translateY(0px);
}

.con_desc .con_image a{
display: block;
max-height: 230px;
overflow: hidden;
}


@media (max-width: 1366px){

.contactsmodule{margin-right: 95px;}
.contactsmodulebody{font-size: 15px;}
.contactsmodulebody p:first-child{margin-right: 30px;}
:root #mainmenu li a{padding: 0 10px 0;}
.mainmodulebody {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

}

@media (max-width: 1024px){

.mainmodulebody{padding: 30px 10px 0 10px; text-align: center;}
.mainmodulebody.viewdiv::before, .worksmodule{display: none;}
.mainmodule h1{
-webkit-box-pack: center;
-webkit-justify-content: center;
    -ms-flex-pack: center;
        justify-content: center;
}


}

@media (max-width: 900px){

.bannermodule{display: none;}

#right, #left, #only_left, #only_right{
float: none;
margin: 0 auto 15px;
max-width: 100%;
}



}

@media (max-width: 768px){

#header::before{
    max-width: 100%;
    background-size: 90% auto !important;
}
.contactsmodule{margin-right: 10px; margin-top: 5px;}
#module_ajax_19{display: block;}
#module_ajax_19 .mod-latest-entry{width: 100%; text-align: center;}
#module_ajax_19 .mod-latest-entry:nth-child(2){
    -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;
}
.con_details{
-webkit-box-pack: center;
-webkit-justify-content: center;
    -ms-flex-pack: center;
        justify-content: center;
}
.contbottommodulebody, .contbottommodulebody p, #footer{
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.contbottommodulebody p{width: 50%;}
.maincatalogmodule, .knopki, .mainmodule h1::before{display: none;}
.contbottommodulebody p:last-child img{height: auto !important;}

:root #main-container .con_heading{font-size: 50px;}

.contentlist tr, .contentlist tr td{
display: block;
    width: 100%;
    text-align: center;
}
.component{
padding: 0 10px;
}


}


@media (max-width: 480px){

.contbottommodulebody p{
    width: 100%;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
}
.contbottommodulebody img{
margin-bottom: 15px;
}
.contactsmodulebody{
display: block;
text-align: right;
}
.contactsmodulebody p:first-child{
margin-right: 0;
}

}

#main-container.header_news

{    background: url(../images_old/fon1_350_new.jpg) top center repeat;


}

.imperial_content_news .views-field-field-news-look {
	background: url(../images_old/iconViews.png) 1px 0px no-repeat;
    display: inline-block;
    float: left;
    width: 22%;
    height: 25px;
	padding-left: 30px;
}

.imperial_content_news .date{    background: url(../images_old/iconDate.png) 1px 0px no-repeat;
    display: inline-block;
    width: 43%;
    height: 25px;
	    padding-left: 30px;}
		
.imperial_content_news .title_news	{    font-size: 28px;
    font-family: Segoe, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	    background: url(../images_old/vinl.png) left 0px top -7px no-repeat, url(../images_old/vinr.png) right -3px top -1px no-repeat;
    width: auto;
    display: inline-block;
    padding: 0 31px;
	height: 50px;}
	
	
:root #main-container .imperial_content_news .con_description p {
    font-size: 16px;
    text-align: justify;
}



/*.imperial_content {
    background: url(/sites/all/themes/imperial/images_old/ramka_bacg_2.png) top center no-repeat;
}*/


.view-collections .title_collection {
    font-size: 28px;
    font-family: Segoe, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    background: url(../images_old/vinl.png) left 0px top -7px no-repeat, url(../images_old/vinr.png) right -3px top -1px no-repeat;
    width: auto;
    display: inline-block;
    padding: 0 31px;
    height: 50px;
}

/*.view-collections .view-header {
    padding: 130px 10px 0 55px;
    text-align: left;
}*/


.node-collections .field-type-image .field-item img,
.node-aksessuary .field-type-image .field-item img
 {
    border-radius: 5px;
        -moz-box-shadow: 0 0 10px #ffffbe;
    -webkit-box-shadow:0 0 10px #ffffbe;
    box-shadow: 0 0 10px #ffffbe;
}

h1.title_collections{
    font-size: 28px;
    font-family: Segoe, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    background: url(../images_old/vinl.png) left 0px top -7px no-repeat, url(../images_old/vinr.png) right -3px top -1px no-repeat;
    width: auto;
    display: inline-block;
    padding: 0 31px;
    height: 50px;
}

.content.clearfix {
    display: inline-block;
    text-align: center;
    width: 1230px;
    text-align: center;
}

div#node-61 {
    text-align: center;
}

/*.content_collections_body .field-name-field-images .field-item {
    width: 144px!important;
    height: 137px!important;
     background-image: url(/sites/all/themes/imperial/images/ramka.png); 
    margin-bottom: -20px;
    vertical-align: top;
    display: inline-block;
	position:relative;
}*/


.content_collections_body .field-type-image .field-item {
    width: 144px!important;
    height: 137px!important;
    /* background-image: url(/sites/all/themes/imperial/images/ramka.png); */
    margin-bottom: -20px;
    vertical-align: top;
    display: inline-block;
    position: relative;
}

.contacts_forma .zvonok {
    position: absolute;
    left: 0;
   background: url(../images/soc-tel.png) 0px 9px no-repeat;
    height: 40px;
    width: 214px;
}

div#block-block-8 {
    position: absolute;
    top: 0;
    right: 101px;
}

.contacts_forma p{display: inline-block;
    position: relative;}
	
	.contacts_forma {
    color: #000!important;
    text-align: center;
    font-size: 21px!important;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    font-family: Segoe;
}

#mainmenu .menu li, #mainmenu .menu ul li.leaf, #mainmenu .menu li a, #mainmenu .menu li a:link,  #mainmenu .menu li a:visited {
    color: #000!important;
    text-align: center;
    font-size: 21px!important;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    font-family: Segoe;
    list-style: none!important;
    list-style-type: urdu;
    

}

/*.headermd .menu li:hover a, .headermd .menu li.selected a {
      background: url(../images_old/vin.png) center bottom no-repeat;
}*/

ul.menu {
    display: inline;
}


.image_portfolio {
    display: inline-block;
    float: left;
    position: inherit;
    width: 40%;
}

.opisanie_portfolio {
    display: inline-block;
    float: left;
    position: inherit;
        width: 60%;
    padding-left: 3%;
}

.image_portfolio .main_image img {
    border-radius: 13px;
    -webkit-box-shadow: 0 0 10px #ffffbe;
    box-shadow: 0 0 10px #ffffbe;
}

.field-name-body.field-type-text-with-summary p {
    text-align: center;    width: 100%;
    padding-bottom: 20px;
}

.field.field-name-field-images.field-type-image.field-label-hidden {
    padding-bottom: 30px;
}

#slider .field-name-field-images.field-type-image .field-items .field-item:nth-child(n+6)
{    padding-top: 15px ;}

#slider .field-name-field-images.field-type-image .field-items .field-item {
    width: auto;
    position: relative;
    display: inline-block;
    padding: 0 0 0 15px;
}


.opisanie_portfolio .rasporka, .rasporka_forma {
    background: url(../images_old/vin.png) center top no-repeat;    height: 65px;
}

.opisanie_portfolio .dop_infa {
    padding-top: 20px;
}

.prettyphoto-formatter-image img {
    object-fit: cover;
    width: 100px;
    height: 85px;
}

.view-id-portfolio .views-row {
    display: inline-block;
}


.view.view-portfolio.view-id-portfolio.view-display-id-page {
    width: 1230px;
    display: inline-block;
    padding-bottom: 35px;
}



.view-content {
    width: 100%;
    display: inline-block;
}
.view-id-portfolio .views-row {
    display: inline-block;
    padding: 10px;
}

.views-field.views-field-title a {
    font-size: 19px;
    text-decoration: none;
    display: inline-block;
    padding: 5px 36px;
    color: #474747!important;
}

.view-display-id-page .views-field.views-field-name span.field-content{
    background: url(../images_old/vinl.png) left -4px top -7px no-repeat;
}


/*.views-field-field-cover a {
    color: #000;
    top: 60px;
    width: 177px;
    display: block;
    padding: 2px 5px 5px;
    position: absolute;
    background: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;
}*/.views-field-field-cover a {
    color: #000;
    display: block;
    padding: 2px 5px 5px;
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;
}

.accordeon li {
    display: block;
    overflow: hidden;
    float: left;
    padding: 20px;
}
.view.view-id-ulichnye_tkani {
    padding-top: 50px;
}

.view-id-ulichnye_tkani .views-field.views-field-name span.field-content {
    font-size: 19px;
    text-decoration: none;
    display: inline-block;
    padding: 5px 50px;height: 37px;
     background: url(../images_old/vini2.png) left -3px top 0px no-repeat;
	 margin-bottom: 20px;
}

.view-id-ulichnye_tkani .views-field.views-field-name span.field-content a {

    display: inline-block;
    width: 100%;
    height: 50px;
    font-size: 19px;
    float: left;color: #474747; 
   
}

.view.view-ulichnye-tkani.view-id-ulichnye_tkani {
    max-width: 1140px;
    margin: 0 auto;
    text-align: left;
}



/* Views brand*/

.brand_cont.logo {
    text-align: left;
	width: 800px;
}

.views-logo.brand {
    width: 155px!important;
    height: 116px!important;
    background: url(../images/ramka.png) no-repeat;
    display: inline-block;
    float: left;
    margin: 0 20px;

}


.brand_cont.logo img {
    display: inline-block;
    text-align: left;
    margin-top: 26px;
    margin-left: 37px;
    display: table;
}

.view.view-collections.view-id-collections.view-display-id-page {
    display: inline-block;
    text-align: center;
    width: 800px;
}

.brand_cont.logo p {
    text-align: justify;
}

.accordeon a .listing {
    color: #000;
    top: 35%;
    left: 5%;
    width: 90%;
    display: block;
    padding: 2px 5px 5px;
    position: absolute;
        background-image: linear-gradient(to right,rgba(255, 255, 255, 0.82) 0%,rgba(255, 255, 255, 0.29) 100%);
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    /* height: 25px; */
    line-height: 18px;
    margin-left: auto;
    text-align: center;
}

.accordeon .listing p {
    font-size: 14px;
    font-weight: normal!important;    margin: 0px;
}


.imperial_content.page_catalog .field-name-body li,
.view-id-brands.view-display-id-page_1 li {
    font-size: 19px;
    text-decoration: none;
    display: inline-block;
    padding: 5px 50px;height: 37px;
    background: url(../images_old/vini2.png) left -3px top 0px no-repeat;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;    
}

h1.title_collections {
    text-align: center;
    display: inline-block;
    clear: both;
}

h2.title_collection_acs {
    font-size: 19px;
    height: 38px;
    background: url(../images_old/vini2.png) left -3px top -30px no-repeat;
    margin-bottom: 10px;
    font-family: Segoe, sans-serif;
    text-decoration: none;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #eae0a3, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    width: auto;
    display: inline-block;
    padding: 0 56px;
}

.view-id-clone_of_collections .view-header {
    padding-top: 0;
}

.imperial_content.page_catalog {
    padding-top: 0px;
    width: 1000px;
    text-align: center;
}

.view-id-brands.view-display-id-page_1 .view-footer {
    padding-top: 100px;
    width: 1000px;
    display: inline-block;
    text-align: left;
}

.imperial_content.page_catalog .field.field-name-body.field-type-text-with-summary.field-label-hidden
{

    text-align: left;
}

.two_listing li {
    background: url(../images_old/vini2.png) left -3px top -27px no-repeat!important;

}
.accordeon a span{
color: #000;
    top: 35%!important;
    left: 20%!important;
     width: auto!important; 
    display: block;
    padding: 2px 5px 5px;
    /* position: absolute; */
    background: none!important;
    font-size: 16px;
    font-weight: bold;
    /* height: 25px; */
    /* line-height: 18px; */
    background-image: linear-gradient(to right,rgba(255, 255, 255, 0.82) 0%,rgba(255, 255, 255, 0.29) 100%)!important;
}

.view-collection-tulle .views-field.views-field-field-cover {
    width: 155px;
}

.view-id-clone_of_collections .item-list ul {
    position: relative;
    overflow: hidden;
    margin: 0;
    clear: both;
    padding: 0;
}

.view-id-clone_of_collections li.one {
    display: block;
    overflow: hidden;
    float: left;
    padding: 20px;
    margin: 0;
}

.view-id-clone_of_collections .item-list ul {
    position: relative;
    overflow: hidden;
    margin: 0;
    clear: both;
    padding: 0;
}

.view-id-clone_of_collections li.one {
    display: block;
    overflow: hidden;
    float: left;
    padding: 20px;
    margin: 0;
}



.view-id-clone_of_collections a .listing {
       color: #000;
    top: 35%;
    left: 5%;
    width: 90%;
    display: block;
    padding: 2px 5px 5px;
    position: absolute;
    background-image: linear-gradient(to right,rgba(255, 255, 255, 0.82) 0%,rgba(255, 255, 255, 0.29) 100%);
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    /* height: 25px; */
    line-height: 18px;
    margin-left: auto;
    text-align: center;
}

.view-id-clone_of_collections a .listing p {
    /* font-size: 14px; */
    font-weight: normal!important;
    margin: 0px;
}

.view-id-clone_of_collections a{
background-position: center center;
    cursor: pointer;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;}
	
	.view-id-ulichnye_tkani .views-field.views-field-name span.field-content a:hover {
    text-decoration: underline;
}