@media(min-width:801px){
	#major-programme-requirements-mobile{
		display:none;
	}
}
@media(max-width:800px){
	#major-programme-requirements{
		display:none;
	}
	.banner-overview-content{
		padding: 30px 0;
	}

	.banner-overview-content .font-64{
		font-size:44px;
	}
	.banner-overview-content .font-20{
		font-size:18px;
	}

	.programme-tabs-content iframe.w-full{
		height:250px;
	}
	.vertical-title{
		writing-mode: vertical-lr;
		padding:5px 15px!important;
		background: #6e1b6f;
		color:white;
	}

	.vertical-title-left{
		writing-mode: vertical-lr;
		height:100%;
		padding: 0 30px!important;
	}

	.stream-content-text{
		position:relative;
	}

	.total-row {
		color: white;
		padding: 10px 5px;
		background-image: linear-gradient(90deg,#6e1b6f 15%,#000078 100%);
		font-family: unset!important;
	}

	.total-row .right-col{
		float:right;
	}

	.stream-container hr{
		border-color: #6e1b6f;
	}

	/*#major-programme-requirements .panel{
	overflow-x:scroll;
}
	#major-programme-requirements .panel>div.w-full{
	width:800px;
} */

	.stream-accordion *{
		margin:5px auto;
	}

	.stream-accordion .circle.term-circle{
		width:110px;
		height:110px;
	}

	.stream-accordion .term-content{
		/*width: 130px;*/
		width: 95%;
	}
	
	.stream-accordion h2 {
		font-size: 18px;
	}

	ul.accordion-program{
		padding-left:0;
		margin-left:0;
	}
	.accordion-program .accordion-item {
		list-style:none;
		background-color: #63246C;
		background-image: linear-gradient(to right, #63246C, #040C72);
	}

	.accordion-program .accordion-item a.accordion-title{
		color:white;
		background-color: #63246C;
		background-image: linear-gradient(to right, #63246C, #040C72);
	}

	.accordion-program .accordion-title:before{
		content:'';
	}

	.accordion-program .accordion-title:after {
		content: '\25BC';
		transform: rotate(0deg);
		transition: transform .5s ease-in-out;
		color: white;
	}
	.accordion-program .accordion-item.is-active .accordion-title:after {
		transform: rotate(180deg);
		transition: transform .5s ease-in-out;
	}
}



@media(max-width:550px){
	.vertical-title{
		padding:5px!important;
	}

	.vertical-title-left{
		padding: 0 15px!important;
	}
}


@media(max-width:450px){
	.stream-content-text{
		padding: 5% 0;
	}

	.stream-content-text .font-purple{
		font-size:11px!important;
	}

	.vertical-title{
		padding:20px 2px!important;
	}

	.vertical-title-left{
		padding: 0 5px!important;
	}
	.font-purple.font-bold.font-32.font-bulter {
		font-size: 27px;
	}
}

@media(max-width:350px){

	.stream-content-text .font-purple{
		font-size:10px!important;
	}

}


/*for fix top menu*/
/*8-1-2020*/
.logged-in.admin-bar header#main-header{
	padding-top:32px;
}

header#main-header{
	position:fixed;
}


/* people page --- mobile second menu */
#people-tabs-mobile li a {
    color: #727272;
}
#people-tabs-mobile li {
    list-style: none;
    padding: 10px;
    text-align: center;
    display: none;
    border-bottom: 1px solid #d0cfcf;
}
li#faculty.open {
    padding-left: 35px;
}
#people-tabs-mobile li.mActive,#people-tabs-mobile li.mInactive {
	display:block
}
#people-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#people-tabs-mobile li#faculty.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}
#people-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

@media(min-width:768px){
	#people-tabs-mobile{
		display:none;
	}
}
@media(max-width:767px){
	#people-tabs{
		display:none;
	}
}

