@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;
}
.page.main>div, .page:first-child {
    position: relative;
}
.page.first-page {
    position: static;
}
.general {
    width: 980px;
    margin: 0 auto;
	padding-top:75px;
}
.pages .page>div {
    width: auto;
}
.pages {
    margin-left: 260px;
}
 .page {
    text-align: center;
     min-width: 320px;
} 
.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:first-child {
    text-align: left;
}
.green-line {
    border-bottom: 2px solid #23D11B;
}
.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.5;
    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;}
/* ====================Navbar==================*/

.navbar>div {
    width: 230px;
    float: left;
    margin-top: 40px;
    margin-left: 10px;
    position: fixed;
    border: 4px solid #23D11B;
    box-sizing: border-box;
    padding: 10px;
	top:72px;
    box-shadow: 3px 3px 3px black, 3px 3px 3px black inset;
}
.navbar .title {
    font-size: 20px;
    font-weight: 900;
}
.navbar input {
    margin: 6px 5px;
}
.navbar input[type=text], .navbar input[type=phone] {
    background: none;
    padding: 0;
    padding-left: 5px;
    width: 190px;
    background: white;
    box-sizing: content-box;
}
.navbar form input.button {
    width: 195px;
    margin: 6px 5px;
}
.placeholder {
    color: #999;
}
.navbar .select {
    height: 38px;
    border-radius: 8px;
    margin: 6px 5px;
    width: 195px;
    border: none;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    background: white;
}

/*================ fonts ======================*/

h1, h2, h3, h5, h6 {
    text-transform: uppercase;
    font-family: 'PT Serif', serif;
    margin-bottom: 10px; 
}
.main p {text-shadow: 0 1px 1px black;}
h2, .title {
    margin: 15px 0;
    clear: both;
}
.pages .title {
    margin-top: 20px;
}
h4 {text-transform: uppercase;}
.green {
    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;
}
.pages .title {
    font-size: 20px;
}
.pages p {
    font-size: 14px;
}
.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;
}
.aligned {text-align: justify;}
/*================ 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;
    font-size: 13px;
    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;
}
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;
} 



/*================ BUTTONS =====================*/

.inline-button {
    cursor: pointer;
    border-bottom: 1px dotted;
    position: relative;
    font-size: 12px;
}
.page>div .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;
}
.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;
}
.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;
}
.pages .button {
    text-align: center;
    margin: 20px 0;
    width: 350px;
    padding: 15px;
}
.pages .page {text-align: center;}
/*Header*/

.main .logo-w-text {
    height: 60px;
    width: 250px;
    display: inline-block;
}
.logo-w-text {
    height: 40px;
    width: 250px;
    display: inline-block;
}

.main .logo {
    width: 80px;
}
.logo {
    width: 50px
}
.main .logo img {
    display: block;
    width: 80px;
    float: left;
    padding-right: 10px;
}
.logo img {
    display: block;
    width: 50px;
    float: left;
    padding-right: 10px;
}
.main .logo-text {
    margin-top: 20px;
    font-size: 10px;
}
.logo-text {
    margin-top: 7px;
    font-size: 10px;
}
.location-and-call {
    float: right;
    height: 40px;
}
.location-and-call div {
    display: inline-block;
    margin-left: 10px;
}
.main .telephone {
    margin-top: 15px;
    text-align: right;
    text-transform: uppercase;
}
.telephone {
    text-align: right;
    text-transform: uppercase;
}
.page.main .telephone a {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: 700;
}
.page:first-child .telephone a {
    display: block;
    text-decoration: none;
    font-weight: 700;
    color: black;
}
.location, .prices {
    margin-right: 25px;
    border-bottom-color: white;
}
.main .prices {padding: 5px 15px 0px 0;}
.main .location {padding: 5px 15px 0 0;}
.prices, .location {padding: 0 15px 0 0;}
.location-and-prices {
    display: inline-block;
}
.main .location-and-prices {
    position: relative;
    top: -10px;
}
.page:first-child .location-and-prices {
    position: relative;
    top: -10px;
}
.page.first-page .location-and-prices {
    position: static;
    margin-top: -10px;
    vertical-align: top;
}
.page.main .callback {
    color: #F9E300;
    border-bottom-color: #F9E300;
    margin-left: 17px;
}
.page:first-child .callback {
    color: #23D11B;
    border-bottom-color: #23D11B;
    margin-left: 17px;
}

