@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700|Roboto:300,400,700,900&subset=cyrillic,cyrillic-ext');

/*================ GENERAL ======================*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.wrapper {
    height: 100%;
    margin: 0 auto;
}
.page>div:not(.background-overlay), .footer>div, .underfooter>div {
    max-width: 980px;
    margin: 0 auto;
    padding: 15px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.page.main>div {
    position: relative;
}
.page.first-page {
    overflow: auto;
}
 .page {
    text-align: center;
     min-width: 320px;
} 

.fixed-header {position:fixed;z-index:4;width:100%;padding:15px 0px;}
.fixed-header:not(.filled) .logo {background-image:url(/img/logo.png);}
.logo a {display:block;width:100%;height:100%;}
.fixed-header > div {    max-width: 980px;
    margin: 0 auto;}
.fixed-header .location-and-prices > ul {margin-top:0px;}
.fixed-header .logo-text {color:#fff;font-size:10px;text-transform:none;font-family: 'Roboto', sans-serif;}
.fixed-header .prices {color:#fff;}
.fixed-header.filled .prices {color:#000;border-bottom-color:#000;}
.fixed-header.filled .prices::after {background-image:url(/img/triangle-black.png) !important;}
.fixed-header.filled .logo-text {color:#000;}
.fixed-header .content {margin:0 10px;}
.fixed-header {transition: background 0.3s;}
.fixed-header.filled {background-color:#fff;}
.fixed-header.filled {border-bottom: 2px solid #23D11B;}
.fixed-header.filled .telephone a {color:#000;}
.fixed-header.filled .callback{color: #23D11B;
    border-bottom-color: #23D11B;}
.fixed-header.filled .callback::before	{background-image: url(/img/phone-green.png)!important;}
.wrapper .main {
    color: white;
    text-align: left;
    background-image: url(../img/background.jpg);
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}
.page.gray {padding-left: 0; padding-right: 0;}
.gray-wrapper {
    width: 980px;
    box-sizing: border-box;
    padding-left: 60px;
    padding-right: 60px;
    margin: 0 auto;
}


.page>div.background-overlay {
    position: absolute;
    max-width: auto;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.6;
    top: 0;
    left: 0;
}


.page:not(last-child)+.page:not(.without-line) {
    border-bottom: 1px solid #DDD;
}
.gray {
    width: 100%;
    background-color: #F6F6F6;
}
.margin-center {
    margin: 0 auto;
}
.clear { width: 100%; float: none; clear: both;}
/*================ fonts ======================*/

