* {
    -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;
    /*	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;*/

    -webkit-transition: .5s all;

            transition: .5s all;
}

#error_php {
    display: none;
}

.block {
    display: block;
    float: none !important;
}


body,
html {
    position: relative;
    left: 0;

    width: 100%;
    height: 100%;
    /*font-family: "azo-sans-web","Microsoft JhengHei";*/

    font-family: "tenso";

    -webkit-transition: .5s left;

            transition: .5s left;
}

.subpage *:not(.fa),
font {
    font-family: "tenso","azo-sans-web","Microsoft JhengHei" !important;
}

body.sidemenu {
    left: 300px;
}

body.innerpage {
    height: auto;
    overflow-x: hidden;
}

body.sidemenu,
body.showcontact,
body.privacy,
body.disclaimer {
    overflow: hidden;
}


/* HEADER */
.custom-header .wrap{
    position: relative;
}
.site-branding{
    position: fixed;
    top: 30px;
    left: 30px;
    width: 240px;
    height: 139px;
    z-index: 30;
    z-index: 9999;
    height: auto;
}
#panel-logo {
    /* position: fixed;
    top: 30px;
    left: 30px;
    z-index: 30; */

    width: 240px;
    z-index: 999;
}
#panel-logo a{
    display: inline-block;
}
#panel-logo img{
    width: 100% !important;
    height:auto !important;
    margin-bottom: 25px;
}
#panel-logo .img-logo {
    margin-bottom: 25px;
}

#btn-sidebar {
    display: inline-block;
    padding: 5px 7px;
    margin-top: 15px;

    font-size: 2em;

    cursor: pointer;

    color: #e6e6e4;
    border: 1px solid #e6e6e4;
    z-index: 9999;
}

body.sidemenu #btn-sidebar .fa:before {
    content: "\f00d";
}

#nav-leftbar {
    position: absolute;
    top: 50%;
    left: -195px;
    z-index: 15;

    display: inline;
    width: 500px;

    font-family: "azo-sans-web";
    font-size: 28px;
    font-weight: 700;

    -webkit-transform: rotate(-90deg);
            -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
    text-align: center;
    text-transform: uppercase;

    color: rgba(76, 70, 70, .8);
}

body.slideshow #nav-leftbar:after {
    position: absolute;
    top: 50%;
    right: -4%;

    display: inline-block;
    width: 30%;

    content: "";

    border-bottom: 1px solid #e6e6e4;
}

#nav-rightbar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 19;

    width: 100px;
    height: 95%;

    font-family: "azo-sans-web";
    font-size: 18px;
    font-weight: 700;

    text-align: center;

    color: white;
}

.icon-lang a {
    color: white;
}

body.showcontact #nav-rightbar {
    z-index: 20;

    height: 100%;

    background-color: #43423e;
}

/*#nav-rightbar:before {
  content: "";
  display: block;
  position: absolute;
  height: 6%;
  width: 100%;
  bottom: -6%;
  z-index: 1;
  background-color: transparent;
  visibility: hidden;
}

body.showcontact #nav-rightbar:before {
	z-index: 999 !important;
	background-color: #43423E !important;
	visibility: visible;

}*/

#nav-rightbar-middle {
    position: relative;
    top: 30%;

    display: inline-block;

    vertical-align: middle;
    text-transform: uppercase;
}

body.showcontact #nav-rightbar-middle > *,
body.showcontact #nav-rightbar-middle a {
    color: #8d8d8d !important;
}

#nav-rightbar-middle > * {
    display: inline-block;
    width: 100px;

    font-size: 14px;

    cursor: pointer;
    -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
            transform: rotate(-90deg);
    letter-spacing: .15em;

    color: #e6e6e4;
}
/* #nav-rightbar-middle a {
    color: #e6e6e4 !important;
    text-decoration: none;
} */

#nav-rightbar-middle > * {
    position: relative;
}
#nav-rightbar-middle > *:nth-child(2) {
    top: 100px;
}
#nav-rightbar-middle > *:nth-child(3) {
    top: 200px;
}
#nav-rightbar-middle > *:nth-child(4) {
    top: 300px;
}

body #nav-rightbar-middle div,
body #nav-rightbar-middle a{
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

body.slideshow #nav-rightbar-middle div,
body.slideshow #nav-rightbar-middle a{
    color:#e6e6e4 !important;
}
body.innerpage #nav-rightbar-middle div,
body.innerpage #nav-rightbar-middle a {
    color: #a1a1a1 !important;
    text-decoration: none;
}

#nav-rightbar-middle > *:before {
    position: absolute;
    top: 3px;
    left: -26px;

    display: none;
    width: 16px;
    height: 16px;

    content: "";
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);

    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/right_ui.png");
}

#nav-rightbar-middle > *:first-child:before {
    background-position: 0 0;
}

#nav-rightbar-middle > *:last-child:before {
    background-position: 0 16px;
}

#contact {
    position: fixed;
    top: 0;
    right: -400px;
    z-index: 26;

    visibility: hidden;
    width: 500px;
    height: 100%;

    content: "";
    -webkit-transition: .5s all;
            transition: .5s all;

    opacity: 0;
    background-color: #fcf9f7;
}

body.showcontact #contact {
    right: 100px;

    visibility: visible;

    opacity: 1;
}

#contact .closebtn {
    position: absolute;
    top: 35px;
    right: 20px;
    z-index: 99;

    font-size: 30px;
    font-weight: bold;

    cursor: pointer;

    color: #4d4d4d;
}

#contact .contact-container {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    overflow: auto;
}

#contact .contact-container h1 {
    margin-top: 40px;
    margin-bottom: 20px;
    margin-left: 40px;

    font-size: 20px;
    font-weight: bold;

    color: #2c2b33;
}

#contact .contact-container ul {
    margin-left: 40px;

    color: #908596;
}

#contact .contact-container li + li {
    margin-bottom: 10px;
}

.contact-container a,
.contact-container a:hover {
    color: #a5a5a5;
}

#map {
    height: 500px;
    background: url(/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/map.jpg);
    background-size: cover;
}

#map * {
    -webkit-transition: none !important;
            transition: none !important;
}

#map .gm-style > div {
    display: none;
}

#map .gm-style > div:first-child {
    display: block;
}

#nav-rightbar .icon-lang {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    z-index: 10;

    width: 30px;
    height: 30px;
    margin: 0 auto;

    font-size: 20px;
    font-weight: bold;

    text-align: center;

    color: white;
    border-radius: 50%;
    background-color: transparent;
}

#nav-rightbar .icon-lang a {
    position: absolute;
    top: 0;
    bottom: 0;

    display: block;
    width: 100%;
    height: 30px;
    margin: auto 0;
    color: #e6e6e4 !important;
}

#nav-rightbar .icon-lang a:hover,
#nav-rightbar .icon-lang a:focus {
    text-decoration: none;
    color: inherit;
}

#nav-rightbar .icon-facebook {
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
    z-index: 10;

    margin: 0 auto;

    font-size: 30px;
    font-weight: bold;
}

#nav-rightbar .icon-facebook a {
    color: #e6e6e4 !important;
}