/*** Jayson code ***/
li#faculty.mActive.open {
    border-bottom: 1px solid #d0cfcf;
    /* font-weight: 700; */
    padding-left: 35px;
}
li#faculty.mActive {
    padding-left: 35px;
}
#people-tabs-mobile li.mActive, #people-tabs-mobile li.mInactive {
    display: block;
    /*border-bottom: 0px;*/
    font-weight: 700;
	padding-left: 35px;
}
#people-tabs-mobile li:last-child {
    border-bottom: 0px;
}
ul#people-tabs-mobile {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px 0px #808080 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
}
div#sticky-menu-bar.fixed ul#people-tabs-mobile {
    margin-bottom:0px;
}
@media (min-width: 320px) and (max-width: 580px){
body.page-template-default.page.page-child.parent-pageid-6685 #sticky-menu-bar.fixed {
    top: 60px!important;
}
.list-view-of-faculty {
    margin-top: -5px;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.page-template-default.page.page-child.parent-pageid-6685 #sticky-menu-bar.fixed {
    top: 90px!important;
}
}
/*** End ***/

@media (min-width: 381px) and (max-width: 768px){
.hyperlink-icon img {
    max-height: 1.9rem;
}
}

/* about-us-page --- mobile second menu */
#about-us-tabs-mobile li a {
    color: #727272;
}
#about-us-tabs-mobile li {
    list-style: none;
    padding: 10px;
    text-align: center;
	display:none;
	border-bottom: 1px solid #d0cfcf;
}
#about-us-tabs-mobile li.mActive,#about-us-tabs-mobile li.mInactive {
	display:block
}
#about-us-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#about-us-tabs-mobile li#chairman-message.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}
#about-us-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

@media(min-width:640px){
	#about-us-tabs-mobile{
		display:none;
	}
}
@media(max-width:639px){
	#about-us-tabs{
		display:none;
	}
}

/*** Jayson code ***/
li#chairman-message.mActive.open {
    border-bottom: 1px solid #d0cfcf;
    /* font-weight: 700; */
    padding-left: 35px;
}
li#chairman-message.mActive {
    padding-left: 35px;
}
#about-us-tabs-mobile li.mActive, #about-us-tabs-mobile li.mInactive {
    display: block;
    /*border-bottom: 0px;*/
    font-weight: 700;
	padding-left: 35px;
}
li#chairman-message.open {
    padding-left: 35px;
}
#about-us-tabs-mobile li:last-child {
    border-bottom: 0px;
}
ul#about-us-tabs-mobile {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px 0px #808080 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
}
div#sticky-menu-bar.fixed ul#about-us-tabs-mobile {
    margin-bottom:0px;
}
@media (min-width: 320px) and (max-width: 639px){
body.page-template-default.page.page-child.parent-pageid-3330 #sticky-menu-bar.fixed {
   /*top: 60px!important;*/
	top: 40px!important;
}
}
/*** End ***/

body.page-template-default.page.page-child.parent-pageid-3330 .contact-content, #contact-us {
    height: unset;
}

.single-peoples ul#single-people-tabs-mobile li {
    width: 100%!important;
}

@media (min-width: 320px) and (max-width: 767px){
	ul#people-inner-page-tabs {
    display: none;
}
	body.peoples-template-default.single.single-peoples #people-tabs-mobile {
    display: block;
}
}

@media (min-width: 768px){
ul#single-people-tabs-mobile {
    display: none;
}
}

/* single-people page --- mobile second menu */
#single-people-tabs-mobile li a {
    color: #727272;
}
#single-people-tabs-mobile li {
    list-style: none;
    padding: 10px;
    text-align: center;
    display: none;
    border-bottom: 1px solid #d0cfcf;
}
li#faculty.open {
    padding-left: 35px;
}
#single-people-tabs-mobile li.mActive,#single-people-tabs-mobile li.mInactive {
	display:block
}
#single-people-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#single-people-tabs-mobile li#faculty.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}
#single-people-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

/*** Jayson code ***/
li#faculty.mActive.open {
    border-bottom: 1px solid #d0cfcf;
    /* font-weight: 700; */
    padding-left: 35px;
}
li#faculty.mActive {
    padding-left: 35px;
}
#single-people-tabs-mobile li.mActive, #single-people-tabs-mobile li.mInactive {
    display: block;
    /*border-bottom: 0px;*/
    font-weight: 700;
	padding-left: 35px;
}
#single-people-tabs-mobile li:last-child {
    border-bottom: 0px;
}
ul#single-people-tabs-mobile {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px 0px #808080 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
}
div#sticky-menu-bar.fixed ul#single-people-tabs-mobile {
    margin-bottom:0px;
}
@media (min-width: 320px) and (max-width: 580px){
body.peoples-template-default.single.single-peoples #sticky-menu-bar.fixed {
    top: 60px!important;
}
.list-view-of-faculty {
    margin-top: -5px;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.peoples-template-default.single.single-peoples #sticky-menu-bar.fixed {
    top: 90px!important;
}
}
#single-people-tabs-mobile li:first-child a {
    color: black;
}
/*** End ***/

