/*Front page*/
.hero-section {
    position: relative;
    padding-bottom: var(--section-margin);
}
.hero-section::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    /*background-image: url('/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/home-banner.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: -1;
}
@media(max-width: 1440px) {
	.hero-section::after {
		 background-size: unset !important;
	}
}

@media(max-width: 820px) {
    .hero-section::after {
        display: none;
    }
	

}

@media(max-width: 425px) {
    .event-section .event-swiper .swiper-slide img {
       /* height:225px !important;*/
    }
}
/*front page tab*/
.tab-container#front-page-tab {
    background: rgba(247, 247, 247, 0.95);
    box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
    border-radius: 25px;
    padding: 0px 60px;
    padding-top: 40px;
    padding-bottom: 20px;
    font-weight: 500;
}
.tab-container#front-page-tab .tab-content {
    margin-top: 2rem;
}
/* @supports(backdrop-filter: blur(20px)) {
    .tab-container#front-page-tab {        
        backdrop-filter: blur(20px);     
    }  
} */
.tab-container#front-page-tab .tab-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.tab-container#front-page-tab .tab-nav li.active {
    color: var(--clr-primary);
	font-weight: 700;
}
.tab-container#front-page-tab .tab-nav li:not(:last-child)::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 2rem;
    background-color: var(--clr-font);
}
.tab-container#front-page-tab .search-bar {
    width: 100%;
    background-color: white;
    border: 0.5px solid #585656;
    box-sizing: border-box;
    box-shadow: 0px 2px 20px rgba(107, 107, 107, 0.1);
    border-radius: 15px;
}
.tab-container#front-page-tab .tab-content .search-bar form {
    display: flex;
    align-items: center;
}
.tab-container#front-page-tab .tab-content .search-bar input[type="search"] {
    width: 100%;
    background-color: transparent;
    border-color: transparent;
	 font-family: 'Poppins', sans-serif !important;
}
.tab-container#front-page-tab .tab-content .search-bar button[type="submit"] {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 0;
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-search-2.png);
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 1rem;
}
.tab-container#front-page-tab .tab-content .search-bar select {
    border-color: transparent;
    background-color: transparent;
    /*width: 6rem;*/
	padding:10px;
	font-family: 'Poppins', sans-serif !important;
	padding-right: 25px;
    font-size: 13px;
}
.tab-container#front-page-tab .tab-content .course-reserves .search-bar select,
.tab-container#front-page-tab .tab-content .exam-papers .search-bar select {
    border-color: transparent;
    background-color: transparent;
    /*width: 12rem;*/
    margin-right: 1rem;
}
.tab-container#front-page-tab .tab-content .advance-help {
    display: flex;
    margin-left: 1rem;
    margin-right: 1rem;      
    position: relative;
    flex-shrink: 0;
}
.tab-container#front-page-tab .tab-content .advance-help p{
    margin-right: 1rem;   
}
.tab-container#front-page-tab .tab-content ul.link-row {
    display: flex;   
    font-weight: 400;
    font-size: 87.5%; 
    flex-wrap: wrap;
    row-gap: 1rem;
}
.tab-container#front-page-tab .tab-content ul.link-row li {
    position: relative;
    margin-right: 2.5rem;       
	padding-left: 15px;
}
.tab-container#front-page-tab .tab-content ul.link-row li::before {
    /*content: "";
    background-color: var(--clr-primary);
    font-weight: bold;
    display: inline-block; 
    width: 8px;
    height: 8px;
    margin-right: 1.5rem;
    border-radius: 50%;*/
	content: "";
    background-color: var(--clr-primary);
    font-weight: bold;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 1.5rem;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}
