
.wrap-popup {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s ease 0s, visibility .5s ease 0s;
    -moz-transition: opacity .5s ease 0s, visibility .5s ease 0s;
    -ms-transition: opacity .5s ease 0s, visibility .5s ease 0s;
    -o-transition: opacity .5s ease 0s, visibility .5s ease 0s;
    transition: opacity .5s ease 0s, visibility .5s ease 0s;
}

.popup-i {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: rgba(216, 216, 216, 0.52);
}

.popup-c {
    position: relative;
    padding: 50px 50px 40px;
    background: #fff;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    -webkit-box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, 0.13);
    box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, 0.13);
    width: 500px;
    /*max-height: 100%;*/
    max-height: 85vh;
    overflow: auto;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: transform .5s ease 0s;
    -moz-transition: transform .5s ease 0s;
    -ms-transition: transform .5s ease 0s;
    -o-transition: transform .5s ease 0s;
    transition: transform .5s ease 0s;
}

#enter .popup-c {
    width: 416px;
}

.show-popup .active.wrap-popup {
    opacity: 1;
    visibility: visible;
}

.show-popup .active.wrap-popup .popup-c {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.popup-i .popup-title {
    text-align: center;
    margin: 0;
    padding-bottom: 30px;
    font-size: 16px;
    line-height: 20px;
    color: #1D3448;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.popup-i .btn-close {
    width: 45px;
    height: 45px;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    font-size: 14px;
    line-height: 45px;
    text-align: center;
    color: #939393;
}

.popup-i .btn-close:hover {
    color: #D0021B;
}

.popup-c .wrap-form .wrap-custom-checkbox {
    margin-bottom: 0;
}

.popup-c .wrap-form .wrap-custom-checkbox .custom-checkbox {
    width: 20px;
    height: 20px;
}

.popup-c .wrap-form .wrap-custom-checkbox .custom-checkbox:before {
    width: 14px;
    height: 14px;
}

.popup-c .wrap-form .wrap-custom-checkbox .inp-title {
    position: relative;
    font-weight: 600;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    text-transform: none;
    text-decoration: none;
    color: #939393;
}

.popup-c .f-row {
    position: relative;
}

.popup-c .double-row {
    display: flex;
    justify-content: space-between;
}

.popup-c .wrap-input {
    height: 60px;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    padding-top: 30px;
}

.popup-c .inp-title {
    text-transform: uppercase;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0;
    padding: 0;
}

.popup-c .wrap-input input {
    height: 30px;
    width: 100%;
    padding-bottom: 10px;
    border: none;
    border-bottom: 1px solid #C7C7C7;
    font-size: 16px;
    color: #1b1b1b;
    line-height: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    outline: none;
}

.popup-c .wrap-input input::placeholder {
    color: #939393;
}

.popup-c .double-row .wrap-input:first-child {
    width: 145px;
}

.popup-c .double-row:before {
    content: 'и';
    position: absolute;
    left: 152px;
    bottom: 25px;
    font-size: 11px;
    line-height: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #9B9B9B;
}

.popup-c .double-row .wrap-input:last-child {
    width: 230px;
}

.popup-c .wrap-input.error .inp-title {
    color: #D0021B;
}

.popup-c .wrap-input.error input {
    border-bottom-color: #D0021B;
    color: #D0021B;
}

.popup-c .thx-msg {
    display: none;
}

.popup-c .thx-msg .title {
    font-size: 27px;
    line-height: 33px;
    color: #D0021B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin: 0 0 10px;
}

.popup-c .thx-msg p {
    font-size: 19px;
    line-height: 23px;
    color: #1B1B1B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.popup-c .wrap-form.form-success form {
    display: none;
}

.popup-c .wrap-form.form-success .thx-msg {
    display: block;
}

@media only screen and (max-width: 767px) {
    .location-list .item {
        width: 100%;
    }

    .popup-c .double-row {
        display: block;
    }

    .popup-c .double-row:before {
        display: none;
    }

    .popup-c .double-row .wrap-input:first-child,
    .popup-c .double-row .wrap-input:last-child {
        width: 100%;
    }

    .popup-c {
        padding: 50px 15px 20px;
        max-height: 100%;
    }

    .wrap-time-slider p {
        padding-bottom: 40px;
    }

    .wrap-time-slider {
        display: block;
        padding: 30px 0 0;
    }

    .time-slider-c {
        width: auto;
        margin: 0 40px 0 20px;
    }
}

#product-gallery .popup-c {
    width: 80vw;
    max-width: 980px;
    padding: 45px 25px 25px;
}

@media only screen and (max-width: 767px) {
    #product-gallery .popup-c {
        width: 100%;
        padding: 45px 15px 15px;
    }
}

#product-gallery .product-item-detail-slider-images-container .slick-dots {
    margin-bottom: 0;
}

#product-gallery .product-item-detail-slider-images-container .slick-dots li {
    width: 16.66%;
}

.video-popup .popup-c {
    width: 80vw;
    max-width: 980px;
    padding: 45px 25px 25px;
}

@media only screen and (max-width: 767px) {
    .video-popup .popup-c {
        width: 100%;
        padding: 45px 15px 15px;
    }
}

.video-popup .video-player {
    width: 100%;
    height: 65vh;
    position: relative;
}

.video-popup .video-player iframe {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}
