.main-content > .container {
    display: flex;
    column-gap: 30px;
}
.filter-section {
    width: 23%;
    padding: 30px 20px;
    flex-shrink: 0;
}
.filter-form {
    display: flex;
    flex-direction: column;
}
.filter-heading {
    font-weight: 500;
    font-size: 125%;
    color: var(--clr-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}
.filter-form div:first-of-type .filter-heading {
    margin-top: 0;
}
input[type="date"],
select {
    background: #FFFFFF;
    border: 0.5px solid #585656 !important;
    border-radius: 9px;
    height: 40px;
    width: 100%;
    padding: 0 1rem;
	align-items: center;
    display: flex;
}
.select_div select {
	border: 0 !important;
	    border-color: transparent;
    background-color: transparent;
    padding: 10px;
}
.select_div{
	border: 0.5px solid #585656 !important;
    border-radius: 9px;
}

.search-bar {
    display: flex;
    background-color: white;
    border-radius: 9px;
    border: 0.5px solid #585656 !important;
    overflow: hidden;
}
.search-bar input[type="search"]{
    border: 0;
    height: 40px;
}
.search-bar button{
    background-color: transparent;
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-search-2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13.5px 13.5px;
}
.archived-events.btn-primary-light {
    margin-bottom: 30px;
}
button[type="reset"],
.btn-primary-light {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
button[type="reset"] {
    margin-top: 50px;
    margin-bottom: 63px;
}
label.checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
label.checkbox input[type="checkbox"]{
    width: 0;
    height: 0;
    opacity: 0;
}
label.checkbox .checkmark{
    position: absolute;
    top: 50%;
    left: 0;
    height: 24px;
    width: 24px;
    transform: translateY(-50%);
    background: #FFFFFF;
    border: 0.5px solid #585656;
    border-radius: 5px;
}
label.checkbox input[type="checkbox"]:checked ~ .checkmark{
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-checked.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 0.5px solid var(--clr-primary);
    background-color: var(--clr-primary);
}
.type label.checkbox:not(:last-child) {
    margin-bottom: 10px;
}
.end-date label.checkbox {
    margin-top: 15px;
}
.event-container {
    box-sizing: border-box;
    padding: 30px 40px;
    width: 100%;
}
.event-container .list-view,
.event-container .calendar-view {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.event-container .list-view .heading {
    font-size: 175%;
    font-weight: 600;
    color: var(--clr-primary);
}
.event-container .list-view .event-list-items {
    height: 100%;
    overflow-y: auto;
}
.event-container .list-view .event {
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--clr-font);
}
.event-container .list-view .event .event-title {
    font-size: 125%;
    font-weight: 500;
    color: var(--clr-primary);
    margin-bottom: 10px;
}
.event-container .list-view .event .event-date-time {
    display: flex;
    column-gap: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

blockquote {
	border-style: unset !important;
}

@media(max-width: 1000px) {
    .event-container {
        padding: 30px 20px;
    }
    .event-container .list-view .heading {
        font-size: 140%;
    }
    .event-container .list-view .event .event-date-time {
        flex-direction: column;
    }
}
/*pagination*/
.event-container .list-view .pagination {
    display: none;
    justify-content: center;
    align-items: center;
    column-gap: 50px;
}
.event-container .list-view .pagination.active {
    display: flex;
}
.event-container .list-view .pagination .prev-page,
.event-container .list-view .pagination .next-page {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 24px;
    height: 24px;
    opacity: 0.5;
}
.event-container .list-view .pagination .prev-page {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-prev.svg);
}
.event-container .list-view .pagination .next-page {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-next.svg);
}
.event-container .list-view .pagination .prev-page.active,
.event-container .list-view .pagination .next-page.active {
    opacity: 1;
    cursor: pointer;
}
.event-container .list-view .pagination .page-numbers {
    display: flex;
    column-gap: 25px;
}
.event-container .list-view .pagination .page-numbers .page-num {
    color: var(--clr-primary);
    cursor: pointer;
}
.event-container .list-view .pagination .page-numbers .page-num.active {
    border-bottom: 2px solid var(--clr-primary);
    cursor: unset;
}
/*tab*/
.tab-container#event-page-tab {
    height: 100%;
    position: relative;
}
.tab-container#event-page-tab .tab-nav {
    position: absolute;
    right: 0px;
    top: 18px;
    z-index: 50;
}
.tab-container#event-page-tab .tab-btn {
    height: 40px;
    width: 80px;
    background-repeat: no-repeat;
    background-size: fill;
    background-position: center;
    background-color: #D7C1D6;
    border-radius: 9px;
    box-sizing: border-box;
}
.tab-container#event-page-tab .tab-btn.active {
    background-color: #6D1B6D;
}
.tab-container#event-page-tab .tab-btn.list-btn {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-list.svg);
}
.tab-container#event-page-tab .tab-btn.list-btn.active {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-list-active.svg);
}
.tab-container#event-page-tab .tab-btn.calendar-btn {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-calendar.svg);
}
.tab-container#event-page-tab .tab-btn.calendar-btn.active {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-calendar-active.svg);
}
/*calendar*/
.event-calendar {
    height: 100%;
}
.event-calendar a {
    color: var(--clr-font);
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1){
    display: flex;
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-toolbar-title{
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 600;
    font-size: 175%;
    color: var(--clr-primary);
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button {
    padding: 0;
    border-radius: 0;
    border: 0;
    background-color: transparent;
    margin: 0;
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {
    background-color: #6D1B6D;
    padding: 0 12px;
    border-radius: 8px;
    margin-left: 10px;
}
@media(max-width: 516px) {
    .event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {
        position: absolute;
        top: 0;
        right: 0;
        transform: translateY(-16px);    
    }
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-prev-button > span,
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-next-button > span{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-prev-button > span {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-prev.svg);
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-next-button > span {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-next.svg);
}
.event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button > span::before { 
    content: '';
}
.event-calendar table {
    margin: 0;
}
.event-calendar .fc-col-header-cell {
    text-align: left;
    font-weight: 600;
    font-size: 100%;
    color: var(--clr-font);
}
.event-calendar .fc-daygrid-day-top {
    flex-direction: row;
}
.event-calendar .fc-day-today {
    background-color: transparent !important;
}
.event-calendar .fc-day-today .fc-daygrid-day-number {
    position: relative;
}
.event-calendar .fc-day-today .fc-daygrid-day-number::after {
    position: absolute;
    content: '';
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--clr-primary);
}
.event-calendar .fc-daygrid > table,
.event-calendar .fc-daygrid > table > thead > tr > th{
    border: 0;
}
.event-calendar .fc-daygrid > table > tbody > tr > td {
    border-left: #dbdbdb 1px solid;
}
.event-calendar .fc-col-header-cell {
    border: 0;
}
.event-calendar .fc-day-grid-container.fc-scroller {
    height: auto!important;
    overflow-y: visible;
}
.event-calendar .fc-daygrid-event-harness {
    margin-bottom: 3px;
}
.event-calendar .fc-daygrid-block-event {
    border-radius: 0px;
    position: relative;
    border: 0;
    margin-right: 0px !important;
    margin-top: 3px;
    cursor: pointer;
}
.event-calendar .fc-daygrid-block-event::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #D7C1D6;
}
.event-calendar .fc-event-title-container .fc-event-title {
    margin: 3px 0px 3px 8px;
}
.event-calendar.desktop .fc-daygrid-block-event {
    position: relative;
}
.calendar-view {
    position: relative;
}
.calendar-view .event-popup{
    position: absolute;
    display: none;
    top: var(--my);
    left: var(--mx);
    transform: translate(-50%, 5%);
    background-color: white;
    opacity: 1;
    padding: 30px;
    border-radius: 10px;
    max-width: 240px;
    min-width: 240px;
    z-index: 50;
}
.calendar-view .event-popup::after {
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    top: 0;
    left: 50%;
    background-color: white;
    border-radius: 3px;
    transform-origin: center;
    transform: rotate(45deg) translateX(-50%);
}
.calendar-view .event-popup.active{
    display: block;
}
.calendar-view .event-popup > * {
    white-space: normal;
    word-break: break-all;
    margin-bottom: 10px;
}
.calendar-view .event-popup .popup-close {
    position: absolute;
    width: 8px;
    height: 8px;
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-popup-close.svg);
    background-position: center;
    top: 8%;
    right: 8%;
    cursor: pointer;
}
.calendar-view .event-popup .event-title {
    font-weight: 600;
    color: var(--clr-primary);
    font-size: 87.5%;
}
.calendar-view .event-popup .event-date-time {
    font-size: 75%;
    font-weight: 500;
    color: var(--clr-font);
}
.calendar-view .event-popup .event-excerpt {
    font-size: 75%;
    color: #585656;
}
/* .filter-section--mobile {
	display:none;
} */
/*event calendar mobile*/
.event-calendar.mobile .fc-daygrid-day-top {
    justify-content: center;
    height: fit-content;
}
.event-calendar.mobile .fc-daygrid-day-top.hasEvent {
    position: relative;
}
.event-calendar.mobile .fc-daygrid-day-number {
    font-size: 75%;
}
.event-calendar.mobile .fc-daygrid-day.active .fc-daygrid-day-number {
    font-weight: 700;
}
.event-calendar.mobile .fc-daygrid-day.active .fc-daygrid-day-top::before {
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--clr-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.event-calendar.mobile .fc-daygrid-day-top.hasEvent::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--clr-primary);
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
}
.event-calendar.mobile .fc-day .fc-scrollgrid-sync-inner {
    display: flex;
    justify-content: center;
}
.event-calendar.mobile table * {
    border-color: transparent !important;
}
.event-calendar.mobile {
    display: none;
}
.mobile-calendar-list {
    display: none;
}
.mobile-calendar-list > ul {
    flex-direction: column;
}
.mobile-calendar-list > ul > li {
    margin-top: 15px;
    padding-bottom: 15px;
}
.mobile-calendar-list > ul > li:not(:last-child) {
    border-bottom: 1px #DCDCDC solid;
}
.mobile-calendar-list > ul .event-title {
    color: var(--clr-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.wp-block-image {
	margin-top:unset !important;
}

.wp-block-image img{
	/*width: 100%;	*/
}

.event-header {
	display :flex;
	margin-bottom: 4rem;
}

#events-detail .event-title {
	width:70%;
	border-right:3px solid #D7C1D6;
}


.event-title-content {
	padding-left: 50px;
    width: 35%;
}

.event-title-content .date-title{
	font-weight: 600;
	font-size: 143%;
    color: var(--clr-primary);
    margin: 0;
}
.events-title {
    font-weight: 600;
    font-size: 175%;
    color: var(--clr-primary);
    margin: 0;
	line-height:50px;
    margin-right: 20px;
}

.date-content {
	font-weight: 500;
}

.time-content{
	font-weight: 500;	
}

.single-events .share-icon-row {
    display: flex;
    column-gap:  1rem;
    margin-top: 30px;
    margin-bottom: 30px;
}
.single-events .share-icon-row div{
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.single-events .share-icon-row .facebook-share {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-facebook-share.svg);
}
.single-events .share-icon-row .twitter-share {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-twitter-share.svg);
}
.single-events .share-icon-row .print-btn {
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/icon-print.svg);
    cursor: pointer;
}
.calendar--button{
	display:flex;
}

