html,body{
    height: 100%;
}
.toggle_open .eduhk-accordion-content.et_pb_toggle_content {
    height: min-content !important;
}
.single-et_footer_layout.postid-101 #main-content{
	display: none !important;	
}
.temp-hide{
    display: none !important;
}
body .eduhk-news-img,body .eduhk-news-img p{
    text-align: center !important;
}
.moodle-tab-section .iksm-terms .iksm-terms-tree__inner .iksm-term::before {
    display: none;
}

.moodle-tab-section .iksm-terms-tree--parents.iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner {
    position: relative;
}

.moodle-tab-section .iksm-terms-tree--parents.iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    border: 2px solid transparent;
    background: var(--color-turquoise-light);
    border-radius: 6px;
    box-shadow: 0px 2px 18px 7px rgba(0, 0, 0, 0.08);
}

.moodle-tab-section .iksm-terms-tree--parents.iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term.iksm-term--current>.iksm-term__inner::before {
    background: transparent;
}

.moodle-tab-section .iksm-terms .iksm-terms-tree__inner .iksm-term.iksm-term--expanded>.iksm-term__inner::before {
    opacity: 0;
}

.moodle-tab-section .iksm-terms .iksm-term.iksm-term--expanded .iksm-terms-tree__inner {
    display: block;
    padding: 15px 0;
}

.moodle-tab-section .iksm-terms .iksm-term--expanded .iksm-terms-tree__inner .iksm-term .iksm-term__inner {
    background: #e5f3f5 !important;
}

.moodle-tab-section .iksm-terms .iksm-terms-tree__inner .iksm-term .iksm-terms-tree .iksm-term__link {
    background: transparent;
    margin: 15px 30px;
    margin-bottom: 0;
}

.moodle-tab-section .iksm-terms .iksm-terms-tree__inner .iksm-term .iksm-terms-tree .iksm-term:last-child .iksm-term__link {
    margin-bottom: 15px;
}

.moodle-tab-section .iksm-terms .iksm-terms-tree__inner .iksm-term .iksm-terms-tree {
    padding: 0;
}

.tribe-events-pg-template .image-content .content-side {
    overflow: hidden;
}

.decm_divi_event_calendar .fc-view-container table tbody.fc-body td .fc-widget-content .fc-content-skeleton .fc-event-container a.fc-event .fc-calendar-title a,
a.fc-time-grid-event .fc-content .fc-title span.fc-calendar-title>a {
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}

.fc-row .fc-content-skeleton tbody td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.fc-day-grid .fc-row .fc-content-skeleton tbody td.fc-event-container {
    padding-bottom: 0 !important;
}

/* .decm_divi_event_calendar .fc-view-container .fc-event-container a.fc-time-grid-event
{
    overflow: hidden;
} */
.fc-ltr .fc-time-grid .fc-event-container.cus-event-week-container-4 {
    margin: 0 !important;
}

.decm_divi_event_calendar .fc-view-container .fc-event-container a.fc-time-grid-event {
    padding: 0 !important;
    overflow: hidden;
    width: 35px;
    margin: 0 !important;
}

.decm_divi_event_calendar .fc-view-container .fc-event-container.cus-event-week-container a.fc-time-grid-event {
    width: 12px !important;
}

.decm_divi_event_calendar .fc-view-container .fc-timeGridDay-view .fc-event-container a.fc-time-grid-event {
    width: auto !important;
    padding-left: 4px !important;
}

.fc-ltr .fc-time-grid .fc-event-container.cus-event-week-container-4 a.fc-time-grid-event {
    width: auto !important;
}

.decm_divi_event_calendar .fc-view-container .fc-timeGridDay-view .fc-event-container a.fc-time-grid-event .fc-calendar-title {
    padding-right: 10px;
}

