/* MODALS */

.nd-modal-zapis {
    max-width: 1100px !important;
    padding: 0 !important;
    top: 0 !important;
}

.nd-modal-zapis-inner {
    display: flex !important;
    align-items: center !important;
    border: 5px solid #FFD800 !important;
    color: #404040 !important;
}

.nd-modal-zapis-inner label.policy__input input[type=checkbox]{
        opacity: 1;
    position: relative;
}

.nd-modal-zapis-inner label.policy__input a{
    color: #404040;
}

.nd-modal-zapis-inner label.policy__input {
    position: relative;
    display: flex;
    align-items: flex-start;
}
.nd-modal-zapis-inner .policy{
    margin-top: 20px;
}
.nd-modal-zapis-left {
    padding: 30px !important;
    padding-top: 260px !important;
    width: 45% !important;
    align-self: stretch !important;
    color: #fff !important;
    background-size: cover !important;
}

.nd-modal-zapis-right {
    padding: 70px 60px !important;
    width: 55% !important;
}

.nd-modal-zapis-right-title {
    font-size: 27px !important;
    font-weight: 600 !important;
    font-family: "AvantGardeCTT" !important;
    line-height: 1.3em !important;
    margin: 1em 0 !important;
}

.nd-modal-zapis-right-header p {
    line-height: 1.6em !important;
    color: #8A8A8A !important;
    margin: .8em 0 !important;
}

.nd-modal-zapis-left-title {
    margin: 1em 0 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    font-family: "AvantGardeCTT" !important;
    display: inline-block !important;
    text-align: left !important;
    color: white !important;
}

.nd-modal-zapis-left p {
    margin: 1.4em 0 !important;
    line-height: 1.8em !important;
    color: #fff !important;
}

/* form */
.nd-modal-zapis-right-body input:focus {
    outline: none !important;
}

.nd-modal-zapis-right-body input[type="text"],
.nd-modal-zapis-right-body input[type="tel"] {
    font-size: 18px !important;
    line-height: 1.6em !important;
    font-weight: 600 !important;
    padding: 5px !important;
    border: none !important;
    border-bottom: 1px solid #979797 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    width: 400px !important;
        width: 100% !important;
    padding: 10px !important;
}

.nd-modal-zapis-right-body [type="submit"] {
    border: none !important;
    outline: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    background-color: #FFEC00 !important;
    box-shadow: -2px -6px 25px inset rgba(255, 178, 0, .6) !important;
    color: #000 !important;
    text-decoration: none !important;
    padding: 13px 90px !important;
    border-radius: 40px !important;
    width: 100% !important;
    transition: box-shadow .23s ease, background-color .23s ease !important;
    display: inline-block !important;
    vertical-align: top !important;
    font-family: "AvantGardeCTT" !important;
    -webkit-transition: box-shadow .23s ease, background-color .23s ease !important;
    -moz-transition: box-shadow .23s ease, background-color .23s ease !important;
    -ms-transition: box-shadow .23s ease, background-color .23s ease !important;
    -o-transition: box-shadow .23s ease, background-color .23s ease !important;
    -webkit-border-radius: 40px !important;
    -moz-border-radius: 40px !important;
    -ms-border-radius: 40px !important;
    -o-border-radius: 40px !important;
}