.google_calendar .calendar_img{ 
	position: relative;
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/calendar.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	display: inline-block;	
	height: 17px;
    width: 18px;
	margin-right: 15px;
}

.google_calendar{
	display:flex;
	align-items: center;
	padding: 5px 21px;
    background-color: #D7C1D6;
    color: var(--clr-primary);
    border-radius: 8px;
    font-size: 87.5%;
    text-transform: none;
    height: 39px;
	margin-right: 10px;
}

.other_calendar .calendar_img{ 
	position: relative;
    background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/calendar.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	display: inline-block;	
	height: 17px;
    width: 18px;
	margin-right: 15px;
}

.other_calendar{
	 display: flex;
    align-items: center;
	padding: 5px 21px;
    background-color: #D7C1D6;
    color: var(--clr-primary);
    border-radius: 8px;
    font-size: 87.5%;
    text-transform: none;
    height: 39px;
}

.calendar-content .add_to{
	color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.button_text {
	display: inline;
}

/*.get_image_icon {
	background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/get_img_button.svg);
	    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 30px;
    width: 30px;
	margin-left: auto;
    position: relative;
    margin-right: 0;
    bottom: 47px;
    right: 20px;
}*/

.single-events {
	width:100%;
}

.events-content {
	width:66%;
}

@media (max-width: 1000px){
	.events-content {
		width:unset !important;
	}
    .event-calendar.desktop {
        display: none;
    }
    .event-calendar.mobile {
        display: block;
    }
    .mobile-calendar-list {
        display: block;
    }
    .main-content .container {
        flex-direction: column;
        row-gap: 30px;
    }
    .main-content .container .filter-section,
    .main-content .container .event-container{
        width: 100%;
    }
	/* .filter-section--pc {
		display:none;
	}
	
	.filter-section--mobile {
		display:block;
		width:100%;
		margin-bottom:10px;
	}
	
	.container {
		display:block !important;
	} */
    .tab-container#event-page-tab .tab-nav {
        top: 17px;
    }
    .tab-container#event-page-tab .tab-btn {
        width: 36px;
        height: 25px;
    }
    .event-container .list-view {
        padding-top: 1rem;
    }
    .event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-toolbar-title{
        display: flex;
        align-items: center;
        font-size: 112.5%;
        margin-left: 12px;
        margin-right: 12px;
    }
    .event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-prev-button > span,
    .event-calendar .fc-toolbar .fc-toolbar-chunk:nth-of-type(1) .fc-button.fc-next-button > span{
        width: 24px;
        height: 24px;
    }
	.collapse {
        max-height: 100px;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out;
    }
    .collapse.active {
        max-height: 2000px;
    }
	.show_button {
        position: relative;
		background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/button-down.svg);
		background-repeat: no-repeat;
		background-position: center;
        background-size: contain;
		height:30px;
		width:30px;	
		margin: 35px auto 20px auto;
	}
    .show_button::after {
        position: absolute;
        display: block;
        content: 'More Filter';
        bottom: 0;
        left: 50%;
        width: 96px;
        color: var(--clr-primary);
        font-weight: 500;
        font-size: 92.5%;
        text-align: center;
        transform: translate(-50%, 100%);
	}
    .collapse.active + .show_button {
        background-image: url(/20221206004523oe_/http://www.lib.cuhk.edu.hk/wp-content/themes/twentytwenty/assets/images/button-up.svg);
    }
    .collapse.active + .show_button::after {
        content: 'Less Filter';
    }
	
	.event-header{
		display: block !important;
		
	}
	
	#events-detail .event-title {
		width:100% !important;
		border-right : 0px !important;
		border-bottom : 3px solid #D7C1D6;		
	}
	
	#events-detail .events-title {
		font-size: 112.5% !important;
		margin-bottom: 10px;
	}
	
	.event-title-content {
		width: 100% !important;
		padding-left : 0px !important;
	}	
		
	.date-title {
		font-size: 112.5% !important;
		padding-top : 20px;
	}
	
	.date-content {
		font-size:100%;
	}
	
	.time-content {
		font-size : 100%;
	}
	.calendar--button{
		display :block !important;
	}
	.google-group{
		margin-bottom: 10px;
	}
	
	/*.get_image_icon{
		height:24px !important;
		width:24px !important;
		bottom: 35px !important;
		right: 10px !important;
	}*/
	
}
.main-content.archived-events .tab-nav {
    display: none;
}