/* Effects */

a, .button, .slick-prev, .slick-next, .review-content, .review-mask {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -khtml-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}

html {
    scroll-behavior: smooth; 
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Slick */

.slider::before {
    content: '';
    width: 18%;
    height: 100%;
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    display: block;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 1;
}

.slider::after {
    content: '';
    width: 18%;
    height: 100%;
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.slick-slide img {
    max-width: 100%;
}

.slick-arrow {
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    outline: none !important;
    font-size: 0;
    color: transparent;
    cursor: pointer;
    position: absolute;
    z-index: 3;
    border: 0;
    border-radius: 100%;
}

.slick-arrow:hover {
    opacity: 0.7;
}

.slick-prev {
    left: 100px;
    background: url(/images/icons/arrow.svg) center center no-repeat;
}

.slick-next {
    right: 100px;
    background: url(/images/icons/arrow.svg) center center no-repeat;
    transform: rotate(180deg);
}

/* Layout */

.main-wrap {
    min-height: 100%;
    min-width: 960px;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    overflow: hidden;
}

.content-wrap {
    max-height: 100%;
    height: 100%;
    width: 100%;
    background: url(/images/figure2.svg) left center no-repeat;
    flex-grow: 1;
}

.center-wrap {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto 0 auto;
    display: flex;
    flex-flow: column nowrap;
    position: relative;
    font-size: 0;
}

/* HEADER */

header {
    width: 100%;
    padding: 12px 100px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

header .logo {
    margin-right: 10px;
    font-size: 0;
}

header .right-block {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

header .right-block .content-phone {
    font-size: 24px;
    line-height: 140%;
    font-weight: 700;
    color: #303030;
}

header .lang a {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #0B8B94;
    margin-right: 47px;
}

.block-description p {
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #303030;
    margin: 10px 0;
}


/* Block Main */

.block-main {
    min-height: 520px;
    padding: 80px 30px 60px 30px;
    /*margin-bottom: 79px;*/
    /*background-size: cover;*/
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    box-sizing: border-box;
    position: relative;
}

.block-main::before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(128.04deg, #D92A4C -13.16%, rgba(255, 255, 255, 0) 59.02%), linear-gradient(0deg, #0A878F, #0A878F);
    opacity: 0.9;
    transform: matrix(1, 0, 0, -1, 0, 0);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.block-main::after {
    content: '';
    width: 497px;
    height: 375px;
    background: url(/images/figure1.svg) center center no-repeat;
    display: block;
    position: absolute;
    right: 35px;
    bottom: 0;
}

.block-main .main-form {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}


/* FORM */
.main-form form {
    max-width: 940px;
    width: 100%;
    margin-top: 5px;
    z-index: 2;
}

.main-form .fomr-slider-wrap {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    margin: 0;
}

.main-form .min, .main-form .max {
    width: 130px;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
    margin: 0 8px;
    display: block;
}

.main-form .min:first-child, .main-form .max:first-child {
    text-align: right;
}

.main-form .min:last-child, .main-form .max:last-child {
    text-align: left;
}

.main-form .range-wrap {
    max-width: 624px;
    width: 100%;
    padding: 21px 0 20px 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.main-form .form-slider {
    width: 100%;
    height: 25px;
    margin: 0;
    padding-top: 7px;
    background: transparent;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 2;
}

.main-form .fomr-slider-wrap .range-track {
    width: calc(100% - 25px);
    position: relative;
    top: -16px;
    height: 7px;
    background: #d3d3d3;
    border-radius: 3px;
    outline: none;
    opacity: 0.9;
    cursor: pointer;
}


.main-form .fomr-slider-wrap .range-track:hover {
    opacity: 1; 
}

.main-form .fomr-slider-wrap .range-value-wrap {
    width: 115px;
    margin-left: -55px;
    text-align: center;
    position: absolute;
    bottom: -41px;
    box-sizing: border-box;
}

.main-form .fomr-slider-wrap .range-value {
    padding: 3px 9px;
    background: #303030;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 100px;
    box-sizing: border-box;
}

.main-form .form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #870C18;
    border: 3px solid #FFFFFF;
    border-radius: 100%; 
    box-sizing: border-box;
    cursor: pointer;
}

.main-form .form-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #870C18;
    border: 3px solid #FFFFFF;
    border-radius: 100%; 
    box-sizing: border-box;
    cursor: pointer;
}

.main-form .form-slider::-ms-fill-lower {
    width: 100%;
    height: 7px;
    background-color: #870C18;
    border-radius: 3px; 
    border: 0;
    margin: 0 -1px;
}

.main-form .form-slider::-ms-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #870C18;
    border: 3px solid #FFFFFF;
    border-radius: 100%; 
    box-sizing: border-box;
    display: block;
    cursor: pointer;
}

.main-form .form-slider::-ms-tooltip {
	display: none;
}


.main-form .button.to-calc {
    margin-top: 43px;
    z-index: 2;
}

.block-main .form-hidden {
    display: none;
}

.block-main .column {
    padding-top: 45px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.block-main .column input {
    margin: 0 10px;
    border-radius: 3px;
    width: 276px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    text-align: center;
    color: #878787;
}

.block-main .description {
    max-width: 725px;
    font-weight: bold;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #C2EAEC;
    z-index: 2;
}

.block-main .content {
    margin-top: 13px;
    font-size: 30px;
    line-height: 140%;
    font-weight: 700;
    text-align: center;
    color: #FFF;
    z-index: 2;
}


/* Block Advanteges */
.block-advantages {
    margin-bottom: 43px;
}

.block-advantages .list-items {
    display: flex;
    margin: 0 -30px;
    flex-flow: row nowrap;
    justify-content: center;
}

.block-advantages .list-item {
    max-width: 260px;
    width: 100%;
    padding: 0 30px;
    text-align: center;
    box-sizing: border-box;
}

.block-advantages .content-icon {
    width: 100%;
    height: 121px;
    margin-bottom: 41px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    border: 1px solid #D1DCDE;
    box-sizing: border-box;
    border-radius: 3px;
}

.block-advantages .title {
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
    text-align: center;
    color: #303030;
}


/* Block Text */
.block-text {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 53px auto;
}

/* Block reviews */
.block-reviews {
    margin-bottom: 60px;
    position: relative;
}

.block-reviews .slide-item {
    padding: 20px 20px;
    box-sizing: border-box;
}

.block-reviews .block-title {
    margin-bottom: 10px;
}

.block-reviews .review-content {
    width: 360px;
    height: 440px;
    padding: 40px 40px;
    background-color: #fff;
    background-position: left bottom;
    background-repeat: no-repeat;
    box-sizing: border-box;
    box-shadow: 0px 0px 20px rgba(35, 175, 183, 0.2);
    border-radius: 3px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.block-reviews .review-content:hover {
    box-shadow: 0px 0px 20px rgba(35, 175, 183, 0.3);
}

.block-reviews .text {
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
    color: #303030;
    box-sizing: border-box;
}

.block-reviews .content-image {
    width: 425px;
    height: 425px;
    border-radius: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-end;
    position: absolute;
    left: -113px;
    bottom: -189px;
    z-index: 1;
    overflow: hidden;
}

.block-reviews .review-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    right: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
}

.block-reviews .review-content:hover .review-mask {
    background: rgba(255, 255, 255, 0.5);
}

.block-reviews .review-bottom {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    z-index: 3;
}

.block-reviews .smile img {
    padding: 15px;
    margin-right: 20px;
    border-radius: 100%;
    background: #fff;
}

.block-reviews .name {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: #303030;
}


/* Contacts and files */
.block-contacts-files {
    padding: 0 100px;
    margin-bottom: 33px;
    box-sizing: border-box;
}

.block-contacts-files .top-button {
    background: url(/images/icons/arrow-top.svg) top center no-repeat;
    padding-top: 40px;
    text-align: center;
    margin: 0 auto 40px auto;
}

.block-contacts-files .top-button:hover {
    background: url(/images/icons/arrow-top-hover.svg) top center no-repeat;
}

.block-contacts-files .contacts-files-wrapper {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.block-contacts-files .contacts-list {
    max-width: 50%;
    width: 100%;
    margin-right: 40px;
    display: flex;
    flex-flow: row nowrap;
}

.block-contacts-files .social {
    display: flex;
    flex-flow: row nowrap;
    margin-right: 19px;
}

.block-contacts-files .social a {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: #E7F3F4;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 20px;
    padding: 0;
}

.block-contacts-files .socicon-facebook {
    background-image: url(/images/icons/facebook.svg);
}

.block-contacts-files .socicon-instagram {
    background-image: url(/images/icons/instagram.svg);
}

.block-contacts-files .files-list {
    max-width: 50%;
}


/* FOOTER */

footer {
    background: #E7F3F4;
    padding: 21px 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

footer .pantera, footer .pantera a, footer .copyright {
    font-size: 14px;
    line-height: 140%;
    font-weight: 400;
    text-align: center;
    color: #303030;
}

.block-emergency-popup {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.block-emergency-popup.closed {
    opacity: 0;
    visibility: hidden;
}

.block-emergency-popup .emergency-popup-window {
    max-width: 1050px;
    width: 95%;
    width: calc(100vw - 80px);
    max-height: 95%;
    max-height: calc(100vh - 80px);
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.block-emergency-popup .emergency-popup-content {
    position: relative;
    padding: 50px 60px 50px 60px;
}

.block-emergency-popup article p,
.block-emergency-popup article li,
.block-emergency-popup article td {
    font-size: 18px;
    line-height: 26px;
}

.block-emergency-popup article ol {
    counter-reset: list1;
    margin-left: 25px;
    padding: 0;
}

.block-emergency-popup article ol ol {
    counter-reset: list2;
    margin-left: 40px;
    
}

.block-emergency-popup article ol > li {
    list-style: none;
}

.block-emergency-popup article ol ol > li {
    list-style: none;
}

.block-emergency-popup article ol > li:before {
    width: 25px;
    margin-left: -25px;
    display: inline-block;
    content: counter(list1) ") ";
    counter-increment: list1;
}

.block-emergency-popup article ol ol > li:before {
    width: 40px;
    margin-left: -40px;
    display: inline-block;
    content: counter(list1) "." counter(list2) ") ";
    counter-increment: list2;
}

.block-emergency-popup article h2 {
    padding-right: 20px;
}

.block-emergency-popup .close {
    position: absolute;
    right: 25px;
    top: 25px;
    width: 45px;
    height: 45px;
    padding: 0;
    font-size: 28px;
    border: none;
    font-weight: bold;
    background: none;
    cursor: pointer;
    color: #0B8B94;
}

.block-emergency-popup .close:hover {
    color: #10bbc7;
}

body.no-scroll {
    overflow: hidden;
}

.block-article { display: block; padding: 30px 0; }
.block-article .content-text * { font-size: 14px; line-height: 20px; }
.block-article .content-text p { margin: 0 0 15px 0; }
.block-article .content-text ol { margin: 15px 0; padding: 0 0 0 30px; }
.block-article .content-text ol li { margin: 0 0 8px 0; }
.block-article .content-text ol li:last-child, .block-article .content-text ol:last-child, .block-article .content-text p:last-child { margin-bottom: 0; }

.block-article.style-1 { margin: 0 0 60px 0; background-color: #ecf4f5; }