/*
 * Footer
 * ==================================================
 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 5;

    width: 100%;

    font-family: "tenso";
    font-size: 12px;
    font-weight: 300;
}

body.innerpage .footer {
    position: relative;
    z-index: 3;

    background-color: #e5e5e5;
}

.footer-upper {
    display: none;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: 0;
    margin-left: 0;
}
.footer-upper .page_item.page_item_has_children{
    list-style: none;
    display:inline-block;
    width: calc(50% - 40px);
    vertical-align: top;
    margin: 20px 20px 10px auto;
}
.footer-upper .page_item.page_item_has_children > a{
    display:inline-block;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #666;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    width:100%;
}
.footer-upper .page_item.page_item_has_children > a:hover{
    text-decoration: none;
}
.footer-upper .children{
    padding:0;
}
.footer-upper .children .page_item:first-child{
    margin-top: 10px;
}
.footer-upper .children .page_item{
    display: block;
    width:100%;

}
.footer-upper .children .page_item a{
    font-size:14px;
    color: #666;
    font-weight: normal;
}

.footer-upper .footer-nav-wrapper{
    padding: 30px 0 30px 60px;
}
.footer-upper .footer-contact-wrapper{
    padding-top: 50px;
    padding-bottom: 20px;;
}
.footer-upper .footer-logos{
    margin-top:20px;
}

body.innerpage .footer-upper {
    display: block;
}

body.innerpage .footer-lower,
body.innerpage .footer-lower a {
    color: #a5a7ae;
}

.footer-lower .col-sm-6:first-child {
    left: 30px;
}

.footer-lower .text-right {
    right: 30px;
}

/* .footer-section {
    padding-top: 20px;
    padding-bottom: 20px;
} */

.footer-section > h1 {
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 16px;
    font-weight: bold;

    text-transform: uppercase;

    color: #666;
    border-bottom: 1px solid #666;
}

.footer-section a {
    font-size: 14px;

    color: #666;
}

.footer-section .row + .row {
    margin-top: 30px;
}


.footer-section .joinby {
    margin-bottom: 10px;
}


.list-footer {
    line-height: 2em;
}

.footer-lower,
.footer-lower a {
    color: #d2d2d2;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.footer-lower a:hover{
    color: #a5a7ae;
}

.footer-lower .list-inline > li {
    cursor: pointer;
}

.footer,
.footer * {
    -webkit-transition: none;
            transition: none;
}

#footer_info {
    position: fixed;
    top: 25%;
    left: 25%;
    z-index: 50;

    visibility: hidden;
    width: 50%;
    height: 50%;
    padding: 2%;

    opacity: 0;
    background-color: #f9f1ea;
}

#footer_info h1 {
    padding-bottom: 15px;

    font-size: 20px;
    font-weight: bold;

    color: #2c2b33;
    border-bottom: 1px solid rgb(189, 189, 189);
}

#footer_info > div {
    display: none;
}

.footer-contact li + li {
    margin-top: 5px;
}

body.privacy [data-page="privacy"],
body.disclaimer [data-page="disclaimer"] {
    display: block !important;
}


body.privacy #footer_info,
body.disclaimer #footer_info {
    visibility: visible;

    opacity: 1;
}

#footer_info .closebtn {
    position: absolute;
    top: 20px;
    right: 20px;

    display: block;

    font-size: 30px;

    cursor: pointer;

    color: #4d4d4d;
}

.footer-section address {
    font-size: 14px;
}

.footer .col-slim {
    position: relative;

    height: 38px;
}

.footer .col-slim img {
    position: absolute;
    bottom: 0;
}

/* MAIN */
@media all and (max-height : 890px) {
    #nav-leftbar {
        top: 450px;
    }
}

.container-main {
    position: relative;
    z-index: 15;

    width: calc(100% - 100px - 100px);
    margin:auto;
    min-width: 900px;
}

body.sidemenu #filter,
body.showcontact #filter,
body.privacy #filter,
body.disclaimer #filter {
    visibility: visible;
}

#filter {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;

    display: block;
    visibility: hidden;
    width: 100%;
    height: 100%;

    content: "";
    -webkit-transition: none;
            transition: none;

    background-color: rgba(0, 0, 0, .8);
}

/* SIDEMENU */
#nav-sidemenu {
    position: fixed;
    left: -300px;
    z-index: 25;

    width: 300px;
    height: 100%;
    overflow: hidden;

    color: white;
    background-color: #43423e;
}
.menu-left-menu-container{
    height: 100%;
}

body.sidemenu #nav-sidemenu {
    left: 0;
}

.list-sidemenu {
    position: relative;
    top: 175px;

    text-transform: uppercase;

    height: calc(100% - 300px);
}

.list-sidemenu li {
    font-size: 20px;
    font-weight: bold;

    height: 13%;

    cursor: pointer;
    letter-spacing: .05em;

}
.list-sidemenu li a{
    color: inherit;
    text-decoration: none;
    color: #736d67 !important;
}

/* body.about #nav-sidemenu li.about a,
#nav-sidemenu li.about a:hover {
    color: #a37453;
}

body.programme #nav-sidemenu .programme,
#nav-sidemenu .programme:hover {
    color: #0c60b3;
}

body.news #nav-sidemenu li.news a,
#nav-sidemenu li.news a:hover {
    color: #2ca35c;
}

body.people #nav-sidemenu .people,
#nav-sidemenu .people:hover {
    color: #df623f;
}

body.research #nav-sidemenu .research,
#nav-sidemenu .research:hover {
    color: #feac4b;
}

body.student #nav-sidemenu .student,
#nav-sidemenu .student:hover {
    color: #631093;
} */

#nav-sidemenu .contact:hover {
    color: white;
}

/* Slideshow */
#slideshow {
    position: relative;
    top: 125px;

    display: block;
    height: 600px;
    width: 960px;
    margin: auto;
}

body.slideshow {
    overflow: hidden;
}

body.slideshow:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;

    display: block;
    width: 100%;
    height: 100%;
    zoom: 1;

    content: "";
    -webkit-transition: none;
            transition: none;

    opacity: .95;
}

/* body.slideshow.about:before,
body.innerpage.about #slide-block-b {
    background-color: #a37453;
}

body.slideshow.programme:before,
body.innerpage.programme #slide-block-b {
    background-color: #0c60b3;
}

body.slideshow.news:before,
body.innerpage.news #slide-block-b {
    background-color: #2ca35c;
}

body.slideshow.people:before,
body.innerpage.people #slide-block-b {
    background-color: #df623f;
}

body.slideshow.research:before,
body.innerpage.research #slide-block-b {
    background-color: #feac4b;
}

body.slideshow.student:before,
body.innerpage.student #slide-block-b {
    background-color: #631093;
} */

body.slideshow:after {
    position: absolute;
    bottom: 9%;
    left: 0;
    z-index: 1;
    /*background-color: black;*/

    width: 90%;
    height: 70%;

    content: "";

    background-position: right bottom;
    background-size: cover;
    /*transition:0.5s background-image;*/
}

