/* City University of Hong Kong */
/* CSS Base Custom */


/* For testing only */
/* #cityu-footer {border-color: red !important;} */




*{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.content-wrap{
    margin: auto;
    width: 960px;
    padding: 30px 29px 0px 29px;
}

.content-wrap.student-life{
    padding: 0;
}

.content-wrap.student-life:first{
    padding-bottom: 30px;
}
.content-wrap h1{
    border-bottom: 1px solid #bf165e;
}

.content-wrap .title-img{
    margin: 0 auto;
    display:block;
    margin-bottom: 40px;
    margin-top: 30px;
}

.content-wrap > .desc{
    font-size: 18px;
    text-align: justify;
    display: block;
}

.content-wrap > .title{
    font-size: 24px;
    display: block;
    text-align: center;
    font-weight: bold;
    margin: 60px 0;
}

.content-wrap> .clearfix > .img-wrap{
    width: 33%;
    display: block;
    float: left;
    padding: 0 10px;
    position: relative;
}

.content-wrap > .clearfix > .img-wrap > img{
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.content-wrap > span{
    font-size: 18px;
}

.hidden-wrap{
    width: 100%;
    background-color: #3eba47;
    display: none;
}


.hidden-wrap > .content-wrap{
    padding-top:0;
    position: relative;
    width: 100%;
}

.hidden-wrap > .content-wrap > .wrap{
    padding-top: 65px; 
    padding-bottom: 65px;
}

.hidden-wrap > .content-wrap > .wrap > div > .link{
    text-align: left;
}

.hidden-wrap > .content-wrap > .wrap > div > .link > a{
    color:#6cefff;
    overflow-wrap: break-word;
}

.hidden-wrap > .content-wrap > .wrap > div > p{
    padding-bottom: 20px;
    text-align: justify;
    display: block;
}

.hidden-wrap > .content-wrap > .wrap > div{
    color: #fff;
    display: block;
    font-size: 18px;
    padding-bottom: 20px;
    text-align: center;
}

.hidden-wrap > .content-wrap > .wrap > div > .more{
    cursor: pointer;
    border: #fff 2px solid;
    padding: 6px 32px;
    width: 160px;
    display: block;
    margin: 10px auto;
}

.hidden-wrap > .content-wrap > .wrap > .slide-wrap{
    position: relative;
    padding-bottom: 0;
    margin-top: 20px;
}

.hidden-wrap > .content-wrap > .wrap > .slide-wrap > .left{
    position: absolute;
    left: 0;
    top:0;
    bottom:0;
    margin: auto 0;
}

.hidden-wrap > .content-wrap > .wrap > .slide-wrap > .right{
    position: absolute;
    right: 0;
    top:0;
    bottom:0;
    margin: auto 0;
}

.triangle{
    width: 0;
    height: 30px;
    border-style: solid;
    border-width: 0 30px 0px 30px;
    border-color: transparent transparent #3eba47 transparent;
    display: block;
    margin: 0 auto;
    -webkit-transition:all .4s ease-in-out;
    transition:all .4s ease-in-out;
}

.triangle.top{
    border-width: 0px 30px 0px 30px;
    border-color: #3eba47 transparent transparent transparent;
    -webkit-transition:all .4s ease-in-out;
    transition:all .4s ease-in-out;
}

.triangle.active{
    border-bottom-width: 25px;
    bottom: -1px;
    position: relative;
}

.triangle.top.active{
    border-bottom-width: 0px;
    border-top-width: 25px;
}

.clearfix:before,.clearfix:after{
    clear: both;
    content: '';
    display: block;
}

.clearfix .img-wrap{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
}

.sync1 {
    height: 620px;
}

.sync1 .owl-item{
    height: 620px;
}

.sync1 .item{
    width: 100%;
    height: 100%;
    margin: 5px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    overflow: hidden;
}

.owl-carousel.sync1 .item img{
    display: inline-block;
    width: auto;
    /*height: 620px;
    display: block;
    width: 100% !important;
    height: auto;*/
}

.sync2{
    width: 86%;
    margin: 0 auto;
}

.sync2 .item{
    margin: 5px;
    color: #FFF;
    display:inline-block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
}
.sync2 .item{
    width: 191px;
    height: 143.25px;

    
    overflow: hidden;
}

.owl-carousel.owl-drag .owl-item{
    text-align: center;
    overflow: hidden;
}

.mfp-content{
    color: white;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content{
    padding: 0px;
    height: 100%;
}

.hidden{
    display:none;
    width: 100%;
}

#popup{
    margin-top: 60px;
}

#popup .content-wrap{
    font-size: 18px;
    /*max-width: 960px;
    min-width: 960px;*/
    width:100%;
    padding:30px;
    text-align: justify;
    display: block;
    color: #000;
    background-color: #fff !important;
}

#popup .content-wrap ol{
    list-style: disc;
    margin-left: 35px;
}

