@font-face {
    font-family: 'Segoe UI';
	font-display: auto;
    src: local("Segoe UI"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
}
@font-face {
    font-family: 'Segoe UI Light';
	font-display: auto;
    src:         local("Segoe UI Light"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype");
}
@font-face {
    font-family: 'Segoe UI Semibold';
	font-display: auto;
    src: local("Segoe UI Semibold"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf) format("truetype");
}

@keyframes zhuh-right {
    from {transform: translateX(0px);}
    50% {transform: translateX(300px);}
    to {transform: translateX(0px);}
}

@keyframes zhuh-left {
    from {transform: translateX(0px);}
    50% {transform: translateX(-300px);}
    to {transform: translateX(0px);}
}

.content-layer {
    width: 960px;
}

body {
    font-family: "Segoe UI";
    box-sizing: border-box;
    line-height: 1.1875;
}

h1, h2 {
    font-family: "Segoe UI";
    font-weight: bold;
}
h1 {
    font-size: 43px;

}
h2 {
    font-size: 29px;
}

.high-text {
    font-size: 16px;
}
.low-text {
    font-size: 15px;
    line-height: 120%;
}

header, footer {
    padding: 5px;
}

.mobile-view {
    block: none;
    visibility: hidden;
    background: url("../img/main.jpg");
    background: auto 100%;
}

header.header {
    position: fixed;
    box-shadow: 5px 0 15px rgba(0,0,0,0.7);
    z-index: 2;
    background: #ffffff;
    width: 100vw;
    top:0;
    padding-right: 5px;
}

header .logo, footer .logo {
    width: 30%;
    text-align: center;
}

header .logo span, footer .logo span{
    color: #000000;
    font-family: "Segoe UI";
    font-size: 15px;
    padding: 0 20px;
}
header .logo img, footer .logo img {
    width: 268px;
}
header .adres, footer .adres  {
    text-align: center;
}

header .phone-block span, footer .phone-block span {
	color: #000000;
    font-family: Segoe UI;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    position: relative;
    padding-left: 30px;
}

header .phone-block a, footer .phone-block a {
    text-align: center;
}

header .phone-block a:nth-child(1) span:after, footer .phone-block a:nth-child(1) span:nth-child(1):after {
    position: absolute;
    left: 0;
    top: 5px;
    content: "";
#    background-image: url("../img/free.png");
    background-repeat: no-repeat;
    background-size: 95% 95%;
    width: 25px;
    height: 25px;
}

.flag {
    background: url("../img/flag.jpg");
    background-size: 110% 110%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 20px ;
    color: #ffffff;
    width: 90%;
}

.flag-red {
    background: url("../img/flag-red.jpg");
    background-size: 110% 110%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 20px ;
    color: #ffffff;
    width: 90%;
}

.slide-1 {
    margin-top: 75px;
    position: relative;
}
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    z-index: -1;
}

.background img{
}

.title-sticker {
    width: 100%;
    border-radius: 10px;
    background: rgba(255,255,255, 0.9);
    margin-top: 20px;
}

.title-sticker ul {
    list-style-type: none;
    padding-left: 0px;
    margin-left: 5px;
    margin-bottom: 0;
}
.title-sticker ul li {
    position: relative;
    padding-left: 30px;
    margin: 15px  0;

}
.title-sticker ul li:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url("../img/check.png");

}

label.tel-label{
    position: relative;
    width: 80%;
}
label.tel-label:before{
    position: absolute;
    content: "";
    left: 13px;
    top: calc(50% - 15px);
    background-image: url("../img/phone.png");
    width: 31px;
    height: 30px;
    background-repeat: no-repeat;
}


