

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
::-moz-focus-inner { border: 0; padding: 0; }
body { margin:0; padding:0;}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

div{ margin:0; outline:0;}
ul {outline:0;}
a:active,
a:hover {
  outline: 0;
}
/*убираем бордюры*/
img, a:link img, a:visited img, a:hover img, a:active img { border: 0; }
a:focus { border:0px; }
/*общее оформление ссылок*/
a { color: #fafafa; text-decoration: underline; }
a:hover { color:#eee; text-decoration:underline; }


/*бэкграунд*/
html {
    background:#4b015d url(../images/bg.jpg) center repeat-y;
}

body {min-width:1340px; font-size: 18px; line-height: 1.4; color:#fff; font-weight:normal;}
 
/*разделитель*/
.clear { height:0px; width:100%; clear:both; }

/*все дивы в бокссайз бордер бокс*/
div {
	box-sizing: border-box;
}

/* обновите браузер*/
.browserupgrade {
	text-align:center;
	padding:10px;
	background:#fff;
	border-bottom:3px solid #000;
}
.browserupgrade a {
	color:#ff0000;
	font-weight:bold;
	text-decoration:underline;
}

/* шрифт */
@font-face {
  font-family: 'ElMessiri';
  src: url('../fonts/ElMessiri-Regular.eot');
  src: url('../fonts/ElMessiri-Regular.otf') format('otf'),
       url('../fonts/ElMessiri-Regular.woff2') format('woff2'),
       url('../fonts/ElMessiri-Regular.woff') format('woff'),
       url('../fonts/ElMessiri-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

body {font-family: ElMessiri, Arial;}


/* Типографика */
h1 {
	font-weight:normal;
	font-size:36px;
	line-height:48px;
	text-align:center;
	padding:20px;
	margin:10px 0px 10px;
	text-transform:uppercase;
}
h2 {
	font-weight:normal;
	font-size:36px;
	line-height:48px;
	text-align:center;
	padding:0;
	margin:20px 0 20px;
}
h3 {
	font-weight:bold;
	font-size:24px;
	line-height:28px;
	text-align:center;
	padding:0;
	margin:20px 0px 10px;
}
p {
	margin:0 0 10px;
}

/*центрируем блоки*/
.center-box {
	margin:0 auto;
	width:1280px;
	position:relative;
}

    .only_mobile {
        displaY:none;
    }
    .no_mobile {
        displaY:block;
    }

/* header-line */

.header-line {
    background:#500766 url(../images/header.jpg) center top no-repeat;
	height:auto;
	box-shadow:0px 10px 15px rgba(0,0,0,0.5);
	position:relative;
	z-index:1000;
}
.header-line .center-box {
	height:210px;
	position:relative;
}
.header-line a {
	color:#fff;
}
    .header-line .logo-box {
        position:absolute;
        left:50%;
        top:70px;
        margin-left:-80px;
    }
    .header-line .zakaz-box {
        position:absolute;
        right:50px;
        top:120px;
    }
    
        .header-line .zakaz-uslugi {
            display: block;
            padding: 17px 30px 13px;
            background: #7f3481;
            text-decoration: none;
            font-size: 21px;
            line-height: 30px;
            border-radius: 30px;
            box-shadow: 0 0 10px #000; 
            cursor:pointer;
        }
        .header-line .zakaz-uslugi:hover {
            box-shadow: 0 0 5px #000;
            
        }
        .header-line .zu-top {
            display: block;
            padding: 17px 30px 13px 80px;
            background: #7f3481;
            text-decoration: none;
            font-size: 21px;
            line-height: 24px;
            border-radius: 20px;
            box-shadow: 0 0 10px #000; 
            cursor:pointer;
            text-align:left;
        }
        .header-line .zu-top:hover {
            box-shadow: 0 0 5px #000;
            
        }
	
	.header-line .contact-box {
        position:absolute;
        left:100px;
        top:100px;
        font-size:21px;
    }
        .header-line .telefon {
            padding:3px 0 1px 30px;
            margin:0;
            background:url(../images/telefon-top.png) left center no-repeat;
        }
	.header-line .menu-toggle {
	    display:none;
	    padding: 12px 10px 8px 55px;
	    width:150px;
	    font-size:24px;
	    line-height:32px;
	    background:url(../images/menu-btn.png) left center no-repeat;
	    margin:10px auto;
	}
	
		

.nav-line {
    height:auto;
}
	/*менюшка*/
	.nav-line ul.menu {
        width:1280px;
        margin: 0 auto;
        font-size:21px;
        line-height:25px;
        padding:15px 0;
        text-align:center;
	}
		.nav-line ul.menu ul {
			display:none;
		}
		.nav-line ul.menu > li {
			display:inline-block;
			margin:0 10px;
			padding:4px 0 4px;
			border-bottom:2px solid #d7a661;
			position:relative;
		}
		
		.nav-line ul.menu > li:hover {

		}
		.nav-line ul.menu > li.active {

		}
		
		.nav-line ul.menu > li > a {
            color:#fff;
            text-decoration:none;
		}

		.nav-line ul.menu > li:hover > a {

		}
		.nav-line ul.menu > li.active > a {

		}

/*второй уровень*/
.nav-line ul.menu ul
{
display:none;
position:absolute;
top:35px;
left:0;
width:400px;
background:#42035c;
overflow:hidden;
box-shadow:0 0 5px #000;
z-index:200;
padding:0;
margin:0;
}
.nav-line ul.menu > li:hover ul
{
display:block;
}
.nav-line ul.menu > li:hover ul li
{
display:block;
list-style:none;
text-align:left;
padding:10px 10px 10px 20px;
border-bottom:1px solid #d7a661;
font-size:16px;
}
.nav-line ul.menu > li:hover ul li:last-child
{
border-bottom:0;
}



.slider-line {			
    box-shadow:0px 10px 15px rgba(0,0,0,0.5);
	position:relative;
	z-index:900;
}

.slider-line img {
    width:100%;
    height:auto;
    display:block;
}

.catalog-line {
    
}
.catalog-line .center-box {
    width:1180px;
    padding:30px 0;
}
.catalog-item {
    display:block;
    float:left;
    width:516px;
    margin:37px;
    text-align:center;
    box-shadow: 0 0 5px #000;
    background:#b59135 url(../images/btn-fon-gold.png) repeat-y center;
    color:#73296e;
    font-size:24px;
    line-height:36px;
    text-decoration:none;
}
.catalog-item:hover {
    box-shadow: 0 0 2px #000;
    color:#73296e;
    text-decoration:none;
}
div.catalog-item {
    float:none;
    margin:37px auto;
}
.catalog-item img {
    display:block;
    width:100%;
    height:auto;
}
.catalog-item span {
    display:block;
    padding:8px;
}

.catalog-item.twostrok span {
    line-height:24px;
    padding:2px 8px;
}



/* content-line */
.content-line .center-box {
	min-height:300px;
	padding:30px 80px;
	position:relative;
}
.contact-center {
    font-size:24px;
    text-align:center;
}
.content-line .item-page {
    /*text-align:center;*/
}

/*таблица*/
table.pricetable {
    max-width:720px;
    margin:40px auto;
    border-spacing: 0;
    border: 2px solid #e3cb7e;
    overflow: hidden;
}
    table.pricetable td {
        border-right: 2px solid #e3cb7e;
        border-bottom: 2px solid #e3cb7e;
        padding: 5px 5px;
        vertical-align: middle;
    }
    table.pricetable td:last-child {
        border-right: 0;
        border-bottom: 2px solid #e3cb7e;
    }
    table.pricetable tr:last-child td {
        border-bottom: 0;
    }
    table.pricetable td span {
        display:block;
        font-size:12px;
    }





.advantage-line .center-box {
    width:1260px;
}
.adv1-item {
    float:left;
    width:320px;
    margin:50px;
    text-align:center;
}
.adv1-item .adv1-img {
    max-width:100%;
    height: 245px;
    width: 245px;
    margin: 25px 45px;
    border-radius: 150px;
    overflow: hidden;
    border: 10px solid #e4ca7c;
    box-shadow: 0 0 10px #000;
}
.adv1-item .adv1-img img {
    margin: -25px;
}
.adv1-item .adv1-title {
    margin:30px 0 20px;
    font-size:32px;
}

.slider2-line .center-box {
    text-align:center;
    padding:30px 0;
}


.slider2 {
    position:relative; 
    max-width:1000px; 
    margin:auto;
}
.slider2 .slider2-ramka {
    display:block; 
    position:relative; 
    width:100%; 
    z-index:400;
}
.slider2 .theme-light .nivoSlider {
    position:absolute; 
    left:11%;
    top:4%;
    width:78%; 
    z-index:200;
}
.slider2 .nivoSlider img {
    display:block; 
    width:100%;
}


.adv2-item {
    float:left;
    width:280px;
    margin:50px 20px;
    text-align:center;
}
.adv2-item .adv2-img {
    height:60px;
}
    .adv2-item .adv2-img.icon1 {
        background:url(../images/znak1.png) center no-repeat;
    }
    .adv2-item .adv2-img.icon2 {
        background:url(../images/znak2.png) center no-repeat;
    }
    .adv2-item .adv2-img.icon3 {
        background:url(../images/znak3.png) center no-repeat;
    }
    .adv2-item .adv2-img.icon4 {
        background:url(../images/znak4.png) center no-repeat;
    }
.adv2-item .adv2-title {
    margin:30px 0 20px;
    font-size:28px;
}

/* footer-line */

.footer-line {
	border-top:2px solid #fefb00;
}
.footer-line.no-border {
	border-top:0;
}
.footer-line .center-box {
	padding:20px 0;
	position:relative;
	font-size:21px;
	text-align:center;
}

.footer-line .column1 {
    float:left;
    width:25%;
}
.footer-line .column2 {
    float:left;
    width:25%;
}
.footer-line .column3 {
    float:left;
    width:25%;
}
.footer-line .column4 {
    float:left;
    width:25%;
}
    .footer-line .column4 a {
        opacity:0.9;
        display:inline-block;
        margin:5px;
    }
    .footer-line .column4 a:hover {
        opacity:1;
    }


/*******/


/* ДОПОЛНИТЕЛЬНОЕ ОФОРМЛЕНИЕ */
/*листалка для постраничного вывода*/
.pagination
{
text-align:center;
margin-top:30px !important;
padding-top:10px !important;
border-top:1px solid #aaa;
}

.pagination ul
{
list-style: none;
}
.pagination ul li
{
display: inline-block;
margin-left:2px;
margin-right:2px;
}
.pagination ul li span, .pagination ul li a
{
    padding: 2px 15px;
    line-height: 18px;
    border: 1px solid #999;
    color:#999;
    border-radius: 3px;
}
.pagination ul li a
{
    border: 1px solid #065b9c;
    color:#065b9c;
}


#lightbox-wrap, #lightbox-wrap * {
    box-sizing: unset;
}


/*окна всплывающие*/
.fos-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.5);
    z-index: 1000;
}

.fos-box, .fos-box2 {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 680px;
    height: 400px;
    margin-left: -350px;
    margin-top: -220px;
    border-radius: 8px;
    padding: 30px 10px 10px;
    background: #fff;
    background: rgba(255,255,255,0.8);
    color: #000;
    text-align: left;
    border:5px solid #833b8b;
    z-index: 1200;
} 
.fos-box2 {
    height: 500px;
    margin-top: -270px;
} 

.fos-box .fos-box-close, .fos-box2 .fos-box-close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    border-radius: 5px;
    background: url(../images/close.png) top center no-repeat;
    cursor: pointer;
}
   
    .fos-box .fos-box-title, .fos-box2 .fos-box-title {
        font-weight: normal;
        display: block;
        text-align: center;
        font-size: 32px;
        line-height: 40px;
        padding: 15px 30px;
        margin: 0 auto;
        color: #833b8b;
    }
    .fos-box .blo, .fos-box2 .blo {
        margin: 10px auto;
        padding: 5px;
    }
    .fos-box .blo-check, .fos-box2 .blo-check {
        width:400px;
        max-width:100%;
    }
    .fos-box .blo input[type="text"], .fos-box2 .blo input[type="text"] {
        display: block;
        width: 400px;
        max-width:100%;
        margin: auto;
        color: #333;
        background: #fff;
        padding: 5px;
        border: 1px solid #833b8b;
        border-radius: 6px;
        outline: 0;
        box-sizing: border-box;
        font-size: 16px;
    }
    .fos-box .submit_fos, .fos-box2 .submit_fos {
        border: 1px solid #fff;
        border-radius: 10px;
        background: #833b8b;
        padding: 5px 10px;
        text-align: center;
        text-transform: uppercase;
        width: 300px;
        max-width:100%;
        line-height: 21px;
        color: #fff;
        margin: 10px auto;
        cursor: pointer;
        display: block;
    } 
    .fos-box .blo.error, .fos-box2 .blo.error {
    	background:rgba(255,0,0,0.2);
    }
    .answer_os.ok {
        margin:50px auto;  
        text-align:center;
    }



@media screen and (min-width:541px) and (max-width:970px) {
    
    .only_mobile {
        displaY:block;
    }
    .no_mobile {
        displaY:none;
    }
    
    
    body {min-width:100%; font-size: 18px; line-height: 1.4; color:#fff; font-weight:normal;}
    /*центрируем блоки*/
    .center-box {
    	width:100%;
    }

h1 {
	font-weight:normal;
	font-size:32px;
	line-height:42px;
	text-align:center;
	padding:20px;
	margin:10px 0px 10px;
	text-transform:uppercase;
}
h2 {
	font-weight:normal;
	font-size:32px;
	line-height:42px;
	text-align:center;
	padding:0;
	margin:20px 0 20px;
}
h3 {
	font-weight:bold;
	font-size:24px;
	line-height:28px;
	text-align:center;
	padding:0;
	margin:20px 0px 10px;
}    
    
    .header-line {
        background:#520766 url(../images/header.jpg) center top no-repeat;
    	height:auto;
    	box-shadow:0px 5px 5px rgba(0,0,0,0.5);
    	padding:1px 0;
    }
    .header-line .center-box {
        	height:auto;
        }
        .header-line .logo-box {
            position:relative;
            left:unset;
            top:unset;
            margin-left:auto;
            margin:0 auto;
            text-align: center;
            width: 500px;
        }
        .header-line .zakaz-box {
            position:relative;
            right:unset;
            top:unset;
            margin:30px auto 10px;
            text-align: center;
            width: 300px;
        }

    	
    	.header-line .contact-box {
            position:relative;
            left:unset;
            top:unset;
            margin:90px 20px 20px;
            text-align: left;
            width: 500px;
        }
        .header-line .telefon {
            display:inline-block;
        }
        .header-line .menu-toggle {
    	    display:block;
    	}
    
    
    .nav-line {
        display:none;
        position: absolute;
        width: 100%;
        background: #7f3481;
        background: rgba(127,52,129,0.9);
        height: auto;
    }
        .nav-line ul.menu {
            width:100%;
        }
            .nav-line ul.menu > li {
                margin:10px;
            }
    
    
            
    .slider-line {			
        display:none;
    }
    
    
    
    .catalog-line .center-box {
        width:100%;
        padding:30px 0 10px;
    }
    .catalog-item {
        float:none;
        width:420px;
        margin:15px auto;
    }
    
    .content-line .center-box {
    	min-height:300px;
    	padding:20px 50px;
    	position:relative;
    }
    
    
    .advantage-line .center-box {
        width:100%;
    }
        .adv1-item {
            float:none;
            margin:30px auto;
        }
            .adv1-item .adv1-title {
                margin:10px 0 10px;
            }
        .adv2-item {
            float:none;
            margin:30px auto;
        }
        
    .slider2-line img {
        width:420px;
    }
    

    
    .footer-line .center-box {
    	font-size:18px;
    }
    
        .footer-line .column1 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column2 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column3 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column4 {
            float:none;
            width:300px;
            margin:20px auto;
        }

    .fos-box, .fos-box2 {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-top: 0;
        border-radius: 0;
    } 
    
}

@media screen and (max-width:540px) {
    
    .only_mobile {
        displaY:block;
    }
    .no_mobile {
        displaY:none;
    }
    
    body {min-width:100%; font-size: 16px; line-height: 1.4; color:#fff; font-weight:normal;}
    /*центрируем блоки*/
    .center-box {
    	width:100%;
    } 
    
h1 {
	font-weight:normal;
	font-size:28px;
	line-height:40px;
	text-align:center;
	padding:20px;
	margin:10px 0px 10px;
	text-transform:uppercase;
}
h2 {
	font-weight:normal;
	font-size:24px;
	line-height:36px;
	text-align:center;
	padding:0;
	margin:20px 0 10px;
}
h3 {
	font-weight:bold;
	font-size:21px;
	line-height:24px;
	text-align:center;
	padding:0;
	margin:20px 0px 10px;
}  
    
    .header-line {
        background:#520766;
    	height:auto;
    	box-shadow:0px 5px 5px rgba(0,0,0,0.5);
    	padding:1px 0;
    }
    .header-line .center-box {
        	height:auto;
        }
        .header-line .logo-box {
            position:relative;
            left:unset;
            top:unset;
            margin-left:auto;
            margin:0 auto;
            text-align: center;
            width: 300px;
        }
        .header-line .zakaz-box {
            position:relative;
            right:unset;
            top:unset;
            margin:30px auto 10px;
            text-align: center;
            width: 260px;
        }

    	
    	.header-line .contact-box {
            position:relative;
            left:unset;
            top:unset;
            margin:20px 20px;
            text-align: left;
            width: 300px;
            font-size:12px;
            line-height:21px;
        }
        .header-line .telefon {
            display:inline-block;
        }
        .header-line .menu-toggle {
    	    display:block;
    	}
    
    
    .nav-line {
        display:none;
        position: absolute;
        width: 100%;
        background: #7f3481;
        background: rgba(127,52,129,0.9);
        height: auto;
    }
        .nav-line ul.menu {
            width:100%;
        }
            .nav-line ul.menu > li {
                margin:10px;
                display:block;
                position:relative;
            }
            
/*второй уровень*/
.nav-line ul.menu ul
{
display:block;
position:relative;
top:unset;
left:unset;
width:auto;
background:rgba(255,255,255,0.2);
overflow:hidden;
box-shadow:none;
z-index:200;
padding:0;
margin:0;
}
.nav-line ul.menu > li:hover ul
{
display:block;
}
.nav-line ul.menu > li ul li
{
display:block;
list-style:none;
text-align:left;
padding:10px 10px 10px 20px;
border-bottom:1px solid #d7a661;
font-size:16px;
}

            
            
    .slider-line {			
        display:none;
    }
    
    
    
    .catalog-line .center-box {
        width:100%;
        padding:30px 0 10px;
    }
    .catalog-item {
        float:none;
        width:300px;
        margin:15px auto;
        font-size:18px;
    }
    
    .content-line .center-box {
    	min-height:300px;
    	padding:20px 20px;
    	position:relative;
    }
    
    
    .advantage-line .center-box {
        width:100%;
    }
        .adv1-item {
            float:none;
            width: 300px;
            margin:30px auto;
        }
            .adv1-item .adv1-title {
                margin:10px 0 10px;
                font-size:24px;
            }
        .adv2-item {
            float:none;
            margin:30px auto;
        }
        .adv2-item .adv2-img {
            height:60px;
        }
        .adv2-item .adv2-title {
            margin:10px 0 10px;
            font-size:24px;
        }
        
    .slider2-line img {
        width:300px;
    }
    
    .map-line .custom > ymaps {
        height:300px !important;
    }
    
        .footer-line .column1 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column2 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column3 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        .footer-line .column4 {
            float:none;
            width:300px;
            margin:20px auto;
        }
        
    .fos-box, .fos-box2 {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-top: 0;
        border-radius: 0;
    } 
    
    
    
}

.pay-form {
    
}
.pay-form .blo {
    margin:15px 0;
}
.pay-form .fos-box-button {
    margin:15px 0;
}
.pay-form input[type="text"] {
    width: 450px;
    padding: 6px 10px;
    font-size: 21px;
}
.pay-form .submit_pay {
    width: 300px;
    padding: 10px !important;
    text-align: center;
    background: #fff;
    color: #520766;
    cursor: pointer;
    text-transform: uppercase;
    border:0;
    font-size:21px;
}


.yButton.bottom {
    top: 30px !important;
}