/*
 *
 * City University of Hong Kong
 * ----------------------------
 * Site Specific CSS
 *
 */

/* --------- General ---------*/
@media (min-width: 1400px) {
    body {
        /*background-image: url(//template.cityu.edu.hk/template/themes/custom/cityu_template_2017/images/cityu_bg_lightgrey.png);
  background-image: url(//cityu.edu.hk/sites/g/files/asqsls4416/files/media-image/landing-bt-bg_1.png);*/
        background-image: url(../img/bg.png);
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
    }
}

.sitemap-color-default {

    background: linear-gradient(60deg, #163C8C, #051840);
}


.cityu-divider-1 {
    /*left: 33% !important;*/
    clip-path: polygon(0% 0%, 100% 0%, 100% 30%, 0% 100%)!important;
    right: 67% !important;
    z-index: 0;
    margin: 0 -50vw 0 -50vw !important;
}

.cityu-divider-2 {
    /*left: 35% !important;*/
    right: 65% !important;
    z-index: 0;
    margin: 0 -50vw 0 -50vw!important;
}

.cityu-divider-3 {
    position: relative;
    left: 50%;
    right: 50%;
    margin: 0 -50vw 0 -50vw!important;
    width: 100vw;
    height: 6rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 30%);
    background-color: #f8f9fa;
    background: linear-gradient(225deg, #dee2e6 0%, #f8f9fa 100%);
    right: 65% !important;
    z-index: 0;
}

.newstitle{
    color: #0c5460;
}

.cityu-content .btn-info, .cityu-content .badge-info, .btn-info, .badge-info {
    background-color: #177d8d;
    color: white !important;
}

.cityu-content .btn-success, .cityu-content .badge-success, .btn-success, .badge-success {
    background-color: #197b30;
    color: white !important;
}

.cityu-content .btn-primary, .cityu-content .badge-primary, .btn-primary, .badge-primary {
    background-color: #0f6dd3;
    color: white !important;
}

.cityu-content .btn-warning, .cityu-content .badge-warning, .btn-warning, .badge-warning {
    color: #000 !important;
}

.cityu-content .btn-danger, .cityu-content .badge-danger, .btn-danger, .badge-danger {
    color: white !important;
}

.cityu-content .btn-secondary, .cityu-content .badge-secondary, .btn-secondary, .badge-secondary {
    color: white !important;
}

.cityu-content .btn-dark, .cityu-content .badge-dark, .btn-dark, .badge-dark {
    color: white !important;
}

.card {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    cursor: default;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.card-title {
    font-size: 1.14rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-weight: 500;
    line-height: 1.2;
}
.card-title a{color:#2358a2;}
.card-title a:hover {
    color: #1c5fbbff;
}
.card-body {
    padding: 1rem;
}

.card-content a {
    color: #026de0!important;
}

.alert hr {
    margin-top: 0px;
    margin-bottom: 10px;
}
.alert p{
    margin-bottom:0.5rem;
}
.alert-info hr {
    border-top-color: #9bd0d8;
}

.cityu-submenu-list a[target="_blank"]::after {
    display: inline-block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: "Font Awesome 5 Free";
    content: "\f360";
    font-weight: 700;
    font-size: 0.75rem;
    opacity: 0.6;
}

.table th {
    border-bottom: solid 1px #999;
    background: #f7f7f7;
}

.cityu-content a {
    color: #2259af!important;
}


/*---------Header---------*/
.cityu-search .form-control {
    border: solid 1px lightblue;
}


/*----------Menu------------*/
.menu-color-default {
    background-image: linear-gradient(45deg,#1c5fbbff,#0b2f5cff);
}

.cityu-menu-list li {
    font-weight: 500;
    font-size:0.9em;
}

.menu-color-default .cityu-menu-button {
    color: #fff;
}

/* -------- Large screen   */
@media (min-width: 992px) {
    .menu-color-default .nav-item:hover, .menu-color-default .nav-item:hover .nav-link {
        background: #183c70ff;
        color: #fff;
    }

    .menu-color-default .dropdown-menu, .menu-color-default .dropdown-item {
        color: #f8f9fa;
        border-bottom: solid 1px #52529e;
    }

    .nav-item .dropdown-menu .dropdown:hover, .nav-item .dropdown-menu .dropdown-toggle:hover, .nav-item .dropdown-menu .nav-link:hover {
        background: #5c1230;
        color: #fff;
    }

    .menu-color-default .dropdown-menu {
        background-color: #183c70ff;
        color: #fff;
    }

    .cityu-menu-list .nav-link.dropdown-toggle {
        padding-right: 1.55rem;
    }

    .nav-item .dropdown-menu .dropdown-toggle, .nav-item .dropdown-menu .nav-link {
        width: 100%;
    }

    .cityu-sidebar > ul > li {
        padding-right: 5px!important;
    }
}

/* -------- Small screen  */
@media (max-width: 991px) {
    .menu-color-default .cityu-menu-offcanvas {
        background-color: #6b203e;
        background: linear-gradient( 225deg, #1c5fbbff, #0b2f5cff );
    }

    .menu-color-default .dropdown-menu {
        background-color: #21375e;
    }

    .menu-color-default .nav-item, .menu-color-default .nav-link {
        color: #fff;
    }

    .cityu-menu-list .dropdown-menu li.dropdown {
        padding-left: 12px;
    }

    .show .show .show li {
        background-color: #0c1e39ff;
    }
}



/*--------Side Bar---------*/
.cityu-sidebar:first-of-type {
    margin-top: 1rem;
}

.cityu-sidebar {
    padding: 0 1rem 0 1rem;
}

.sidebaractive {
    background: #d3ecf5;
    font-weight: 700;
}

/*-------Contents------------*/
.cityu-content {
    margin-top: 1rem;
}

.form-control {
    border: solid 1px #8db3e6ff;
}



.cityu-content h2, .cityu-content h3, .cityu-content h4, .cityu-content h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/*------- Footer, Sitemap---------*/
.cityu-sitemap .hideinfooter {
    display: none;
}