.btn-green {
    background: linear-gradient(0deg, #347E05, #70BD22 9%, #5FA716 83%, #4E9820 92%, #519B29);
    border-radius: 10px;
    padding: 5px 20px 5px 5px;
    border: 1px solid #529B1E;
    color: #ffffff;
    font-weight: bold;

}

.social {
    margin: 5px;
    width: 40px;
    height: 40px;
    border-radius: 15px;
    padding-top: 10px;
    transition: 0.5s;
    background: #585657;
}


.vk:hover {
    background: #5d84ae;
}
.fb:hover {
    background: #3b5998;
}
.ok:hover {
    background: #f93;
}
.inst:hover {
    background: linear-gradient(#D2143E, #3b5998, #022A57);
}

.social i{
    color: #ffffff;
    font-size: 20px;
}

footer .btn-green, header .btn-green {
    padding-right: 40px;
}

form input[type="date"] {
    position: relative;
}

form input[type="date"]:after {
    position: absolute;
    right: 7%;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    content: "";
    background-image: url(../img/icon-calendar.png);
    background-repeat: no-repeat;
}
form input[type="date"]:hover:after {
    content: none;

}

.btn-red {
    background: linear-gradient(0deg, #EC3C63, #FC5376 9%, #D71B44 83%, #D0143D 92%, #D2143E);
    border-radius: 20px;
    padding: 20px 5px;
    border: 1px solid #D0143D;
    color: #ffffff;
    font-weight: bold;
}

.btn-green:before {
    content: "";
    position: absolute;
    top: calc(50% - 13px);
    right: 8px;
    background: url("../img/button-right.png");
    background-repeat: no-repeat;
    background-size: 80%;
    height: 26px;
    width: 22px;
}

button  {
    position: relative;
}

button:after {
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    top: -1px;
    border-bottom-left-radius: 50% 100%;  /* Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ðµ Ð¿Ð¾ ÑˆÐ¸Ñ€Ð¸Ð½Ðµ Ð¸ Ð¿Ð¾ Ð²Ñ‹ÑÐ¾Ñ‚Ðµ */
    border-bottom-right-radius: 50% 100%;
    height: 20%;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)) ;
}

form span.no-bold {
    font-weight: normal;
}

form .description {
    font-family: Segoe UI;
    font-size: 13px;
    font-weight: normal;
    width: 80%;
}

form span {
    margin: 5px 0;
    font-weight: bold;
}

form input[type=text],
form input[type=tel], form input[type=date], form select {
    border: 1px solid  #000000;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    background-color: #FFFFFF;
    color: #000000;
    font-family: "Segoe UI";
    font-weight: normal;
    font-size: 19px;
    text-align: center;
    vertical-align: middle;
    margin: 5px;
    padding: 10px;

}

.form-layer {
    border-radius: 10px;
    text-align: center;
}

.slide-1 .form-layer {
    background: rgba(255,255,255,0.9);
    width: 43.5%;
    margin: 235px 0 220px;
    padding: 5px 0;
    justify-self: flex-end;
    float: right;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.form-layer .title{
    background: url("../img/flag.jpg");
    background-position: 50% 50%;
    padding: 5px 0;
    margin-top: 10px;
    text-align: center;
    position: relative;
    width: 100%;
}

.form-layer .title.sticker:before {
    background: url("../img/sticker-sanari.png");
    content: "";
    width: 401px;
    height: 211px;
    position: absolute;
    right: -130px;
    top: -211px;
    overflow: hidden;
}

.hidden {
    display: none;
    visibility: hidden;
    height: 0;
}

.form-layer .title span{
    text-align: center;
    color: #FFFFFF;
    font-family: Segoe UI;
    font-size: 15px;
    display: block;
    margin: 0 0 5px 0;
}

.form-layer .title .title-layer {
    background: #ffffff;
    padding: 5px 0;

}

.form-layer .title .title-layer span {
    color: #000000;
    font-family: Segoe UI;
    font-size: 27px;
    text-align: center;
    font-weight: bold;
}

.form-layer .title .title-layer strong {
    font-weight: bold;
    color: #E12B52;
}

input[type=tel]{
    width: 100%;
}
.slide-3 label.tel-label{
    width: 50%;
}
.slide-1 button, .slide-2 button, .slide-5 button, .slide-ny button, .slide-covid button {
    width: 90%;
    margin: 5px 0;
    font-size: 24px;
}

.slide-covid {
    background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) ), url("../img/covid.jpg") no-repeat;
    background-size: cover;
    padding: 40px 0; 
	background-blend-mode: overlay;
}

.slide-covid h2{
    color: white;
    text-align: center;
    font-size: 35px;
    padding: 0 12%;

}