/* alumni page --- mobile second menu */
#dos-tabs-mobile li a {
    color: #727272;
}
#dos-tabs-mobile li {
    list-style: none;
    padding: 10px;
    text-align: center;
    display: none;
    border-bottom: 1px solid #d0cfcf;
}
li#dos-tab1.open {
    padding-left: 35px;
}
#dos-tabs-mobile li.mActive,#dos-tabs-mobile li.mInactive {
	display:block
}
#dos-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#dos-tabs-mobile li#dos-tab1.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}
#dos-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

@media(min-width:768px){
	#dos-tabs-mobile{
		display:none;
	}
}
@media(max-width:767px){
	#dos-tabs{
		display:none;
	}
}

/*** Jayson code ***/
li#dos-tab1.mActive.open {
    border-bottom: 1px solid #d0cfcf;
    /* font-weight: 700; */
    padding-left: 35px;
}
li#dos-tab1.mActive {
    padding-left: 35px;
}
#dos-tabs-mobile li.mActive, #dos-tabs-mobile li.mInactive {
    display: block;
    /*border-bottom: 0px;*/
    font-weight: 700;
	padding-left: 35px;
}
#dos-tabs-mobile li:last-child {
    border-bottom: 0px;
}
ul#dos-tabs-mobile {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px 0px #808080 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
}
div#sticky-menu-bar.fixed ul#dos-tabs-mobile {
    margin-bottom:0px;
}
@media (min-width: 320px) and (max-width: 580px){
body.page-template-default.page.page-child.parent-pageid-3147 #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.page-template-default.page.page-child.parent-pageid-3147 #sticky-menu-bar.fixed {
    top: 90px!important;
}
}
/*** End ***/

#major-programme-requirements .mt-120 {
    margin-top: 0;
}

@media (max-width:1400px) {
	#major-programme-requirements .mw-1040 {
		max-width: 100% !important;
	}

	#major-programme-requirements .panel {
		padding: 0 !important;
	}
}

@media (max-width:1300px) and (min-width:1000px) {
    #major-programme-requirements .w-200, #major-programme-requirements .program:before {
        width: 250px !important;
    }
}

@media (max-width:999px) and (min-width:891px) {
    #major-programme-requirements .w-200, #major-programme-requirements .program:before {
        width: 220px !important;
    }
}

@media (max-width: 890px) and (min-width: 800px) {
    #major-programme-requirements .w-200, #major-programme-requirements .program:before {
        width: 200px !important;
    }
}

/*@media (max-width: 799px) and (min-width: 700px) {
    #major-programme-requirements .w-200, #major-programme-requirements .program:before {
        width: 180px !important;
    }
}

@media (max-width: 699px) and (min-width: 641px) {
    #major-programme-requirements .w-200, #major-programme-requirements .program:before {
        width: 150px !important;
    }
}

#major-programme-requirements .w-200.h-100-px {font-size: 20px;}*/


/* Programme-tabs-mobile*/

@media(min-width:640px){
	#programme-tabs-mobile{
		display:none;
	}
}

@media(max-width:639px){
	#programme-tabs{
		display:none;
	}
}

/* about-us-page --- mobile second menu */
#programme-tabs-mobile li a {
    color: #727272;
}
#programme-tabs-mobile li {
    list-style: none;
    padding: 10px;
    text-align: center;
	display:none;
	border-bottom: 1px solid #d0cfcf;
}
#programme-tabs-mobile li.mActive,#programme-tabs-mobile li.mInactive {
	display:block
}
#programme-tabs-mobile li#postgraduate-studies-mobile.open::after, #programme-tabs-mobile li#admission-mobile.open::after {
    background-image: none;
}
#programme-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#programme-tabs-mobile li#undergraduate-studies-mobile.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}

#programme-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