.nd-modal-zapis-right-body p {
    font-size: 12px !important;
    margin-top: 20px !important;
    width: 377px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

.nd-modal-zapis-right-body p input {
    margin-right: 4px !important;
}

/* recall */
.nd-modal-recall {
    max-width: 600px !important;
    padding: 0 !important;
    top: 0 !important;
}

.nd-modal-recall .nd-modal-zapis-right {
    width: 100% !important;
}

.nd-modal-recall [type="submit"] {
    width: 100% !important;
}

.nd-modal-zapis-right-title--big{
    font-size: 23px !important;
    font-weight: 600 !important;
}

@media screen and (max-width: 1300px) {
    .nd-modal-zapis-left {
        padding-top: 216px !important;
    }
}

@media screen and (max-width: 1200px) {
    .nd-modal-zapis-left {
        padding-top: 116px !important;
        background-position: bottom !important;
    }

    .nd-modal-zapis-left-title {
        font-size: 26px !important;
        margin-top: 74px !important;
    }

    .nd-modal-zapis-left p {
        font-size: 15px !important;
    }

    .nd-modal-zapis-right {
        padding: 54px 45px !important;
    }

    .nd-modal-zapis {
        margin: 24px 0 !important;
    }
}

@media screen and (max-width: 992px) {
    .nd-modal-zapis-right {
        padding: 25px 25px !important;
    }
}

@media screen and (max-width: 768px) {
    .nd-modal-zapis-right-body input[type="text"],
    .nd-modal-zapis-right-body input[type="tel"]{
        width: 100% !important;
    }

    .nd-modal-zapis-left{
        display: none !important;
    }

    .nd-modal-zapis-right{
        /*text-align: center !important;*/
        width: 100% !important;
    }

    .nd-modal-zapis-right-body input[type="text"],
    .nd-modal-zapis-right-body input[type="tel"]{
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .nd-modal-zapis-right-title{
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .nd-modal-zapis-right-header p{
        max-width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (max-width: 576px) {
    .nd-modal-recall {
        width: 100% !important;
    }
    .nd-modal-zapis-right-header p {
        width: 100% !important;
    }
    .nd-modal-zapis-right-body form p {
        width: 100% !important;
    }
    .nd-modal-zapis-right-body [type="submit"] {
        padding: 13px 45px !important;
    }
}

/* map modal old style */

.modal-map-window {
    display: none !important;
    width: 70% !important;
    min-width: 320px !important;
    padding: 4px !important;
    background: rgba(255,233,1,1) !important;
    background: -moz-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,233,1,1)), color-stop(100%, rgba(255,188,1,1))) !important;
    background: -webkit-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -o-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -ms-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: linear-gradient(to bottom, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe901', endColorstr='#ffbc01', GradientType=0 ) !important;
}

.modal-map-window h2 {
    margin: 10px auto !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding-bottom: 3px !important;
}

.modal-map-window-wrap {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 40px !important;
    background: #fff !important;
}

.modal-map-window-wrap-col-l {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    margin-left: 15px !important;
    padding-right: 15px !important;
    word-wrap: break-word !important;
    width: -webkit-calc(33.33333% - 30px) !important;
    width: calc(33.33333% - 30px) !important;
}

.ymaps-2-1-77-inner-panes {
    border-radius: 15px !important;
}

.modal-map-window-wrap-col-l .h3{
    font-size: 30px !important;
    font-weight: bold !important;
    color: #181818 !important;
}

.modal-map-window-wrap-col-l .h4{
    font-size: 16px !important;
    margin: 20px 0 !important;
    color: #8A8A8A !important;
    line-height: 1.8 !important;
}

.modal-map-window-wrap-col-l p{
    padding-left: 6px !important;
    padding-right: 6px !important;
}

p.adressModal a {
    color: #000 !important;
}

.modal-map-window-wrap-col-l .form-line p a:hover{
    text-decoration: underline !important;
    color: #000 !important;
}

.modal-map-window-wrap-col-l input[type="tel"],
.modal-map-window-wrap-col-l input[type="text"],
.modal-map-window-wrap-col-l input[type="submit"]{
    width: 100% !important;
}

.modal-map-window-wrap-col-l input[type="tel"],
.modal-map-window-wrap-col-l input[type="text"]{
    border: 1px solid #a2a2a2 !important;
}

.modal-map-window-wrap-col-l span:first-child{
    font-weight: 500 !important;
    margin-right: 10px !important;
}

.modal-map-window-wrap-col-r {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    word-wrap: break-word !important;
    width: -webkit-calc(66.66667% - 30px) !important;
    width: calc(66.66667% - 30px) !important;
    justify-content: center !important;
    padding-top: 38% !important;
    position: relative !important;
}

.modal-map-window-wrap-col-r >ymaps{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal-map-window .for_adresForm .form-line input[type="text"],
.modal-map-window .for_adresForm .form-line input[type="tel"],
.modal-map-window .for_adresForm .form-line input[type="submit"] {
    width: 83% !important;
    margin: 8px 0 !important;
}

.modal-map-window .form-line form {
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: -o-flex !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.modal-map-window .form-line p:last-child {
    margin: 10px 0 !important;
    color: #A9A9A9 !important;
    line-height: 1.2em !important;
    font-size: 13px !important;
}

.modal-map-window .form-line p:last-child a,
.modal-map-window .form-line p:last-child a:visited,
.modal-map-window .form-line p:last-child a:active,
.modal-map-window .form-line p:last-child a:focus {
    color: #A9A9A9 !important;
}

.modal-map-window .form-line p:last-child a:hover {
    color: #fff !important;
}

.modal-map-window .form-line p:last-child input {
    width: auto !important;
    margin: 0 !important;
    margin-right: 5px !important;
}

.modal-map-window .form-line input[type="text"],
.modal-map-window .form-line input[type="tel"],
.modal-map-window .form-line input[type="submit"] {
    margin: 5px 0 !important;
    padding: 11px 0 !important;
    width: 100% !important;
    border: none !important;
    outline: none !important;
    border-bottom: 1px solid #979797 !important;
    font-weight: bold !important;
    color: #181818 !important;
    position: relative !important;
}

.modal-map-window .form-line input[type="text"]:before {
    content: "Имя" !important;
    display: block !important;
    font-size: 12px !important;
    color: #181818 !important;
    position: absolute !important;
    top: 0 !important;
}

.modal-map-window .purple-form-s1 input[type="text"] {
    margin-left: 18px !important;
}

.modal-map-window .purple-form-s1 input[type="submit"] {
    margin-right: 18px !important;
}

.modal-map-window .form-line input[type="submit"] {
    letter-spacing: normal !important;
    background: rgba(255,233,1,1) !important;
    background: -moz-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,233,1,1)), color-stop(100%, rgba(255,188,1,1))) !important;
    background: -webkit-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -o-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: -ms-linear-gradient(top, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    background: linear-gradient(to bottom, rgba(255,233,1,1) 0%, rgba(255,188,1,1) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe901', endColorstr='#ffbc01', GradientType=0 ) !important;
    -webkit-transition: all .25s ease !important;
    transition: all .25s ease !important;
    border-radius: 38px !important;
    color: #181818 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    border: none !important;
    font-size: 14px !important;
    margin: 20px 0 !important;
}

.for_adresForm .form-line p:last-child {
    margin: 0 auto !important;
    width: 83% !important;
}

.for_adresForm .form-line p:last-child a {
    color: #A9A9A9 !important;
    text-decoration: underline !important;
}

.for_adresForm .form-line p:last-child a:hover {
    color: #000 !important;
}

.modal-map-window-wrap-col-l p{
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.modal-map-window-wrap-col-l .form-line p a:hover{
    text-decoration: underline !important;
    color: #000 !important;
}

.modal-map-window-wrap-col-l input[type="tel"],
.modal-map-window-wrap-col-l input[type="text"],
.modal-map-window-wrap-col-l input[type="submit"]{
    width: 100% !important;
}

.modal-map-window-wrap-col-l input[type="tel"],
.modal-map-window-wrap-col-l input[type="text"]{
    border: 1px solid #a2a2a2 !important;
}

.infograph-modal {
    border-bottom: none !important;
}

.modal-map-window-wrap-col-l {
    border-right: none !important;
}

@media screen and (max-width: 992px) {
    .modal-map-window-wrap-col-l {
        border: none !important;
    }

    .modal-map-window {
        width: 100% !important;
    }

    .modal-map-window-wrap-col-l {
        width: calc(100% - 30px) !important;
    }

    .modal-map-window-wrap-col-r {
        width: calc(100% - 30px) !important;
    }
}

@media screen and (max-width: 768px){
    .modal-map-window-wrap {
        padding: 15px !important;
    }

    .modal-map-window-wrap-col-l .h3 {
        font-size: 27px !important;
        text-align: center !important;
    }

    p.adressModal {
        width: 100% !important;
    }
}

@media screen and (max-width: 576px){
    .modal-map-window-wrap-col-l .h3 {
        margin-top: 30px !important;
    }

    .modal-map-window-wrap-col-l {
        order: 3 !important;
        width: 100% !important;
        padding: 0 15px 30px 15px !important;
        margin: 0 !important;
    }

    .modal-map-window-wrap-col-r {
        height: 400px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .ymaps-2-1-77-inner-panes {
        border-radius: 0 !important;
    }

    .modal-map-window-wrap {
        padding: 0 !important;
    }

    p.adressModal {
        padding: 15px 15px 0 !important;
        line-height: 2 !important;
    }

    .modal-map-window-wrap-col-l .h4 {
        text-align: center !important;
    }
}

.wpcf7-spinner{
    visibility: hidden !important;
}

.submit_ajax_form{
    position: relative !important;
}
.submit_ajax_form::before{
    content: '' !important;
    left: -10px !important;
    right: -10px !important;
    top: -10px !important;
    bottom: -10px !important;
    border-radius: 5px !important;
    position: absolute !important;
    background-color: rgba(0, 0, 0, .2) !important;
}
.submit_ajax_form .wpcf7-spinner {
    visibility: visible !important;
    display: inline-block !important;
    background-color: #23282d !important;
    opacity: 0.75 !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    border-radius: 100% !important;
    padding: 0 !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    margin: 0 0 -12px -12px !important;
}
.submit_ajax_form .wpcf7-spinner::before {
    content: '' !important;
    position: absolute !important;
    background-color: #fbfbfc !important;
    top: 4px !important;
    left: 4px !important;
    width: 6px !important;
    height: 6px !important;
    border: none !important;
    border-radius: 100% !important;
    transform-origin: 8px 8px !important;
    animation-name: spin !important;
    animation-duration: 1000ms !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .wpcf7-spinner::before {
        animation-name: blink !important;
        animation-duration: 2000ms !important;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg) !important;
    }

    to {
        transform: rotate(360deg) !important;
    }
}

@keyframes blink {
    from {
        opacity: 0 !important;
    }

    50% {
        opacity: 1 !important;
    }

    to {
        opacity: 0 !important;
    }
}