.s-page {
    background-image: url(../img/pattern.png) !important;
}

.s-page-style a.inline-order-button {
    text-transform: uppercase;
    padding: 3px 5px;
    border-radius: 5px;
    padding: 15px 55px;
    font-weight: bolder;
}

.s-page-style a.inline-order-button:hover {
    background: #14BF4A;
    text-decoration: none;
}

.pagination {
    width: 100%;
    height: 47px;
    position: relative;
    text-align: center;
    margin: 0;
    border: 2px solid;
    border-radius: 6px;
    clear: both;
    padding: 0;
    text-align: center;
    list-style-type: none;
}

.s-page-style .pagination li {
    margin: 0 2px;
    display: inline;
    padding: 0.5em;
    background-image: none;
}

.s-page-style .pagination li.disabled {
    display: none;
}

.s-page-style .pagination a,
.s-page-style .pagination .active {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    line-height: 47px;
    padding-left: 1px;
    padding-right: 1px;
}

.s-page-style .pagination li.active a {
    color: #9c9c9c;
    margin: 0 3px;
}

.notice {
    padding: 10px;
    background: #E4E4E4;
    border-radius: 5px;
    border: 1px solid #BDBDBD;
}

.notice.notice-warning {
    background: #EAECA2;
    border: 1px solid #CCCE88;
}

.xdsoft_datetimepicker {
    z-index: 9999995 !important;
}

.pane-sanatorium-extra-gallery-front .wrap-rows {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: auto;
    height: auto;
    flex-wrap: wrap;
}

.pane-sanatorium-extra-gallery-front .wrap-rows .row {
    width: 25%;
    margin-bottom: 20px;
    text-align: center;
}

.pane-sanatorium-extra-gallery-front .wrap-rows .row:nth-child(4n) {
    padding-right: 0px;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime],
input[type=number],
input[type=search],
input[type=time],
input[type=url],
input[type=email],
textarea,
select {
    width: 100%;
}

.s-page-style a.inline-question-button {
    text-transform: uppercase;
    padding: 3px 5px;
    border-radius: 5px;
    text-decoration: none;
    padding: 15px 55px;
    font-weight: bolder;
}

a.fckbutton {
    padding: 10px 40px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    -webkit-transition: all, .2s;
    -khtml-transition: all, .2s;
    -moz-transition: all, .2s;
    -ms-transition: all, .2s;
    -o-transition: all, .2s;
    transition: all, .2s;
}

.modal {
    display: none;
    border-radius: 4px;
    text-align: center;
    padding: 0;
}

.modal .modal-header {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
    padding: 30px 30px 24px 30px;
}

.modal .modal-header p {
    color: #868e96;
    padding: 10px 0 0 0;
}

.modal .modal-body {
    text-align: left;
    padding: 10px 30px;
}

.modal .modal-body .form-group {
    margin-bottom: 24px;
}

.modal .modal-footer {
    background: #f1f3f5;
    -webkit-box-shadow: inset 0 1px 0 0 #dee2e6;
    box-shadow: inset 0 1px 0 0 #dee2e6;
    padding: 24px 30px;
}

.main-gallery.slick-initialized .slick-slide.main-gallery-col {
    text-align: center;
}

.main-gallery.slick-initialized .slick-slide.main-gallery-col div {
    display: inline-block;
}

.main-gallery .main-gallery-col div:first-child {
    margin-bottom: 30px;
}

.js-main-gallery .slick-prev::before,
.js-main-gallery .slick-next::before {
    content: '';
}

.js-main-gallery .slick-prev {
    height: 32px;
    width: 32px;
    background: url('../img/left-arrow.png') no-repeat center center;
    top: -48px;
    right: 60px;
    position: absolute;
    left: auto;
}

.js-main-gallery .slick-next {
    height: 32px;
    width: 32px;
    background: url('../img/right-arrow.png') no-repeat center center;
    top: -48px;
    position: absolute;
}

.js-main-gallery .slick-prev.slick-disabled,
.js-main-gallery .slick-next.slick-disabled {
    opacity: 0.5;
    cursor: default;
}