/*research*/
body.page-id-3417 #dos-tabs-mobile #dos-tab2-mobile.open::after,
body.page-id-3417 #dos-tabs-mobile #dos-tab3-mobile.open::after,
body.page-id-3417 #dos-tabs-mobile #dos-tab4-mobile.open::after{
    background-image: none!important;
}

body.page-id-3417 #dos-tabs-mobile li#dos-tab1-mobile.open:after{
	content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}

/*resources*/
body.page-id-3254 #dos-tabs-mobile #dos-tab2-mobile.open::after,
body.page-id-3254 #dos-tabs-mobile #dos-tab3-mobile.open::after{
    background-image: none!important;
}

body.page-id-3254 #dos-tabs-mobile li#dos-tab1-mobile.open:after{
	content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}


body.page-id-7443 #dos-tab1.open::after,
body.page-id-7473 #dos-tab1.open::after{
	background-image:none!important;
}
body.page-id-7443 #dos-tab01.open::after,
body.page-id-7473 #dos-tab01.open::after{
	content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}

/***Resources***/
@media (min-width: 320px) and (max-width: 580px){
body.page-template-default.page.page-id-3254 #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.page-template-default.page.page-id-3254 #sticky-menu-bar.fixed {
    top: 90px!important;
}
}

/***Research***/
@media (min-width: 320px) and (max-width: 580px){
body.page-template-default.page.page-id-3417 #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.page-template-default.page.page-id-3417 #sticky-menu-bar.fixed {
    top: 90px!important;
}
}


/***Programmes***/
@media (min-width: 320px) and (max-width: 580px){
body.archive.post-type-archive.post-type-archive-programmes #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.archive.post-type-archive.post-type-archive-programmes #sticky-menu-bar.fixed {
    top: 90px!important;
}
}


/* programmes page --- mobile second menu */
#programme-tabs-mobile li a {
    color: #727272;
}
#programme-tabs-mobilee li {
    list-style: none;
    padding: 10px;
    text-align: center;
    display: none;
    border-bottom: 1px solid #d0cfcf;
}
li#undergraduate-studies-mobile.open {
    padding-left: 35px;
}
#programme-tabs-mobile li.mActive,#programme-tabs-mobile li.mInactive {
	display:block
}
#programme-tabs-mobile li.mActive::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/down-icon.png);
    background-size: cover;
}
#programme-tabs-mobile li#undergraduate-studies-mobile.open::after {
    content: "";
    float: right;
    padding-right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url(/20241031215105oe_/http://www.sta.cuhk.edu.hk/wp-content/uploads/2021/05/up-icon.png);
    background-size: cover;
}
#programme-tabs-mobile li.hidebtn::after {
	content:"";
	background:none;
}

@media(min-width:768px){
	#programme-tabs-mobile{
		display:none;
	}
}
@media(max-width:767px){
	#programme-tabs{
		display:none;
	}
}

/*** Jayson code ***/
li#undergraduate-studies-mobile.mActive.open {
    border-bottom: 1px solid #d0cfcf;
    /* font-weight: 700; */
    padding-left: 35px;
}
li#undergraduate-studies-mobile.mActive {
    padding-left: 35px;
}
#programme-tabs-mobile li.mActive, #programme-tabs-mobile li.mInactive {
    display: block;
    /*border-bottom: 0px;*/
    font-weight: 700;
	padding-left: 35px;
}
#programme-tabs-mobile li:last-child {
    border-bottom: 0px;
}
ul#programme-tabs-mobile {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px 0px #808080 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
}
div#sticky-menu-bar.fixed ul#programme-tabs-mobile {
    margin-bottom:0px;
}
@media (min-width: 320px) and (max-width: 580px){
body.archive.post-type-archive.post-type-archive-programmes #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.archive.post-type-archive.post-type-archive-programmes #sticky-menu-bar.fixed {
    top: 90px!important;
}
}
/*** End ***/

@media (min-width: 320px) and (max-width: 580px){
body.programmes-template-default.single.single-programmes #sticky-menu-bar.fixed {
    top: 60px!important;
}
}
@media (min-width: 581px) and (max-width: 767px){
body.programmes-template-default.single.single-programmes #sticky-menu-bar.fixed {
    top: 90px!important;
}
}