@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
    font-family: "Open Sans", sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background: #233874;
}
::-webkit-scrollbar-track {
    background: #ffffff;
    border: 1px solid #efefef;
}

header#main_header > .size_header, .header_navigation > nav > .container-fluid, div#body_size, .footer_size {
    margin: 0 auto;
    width: 80%;
    max-width: 1250px;
}
.spec_item_block_spacer_text.spacer_min {
    height: 170px;
}
.content_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
}
.header_phone {
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
}
.header_work {
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
}
.header_center {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    text-align: center;
    justify-content: center;
}
.header_right {
    min-width: 200px;
    text-align: right;
}
.header_navigation > nav {
    background-color: #233874 !important;
}
.header_navigation > nav a {
    color: white !IMPORTANT;
}
header#main_header {
    color: #233874;
}

.header_center > h1 {
    FONT-WEIGHT: 700;
    font-size: 33px;
}
a.header_link_social {
    transition: 0.4s;
    padding: 15px;
    background: transparent;
    color: #233874;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    border: 1px solid #233874;
    width: 25%;
}
a.header_link_social:hover {
    transition: 0.4s;
    border-bottom: 10px solid;
}
.header_social {
    height: 75px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.spacer_social {
    height: 3px;
    width: 15px;
}
li.nav-item > a {
    font: normal bold 18px / 22px "Roboto", Helvetica, Arial, Verdana, sans-serif;
}
li.nav-item {
    transition: 0.4s;
    border-left: 1px solid #3a4f86;
}
li.nav-item:hover {
    transition: 0.4s;
    background: #3a4f86 !important;
}
ul.dropdown-menu.show > li > a {
    color: black !important;
}
ul.dropdown-menu.show > li > a {
    color: #233874 !important;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: #eef1f8 !important;
}
.footer_info {
    display: flex;
}
.footer_adres {
    text-align: left;
    max-width: 355px;
    margin-left: 25px;
}
.footer_copyright {
    margin-top: 30px;
}
#main_footer {
    background-color: #233874;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer_flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.footer_phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer_work {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 30px;
}
.footer_social {
    text-align: right;
    font-size: 28px;
    margin-top: 20px;
}
.footer_social a {
    opacity: 0.7;
    color: white;
}
.footer_social a:hover {
    opacity: 1;
}
button#scrollToTopButton {
    color: white;
    border-radius: 3px;
    background: #ff692e;
    border: 1px solid #ff692e;
}
.footer_bottom {
    display: flex;
    justify-content: space-between;
}
#main_center {
    background-image: url("../image/body_bg.png");
}
.home_box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: stretch;
}
.left_box_url, .right_box_url {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.home_left_box, .home_right_box {
    background: white;
    padding: 20px 50px 20px 50px;
    width: 49%;
}
.home_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.home_text {
    background: white;
    padding: 15px 45px 15px 45px;
    margin-top: 25px;
}
.home_image_block {
    display: flex;
    justify-content: space-between;
}

.home_image_block > img {
    width: 30%;
}
#zoomedImage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#zoomedImage img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out !important;
}