.tab-container#front-page-tab .tab-content .search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tab-container#front-page-tab .tab-content .database-alphabet span{
    margin-right: 1rem;
}
@media(max-width: 1000px) {
    .tab-container#front-page-tab .search-row {
        flex-wrap: wrap;
        row-gap: 1rem;
    }
    .tab-container#front-page-tab .tab-content .advance-help {
        margin-left: 0;
        margin-right: 0;
    }
}
@media(min-width: 820px) {
    .tab-container#front-page-tab .mobile-tab-nav,
    .tab-container#front-page-tab .mobile-heading{
        display: none;
        overflow: hidden;
    }
}
@media(max-width: 820px) {
    .tab-container#front-page-tab .mobile-tab-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        background: rgba(247, 247, 247, 0.95);
        box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
        border-radius: 12px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
	
	.tab-container#front-page-tab .mobile-tab-nav.active {
		display:none;
	}
	
    .tab-container#front-page-tab .mobile-heading {
        display: flex;
        justify-content: center;
        color: var(--clr-primary);
		font-weight:600;
    }
    .tab-container#front-page-tab .tab-content-container {
        flex-direction: column;
        margin-top: 10px;
    }
    .tab-container#front-page-tab .tab-nav {
        display: none;
    }
    .tab-container#front-page-tab {
        background: none;
        box-shadow: none;
        border-radius: none;
        padding: 0;
        font-weight: 500;
    }
    .tab-container#front-page-tab .tab-content {
        display: none;
        margin-top: 0;
        margin-right: 0;
        background: rgba(247, 247, 247, 0.95);
        box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
        padding: 30px 2rem;
        border-radius: 25px;
    }
    .tab-container#front-page-tab .tab-content.active {
        display: flex;
    }
    .tab-container#front-page-tab .tab-content .advance-help {
        flex-shrink: unset;
        flex-wrap: wrap;
    }
}
@media(max-width: 500px) {
    .tab-container#front-page-tab .tab-content .search-bar.with-select form {
        flex-wrap: wrap;
        justify-content: center;
    }
    .tab-container#front-page-tab .tab-content .search-bar form select {
        /*width: 80% !important;*/
		color: #000;
    }
    .tab-container#front-page-tab .tab-content .search-bar button[type="submit"] {
        margin-right: 0;
    }
}
/*Open hour Tab*/
.tab-container#open-hour-tab {
    margin-top: var(--section-margin);
}
.tab-container#open-hour-tab .tab-content-container {
    display: flex;
    background: rgba(247, 247, 247, 0.95);
    box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
    border-radius: 25px;
    padding: 30px;
    margin-top: 20px;
}
/* @supports(backdrop-filter: blur(20px)) {
    .tab-container#open-hour-tab .tab-content-container{        
        backdrop-filter: blur(20px);     
    }  
} */
.tab-container#open-hour-tab .tab-nav {
    justify-content: flex-start;
}
.tab-container#open-hour-tab .tab-nav li{
    margin-right: 2rem;
}
.tab-container#open-hour-tab .tab-nav .tab-btn {
    padding: 1rem 2rem;
    background-color: var(--clr-secondary);
    color: var(--clr-font);
    border-radius: 15px;
    font-size: 112.5%;
    font-weight: 500;
}
.tab-container#open-hour-tab .tab-nav .tab-btn.active {
    background-color: var(--clr-primary);
    color: white;
}
.tab-container#open-hour-tab .tab-nav .tab-btn.calendar-link {
    position: relative;
    background-color: #F3ECF3;
    margin-right: 0;
    margin-left: auto;
}
.tab-container#open-hour-tab .tab-nav .tab-btn.calendar-link a {
    color: var(--clr-primary);
}
.tab-container#open-hour-tab .tab-nav .tab-btn.calendar-link::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    height: 8px;
    width: 12px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: #F3ECF3;
    
}
.tab-container#open-hour-tab .tab-content {
    font-size:90%;
    margin-top: 0;
}
.tab-container#open-hour-tab .tab-content .todays-hour {
    display: flex;
    justify-content: space-around;
}
.tab-container#open-hour-tab .tab-content .todays-hour .column {
    margin-left: 2rem;
}
.tab-container#open-hour-tab .tab-content .todays-hour .column:not(:nth-last-of-type(1)) { 
    margin-right: 3rem;
}
@media(max-width: 500px) {
	.tab-container#open-hour-tab .tab-content .todays-hour .column > .open-time-location .location {
		font-size:16px !important;
	}
	.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location .location {
		min-width: 225px !important;
	}
}

@media(max-width: 320px) {
	.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location .location {
		min-width: 180px !important;
	}
	
	.tab-container#open-hour-tab .tab-content .todays-hour .column > .open-time-location .location {
		font-size: 14px !important;
	}
}

.tab-container#open-hour-tab .tab-content .todays-hour .column > .open-time-location .location{
    color: var(--clr-primary);
    font-weight: 500;
}
.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    column-gap: 20px;
    flex-wrap: wrap;
}
@media only screen and (min-width: 1170px) and (max-width: 1252px){
	.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location{
		flex-wrap: unset !important;
	}
}

.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location .location{
    min-width: 160px;
}
.tab-container#open-hour-tab .tab-content .todays-hour .open-time-location .open-time{
    min-width: 160px;
}
.tab-container#open-hour-tab .tab-content .pc-availability {
    display: flex;
    justify-content: space-around;
}
.tab-container#open-hour-tab .tab-content .pc-availability .column {
    margin-left: 2rem;
}
.tab-container#open-hour-tab .tab-content .pc-availability .column.column:not(:nth-last-of-type(1)) {
    margin-right: 3rem;
}
.tab-container#open-hour-tab .tab-content .pc-availability .location-available{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tab-container#open-hour-tab .tab-content .pc-availability .location-available .location{
    color: var(--clr-primary);
    min-width: 170px;
}
.tab-container#open-hour-tab .tab-content .pc-availability .location-available .available{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 200px;
}
.tab-container#open-hour-tab .tab-content .pc-availability .location-available .available-bar{
    position: relative;
    min-width: 135px;
    height: 15px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}