/* Slideshow Background, currently moved to header.php's <head> */
/*
body.slideshow.about:after {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/bg_about.jpg');}
body.slideshow.programme:after {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/bg_programme.jpg');}
body.slideshow.people:after {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/bg_people.jpg');}
body.slideshow.news:after {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/bg_news.jpg');}
body.slideshow.research:after {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/bg_researches.jpg');}
*/

body.innerpage:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    display: block;
    width: 100%;
    height: 365px;

    content: "";
    -webkit-transition: none;
            transition: none;

    opacity: .6;
    background-color: black;

    filter: alpha(opacity=60);
}

/* Innerpage Background, currently moved to header.php's <head> */
/*
body.innerpage.about:before {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/cover_about.jpg');}
body.innerpage.programme:before {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/cover_programme.jpg');}
body.innerpage.news:before {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/cover_news.jpg');}
body.innerpage.people:before {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/cover_people.jpg');}
body.innerpage.research:before {background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/slideshow/cover_researches.jpg');}
*/

body.innerpage #slide-block-a,
body.innerpage #slide-block-d,
body.innerpage #slide_next,
body.innerpage #slide_prev,
body.innerpage #slide_detail {
    display: none;
}

body.innerpage #slide-block-b {
    height: 240px;
}

body.innerpage #slide-block-b svg {
    margin-right: 0;
    right: 20px;
    bottom: 0;
}

body.innerpage #slide-block-c {
    top: 50px;
    left: 0;

    width: 33.3333333333%;
    height: 250px;

    font-family: "tenso";
    font-size: 16px;
    font-weight: 500;
}


body.innerpage #slide_return {
    display: block;
}


#slide-block-a {
    position: absolute;
    top: 80px;

    width: 33.3333333333%;
    height: 300px;
    overflow: hidden;

    -webkit-transition: none;

            transition: none;
}

#slide-block-b {
    position: absolute;
    left: 33.3333333333%;

    width: 66.6666666666%;
    height: 350px;

    background-color: white;
}

#slide-block-c {
    position: absolute;
    top: 350px;
    left: 33.3333333333%;

    width: 33.3333333333%;
    height: 200px;

    background-color: #2c2b33;
}

#slide-block-c a:hover {
    color: #b2b2b2;
}

#slide-block-d {
    position: absolute;
    top: 350px;
    left: 66.6666666666%;

    width: 33.3333333333%;
    height: 200px;
    overflow: hidden;

    background-color: rgba(255, 255, 255, .7);
}
#slide-block-d a{
    height: 100%;
}
#slide-block-d > div {
    position: absolute;
    top: 0;
    left: 0;

    visibility: hidden;

    opacity: 0;
}

#slide-block-d iframe {
    display: none;
}

body.news.slideshow #slide-block-d iframe {
    display: block !important;
}

#slide-block-d .img-responsive {
    max-width: 100%;
    min-height: 100%;

    opacity: 0;
}

body.news #slide-block-d .img-responsive {
    opacity: 1;
}



/* body.about #slide-block-a .about,
body.programme #slide-block-a .programme,
body.news #slide-block-a .news,
body.people #slide-block-a .people,
body.research #slide-block-a .research,
body.student #slide-block-a .student,
body.about #slide-block-b .about,
body.programme #slide-block-b .programme,
body.news #slide-block-b .news,
body.people #slide-block-b .people,
body.research #slide-block-b .research,
body.student #slide-block-b .student,
body.about #slide-block-c .about,
body.programme #slide-block-c .programme,
body.news #slide-block-c .news,
body.people #slide-block-c .people,
body.research #slide-block-c .research,
body.student #slide-block-c .student,
body.about #slide-block-d .about,
body.programme #slide-block-d .programme,
body.news #slide-block-d .news,
body.people #slide-block-d .people,
body.research #slide-block-d .research,
body.student #slide-block-d .student {
    visibility: visible !important;

    opacity: 1 !important;
    display: block;
} */

#slide-block-a > img {
    position: absolute;
    left: 100%;

    height: 100%;

    -webkit-transition: .5s left,.5s opacity;

            transition: .5s left,.5s opacity;

    opacity: 0;
}

#slide-block-a > .active {
    left: 0;
}

#slide-block-a > .fadeout {
    left: -300px !important;
}

/* #slide-block-b .about,
#slide-block-b .programme,
#slide-block-b .news,
#slide-block-b .people,
#slide-block-b .research,
#slide-block-b .student {
    position: absolute;

    visibility: hidden;
    width: 100%;
    height: 100%;

    opacity: 0;
    display: none;
} */

.slidequote-container {
    position: absolute;
    top: 0;

    visibility: hidden;
    width: 100%;
    height: 100%;

    opacity: 0;
    z-index:-1000;
}

body.innerpage .slidequote-container {
    top: 0;
    left: 0;

    text-align: center;
}

body.innerpage .slidequote-container:before {
    display: inline-block;
    height: 100%;

    content: "";
    vertical-align: middle;
}

.slidequote {
    font-size: 14px;
    line-height: 1.5em;

    color: white;
}

.slidequote * {
    margin: 0;
}
.slidequote ul li{
    /* margin: .2rem auto; */
    margin: .5rem .2rem;
    /* width: calc(50% - .4rem); */

}
body.slideshow.programme .slidequote ul li{
    margin: auto;
}
.slidequote-slideshow {
    /* padding: 20px 30px 20px 40px; */
    padding: 20px 30px 10px 30px;
}


.slidequote-innerpage {
    display: inline-block;
    width: 85%;

    vertical-align: middle;
}

body.slideshow .slidequote-slideshow {
    display: block;
}

body.slideshow .slidequote-innerpage {
    display: none;
}

body.innerpage .slidequote-slideshow {
    display: none;
}

body.innerpage .slidequote-innerpage {
    display: inline-block;
}

.slidequote h1 {
    font-family: "tenso";
    font-size: 25px;
    font-weight: 500;

    text-align: left;

    color: white;
}

.slidequote h2 {
    margin-top: 20px;

    font-family: "tenso";
    font-size: 16px;
    font-weight: 500;

    text-align: left;

    color: #5d5d5d;
}

.slidequote ul {
    padding-left: 0;

    font-family: "tenso";
    font-size: 18px;
    font-weight: 500;
    line-height: 16px;
    list-style: none;

    text-align: left;

    color: #a5a5a3;


   /*  display: flex;
    align-content: flex-start;
    flex-wrap: wrap; */
}

.slidequote a {
    font-size: 14px;

    text-decoration: none;

    color: #a5a5a5;
}
.slidequote a:focus{
    color: #a5a5a5;
}

#slide-block-b .nav-tools{
    position: absolute;
    width:100%;
    height: 70px;
    bottom:0;
    z-index: 10000;
}

#slide_prev {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;

    width: 70px;
    height: 70px;

    cursor: pointer;
    text-align: center;

    background-color: #726763;
}

#slide_prev:hover {
    background-color: #81746f;
}

#slide_next {
    position: absolute;
    bottom: 0;
    left: 70px;
    z-index: 2;

    width: 70px;
    height: 70px;

    cursor: pointer;
    text-align: center;

    background-color: #be905e;
}

#slide_next:hover,
#slide_detail:hover {
    background-color: #cd9c66;
}