/* .decm_divi_event_calendar .fc-view-container .fc-event-container a.fc-time-grid-event .fc-content .fc-title span.fc-calendar-title > a,
.decm_divi_event_calendar .fc-view-container .fc-event-container a.fc-time-grid-event .fc-content .fc-title a, */
.tooltip_main .content span.tooltip-des {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 55px;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.fc-ltr .fc-axis,
.decm_divi_event_calendar .fc-view-container .fc-view tbody.fc-body .fc-axis.fc-widget-content {
    padding: 14px 18px !important;
    text-align: center;
}

.tooltip_main .content a.tooltip-btn {
    margin-top: 10px;
}

/* calender list */
.fc-unthemed .fc-list-view table.fc-list-table tbody {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table tr.fc-list-heading {
    margin-bottom: 0;
    width: 100%;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table tr.fc-list-heading:not(:first-child) {
    margin-top: 20px;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table tr.fc-list-heading td {
    width: -webkit-fill-available;
    display: flex;
    justify-content: space-between;
}

.decm_divi_event_calendar .fc-view-container .fc-list-item {
    border: 1px solid var(--Stroke, #D0D0D0);
    background: var(--BG, #F9FAFA);
    padding: 4px 10px;
    width: 100%;
    display: flex;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table tr.fc-list-heading+.fc-list-item {
    padding-top: 10px;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table .fc-list-item:has(+ tr.fc-list-heading),
.decm_divi_event_calendar .fc-view-container .fc-list-item~.fc-list-item:has(+ .dec-tooltip),
.decm_divi_event_calendar .fc-view-container .fc-list-item~.fc-list-item:last-child,
tr.fc-list-item.conference_dec_category:last-child {
    padding-bottom: 10px;
}

.decm_divi_event_calendar .fc-view-container .fc-list-item~.fc-list-item {
    padding-bottom: 0;
    border: 0;
}

.decm_divi_event_calendar .fc-view-container .fc-list-item:has(+ .fc-list-item) {
    border: 0;
    border-left: 1px solid var(--Stroke, #D0D0D0);
    border-right: 1px solid var(--Stroke, #D0D0D0);
    padding-bottom: 0;
}

.decm_divi_event_calendar .fc-view-container .fc-list-view .fc-list-table .fc-list-item:has(+ tr.fc-list-heading),
.decm_divi_event_calendar .fc-view-container .fc-list-item~.fc-list-item:has(+ .dec-tooltip),
.decm_divi_event_calendar .fc-view-container .fc-list-item~.fc-list-item:last-child {
    border-left: 1px solid var(--Stroke, #D0D0D0);
    border-right: 1px solid var(--Stroke, #D0D0D0);
    border-bottom: 1px solid var(--Stroke, #D0D0D0);
}

.decm_divi_event_calendar .fc-view-container .fc-list-item td.fc-list-item-time {
    width: fit-content;
    order: 2;
}

.decm_divi_event_calendar .fc-view-container .fc-list-item td.fc-list-item-marker {
    display: none;
}

.decm_divi_event_calendar .fc-view-container .fc-list-item td.fc-list-item-title {
    width: 100%;
}

.tooltip_main .content span.tooltip-des:empty {
    height: 0;
    margin: 0;
}

.tooltip_main .content a.tooltip-btn::before {
    top: 4px;
}

.decm_divi_event_calendar.staff-calendar .fc-view-container .fc-event-container a.fc-time-grid-event,
.decm_divi_event_calendar.staff-calendar .fc-view-container .fc-list-view .fc-list-table tr.fc-list-item td {
    background: #B5CFF0 !important;
}

.fc-event-container a.fc-event span.fc-title,
.decm_divi_event_calendar .fc-view-container table tbody.fc-body td .fc-widget-content .fc-content-skeleton .fc-event-container a.fc-event span.fc-title {
    display: flex;
    flex-wrap: nowrap;
}

.fc-event-container a.fc-event span.fc-title span.fc-calendar-time,
.decm_divi_event_calendar .fc-view-container table tbody.fc-body td .fc-widget-content .fc-content-skeleton .fc-event-container a.fc-event span.fc-calendar-time {
    display: block;
    width: 100%;
    white-space: nowrap;
    order: 2;
}

.fc-event-container a.fc-event span.fc-title span.fc-calendar-title,
.decm_divi_event_calendar .fc-view-container table tbody.fc-body td .fc-widget-content .fc-content-skeleton .fc-event-container a.fc-event span.fc-calendar-title {
    display: inline-block;
    order: 1;
    padding-right: 8px;
}

.dec-tooltip:has(.tooltip_main) {
    /* left: -20px !important; */
    width: 100% !important;
}

.fc-view, .fc-view>table
{
   position: unset;
}

.fc-popover.fc-more-popover .fc-body.fc-widget-content .fc-event-container {
    max-height: 160px;
    overflow-y: auto;
}

.fc-popover.fc-more-popover .fc-body.fc-widget-content .fc-event-container .fc-day-grid-event span.fc-title,
.fc-time-grid-event .fc-title {
    display: flex;
}

.fc-popover.fc-more-popover .fc-body.fc-widget-content .fc-event-container .fc-day-grid-event span.fc-title .fc-calendar-time,
.fc-time-grid-event .fc-title .fc-calendar-time {
    order: 2;
    white-space: nowrap;
}

.fc-popover.fc-more-popover .fc-body.fc-widget-content .fc-event-container .fc-day-grid-event span.fc-title .fc-calendar-title,
.fc-time-grid-event .fc-title .fc-calendar-title {
    order: 1;
    width: fit-content;
    padding-right: 10px;
}

.fc-popover.fc-more-popover .fc-body.fc-widget-content .fc-event-container .fc-day-grid-event span.fc-title .fc-calendar-title a {
    white-space: nowrap;
}

.decm_divi_event_calendar .fc-view-container .fc-popover {
    border-radius: 4px;
    border-color: var(--Stroke, #D0D0D0);
    box-shadow: 0px 4px 10px 0px rgba(160, 178, 175, 0.20);
    margin-left: -7px;
}

.fc-popover .fc-header span.fc-title {
    overflow: hidden;
    color: var(--White, #FFF);
    text-overflow: ellipsis;
    font-family: var(--font-opensans);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    --max-fs: var(--text-h5);
    --min-fs: var(--text-h5-min);
    --slope: calc((var(--max-fs) - var(--min-fs)) / (var(--max-vw) - var(--min-vw)));

    --min-fs-px: calc(var(--min-fs) * 1px);
    --max-fs-px: calc(var(--max-fs) * 1px);
    --fs-px: calc(var(--slope) * (100vw - var(--min-vw-px)) + var(--min-fs-px));

    font-size: clamp(var(--min-fs-px), var(--fs-px), var(--max-fs-px)) !important;
}

.fc-popover .fc-header span.fc-close {
    opacity: 1;
    font-size: 24px;
}

.fc-popover .fc-header span.fc-close.fc-icon-x:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.851 6.95104C18.9366 6.86563 19.0044 6.76421 19.0507 6.65258C19.0971 6.54094 19.1209 6.42127 19.121 6.30041C19.1211 6.17954 19.0974 6.05985 19.0512 5.94815C19.005 5.83646 18.9373 5.73496 18.8518 5.64944C18.7664 5.56393 18.665 5.49607 18.5534 5.44975C18.4417 5.40343 18.3221 5.37955 18.2012 5.37947C18.0803 5.3794 17.9606 5.40313 17.849 5.44931C17.7373 5.4955 17.6358 5.56323 17.5502 5.64864L11.9998 11.199L6.45104 5.64864C6.27833 5.47593 6.04409 5.37891 5.79984 5.37891C5.55559 5.37891 5.32135 5.47593 5.14864 5.64864C4.97593 5.82135 4.87891 6.05559 4.87891 6.29984C4.87891 6.54409 4.97593 6.77833 5.14864 6.95104L10.699 12.4998L5.14864 18.0486C5.06313 18.1342 4.99529 18.2357 4.94901 18.3474C4.90273 18.4591 4.87891 18.5789 4.87891 18.6998C4.87891 18.8208 4.90273 18.9405 4.94901 19.0523C4.99529 19.164 5.06313 19.2655 5.14864 19.351C5.32135 19.5238 5.55559 19.6208 5.79984 19.6208C5.92078 19.6208 6.04054 19.597 6.15227 19.5507C6.264 19.5044 6.36553 19.4366 6.45104 19.351L11.9998 13.8006L17.5502 19.351C17.723 19.5235 17.9571 19.6204 18.2012 19.6202C18.4453 19.6201 18.6793 19.523 18.8518 19.3502C19.0243 19.1775 19.1212 18.9434 19.121 18.6993C19.1209 18.4552 19.0238 18.2211 18.851 18.0486L13.3006 12.4998L18.851 6.95104Z' fill='white'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;

}

.decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header {
    position: relative;
    border-radius: 0;
}

.decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before {
    content: "";
    display: block;
    width: 24px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.52637 -8.32822e-07L19.0526 16.5H8.7738e-05L9.52637 -8.32822e-07Z' fill='%235A6E72'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: -14px;
    left: 3px;
}

html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active .pum-container .scroll-section {
    overflow-y: auto;
}

.fc-time-grid .fc-content-skeleton td {
    border: 0 !important;
}

.decm_divi_event_calendar .fc-view-container .fc-widget-content .fc-divider {
    display: none;
}

.fc-time-grid .fc-slats {
    margin-top: 5px;
}

.fc-view.fc-timeGridDay-view.fc-timeGrid-view .fc-time-grid .fc-slats {
    margin-top: 5px;
}

.fc-view.fc-timeGridWeek-view.fc-timeGrid-view td.fc-widget-content .fc-day-grid .fc-row.fc-week.fc-widget-content .fc-bg>table,
.fc-view.fc-timeGridDay-view.fc-timeGrid-view td.fc-widget-content .fc-day-grid .fc-row.fc-week.fc-widget-content .fc-bg>table {
    border-bottom: 2px solid var(--color-turquoise-light) !important;
}

.decm_divi_event_calendar .fc-view-container .fc-widget-content table tr td.fc-today {
    border-left-color: #dddddd;
    border-right-color: #dddddd;
}

/* student eportfolio */
#tab-content .et_pb_accordion .et_pb_toggle {
    background: white;
}

#tab-content .et_pb_accordion .et_pb_toggle .et_pb_toggle_title {
    background: var(--color-white-light);
}

/* --------------------------- */
div.event-listing-section .animate-slider .card a::before {
    display: none;
}

div.event-listing-section .animate-slider .card a .image-wrapper {
    position: relative;
}

div.event-listing-section .animate-slider .card a .image-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(30, 55, 60, 0.20);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: 0.3s ease-in-out;
}

div.event-listing-section .animate-slider .card a:hover .image-wrapper::before {
    opacity: 1;
}

div.event-listing-section .animate-slider .card a .image-wrapper .play-btn::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background: url(../images/play-btn-hover.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    transition: 0.3s ease-in-out;
}

.horizontal-table.materials-download-table table tbody tr:nth-child(2) td:not(:first-child),
.horizontal-table.materials-download-table table tbody tr:nth-child(9) td:not(:first-child),
.horizontal-table.materials-download-table.full-bg-color table tbody tr:not(:first-child) td
{
    background-color: #F9FAFA;
}

.horizontal-table.materials-download-table table tbody tr:nth-child(2) td:nth-child(2),
.horizontal-table.materials-download-table table tbody tr:nth-child(9) td:nth-child(2) {
    font-weight: 600;
}

div.et_pb_section.news-section .et_pb_row .pagination a.next.page-numbers::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/eduhk-child/images/event-arrow.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

div.et_pb_section.news-section .et_pb_row .pagination a.prev.page-numbers::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/eduhk-child/images/event-arrow.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    transform: rotate(-180deg);
}

/* fixed for small screen show horizontal scrollbar  */
#et-boc {
    overflow: hidden;

}

/* ------- */
body:not(.et-fb-root-ancestor) [class*='et-lb-content'] .wrapper {
    max-width: 100%;
    height: 100%;
    padding: 40px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#et-boc div[class*='et-lb-content'] .wrapper img {
    position: unset;
    display: block;
    margin: 0 auto;
    transform: unset;
    height: -webkit-fill-available;
    width: fit-content;
    max-width: unset;

}

.spd-tabs .et_pb_column .et_pb_button_module_wrapper a.et_pb_button_0::after {
    transform: scale(1.2);
}

.spd-tabs .et_pb_column .et_pb_button_module_wrapper a.et_pb_button_3::after {
    top: 51%;
    transform: translateY(-50%);
}
@media screen and (max-width: 1561px) {
    .decm_divi_event_calendar .fc-view-container .fc-popover
    {
        width: 15vw;
    }
}
@media screen and (max-width: 1000px) {
    body:not(.et-fb-root-ancestor) [class*='et-lb-content'] .wrapper {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 769px) {
    body:not(.et-fb-root-ancestor) [class*='et-lb-content'] .wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header
    {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: end;
    }
}

@media screen and (max-width: 767px) {
    #et-boc div[class*='et-lb-content'] .wrapper img {
        height: 100%;
        max-width: 100%;
        width: auto;
    }
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 6vw;
    }
}

@media screen and (max-width: 541px) {
    #et-boc div[class*='et-lb-content'] .wrapper img {
        height: auto;
    }
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 9vw;
    }
}
@media screen and (max-width: 481px) {
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 12vw;
    }
}
@media screen and (max-width: 415px) {
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 16vw;
    }
}
@media screen and (max-width: 361px) {
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 21vw;
    }
}
@media screen and (max-width: 321px) {
    .decm_divi_event_calendar .fc-view-container .fc-popover .fc-widget-header::before
    {
        left: 25vw;
    }
}
/* home page useful links section */
.useful-links-section.logo .et_pb_row .et_pb_column:before {
    background: #0289A1;
}

@media screen and (min-width: 1562px) {
    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-145px);
    }

    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-135px);
    }
}