#popup .content-wrap a{
    color: #4ea3d8;
}

#popup .content-wrap .title{
    font-size: 18px;
    font-weight: bold;
    /*color: #002060;*/
    color: #000;
    margin-bottom: 25px;
    display: inline-block;

}

#popup > .content-wrap h1{
    color:#000;
    border-bottom-color: #000;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}

#popup > .content-wrap img{
    padding: 10px;
    padding-top: 32px;
    padding-bottom: 32px;
    display: block;
}

#popup .content-wrap span{
    margin-left: 20px;
    display: inline-block;
}

#popup .content-wrap ol b{
    margin-bottom: 0px;
}

/*.owl-carousel{
    max-height: 720px;
}*/

#popup .bg{
    margin-bottom: 10px;
}

.campus-life-bg .bg{
    background-color: #3eba47;
}

.internship-bg .bg{
    background-color: #fa824b;
}

.service-learning-bg .bg{
    background-color: #BA3E75;
}

.student-exchange-bg .bg{
    background-color:#81457e;
}

.learning-abroad-bg .bg{
    background-color:#3e6cba;
}

.degrees-bg .bg{
    background-color: #3ebab6;
}

.mfp-bg{
    background-color: #fff !important;
    position: fixed !important;
    opacity: 0.95;
}

.mfp-wrap{

}

.mfp-container{
    height: auto!important; 
    bottom: 0px;
}

.mfp-close-btn-in .mfp-close{
    color: #000;
}


.goglobal .leaflet .more{
    float: left; width: 50%;
}
.goglobal .qrcode {
        float: left;
    width: 50%;
    margin-top: 30px;
    margin-bottom: 40px;
}
.goglobal .qrcode > div{
    float: left;
    text-align: center;
}
.goglobal img.main-visual{
    width: 100%;
}

.cityu-mobile .goglobal .leaflet > div{
    width: 50%;
    float: left;
}


.cityu-mobile .goglobal .leaflet .qrcode{
    margin-top: 30px; 
    margin-bottom: 40px;
}

.cityu-mobile .goglobal .leaflet .qrcode > div{
    float: left;
    text-align: center;
}


.cityu-mobile .img-responsive{
    width: 100%;
}
.cityu-mobile .content-wrap {
    width: 100%;
}
#goglobal .youtube_box {
    display: inline-block;
    width: 32.8%;
    padding: 0 5px;
    vertical-align: top;
}

@media (min-width: 992px){
    .content-wrap {
        width: 960px;
    }

    .popup img{
        width: 960px;
    }
    #popup .content-wrap{
        width: 960px;
    }
    .hidden-wrap > .content-wrap{
        width: 960px;
    }
}
/*@media (min-width: 1200px){
    .content-wrap {
        width: 1170px;
    }
}*/

.margin-bottom-50 {
    margin-bottom: 50px;
}

@media (max-width: 767px){
    /*.content-wrap {
        width: 100%;
    }*/
    .cityu-mobile .goglobal img.title-img{
        width: 100%;
    }
    .cityu-mobile .goglobal .leaflet > div{
        float: none;
        width: 100%;
    }
    .cityu-mobile .cityu-outer{
        width: 100%;
        min-width: auto;
    }
    .cityu-mobile .sync1 {
        height: auto;
    }
    .cityu-mobile .sync1 .owl-item {
        height: auto;
    }
    .cityu-mobile .owl-carousel.sync1 .item img{
        /*width: 100%;
        height: auto;*/
        width: 100%;
        height: auto;
        max-height: 300px;
    }
    .cityu-mobile .owl-carousel.sync1 .item img.portriat{
        width: auto;
    }
    .cityu-mobile .sync2 .owl-item{
        display: inline-block;
    }
    .cityu-mobile .sync2 .item{
        width: 100%;
        height: 100%;
    }
    .cityu-mobile .hidden-wrap > .content-wrap > .wrap > .slide-wrap > .left, 
    .cityu-mobile .hidden-wrap > .content-wrap > .wrap > .slide-wrap > .right {
        width: 22px;
    }
    #goglobal .youtube_box {
        width: 48%;
    }
    .cityu-mobile .owl-carousel.sync2 .owl-item img{
        width: 100% !important;
        margin-left: 0 !important;
        height: auto!important;
    }
}


@media (max-width: 380px) {
    .cityu-mobile #cityu-header-deptname, #cityu-header-deptname a{
        font-size: 0.8em;
    }
}

@media (max-width: 350px){
    .cityu-mobile .qrcode > div{
        margin: 0 20px 0 0 !important;
    }
}

.cityu-mobile .content-wrap > .clearfix > .img-wrap > img{
    width: 100%;
}

/*.owl-stage-outer * {
    height:100%;
}*/

a.cityu-backtotop{
    width: 30px;
    height: 30px;
}