#slide_detail {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;

    width: 70px;
    height: 70px;

    cursor: pointer;
    text-align: center;

    background-color: #be905e;
}

#slide_return {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;

    width: 70px;
    height: 70px;

    cursor: pointer;
    text-align: center;

    opacity: 0;
    background-color: #be905e;
}

#slide_prev:before,
#slide_next:before,
#slide_detail:before,
#slide_return:before {
    display: inline-block;
    height: 100%;

    content: "";
    vertical-align: middle;
}

#slide_prev:after,
#slide_next:after,
#slide_detail:after,
#slide_return:after {
    display: inline-block;
    width: 10px;
    height: 15px;

    content: "";
    vertical-align: middle;

    background-repeat: no-repeat;
}

#slide_prev:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow_l.png");
}

#slide_prev.disable:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow_l_disabled.png");
}

#slide_next:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow_r.png");
}

#slide_next.disable:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow_r_disabled.png");
}

#slide_detail:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow.png");
}

#slide_detail:after,
#slide_return:after {
    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/arrow.png");
}

#slide_return:after {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}


body.innerpage #slide_prev,
body.innerpage #slide_next,
body.innerpage #slide_detail {
    opacity: 0 !important;
}

body.innerpage #slide_return {
    opacity: 1 !important;
}

body.innerpage .title-wrapper{
    margin-top: -20px;
}

body.innerpage #slide-block-b h1,
body.innerpage #slide-block-b h2 {
    color: white;
}

#slide-block-b h1 {
    margin-left: 50px;

    font-family: "azo-sans-web";
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -.02em;

    text-transform: uppercase;
}

#slide-block-b h2 {
    margin-top: 0;
    margin-left: 52px;

    font-family: "azo-sans-web";
    /* font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em; */
    font-size: 16px;
    font-weight: bold;
}

#slide-block-b svg {
    margin-right: 70px;
    width: 150px;
    -webkit-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
    /*	bottom: 100px;
	
	height: 120px;*/
}

body.innerpage #slide-block-b svg{
    position: absolute;
}

#svg_about {
    right: 30px;
    bottom: 108px;

    -webkit-transform: scale(1.3);
            -ms-transform: scale(1.3);
        transform: scale(1.3);
}

body.innerpage #svg_about {
    right: 70px !important;
    bottom: 55px !important;
}


#svg_programme {
    right: 80px;
    bottom: 74px;

    -webkit-transform: scale(1.2);
            -ms-transform: scale(1.2);
        transform: scale(1.2);
}

#svg_news {
    right: 70px;
    bottom: 70px;

    -webkit-transform: scale(1.3);
            -ms-transform: scale(1.3);
        transform: scale(1.3);
}

#svg_people {
    right: 110px;
    bottom: 100px;

    -webkit-transform: scale(1.2);
            -ms-transform: scale(1.2);
        transform: scale(1.2);
}

body.innerpage #svg_people {
    right: 70px !important;
    bottom: 50px !important;
}

#svg_student {
    right: 110px;
    bottom: 100px;

    -webkit-transform: scale(1.2);
            -ms-transform: scale(1.2);
        transform: scale(1.2);
}

body.innerpage #svg_student {
    right: 70px !important;
    bottom: 50px !important;
}

#svg_research {
    right: 105px;
    bottom: 100px;

    -webkit-transform: scale(1.2);
            -ms-transform: scale(1.2);
        transform: scale(1.2);
}

body.innerpage #svg_research {
    right: 70px !important;
    bottom: 50px !important;
}

#svg_about path {
    fill: #a37453;
}

#svg_people * {
    stroke: #df6947;
}

#svg_research * {
    fill: #fdaf53;
    stroke: #fdaf53;
}


body.innerpage #svg_student * {
    stroke: white;
}

body.innerpage #svg_programme path,
body.innerpage #svg_news *,
body.innerpage #svg_research * {
    fill: white;
}

body.innerpage #svg_people *,
body.innerpage #svg_research *,
body.innerpage #svg_student path {
    stroke: white;
}

#slide-block-b > .about {
    color: #a67a5a;
}

#slide-block-b > .programme {
    color: #1767b5;
}

#slide-block-b > .news {
    color: #35a663;
}

#slide-block-b > .people {
    color: #df6947;
}

#slide-block-b > .research {
    color: #fdaf53;
}

#slide-block-b > .student {
    color: #631093;
}

body.innerpage.about #slide-block-b {
    color: #a67a5a;
}

body.innerpage.programme #slide-block-b {
    color: #1767b5;
}

body.innerpage.news #slide-block-b {
    color: #35a663;
}

body.innerpage.people #slide-block-b {
    color: #df6947;
}

body.innerpage.research #slide-block-b {
    color: #fdaf53;
}

body.innerpage.student #slide-block-b {
    color: #631093;
}


body.innerpage.about #svg_about path {
    fill: #fff;
}


#slideshow-nav {
    position: absolute;
    bottom: 100px;
    left: 70px;
}

#slideshow-nav > div {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 17px;

    cursor: pointer;

    border-radius: 12px;
    background-color: white;
}

body.slideshow.about #slideshow-nav > .about,
body.slideshow.programme #slideshow-nav > .programme,
body.slideshow.news #slideshow-nav > .news,
body.slideshow.people #slideshow-nav > .people,
body.slideshow.research #slideshow-nav > .research,
body.slideshow.student #slideshow-nav > .student {
    background-color: #be905e;
}


/* INNERPAGE */

.page-heading {
    font-size: 30px;
    font-weight: bold;
}

body.innerpage:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 365px;

    content: "";
    -webkit-transition: none;
            transition: none;

    background-size: cover;
}

body.slideshow #innerpage {
    display: none;
}

#innerpage {
    position: relative;
    bottom: 230px;
    z-index: 3;
}

#innerpage > * {
    display: none;
}

/* body.innerpage.about #inner-about,
body.innerpage.programme #inner-programme,
body.innerpage.news #inner-news,
body.innerpage.people #inner-people,
body.innerpage.research #inner-research,
body.innerpage.student #inner-student {
    display: block;
} */

.submenu {
    width: 960px;
    margin: auto;
    padding-left: 340px;
    line-height: 36px;
}

.submenu a {
    display: inline-block;
    /* margin-right: 40px; */
    margin-left: 20px;

    font-family: "azo-sans-web";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -.07rem;

    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
            transition: .3s all;

    color: #9a9aa0 !important;
    border-bottom: 2px solid transparent;
}

.submenu a:last-child {
    margin-right: 0;
}

.submenu a.active,
.submenu a:hover {
    text-decoration: none;
}

.subpage {
    display: none;
}


@-webkit-keyframes cubemove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(.5);
    }
    50% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(.5);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes cubemove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(.5);
                transform: translateX(42px) rotate(-90deg) scale(.5);
    } 50% {

        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
                transform: translateX(42px) translateY(42px) rotate(-179deg);
    } 50.1% {

        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
                transform: translateX(42px) translateY(42px) rotate(-180deg);
    } 75% {

        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(.5);
                transform: translateX(0px) translateY(42px) rotate(-270deg) scale(.5);
    } 100% {

        -webkit-transform: rotate(-360deg);
                transform: rotate(-360deg);
    }
}