@media screen and (min-width: 1366px) and (max-width: 1561px) {
    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-155px);
    }

    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-145px);
    }
}

@media screen and (min-width: 1282px) and (max-width: 1367px) {
    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-160px);
    }

    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-150px);
    }

}

@media screen and (min-width:1026px) and (max-width: 1281px) {

    /* .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text p
    {
        height: 120px;
    } */
    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-121px);
    }

    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-120px);
    }
}

@media screen and (min-width: 1001px) and (max-width: 1025px) {

    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-128px);
    }
    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-120px);
    }
}

@media screen and (min-width: 836px) and (max-width: 1000px) {

    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-131px);
    }

    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-130px);
    }
}

@media screen and (min-width: 769px) and (max-width: 835px) {
    .useful-links-section.logo .et_pb_row .et_pb_column:hover .et_pb_text h5 {
        transform: translateY(-140px);
    }
    .useful-links-section.logo .et_pb_row .et_pb_column.et_pb_column_25:hover .et_pb_text h5 {
        transform: translateY(-130px);
    }
}

/* ---------- */
/* footer */
footer .et_pb_gutters3 .footer-first-row::before
{
    background-size: 100%;
    background-position: center ;
}
/* ------------ */
#tab-content .eduhk-accordion-title
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #F9FAFA;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 20px;
    position: relative;
}
#tab-content .eduhk-accordion-title img 
{
    margin-right: 10px;
    /* filter: brightness(0) saturate(100%) invert(20%) sepia(28%) saturate(576%) hue-rotate(142deg) brightness(90%) contrast(98%); */
}