h3, h5, h6 {
    text-transform: uppercase;
    font-family: 'PT Serif', serif;
    margin-bottom: 10px; 
}
.main h2 {text-shadow: 0 1px 1px black;}
h2, .title {
    margin: 30px 0;
}
h4 {text-transform: uppercase;}
.green {
    text-transform: uppercase;
    font-family: 'PT Serif', serif;
    font-size:30px;
    font-weight:700;
    margin-bottom: 10px; 
    color: #23D11B;
    text-shadow: 0 1px 1px rgba(0,0,0,1);
}
p {
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    margin: 10px auto;

}
.icon-text {font-size: 14px;}
.sale p {
    text-align: left;
    margin-top: -5px;
    color: #F9E300;
}
.underlined {
    display: inline-block;
    position: relative;
}
.title {
    font-size: 30px;
    line-height: 35px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.titleleftform {
    font-size: 20px;
    line-height: 35px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    font-family: Roboto;
}
.title>span {
    margin: auto;
    font-family:'PT Serif', serif;
    background: linear-gradient(transparent 60%,lightgreen 35%);
}


.step p {
    padding: 5px 10px 0 10px;
    margin-bottom: -5px;
}

/*================ FORMS ======================*/
form input {
    border-radius: 7px;
    border: 0;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    margin-right: 10px;
    width: 182px;
    height: 38px;
    vertical-align: middle;
    font-family: 'Roboto', sans-serif;
}
form input.button {width: 212px; height: 38px;}


form .choose-photo {
    display: inline-block;
    padding-left: 30px;
    border-radius: 7px;
    border: 0;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    margin-right: 10px;
    cursor: pointer;
    color: #a1a1a1;
    width: 212px;
    height: 38px;
    text-align: left;
    background: url(../img/picture.png) no-repeat 5px white;
    background-size: 20px;
    line-height: 16px;
    font-family: 'Roboto', sans-serif;
}

form input[type=text], form input[type=phone] {
    background-color: white;
	 font-family: 'Roboto', sans-serif;
}
input[type=text] {
    background: url(../img/name.png) no-repeat 5px;
    background-size: 20px;
    padding-left: 30px;
}
input[type=phone] {
    background: url(../img/number.png) no-repeat 5px;
    background-size: 20px;
    padding-left: 30px;
} 
.choose-photo {
}
/*================ BUTTONS =====================*/

.inline-button {
    cursor: pointer;
    border-bottom: 1px dotted;
    position: relative;
    font-size: 12px;
}
.page .inline-button:hover {
    border-bottom-color: transparent;
}
.button {
    display: inline-block;
    margin: 15px 0;
    background: linear-gradient(45deg,#0B9E51, #60D84D);
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    cursor:pointer;
    color: white;
    min-width: 250px;
    text-shadow: 0 1px 1px rgba(0,0,0,1);
    text-transform: uppercase;
    font-weight: 900;
    font-size:16px;
    line-height: 20px;
}
.main .button {
    padding: 25px 25px;
}
.big-button {width: 300px; padding: 13px 20px;}

form .button {
    padding-left: 20px;
    padding-right: 20px;
    width: auto;
    min-width: inherit;
}
.button:hover {
    box-shadow: none;
}
.list-img {
    margin-top: 5px;
}
.list-img .slick-slide {
    margin: 0 2.5px;
	cursor:pointer;
}
.list-img .slick-aktive {
    outline: 0;
    
}
.list-img .slick-current {
    opacity: 0.5;
    transition: all 0.3s ease;
}
.slider {position: relative; box-sizing: border-box; padding:0 40px; margin: 15px auto;}
.slider-left {
    display: inline-block;
    padding: 20px 26.5px;
    background-color: #23D11B;
    position: absolute;
    top: 50%;
    left: 5px;
    cursor:pointer;
    margin-top: -30px;
}
.slider-right {
    display: inline-block;
    padding: 20px 26.5px;
    background-color: #23D11B;
    position: absolute;
    top: 50%;
    right: 5px;
    cursor:pointer;
    margin-top: -30px;
}

.slider-right, .slider-left {
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
.line-slider .slider-right, .line-slider .slider-left {
    top: 50%;
    z-index: 2;
    margin-top: -30px;
}
 .slider-right img, .slider-left img {
    height: 10px;
    width: 7px;  
}

.slider-right:hover, .slider-left:hover {
    box-shadow: none;
}
.yellow-but {
    background: linear-gradient(45deg, #FFC000, #FFEB00);
}
.big-but {
    padding: 20px 95px;
}
.steps .step .button {
    min-width: 100px;
}

/*Header*/

.logo-w-text {
    height: 55px;
    width: 273px;
    display: inline-block;
}
.logo {
    width: 55px;
	height:55px;
	background:url(/img/logo_black.png) no-repeat 50% 50%;background-size:100% auto;
	float:left;
	margin-right:10px;
}
.logo img {
    display: block;
    height:55px;
    float: left;
    padding-right: 10px;
    box-sizing: content-box;
}
.logo-text {
    margin-top: 12.5px;
    font-size: 12px;
}
.location-and-call {
    float: right;
    height: 40px;
}
.location-and-call div {
    display: inline-block;
    margin-left: 10px;
	vertical-align: middle;
}
.telephone {
    margin-top: 5px;
    text-align: right;
    text-transform: uppercase;
}
.telephone a {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: 900;
	font-size:22px;
}
.location, .prices {
    margin-right: 25px;
    border-bottom-color: white;
}
.prices {padding: 5px 15px 0px 0; }
.location {padding: 5px 15px 0 0;}
.location-and-prices {
    display: inline-block;
}
.main .location-and-prices {
    position: relative;
    top: -17px;
}
.callback {
    color: #F9E300;
    border-bottom-color: #F9E300;
    margin-left: 17px;
	margin-top: 10px;
    display: inline-block;
}
.main-description h2 {
    font-family: 'PT Serif', serif;
    margin-top: 30px;
    font-size: 26px;
    line-height: 27px;
    font-weight: 700;
    text-align: center;
}
ul {
    margin-top: 20px;
}
ul li {
    list-style-type: none;
    font-weight: 300;
    line-height: 30px;
}
ul li::before {
    content: '';
    background: url(../img/tick.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
    margin-right: 5px;
    display: inline-block;
}


/*================ icons ======================*/

.callback::before {
    content: '';
    background: url(../img/phone.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 14px;
    height: 14px;
    position: absolute;
    display: block;
    left:-17px;
    bottom:0;
    line-height: 14px;
}
.footer-column:nth-child(4) .inline-button.callback::before {
    content: '';
    background: url(../img/phone-green.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 14px;
    height: 14px;
    position: absolute;
    display: block;
    left:-17px;
    bottom:0;
    line-height: 14px;
}
.location::before {
    content: '';
    background: url(../img/location.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 10px;
    height: 14px;
    position: absolute;
    display: block;
    left:-15px;
    bottom:0;
    line-height: 14px;
}
.location::after, .prices::after {
    content: '';
    background: url(../img/triangle.png) no-repeat 50% 50%;
    background-size: 50% auto;
    width: 10px;
    height: 14px;
    position: absolute;
    display: block;
    right:2px;
    bottom:0px;
    line-height: 14px;
}
.footer-column:nth-child(4) .location::after {background: url(../img/triangle-black.png) no-repeat 50% 50%;background-size: 70% auto;
    width: 14px;
    height: 14px;
    position: absolute;
    display: block;
    right:2px;
    bottom:0px;}
.footer-column:nth-child(4) .location::before {
    content: '';
    background: url(../img/location-black.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 10px;
    height: 14px;
    position: absolute;
    display: block;
    left:-15px;
    bottom:0;
}

.icon {
    display: block;
    width: 16.6666%;
    float: left;
}
.icon img {
    width: 120px; 
}
.social-card .inline-button::before {
    content: '';
    background: url(../img/vk.png) no-repeat 50% 50%;
    background-size: 70% auto;
    width: 25px;
    height: 25px;
    position: absolute;
    display: block;
    left:-27px;
    bottom:-5px;
    
}
/* slider */

.line-slider {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
    margin: 15px auto;
}
.frame {
    float: left;
    box-sizing: border-box;
    background:  url(../img/cert-frame.png) no-repeat 50% 0%;
    background-size: 205px 275px;
    position: relative;
}
.frame .line-slider-img {
    display: block;
    padding-top: 22px;
    padding-bottom: 22px;
    margin: 0 auto;
    height: 276px;
    width: 160px;
   /* */
    cursor: pointer;  
}
.line-slider.small .line-slider-img {
    box-sizing: content-box;
    
}
.frame:hover .zoom {opacity:1;}
.frame .zoom  {
   position: absolute;
    width: 160px;
    height: 232px;
    top: 50%;
    left: 50%;
    margin-left: -80px;
    margin-top: -116px;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.5) url(/img/zoom.png) no-repeat 50% 50%;
    background-size: 50px auto;
    opacity: 0;
    transition: all 0.3s;
    cursor: pointer;
}
.social-card .icon {
    background-size: 100% auto;
    height: 100px;
    width: 100px;
    margin-right: 10px;
}
.social-card .ot-1 {
    background: url(../img/otzyv-1.png) no-repeat 50% 50%;
    background-size: 100% auto;
}
.social-card .ot-2 {
    background: url(../img/otzyv-2.png) no-repeat 50% 50%;
    background-size: 100% auto;
}
/* Other */
.pic-w-text p {
    padding-top: 50px;
    text-align: justify;
    position: relative;
    z-index: 3;
}
.img-w-vignette {
    display: inline-block;
    float: left;
    margin-right: -80px;
    position: relative;
}
.img-w-vignette img {
    height: 450px;
}
.vignette {
    position: absolute;
    top:0;
    right: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white);
    z-index: 2;
}
.card {
    display: block;
    width: 50%;
    box-sizing: border-box;
    padding: 0 15px;
    position: relative;
    height: 100%; 
    margin: 0 auto;
}
.card:not(:nth-child(7)) {
    float: left;
    
}
.card-title {display: table;
    width: 100%;
    text-align: center;}
.card h4 {
    display:table-cell; vertical-align: middle;
    margin-bottom: 10px;
    font-weight: 700;
}
.card .card-description {
    text-align: justify;
    height: 110px;
}
.card img {
    width: 100%;
    margin-bottom: -320px;
}
.card-in-border {
    border: 6px solid #23D11B;
    box-shadow: 3px 3px 3px black, 3px 3px 3px black inset;
    height: 640px;
    margin: 0 20px;
	top:-20px;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
}

.card-in-border .empty-space {
    height: 300px;
	margin-top:20px;
}
.card-in-border p:last-child {
    text-align: left;
    color:#777;
}
.card-text h4 {
    height: 40px;
    margin-bottom: 10px;
}
.card-description {
    height: 100px;
} 
.card .price {
    margin: 15px 0 10px 0;
    text-align: left;
    font-size: 16px;
}
.card .price b {
    text-transform: uppercase;
}

.card .button {
    width: 90%;
    min-width: 0;
    margin: 5px auto;
}
.brands {
    margin-top: 20px;
    box-sizing: border-box;
}
.brands img {
    vertical-align: middle;
    display: inline-block;
    width: 100%;
}
.brands-img {
    white-space: nowrap;
    box-sizing: border-box;
    padding: 10px;
    width: 25%; 
    display: inline-block;
}
.clients {
    margin-top: 20px;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: justify;
}
.clients .clear {display: inline-block;}
.clients-img {display: inline-block;}
.clients img {
    margin: 5px 9px;
	height:80px;
}
.page .advantages {
    display: inline-block;
    margin: 0 auto;
    width: 50%;
    text-align: left;
    box-sizing: border-box;
    padding: 0 30px;
	vertical-align:top;
	margin-bottom:20px;
}
.page .advantages p {text-align: left;}
.page .advantages h4 {text-transform: uppercase; font-weight: 700;}
.advantages>.icon {
    float: none;
    margin-bottom: 10px;
}
.advantages img, .advantages .icon {height: 80px; width: 80px;}
.steps .step {
    display: block;
    position: relative;
    float: left;
    width: 25%;
}

.step img {
    height: 120px;
}
.steps .step:nth-child(2):before, .steps .step:nth-child(3):before, .steps .step:nth-child(4):before {
    content: "";
    position: absolute;
    background: url(../img/arrows.png) no-repeat 50% 50%;
    background-size: 100% auto;
    left: -20px;
    top: 55px;
    height: 10px;
    width: 50px;
}
.images .side{float: left; width: 50%;}
.images .wrp {float: left;padding: 1px;box-sizing: border-box;position:relative;}
.images .wrp img {width:100%;}
.images .wrp .zoom {position: absolute;
    width:100%;
    height:100%;
	top:0;left:0;
    background: rgba(255,255,255,0.5) url(/img/zoom.png) no-repeat 50% 50%;
    background-size: 50px auto;
    opacity: 0;
    transition: all 0.3s;
    cursor: pointer;}
	.images .wrp .zoom:hover {opacity:1;}
.images .side img {
     
}
.images .small-pack {
    width:50%;
    float: left;
}
.images .size-1 {width: 50%;}
.images .size-2,.images .size-3 {width: 100%;}
.images .side:last-child .size-3 {width: 50%;}

.videos, .records {
    overflow: hidden;
	margin-top:15px;
}
.big-records .record {
    width: 230px;
    display: block;
    clear: left;
    margin-top: 70px;
    margin-left: 0;
}
.video {
    width: 48%;
    float: left;
    box-sizing: content-box;
    /*padding: 5px;*/
    position:relative;
    cursor: pointer;
	    overflow: hidden;
		margin-bottom:15px;
		
}
.video1 {
    width: 100%;
    float: left;
    box-sizing: content-box;
    /*padding: 5px;*/
    position:relative;
    cursor: pointer;
	    overflow: hidden;
		margin-bottom:15px;
		
}
.video video {margin:0 auto;display:block;}
.video:nth-child(2) {float:right;}
.video .mejs__overlay {width:100% !important;}
.social-card {
    width: 50%;
    float: left;
    padding: 5px;
    box-sizing: border-box;
    text-align: left;
	margin-top:10px;margin-bottom:10px;
}
.social-card>div {
    width: 350px;
}
.social-card .inline-button {
    color: blue;
    border-bottom-color: blue;
    position: relative;
    margin-left: 24px;
    line-height: 20px;
    font-size: 14px;
    top:3px;
    
}
.record {
    height: 40px;
    width: 230px;
    margin-top: 20px;
    margin-left: 110px;
    background-color: #F6F6F6;
    border-radius: 3px;
    box-shadow: 3px 3px 3px lightgray;
}
.record > div {width:230px !important;border-radius:3px;}
.mejs__video {width:100% !important;}
.record .mejs__time-rail {width:75px !important;}
.record .mejs__volume-button,.record .mejs__horizontal-volume-total {display:none;}
/*========== Footer ==============*/
.footer .content {
    overflow: hidden;
}
.footer-column {
    width: 25%;
    float: left;
    overflow: hidden;
    padding: 20px 0;
}
.footer .logo {
    display: block;
    overflow: hidden;
}
.footer .logo-text {
    width: 180px;
    font-weight: 700;
}
.footer-column:nth-child(2) a {
    text-decoration: none;
    font-size:12px;
    color: gray;
    line-height: 17px;
}
.footer p {
    text-align: left;
    text-transform: uppercase;
     margin: 10px auto;
}
.footer-column:nth-child(4)>div {
    text-align: right;
    
}
.footer-column:nth-child(4) .inline-button.location  {
    color: black;
    border-bottom-color: black;
    margin-right: 0;    
}
.footer-column .location-and-call {width: 150px; float: none; margin: 0 auto;}
.footer-column .location-and-call>div {margin-left: 0; margin-bottom: 5px;}
.footer-column:nth-child(4) .inline-button.location:hover, .footer-column:nth-child(4) .inline-button.callback:hover {border-bottom-color: transparent;}

.footer-column:nth-child(4) .inline-button.callback {
    color:#23D11B;
    border-bottom-color: #23D11B;
}
.footer-column .telephone a {
    color: black;
    font-weight: 700;
	    font-size: 16px;
}
.footer-column .location-and-call>span {
    margin-left: 20px;
}
.footer-column .telephone {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0;
}
.underfooter {background-color: #0B9E51; overflow: hidden;}
.underfooter p {display: inline-block; color: white; margin-bottom: 5px;}
.underfooter p:first-child {float: left;}
.underfooter p:last-child {float: right;}
.underfooter .inline-button {font-size: 14px;}
#vk_groups {padding: 0;}
/*модальное окно*/
.modal {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);display:none;cursor:pointer;z-index:9999;overflow:auto;}
.modal .table .button {min-width:0;}
.modal .tb {display:table;width:100%;height:100%;table-layout:fixed;}
.modal .tb .td {display:table-cell;vertical-align:middle;width:100%;height:100%;padding:30px 0;}
.modal .form,.modal .table {display:inline-block;border:4px solid #23D11B;box-sizing:border-box;padding:20px 30px;min-width:320px;background:#fff;cursor:default; max-width: 460px;}
.modal .table {max-width:980px;}
.modal .title {margin-top:0;margin-bottom:30px;}
.modal form {width:auto !important;padding:0;}
.modal .form input[type='submit'] {
	margin-top:30px;
	background: #FFEB00 linear-gradient(45deg, #FFC000, #FFEB00);
	text-shadow: 0 1px 1px rgba(0,0,0,1);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 16px;
	color:#fff;
	height:50px;transition: all 0.3s ease;cursor:pointer;}
	.modal .form input[type='submit']:hover {box-shadow:none;}
.modal .form input {width:100%;display:block;margin:10px 0;}
.modal .td > div {display:none;margin:0 auto;position:relative;}
.modal .subject {display:none; text-align:center; margin-bottom:10px;}
form input.error,form .select.error {box-shadow:3px 3px 8px rgba(255,0,0,1);}
input {outline:0;}
.select {display:inline-block;height:38px;position:relative;overflow:hidden;border-radius:7px;box-shadow:3px 3px 8px rgba(0,0,0,0.4);}
.select select {width:100%;height:100%;box-sizing:border-box;padding:0 38px 0 30px;-webkit-appearance:none;appearance:none;position:relative;background:transparent;position:relative;border:none;outline:none;}
.navbar .select select {padding-left:5px;}
.select .arrow {position:absolute;width:38px;height:100%;top:0;right:0;background:url(/img/select-arrow.png) no-repeat 50% 50%;background-size:8px auto;opacity:0.4;}
.modal .select {width:100%;}
.cards .card:last-child {float:none;margin:0 auto;}

.price-list {
    width: 100%;
    text-align: center;
}
.price-list tr td {width: 50%; padding: 10px;}
.price-list tr:first-child td {
    background-color: #23D11B;
    color: white;
    text-shadow: 0px 1px 1px #000;
    text-transform: uppercase;
    padding: 5px;
}
.price-list tr:nth-child(odd):not(:first-child) td {background-color: #F6F6F6;}
.modal .price-list {margin-bottom:30px;}
.modal .price-list:last-child {margin-bottom:0;}
.modal .price-list span {display:none;}
.modal .close {width:30px;height:30px;background:url(/img/form-close.png) no-repeat 50% 50%;top:5px;right:4px;position:absolute;cursor:pointer;}
#file {display:none;}
/*=====================================*/
/*============ Адаптация ==============*/
.line-slider .slider-left,.line-slider .slider-right {display:none !important;}
@media screen and (max-width: 979px) {
	.line-slider .slider-left,.line-slider .slider-right {display:block !important;}
    .wrapper .main {background-size: cover;}
    .images .side, .videos .video {float: none;} 
    .records .social-card {margin: 10px auto;}
    .circle-icons .icon {width: 33.3333%; height: 180px;}
    .card .card-in-border {height: 670px;}
    .card .card-description {height: 130px;}
    .card img {margin-bottom: -310px;}
    .card .empty-space {height: 300px;}
    .cards .card h4 {height: 60px;}
    .images .side {width: 100%;}
    .images {margin-top: 20px;}
    .footer-column {width: 50%; height: auto;}
    .footer-column>div {width: 250px; margin: 0 auto;}
    .video {width: 100%;}
    .video::before {top: 43%;}
    .footer-column .location-and-call {margin: 5px 0;}
    .footer-column:nth-child(4) .inline-button.location {margin-top: 15px;}
}
@media screen and (max-width: 970px) {
	.clients {text-align:center;}
    .clients-img {}
    .clients-img img {}
    
}
@media screen and (max-width: 940px) {
    .pic-w-text .img-w-vignette {float: none; margin: 0;}
    .img-w-vignette, .img-w-vignette img {height: auto; width: 100%;}
    .vignette {display: none;}
    .page form input, form .choose-photo {display: block; float: none; margin-bottom: 10px; float: right; clear: both; margin-right: 10px;}
    .page form input, form .choose-photo {width: 97%; box-sizing: border-box; margin: 5px 9px;}
    form {width: 70%; padding: 0; margin: 20px auto; }
}

@media screen and (max-width: 920px) {
    .pic-w-text p {padding-top: 20px;}
    .steps .step:nth-child(3):before  {display: none;}
    .steps .step:nth-child(2):before, .steps .step:nth-child(4):before {width: 80px; left: -10%;}
    .steps .step {width: 50%;}
	.steps .step:nth-child(even) {margin-bottom:20px;}
	.steps .step:last-child {margin-bottom:0;}
    .steps .step p {width: 200px; margin: 0 auto;}
    .card img {margin-bottom: -300px;}
}

@media screen and (max-width: 880px){
    .page .advantages p {text-align: left; }
}
@media screen and (max-width: 850px) {
    .records .social-card {float: none; margin: 10px auto; width: 100%;}
    .card img {margin-bottom: -280px;}
    .card .empty-space {height: 280px;}
    .social-card>div {margin: 0 auto;}
}
@media screen and (max-width: 835px) {
    .card .card-description {height: 150px;}
}
@media screen and (max-width: 820px) {

    .location-and-call {margin-top: 0px;}
    .footer .location-and-call {float: none;}
    /*.location, .prices {margin-left: 15px; display: block;}
   
    .prices {display: inline-block; width: auto; padding-right: 13px;}*/
    .main .location {width:auto; padding-right:10px;}
    .prices::after {right: 1px;}
    .location::after {right: 0;}
    .location-and-call .telephone {margin-left: 0;}
    .telephone {margin-top: 0; margin-bottom: 10px;}
    .footer-column:nth-child(4) .inline-button.location::before {left: -14px;}
    .footer-column:nth-child(4) .inline-button.location {margin-left: 17px; top: -18px; display: inline-block;float: right;}
    .card img {margin-bottom: -260px;}
    .card .empty-space {height: 260px;}
    .card .card-description {height: 160px;}
}
@media screen and (max-width: 780px) {
    .cards .card {float: none; width: 70%;}
    .cards .card h4 {height: auto; margin-bottom: 10px;}
    .card img {margin-bottom: -330px;}
    .card .empty-space {height: 330px;}
    .card .card-description {height: auto;}
    .cards .card-in-border {height: auto;}
}
@media screen and (max-width: 767px) {
    .wrapper .page>div, .footer>div, .underfooter>div {padding: 15px 0;}
    .content {margin: 0 10px;}
    .slider .slider-left, .slider .slider-right {
    display: none;}
    .slider {padding: 0;}
    .clients .side {width: 100%;float: left}
    .page .advantages p {}
    .brands-img {width: 50%;}
    
}
@media screen and (max-width: 768px) {
	.page .advantages h4 {height:35px;}
}
@media screen and (max-width: 730px) {
    .card img {margin-bottom: -310px;}
    .card .empty-space {height: 310px;}
}
@media screen and (max-width: 700px) {
    .card img {margin-bottom: -300px;}
    .card .empty-space {height: 300px;}
}
.gamburger {display:none;}
.header > .location-and-call ul ul {position:absolute;background:#fff;border-radius:5px;box-shadow:3px 3px 8px rgba(0,0,0,0.4);border:1px solid #999;padding:10px;width:270px;box-sizing:border-box;margin-top:0;z-index:4;display:none;}
.header > .location-and-call ul li:before {display:none;}
.overlay {position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.6);top:0;left:0;display:none;}
.location-and-prices a {color:#23d11b;text-decoration:none;}
.location-and-prices a:hover {text-decoration:underline;}
.location-and-prices > ul > li:hover ul {display:block;}
@media screen and (max-width: 650px) {
	.fixed-header .prices {color:#000;}
	.header > .location-and-call ul ul {position:static;display:block;border:none;box-shadow:none;padding:0;width:auto;}
	.header > .location-and-call {transform:translate3d(100%,0,0);transition:all 0.3s;overflow:auto;}
.header > .location-and-call .close {display:none;}

.header > .location-and-call ul {margin-top:0px;}
	.header > .location-and-call.open {transform:translate3d(0%,0,0);}
	.header > .location-and-call.open .close {display:block;}
	.gamburger {float:right;width:45px;height:45px;background:url(/img/menu.png) no-repeat 50% 50%;background-size:45px auto;display:block;}
	.header > .location-and-call {z-index:1;}
	.header > .location-and-call div {margin-left:0;}
	.header > .location-and-call {position:fixed;right:0;top:0;padding:10px;background:#fff;height:100%;box-sizing:border-box;color:#000;}
	.location-and-call .close {position:absolute;width:30px;height:30px;background:url(/img/close.png) no-repeat 50% 50%;background-size:30px auto; left:-40px;}
	.location-and-prices, .telephone {display:block !important;}
	.inline-button.prices {font-size:18px;font-weight:900;padding:0;margin:0;}
	.header > .location-and-call ul li {text-align:right;}
	.telephone a {color:#000;}
	.telephone {margin-top:20px;margin-bottom:0;}
	.main .location-and-prices {top:0px;}
	.prices::after, .prices::after {background:none;}
	.fixed-header.filled .prices {border:none;}
	.fixed-header.filled .prices::after {display:none;}
}
@media screen and (max-width: 650px) {
    .underfooter>div>.content p {display: block; float: none; line-height: 20px}
    .card img {margin-bottom: -280px;}
    .card .empty-space {height: 280px;}
    .page .advantages p {height: 95px;}
}
@media screen and (max-width: 600px) {
    .circle-icons .icon {width: 50%; height: 180px;}
    .page .advantages {width: 320px; margin: 10px auto; float: none; text-align: center;}
    .page .advantages p {text-align: center; height: auto;}
    .page .advantages h4 {height: auto; margin-top: 10px;}
    .page .advantages .icon {margin: 15px auto;}
    .steps .step:nth-child(2):before, .steps .step:nth-child(4):before {display: none;}
    .steps .step {width: 100%; margin-bottom: 20px; height: auto;}
    .card img {margin-bottom: -260px;}
    .card .empty-space {height: 260px;}
    .clients-img {}
    
}
@media screen and (max-width: 570px) {
    /*.location-and-call {width: 100%; margin-top: 30px; text-align: justify; margin-bottom: 20px; margin-top: 10px;}  
    .location, .prices {margin-left: 15px; display: inline-block; top:10px}
    .telephone {float: right;}*/
    .card img {margin-bottom: -240px;}
    .card .empty-space {height: 240px;}
}
@media screen and (max-width: 550px) {
    .main-description {margin-top: 10px;}
    .main-description h2 {font-size: 20px; line-height: 20px;}
    .main-description li {font-size: 12px; line-height: 18px; padding-bottom: 5px;}
    .button {font-size: 12px;} 
    .page h2 {font-size: 20px;}
    .footer .footer-column {width: 100%; text-align: center; padding: 10px 0; height: auto;}
    .footer .footer-column p {text-align: center;}
    .footer-column>div {display: inline-block; width: auto;}
    .footer .logo {overflow: visible;overflow: hidden; margin: 0 auto;}
    .footer .logo-text {width: 250px; text-align: center; margin-top: 5px;}
    .footer .location-and-call {text-align: left; width: 150px; margin-top: 0;}
    .page>div:not(.background-overlay) {padding: 10px 0;}
    .card img {margin-bottom: -250px;}
    .card .empty-space {height: 250px;}
}
@media screen and (max-width: 520px){
    .cards .card {width: 85%;}
    .card img {margin-bottom: -280px;}
    .card .empty-space {height: 280px;}
    .big-but {padding: 20px 85px;}
}
    
@media screen and (max-width: 490px) {
    .clients .clients-side img {display: block; margin: 0 auto;}
    .big-but {padding: 20px 65px;}
}

@media screen and (max-width: 465px) {
    /*.location, .prices {margin-left: 15px; display: block; top:0px; }
    .main .prices {width: 81px;}*/
    .clients .clients-side img {display: block; margin: 0 auto;}
    .main .location-and-prices {top: -3px;}
}
@media screen and (max-width: 450px) {
    .circle-icons .icon {width: 100%; height: 180px;}
    .cards .card h4 {margin-bottom: 25px;}
    .card img {margin-bottom: -240px;}
    .card .empty-space {height: 240px;}
    form {width: 300px; box-sizing: border-box; padding: 20px 0 20px 30px;}
    .page form input {width: 100%; padding: 10px 10px 10px 30px; margin: 5px 15px;}
	.modal .price-list span {display:block;margin-top:10px;color:blue;}
	.modal .table {padding:20px 0;}
	.modal .table .title {padding:20px 0;}
.modal .price-list tr td:last-child {display:none;}
    
}
@media screen and (max-width: 420px) {
    .cards .card {display: block; width: 100%; padding: 0;}
    .cards .card img {margin-bottom: -290px;}
    .cards .card .empty-space {height:290px;}
    
}
@media screen and (max-width: 400px) {
    .main-description h2 {font-size: 16px}
    .cards>.card {display: block; width: 300px; margin: 0 auto; padding: 0; height: auto;}
    .cards>.card h4 {margin-bottom: 15px; height: auto; font-size: 14px}
    .cards>.card .card-description {margin-bottom: 15px; height: auto;}
    .cards>.card .button {min-width: 0; margin: 15px 0px; width: 87%;}
    .cards>.card img {margin-bottom: -235px;}
    .cards>.card .empty-space {height:235px;}
    .record {margin-left: 0px; margin-top: 45px; clear: both;}
    .records .icon {height: 80px; width: 80px;}
    .records h4 {margin-bottom: 5px}
    .page .records .social-card {position: relative; margin: 5px auto;}
    .page .advantages {padding: 0; margin: 25px auto; width: 100%;}
    .yellow-but {min-width: 0;}
    .big-but {width: auto; padding: 20px 35px;}
    .big-button {width: auto; padding: 15px 25px;}
    .title {font-size: 24px}
    .brands-img {width: 90%}
}
@media screen and (max-width: 420px) {
    .main .button {padding: 20px;}
}





.main-li {display:inline-block;padding:10px 30px;}
.main-ul {margin: 20px auto;max-width:701px;text-align:center;}
.main-span {border-bottom:1px dotted #F9E300; color:#F9E300;cursor:pointer;text-decoration:none;}
.green-span {border-bottom:1px dotted #23D11B; color:#23D11B;cursor:pointer;text-decoration:none;}