.tab-container#open-hour-tab .tab-content .pc-availability .location-available .available-bar::after{
    position: absolute;
    content: '';
    width: var(--percentage);
    height: 15px;
    border-radius: 10px;
    background-color: var(--clr-primary);
}
@media(min-width: 820px) {
    .tab-container#open-hour-tab .tab-content .todays-hour.desktop {
        display: flex;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper {
        display: none;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability.desktop {
        display: flex;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper {
        display: none;
    }
}
@media(max-width: 820px) {
    .tab-container#open-hour-tab .tab-content-container {
        padding: 30px 0;
    }
    .tab-container#open-hour-tab .tab-nav .tab-btn.calendar-link {
        display: none;
    }
    .tab-container#open-hour-tab .tab-content {
        margin-right: 0;
    }
    .tab-container#open-hour-tab .tab-content .todays-hour.desktop {
        display: none;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper {
        display: flex;
        margin-left: 0;
        margin-right: 0;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper .todays-hour {
        justify-content: unset;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper .todays-hour .column {
        margin-left: 0;
        margin-right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper .todays-hour .column:not(:nth-last-of-type(1)) {
        margin-right: 0;
    }
    .tab-container#open-hour-tab .tab-content .open-hour-swiper .todays-hour .open-time-location {
        justify-content: unset;
        flex-direction: column;
    }
    .tab-container#open-hour-tab .open-hour-swiper .swiper-pagination {
        bottom: -7px;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability.desktop {
        display: none;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper {
        display: flex;
        margin-left: 0;
        margin-right: 0;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability {
        justify-content: unset;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability .location-available {
        justify-content: unset;
        flex-direction: column;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability .location-available .location {
        text-align: center;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability .location-available .available {
        flex-direction: column;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability .column {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .tab-container#open-hour-tab .tab-content .pc-availability-swiper .pc-availability .column.column:not(:nth-last-of-type(1)) {
        margin-right: 0;
    }
}
/*main-content*/
.main-content#front-page .container {
    position: relative;
    /* background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/front-page-background-left.svg),
                    url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/front-page-background-right.svg);
    background-repeat: no-repeat;
    background-position: left, right; */
}
.main-content#front-page .container::before ,
.main-content#front-page .container::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: -1;
}
.main-content#front-page .container::before {
    top: var(--section-margin);
    left: -6rem;
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/front-page-background-left.svg);
}
.main-content#front-page .container::after {
    bottom: 0;
    right: -15rem;
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/front-page-background-right.svg);
    background-position: right bottom;
}
/*event-section*/
.event-section {
    display: flex;
    justify-content: space-between;
    max-height: 500px;
    padding-top: var(--section-margin);
    margin-bottom: 30px;
    /* aspect-ratio: 1260/500; */
   /* --r: calc(1260 / 500);
    --cv: clamp(0px,(100vw - 100vh*var(--r))*100,90vh);
    --ch: clamp(0px,(100vh*var(--r) - 100vw)*100,90vw);*/

    /*height: calc((var(--cv) + var(--ch)/var(--r)) );*/
}

.mobile-calendar-link {
    position: relative;
    display: none;  
    padding: 14px 23px;
    background-color: #F3ECF3;
    border-radius: 13px;
    margin-top: 16px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}   
.mobile-calendar-link a{
    color: var(--clr-primary);
    font-size: 87.5%;
    font-weight: 500;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}   
.mobile-calendar-link::before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    height: 8px;
    width: 12px;
    background-color: #F3ECF3;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}
@media(max-width: 820px) {
    .main-content#front-page .container::before ,
    .main-content#front-page .container::after {
        display: none;
    }
    .event-section {
        flex-direction: column;
        max-height: unset;
        height: unset;
        padding-top: 0;
    }
    .mobile-calendar-link {
        display: block;
    }
}
/*swiper*/
.event-section .swiper-container {
    position: relative;
    width: 62%;
    box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
    margin-right: 1.5rem;
    border-radius: 20px;
	height: fit-content;

}
.event-section .event-swiper {
    margin-left: unset;
    margin-right: unset;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.event-section .event-swiper .swiper-slide img {
    display: block;
    width: 100%;
    /*height: 100%;*/
    object-fit: fill;
	/*height: 470px;*/
    height: auto;
}
.event-section .swiper-container .swiper-next,
.event-section .swiper-container .swiper-prev{
    position: absolute;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 50%;
    margin-top: 0;
    z-index: 11;
    cursor: pointer;
}
.event-section .swiper-container .swiper-next{
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-swiper-right.svg);
    right: 0;
    transform: translate(50%,-50%);
}
.event-section .swiper-container .swiper-prev{
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-swiper-left.svg);
    left: 0;
    transform: translate(-50%,-50%);
}
.tab-container .swiper-container {
	    position: relative;
}
.pc-availability-swiper-next ,.todays-hour-swiper-next{
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/button_arrow_right_tab.svg);
    right: 0;
    transform: translate(50%,-50%);
	display:none;
	position: absolute;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 50%;
    margin-top: 0;
    z-index: 11;
    cursor: pointer;
}
.pc-availability-swiper-prev ,.todays-hour-swiper-prev{
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/button_arrow_left_tab.svg);
    left: 0;
    transform: translate(-50%,-50%);
	display:none;
	position: absolute;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 50%;
    margin-top: 0;
    z-index: 11;
    cursor: pointer;
}
.advance-help {
    word-break:unset !important;
}
@media(max-width: 820px) {
	.pc-availability-swiper-next , .pc-availability-swiper-prev , .todays-hour-swiper-prev , .todays-hour-swiper-next {
		display:block !important;
	}
	.event-swiper .swiper-pagination {
		display:none;
	}
}