#tab-content .eduhk-accordion-title img + span
{
    flex-basis: fit-content;
    text-align: justify;
    color: var(--color-text-dark);
    --max-fs: var(--text-h5);
    --min-fs: var(--text-h5-min);
    --slope: calc(
      (var(--max-fs) - var(--min-fs)) / (var(--max-vw) - var(--min-vw))
    );

    --min-fs-px: calc(var(--min-fs) * 1px);
    --max-fs-px: calc(var(--max-fs) * 1px);
    --fs-px: calc(var(--slope) * (100vw - var(--min-vw-px)) + var(--min-fs-px));

    font-size: clamp(var(--min-fs-px), var(--fs-px), var(--max-fs-px)) !important;
    text-transform: capitalize;
    margin-right: 10px;
    line-height: normal;
}
#tab-content .eduhk-accordion-title span#toggle-icon
{
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-left: auto;
}
#tab-content .eduhk-accordion-title:hover span#toggle-icon
{
    filter: brightness(0) saturate(100%) invert(19%) sepia(52%) saturate(5718%) hue-rotate(177deg) brightness(89%) contrast(86%);
}
#tab-content .eduhk-accordion-content.et_pb_toggle_content
{
    padding:0 40px;
    overflow: hidden;
    height: 0; 
/*     transition: height 0.4s ease; */
    background: white;
	    transition: height 0.7s ease, padding 0.4s ease, opacity 0.3s ease;
}
#tab-content .eduhk-accordion-title::after
{
    content: "";
    position: absolute;
    inset: 0;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    border: 2px solid transparent;
    background: var(--color-turquoise-light);
    border-radius: 6px;
    box-shadow: 0px 2px 18px 7px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
}
#tab-content .toggle_open .eduhk-accordion-content.et_pb_toggle_content
{
    padding-top: 40px;
    padding-bottom: 40px;
}
#tab-content #eduhk-accordion .et_pb_eduhk_accordion_item
{
    margin-bottom: 10px;
}
#tab-content #eduhk-accordion .et_pb_eduhk_accordion_item:last-child
{
    margin-bottom: 0;
}
#tab-content .toggle_open .eduhk-accordion-title,
#tab-content .eduhk-accordion-title:hover
{
    background: white;
}
#tab-content .toggle_open .eduhk-accordion-title::after,
#tab-content .eduhk-accordion-title:hover::after
{
    opacity:1;
    visibility: visible;
    background: linear-gradient(45deg, #0598cff2, #1be7cbc4) border-box;
    transition: 0.3s ease-in-out;
}
#tab-content .toggle_open .eduhk-accordion-title img{
    filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(2931%) hue-rotate(175deg) brightness(95%) contrast(86%);
}
#tab-content .toggle_open .eduhk-accordion-title img + span{
    color: #126F81;
}
#tab-content .toggle_open .eduhk-accordion-title span#toggle-icon
{
    background: url(../images/minus.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
@media screen and (max-width: 641px)
{
    #tab-content .eduhk-accordion-title
    {
        padding-left: 10px;
        padding-right: 10px;
    }
    #tab-content .eduhk-accordion-title img + span
    {
        text-align: left;
    }
    
    #tab-content .eduhk-accordion-content.et_pb_toggle_content
    {
        padding:0 20px;
    }
    #tab-content .toggle_open .eduhk-accordion-content.et_pb_toggle_content
    {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
/* event detail */
.content-side span.enroll-closed + .vertical-table.divide-line,
.content-side a.enroll-link + .vertical-table.divide-line,
.content-side a.enroll-link + .horizontal-table.materials-download-table.divide-line,
.content-side span.enroll-closed + .horizontal-table.materials-download-table.divide-line,
.content-side .event-speaker.divide-line.sp-title-not
{
    border: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}
.content-side .event-speaker.divide-line.sp-title-not
{
    padding-top: 20px !important;
}
.content-side .content-section-inner.first-content-divide-line
{
    padding-top: 50px;
    border-top: 1px solid #D0D0D0;
}
.single .content-section .content-side .horizontal-table.divide-line.sub-title
{
    border-top: 0;
    padding-top: 0 !important;
    margin-top: 20px !important;
}
.vertical-table.divide-line + .content-section-inner.first-content-divide-line
{
    margin-top: 50px;
}
@media screen and (max-width: 769px)
{
    .content-side .content-section-inner.first-content-divide-line
    {
        padding-top: 24px;
    }
    .vertical-table.divide-line + .content-section-inner.first-content-divide-line
    {
        margin-top: 24px;
    }
} 
/* ----------------- */
tr.has-date td:first-child
{
    border-bottom: 0;
}
tr.has-not-date td:first-child
{
    border-top: 0;
    border-bottom: 0;
}
td.date-empty,
div.event-listing-section .ecs-event-pagination.hidden
{
    display: none;
}
/* .page.et_pb_pagebuilder_layout #main-content
{
    overflow-y: auto;
} */
#main-content
{
    min-height: 100vh;
}
.moodle-tab-section.educational-wrapper.video-production .button-in-content.grid-two .et_pb_column,
.moodle-tab-section .et_pb_row .educational-row .pdf-button,
.moodle-tab-section .et_pb_row .educational-row .et_pb_button,
.moodle-tab-section .et_pb_row .educational-row .pdf-button .et_pb_button_module_wrapper
{
    height: 100%;
}
.moodle-tab-section .et_pb_row .educational-row .et_pb_button
{
    display: flex;
    align-items: center;
}
/* 22.5.2025 */
.container-xsm-sm.moodle-tab-section.two-col-title-image
{
    padding-top: 80px !important;
    padding-bottom: 120px !important;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents
{
    width: 100%;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .left-col
{
    width: calc(65% - 50px);
    margin-right: 50px;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .right-col
{
    width: 35%;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .ped-title
{
    margin-bottom: 0;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .ped-title h4.et_pb_module_heading
{
    line-height: 1.45;
}
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .ped-title h4.et_pb_module_heading,
.container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .left-col .button-in-content div.et_pb_text_inner p:not(:last-child)
{
    padding-bottom: 20px;
}
.two-col-title-image .custom-vo-divider
{
    padding-top: 0;
    padding-bottom: 0;
}
.to-remove-bg-image .et_pb_row_0 {
	background-image: unset;
}
@media only screen and (max-width: 980px)
{
    .container-xsm-sm.moodle-tab-section.two-col-title-image
    {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }
    .container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .left-col
    {
        width: 100%;
        margin-right: 0;
    }
    .container-xsm-sm.moodle-tab-section.two-col-title-image .moodle-contents .right-col
    {
        width: 100%;
    }
}
@media only screen and (max-width: 767px)
{
    .container-xsm-sm.moodle-tab-section.two-col-title-image
    {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
    }  
}
@media only screen and (min-width: 1200px) and (max-width: 1280px){
    div.message-director-section .et_pb_row table p{
        font-size: 14px;
    }
}
@media only screen and (max-width: 1200px){
    div.message-director-section .et_pb_row table tbody {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
    div.message-director-section .et_pb_row table::before{
        display: none;
    }
}