.subpage:empty:before,
.subpage:empty:after {
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 20px;
    height: 20px;

    content: "";
    -webkit-animation: cubemove 1.8s infinite ease-in-out;
            animation: cubemove 1.8s infinite ease-in-out;
}

.subpage:empty:after {
    -webkit-animation-delay: -.9s;
            animation-delay: -.9s;
}


.about .subpage:empty:before,
.about .subpage:empty:after {
    background-color: #a67a5a;
}

.programme .subpage:empty:before,
.programme .subpage:empty:after {
    background-color: #1767b5;
}

.news .subpage:empty:before,
.news .subpage:empty:after {
    background-color: #35a663;
}

.people .subpage:empty:before,
.people .subpage:empty:after {
    background-color: #df6947;
}

.research .subpage:empty:before,
.research .subpage:empty:after {
    background-color: #fdaf53;
}

.student .subpage:empty:before,
.student .subpage:empty:after {
    background-color: #8935a6;
}
.student .subpage table td{
    padding: 1rem;
}

.student .ursp-photos{
    margin: 1.5rem auto;
}
.student .ursp-photos img{
    width:25%;
    height: auto;
}
.subpage.active {
    display: block;
}

.subpage p {
    font-family: "lft-etica";
    line-height: 1.6em;
    /* margin: 1rem 0; */
}

.subpage a.btn{
    color:white !important;
}
.subpage .btn a{
    display:inline-block;
    width: 100%;
    height: 100%;
    color:white !important;
}
.subpage .btn a:hover{
    text-decoration: none;
    color:white;
}
.subpage .btn.fa::before {
    color:white;
}
.subpage .btn.fa{
    padding-right: 2rem;
}

.block-b-container{
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: space-between;
}

/*=======================
New Pages
=========================*/
.description{
    color: grey;
}
.subpage p.small{
    font-size:13px;
}

.video-block{
    margin: 1.5rem auto;
}
.video-block iframe{
    max-width: 100%;
}

.student-work img{
    width: 100%;
}
.student-work .work-block{
    display:inline-block;
    position: relative;
    width: 100%;
    min-height: 300px;
    background-size: cover;
}
.student-work .work-block .overlay{
    top:0;
    left:0;
    position: absolute;
    background-color: rgba(0,0,0,.3);
    width: 100%;;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.student-work:hover .work-block .overlay{
    opacity: 1;
}

.student-work .work-block .overlay .info-box{
    position: absolute;
    width: 100%;
    height: 40%;
    left:0;
    bottom:-50%;
    background-color: rgba(255,255,255,1);
    padding:1rem;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.student-work:hover .work-block .overlay .info-box{
    bottom:0;
}
.student-work .work-block .overlay .info-box .topic{
    font-size: 17px;
    font-weight: bold;
    margin:.5rem auto;
    line-height: 1.2em;

   /*  overflow: hidden;
    height: 3em;
    text-overflow: ellipsis;
    white-space: nowrap; */
}
.student-work .work-block .overlay .info-box .topic:after{
    content:'';
    display:block;
    height: 2px;
    width: 10px;
    margin-top: 1rem;
    background-color: #ddd;
}

.student-work .work-block .overlay a{
    display:none;
}
@media only screen and (max-device-width : 767px)  and (orientation: portrait) { 
    #slideshow{
        width: auto;
    }
    .container-main{
        min-width: 100%;
    }
    .list-sidemenu li{
        height: auto;
        margin-bottom: 1.5em;
    }
    #slideshow-nav{
        left: 0;
    }
    .submenu{
        width: auto;
        margin-left: 260px;
        padding-left:0;
    }
 }

@media only screen and (min-device-width : 768px) and (max-device-width : 992px) {
    .container-main {
        width: 80%;
        min-width: inherit;
    }

    body.slideshow .container-main {
        height: 100vh;
    }

    body.innerpage .container-main {
        top: 200px;
    }

    #slideshow {
        top: 20%;

        height: 80%;

        -webkit-transition: none;

                transition: none;
    }



    body.innerpage #slideshow {
        height: 500px !important;
    }

    #slide-block-b h1 {
        margin-top: 15%;
    }

    #slideshow-nav {
        top: 40%;
    }

    body.innerpage #slideshow-nav {
        display: none;
    }

    #slide_return {
        -webkit-transform: rotate(180deg);
    }

    #nav-leftbar {
        left: -20%;
    }

    #nav-sidemenu {
        left: -30%;

        width: 30%;
    }

    body.sidemenu {
        left: 30%;
    }

    #svg_about {
        right: 100px;
        bottom: 90px;

        -webkit-transform: scale(1.1);
                -ms-transform: scale(1.1);
            transform: scale(1.1);
    }

    #svg_programme {
        right: 35px;
        bottom: 20% !important;

        -webkit-transform: scale(1);
                -ms-transform: scale(1);
            transform: scale(1);
    }

    #innerpage {
        bottom: 240px;
    }

    #svg_news {
        right: 0 !important;
        bottom: 52px;

        -webkit-transform: scale(1);
                -ms-transform: scale(1);
            transform: scale(1);
    }

    #svg_research,
    #svg_people {
        right: 50px;

        -webkit-transform: scale(1);
                -ms-transform: scale(1);
            transform: scale(1);
    }



    body.innerpage #svg_news {
        bottom: 0 !important;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    body.innerpage:before,
    body.innerpage:after {
        height: 300px;
    }

    body.innerpage .container-main {
        top: 0 !important;

        padding-top: 60px;
    }

    body.slideshow #slideshow {
        top: 10%;
    }

    body.innerpage #slideshow {
        top: 0 !important;

        height: 300px !important;
    }

    #slideshow-nav {
        top: 80%;
    }

    body.innerpage #innerpage {
        bottom: 50px;
    }

    #contact {
        right: -250px;

        width: 350px;
    }

    #slide-block-b {
        height: 300px;
    }

    #slide-block-c,
    #slide-block-d {
        top: 300px;
    }

    #slide-block-d iframe {
        width: 100% !important;
        height: 100% !important;
    }

    #map {
        height: 400px;
    }

    #inner-programme .subpage[data-page="concentration"] .heading-content h4 {
        width: 55%;
    }
}

.row-loose {
    padding-top: 10px;
    margin-right: -30px;
    margin-left: -30px;
}

.col-loose {
    padding-right: 30px;
    padding-left: 30px;
}

.row-slim {
    margin-right: -7.5px;
    margin-left: -7.5px;
}

.col-slim {
    padding-right: 7.5px;
    padding-left: 7.5px;
}

