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

@import url(https://fonts.googleapis.com/css?family=PT+Serif:400,700);

/* Latest Google Font - Traditional Chinese */
@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);

/* ===== General ===== */
/* ===== Header ===== */
/* ===== main-nav ===== */
/* ===== Animate affix nav ===== */
/* ===== Footer ===== */
/* ===== Slick ===== */
/* ===== Past Lectures ===== */




/* ===== Media Queries ====== */
/* ===== For Printing A4 ====== */


/* ===== General ===== */
body {
    font-size: 16px;
}
.main-content h1 {
    font-weight: bold;
    border-bottom: 2px solid #fbdce8;
    padding-bottom: 3px;
    color: #6b203f;
}
p {
    color: #444;
    padding-top: 10px;
}

.img-responsive {
	max-width: 100%;
    width: 100%;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.img-bottom {
    margin-bottom: 15px !important;
}
.text-tc, .text-tc a {
	font-family: "Noto Sans TC", Meiryo, sans-serif !important;
	letter-spacing: 0.1em !important;
}
.text-tc2 {
	font-family: "Noto Sans TC", Meiryo, sans-serif !important;
}
.text-tc3 {
	font-family: "Noto Sans TC", Meiryo, sans-serif !important;
    letter-spacing: 0.1em !important;
    line-height: 1.8 !important;
}
.text-nowrap {
    white-space: nowrap;
}
.text-noshadow {
    text-shadow: none !important;
    font-weight: normal !important;
}
.text-table {
    font-size: 85%; !important;
}
.font-120 {
    font-size: 120%;
}
.font-150 {
    font-size: 150%;
}
.text-color01 {
    color: #004e8a;
}
.text-color02 {
    color: #f58031;
}
.text-color03 {
    color: #c0165f;
}
.text-color04 {
    color: #cc3300;
}
.text-color05 {
    color: #76bef6;
}
.text-color06 {
    color: #70bc3d;
}

a.btn-cityu {
    color: #fff;
    background-color: #c0165f;
    border-color: #9a1e54;
    font-weight: bold;
}
a.btn-cityu:hover {
    color: #fff;
    background-color: #9a1e54;
    border-color: #9a1e54;
}

.text-address-line {
	line-height: 1.5 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.text-area {
    font-style: italic;
    font-size: 110%;
    line-height: 1;
    font-weight: bold;
}
.bg-red {
    background-color: #c0165f !important;
}
.bg-darkred {
    background-color: #9a1e54 !important;
}
.bg-white {
    background-color: #fff !important;
}

hr {
	border:0; height:1px; background-color:#eee;
	color:#eee;
    margin-top: 40px;
    margin-bottom: 30px;
}
.hr-card {
	border:0; height:1px; background-color:#eee;
	color:#eee;
    margin-top: 2px !important;
    margin-bottom: 2px;
}

.alert-small {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.margin-u-b-5 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
.margin-bottom-0 {
    margin-bottom: 0px !important;
}
.margin-bottom-10 {
    margin-bottom: 10px !important;
}
.margin-bottom-25 {
    margin-bottom: 25px !important;
}
.margin-top-25 {
    margin-top: 25px !important;
}
.width01 {
    width: 18% !important;
}
.width02 {
    width: auto !important;
}
.icon-doc {
	padding-right: 30px;
    background-image: url('../img/icon-doc.png');
    background-repeat: no-repeat;
}
.label-s {
	font-size: 50% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    vertical-align: middle !important;
}
.panel-cityu {
    border-color: #c0165f;
}
.panel-cityu>.panel-heading {
	background-color: #c0165f;
    border-color: #c0165f;
    color: #fff;
}
.panel-cityu>.panel-body {
	background-color: #fbdce8;
}
#contact-box .glyphicon {
	margin-left: 5px;
    margin-right: 8px;
}
.year-banner {
    background-color: #eee;
    color: #9a1e54;
    font-size: 130%;
    margin-top: 15px;
    padding-top: 0px !important;
    border-radius: 20px;
    -moz-border-radius: 20px;
}
.breadcrumb {
	margin-top: 8px;
}

/* ===== Header ===== */
.cityu-top-icon img {
    height: 38px;
    margin-top: 7px;
}
.navbar {
    z-index: 100 !important;
}
.top-banner {
	position: relative;
}
.top-banner02 {
	position: relative;
}
.top-bg {
	position: absolute;
    width: 100%;
    height: 50px;
    background-color: #6b203e;
    opacity: 0.7;
    -moz-opacity:0.7;
    -webkit-opacity: 0.7;
    z-index: 0;
}
.top-bg2 {
	position: absolute;
    width: 100%;
    height: 50px;
    background-color: #6b203e;
    z-index: 0 !important;
}
.film-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../img/film-layer.png');
}
#top-bar .container {
	z-index: 10 !important;
}
#top-bar p {
	padding-top: 15px;
}
.vprt-link-top a {
	color: #fff;
}
.vprt-link-top a:focus, .vprt-link-top a:hover {
	color: #fbdce8;
}
.head-container {
	background-color: #c0165f;
}