@media(max-width: 820px) {
    .event-section .swiper-container {
        width: 100%;
        margin-bottom: 30px;
    }	
}
/*event time tab*/
.event-section .tab-container#event-date-tab {
    background: rgba(247, 247, 247, 0.8);
    box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
    border-radius: 25px;
    padding: 30px 1.5rem 33px;
    font-weight: 500;
    width: 35%;
}
.tab-container#event-date-tab .tab-nav{
    justify-content: unset;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.tab-container#event-date-tab .tab-nav li.active {
    color: var(--clr-primary) !important;
	font-weight: 600;
}

.tab-container#event-date-tab .tab-nav li {
    color: var(--clr-font);
}

.tab-container#event-date-tab .tab-nav li:not(:last-child) {
    padding-right: 0.5rem;
    margin-right: 0.5rem;
}
.tab-container#event-date-tab .tab-nav li:not(:last-child)::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 2rem;
    background-color: #7D7D7D;
}
.tab-container#event-date-tab .tab-content-container {
    overflow-y: auto;
}
.tab-container#event-date-tab .tab-content .event-dates {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 0px !important;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date {
    display: flex;
    flex-direction: column;
    width: 65px;
    height: 65px;
    border-radius: 13px;
    margin-right: 1rem;
    overflow: hidden;
    font-size: 12px;
    flex-shrink: 0;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date > .top ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date > .bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    height: 50%;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date > .top {
    background-color: var(--clr-primary);
    color: white;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date > .bottom {
    background-color: white;
    color: var(--clr-primary);
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom {
    position: relative;
    padding-left: 1rem;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top::before ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom::before {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top::after ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom::after {
    position: absolute;
    content: '';
    width: 2px;
    height: 9px;    
    left: 10px;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top::after {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    bottom: 0;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom::after {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    top: 0;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top::before ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .top::after {
    background-color: white;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom::before ,
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom::after {
    background-color: var(--clr-primary);
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-date.range > .bottom {
    position: relative;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info {
    display: flex;
    flex-direction: column;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-title{
    color: var(--clr-primary);
    font-size: 112.5%;

}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-time{
    position: relative;
    color: var(--clr-font);
    font-size: 87.5%;
    padding-left: 2rem;
}
.tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-time::before{
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    background-image: url(/20250226170404oe_/https://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-time.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media(max-width: 1000px) {
    .tab-container#event-date-tab .tab-nav {
        font-size: 90%;
    }
    .tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-title{
        font-size: 100%;
    }
    .tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-time{
        font-size: 80%;
    }
}
@media(max-width:820px) {
    .event-section .tab-container#event-date-tab {
        width: 100%;
    }
    .tab-container#event-date-tab .tab-nav {
        margin-left: unset;
        margin-right: unset;
    }
    .tab-container#event-date-tab .tab-nav {
        font-size: 100%;
    }
    .tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-title{
        font-size: 112.5%;
    }
    .tab-container#event-date-tab .tab-content .event-dates .event-date-time .event-info .event-time{
        font-size: 87.5%;
    }
}
/*news-section*/
.news-section {
    background: rgba(247, 247, 247, 0.95);
    box-shadow: 0px 5px 15px rgba(119, 119, 119, 0.2);
    border-radius: 20px;
    padding: 30px 5rem;
    margin-bottom: var(--section-margin);
}
.news-section .heading {
    font-weight: 600;
    color: var(--clr-primary);
}
.news-section .heading a{
    font-weight: 500;
    color: var(--clr-font);
}
.news-section ul li {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    /*padding-left: 2rem;*/
    font-weight: 500;
    font-size: 112.5%;
	list-style:outside !important;
}
.news-section ul li{
	color:#6D1B6D;
}
.news-section ul {
	margin-left:20px;
}
/*.news-section ul li::before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--clr-primary);
}*/