
.overlay {
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 990;
visibility: hidden;
background-color: rgba(0, 0, 0, 0.7);
opacity: 0;
position: fixed;
cursor: default;
-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
-ms-transition: opacity .5s;
-o-transition: opacity .5s;
transition: opacity .5s;
}
.overlay:target {
visibility: visible;
opacity: 1;
}

.popup {
background: rgba(255, 255, 255, 0.95);
width: 100%;
max-width: 555px;
padding: 48px 44px 30px;;
display: block;
color: #27174B;
top: 0;
right: 0;
left: 0;
z-index: 999;
display: block;
visibility: hidden;
margin: 0 auto;
width: 90%;
max-width:555px;
position: fixed;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
-ms-border-radius: 20px;
border-radius: 20px;
background-color: #FFFFFF;
opacity: 0;
-webkit-transition: all ease .5s;
-moz-transition: all ease .5s;
-ms-transition: all ease .5s;
-o-transition: all ease .5s;
transition: all ease .5s;
}
.overlay:target+.popup {
top: 5%;
visibility: visible;
opacity: 1;
}

.popup p.capt1 {
    font-size: 20px;
    line-height: normal;
    font-weight: 700;
}
.popup p.capt2 {
    margin-top: 23px;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
}
.popup input {
    width:100%;
    line-height:1.5;
    font-size:16px;
    font-weight: 300;
    margin-top:5px;
    border:none;
    border-bottom:1px solid #27174B;
}
.popup textarea {
    width: 100%;
    height: 80px;
}
.popup div {
    display: flex;
    justify-content: flex-end;
}
.popup button {
    font-size: 15px;
    line-height: normal;
    display: inline-block;
    background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
    box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 5px 15px;
    border: none;
    color: white;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    margin-top: 30px;
    text-align: right;
}

.popup input[type=submit] {
    font-size: 15px;
    line-height: normal;
    display: inline-block;
    background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
    box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    width: 150px;
    padding: 5px 15px;
    border: none;
    color: white;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    margin-top: 30px;
    text-align: center;
}
@media only screen and (min-width:700px) {
    .popup input[type=submit] {
        width: 150px;
    }
}



