@media (hover: hover) {
    .pride_next svg:hover rect,
    .pride_prev svg:hover rect {
        opacity: .7;
    }
    .pride_next svg:hover,
    .pride_prev svg:hover {
        border: 1px solid transparent;
        box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
        outline-color: rgba(255, 255, 255, 0);
        outline-offset: 15px;
        text-shadow: 1px 1px 2px #427388;
    }
    .faq_btn svg:hover g path {
        fill: var(--c-wBlue);
    }
    .faq_btn svg:hover {
        border: 1px solid;
        box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
        outline-color: rgba(255, 255, 255, 0);
        outline-offset: 15px;
        text-shadow: 1px 1px 2px #427388;
        outline: 1px solid var(--c-dBlue);
        transform: rotate(180deg);
    }
    .news_image:hover img {
        transform: scale(1.09);
    }
    .news_loadmore:hover {
        opacity: .7;
    }
    .custom-dropdown-item:hover {
        background: #eee;
    }
    .social-icons a:hover {
        color: #cccccc; /* Легкое изменение цвета при наведении */
    }
    .fwl_socials .in_tel:hover {
        box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
        outline-color: rgba(255, 255, 255, 0);
        outline-offset: 15px;
        text-shadow: 1px 1px 2px #427388;
    }
    .fb_left:hover,
    .fb_right:hover {
        opacity: .7;
    }
    .zf_krest:hover {
        transform: rotate(180deg);
    }
    .zf_krest svg:hover path {
        fill: var(--c-white);
    }
}
@media(max-width: 1610px) {
    :root {
        --cont:87vw;
    }

    .adveh_img {
        padding: 10px;
    }
    .adv_elem {
        padding: 2vh;
    }
    .adveh_img img {
        width: var(--fz30);
        height: var(--fz30);
    }
    .adve_head {
    }
    .abcl_wr {
        padding-left: 3vw;
        margin-top: 3vh;
    }
    .about {
        --imgWidth:30vw;
        --gap: 5vw;
    }

    .in_tel {
        font-size: var(--fz16);
    }

    .accawr_img {
        width: 50vw;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
    }
    .faq_btns {
        height: 50px;
        width: 50px;
        min-width: 50px;
        min-height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    .news_card_excerpt {
        line-height: 120%;
        font-size: 16px;
        margin-top: 20px;
    }
    h5 {
        font-size: 18px;
    }
    .news_card_footer a svg {
        width: 20px;
        height: 20px;
    }
    .form_cf7 {
        width: 50%;
        padding: 40px 0 40px 30px;
    }
    .news_card {
        height: 100%;
    }
    .formwr_img {
        height: 100%;
    }
    .form_wrap {
        align-items: self-end;
    }
    .cf7-row p > span {
        width: 100%;
    }
    .acceptance {
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .wpcf7-list-item input[type="checkbox"] {
        min-width: 20px;
    }
    .wpcf7-not-valid-tip {
        font-size: 16px;
        margin-top: 5px;
    }
    .formw_right {
        height: 100%;
    }

    .ihb_stories h4 {
        font-size: 18px;
    }
    .faq_answer {
        margin: 20px 0 10px 0;
    }
    .adv_title {
        max-width: 50%;
    }
    .faq_question {
        font-size: 18px;
        line-height: 120%;
    }
    #faq {
        padding: 0;
    }
    .accaw_left {
        padding: 60px;
    }
    .accaw_left p {
        max-width: 45%;
    }
    .adve_body p {
        margin-top: 20px;
        font-size: 18px;
    }
    .pride_title {
        font-size: 50px;
    }

}
@media(max-width: 1410px) {
    :root {
        --cont:80vw;
        --cont-p: 1.3vw;
    }
    h4 {
        font-size: 18px;
    }
    .adve_body p  {
        font-size: 18px;
    }
    .adv_elem {
        height: 300px;
    }
    .adveh_img img {
        width: 25px;
        height: 25px;
    }
    .adveh_img {
        padding: 18px;
        width: 60px;
        height: 60px;
    }
    .adv_title {
        max-width: 55%;
    }
    .pride_slide {
        width: 860px !important;
        height: 500px !important;
    }
    .mtop_little {
        margin-top: 100px;
    }
    .mtop {
        margin-top: 150px;
    }

}
@media(max-width: 1200px) {

    :root {
        --cont-p: 10px;
        --cont:1140;
    }
    .hero_img {
        min-width: 500px;
        max-width: 500px;
        max-height: 1000px;
    }
    .ihtt_bx h3 {
        font-size: 50px;
        line-height: 120% !important;
    }
    .ihtt_bx img {
        max-width: 400px;
        min-width: 100%;
        height: 100%;
    }
    .iht_desc p {
        font-size:20px;
    }
    .adv_elems {
        --elems:2;
        grid-template-columns: repeat(1,1fr);
        --gap:10px;
    }
    .inn_hero {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
    .main-menu {
        gap: 20px;
    }
    .pride_slide img {
        display: block;
        width: 100%;
        height: 100%;
    }
    .pride_slide {
        width: 500px !important;
        height: 400px !important;
    }
    .ihb_license {
        max-width: 200px;
        height: 100px;
    }
    p.ihtr_title {
        font-size:50px;
    }
    .ihtr_desc {
        font-size:16px;
    }
    .btn {
        font-size:16px;
        padding:16px 30px;
    }
}
@media(max-width: 765px) {
    :root {
        --cont:100%;
        --cont-p:15px;
        --headerHeight:50px;
    }
    .crsw_item {
        height: 320px;
    }
    .crswi_desc {
        padding-bottom: 20px;
    }
    .faq_question {
        font-size: 16px;
    }
    .faq_answer p {
        font-size: 14px;
    }
    .fb_wrap {
        padding: 20px 0;
    }
    .stories .swiper-slide a {
        max-width: 100%;
        height: 70px;
        display: block;
        min-width: 70px;
    }
    .story-item {
        border-radius: 50%;
        width: 70px;
        height: 70px;
    }
    .cf7-custom-form .cf7-row p,
    .cf7-custom-form .cf7-drops {
        flex-direction: column;
        gap: 8px;
    }
    .cf7-custom-form .cf7-drops {
        margin-top: 8px;
    }
    .news_date {
        font-size: 14px;
    }
    .iht_desc {
        max-width: unset;
        padding-left:unset;
    }
    .ihbs_slider {
        width: 100%;
    }
    .stories {
        max-width: 100%;
        min-width: 100%;
        padding: 0 0 20px;
    }
    .inn_header {
        margin-left: 16px;
        margin-right: 16px;
        padding: 0 20px;
    }
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        margin-left: 30px;
        align-items: flex-end;
    }
    .burger span:nth-child(1) {
        width: 80%;
    }
    .burger span:nth-child(3) {
        width: 60%;
    }
    .showBurger .burger span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 9px);
        width: 100%;
    }
    body.showBurger {
        overflow: hidden;
    }
    .showBurger .burger span:nth-child(2) {
        opacity: 0;
    }
    .menu-mobilnoe-menyu-container {
        width: 100%;
        padding: 50px 20px;
    }
    .menu-mobilnoe-menyu-container li + li {
        margin-top: 15px;
    }
    .menu-item-has-children > a{
        margin-bottom: 15px;
        display: block;
    }
    .menu-item-has-children .sub-menu li a {
        font-size: 16px;
        font-weight: 700;
        text-decoration: underline;
        padding-left: 15px;
    }
    .menu-mobilnoe-menyu-container li a {
        font-size: 20px;
        font-weight: 700;
        color: var(--c-dBlue);
    }
    .header {
        top: 0;
    }
    .showBurger .burger span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -9px);
        width: 100%;
    }
    .burger span {
        display: block;
        height: 3.5px;
        background-color: white;
        border-radius: 2px;
        width: 100%;
        transition: .3s;
    }
    .int {
        display: none;
    }
    .in_socials {
        display: none;
    }
    .main-menu {
        display: none;
    }
    .in_langs {
        margin-left: auto;
    }

    .ih_top {
        flex-direction: column;
    }
    #hero {
        height: 100%;
    }
    .iht_right {
        width: 100%;
    }
    .ihtt_bx h3 {
        text-align: center;
    }
    .ihtt_bx img {
        max-width: 100%;
        height: auto;
    }
    .iht_desc {
        max-width: 100%;
    }
    .iht_desc p {
        text-align: center;
        font-size: 14px;
    }
    .btn {
        margin: 20px auto 0;
    }
    .iht_rights {
        flex-direction: initial;
        max-width: unset;
        display: flex;
        --elems: 2;
        gap: 20px var(--gap);
        --gap: 8px;
        flex-wrap: wrap;
        margin-top: 30px;
        align-items: flex-start;
    }
    .hero_img {
        position: relative;
        min-width: 100%;
        max-width: 100%;
        max-height: 600px;
        right: 0;
    }
    p.ihtr_title {
        text-align: center;
        font-size: 40px;
    }
    .ihtr_desc {
        text-align: center;
        font-size: 14px;
    }

    .hero {
        display: flex;
        flex-direction: column-reverse;
    }
    .ihb_license {
        max-width: 120px;
        position: absolute;
        left: 50%;
        transform: translate(-50%,0);
        z-index: 10;
        max-height: 120px;
        bottom: 21px;
        height: 120px;
    }
    .ih_bot .ihb_license {
        display: none;
    }
    .ih_bot .ihb_stories {
        display: none;
    }
    .ihb_stories {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .ihbs_slider .sw_prev,
    .ihbs_slider .sw_next {
        display: none;
    }
    .iht_right {
        height: 100%;
        width: calc((100% - var(--gap) * (var(--elems) - 1)) / var(--elems));
    }
    .iht_right:nth-child(3) {
        --elems:1;
    }
    .page-template-page-courses #hero:after {
        display: none;
    }
    .hero_img:after {
        content: '';
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 35vh;
        background: linear-gradient(180deg, rgba(0, 55, 68, 0) 0%, #003744 100%);
        display: block;
        position: absolute;
        z-index: 5;
    }
    .about {
        --imgWidth:100%;
        --gap: 30px;
        flex-direction: column;
    }
    .mtop {
        margin-top:60px;
    }
    h2 {
        font-size:20px;
    }
    .abcl_wr {
        padding-left: unset;
        margin-top:20px;
    }
    .abc_left p {
        font-size: 14px;
    }
    .abcl_wr .btn {
        margin-top:30px;
        margin-left: unset;
    }
    .abc_right {
        height: 280px;
        border-radius: 20px;
    }
    .ihb_stories h4 {
        font-size: 14px;
    }
    .mtop {
        margin-top:60px;
    }
    .adve_body p {
        font-size:14px;
    }
    h2 {
        font-size:20px;
    }
    .adv_elem {
        height: 100%;
        padding:20px;
    }
    .abcl_wr {
        padding-left: unset;
        margin-top:20px;
    }
    .abc_left p {
        font-size: 14px;
    }
    .abcl_wr .btn {
        margin-top:30px;
        margin-left: unset;
    }
    .abc_right {
        height: 280px;
        border-radius: 20px;
    }
    .mtop_little {
        margin-top:60px;
    }
    .adv_title {
        max-width: unset;
    }
    h3 {
        font-size:20px;
    }
    .adv_elems {
        --elems:1;
        margin-top:20px;
        gap:8px;
    }
    .pride_title {
        font-size:20px;
    }
    .pride_slide {
      /*  width: 310px !important;!**!*/
        height: 300px !important;
    }
    .pride_next {
        display: none;
    }
    h4 {
        font-size: 16px;
    }
    .pride_bx::before,
    .pride_bx::after {
        display: none;
    }

    .acca_wrap {
        flex-direction: column;
    }
    .accaw_left p {
        font-size: 16px;
        margin: 20px 0 0 0;
        max-width: unset;
    }
    .faq_item {
        padding:18px 10px 22px 20px;
        border-radius: 12px
    }
    .accawr_img {
        position: relative;
        width: 100%;
        height: 400px;
    }
    .accawr_img img {
        object-fit: contain
    }
    .accaw_left {
        padding:20px;
    }
    .faq_wrap {
        grid-template-columns: repeat(1,1fr);
        grid-gap:8px;
        margin-top:20px;
    }
    .adve_body p {
        margin-top: 13px;
    }
    .pride_prev {
        display: none;
    }
    .adve_head {
        flex-direction: row;
        align-items: center;
    }

    .acca_wrap {
        flex-direction: column;
    }
    .accaw_left p {
        font-size: 16px;
        margin: 20px 0 0 0;
        max-width: unset;
    }
    .faq_item {
        padding:18px 10px 22px 20px;
        border-radius: 12px
    }
    .accawr_img {
        position: relative;
        width: 100%;
        height: 400px;
    }
    .accawr_img img {
        object-fit: contain
    }
    .accaw_left {
        padding:20px;
    }
    .faq_wrap {
        grid-template-columns: repeat(1,1fr);
        grid-gap:8px;
        margin-top:20px;
    }
    .news_grid {
        margin-top:20px;
        grid-template-columns: repeat(1,1fr);
        --gap:8px;
    }
    .news_image {
        min-height: 188px;
        max-height: 188px;
        border-radius: 6px;
    }
    .page-id-19 .mtop_tiny {
        margin-top: unset;
    }
    h5 {
        font-size:16px;
    }
    .news_card {
        height: 100%;
        padding:12px 12px 12px 12px;
    }
    .news_card_footer {
        margin-top:30px;
    }
    .news_card_excerpt {
        margin-top: 10px;
    }

    .acca_wrap {
        flex-direction: column;
    }
    .accaw_left p {
        font-size: 16px;
        margin: 20px 0 0 0;
        max-width: unset;
    }
    .faq_item {
        padding:18px 10px 22px 20px;
        border-radius: 12px
    }
    .accawr_img {
        position: relative;
        width: 100%;
        height: 400px;
    }
    .accawr_img img {
        object-fit: contain
    }
    .accaw_left {
        padding:20px;
    }
    .faq_wrap {
        grid-template-columns: repeat(1,1fr);
        grid-gap:8px;
        margin-top:20px;
    }
    .news_grid {
        margin-top:20px;
        --elems:1;
        --gap:8px;
    }
    .news_image {
        min-height: 188px;
        max-height: 188px;
        border-radius: 6px;
    }
    h5 {
        font-size:16px;
    }
    .news_card {
        height: 100%;
        padding:12px 12px 12px 12px;
    }
    .news_card_footer {
        margin-top:30px;
    }
    .news_card_excerpt {
        margin-top: 10px;
    }
    .form_wrap {
        flex-direction: column;
    }
    .form_cf7 {
        width: 100%;
        padding: 20px;
    }
    .formw_right {
        width: 100%;
    }
    .fb_left {
        font-size: 12px;
    }
    .fb_right {
        font-size: 10px;
    }
    .cf7-title p {
        font-size: 20px;
    }
    .cf7-subtitle p {
        font-size:16px;
        margin-top:12px;
    }
    .cf7-row input {
        height: 50px;
        font-size: 16px;
        border-radius: 50px;
    }
    .cf7-submit input {
        font-size:16px;
        width: 100%;
    }
    .custom-dropdown-selected {
        height: 50px;
        font-size:16px;
    }
    .wpcf7-list-item input[type="checkbox"] {
        min-width: 18px;
        width: 18px;
        height: 18px;
    }
    span.wpcf7-list-item-label {
        font-size:12px;
    }
    .cf7-submit {
        width: 100%;
    }
    .cf7-row p {
        gap: 8px;
    }

    .footer_wrap {
        flex-direction: column;
    }
    .fw_right {
        width: 100%;
        position: relative;
    }

    .fw_left {
        padding-top: unset;
    }
    .fwl_tels {
        margin-top:20px;
        gap: 5px
    }
    .fwl_tels .in_tel {
        font-size: 16px;
    }
    .fwl_mail, .fwl_adress, .fwl_rejim {
        font-size: 16px;
        margin-top: 14px;
    }
    .fwl_socials {
        gap: 16px
    }
    .fwl_socials .in_tel {
        padding: 11px;
    }
    .fwl_socials .in_tel img {
        width: 18px;
        height: 18px;
    }
    #yandex-map {
        height: 340px;
    }
    .faq_btns {
        min-width: 50px;
        min-height: 50px;
        max-height: 50px;
        max-width: 50px;
    }
    .stories {
        max-width: 390px;
        min-width: 390px;
    }
    header .header__mobile {
        position: fixed;
        background-color: #F1F5F6;
        right: 15px;
        left: 0;
        top: 0;
        z-index: 10;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
        display: block;
    }
    body.showBurger header .header__mobile {
        opacity: 1;
        visibility: visible;
        bottom: 0;
        top: var(--headerHeight);
        right: 0;
        display: flex;
        justify-content: flex-end;
        z-index: 9999999999999999999999999;
    }

    .phero {
        flex-direction:column;
        gap:40px;
    }
    .phero_left {
        padding: 0;
    }
    .page-template-page-courses #hero:after {
        display: none;
    }
    h1 {
        text-align: center;
        font-size:30px;
    }
    .pl_desc p {
        max-width: 100%;
        padding: 30px 0 0 0;
        text-align: center;
        font-size: 14px;
    }
    .pr_img {
        width: 100%;
        height: auto;
        padding-bottom: 100px;
    }
    .pr_img img {
        width: 100%;
        object-fit: cover;
        display: block;
        height: auto;
    }
    .crswi_desc p {
        font-size: 16px;
        margin-top: 14px;
    }
    .crs_wr {
        grid-template-columns: repeat(1,1fr);
    }
    .crsw_item {
        height: 320px;
    }
    .wrap_rafa {
        grid-template-columns: repeat(1,1fr);
    }

    #courses::after {
        display: none;
    }
    .tax-format_courses .pr_img {
        width: 100%;
        height: 100%;
    }
    .tax-format_courses .pl_desc p {
        font-size: 14px;
    }
    .phero {
        padding-top: calc(var(--headerHeight) + 52px);
    }
    .courses-list .crsw_item {
        height: 410px;
    }
    .courses-list .crsw_btneet {
        max-height: 162px;
        overflow: scroll;
        margin-top: 20px;
    }
    .crswi_desc .btn {
        margin-left: unset;
        margin-top: 30px;
    }
    .course-group h2 {
        text-align: center;
    }
    .tax-format_courses .pr_img {
        padding-bottom: unset;
    }
    .swi_body > p + p:nth-child(2n+1) {
        margin-top: 20px;
    }
    .course-group + .course-group {
        margin-top: 40px;
    }

    .phero {
        flex-direction: column;
    }
    .single-courses .pr_img {
        position: relative;
        width:100%;
    }
    .single-courses .pl_desc p {
        width:100%;
        max-width: 100%;
    }
    .single-courses .phero_left {
        width: 100%;
    }
    .single-courses .pr_img {
        height: 450px;
        padding-bottom: unset;
    }
    .single-courses .pr_img::after {
        content: "";
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient( to bottom, rgba(0, 62, 70, 1) 0%, rgba(0, 62, 70, 0) 100% );
        pointer-events: none;
        z-index: 10;
        filter: blur(10px);
    }
    .single-courses .phero::after {
        display: none;
    }
    .mtop_medium {
        margin-top: 60px;
    }

    .scourse_title {
        max-width: 100%;
        text-align: center;
    }
    .swi_head .crsw_item .crswi_title .crswit_bx h3 {
        font-size:14px;
    }
    .sw_item {
        padding: 0 20px 20px;
    }
    #prices .crsw_item {
        height: 300px;
    }
    .swi_body {
        margin-top: 18px;
    }

    .swi_body > p {
        font-size: 16px;
    }
    .swi_head .crsw_item .crswi_title .crswit_bx h3 svg {
        width: 20px;
        height: 20px;
    }
    .swi_body > p > strong {
        font-size: 18px;
        margin-top: 5px;
    }
    .pride_swiperr .pride_slide {
        width: 570px !important;
        height: 460px !important;
    }
    .db {
        display: none;
    }
    #pride {
        padding-bottom: 60px;
    }

    .prs_wr {
        flex-direction: column;
        height: 460px;
    }
    .prsw_left {
        flex-direction: row;
        padding: unset;
        height: auto;
    }
    .prsw_right {
        min-width: unset;
        height: auto;
    }
    .prswl_top {
        display: flex;
        gap: 12px;
        align-items: center;
        /*! height: 100%; */
    }
    .prswr_img {
        height: 130px;
        width:130px;
        border-radius: 6px;
    }

    .prswl_top h5 {
        font-size:18px;
    }
    .pride.dn {
        padding-left: 16px;
    }
    .prs_wr {
        background: #144B58;
        border-radius: 20px;
        padding:14px;
    }
    .dn {
        display: block;
    }
    .news_title {
        display: none;
    }
    .mtop_tiny {
        margin-top: 40px;
    }
    .ng_left {
        width: 100%;
    }
    .ng_right {
        display: none;
    }
    .single-post .hero_mini {
        padding-bottom: 80px;
    }
    .hero_mini {
        padding-bottom: 62px;
    }
    .ngl_img {
        height: 400px;
    }
    .prsw_right {
        height: 100%;
        display: flex;
        flex-direction: column;
        margin-top:14px;
    }
    .prsw_right > p {
        font-size: 14px;
        color: var(--c-wBlue);
    }
    .single .hero_mini {
        padding-bottom: 80px;
        padding-top: calc(var(--headerHeight) + 40px);
    }
    .other-news-swiper h2 {
        text-align: center;
    }
    #single_news {
        padding-top: 40px;
    }
    .otherNewsSwiper {
        margin-top: 20px;
    }
    .fancybox-slide--video .fancybox-content {
        width: 100% !important;
        height: 100vh !important;
    }
    .page-template-front-page #hero:after {
        display: none;
    }

    .course-ekzameny-acca .crs_wr {
        grid-template-columns: repeat(1,1fr);
    }
    .course-ekzameny-cima .crs_wr {
        grid-template-columns: repeat(1,1fr);
    }
    .btn_route {
        font-size: 14px;
        left: 0;
    }
    .btn_route svg {
        width: 16px;
        height: 16px;
    }
}
@media(max-width: 550px) {
    .pride_slide {
        width: 350px !important;
    }
    .stories {
        max-width: 100%;
        min-width: 100%;
    }
    .ngl_img {
        height: 250px;
    }
    #prices .crsw_item {
        height: 200px;
    }
    .single-courses .pr_img {
        height: 360px;
    }
    .ihtt_bx h3 {
        font-size: 20px;
    }
    .accawr_img {
        height: 100%;
        display: flex;
    }
    .accawr_img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}