/* Стили для плавного появления */
.zoom-in {
    opacity: 1 !important;
}
span#closeButton {
    background: white;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    padding: 10px;
    color: black;
}
span#closeButton:hover {
    opacity: 0.9;
}
.block_size_Image {
    position: relative;
    z-index: 9999;
}
.margin_top {
    margin-top: 20px;
    margin-bottom: 20px;
}
.home_text_main {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.home_text_main > img {
    width: 385px;
    height: 420px;
    margin-left: 70px;
}
.end_education {
    margin-top: 20px;
}
.end_education {
    margin-top: 20px;
    background: white;
    padding: 15px 45px 15px 45px;
}
.home_image {
    margin-top: 20px;
    background: white;
    padding: 15px 45px 15px 45px;
}
.left_box_url > div > a {
    text-decoration: none;
    color: #233874;
}
.right_box_url > div > a {
    text-decoration: none;
    color: #233874;
}
.box_url_style {
    margin-top: 15px;
    background: #fbfbfb;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}
span.span_url {
    font-size: 13px;
    color: #737373;
}
.box_url_style:hover {
    background: #ebebeb;
}

.box_url_style:hover a {
    background: #ebebeb;
    font-weight: bold;
}
.go_page {
    transition: 0.4s;
    opacity: 0;
}
.box_url_style:hover .go_page{
    transition: 0.4s;
    opacity: 1;
}
.contacts_block {
    display: flex;
    background: white;
    padding: 15px 45px 15px 45px;
    justify-content: space-between;
}

.contact_text {
    max-width: 50%;
}
div#contacts_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
#work_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.work_block {
    display: flex;
    background: white;
    padding: 15px 45px 15px 45px;
    justify-content: space-between;
}
.work_block > img {
    width: 350px;
    margin-bottom: -15px;
}
a.work_download_file {
    text-decoration: none;
    background: #efefefcc;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #efefef;
    color: #991412;
}
.work_download_file > i.fa-solid.fa-download {
    transition: 0.4s;
    margin-right: 8px;
    padding: 14px;
    background: #233874;
    border-radius: 3px;
    margin-left: -13px;
    color: white;
    transition: 0.4s;
}
.work_download_file:hover {
    background: #233874;
    color: white;
    transition: 0.4s;
}

a.work_download_file:hover  .fa-download::before {
    transition: 0.4s;
    content: "\f103";
}
.work_bg {
    width: 100%;
    height: 250px;
    background: url(/style/image/work_bg.jpg);
    background-position: center;
    background-size: 100%;
    margin-bottom: 15px;
    border-radius: 3px;
}
.work_block.revers_top {
    flex-direction: column;
}

.revers_left {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.no_flex {
    display: block;
}
.left_bg_box_url {
    background-image: url(/style/image/work_2.jpg);
    width: 1280px;
    height: 400px;
    background-position: center;
    margin-right: 29px;
    border-radius: 3px;
}
#distance_education_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.distance_education_block {
    background: white;
    padding: 15px 45px 15px 45px;
}
.image_box_dist_education {
    width: 820px;
    height: 250px;
    background-image: url(/style/image/dist_education.jpg);
    background-position: center;
    background-size: cover;
    margin-right: 19px;
    border-radius: 3px;
}
.one_block_distance_education {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
}
.rules_education {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.border_spacer {
    width: 4px;
    height: 550px;
    background: #233874;
    margin-left: 30px;
    margin-right: 30px;
    opacity: 0.2;
}
.size_flex_45 {
    width: 45%;
}
.three_block_distance_education {
    display: flex;
    flex-direction: row-reverse;
}
.image_box_dist_education_2 {
    width: 640px;
    height: 370px;
    background-image: url(/style/image/dist_eductaion_2.jpg);
    background-position: center;
    background-size: 126%;
    border-radius: 3px;
    margin-left: 40px;
}
#teacher_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.teacher_block {
    background: white;
    padding: 15px 45px 15px 45px;
}

.teacher_flex {
    display: flex;
    flex-direction: column;
}
.teacher_text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}
.teacher_image {
    width: 100%;
    height: 300px;
    background: url(/style/image/teacher.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
    margin-bottom: 20px;
}
a.button_teacher {
    border: 1px solid #d5dbe8;
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    padding: 10px;
    background: #ff692e;
    margin-bottom: 8px;
    border-radius: 3px;
    margin-right: 10px;
}
a.button_teacher:hover {
    opacity: 0.5;
}
#gallery_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.gallery_block {
    background: white;
    padding: 15px 45px 15px 45px;
}
.gallery_view {
    width: 360px;
    border-radius: 3px;
    background: #f4f4f4;
    padding: 5px;
    border: 1px solid #efefef;
    text-decoration: none;
    color: #233874;
    margin-bottom: 20px;
}
.gallery_view > span {
    transition: 0.4s;
    padding: 5px;
    font-weight: bold;
}
.gallery_view > code {
    color: var(--bs-code-color);
    margin-left: 10px;
}
a.gallery_view:hover .gallery_view_image_1,a.gallery_view:hover .gallery_view_image_2,a.gallery_view:hover .gallery_view_image_3,a.gallery_view:hover .gallery_view_image_4,a.gallery_view:hover .gallery_view_image_5,a.gallery_view:hover .gallery_view_image_6,a.gallery_view:hover .gallery_view_image_7 {
    transition: 0.4s;
    opacity: 0.6;
}
.gallery_title > i {
    transition: 0.4s;
    opacity: 0;
}
a.gallery_view:hover .gallery_title > i {
    transition: 0.4s;
    opacity: 1;
}
.gallery_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: space-between;
}
.gallery_view_image_1 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_1.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_2 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_2.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_3 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_3.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_4 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_4.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_5 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_5.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_6 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_6.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_7 {
    transition: 0.4s;
    background-image: url(/style/image/gallery/prew_7.jpg);
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 10px;
}
.gallery_view_image_1, .gallery_view_image_2, .gallery_view_image_3,.gallery_view_image_4,.gallery_view_image_5,.gallery_view_image_6,.gallery_view_image_7 {
    background-size: cover !important;
}
#gallery_photo_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.gallery_photo_block {
    background: white;
    padding: 15px 45px 15px 45px;
}
.gallery_photo_block > div > img {
    transition: 0.4s;
    width: 250px;
    height: 250px;
    background-position: center;
    background-size: 100%;
    margin-bottom: 20px;
    border-radius: 3px;
    object-fit: cover;
}
.gallery_photo_block > div > img:hover {
    transition: 0.4s;
    opacity: 0.6;
    cursor: zoom-in;
}
div#this_scroll > div > img {
    margin-left: 3%;
}
.prev-button, .next-button {
    background: 0 0;
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
}
.prev-button {
    left: 0;
    margin-left: 20px;
}
.next-button {
    right: 0;
    margin-right: 20px;
}
.prev-button:hover, .next-button:hover {
    opacity: 0.6;
}
/*online education */
.online_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.online_box {

}
.online_left_box, .online_right_box {
    background: white;
    padding: 20px 50px 20px 50px;
    width: 49%;
}
.online_left_box_url, .online_right_box_url {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.online_box_url_style {
    margin-top: 15px;
    background: #fbfbfb;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}
span.online_span_url {
    font-size: 13px;
    color: #737373;
}
.online_box_url_style:hover {
    background: #ebebeb;
}

.online_box_url_style:hover a {
    background: #ebebeb;
    font-weight: bold;
}
.online_go_page {
    transition: 0.4s;
    opacity: 0;
}
.online_box_url_style:hover .online_go_page{
    transition: 0.4s;
    opacity: 1;
}
.online_left_box_url > div > a, .online_right_box_url > div > a {
    text-decoration: none;
    color: #233874;
}

.online_link_box {
    display: flex;
    justify-content: space-between;
}
.online_description {
    background: white;
    padding: 15px 45px 15px 45px;
}
.online_block_description_img {
    width: 100%;
    height: 350px;
    background-color: gray;
    background-image: url(/style/image/online/info_bg.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
    margin-bottom: 20px;
}

/**/

#online_page_subclass {
    padding-top: 25px;
    padding-bottom: 25px;
}
.online_block_subclass {
    background: white;
    padding: 15px 45px 15px 45px;
}
.online_main_subclass {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.online_main_subclass_text {
    width: 35%;
}
.online_bottom_subclass {
    display: flex;
    justify-content: space-between;
}
.online_document_subclass, .online_price_subclass {
    width: 40%;
}
.online_border_spacer {
    width: 4px;
    height: 200px;
    background: #233874;
    margin-left: 30px;
    margin-right: 30px;
    opacity: 0.2;
}
.online_location_subclass {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
}

.online_location_subclass_text {
    width: 45%;
}
.online_main_subclass_img_1 {
    width: 60%;
    height: 400px;
    margin-bottom: 20px;
    background-image: url(/style/image/online/personal_manager.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
.online_main_subclass_img_2 {
    width: 60%;
    height: 400px;
    margin-bottom: 20px;
    background-image: url(/style/image/online/house_manager.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
.online_main_subclass_img_3 {
    width: 60%;
    height: 400px;
    margin-bottom: 20px;
    background-image: url(/style/image/online/1c_auditor.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
.online_main_subclass_img_4 {
    width: 60%;
    height: 400px;
    margin-bottom: 20px;
    background-image: url(/style/image/online/logic_manager.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
.online_main_subclass_img_5 {
    width: 60%;
    height: 400px;
    margin-bottom: 20px;
    background-image: url(/style/image/online/interior-designer.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
#spec_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.spec_block {
    background: white;
    padding: 15px 45px 15px 45px;
}
.spec_item_block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
.spec_item_block_image_1 {
    background-size: 250%;
    width: 50%;
    height: 939px;
    background-image: url(../image/spec/bg_spec_1.jpg);
    border-radius: 3px;
    background-position-x: -130px;
}
.spec_item_block_image_2 {
    background-size: 140%;
    width: 50%;
    height: 350px;
    background-image: url(../image/spec/bg_spec_2.jpg);
    border-radius: 3px;
    background-position-x: -130px;
    background-position-y: -70px;
}
.spec_item_block_image_3 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_3.jpg);
    border-radius: 3px;
    background-size: 120%;
}
.spec_item_block_image_4 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_4.jpg);
    border-radius: 3px;
    background-size: 120%;
}
.spec_item_block_image_5 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_5.jpg);
    border-radius: 3px;
    background-size: 120%;
}
.spec_item_block_image_6 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_6.jpg);
    border-radius: 3px;
    background-size: 100%;
}
.spec_item_block_image_7 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_7.jpg);
    border-radius: 3px;
    background-size: 120%;
    background-position: center;
}
.spec_item_block_image_8 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_8.jpg);
    border-radius: 3px;
    background-size: 120%;
    background-position: center;
}
.spec_item_block_image_9 {
    width: 50%;
    height: 420px;
    background-image: url(../image/spec/bg_spec_9.jpg);
    border-radius: 3px;
    background-size: 120%;
    background-position: center;
}
.spec_item_block_text {
    width: 45%;
}
.spec_item_block_flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 70px;
}
.spec_item_block_spacer_text {
    width: 4px;
    height: 400px;
    background: #ffd0bf;
    margin-right: 20px;
}
.spec_item_block_document {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
.spec_item_block_document_image {
    background-image: url(../image/dist_eductaion_2.jpg);
    width: 45%;
    height: 280px;
    background-position: center;
    background-size: 100%;
    border-radius: 3px;
}
.spec_item_block_document_text {
    width: 53%;
}
.spec_block_location {
    display: flex;
    justify-content: space-between;
}
.spec_block_location_text {
    width: 45%;
}
.spec_block_plan > code > b {
    font-size: 18px;
}
.navbar-toggler {
    display: none;
}
/*min-width*/
@media (max-width: 1580px) {
    ul.navbar-nav li > a {
        font-size: 15px !important;
    }

    .work_block {
        display: flex;
        background: white;
        padding: 15px 45px 15px 45px;
        justify-content: space-between;
        align-items: flex-end;
    }

    .work_block.revers_top > div {
        width: 100%;
    }

    .work_block.no_flex {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .revers_left {
        display: flex;
        flex-direction: column-reverse;
    }

    .revers_left > div {
        width: 100%;
    }

    .left_bg_box_url {
        background-size: 100%;
    }

    .image_box_dist_education {
        background-size: cover;
    }

    .image_box_dist_education_2 {
        background-size: cover;
    }

    .gallery_flex {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-content: flex-start;
        justify-content: space-evenly;
    }

    .online_main_subclass_img_1, .online_main_subclass_img_2, .online_main_subclass_img_3, .online_main_subclass_img_4, .online_main_subclass_img_5 {
        background-size: cover;
    }

    .spec_item_block_image_1,.spec_item_block_image_2,.spec_item_block_image_3,.spec_item_block_image_4,.spec_item_block_image_5,.spec_item_block_image_6,.spec_item_block_image_7,.spec_item_block_image_8,.spec_item_block_image_9 {
        background-size: cover;
    }
    .spec_item_block_image_2 {
        background-position: center;
    }

    .spec_item_block_document_image {
        background-size: cover;
    }
}
@media (max-width: 1660px) {
    div#pc_zapis > a > img {
        width: 120px !important;
    
    }
}
@media (max-width: 1340px) {
    ul.navbar-nav li>a {
        font-size: 14px !important;
    }
}
@media (max-width: 1265px) {
    ul.navbar-nav li>a {
        font-size: 13px !important;
    }
    a.header_link_social {
        font-size: 13px;
    }
}
/* phone */
@media (max-width: 1199px) {
    .navbar-toggler {
        display: block;
    }
    .content_header {
        display: flex;
        flex-direction: column;
    }
    .header_phone {
        display: flex;
        flex-direction: column;
    }
    .header_phone > span {
        margin-left: 15px;
        margin-right: 15px;
    }

    .header_right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header_work {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header_work > span {
        margin-left: 10px;
        margin-right: 10px;
    }

    li.nav-item {
        border-left: none;
        border-bottom: 2px solid #3a4f86;
    }

    .home_text_main {
        display: flex;
        flex-direction: column-reverse;
    }

    .home_left_box, .home_right_box {
        padding: 20px 20px 20px 20px;
        width: 100%;
        margin-bottom: 10px;
    }

    .home_text,.end_education,.home_image {
        padding: 20px 20px 20px 20px;
    }
    .spacer_social {
        width: 5px;
    }
    a.header_link_social {
        width: auto;
    }
    .home_box {
        display: flex;
        flex-direction: column;
    }
    .home_text_main > img {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 25px;
    }
    .footer_flex {
        display: flex;
        flex-direction: column;
    }
    .footer_info {
        display: flex;
        flex-direction: column;
    }
    .footer_phone {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer_work {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 30px;
    }
    .footer_social {
        text-align: left;
        font-size: 28px;
        margin-top: 20px;
    }

    .footer_adres {
        margin-left: 0;
        margin-top: 20px;
    }
    .prev-button, .next-button {
        top: 92%;
    }
    span.navbar-toggler-icon {
        filter: brightness(15.5);
    }
    div.navbar-toggler {
        background: #233874 !important;
        padding: 10px;
        font-size: 18px;
    }
    ul.dropdown-menu.show > li > a {
        white-space: normal;
    }
    .contacts_block {
        display: flex;
        flex-direction: column;
        padding: 20px 20px 20px 20px;
    }
    .contact_text {
        max-width: 100%;
    }
    .contacts_block > iframe {
        width: 100%;
    }
    .work_block > img {
        display: none;
    }
    .work_bg {
        background-size: 200%;
    }
    .work_block.revers_top, .work_block {
        padding: 20px;
    }
    a.work_download_file {
        font-size: 15px;
    }
    .left_bg_box_url {
        display: none;
    }
    .distance_education_block {
        padding: 20px;
    }
    .image_box_dist_education {
        display: none;
    }
    .rules_education {
        display: flex;
        flex-direction: column;
    }
    .size_flex_45 {
        width: auto;
    }
    .border_spacer {
        width: 100%;
        height: 3px;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .image_box_dist_education_2 {
        display: none;
    }
    .teacher_image {
        display: none;
    }
    .modal-dialog {
        max-width: 100% !important;
        width: 100% !important;
    }
    .online_block_description_img {
        display: none;
    }
    .online_description {
        padding: 20px;
    }
    .online_link_box {
        display: flex;
        flex-direction: column;
    }
    .online_left_box, .online_right_box {
        padding: 20px;
        width: 100%;
    }
    .online_main_subclass_img_1,.online_main_subclass_img_2,.online_main_subclass_img_3,.online_main_subclass_img_4,.online_main_subclass_img_5 {
        display: none;
    }
    .online_main_subclass_text {
        width: 100%;
    }
    .online_block_subclass {
        padding: 20px;
    }
    .online_bottom_subclass {
        display: flex;
        flex-direction: column;
    }
    .online_document_subclass, .online_price_subclass {
        width: 100%;
    }
    .online_border_spacer {
        height: 3px;
        width: 100%;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .online_location_subclass {
        display: flex;
        flex-direction: column;
    }
    .online_location_subclass_text {
        width: 100%;
    }
    .online_location_subclass > iframe {
        width: 100%;
    }
    .gallery_block {
        padding: 20px;
    }
    .gallery_photo_block {
        padding: 20px;
    }
    #zoomedImage img {
        max-height: 70%;
    }
    .spec_item_block_image_1,.spec_item_block_image_2,.spec_item_block_image_3,.spec_item_block_image_4,.spec_item_block_image_5,.spec_item_block_image_6,.spec_item_block_image_7,.spec_item_block_image_8,.spec_item_block_image_9 {
        display: none;
    }
    .spec_block {
        padding: 20px;
    }
    .spec_item_block_text {
        width: 100%;
    }
    .spec_item_block_flex {
        display: flex;
        flex-direction: column;
    }
    .spec_item_block_spacer_text {
        height: 3px !important;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .spec_item_block_document_image {
        display: none;
    }
    .spec_item_block_document_text {
        width: 100%;
    }
    .spec_block_location {
        display: flex;
        flex-direction: column;
    }
    .spec_block_location_text {
        width: 100%;
    }
    .spec_block_location > iframe {
        width: 100%;
    }
    div#phone_zapis {
        display: inline-block !important;
    }
    div#pc_zapis {
        display: none !important;
    }
}
a.phone_link {
    text-decoration: none;
    color: #233874;
}
div#phone_zapis {
    display: none;
}
.footer_phone > span > a {
    color: white !important;
}
div#send_page {
    padding-top: 25px;
    padding-bottom: 25px;
}
.send_block {
    background: white;
    padding: 15px 45px 15px 45px;
}

#frisbie-messengers section.FrisbieMessengers .FrisbieMessengers__button{
  background-color: rgb(0, 117, 175) !important;
}
#frisbie-messengers .Frisbie_me_Messengers_2a7cf32 .FrisbieMessengers__button.whatsapp {
    background-color: #25d366 !important;
}


/* Fixed Button */
.fixed-btn-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fixed-btn-container .contact-btn, .main-btn {
  padding: 12px;
  height: 64px;
  width: 64px;
  border: none;
  border-radius: 12px;
  background-color: rgb(0, 117, 175);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  
  display: flex;
  justify-content: center;
  align-items: center;
}
.fixed-btn-container .contact-btn, .main-btn svg {
    font-size: 35px;
}
.fixed-btn-container .contact-btn, .main-btn svg.close{
  display: none;
}
.fixed-btn-container .contact-btn, .main-btn.show svg.open{
  display: none;
}
.fixed-btn-container .contact-btn, .main-btn.show svg.close{
  display: block;
}
.fixed-btn-container .contact-btn.phone {
  
}
.fixed-btn-container .contact-btn.whatsapp{
  background-color: #25d366;
}
.fixed-btn-container .contact-btn {
  display: none;
  justify-content: center;
  align-items: center;
}
.fixed-btn-container .contact-btn.show {
  display: flex;
}