.img-16-9 {
    padding-top: 56.25%;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.no-margin {
    margin: 0;
}

/*
 * Inner Pages - .submenu a
 * ==================================================
 */
/* #inner-about .submenu a.active,
#inner-about .submenu a:hover{
    color: #a37453;
    border-bottom: 2px solid #a37453;
}

#inner-programme .submenu a.active,
#inner-programme .submenu a:hover{
    color: #0c60b3;
    border-bottom: 2px solid #0c60b3;
}

#inner-news .submenu a.active,
#inner-news .submenu a:hover{
    color: #2ca35c;
    border-bottom: 2px solid #2ca35c;
}

#inner-people .submenu a.active,
#inner-people .submenu a:hover{
    color: #df6947;
    border-bottom: 2px solid #df6947;
}

#inner-research .submenu a.active,
#inner-research .submenu a:hover{
    color: #feac4b;
    border-bottom: 2px solid #feac4b;
}

#inner-student .submenu a.active,
#inner-student .submenu a:hover{
    color: #631093;
    border-bottom: 2px solid #631093;
} */
.subpages{
    margin-top: 2rem;
}
.subpages h4 {
    margin: 1.5rem auto;
    font-weight: bold;
}

.subpages figure{
    margin: 40px auto
}
.subpages figure img{
    max-width: 100%;
}

.subpages .quote {
    color:grey;

    font-size:16px;
}

.subpages p{
    font-family: "tenso","azo-sans-web","Microsoft JhengHei" !important;
    /* font-size: 15px; */
    font-size: 14px;
    line-height: 1.8em;
}

.subpages li{
    line-height: 2rem;
    margin: 1.5rem auto;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}
/*
 * Inner Pages - .subpages .page-heading
 * ==================================================
 */
#inner-about .subpages .page-heading {
    color: #a37453;
}

#inner-programme .subpages .page-heading {
    color: #0c60b3;
}

#inner-news .subpages .page-heading {
    color: #2ca35c;
}

#inner-people .subpages .page-heading {
    color: #df6947;
}

#inner-research .subpages .page-heading {
    color: #feac4b;
}

#inner-student .subpages .page-heading {
    color: #631093;
}

/*
 * Inner Pages - .subpages h2
 * ==================================================
 */
#inner-about .subpages h4 {


    color: #a06e4b;
}

#inner-programme .subpages h4 {
    font-weight: bold;
    min-height: 1px;
    color: #888484;
}

#inner-people .subpages h4 {
    margin-bottom: 5px;

    font-weight: bold;

    color: #df6947;
}

#inner-people .subpages > .subpage > div > h4 {
    margin-top: 15px;
    margin-bottom: 30px;
}

#inner-research .subpages h4 {
    font-size: 20px;

    color: #7e7979;
}

/*
 * About
 * ==================================================
 */
.list-square {
    padding: 0;
    margin: 1.5rem auto;

    list-style: none;
}

.list-square > li:before {
    position: absolute;
    left: -5px;

    content: "■ ";

    color: #a67a5a;
}

.list-square > li a {
    color: #a67a5a;
}

.subpage[data-page="about"] > img {
    /*	margin-top: 50px;*/
    margin-bottom: 50px;
}

.subpage[data-page="about"] > h4 {
    color: #a67a5a !important;
}

.subpage[data-page="about"] > p:first-of-type {
    display: inline-block;
    width: 40%;
    margin-right: 3%;

    font-size: 16px;
    line-height: 1.7em;

    vertical-align: top;

    color: grey;
}

.subpage[data-page="about"] > p:nth-of-type(2) {
    display: inline-block;
    width: 55%;
}

.subpages > .subpage > .page-heading {
    margin-bottom: 30px !important;
}

/*
 * About - Objectivties
 * ==================================================
 */
.subpage[data-page="objectives"] li {
    width: 65%;
    margin-bottom: 25px;
}

.subpage[data-page="objectives"] > img {
    /*	  margin-top: 50px;*/
    margin-bottom: 50px;
}

.subpage[data-page="objectives"] > p:nth-child(4) {
    width: 55%;
}



/*
 * About - Prospects
 * ==================================================
 */
.subpage[data-page="prospects"] li {
    margin-top: 25px;
}

/*
 * About - Committee
 * ==================================================
 */
.list-committee .row {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #dedede;
}

.committee-title {
    padding: 0 0 10px 0;

    font-weight: bold;

    color: #a37453;
    /* border-bottom: 3px solid #a37453; */
}

.committee-name {
    padding-left: 50px;
}

.list-committee {
    margin: 40px;
}


/*
 * About - FAQ
 * ==================================================
 */

.question {
    margin-bottom: 50px;
}

/*
 * About - Facility
 * ==================================================
 */

.subpage[data-page="facilities"] > .page-heading {
    /*margin-bottom: 20px;*/
}

.subpage[data-page="facilities"] img {
    margin-bottom: 20px;
}

.facility {
    margin-bottom: 30px;
}

.facility h4 {
    margin-bottom: 10px;
    /*color: #A37453;*/
}

.facility p {
    margin-bottom: 15px;
}


/*
 * Programme - Admission
 * ==================================================
 */

.subpage[data-page="admission"] ul li {
    margin-bottom: 10px;
}

.subpage[data-page="admission"] td[bgcolor="#92cddc"] {
    font-weight: 800;

    text-align: center;

    color: white;
    background-color: #0c6083;
}

.subpage[data-page="admission"] a,
.subpage[data-page="admission"] a font {
    color: #0c6083;
}

/*
 * Programme - Study Scheme
 * ==================================================
 */
.table-scheme {
    counter-reset: itemList;
    counter-increment: section;
}

.table thead tr {
    border-bottom: 3px solid black !important;
}
.table tbody tr:first-child td{
    padding-top: 2rem;
}

.table-scheme .scheme-title {
    position: relative;

    padding-left: 30px;

    font-size: 1.2em;
}

.table-scheme .scheme-title:before {
    position: absolute;
    left: 0;

    content: counter(section, upper-roman);
}

.table-scheme > tbody > tr {
    counter-increment: itemList;
}

.table-scheme .item-title {
    position: relative;

    padding-left: 30px;
}

.table-scheme .item-title:before {
    position: absolute;
    left: 0;

    content: counter(itemList);
}

.table-scheme .item-subitems {
    padding-left: 30px;

    counter-reset: subitemList;
}

.table-scheme .item-subitems > .row {
    padding-top: 8px;
    margin-top: 8px;

    counter-increment: subitemList;

    border-top: 1px solid #ddd;
}

.table-scheme .subitem-title {
    position: relative;

    padding-left: 30px;
}

.table-scheme .subitem-title:before {
    position: absolute;
    left: 0;

    content: "(" counter(subitemList, lower-latin) ")";
}

.table-scheme > tfoot {
    font-size: 1.5em;
}

.list-downloadable > li + li {
    margin-top: 30px;
}

.table-scheme .col-sm-11 {
    color: #0c60b3;
}

/*.list-downloadable>li {
	position: relative;
}

.list-downloadable a:after {
	content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/right_ui.png');
  position: relative;
  background-position: 0px 0px;
}*/

.downloadable {
    position: relative;

    display: inline-block;
    padding-bottom: 5px;
    margin-right: 50px;

    font-weight: bold;
    /*border-bottom: 4px solid black;*/

    color: black;
}

.downloadable:hover {
    text-decoration: none;
}

.downloadable:after {
    position: absolute;
    right: -40px;

    display: inline-block;
    /*top:10px;*/
    width: 20px;
    height: 20px;

    content: "";

    background-image: url("/20230901200146oe_/https://urbanstudies.cuhk.edu.hk/wp-content/themes/urbanstudies/assets/images/system/right_ui.png");
    background-repeat: no-repeat;
    background-position: center 0;
}