.slide-covid .content-layer {
    position: relative;
}
.slide-covid .sticker-covid {
    position: absolute;
    top: -10px;
    right: 0;
    background-image: url("../img/sticker-ny-title.png");
    background-repeat: no-repeat;
    width: 135px;
    height: 118px;
    text-align: center;
    padding: 20px 10px 20px 25px;
}
.slide-covid .sticker-covid span{
    display: block;
    width: 100px;
    height: 80px;
    color: #000000;
    transform: rotate(20deg) translateY(15px);
    font-weight: bold;
    line-height: 15px;
    font-size: 13px;
}

.slide-covid .separator-title {
    padding: 0px 12%;
}

.slide-covid h3{
    color: white;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

.slide-covid .features-covid {
    width: 100%;
	max-width: 450px;
    float: left;
    margin-right: -20px;
    font-size: 16px;
}

.slide-covid .feature-covid {
    margin: 10px;
    padding: 15px 5px 15px 50px;
    position: relative;
    background: rgba(255,255,255,0.85);
    border-radius: 10px;
    width: 90%;
}

.feature-covid .checkbox-covid {
    position: absolute;
    top: calc(50% - 13px);
    left: 10px;
    color: #ffffff;
    background: #ECA900;
    background: linear-gradient(90deg, #17a2b8, #168596);
    padding: 5px;
    border-radius: 5px;
}

.slide-covid .covid-separator {
    width: 100%;
    background: #A00015;
    color: #ffffff;
    padding: 10px 0;
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.slide-covid .form-layer {
    background: rgba(255,255,255,0.9);
    width: 50%;
    margin: 10px 0 0px;
    padding: 5px 0;
    justify-self: flex-end;
    float: right;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.slide-covid .form-layer .title {
    background: url("../img/flag-yellow.jpg");
    background-size: 120%;
    background-position: 50%;
}
.slide-covid .form-layer .title .title-layer {
    background: transparent;
    color: #ffffff;
}

.slide-covid .form-layer .title.sticker:before {
    background: url();
}

.slide-ny {
    background-image: url("../img/ny-bg.jpg");
    background-size: auto 100%;
    background-position: 50% 100%;
    padding: 40px 0;
    overflow: hidden;
}

.slide-ny h2{
    color: white;
    text-align: center;
    font-size: 35px;
    padding: 0 12%;

}

.slide-ny .content-layer {
    position: relative;
}
.slide-ny .sticker-ny {
    position: absolute;
    top: -10px;
    right: 0;
    background-image: url("../img/sticker-ny-title.png");
    background-repeat: no-repeat;
    width: 135px;
    height: 118px;
    text-align: center;
    padding: 20px 10px 20px 25px;
}
.slide-ny .sticker-ny span{
    display: block;
    width: 100px;
    height: 80px;
    color: #000000;
    transform: rotate(20deg) translateY(15px);
    font-weight: bold;
    line-height: 15px;
    font-size: 13px;
}

.slide-ny .separator-title {
    padding: 0px 12%;
}

.slide-ny h3{
    color: white;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

.slide-ny .features-ny {
    width: 75%;
    float: right;
    margin-right: -20px;
    font-size: 14px;
}

.slide-ny .feature-ny {
    margin: 10px;
    padding: 5px 5px 5px 50px;
    position: relative;
    background: rgba(255,255,255,0.85);
    border-radius: 10px;
    width: 45%;
}

.feature-ny .checkbox-ny {
    position: absolute;
    top: calc(50% - 13px);
    left: 10px;
    color: #ffffff;
    background: #ECA900;
    background: linear-gradient(90deg, #ECA900, #C99000);
    padding: 5px;
    border-radius: 5px;
}

.slide-ny .ny-separator {
    width: 100%;
    background: #A00015;
    color: #ffffff;
    padding: 10px 0;
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.slide-ny .form-layer {
    background: rgba(255,255,255,0.9);
    width: 50%;
    margin: 10px 0 0px;
    padding: 5px 0;
    justify-self: flex-end;
    float: right;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.slide-ny .form-layer .title {
    background: url("../img/flag-yellow.jpg");
    background-size: 120%;
    background-position: 50%;
}
.slide-ny .form-layer .title .title-layer {
    background: transparent;
    color: #ffffff;
}
.slide-ny .form-layer .title.sticker:before {
    background: url("../img/sticker-ny.png");
    background-repeat: no-repeat;
    width: 142px;
    height: 121px;
    top: -20px;
    right: -70px;
}


.slide-2 {
    background: #ffffff;
}

.slide-2 strong {
    font-weight: bold;
    color: #E12B52;
}
.slide-2 h2, .slide-2 h3 {
    text-align: center;
}
.slide-2 .s-name h3 {
    font-size: 1.5rem;
}

.slide-2 h2 {
    margin: 30px 0;
}

.slide-2 .s-description {
    padding: 0 15px;
}

.slide-2 .s-layer {
    background-image: url("../img/bg-s-slayer.jpg");
    background-size: auto 105%;
    background-position: 50% 50%;
    border-radius: 20px;
    padding: 10px 0;
    margin-bottom: 20px;
    overflow: hidden;
}
.s-photo {
    width: 30%;
    margin-left: 20px;
}
.s-photo a {
    margin: 3px;
}

.slide-2 .s-name {
    width: 50%;
    height: 50px;
    margin: 15px 0;
    border-radius: 25px;
    background: #D2143E;
    background: url("../img/flag-red.jpg"), linear-gradient(rgba(208, 20,61 0.2), rgba(208, 20,61 0.8));
    padding: 5px;
    background-position: 50% 50%;
    color: #ffffff;
}
.slide-2 .s-pictogram div{

    border-radius: 50%;
    position: relative;
    width: 54px;
    height: 54px;
    margin: 5px;
}

.slide-2 .s-pictogram div:after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background-image: url("../img/icon-pool.png") ;
    background-position: 50% 50%;
    background-size: 100%;
    background-repeat: no-repeat;
    width: 54px;
    height: 54px;
}
.slide-2 .s-pictogram div.wifi:after{
    background-image: url("../img/icon-wifi.png");
}
.slide-2 .s-pictogram div:hover:before{
    position: absolute;
    content: "";
    display: block;
    word-wrap: normal;
    background: rgba(252, 83, 118, 0.53);
    top: -30px;
    padding: 5px;
    border: 2px solid #000000;
    font-size: 14px;
    text-align: center;
    z-index: 1;
}
.slide-2 .s-pictogram div.pool:hover:before{
    content: "Бассейн";
}
.slide-2 .s-pictogram div.wifi:hover:before{
    content: "Wi-Fi";
}
.slide-2 .s-pictogram div.child-room:after{
    background-image: url("../img/icon-children-room.png");
}
.slide-2 .s-pictogram div.child-room:hover:before{
    content: "Детская комната";
}
.slide-2 .s-pictogram div.beach:after{
    background-image: url("../img/icon-beach.png");
}
.slide-2 .s-pictogram div.beach:hover:before{
    content: "Пляж";
}
.slide-2 .s-pictogram div.children-beach:after{
    background-image: url("../img/icon-children-beach.png");
}
.slide-2 .s-pictogram div.children-beach:hover:before{
    content: "Детский пляж";
}
.slide-2 .s-pictogram div.parking:after{
    background-image: url("../img/icon-parking.png");
}
.slide-2 .s-pictogram div.parking:hover:before{
    content: "Парковка";
}
.slide-2 .s-pictogram div.banya:after{
    background-image: url("../img/icon-banya.png");
}
.slide-2 .s-pictogram div.banya:hover:before{
    content: "Баня";
}
.slide-2 .s-pictogram div.billiards:after{
    background-image: url("../img/icon-billiards.png");
}
.slide-2 .s-pictogram div.billiards:hover:before{
    content: "Бильярд";
}
.slide-2 .s-pictogram div.bowling:after{
    background-image: url("../img/icon-bowling.png");
}
.slide-2 .s-pictogram div.bowling:hover:before{
    content: "Боулинг";
}
.slide-2 .s-pictogram div.sauna:after{
    background-image: url("../img/icon-sauna.png");
}
.slide-2 .s-pictogram div.sauna:hover:before{
    content: "Сауна";
}
.slide-2 .s-pictogram div.gim:after{
    background-image: url("../img/icon-gim.png");
}
.slide-2 .s-pictogram div.gim:hover:before{
    content: "Тренажерный зал";
}
.slide-2 .s-pictogram div.shering-bike:after{
    background-image: url("../img/icon-shering-bike.png");
}
.slide-2 .s-pictogram div.shering-bike:hover:before{
    content: "Прокат велосипеда";
}
.slide-2 .s-pictogram div.boat:after{
    background-image: url("../img/icon-boat.png");
}
.slide-2 .s-pictogram div.boat:hover:before{
    content: "Яхта";
}
.slide-2 .s-pictogram div.kino:after{
    background-image: url("../img/icon-kino.png");
}
.slide-2 .s-pictogram div.kino:hover:before{
    content: "Кино";
}
.slide-2 .s-pictogram div.footboal:after{
    background-image: url("../img/icon-footboal.png");
}
.slide-2 .s-pictogram div.footboal:hover:before{
    content: "Футбольное поле";
}


.slide-2 ul {
    list-style-type: none;
    padding-left: 0px;
    margin-left: 5px;
    margin-bottom: 0;
}
.slide-2 ul li {
    position: relative;
    padding-left: 30px;
    margin: 15px  0;

}
.slide-2 ul li:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url("../img/check.png");
}

.slide-2 .carousel-item .s-card-layer{
    background: #ffffff;
    border-radius: 15px;
    margin: 0 10px;
}

.slide-2 .form-layer {
    background: rgba(255,255,255,0.9);
    width: 43.5%;
    margin: 20px 0;
    padding: 5px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.slide-quiz {
    background: url("../img/quiz_cover.jpg");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
}
.slide-3 {
    background: url("../img/s3-bg.jpg");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
}
.slide-3 h2 {
    text-align: center;
    margin: 30px 0;
}
.slide-3 h3 {
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}
.slide-3 .feature {
    width: 20%;
	margin-right: 10px;
    margin-left: 10px;
}

.slide-3 .feature .flag-red {
    width: 177px;
    height: 158px;
    padding: 5px;
}
.slide-3 .feature .flag-red .s3-f1{
    background: url("../img/s3-f1.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.slide-3 .feature .flag-red .s3-f2{
    background: url("../img/s3-f2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.slide-3 .feature .flag-red .s3-f3{
    background: url("../img/s3-f3.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.slide-3 .feature .flag-red .s3-f4{
    background: url("../img/s3-f4.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.slide-3 h3 strong {
    color: #D0143D;
}
.slide-3 .form-layer {
    border-radius: 40px;
    background: rgba(255,255,255,0.8);
    padding: 5px;
    width: 65%;
    margin-bottom: 10px;
}
.slide-3 .form-layer span {
    display: block;
}

.slide-3 .form-layer .check-list {
    width: 90%;
}

.slide-3 .form-layer .param-list {
    width: 75%;
}

.slide-3 .form-layer .param-list label{
    display: block;
}

.slide-3 .form-layer .tel-list {
    width: 65%;
}
.slide-3 form input[type=date] {
    padding: 5px 0;
}
.slide-3 form input[type=text],
.slide-3 form input[type=tel], .slide-3 form input[type=date], .slide-3 form select {
    font-size: 16px;
}
.slide-3 form select {
    width: 200px;
}
.slide-3 form button {
    width: 70%;
    font-size: 24px;
}

.slide-4 h2 {
    text-align: center;
    margin: 30px 0;
}

.slide-4 .comment {
    margin: 15px 0;
}

.slide-4 .red-flag {
    background: url("../img/s4-c.png");
    background-size: 100% 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 10px;
    color: #ffffff;
    width: 150px;
    height: 135px;
}


.slide-4 .comment-text {
    width: calc(100% - 155px);
    margin-left: 15px;
}

.slide-4 .comment-text p {
    margin-bottom: 0;
}
.slide-4 .comment-text span{
    font-weight: bold;
}
.slide-4 button {
    width: 35%;
    padding: 10px 0;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 22px;
}
.slide-4 button:before {
    content: none;
}


.slide-5 {
    background: url("../img/s5-bg.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: auto 100%;
}
.slide-5 .form-layer {
    background: rgba(255,255,255,0.9);
    width: 40.5%;
    margin: 235px 0 100px;
    padding: 5px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.slide-5 .form-layer .title.sticker:before {
    right: auto;
    left: -90px;
}

.form-layer .check-list label {
    position: relative;
    padding-left: 30px;
    width: 50%;
    text-align: left;
    font-weight: bold;
    margin: 7px 0;
}

.form-layer .param-list label {
    position: relative;
    padding-left: 30px;
    width: 40%;
    text-align: left;
    font-weight: bold;
    margin: 7px 0;
}

.form-layer .tel-list label {
    position: relative;
    padding-left: 30px;
    width: 27%;
    text-align: left;
    font-weight: bold;
    margin: 7px 0;
}

.form-layer .tel-list label:first-child {
    width: 36%;
}

.form-layer .checkbox {
    position: absolute;
    left: 0;
    top: 0;
    background: #C5C6C6;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    width: 24px;
    height: 24px;
    padding-top: 2px;
    transition: 0.5s;
}

form .icon-home, form .icon-grown, form .icon-children {
    position: relative;
    width: inherit;
    margin: 0;
    padding: 0;

}
form .icon-home:after, form .icon-grown:after, form .icon-children:after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    width: 23px;
    height: 33px;
    right: 20px;
    top: 20% ;
}
form .icon-home:after{
    background-image: url("../img/icon-home.png");
    right: 25px;
    width: 27px;
}
form .icon-grown:after{
    background-image: url("../img/icon-grown.png");

}
form .icon-children:after{
    background-image: url("../img/icon-girl.png");
}

.form-layer label:hover .checkbox {
    color: #69AF22;
    background: #d7d7d7;
}
.form-layer input[type=checkbox],.form-layer input[type=radio] {
    display: none;
}

.form-layer input[type=checkbox]:checked ~ .checkbox, .form-layer input[type=radio]:checked ~ .checkbox {
    color: #ffffff;
    background: #69AF22;
}

.slide-1, .slide-2, .slide-3, .slide-4, .slide-5 {
    overflow: hidden;
}

.carousel-control-next {
    position: absolute;
    width: 20%;
    height: 50px;
    top: 15px;
    right: 40px;
    border-radius: 25px;
    transition: 1s;
    opacity: 1;
}
.carousel-control-prev {
    position: absolute;
    width: 20%;
    height: 50px;
    top: 15px;
    left: 40px;
    border-radius: 25px;
    padding: 5px 5px 5px 20px;
    opacity: 1;
}

.carousel-control-prev:after, .carousel-control-next:after {
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    top: -1px;
    border-bottom-left-radius: 50% 100%;  /* Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ðµ Ð¿Ð¾ ÑˆÐ¸Ñ€Ð¸Ð½Ðµ Ð¸ Ð¿Ð¾ Ð²Ñ‹ÑÐ¾Ñ‚Ðµ */
    border-bottom-right-radius: 50% 100%;
    height: 20%;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)) ;
}

.fancybox-inner button:after {
    content: none;
}



.carousel-control-prev:before {
    transform: scale(-1, 1);
    right: initial;
    left: 8px;
}

.mobile-hidden-text {
    display: inline;
}

button.btn-close {
    position: absolute;
    top: -15px;
    right: 10px;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: #FFFFFF;
    padding: 0;
    z-index: 1;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #000000;
}

button.btn-close:after {
    content: none;
}

#exampleModalComment form button, #exampleModalQuestion form button {
    width: 80%;
}
#exampleModalComment form .textarea, #exampleModalQuestion form .textarea {
    width: 80%;
}

.modal-dialog {
    margin-top: 10rem;
}

@media(max-width: 1500px) {
    .slide-1 .form-layer {
        margin: 120px 0 120px;
    }
    .background img{
        margin-left: -25%;
    }

    .modal-dialog {
        margin-top: 7rem;
    }
}


@media(max-width: 1000px) {


    .modal-dialog {
        margin-top: 4rem;
    }

    .content-layer {
        padding: 0 5px;
        width: 760px;
    }
    .background img{
        margin-left: -35%;
    }
    .slide-1 .form-layer, .slide-2 .form-layer, .slide-5 .form-layer {
        width: 55%;
    }
    .slide-1 .title-sticker {
        flex-wrap: wrap;
        justify-content: center;
    }
    .slide-1 .title-sticker .flag {
        width: 100%;
    }
    .slide-1 .title-sticker .low-text {
        width: 50%;
    }

    .slide-1 .form-layer {
        margin-bottom: 50px;
    }
    .slide-ny .form-layer {
        width: 65%;
    }
    .slide-ny .features-ny {
        width: 91%;
    }
    .slide-2 .s-name {
        width: 70%;
    }
    .slide-2 .s-name h3 {
        font-size: 1.25rem;
    }
    .slide-3 .feature {
        width: 25%;
    }
    .slide-3 .form-layer {
        width: 80%;
    }

    .mobile-hidden {
        visibility: hidden;
        display: none;
    }
    .mobile-view {
        visibility: visible;
        display: block;
    }
    .mobile-hidden-text {
        visibility: hidden;
        display: none;

    }
    .carousel-control-next, .carousel-control-prev {
        width: 50px;
    }
}

@media(max-width: 700px) {

    header.header {
        position: relative;
    }
    .slide-1 {
        margin-top: 0px;
    }

    .content-layer {
        width: 100%
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 19px;
    }
    .btn-green {
        font-size: 24px;
        padding: 5px 20px 10px 5px;
    }
    header .logo, footer .logo {
        margin: 10px 0;
    }
    header .phone-block span, footer .phone-block span {
        margin-bottom: 5px;
        text-align: center;
    }

    .form-layer .title .title-layer span {
        font-size: 20px;
    }
    .slide-1 button, .slide-2 button, .slide-5 button {
        font-size: 18px;
    }
    .mobile-column {
        flex-direction: column;
    }
    .s-photo {
        width: 100%;
    }
    form .description {
        width: 95%;
    }
    .slide-1 .form-layer, .slide-5 .form-layer {
        width: 100%;
    }
    .slide-2 .form-layer {
        width: 95%;
    }
    .slide-1 .form-layer {
        margin: 100px 0 50px;
    }
    .slide-1 .title-sticker .low-text {
        width: 90%;
    }
    .slide-ny .form-layer {
        width: 100%;
    }
    .slide-ny .features-ny {
        width: 95%;
        margin: 0;
    }
    .slide-ny .feature-ny {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 5px;
    }
    .slide-ny .form-layer .title.sticker:before {
        right: -80px;
    }
    .slide-ny .sticker-ny {
        visibility: hidden;
        display: none;
    }
    .slide-ny h2 {
        font-size: 21px;
    }
    .slide-ny .separator-title {
        font-size: 15px;
    }
    .slide-ny h3 {
        font-size: 18px;
    }
    .slide-ny button {
        font-size: 18px;
    }
    .slide-2 .s-name {
        width: 60%;
    }
    .s-pictogram {
        flex-wrap: wrap;
    }
    .slide-2 .s-name h3 {
        font-size: 1rem;
    }
    .carousel-control-next {
        right: 5px;
    }
    .carousel-control-prev {
        left: 5px;
    }
    .feature-layer {
        flex-wrap: wrap;
    }
    .slide-2 .s-name {
        padding: 8px;
        vertical-align: center;
    }
    .slide-3 .feature {
        width: 100%;
    }
    .feature {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px 0;
    }
    .feature span{
        text-align: center;
    }
    .slide-3 .form-layer {
        width: 100%;
    }
    .slide-3 label.tel-label{
        width: 90%;
    }
    .form-layer .check-list label, .form-layer .param-list label, .form-layer .tel-list label  {
        width: 100%;
    }
    .mobile-wrap-center {
        flex-wrap: wrap;
        justify-content: center!important;
    }
    .slide-3 form button {
        width: 100%;
        font-size: 16px;
        overflow: hidden;
    }
    .slide-4 .comment {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .slide-4 .comment .comment-text{
        width: 100%;
    }
    .slide-4 button {
        width: 80%;
    }

    header .content-layer, footer .content-layer {
        flex-direction: column;
    }

    header .content-layer div, footer .content-layer div {
        width: 100%;
    }

}
  div:target {
    padding-top: 90px;
  }