.popup1 {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 555px;
    
    padding: 48px 30px 30px;
    display: block;
    color: #27174B;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    width: 90%;
    max-width:555px;
    position: fixed;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    .overlay:target+.popup1 {
    top: 20%;
    visibility: visible;
    opacity: 1;
    }
    
    .popup1 div.wrap_img {
        display: flex;
        justify-content: center;
    }
    .popup1 div.master_foto {
        position: absolute;
        top:-150px;
        width: 270px;
        height: 270px;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        margin-top:20px;
    }
    .popup1 .wrap_ul {
        overflow-y: scroll;
        max-height: 350px;
    }
    .popup1 ul {
        margin-left: 40px;
        margin-top: 120px;
    }
    .popup1 ul li {
        position: relative;
        line-height: 42px;
    }
    .popup1 ul li:before {
        content: "";
        width: 13px;
        height: 13px;
        left: -26px;
        top:15px;
        border-radius: 50%;
        position: absolute;
        background: radial-gradient(13.00px at 46.15% 0%, #F8D3D5 0%, #4D3A86 100%);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    }


.popup2 {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px 40px 40px;
    display: block;
    color: #27174B;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    width: 90%;
    max-width:900px;
    position: fixed;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    .overlay:target+.popup2 {
    top: 5%;
    visibility: visible;
    opacity: 1;
    }
    

    .popup2 .wrap_video {
        position: relative;
        margin-bottom: 40px;
        padding-bottom: 36.25%;
        padding-top: 35px;
        height: 0;
        overflow: hidden;
    }
    
    .popup2 .wrap_video iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    @media only screen and (min-width:1050px) {
        .popup2 .wrap_video {
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 0;
            width: 640px;
            height: 400px;
        }
    }


    .popup2 p.capt2 {
        margin-top: 23px;
        font-size: 14px;
        line-height: normal;
        font-weight: normal;
    }
    .popup2 p.capt3 {
        margin-top: 20px;
        font-size: 24px;
        line-height: normal;
        font-weight: normal;
    }
    .popup2 p.capt3 span {
        text-transform: uppercase;
    }
    .popup2 input {
        width:100%;
        line-height:1.5;
        font-size:16px;
        font-weight: 300;
        margin-top:5px;
        border:none;
        border-bottom:1px solid #27174B;
    }
    .popup2 div.popup2_button {
        display: flex;
        justify-content: flex-end;
    }
    .popup2 input[type=submit] {
        font-size: 15px;
        line-height: normal;
        display: inline-block;
        background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
        box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        width: 150px;
        padding: 5px 15px;
        border: none;
        color: white;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
        cursor: pointer;
        margin-top: 30px;
        text-align: center;
    }
    @media only screen and (min-width:700px) {
        .popup2 iframe {
            width:100%;
            max-width:700px;
            height: 395px;
            margin-bottom:20px;
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
        }
        .popup2 p.capt3 {
            font-size: 28px;
        }
        .popup2 input {
            width:50%;
        }
        .popup2 input[type=submit] {
            width: 150px;
        }
    }
    @media only screen and (min-width:1050px) {
        .popup2 p.capt3 {
            font-size: 35px;
        }
    }


.popup3 {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px 40px 40px;
    display: block;
    color: #27174B;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    width: 90%;
    max-width:800px;
    position: fixed;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
}
.overlay:target+.popup3 {
    top: 5%;
    visibility: visible;
    opacity: 1;
}

.popup3 .cont {
    max-height: 500px;
    padding-right: 10px;
    overflow: auto;
}
.popup3 .cont ul {
    list-style-type: circle;
    padding-left: 2em;
    margin-bottom: 15px;
}
.popup3 .cont ul li {
    margin-bottom: 7px;
}
.popup3 p {
    margin-bottom: 10px;
    color:#27174B;
}
.popup3 span {
    font-weight: 700;
}
.popup3 h2.caption_item {
    font-size: 25px;
    line-height: normal;
    font-weight: normal;
    font-weight: 700;
    text-align: left;
}
.popup3 p.sub_caption_item {
    margin-top: 23px;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
    margin-bottom: 15px;
    font-style: italic;
}



.popup-type1 .mfp-close {
    display: none;
}
.popup-type1 {
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    padding: 48px 44px 30px;;
    color: #27174B;
    margin: 0 auto; 
    width: 90%;
    max-width:555px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    .popup-type1 .close {
        color: black;
        font-size: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
    font-weight: 300;
    transform: rotate(45deg);
    }

    .messengers {
        padding: 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .messengers p {
        margin-bottom: 15px;
        font-weight: 700;
        font-size: 20px;
        margin-top: 20px;
    }
    .messengers p:first-child,
    .messengers p:last-child  {
        margin-top: 0;
    }
    .messengers a {
        margin-bottom: 15px;
        text-decoration: none;
        color: white;
        font-weight: 400;
        font-size: 20px;
        display: flex;
        width: 260px;
        height: 48px;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
    }
    .messengers a.link_viber {
        background-color: #7d3daf;
    }
    .messengers a.link_wa {
        background-color: #1bd741;
    }
    .messengers a.link_telegram {
        background-color: #61a8de;
    }
    .messengers p.link_email {
        margin-bottom: 15px;
        color: white;
        font-weight: 400;
        font-size: 20px;
        display: flex;
        width: 260px;
        height: 48px;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        background-color: #8669d0;
        cursor: pointer;
    }
    .messengers a span,
    .messengers p.link_email span {
        width: 140px;
        display: flex;
        align-items: center;
        text-align: left;
    }
    .messengers a span img,
    .messengers p.link_email span img {
        margin-right: 15px;
        height: 30px;
    }
    .hide_form {
        display: none;
    }
    .messengers.hide_form {
        display: none;
    }
    .back_to_messengers {
        font-size: 30px;
        font-weight: 700;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .popup-type1 p.capt1 {
        font-size: 20px;
        line-height: normal;
        font-weight: 700;
    }
    .popup-type1 p.capt2 {
        margin-top: 23px;
        font-size: 16px;
        line-height: normal;
        font-weight: normal;
    }
    .popup-type1 p.hg_hide {
        display: none;
    }
    .popup-type1 input {
        width:100%;
        line-height:1.5;
        font-size:16px;
        font-weight: 300;
        margin-top:5px;
        border:none;
        border-bottom:1px solid #27174B;
    }
    .popup-type1 textarea {
        width: 100%;
        height: 80px;
    }
    .popup-type1 div {
        display: flex;
        justify-content: flex-end;
    }

    .popup-type1 button {
        font-size: 15px;
        line-height: normal;
        display: inline-block;
        background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
        box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding: 5px 15px;
        border: none;
        color: white;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
        cursor: pointer;
        margin-top: 30px;
        text-align: right;
    }
    
    .popup-type1 button {
        font-size: 15px;
        line-height: normal;
        display: inline-block;
        background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
        box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding: 5px 15px;
        border: none;
        color: white;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
        cursor: pointer;
        margin-top: 30px;
        text-align: center;
    }
    .popup-type1 input[type=submit] {
        font-size: 15px;
        line-height: normal;
        display: inline-block;
        background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
        box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding: 5px 15px;
        border: none;
        color: white;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
        cursor: pointer;
        margin-top: 30px;
        text-align: center;
        width: unset;
    }
    .popup-type1 input::placeholder {
        color: #bbb;
    }
    .popup-type1 p.alert {
        margin-top: 15px;
        text-align: left;
        font-weight: 400;
        font-size: 11px;
        line-height: normal;
        color: red;
    }



    .popup-type1 p,
    .popup-type1 a,
    .popup-type1 form input,
    .popup-type1 form textarea,
    .popup-type1 form p,
    .popup-type1 form button {
        font-family: 'Raleway', sans-serif;
        font-style: normal;
    }
    .popup-type1 form button,
    .popup-type1 form input[type=submit] {
        font-family: 'Raleway', sans-serif;
        font-style: normal;
        font-weight: bold;
        text-transform: uppercase;
        color: #0C121E;
        padding: 14px 35px 12px;
        text-align: center;
        background: #00EABD;
        border-radius: 8px;
        text-decoration: none;
        display: inline-block;
        transition: 0.2s;
    }
    .popup-type1 form input[type=submit]:hover {
        background: #7CFFE6;
    }
    #back_to_messengers01 {
        font-size: 30px;
    }
    



    .popup-type2 {
        background: rgba(255, 255, 255, 0.95);
        position: relative;
        padding: 32px;
        color: #27174B;
        margin: 0 auto; 
        width: 90%;
        max-width:900px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        border-radius: 20px;
        background-color: #FFFFFF;
    }

    .popup-type2 .wrap_video {
        position: relative;
        margin-bottom: 40px;
        padding-bottom: 36.25%;
        padding-top: 35px;
        height: 0;
        overflow: hidden;
    }
    
    .popup-type2 .wrap_video iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    @media only screen and (min-width:1050px) {
        .popup-type2 {
            padding: 48px 44px 30px;
        }
        .popup-type2 .wrap_video {
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 0;
            width: 640px;
            height: 400px;
        }
    }


    .popup-type2 p.capt2 {
        margin-top: 23px;
        font-size: 14px;
        line-height: normal;
        font-weight: normal;
    }
    .popup-type2 p.capt3 {
        margin-top: 20px;
        font-size: 24px;
        line-height: normal;
        font-weight: normal;
    }
    .popup-type2 p.capt3 span {
        text-transform: uppercase;
    }
    .popup-type2 input {
        width:100%;
        line-height:1.5;
        font-size:16px;
        font-weight: 300;
        margin-top:5px;
        border:none;
        border-bottom:1px solid #27174B;
    }
    .popup-type2 div.popup2_button {
        display: flex;
        justify-content: flex-end;
    }
    .popup-type2 input[type=submit] {
        font-size: 15px;
        line-height: normal;
        display: inline-block;
        background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
        box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        width: 150px;
        padding: 5px 15px;
        border: none;
        color: white;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
        cursor: pointer;
        margin-top: 30px;
        text-align: center;
    }
    @media only screen and (min-width:700px) {
        .popup-type2 iframe {
            width:100%;
            max-width:700px;
            height: 395px;
            margin-bottom:20px;
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
        }
        .popup-type2 p.capt3 {
            font-size: 28px;
        }
        .popup-type2 input {
            width:50%;
        }
        .popup-type2 input[type=submit] {
            width: 150px;
        }
    }
    @media only screen and (min-width:1050px) {
        .popup-type2 p.capt3 {
            font-size: 35px;
        }
    }









.popup-type_edit .mfp-close {
    display: none;
}
.popup-type_edit {
    background: #f3f3f3;
    position: relative;
    padding: 48px 44px 30px;;
    color: #27174B;
    margin: 0 auto; 
    width: 90%;
    max-width:700px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    .popup-type_edit .close {
        color: black;
        font-size: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
    font-weight: 300;
    transform: rotate(45deg);
    }
    .popup-type_edit .close:hover {
        opacity: 0.6;
    }

    .popup_kurs {
        text-align: left;
    }
    .popup_kurs p {
        display: block;
    }
    .popup_kurs .kurs_modal_capt {
        font-size: 20px;
        font-weight: 400;
        margin-bottom: 20px;
        font-weight: 600;
    }
    .popup_kurs input {
        margin-bottom: 10px;
        padding: 7px 10px;
        border: 1px solid #c4c4c4;
        background: white;
        width:100%;
        line-height:1.5;
        font-size:16px;
        font-weight: 300;
        margin-top:5px;
    }
    .popup_kurs select {
        margin-bottom: 10px;
        padding: 7px 10px;
        border: 1px solid #c4c4c4;
        background: white;
        width:100%;
        line-height:1.5;
        font-size:16px;
        font-weight: 300;
        margin-top:5px;
    }
    .popup_kurs textarea {
        width: 100%;
        height: 80px;
    }
    .popup_kurs .save {
        margin-top: 20px;
        background: green;
        border: 2px solid green;
        color: white;
        padding: 7px 15px;
        display: inline-block;
        font-weight: 400;
        cursor: pointer;
        transition: 0.3s;
        border-radius: 5px;
        box-shadow: 3px 3px 5px rgb(192, 192, 192);
    }
    .popup_kurs .save:hover {
        box-shadow: 5px 5px 10px rgb(128, 128, 128);
    }
    .popup_kurs .not_save {
        background: white;
        border: 2px solid white;
        padding: 7px 15px;
        display: inline-block;
        font-weight: 400;
        cursor: pointer;
        transition: 0.3s;
        border-radius: 5px;
    }
    .popup_kurs .not_save:hover {
        background: red;
        border: 2px solid red;
        color: white;
    }



.popup-type-subscr {
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    padding: 20px 30px 30px;
    color: #27174B;
    margin: 0 auto; 
    width: 90%;
    max-width:500px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
}    
.popup-type-subscr p.capt2 {
    margin-top: 15px;
    margin-bottom:15px;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
}
.popup-type-subscr p.capt3 {
    font-size: 24px;
    line-height: normal;
    font-weight: normal;
}
.popup-type-subscr p.capt3 span {
    text-transform: uppercase;
}
.popup-type-subscr p.p_check {
    display: inline;
    font-size: 14px;
    line-height: normal;
}
.popup-type-subscr input.inpt {
    width:100%;
    line-height:1.5;
    font-size:16px;
    font-weight: 300;
    margin-top:5px;
    margin-bottom:15px;
    border:none;
    border-bottom:1px solid #27174B;
}
.popup-type-subscr div.popup2_button {
    display: flex;
    justify-content: center;
}
.popup-type-subscr input[type=submit] {
    font-size: 15px;
    line-height: normal;
    display: inline-block;
    background: linear-gradient(90.57deg, #39227C -0.88%, #886DD5 99.93%), #4D3A86;
    box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 5px 15px;
    border: none;
    color: white;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    margin-top: 30px;
    text-align: center;
}
@media only screen and (min-width:700px) {
    .popup-type-subscr p.capt3 {
        font-size: 28px;
    }
}



.popup-type_calendar {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 526px;
    padding: 48px 30px 15px 35px;
    display: block;
    color: #27174B;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    position: fixed;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    overflow-y: auto;
    max-height: 600px;
}
@media only screen and (min-width:800px) {
    .popup-type_calendar {
        padding: 48px 53px 30px 70px;
    }
}

.overlay:target+.popup-type_calendar {
    top: 5%;
    visibility: visible;
    opacity: 1;
}

.popup-type_calendar .calendar_popup_date {
    font-weight: normal;
    font-size: 20px;
    line-height: 27px;
    text-align: right;
    margin-top: 10px;
}
.popup-type_calendar div.popup_level {
    position: relative;
    margin-top: 15px;
}
.popup-type_calendar p.type.novice:before {
    position: absolute;
    left: -30px;
    top:15px;
    content:"";
    width: 18px;
    height: 18px;
    background-color: #96DDE7;
    border-radius: 50%;
}
.popup-type_calendar p.popup_type.novice:hover::after {
    content: attr(data-title); 
}
.popup-type_calendar p.popup_type.specialist:before {
    position: absolute;
    left: -30px;
    top:15px;
    content:"";
    width: 18px;
    height: 18px;
    background-color: #A0CC69;
    border-radius: 50%;
}
.popup-type_calendar p.popup_type.professional:before {
    position: absolute;
    left: -30px;
    top:15px;
    content:"";
    width: 18px;
    height: 18px;
    background-color: #FFBF5F;
    border-radius: 50%;
}
.popup-type_calendar p.popup_type.expert:before {
    position: absolute;
    left: -30px;
    top:15px;
    content:"";
    width: 18px;
    height: 18px;
    background-color: #FF6B6B;
    border-radius: 50%;
}
.popup-type_calendar p.popup_type.guru:before {
    position: absolute;
    left: -30px;
    top:15px;
    content:"";
    width: 18px;
    height: 18px;
    background-color: #5D46A3;
    border-radius: 50%;
}
.popup-type_calendar .calendar_popup_course_name {
    font-family: Alice;
    font-style: normal;
    font-weight: normal;
    font-size: 35px;
    line-height: 1.3;
}
.popup-type_calendar .calendar_popup_course_desc_long {
    font-style: italic;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    margin-top: 17px;
}
.popup-type_calendar .calendar_popup_time {
    display: block;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    margin-top: 8px;
}
.popup-type_calendar .calendar_popup_time span {
    font-weight: normal;
    font-size: 35px;
    line-height: 48px;
}

.popup-type_calendar .popup_teacher {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.popup-type_calendar .popup_teacher div.foto {
    width: 77px;
    height: 77px;
    margin-right: 20px;
    border-radius: 50%;
}
.popup-type_calendar .popup_teacher .text1 {
    font-size: 12px;
    line-height: 16px;
    font-weight: normal;
}
.popup-type_calendar .popup_teacher .text2 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
}
.popup-type_calendar div.popup_link {
    text-align: right
}
td .popup-type_calendar div.popup_link a {
    position: relative;
    font-size: 24px;
    line-height: 19px;
    font-weight: normal;
    text-decoration: underline;
}
.popup-type_calendar div.popup_link a:hover {
    text-decoration: none;
}
.popup-type_calendar div.popup_link img {
    position: relative;
    top:0;
}







.popup-type_video .mfp-close {
    display: none;
}
.popup-type_video {
    position: relative;
    padding: 48px 0 0;
    color: #27174B;
    margin: 0 auto; 
    width: 90%;
    max-width:720px;
    max-height: 640px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    .popup-type_video .close {
        color: #F9F9F9;
        font-size: 50px;
    position: absolute;
    top: 5px;
    right: 0px;
    text-decoration: none;
    font-weight: 300;
    transform: rotate(45deg);
    transition: 0.3s;
    }
    .popup-type_video .close:hover {
        color: #00EABD;
    }
    .popup-type_video iframe {
        width: 100%;
        height: 100%;
    }
    .popup-type_video video {
        height: 100%;
    }






.form_content::-webkit-scrollbar-track {
    background-color: #192239;
    /* background: red; */
    border-radius: 10px;
    border: 4px solid #192239;
    background-clip: content-box;
}
.form_content::-webkit-scrollbar-thumb {
    background-color: #00EABD;
    border-radius: 10px;
    border: 1px solid #00EABD;
    width: 10px;
}
.form_content::-webkit-scrollbar {
    width: 5px;               /* width of vertical scrollbar */
    /* border: 1px solid #d5d5d5; */
    }

.popup_type_pay {
    background: #0C121E;
    border: 2px solid #00EABD;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    color: #f9f9f9;
    position: relative;
    transition: all ease .5s;
    overflow: hidden;
    /* padding: 74px 0 98px; */
    /* padding: 74px 0 118px; */
    padding: 67px 0 104px;
}
.popup_type_pay.no_padding_bottom {
    padding-bottom: 40px;
}
.popup_type_pay .mfp-close {
    display: none;
}
.popup_type_pay .close {
    color: #f9f9f9;
    position: absolute;
    width: 22px;
    height: 22px;
    top: 22px;
    right: 30px;
    transition: 0.3s;
}
.popup_type_pay .close::before {
    position: absolute;
    content: "";
    width: 130%;
    height: 2px;
    top: 10px;
    left: -3px;
    background: #F9F9F9;
    transform: rotate(45deg);
    transition: 0.3s;
}
.popup_type_pay .close::after {
    position: absolute;
    content: "";
    width: 130%;
    height: 2px;
    bottom: 10px;
    left: -3px;
    background: #F9F9F9;
    transform: rotate(-45deg);
    transition: 0.3s;
}
.popup_type_pay .close:hover::before {
    background: #00EABD;
}
.popup_type_pay .close:hover::after {
    background: #00EABD;
}

.popup_type_pay .form_header {
    background: #192239;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    flex: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.popup_type_pay .form_header p {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    color: #F9F9F9;
    display: flex;
    align-items: center;
}
.popup_type_pay .form_header p.smaller {
    font-size: 20px;
}
.popup_type_pay .form_header .p_back {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #F9F9F9;
    display: inline-block;
}
.popup_type_pay .form_header .back_to_messengers {
    margin-bottom: 0;
}
.popup_type_pay .mfp-content {
    overflow-y: auto;
}
.popup_type_pay .form_content {
    background: #0C121E;
    padding: 20px 30px;
    overflow-y: auto;
}


.popup_type_pay .form_content.correction_padding {
    padding-bottom: 0;
}
.popup_type_pay .form_content .form_content_caption {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #00EABD;
}
.popup_type_pay .form_content .form_content_caption2 {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #F2D113;
    margin-bottom: 30px;
}
.popup_type_pay .form_content .form_content_price_vis {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #F9F9F9;
    margin-top: 5px;
    margin-bottom: 20px;
}
.popup_type_pay .form_content .form_content_price_vis span span {
    color: #F2D113;
}

.popup_type_pay .form_content input {
    border: 1px solid #6B6E75;
    border-radius: 3px;
    background: none;
    height: 50px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    position: relative;
}

.popup_type_pay .form_content input::placeholder {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    opacity: 0.6;
}
.popup_type_pay .form_content input:focus,
.popup_type_pay .form_content input:active {
    border: 1px solid #F9F9F9;
    outline: 0;
}
.popup_type_pay .form_content .input {
    margin-bottom: 20px;
}
.popup_type_pay .form_content .input:last-child {
    margin-bottom: 0;
}
/* .popup_type_pay .form_content .wrap_tel {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.popup_type_pay .form_content .wrap_tel input[type="tel"] {
    width: 100%;
}
.popup_type_pay .form_content .wrap_tel .flag {
    width: 48px;
    flex: none;
} */
.popup_type_pay .form_content .iti__selected-dial-code {
    color: #F9F9F9;
}

.popup_type_pay .form_content textarea {
    border: 1px solid #6B6E75;
    border-radius: 3px;
    background: none;
    height: 90px;
    width: 100%;
    display: block;
    padding: 12px 30px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    position: relative;
}
.popup_type_pay .form_content textarea::placeholder {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    opacity: 0.6;
}
.popup_type_pay .form_content textarea:focus,
.popup_type_pay .form_content textarea:active {
    border: 1px solid #F9F9F9;
    outline: 0;
}

.popup_type_pay .form_content .input_required {
    position: relative;
}
.popup_type_pay .form_content .input_required::before {
    position: absolute;
    content: "*";
    left: 15px;
    top: 15px;

    font-family: 'Oswald', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.2px;
    color: #00EABD;
}

.popup_type_pay .form_content .alert {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 13px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    margin-bottom: 8px;
}
.popup_type_pay .form_content .alert:last-child {
    margin-bottom: 0;
}
.popup_type_pay .form_content .alert a {
    text-decoration: none;
    color: #00EABD;
}
.popup_type_pay .form_content .alert a:hover {
    color: #7CFFE6;
}

.popup_type_pay .form_content .form_nets {
    display: flex;
    /* justify-content: space-between; */
    justify-content: space-around;
    margin-bottom: 30px;
}
.popup_type_pay .form_content .form_nets a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}
/* .popup_type_pay .form_content .form_nets a.link2_whatsapp {
    display: none;
} */
.popup_type_pay .form_content .form_nets a img {
    width: 56px;
}
.popup_type_pay .form_content .form_nets a span {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    margin-top: 10px;
}
.popup_type_pay .form_content .form_nets a div {
    width: 56px;
    height: 56px;
}
.popup_type_pay .form_content .form_nets a.link2_viber div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_viber.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_nets a.link2_viber:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_viber_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_nets a.link2_whatsapp div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_whatsapp.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_nets a.link2_whatsapp:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_whatsapp_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_nets a.link2_telegram div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_telegram.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_nets a.link2_telegram:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_telegram_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay .form_content .form_link_btn p {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00EABD;
    border-radius: 8px;
    color: #0C121E;
    height: 56px;
    cursor: pointer;
    transition: 0.3s;
}
.popup_type_pay .form_content .form_link_btn p:hover {
    background: #7CFFE6;
}
.popup_type_pay .form_content .form_link_btn p img {
    width: 36px;
}
.popup_type_pay .form_content .form_link_btn div {
    width: 100%;
    text-align: center;
}
.popup_type_pay .form_content .form_link_btn div a {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 0.2px;
    color: #00EABD;
    text-decoration: none;
}
.popup_type_pay .form_content .form_link_btn div a:hover {
    color: #7CFFE6;
}
@media only screen and (min-width:768px) {
    .popup_type_pay .form_content .form_link_btn div a {
        font-size: 20px;
        line-height: 28px;
    }
}

.popup_type_pay .form_footer {
    padding: 20px 30px;
    background: #192239;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.popup_type_pay .form_footer input {
    border: none;
    cursor: pointer;
}
.popup_type_pay .form_footer.two_btn {
    padding-bottom: 0;
}
/*Конец Форма оплаты*/









/*Смена валюты*/
.change_currency {
    display: inline-block;
    position: relative;
}
.change_currency .currency_caption {
    display: flex;
    width: 100%;
    /* justify-content: center; */
    position: absolute;
    top: -25px;
    left: 0;
}
.change_currency .currency_caption.cyr_center {
    justify-content: center;
}

.change_currency .currency_caption span {
    display: inline-block;
    margin-right: 15px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #7CFFE6;
    text-decoration: underline;
    cursor: pointer;
}
.change_currency .currency_caption span.active {
    display: inline-block;
    /* margin-right: 15px; */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #F9F9F9;
    text-decoration: none;
    cursor: default;
}
.change_currency .currency_caption span:last-child {
    margin-right: 0;
}


.shift_top .price_txt .change_currency .currency_caption {
    top: -80px;
}

@media only screen and (min-width:767px) {

}
/*Конец Смена валюты*/








/*Форма оплаты 2*/
.popup_type_pay2 {
    background: #0C121E;
    border: 2px solid #00EABD;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    color: #f9f9f9;
    position: relative;
    transition: all ease .5s;
    overflow: hidden;
    /* padding: 74px 0 98px; */
    /* padding: 74px 0 118px; */
    padding: 67px 0 104px;
}
.popup_type_pay2.no_padding_bottom {
    padding-bottom: 40px;
}
.popup_type_pay2 .mfp-close {
    display: none;
}
.popup_type_pay2 .close {
    color: #f9f9f9;
    position: absolute;
    width: 22px;
    height: 22px;
    top: 22px;
    right: 30px;
    transition: 0.3s;
}
.popup_type_pay2 .close::before {
    position: absolute;
    content: "";
    width: 130%;
    height: 2px;
    top: 10px;
    left: -3px;
    background: #F9F9F9;
    transform: rotate(45deg);
    transition: 0.3s;
}
.popup_type_pay2 .close::after {
    position: absolute;
    content: "";
    width: 130%;
    height: 2px;
    bottom: 10px;
    left: -3px;
    background: #F9F9F9;
    transform: rotate(-45deg);
    transition: 0.3s;
}
.popup_type_pay2 .close:hover::before {
    background: #00EABD;
}
.popup_type_pay2 .close:hover::after {
    background: #00EABD;
}

.popup_type_pay2 .form_header {
    background: #192239;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    flex: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.popup_type_pay2 .form_header p {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    color: #F9F9F9;
    display: flex;
    align-items: center;
}
.popup_type_pay2 .form_header p.smaller {
    font-size: 20px;
}
.popup_type_pay2 .form_header .p_back {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #F9F9F9;
    display: inline-block;
}
.popup_type_pay2 .form_header .back_to_messengers {
    margin-bottom: 0;
}
.popup_type_pay2 .mfp-content {
    overflow-y: auto;
}
.popup_type_pay2 .form_content {
    background: #0C121E;
    padding: 10px 30px;
    overflow-y: auto;
}
.popup_type_pay2 .form_content.correction_padding {
    padding-bottom: 0;
}
.popup_type_pay2 .form_content .form_content_caption {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    /* color: #00EABD; */
    color: #F9F9F9;
}
.popup_type_pay2 .form_content .form_content_caption2 {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #F2D113;
    margin-bottom: 30px;
}
.popup_type_pay2 .form_content .form_content_price_vis {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #F9F9F9;
    margin-top: 10px;
    margin-bottom: 15px;
}
.popup_type_pay2 .form_content .form_content_price_vis span span {
    color: #F2D113;
}
.popup_type_pay2 .form_content .select_card_caption {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #F2D113;
    margin-top: 40px;
}
.popup_type_pay2 .form_content .select_card_btn {
    cursor: pointer;
    width: 100%;
    height: 50px;
    border: 2px solid #F9F9F9;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    margin-top: 15px;
}
.popup_type_pay2 .form_content .select_card_btn:last-child {
    margin-bottom: 30px;
}
.popup_type_pay2 .form_content .select_card_btn:hover {
    color: #7CFFE6;
}
.popup_type_pay2 .form_content .select_card_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F9F9F9;
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.popup_type_pay2 .form_content .select_card_btn a:hover {
    color: #7CFFE6;
}

.popup_type_pay2 .form_content input {
    border: 1px solid #6B6E75;
    border-radius: 3px;
    background: none;
    height: 44px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    position: relative;
}

.popup_type_pay2 .form_content input::placeholder {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    opacity: 0.6;
}
.popup_type_pay2 .form_content input:focus,
.popup_type_pay2 .form_content input:active {
    border: 1px solid #F9F9F9;
    outline: 0;
}
.popup_type_pay2 .form_content .input {
    margin-bottom: 10px;
}
.popup_type_pay2 .form_content .input:last-child {
    margin-bottom: 0;
}

.popup_type_pay2 .form_content textarea {
    border: 1px solid #6B6E75;
    border-radius: 3px;
    background: none;
    height: 90px;
    width: 100%;
    display: block;
    padding: 12px 30px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    position: relative;
}
.popup_type_pay2 .form_content textarea::placeholder {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    opacity: 0.6;
}
.popup_type_pay2 .form_content textarea:focus,
.popup_type_pay2 .form_content textarea:active {
    border: 1px solid #F9F9F9;
    outline: 0;
}

.popup_type_pay2 .form_content .input_required {
    position: relative;
}
.popup_type_pay2 .form_content .input_required::before {
    position: absolute;
    content: "*";
    left: 15px;
    top: 15px;

    font-family: 'Oswald', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.2px;
    color: #00EABD;
}

.popup_type_pay2 .form_content .alert {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 13px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    margin-bottom: 8px;
}
.popup_type_pay2 .form_content .alert:last-child {
    margin-bottom: 0;
}
.popup_type_pay2 .form_content .alert.margin_bottom {
    margin-bottom: 10px;
}
.popup_type_pay2 .form_content .alert a {
    text-decoration: none;
    color: #00EABD;
}
.popup_type_pay2 .form_content .alert a:hover {
    color: #7CFFE6;
}

.popup_type_pay2 .form_content .form_nets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.popup_type_pay2 .form_content .form_nets a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}
.popup_type_pay2 .form_content .form_nets a img {
    width: 56px;
}
.popup_type_pay2 .form_content .form_nets a span {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    margin-top: 10px;
}
.popup_type_pay2 .form_content .form_nets a div {
    width: 56px;
    height: 56px;
}
.popup_type_pay2 .form_content .form_nets a.link2_viber div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_viber.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_nets a.link2_viber:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_viber_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_nets a.link2_whatsapp div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_whatsapp.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_nets a.link2_whatsapp:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_whatsapp_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_nets a.link2_telegram div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_telegram.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_nets a.link2_telegram:hover div {
    background: url(/wp-content/themes/astrologia/assets/img/icon2_telegram_hover.png) no-repeat;
    background-size: contain;
}
.popup_type_pay2 .form_content .form_link_btn p {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00EABD;
    border-radius: 8px;
    color: #0C121E;
    height: 56px;
    cursor: pointer;
    transition: 0.3s;
}
.popup_type_pay2 .form_content .form_link_btn p:hover {
    background: #7CFFE6;
}
.popup_type_pay2 .form_content .form_link_btn p img {
    width: 36px;
}
.popup_type_pay2 .form_content .form_link_btn div {
    width: 100%;
    text-align: center;
}
.popup_type_pay2 .form_content .form_link_btn div a {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 0.2px;
    color: #00EABD;
    text-decoration: none;
}
.popup_type_pay2 .form_content .form_link_btn div a:hover {
    color: #7CFFE6;
}
@media only screen and (min-width:768px) {
    .popup_type_pay2 .form_content .form_link_btn div a {
        font-size: 20px;
        line-height: 28px;
    }
}

.popup_type_pay2 .form_footer {
    padding: 20px 30px;
    background: #192239;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.popup_type_pay2 .form_footer .select_card_footer_text {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
}
.popup_type_pay2 .form_footer .link_90 {
    padding-left: 0;
    padding-right: 0;
}
.popup_type_pay2 .form_footer input {
    border: none;
    cursor: pointer;
}
.popup_type_pay2 .form_footer.two_btn {
    padding-bottom: 0;
}
.popup_type_pay2 .select_card .form_footer {
    padding-bottom: 10px;
}
/*Конец Форма оплаты 2*/

/*Приложение, сбор email*/
.modal_app_email .form_content .capt {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    color: #00EABD;
    margin-top: 15px;
    margin-bottom: 25px;
}
.modal_app_email .form_content input {
    width: 100%;
    height: 56px;
    border-radius: 3px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #B9B9B9;
    text-align: left;
    padding-left: 10px;
}
.modal_app_email .form_content input::placeholder {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    color: #B9B9B9;
    text-align: left;
}
.modal_app_email .form_content .alarm {
    margin-top: 15px;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #F9F9F9;
}
.modal_app_email .form_content .alarm span {
    font-weight: 700;
}
.modal_app_email .form_content .tarif {
    margin-top: 30px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    /* font-size: 16px;
    line-height: 22px; */
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    color: #F9F9F9;
    text-align: left;
}
.modal_app_email .form_content .block_form_price {
    margin-top: 15px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    /* font-size: 16px;
    line-height: 22px; */
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    color: #F9F9F9;
    text-align: left;
}
.modal_app_email .form_content .block_form_price span {
    color: #F2D113;
}
@media only screen and (min-width:767px) {
    .modal_app_email .form_content .capt {
        font-size: 36px;
        line-height: 42px;
        /* margin-top: 30px; */
        margin-bottom: 40px
    }
    .modal_app_email .form_content input {
        font-size: 26px;
        line-height: 56px;
    }
    .modal_app_email .form_content input::placeholder {
        font-size: 26px;
        line-height: 22px;
    }
    .modal_app_email .form_content .tarif {
        margin-top: 40px;
    }
}
/*Конец Приложение, сбор email*/






.popup_type_pay3 {
    display: flex;
    flex-direction: column;
}
.popup_type_pay3 input[type="text"] {
    border: 1px solid #6B6E75;
    border-radius: 3px;
    background: none;
    height: 50px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.2px;
    color: #F9F9F9;
    position: relative;
    width: 100%;
    max-width: 360px;
}
.popup_type_pay3 input[type="submit"] {
    margin-top: 15px;
    max-width: 360px;
    cursor: pointer;
}
@media only screen and (min-width:767px) {
    .popup_type_pay3 {
        flex-direction: row;
        align-items: center;
        padding-left: 20px;
    }
    .popup_type_pay3 input[type="submit"] {
        margin-top: 0;
        margin-left: 15px;
    }
}



#modal_ok {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;
    background: rgba(11, 11, 11, 0.86);
    /* display: flex; */
    justify-content: center;
    align-items: center;
}
#modal_ok.show {
    display: flex;
}
#modal_ok .wrap_in {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#modal_ok .wrap_in .caption {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #F2D113;
    margin-bottom: 30px;
}
#modal_ok .wrap_in .text {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
}
#modal_ok .wrap_in .modal_ok_btn {
    margin-top: 30px;
    max-width: 200px;
    width: 100%;
    cursor: pointer;
}


#modal_lock,
#modal_no_user {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;
    background: rgba(11, 11, 11, 0.86);
    /* display: flex; */
    justify-content: center;
    align-items: center;
}
#modal_lock.show,
#modal_no_user.show {
    display: flex;
}
#modal_lock .wrap_in,
#modal_no_user .wrap_in {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#modal_lock .wrap_in .caption,
#modal_no_user .wrap_in .caption {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #F2D113;
    margin-bottom: 30px;
}
#modal_lock .wrap_in .text,
#modal_no_user .wrap_in .text {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #F9F9F9;
}
#modal_lock .wrap_in .text a,
#modal_no_user .wrap_in .text a {
    color: #00EABD;
    text-decoration: none;
}
#modal_lock .wrap_in .text a:hover,
#modal_no_user .wrap_in .text a:hover {
    color: #7CFFE6;
}
#modal_lock .wrap_in .modal_lock_btn,
#modal_no_user .wrap_in .modal_lock_btn {
    margin-top: 30px;
    max-width: 200px;
    width: 100%;
    cursor: pointer;
}



input[name^="email"].error {
    border: 1px solid #FC0023;
}