.main-description p {
    margin-top: 50px;
    font-size: 25px;
    line-height: 27px;
    font-weight: 700;
    text-align: left;
}
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;
}
ul.black li::before {
    content: '';
    background: url(/img/tick-black.png) no-repeat 50% 50%;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
    margin-right: 5px;
    display: inline-block;
}
ul.black li {
    font-size: 14px;
    line-height: 21px;
    text-align: left;
}
ul.black {margin: 20px 0;}
/*================ 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, .page:first-child .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: 70% auto;
    width: 10px;
    height: 14px;
    position: absolute;
    display: block;
    right:2px;
    bottom:0px;
    line-height: 14px;
}
.footer-column:nth-child(4) .location::after, .footer-column:nth-child(4) .prices::after, .page:first-child .location::after, .page:first-child .prices::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, .page:first-child .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: 231px;
    width: 160px;
    transition: all 0.3s;
    cursor: pointer;
}
.pages .frame {
    background-size: 150px 200px;
}
.pages .frame .line-slider-img {
    width: 115px;
    height: 160px;
}
.frame .line-slider-img:hover {
    opacity: 0.3;
    z-index: 1;
}
.frame .zoom  {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 38%;
    left: 40%;
    display: none;
}
.frame .line-slider-img:hover +.zoom {
    display: block;
    z-index: 100;
}
.zoom:hover {
    display: block;
    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;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
}

.card-in-border .empty-space {
    height: 320px;
}
.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;
}
.page .advantages {
    display: block;
    float: left;
    margin: 0 auto;
    width: 50%;
    text-align: left;
    box-sizing: border-box;
    padding: 0 30px;
}
.page .advantages p {text-align: left; height: 60px;}
.page .advantages h4 {height:  35px; text-transform: uppercase; font-weight: 700;}
.advantages>.icon {
    float: none;
    margin-bottom: 5px;
}
.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 .side img {
    box-sizing: border-box; 
    padding: 1px;
    display: block; 
    float: left;
}
.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;
}
.video {
    width: 50%;
    float: left;
    box-sizing: content-box;
    position:relative;
    cursor: pointer;
}
.video::before {
    content: "";
    position: absolute;
    background: url(../img/play-button.png) no-repeat 50% 50%;
    background-size: 100% auto;
    height: 70px;
    width: 70px;
    top: 33%;
    left: 45%;
}
.video img {width: 100%;}
.social-card {
    width: 50%;
    float: left;
    padding: 5px;
    box-sizing: border-box;
    text-align: left;
}
.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: 30px;
    width: 230px;
    margin-top: 20px;
    margin-left: 110px;
    background-color: #F6F6F6;
    border-radius: 3px;
    box-shadow: 3px 3px 3px lightgray;
    overflow: hidden;
}
.pages .record {
    width: 220px;
}
.circle-steps .circle-step {
    width: 50%;
    float: left;
    text-align: center;
    position: relative;
    margin: 10px auto;
}
.circle-step .step-icon {
    display: inline-block;
    height: 150px;
    width: 150px;
    background: #F6F6F6;
    border-radius: 1000px;
    position: relative;
}
.circle-step .step-icon  img {
    height: 60px;
    position: absolute;
    right: 50%;
    top: 50%;
    margin-top: -30px;
    margin-right: -30px;
    
}
.circle-step .step-tick {
    background: url(../img/tick-circle.png) no-repeat 50% 50%;
    background-size:100% auto;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 10px;
    z-index: 1;
}
.circle-step .step-text {
    max-width: 300px;
}
    
/*========== Footer ==============*/
.footer-column {
    width: 25%;
    float: left;
    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;
    text-decoration: none;
}
.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;}
/*============ Адаптация ==============*/

@media screen and (max-width: 980px) {
    .general {width: 100%;}
    .wrapper .main {background-size: cover;}
    .images .side, .videos .video {float: none; margin: 0 auto;} 
    .records .social-card {margin: 15px 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-img {display: block; float: left; width: 50%;}
    .clients-img img {display: block; margin: 0 auto;}
    
}
@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; }
    .navbar form {width: 230px;}
}

@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 {height: 265px; width: 50%;}
    .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; height: 70px;}
}
@media screen and (max-width: 850px) {
    .records .social-card {float: none; margin: 5зчж 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) {

    .main .location-and-call {margin-top: 15px;}
    .page:first-child .location-and-prices {top: 0;}
    .footer .location-and-call {float: none;}
    .location, .prices {margin-left: 15px; display: block;}
    .main .location-and-prices {top: 0;}
    .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;}
    .slider slider-left, .slider .slider-right {display: none;}
    .clients .side {width: 100%;float: left}
    .page .advantages p {height: 80px;}
    .brands-img {width: 50%;}
    .navbar {display: none;}
    .pages {margin: 0;}
    
}
@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;}
}
@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;}
    .circle-steps .circle-step {width: 100%;}
}
@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: 10px; height: auto;}
    .card img {margin-bottom: -260px;}
    .card .empty-space {height: 260px;}
    .clients-img {width: 100%;}
    
}
@media screen and (max-width: 570px) {
    .main .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 p {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;}
    .pages .button {width: 250px;}
}
    
@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;}
    .page:first-child .prices::after {right: 15px;}
}
@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;}
    
}
@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 p {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 {width: 70%; 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;}
}