.s-page-style .pane-sanatorium-extra-order-call .pane-content {
    margin-top: 2px;
}

.s-page-style .pane-sanatorium-extra-phone-1-header .pane-content {
    margin: 0px;
}

.s-page-style .pane-sanatorium-extra-order-call .pane-content a {
    cursor: pointer;
}

.float-buttons * {
    box-sizing: border-box;
}

.float-buttons {
    position: fixed;
    top: 200px;
    right: 0;
    z-index: 10;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display: flex;
    width: 40px;
    box-sizing: border-box;

}

.s-page-style .float-buttons a {
    position: relative;
    line-height: 15px;
    border-radius: 0 0 5px 5px;
    padding: 14px 20px;
    margin: 0 10px;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.float-buttons a svg,
.float-buttons a img {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    vertical-align: middle;
    max-height: 14px;
}

.float-buttons a:hover {
    box-shadow: 0 6px 18px 3px #bac8ff;
    text-decoration: none;
}

.callb-fixed-but {
    width: 60px;
    height: 60px;
    background: #5c7cfa url("../images/ico-telephone.svg") no-repeat center center;
    position: fixed;
    border-radius: 50%;
    right: 130px;
    bottom: 30px;
    z-index: 999;
    cursor: pointer;
    background-size: 70%;
}

.telegram-fixed-but {
    width: 60px;
    height: 60px;
    background: #5c7cfa url("../images/telegram-icon.svg") no-repeat center center;
    position: fixed;
    border-radius: 50%;
    right: 130px;
    bottom: 30px;
    z-index: 999;
    cursor: pointer;
    background-size: 50%;
    background-position: 45%;
}

.filled-indigo {
    background-color: #5c7cfa;
    color: white;
    font-size: 16px;
    padding: 15px;
}

.pulse {
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(92, 124, 250, 0.4);
    animation: pulse 2s infinite;
}

.form-checkbox input[type=checkbox] {
    /* display: none; */
}

.form-checkbox .control-label::before {
    content: '';
    position: absolute;
    display: block;
    width: 17px;
    height: 17px;
    border: 2px solid #5c7cfa;
    border-radius: 4px;
    top: 0;
}

.form-checkbox input[type=checkbox]:checked+.control-label::before {
    background: #5c7cfa;
}

.form-checkbox input[type=checkbox]:checked+.control-label::after {
    content: '✓';
    color: #ffffff;
    position: absolute;
    top: 1px;
    left: 2px;
}

.form-checkbox .control-label {
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-flow: row nowrap;
}

.s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu li {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: auto;
}

.s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu>li>a {
    line-height: 1.6;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 10px 12px;
}


@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(92, 124, 250, 0.4);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(92, 124, 250, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(92, 124, 250, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(92, 124, 250, 0.4);
        box-shadow: 0 0 0 0 rgba(92, 124, 250, 0.4);
    }

    20% {
        bottom: 50px;
        background-color: #3e5098;
    }

    50% {
        bottom: 30px;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(92, 124, 250, 0);
        box-shadow: 0 0 0 10px rgba(92, 124, 250, 0);

    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(92, 124, 250, 0);
        box-shadow: 0 0 0 0 rgba(92, 124, 250, 0);
        bottom: 30px;
    }
}

/*.s-page-style .s-page {*/
/*    min-width: 100%;*/
/*}*/

@media (min-width: 1440px) {
    .pulse:hover {
        animation: none;
    }
}

@media (max-width: 1440px) {
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    .telegram-fixed-but {
        bottom: 110px;
        right: 45px;
    }

    .s-page-style .s-header {
        display: flex;
        flex-direction: column;
        max-width: 100% !important;
    }

    .s-page-style .s-page {
        max-width: 100%;
    }

    .s-page-style .s-page .s-page-wrap {
        max-width: 100%;
    }

    .s-page-style .s-section {
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
    }

    .s-page-style .header-wrap-main {
        display: flex !important;
        justify-content: center !important;
        max-width: 100% !important;
    }

    .s-page-style .header-wrap-menu {

        max-width: 100% !important;
    }

    .s-content-top {
        max-width: 100% !important;
    }

    .pane-slider-views-block {
        max-width: 100% !important;
    }

    .pane-slider-views-block .pane-content {
        max-width: 100% !important;
    }

    .s-page-style .s-main {
        max-width: 100% !important;
    }

    .s-page-style .s-footer {
        max-width: 100% !important;
    }

    .s-page-style .wrap-footer {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .pane-slider-views-block {
        height: 100%;
    }

}

@media (max-width: 1076px) {
    .s-page-style .pane-sanatorium-extra-order-room-header .pane-content a {
        line-height: 3;
        display: block;
    }

    .s-page-style .pane-sanatorium-extra-phone-1-header .pane-content,
    .s-page-style .pane-sanatorium-extra-phone-2-header .pane-content {
        font-size: 15px;
    }
}


.new .header-wrap-main.header-main-mobile {
    display: none !important;
}

.wrap-menu-mobile {
    display: none;
}

.header-wrap-menu ul.menu .mobile-more {
    display: none !important;
}


@media (max-width: 1000px) {
    .new .header-wrap-main {
        display: none !important;
    }

    .new .header-wrap-main.header-main-mobile {
        display: block !important;
        margin-bottom: 0;
    }

    .new .header-wrap-main.header-main-mobile>div>div,
    .new .header-wrap-main.header-main-mobile>div {
        min-height: unset;
        min-width: unset;
    }

    .new .header-wrap-main.header-main-mobile .info-second {
        min-width: 135px;
    }

    .new .header-main-mobile .first-line,
    .new .header-main-mobile .second-line {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px 10px 10px !important;
    }

    .new .header-main-mobile .first-line {
        padding-bottom: 0 !important;
    }

    .new .header-main-mobile .burger-button {
        background: none;
        border: none;
        width: 32px;
        padding: 10px;
        display: block;
        box-sizing: content-box;
    }

    .new .header-main-mobile .burger-button .stick {
        width: 100%;
        height: 6px;
        border-radius: 10px;
        margin-bottom: 4px;
        transition: 0.2s transform;
    }

    .new .header-main-mobile .burger-button.active .stick:nth-of-type(1) {
        transform: rotate(45deg) translateY(8px) translateX(6px) scaleX(1.3);
    }

    .new .header-main-mobile .burger-button.active .stick:nth-of-type(2) {
        visibility: hidden;
        opacity: 0;
    }

    .new .header-main-mobile .burger-button.active .stick:nth-of-type(3) {
        transform: rotate(-45deg) translateY(-8px) translateX(6px) scaleX(1.3);
    }

    .new .header-main-mobile .burger-button .stick:last-child {
        margin-bottom: 0;
    }

    .new .header-main-mobile .burger-menu-block {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background-color: #fff;
        z-index: 10;
    }

    .new .header-main-mobile .burger-menu-block.active {
        display: block;
    }

    .new .header-main-mobile .burger-menu-block ul {
        list-style-type: none;
        padding: 0;
    }

    .new .header-main-mobile .burger-menu-block a {
        font-size: 18px;
        font-weight: bold;
        display: block;
        padding: 8px;
        margin-bottom: 5px;
    }

    .new .header-main-mobile .first-line>div,
    .new .header-main-mobile .second-line>div {
        height: auto;
    }

    .new .header-main-mobile .first-line {
        border-bottom: 1px solid #868e96;
        padding-left: 0 !important;
    }

    .new .header-main-mobile .order-call {
        margin-left: 0 !important;
    }

    .new .header-main-mobile .order-call a {
        font-size: 12px;
        padding: 5px 10px 5px 50px;
        box-sizing: border-box;
        min-width: 180px;
    }

    .new .header-main-mobile .order-call a .fa {
        line-height: 32px;
        width: 40px;
    }

    .new .header-main-mobile .logo {
        margin-right: 10px;
    }

    .new .header-main-mobile .logo a {
        display: block;
        padding-left: 10px;
    }

    .new .header-main-mobile .logo a img {
        width: 100%;
        max-width: 240px;
    }

    .new .header-main-mobile .second-line {
        flex-direction: row !important;
        margin-top: 10px;
    }

    .new .header-main-mobile .second-line>div {
        width: max-content;
    }

    .new .header-main-mobile .second-line .info-first .pane-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
        padding: 0;
    }

    .new .header-main-mobile .second-line .info-first a {
        display: block;
        margin-right: 5px;
    }

    .new .header-main-mobile .second-line .info-first a:last-child {
        margin-right: 0;
    }

    .new .header-main-mobile .second-line .info-first a img {
        width: 110px !important;
    }

    .new .header-main-mobile .second-line .info-second .pane-sanatorium-extra-phone-2-header>div {
        font-size: 16px;
    }

    .new .header-main-mobile .second-line .info-second .pane-sanatorium-extra-mode-work>div {
        font-size: 16px;
        padding-left: 0;
    }

    .wrap-menu-mobile {
        display: block;
    }

    .wrap-menu-mobile ul {
        list-style-type: none;
        padding: 10px;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .wrap-menu-mobile ul li {
        width: max-content;
    }

    .wrap-menu-mobile ul li a {
        display: block;
        padding: 8px;
        margin-bottom: 10px;
        margin-right: 10px;
        color: #fff;
        border-radius: 5px;
    }

    .new .header-wrap-menu ul.menu li:nth-of-type(n+5) {
        display: none;
    }

    .new .header-wrap-menu ul.menu ul.menu {
        display: none !important;
    }

    .new .header-wrap-menu ul.menu .mobile-more {
        display: flex !important;
        width: 80px;
    }

    .new .header-wrap-menu ul.menu .mobile-more button {
        background: none;
        border: none;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        padding: 0 14px;
    }

    .s-page-style .header-wrap-main>div {
        height: auto;
    }
}

@media (max-width: 661px) {
    .new .header-main-mobile .logo a img {
        max-width: 160px;
    }
}

@media (max-width: 991px) {

    .s-page-style .s-header {
        display: flex;
        flex-direction: column;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    .telegram-fixed-but {
        bottom: 110px;
    }

    .s-page-style .header-wrap-main {
        margin-bottom: 10px;
    }

    .s-page-style .pane-sanatorium-extra-order-room-header .pane-content a {
        line-height: 2;
    }

    .s-page-style .header-wrap-main>div:last-child {
        display: flex;
        flex-direction: column;

    }

    .s-page-style .pane-sanatorium-extra-phone-1-header .pane-content,
    .s-page-style .pane-sanatorium-extra-phone-2-header .pane-content {
        font-size: 15px;
    }

    .s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu>li>a {
        font-size: 12px;
    }

    .s-page-style .s-main {
        display: flex;
        flex-direction: column;
    }

    .s-page-style .node-room-full .node__content {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    .s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu>li>a {
        line-height: 4 !important;
        padding: 0;
    }

    .s-page-style .s-page {
        max-width: 100%;
        display: flex;
        justify-content: center;
        min-width: auto;
    }

    .s-page-style .s-header {
        display: flex;
        flex-direction: column;
    }

    .s-page-wrap {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .s-section {
        max-width: 100%;
        /*display: flex ;*/
        /*justify-content: center ;*/
    }

    .s-header {
        max-width: 100%;
        /*display: flex ;*/
        /*justify-content: center ;*/
        /* padding-top: 10px; */
    }

    .header-wrap-main {
        display: flex !important;
        ;
        max-width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .header-wrap-menu {
        display: flex !important;
        max-width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        /*line-height: 1;*/
    }

    .s-page-style .pane-sanatorium-extra-main-menu {
        width: 100%
    }

    .s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu {
        width: 100%
    }

    .block .block--menu {
        width: 100%
    }



    .s-page-style .header-wrap-main>div:first-child {
        padding: 0;
        min-width: 330px;
        min-height: 60px;
        text-align: center;
    }

    .s-page-style .header-wrap-main>div {
        padding: 0;
        min-width: 330px;
        min-height: 60px;
        height: auto;
    }

    .s-page-style .header-wrap-main>div:last-child {
        padding: 0;
        min-width: 330px;
        min-height: 60px;
    }

    .s-page-style .s-section {
        max-width: 100% !important;
    }

    .s-content-top {
        max-width: 100%;
    }

    .s-main {
        max-width: 100%;
    }

    .s-footer {
        max-width: 100%;
        display: flex;
    }

    .pane-slider-views-block {
        height: auto;
    }

    .s-page-style .s-content {
        padding: 0 10px 0 10px;
    }

    .wrap-footer {
        max-width: 100%;

    }

    .s-page-style .pane-sanatorium-extra-order-call .pane-content {
        text-align: center;
    }

    .info-second {
        text-align: center;
    }

    .telegram-fixed-but {
        right: 45px;
        bottom: 145px;
    }
}

@media (max-width: 661px) {
    .s-page-style .wrap-footer {
        display: flex;
        justify-content: space-between;
    }

    .s-page-style .wrap-footer>div:first-child {
        padding: 30px 10px 30px;
    }

    .order-call {
        margin-left: 20px;
    }

    .s-page-style .wrap-footer {
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column;
    }

    .s-page-style .wrap-footer>div {
        padding: 0;
        padding-bottom: 10px;
    }
}

@media (max-width: 425px) {
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    .s-page-style .wrap-footer {
        flex-wrap: wrap;
    }

    .s-page-style .wrap-footer>div:first-child {
        text-align: center;
    }

    .s-page-style .wrap-footer>div {
        padding: 0 0 10px 0;
    }

    .s-page-style .pane-sanatorium-extra-main-menu .block--menu>.menu>li>a {
        font-size: 10px;
    }

}

@media screen and (max-width:1200px) {
    .pane-addmi-breadcrumb .pane-content {
        width: 100%;
    }
}

.grecaptcha-badge {
    opacity: 0.1 !important;
}

@media (max-width: 768px) {
    .s-page-style .node-sys_contacts-full .webform-client-form .form-textarea {
        position: unset;
        height: 100px;
        width: 100%;
    }

    .s-page-style .node-sys_contacts-full .webform-client-form .webform-component-textfield,
    .s-page-style .node-sys_contacts-full .webform-client-form .webform-component-email {
        width: 100%;
    }

}

@media (max-width: 661px) {
    .form-checkbox .control-label::before {
        width: 20px;
        height: 20px;
    }

    .form-checkbox .control-label a {
        margin-top: 17px;
        display: block;
    }

    .s-page-style .node-room-full .field--room-imgs {
        width: 100%;
        padding: 0;
    }

    .s-page-style .node-room-full .field--room-imgs .field__items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 0;
        height: auto;
    }

    .s-page-style .node-room-full .field--room-imgs .field__items .field__item {
        position: unset;
        width: 30%;
    }

    .s-page-style .node-room-full .field--room-imgs .field__items .field__item img {
        width: 100%;
    }

    .s-page-style .node-room-full .field--room-imgs .field__items .field__item:first-child {
        width: 100%;
        margin-bottom: 20px;
    }

    .s-page-style .node-room-full .field--room-imgs .field__items .field__item:first-child img {
        width: 100%;
    }

    .s-page-style .node-news-teaser .node__content,
    .s-page-style .node-healing-teaser .node__content {
        display: block;
    }

    .s-page-style .node-news-teaser .field--img,
    .s-page-style .node-news-teaser .wrap__content,
    .s-page-style .node-healing-teaser .field--img,
    .s-page-style .node-healing-teaser .wrap__content {
        display: block;
    }

    .table-scrolling {
        overflow-y: scroll;
    }
}

@media (max-width: 370px) {
    .new .header-main-mobile .second-line .info-first .pane-content {
        max-width: 110px;
    }

    .new .header-main-mobile .second-line .info-first a {
        margin-right: 0;
    }
}

.pane-slider-views-block {
    height: auto;
    min-height: 500px;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("../fonts/RobotoCondensed.ttf");
}

.views-field.views-field-field-img {
    position: relative;
}

.slide-form-wrapper {
    font-family: Roboto Condensed, Arial;
    position: absolute;
    width: 320px;
    padding: 20px;
    margin: 20px;
    background-color: #ffffffde;
    border-radius: 8px;
    right: 0;
    z-index: 1;

}

.slide-form-wrapper .slide-form .form-header {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
    color: #1f241f;
}

.slide-form-wrapper .slide-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.slide-form-wrapper .slide-form .form-group:last-child {
    margin-bottom: 0;
}

.slide-form-wrapper .slide-form .form-group input {
    font-family: Roboto Condensed, Arial;
    font-size: 15px;
    line-height: 24px;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    box-shadow: none;
    background-color: #f9f9f9;
    padding: 8px 10px 8px 16px;
    transition: border 0.2s;
}

.slide-form-wrapper .slide-form .form-group input:focus {
    outline: none;
    border-color: #3c3c3c;
}

.slide-form-wrapper .slide-form .form-group input::placeholder {
    color: #7c7c7c;
}

.slide-form-wrapper .slide-form .form-group input.date {
    cursor: pointer;
}

.slide-form-wrapper .slide-form .form-group .float-image {
    position: absolute;
    top: 8px;
    right: 10px;
}

.slide-form-wrapper .slide-form .form-group.form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-form-wrapper .slide-form .form-group.form-group-flex input {
    width: 95px;
    text-align: center;
    padding: 8px 10px;
}

.slide-form-wrapper .slide-form .form-group label {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: #3c3c3c;
    margin-bottom: 8px;
    display: block;
}

.slide-form-wrapper .slide-form .form-group-flex label {
    margin-bottom: 0;
}

.slide-form-wrapper .slide-form .form-group label .required {
    color: #d82424;
}

.slide-form-wrapper .slide-form .form-group .countable-input {
    position: relative;
}

.slide-form-wrapper .slide-form .form-group .countable-input .count-minus,
.slide-form-wrapper .slide-form .form-group .countable-input .count-plus {
    position: absolute;
    top: 0;
    bottom: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.slide-form-wrapper .slide-form .form-group .countable-input .count-minus svg rect,
.slide-form-wrapper .slide-form .form-group .countable-input .count-plus svg path {
    transition: fill 0.2s;
}

.slide-form-wrapper .slide-form .form-group .countable-input .count-minus:hover svg rect,
.slide-form-wrapper .slide-form .form-group .countable-input .count-plus:hover svg path {
    fill: #3c3c3c;
}

.slide-form-wrapper .slide-form .form-group .countable-input .count-minus {
    left: 2px;
}

.slide-form-wrapper .slide-form .form-group .countable-input .count-plus {
    right: 2px;
}

.slide-form-wrapper .slide-form .form-group.agreement label {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
}

.slide-form-wrapper .slide-form .form-group.agreement input {
    opacity: 0;
    /* для дефолтного сообщения от валидации */
}

.slide-form-wrapper .slide-form .form-group.agreement label::before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: ' ';
    width: 20px;
    height: 20px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-right: 8px;
}

.slide-form-wrapper .slide-form .form-group.agreement label span {
    display: block;
    width: 90%;
}

/* .slide-form-wrapper .slide-form .form-group.agreement label::after {
    display: none;
} */

.slide-form-wrapper .slide-form .form-group.agreement input:checked+label::before {
    content: "✓";
}

.slide-form-wrapper .slide-form .form-group .submit {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    border: none;
    outline: none;
    color: #fff;
    transition: background-color 0.2s;
}

.slide-form-wrapper .slide-form .form-group .countable-input input::-webkit-outer-spin-button,
.slide-form-wrapper .slide-form .form-group .countable-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.slide-form-wrapper .slide-form .form-group .countable-input input[type=number] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 1000px) {
    .pane-slider-views-block {
        height: auto;
        min-height: unset;
    }

    .slide-form-wrapper {
        display: none;
    }
}

.fancybox-container {
    height: 100vh !important;
}

.fancybox-slide {
    /* height: auto !important; */
}