/* ===== main-nav ===== */
#dls-navbar {
    font-size: 110% !important;
    font-family: 'PT Serif', serif;
}
.navbar-nav > li > .active {
    background-color: #ffeef5;
}
.navbar-nav > li > a:focus, .navbar-nav > li > a:hover {
    background-color: #fff !important;
}
/*
.navbar-toggle {
	width: 100%;
    background-color: rgba(220,220,220,0.7);
    z-index: 20;
    margin-left: 30px !important;
    margin-right: 0px !important;
    margin-top: 4px !important;
    margin-bottom: 0px !important;
}
.navbar-toggle:hover, .navbar-toggle:active, .navbar-toggle:link, .navbar-toggle:focus {
    background-color: rgba(220,220,220,1) !important;
    z-index: 20;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff;
    width: 25px;
    z-index: 5;
}
*/
.main-content h1 {
	margin-top: 40px !important;
    font-family: 'PT Serif', serif;
}
.affix {
    top:0;
    width: 100%;
    z-index: 9999 !important;
}
.navbar {
    margin-bottom: 0px;
}

.affix ~ .affix-container {
    position: relative;
    top: 55px;
}

/* ===== Animate affix nav ===== */
.affix {
    top: 0;
    width: 100%;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    /* background-color: #F44336;
    border-color: #F44336; */
    border-bottom: 5px solid #e8a7ba;
}

.affix a {
    color: #6b203f !important;
    /*
    padding-top: 12px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 12px;
    */
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.affix-top a {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.cityu-nav-icon {
	width: 0;
    opacity: 0;
}
.affix .cityu-nav-icon {
	width: 65px;
    margin-right: 15px;
    opacity: 1;
    -webkit-transition: width 0.5s;
    transition: width 0.5s;
}

/* ===== /Animate affix nav ===== */

/* ===== Footer ===== */
#bg-bottom {
    background-color: #dddddd;
}
#dls-footer, #cityu-footer-credits {
    font-size: 90%;
    line-height: 1.3;
    color: #555;
}
#dls-footer p {
	color: #555;
}
#cityu-footer-icons img {
    height: 75px;
    margin-top: 20px;
}

/* ===== slick ===== */
#slick-frame {
    margin-top: 20px;
}
.dls-slick {
    background-color: #e3d9c9;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
#slick-frame img {
	padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #fff;
    /*
    border-radius: 10px;
    -moz-border-radius: 10px;
    */
}
#slick-frame button {
	display: none !important;
}
#slick-frame .dls-slick {
    display: none;
}
#slick-frame.slick-initialized .dls-slick {
    display: block;
}
.dls-slick {
    visibility: hidden;
}
.dls-slick:first-child {
    visibility: visible;
}
.dls-slick .slick-initialized {
    visibility: visible;
}