/*
 * Programme - Area of Concentration
 * ==================================================
 */
#inner-programme .subpage[data-page="concentration"] .heading-content h4 {
    width: 45%;
    margin: 40px auto 40px 0;
    font-size: 22px;
    line-height: 35px;
}

.subpage[data-page="concentration"] > p:nth-child(3) {
    display: inline-block;
    width: 30%;
    margin-right: 3%;

    font-size: 16px;

    vertical-align: top;
}

/* .subpage[data-page="concentration"] > div:nth-child(4) {
    display: inline-block;
    width: 60%;
} */

/* .subpage[data-page="concentration"] > div:nth-child(4) li {
    font-size: 22px;
} */

.subpage[data-page="concentration"] .course_list {
    max-height: 0;
    overflow: hidden;
}

.subpage[data-page="concentration"] .course_list.open {
    max-height: 1000px;
}

.subpage[data-page="course-list"] .outline-btn{
    margin-top: 1.8rem;
}
.subpage[data-page="concentration"] .course_list ol {
    text-align: left;
  }
.subpage[data-page="concentration"] .course_list li,
.subpage[data-page="concentration"] .course_list p{
    margin: 0;
}
.subpage[data-page="concentration"] .course_list p{
    line-height: 1.5em;
    font-size:15px;
}

.course_list_btn {
    cursor: pointer;

    color: #0c60b3;
}
.course_list_btn::before{
    content: "\f107";
    font-family: FontAwesome;
    margin-right: 1rem;
}

.area {
    margin-top: 50px;
}

.area-title {
    padding-bottom: 5px;
    margin-top: 0;

    font-weight: bold;

    color: #0c60b3 !important;
}

.area .col-sm-8 {
    font-size: 15px;
}
.area h4{
    margin-top: 10px;
}

.list-lg {
    font-size: 28px;
}

.list-num-o {
    display: block;
    padding: 0 0 0 2em;
    margin: 40px 0;

    font-weight: bold;
    list-style: none;

    counter-reset: numList;

    color: #0c60b3;
}

.subpages .list-num-o li {
    position: relative;
    line-height: normal !important;
}

.list-num-o li + li {
    margin-top: .5em;
}

.list-num-o li:before {
    position: absolute;
    left: -2em;

    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;

    content: counter(numList);
    counter-increment: numList;
    text-align: center;

    border: 1px solid;
    border-radius: 50%;
}

/*
 * Programme - Course List
 * ==================================================
 */
#inner-programme .subpage[data-page="course"] h4 {
    margin-top: 30px;

    color: #0c60b3 !important;
}

#inner-programme .subpage[data-page="course"] table {
    margin-bottom: 40px;
}

.table-courses > thead > tr > th {
    font-size: 18px;
}

.table-courses tr.toggleable {
    cursor: pointer;
}

.table-courses .course-description {
    max-height: 0;
    overflow: hidden;
}

.table-courses tr.open .course-description {
    max-height: 999px;
    margin-top: 10px;
    padding: 1.5rem 0;
}

.table-courses tr.open .btn-toggle .fa-plus:before {
    content: "";
}

.tablesorter th:first-child {
    cursor: pointer;
}

.headerSortUp:after {
    margin-left: 10px;

    font-size: 13px;

    content: "▲";

    color: #969697;
}

.tablesorter th:first-child:after,
.headerSortDown:after {
    margin-left: 10px;

    font-size: 13px;

    content: "▼";

    color: #969697;
}

/*
 * Programme - Internship / Exchange programme
 * ==================================================
 */
.table-internship tr td:first-child{
     width:45%;
 }
.table-internship tr td img{
     width: 100%;
     height: auto;
 }
.table-internship tr td p{
    font-size:14px;
    margin-bottom: 1.5rem;
}

.sharing + .sharing {
    margin-top: 50px;
}

.sharing p + p {
    margin-top: 15px;
}

/*div[data-page="exchange"]{
	width: 75%;
}*/

div[data-page="exchange"] > h4 {
    margin-top: 30px;
    margin-bottom: 50px;
}


.exchange-avatar {
    display: inline-block;
    max-width: 49%;
    margin-bottom: 15px;

    vertical-align: top;
}

/*
 * News
 * ==================================================
 */
#inner-news .subpage .news {
    cursor: pointer;
}

#inner-news .closebtn {
    position: absolute;
    top: 35px;
    right: 20px;
    z-index: 99;

    font-size: 30px;
    font-weight: bold;

    cursor: pointer;

    color: #4d4d4d;
}

#section-list,
#section-view {
    display: none;
}

#section-list.active,
#section-view.active {
    display: block;
}

#section-view * {
    font-family: "tenso","azo-sans-web","Microsoft JhengHei" !important;
}


.nav-categories a:before,
.news-category:before {
    margin-right: 15px;

    font-style: normal;

    content: "▀";
    vertical-align: sub;
}

#section-list h2 {
    font-family: "lft-etica";
    font-size: 17px;
    font-weight: 700;
}

#section-view {
    font-family: "lft-etica";
}

#section-view .news-oversea_field_trip .col-md-9 img {
    display: inline-block;
    /*max-width: 200px;
    min-height: 150px;*/
    margin-right: 15px;
    margin-bottom: 15px;

    vertical-align: top;
}

#section-view li {
    margin-bottom: 10px;
}

.nav-categories {
    padding-left: 0;

    font-family: "lft-etica";
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 2em;
    list-style: none;
}

.nav-categories li{
    margin: 1rem auto;
}
.nav-categories li.filtered {
    opacity: .4;
}

.nav-categories a,
.nav-categories a:hover,
.nav-categories a:focus {
    text-decoration: none;

    color: #000;
}

/* .nav-categories [data-category="news"]:before,
.news-news h2,
.news-news .news-category {
    color: #22a055;
}

.nav-categories [data-category="local-field-trips"]:before,
.news-local-field-trips h2,
.news-local-field-trips .news-category {
    color: #f48b73;
}

.nav-categories [data-category="events"]:before,
.news-events h2,
.news-events .news-category {
    color: #af3131;
}

.nav-categories [data-category="oversea-field-trips"]:before,
.news-oversea_field_trip h2,
.news-oversea_field_trip .news-category {
    color: #eacb47;
}

.nav-categories [data-category="media"]:before,
.news-oversea_field_trip h2,
.news-oversea_field_trip .news-category {
    color: #0f337b;
} */

.news[data-id] {
    margin-top: 25px;
    margin-bottom: 25px;
}

.news-category {
    margin-top: 10px;

    font-size: 18px;
}

.list-meta {
    color: #9a9aa0;
}

.share {
    display: inline-block;
    padding: 2px 3px;
    margin-top: 20px;
    margin-left: 5px;

    border: 1px solid black;
}

.share-fb {
    color: #9a9aa0;
}

.share-fb:hover {
    color: #9a9aa0;
}

.news-paging {
    display: none;
    padding: 5px 10px;
    margin-left: 20px;

    cursor: pointer;

    color: #22a055;
    border: 2px solid #22a055;
}

