.QuickLinks_SFX_no_padding {
    padding: 0px;
}

.QuickLinks_SFX_module {
    padding: 10% 0%
}

.BTN_3 {
    background-color: #377dff;
    color: white;
    border-radius: 20px;
    padding: 11px 20px;
    display: inline-block;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

    .BTN_3:hover {
        cursor: pointer;
    }

#QuickLinks_modal .modal-header {
    display: flex;
    justify-content: center;
    padding: 50px 0 0;
    border: none;
    height: 20%;
}

#QuickLinks_modal .modal-content {
    border-radius: 25px;
    border: none;
    outline: 1px solid #F9FAFD !important;
    height: fit-content;
    -webkit-box-shadow: 0px 5px 30px #0000004d; /* rgba(0, 0, 0, 0.3) */
    box-shadow: 0px 5px 30px #0000004d; /* rgba(0, 0, 0, 0.3) */
}

#QuickLinks_modal .modal-body {
    padding: 20px;
}

.GFX_QuickLinks_modal_title {
    text-align: center;
    color: #003E7E;
    font-size: 38px;
    font-weight: 900;
    line-height: 0.8;
}

.GFX_QuickLinks_modal_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.GFX_QuickLinks_tiles {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-flow: row wrap;
}

.GFX_QuickLinks_tile_container {
    display: flex;
    flex-flow: column;
    gap: 10px;
    align-items: center;
    width: calc(50% - 60px);
}

.GFX_QuickLinks_tile {
    display: flex;
    gap: 10px;
    align-items: center;
    width: calc(50% - 60px);
    padding: 10px 20px;
    background-color: #F4F8FF;
    border-radius: 12px;
    cursor: pointer;
    transition: all ease-in 0.15s;
}

    .GFX_QuickLinks_tile:hover {
        box-shadow: 0px 10px 20px #081f5e33; /* rgba(8, 31, 94, 0.2) */
    }

    .GFX_QuickLinks_tile.editMode {
        width: 100%;
    }

.GFX_QuickLinks_tile_image {
    height: fit-content;
    width: max(110px, 30%);
    text-align: center;
    align-content: center;
}

.GFX_QuickLinks_tile_content_title {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.GFX_QuickLinks_tile_content_description {
    color: #377DFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.GFX_QuickLinks_contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: fit-content;
    padding: 0 20px;
    margin: 0 50px;
    border-radius: 12px;
    outline: 2px solid #EEE !important;
}

    .GFX_QuickLinks_contacts .contact_item {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        padding: 20px 0;
    }

        .GFX_QuickLinks_contacts .contact_item .contact_item_title {
            color: #555;
            font-size: 14px;
        }

        .GFX_QuickLinks_contacts .contact_item .contact_item_description {
            color: #000;
            font-size: 18px;
            font-weight: 900;
        }

.GFX_QuickLinks_officeHours {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 0.8;
    margin: 20px 0;
}

.quicklink-modal-dialog {
    width: min(100%, 900px);
    max-width: 900px;
    padding: 10px;
}

.QuickLinks_SFX_modal_title {
    top: 0;
    /*color: #ffffff;
    font-size: 40px;
    font-weight: 600;*/
    position: relative;
    top: -160px;
}

.QuickLinks_SFX_modal_title_block {
    height: 250px;
}

.BTN_modal_close_group {
    position: absolute;
    right: 35px;
    top: 35px;
    cursor: pointer;
}

    .BTN_modal_close_group td:first-child {
        color: rgba(0,0,0,0.3);
        padding: 0px 10px;
        font-weight: 600;
    }

.BTN_modal_close_button {
    color: #ffffff;
    background-color: #fe5f55;
    font-size: 40px;
    padding: 0px 10px;
    border-radius: 25px;
    line-height: 0;
    padding: 0;
}

.BTN_QuickLinks_Panel {
    background-color: #377dff;
    border: 1px solid #377dff;
    padding: 9.5px 20px;
    border-radius: 25px;
    cursor: pointer;
    color: #e5e5e5;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    position: relative;
    right: 15%;
    height: 2.7vw;
    max-height: 50px;
    min-height: 40px;
    width: 6.3vw;
    max-width: 120px;
    min-width: 80px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

    .BTN_QuickLinks_Panel:hover {
        border: 1px solid #044acc;
        background-color: #044acc;
        cursor: pointer;
    }

.GFX_QuickLinks_modal_content img {
    max-width: 110px;
    max-height: 110px;
}

.GFX_QuickLinks_modal_content a {
    text-decoration: none;
    color: inherit;
}


hr {
    border-top: 2px solid #377dff;
}

@media screen and (max-width: 767px) {
    .modal-dialog {
        padding: 75px 10px 10px;
        margin: 0;
    }

    .BTN_modal_close_group {
        right: calc(50% - 17.5px);
        top: -55px;
    }

        .BTN_modal_close_group td:first-child {
            display: none;
        }

    .BTN_QuickLinks_Panel {
        padding: 2vw 12%;
    }

    .GFX_QuickLinks_tiles {
        flex-flow: column;
        align-items: center;
    }

    .GFX_QuickLinks_tile {
        width: calc(100% - 40px);
    }

    .GFX_QuickLinks_contacts {
        margin: 0 20px;
    }

    .QuickLinks_modal_title img {
        width: 80%;
    }

    .GFX_QuickLinks_modal_content img {
        max-width: 80px;
        max-height: 80px;
    }

    .GFX_QuickLinks_contacts .contact_item {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 640px) {
    .GFX_QuickLinks_tile {
        width: 100%;
    }

    .GFX_QuickLinks_contacts {
        margin: 0;
    }
}