/* ===== Past Lectures ===== */
.cards-holder {
	/* font-size: 90% !important; */
}
.cards-holder ul {
	padding-left: 1%;
}
.cards-holder ul li {
    /* min-height: 280px; */
    display: inline-block;
    border: 4px solid #ddd;
    vertical-align: top;
    margin: 5px;
    /* for IE 7 */
    zoom: 1;
    *display: inline;
}
.pl-card01, .pl-card02, .pl-card03, .pl-card04, .pl-card05, .pl-card06, .pl-card07, .pl-card08 {
    border: 4px solid #ddd;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.pl-card01 {
	background-color: #3b7cc5;
}
.pl-card01:hover, .pl-card01:focus {
    border-color: #3b7cc5;
}
.pl-card02 {
    background-color: #43a5bd;
}
.pl-card02:hover, .pl-card02:focus {
    border-color: #43a5bd;
}
.pl-card03 {
    background-color: #a8bd43;
}
.pl-card03:hover, .pl-card03:focus {
    border-color: #a8bd43;
}
.pl-card04 {
    background-color: #624a9a;
}
.pl-card04:hover, .pl-card04:focus {
    border-color: #624a9a;
}
.pl-card05 {
    background-color: #9a4a97;
}
.pl-card05:hover, .pl-card05:focus {
    border-color: #9a4a97;
}
.pl-card06 {
    background-color: #d13d60;
}
.pl-card06:hover, .pl-card06:focus {
    border-color: #d13d60;
}
.pl-card07 {
    background-color: #5c9a52;
}
.pl-card07:hover, .pl-card07:focus {
    border-color: #5c9a52;
}
.pl-card08 {
    background-color: #d9742b;
}
.pl-card08:hover, .pl-card08:focus {
    border-color: #d9742b;
}
.cards-holder ul li a {
    text-decoration: none;
}
.card-frame {
	padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.card-speaker {
	background-color: transparent !important;
    border: 0 !important;
}
.card-speaker > p {
    color: #fff !important;
    line-height: 1.3;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    padding-left: 8px !important;
    padding-right: 4px !important;
    opacity: 0.7;
}
.card-frame:hover .card-speaker > p {
	opacity: 1;
}
.card-content-frame {
    position: relative !important;
    background-color: #fff !important;
}
.card-content {
    color: #666 !important;
    line-height: 1.3;
    margin-bottom: 0 !important;
    padding-top: 10px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.card-btn {
    position: absolute;
    background-color: #fff;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 20;
}
.card-btn:hover {
    opacity: 0.5;
}
.card-lens {
    background-image: url('../img/lens.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 40px;
    height: 40px;
    top: -20%;
    left: 45%;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 0;
}
.card-content-frame:hover .card-lens {
    background-image: url('../img/lens.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 55%;
    left: 45%;
    opacity: 1;
    z-index: 30;
}
.btn-readmore {
	color: #c0165f;
    font-size: 70%;
    padding-bottom: 5px;
    position: absolute;
    width: 100%;
    bottom: 4px;
    z-index: 10;
}

/* ==================== Media Queries ===================== */

/* ===== Mainly for Mobile ====== */
@media (max-width:768px) {
    /* ===== main-nav ===== */
    #header01 {
        height: 300px;
    }
    #header02 {
        height: 250px;
    }
    .top-banner {
        height: 300px;
    }
    .top-banner02 {
        height: 250px;
    }
    .dls-title {
        padding-top: 40px;
        font-size: 300%;
        color: #fff;
        font-weight: bold;
        text-align: right;
        line-height: 1.1;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        width: 95%;
        display: block;
        float: right;
        padding-right: 30px;
    }
    .dls-title2 {
        padding-top: 20px;
        font-size: 300%;
        color: #fff;
        font-weight: bold;
        text-align: left;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        display: block;
    }
    .main-nav {
	   width: 100%;
    }

    .navbar {
        min-height: 46px;
    }
    .navbar-header {
        position: relative !important;
    }
    .menu-label {
        position: absolute !important;
        top: 2px;
        z-index: 10;
        display: block;
        width: 100%;
    }
    .menu-label img {
        height: 23px;
    }
    
    /* ===== /main-nav ===== */
    .main-content {
        line-height: 1.6;
        font-size: 100%;
        text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
        /*
        padding-top: 40px;
        padding-bottom: 40px;
        */
    }
    #bg-bottom {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    /* ===== mis ===== */
    .comm-photo {
        margin-right: 15px;
        width: 120px;
    }
}
/* ===== /Mainly for Mobile ====== */

@media (min-width:768px) {  /* iPad Vertical, sm */
    #header01 {
        height: 350px;
    }
    #header02 {
        height: 200px;
    }
    .top-banner {
        height: 350px;
    }
    .top-banner02 {
        height: 200px;
    }
    .dls-title {
        padding-top: 40px;
        font-size: 420%;
        color: #fff;
        font-weight: bold;
        text-align: right;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        width: 75%;
        display: block;
        float: right;
        padding-right: 30px;
    }
    .dls-title2 {
        padding-top: 20px;
        font-size: 300%;
        color: #fff;
        font-weight: bold;
        text-align: left;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        display: block;
    }
    /* ===== main-nav ===== */
    .main-nav {
	   width: 100%;
    }

    .navbar {
        min-height: auto;
    }
    .nav {
        float: right !important;
    }
    .navbar-header {
        position: relative !important;
    }
    .menu-label {
        position: absolute !important;
        top: 2px;
        z-index: 10;
        display: block;
        width: 100%;
    }
    .menu-label img {
        height: 23px;
    }
    
    .navbar-nav>li>a {
        font-size: 85%;
        /* padding-bottom: 4px; */
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* ===== /main-nav ===== */
    .main-content {
        line-height: 1.4;
        font-size: 100%;
        text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
        padding-bottom: 20px;
    }
    #bg-bottom {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    /* ===== mis ===== */
    .comm-photo {
        margin-right: 15px;
        width: 135px;
    }
    /* ===== Past lectures ===== */
    .cards-holder ul li {
        margin-bottom: 10px;
        width: 48%;
    }
    .card-content {
        min-height: 70px;
    }

}

/* ===== CHANGE Hamburger menu Toggle Point, Just change 991px by 1199px for md sizes. ====== 
@media (max-width: 991px) {
    
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    // since 3.1.0 
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}
/* ===== /CHANGE Hamburger menu Toggle Point ====== */

@media (min-width: 992px) { /* iPad horizontal, md */
    #header01 {
        height: 400px;
    }
    #header02 {
        height: 230px;
    }
    .top-banner {
        height: 400px;
    }
    .top-banner02 {
        height: 230px;
    }
    .dls-title {
        padding-top: 60px;
        font-size: 450%;
        color: #fff;
        font-weight: bold;
        text-align: right;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        width: 75%;
        display: block;
        float: right;
        padding-right: 30px;
    }
    .dls-title2 {
        padding-top: 20px;
        font-size: 380%;
        color: #fff;
        font-weight: bold;
        text-align: left;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        display: block;
    }
    /* ===== main-nav ===== */
    .main-nav {
        width: 970px;
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-nav>li>a {
        font-size: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* ===== /main-nav ===== */
    .main-content {
        line-height: 1.6;
        font-size: 100%;
        text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
        padding-bottom: 20px;
    }
    #bg-bottom {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    /* ===== mis ===== */
    .comm-photo {
        margin-right: 15px;
        width: 160px;
    }
    /* ===== Past lectures ===== */
    .cards-holder ul li {
        width: 48%;
    }
    .card-content-frame {
        min-height: 165px;
    }
}

@media (min-width:1200px) { /* Desktop 1200px or above */
    #header01 {
        height: 500px;
    }
    #header02 {
        height: 240px;
    }
    .top-banner {
        height: 500px;
    }
    .top-banner02 {
        height: 240px;
    }
    .dls-title {
        padding-top: 100px;
        font-size: 550%;
        color: #fff;
        font-weight: bold;
        text-align: right;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        width: 75%;
        display: block;
        float: right;
        padding-right: 50px;
    }
    .dls-title2 {
        padding-top: 20px;
        font-size: 400%;
        color: #fff;
        font-weight: bold;
        text-align: left;
        line-height: 1.2;
        text-shadow: 4px 4px 8px rgba(176, 24, 97, 0.7);
        display: block;
    }
    /* ===== main-nav ===== */
    .main-nav {
        width: 1150px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .navbar-nav>li>a {
        font-size: 110%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ===== /main-nav ===== */
    .main-content {
        line-height: 1.5;
        font-size: 110%;
        text-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
    }
    #bg-bottom {
        padding-top: 20px;
        padding-bottom: 50px;
    }
    /* ===== Past lectures ===== */
    .cards-holder ul li {
        width: 32%;
    }
    .card-content-frame {
        min-height: 165px;
    }
}

@media (min-width: 1600px) {
    
}
/* ===== /Media Queries ====== */


/* ===== For Printing A4 ====== */
@media print {
    body {
        margin-top: 5px !important;
        width: 100% !important;
    }
    p {
        line-height: 2 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .row {
        width: 1000px !important;
    }
    #main-content {
	   width: 1000px !important;
    }
    a[href^="http:"]:after {
        display: none;
    }
    a[href]:after {
        content: none !important;
    }
    
    .media-left, .media-middle {
        display: block !important;
        width: 150px !important;
        float: left !important;
    }
    .comm-photo {
        width: 120px !important;
        height: 120px !important;
    }
}
@page {
    size: "A4" !important;
    margin: 1.5cm;
}