.news-paging.display {
    display: inline-block;
}

.animated.fadeInUp {
    display: none;
}

.animated.fadeInUp.active {
    display: block;
}

.news-paging.active,
.news-paging:hover {
    color: white;
    background-color: #22a055;
}
.news-detail{
    margin-top: 2rem;
}
.news-detail table td{
    padding: 1rem;
}
.news-detail table td p{
    margin: 0;
}
.pagination{
    margin-top: 70px;
}
.pagination .page-numbers
{
    display: inline-block;
    color: #22A055;
    padding: 5px 11px;
    border: none;
    margin-left: 20px;
    margin-top: 10px;
    cursor: pointer;
}
.pagination .page-numbers.current{
    color: white;
    background-color: #22a055;
}

.fa.fa-facebook.fa-fw:before {
    font-family: FontAwesome !important;
}

/*
 * People - Programme Leaders
 * ==================================================
 */
.blockquote {
    font-family: "tk-utopia-std" !important;
    font-size: 24px !important;
    font-style: italic;
    line-height: 1.3em !important;
}

.blockquote:before,
.blockquote:after {
    content: "'";
}


.blockquote-source {
    margin-top: 10px;

    font-family: "tk-utopia-std";
    font-size: 16px;

    color: grey;
}

.blockquote-source:before,
.blockquote-source:after {
    content: "-";
}

.blockquote-source:empty:before,
.blockquote-source:empty:after {
    content: "" !important;
}


.leader-block {
    margin-bottom: 100px;
}

.leader-avatar {
    max-width: 100%;
}

.leader-name {
    margin-top: 30px;
    margin-bottom: 10px;

    font-size: 20px;
    font-weight: bold;

    color: #df623f;
}

.leader-name a{
    color: #df623f;
}

.leader-position {
    color: grey;
}

.leader-position ul {
    padding-left: 0;

    list-style: none;
}

.leader-contact {
    line-height: 1.7em;

    color: #df623f;
}

.leader-contact a {
    color: #df623f;
}

/*
 * People - Contact List
 * ==================================================
 */
.list-staff {
    margin-bottom: 50px;

    border-width: 1px;
    border-style: solid;
    border-color: #df6947;
}

.list-staff > li > .staff-block {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #df6947;
}
.list-staff > li:last-child > .staff-block{
        border-bottom: 0;
}

.list-staff > li.open + li > .staff-block {
    border-top-width: 1px;
}

.staff-block {
    padding: 10px 25px;

    -webkit-transition: none;

            transition: none;

    background-color: white;
}
.subpages .list-staff  li{
    margin: 0;
    padding: 1rem 0;
}
#inner-people .subpages .staff-block h4{
    margin-top: 5px;
    margin-bottom:5px;
}

.staff-block .col-sm-2 {
    padding-top: 12px;
}

/*.staff-block .row .col-sm-4:after{
	content: "\f067";
	  width: 1.28571429em;
  text-align: center;
    display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  float: right;
  padding-top: 15px;
    color: #DF6947;
}*/

.staff-block a {
    color: #df623f;
}

.open .staff-block .row .col-sm-4:after {
    content: "" !important;
}


/*.staff-block:hover,
.open .staff-block {
	background-color: #EFEFEF;
}*/

.staff-name {
    margin-top: 0;

    font-size: 16px;

    color: #df6947;
}

.staff-description {
    height: 0;
    padding-top: 0;
    padding-right: 3%;
    padding-bottom: 0;
    padding-left: 3%;
    overflow: hidden;

    -webkit-transition: .5s height,.5s padding;

            transition: .5s height,.5s padding;

    opacity: 0;
}

.open .staff-description {
    height: 200px;
    padding-top: 3%;
    padding-bottom: 3%;

    line-height: 26px;
    /*padding: 3%;*/

    opacity: 1;
}

.list-staff .col-sm-1:before {
    font-size: 26px;
    font-weight: bold;

    content: "+";

    color: #df6947;
}

.list-staff > .open .col-sm-1:before {
    content: "-";
}

/*
 * Researches
 * ==================================================
 */
body.innerpage.research:before {
    background-position-y: 20%;
}

#inner-research h3 {
    margin-top: 60px;
}

#inner-research ul {
    padding-left: 0;

    list-style: none;
}

#inner-research li {
    font-weight: bold;
}

#inner-research .research-projects-list .leader {
    font-weight: bold;;
}

.project {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 25px;
}

.project + .project {
    border-top: 1px solid #d3d3d3;
}

.project-group {
    padding-top: 15px;

    font-size: 1.2em;
}

.project-title {
    padding-left: 0;
}

/* .funding:before {
    content: "HK$ ";
}

.funding::empty:before {
    content: "" !important;
} */

/*
 * Students
 * ==================================================
 */

.subpage[data-page="awards"] img {
    max-width: 400px;
}

.subpage[data-page="ursp"] p:first-of-type > img {
    display: block;
    height: 400px;
    max-width: 100%;
}

.subpage[data-page="ursp"] img {
    height: 150px;
    max-width: 20%;
    margin-right: 1%;

    vertical-align: top;
}

.subpage[data-page="ursp"] td + td {
    padding-left: 40px;
}


.video-wrapper{
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    z-index: 999;
}
.video-wrapper .video-wrapper-bg{
    background-color: rgba(0,0,0,.5);
    position: absolute;
    width: 100%;
    height: 100%;
}
.video-wrapper .video-container{
    position: fixed;
    width: 660px;
    height: 400px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    padding-top: 40px;
}
/* .video-wrapper .video-js {
    z-index: 9999;

} */
.video-wrapper .closebtn {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 99;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}
.video-js{
    opacity: 0;
}
.video-js .vjs-big-play-button{
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.sk-folding-cube.deactive {
    width: 0;
    height: 0;
    opacity:0;
  }
.sk-folding-cube {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    -ms-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
  }
  
  .sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1); 
  }
  .sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
  .sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
            transform: scale(1.1) rotateZ(90deg);
  }
  .sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
            transform: scale(1.1) rotateZ(180deg);
  }
  .sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
            transform: scale(1.1) rotateZ(270deg);
  }
  .sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
  }
  .sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s; 
  }
  .sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
  }
  @-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
      -webkit-transform: perspective(140px) rotateX(-180deg);
              transform: perspective(140px) rotateX(-180deg);
      opacity: 0; 
    } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
              transform: perspective(140px) rotateX(0deg);
      opacity: 1; 
    } 90%, 100% {
      -webkit-transform: perspective(140px) rotateY(180deg);
              transform: perspective(140px) rotateY(180deg);
      opacity: 0; 
    } 
  }
  
  @keyframes sk-foldCubeAngle {
    0%, 10% {
      -webkit-transform: perspective(140px) rotateX(-180deg);
              transform: perspective(140px) rotateX(-180deg);
      opacity: 0; 
    } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
              transform: perspective(140px) rotateX(0deg);
      opacity: 1; 
    } 90%, 100% {
      -webkit-transform: perspective(140px) rotateY(180deg);
              transform: perspective(140px) rotateY(180deg);
      opacity: 0; 
    }
  }