/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import "bootstrap.min.css";
@import "jquery.mCustomScrollbar.min.css";
body {
    font-family: "Arial", "Helvetica", "sans-serif", "MingLiU", "PMingLiU", "MingLiU_HKSCS";
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

a, a:hover, a:focus {
    text-decoration: none;
    transition: all 0.3s;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    left: -300px;
    height: 100vh;
    z-index: 999;
    background: #3d2f28;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    display: none;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul p {
    padding: 10px;
}

#sidebar ul li {
    border-bottom: 1px solid #000000;
    color: #FFFFFF;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #FFFFFF;
}

#sidebar ul li a i {
    margin-right: 6px;
}

#sidebar ul li a:hover {
    background: #d97a15;
}

#sidebar ul li.active>a, a[aria-expanded="true"] {
    /* background: #6d7fcc; */
}

a[data-toggle="collapse"] {
    position: relative;
    display: block;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    content: '\e260';
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

.container {
    padding: 0;
    max-width: 1024px;
}

.container>.navbar-header {
    margin: 0;
    width: 100%;
}

.collapse {
    overflow: hidden;
}

.title-bar {
    padding: 10px;
    font-size: 16px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #823814;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#823814), to(#b96e27));
    background-image: -webkit-linear-gradient(top, #823814, #b96e27);
    background-image: -moz-linear-gradient(top, #823814, #b96e27);
    background-image: -ms-linear-gradient(top, #823814, #b96e27);
    background-image: -o-linear-gradient(top, #823814, #b96e27);
    background-image: linear-gradient(to bottom, #823814, #b96e27);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#823814, endColorstr=#b96e27);
}

.md-accordion {
    padding: 0px 0 20px 0;
}

.card {
    margin-bottom: 10px;
}

.card-header {
    padding: 0;
    margin-top: 20px;
}

.card-header a {
    padding: 8px 10px;
    font-size: 14px;
    color: #3F3430;
    display: block;
    background: #DFDAC5;
    border: 1px solid #bab59e;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.card-header a.collapsed {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.card-body {
    border: 1px solid #bab59e;
    border-top: none;
}

.inner-card-header a {
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid #f1ecd6;
}

.inner-card-body {
    padding: 8px 10px;
    background: #f1ecd6;
}

.content-section {
    padding: 10px 0;
    min-height: 250px;
}

.header {
    background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
    padding: 10px 0 10px 0;
    margin: -20px -20px 20px -20px;
    overflow: hidden;
}

.logo {
    height: 74px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-header {
    overflow: hidden;
}

.lang-wrapper {
    float: left;
}

.lang-wrapper ul {
    overflow: hidden;
}

.lang-wrapper ul li {
    float: left;
}

.lang-wrapper ul li a {
    padding: 5px 10px;
    display: block;
}

.lang-wrapper ul li a:hover {
    background-color: #eee;
    border-radius: 4px;
}

.exit-wrapper {
    float: right;
}

.exit-wrapper a {
    padding: 5px 10px;
    display: block;
}

.exit-wrapper a:hover {
    background-color: #eee;
    border-radius: 4px;
}

.footer {
    background-color: #f5f5f5;
    border-top: 1px solid rgb(229, 229, 229);
    margin: 0 -20px -20px -20px;
}

.footer-wrapper {
    max-width: 1024px;
    margin: 0 auto;
}

.footer-nav ul {
    overflow: hidden;
    padding: 20px 0;
}

.footer-nav ul li {
    float: left;
    width: 25%;
}

.footer-nav ul li a {
    display: block;
    text-align: center;
    padding: 20px 0;
    color: #005b9f;
}

.footer-nav ul li a:hover {
    background: #eeeeee;
}

.footer-bottom-wrapper {
    border-top: 1px solid #eee;
    overflow: hidden;
    padding: 20px 0;
}

.footer-bottom-left {
    float: left;
    width: 88px;
    height: 31px;
    background: url('../images/wcag2aa.gif') top left no-repeat;
}

.footer-bottom-right {
    float: right;
    width: 172px;
    height: 64px;
    background: url('../images/brandhk.gif') top left no-repeat;
}

.side-lang-wrapper ul {
    overflow: hidden;
    margin: 0 auto;
}

.side-lang-wrapper {
    margin: 20px 0;
    padding-left: 20px;
}

.side-lang-wrapper ul {
    display: inline-block;
    margin: 0 auto;
}

.side-lang-wrapper ul li {
    float: left;
    border: none !important;
}

.side-lang-wrapper ul li a {
    border: 1px solid #000000;
}

.side-lang-wrapper ul li a.active {
    background: #d97a15;
}

.side-lang-wrapper ul li:first-child a {
    border-right: none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.side-lang-wrapper ul li:last-child a {
    border-left: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.hamburger-icon {
    display: none;
}

.no-top-padding {
    padding-top: 0;
}

.no-bottom-padding {
    padding-bottom: 0;
}

.exit-modal {
    width: 300px;
}

.btn-brown {
    color: rgb(254, 244, 233);
    border: 1px solid rgb(26, 12, 4);
    background: #513D32;
    box-shadow: 0px 1px 0px rgb(183, 184, 184) inset;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
}

h4.modal-title {
    text-align: center;
}

table.normal-table {
    width: 100%;
}

table.normal-table>tbody>tr>th, table.normal-table>tbody>tr>td {
    padding: 8px 0;
    vertical-align: top;
}

table.normal-table>tbody>tr>th {
    background: #ddd9c4;
    font-weight: bold;
}

table.normal-table>tbody>tr>th {
    padding: 8px;
}

table.normal-table>tbody>tr>td.numbering {
    padding-right: 10px;
}

@media (max-width:767px) {
    .lang-wrapper {
        display: none;
    }
    .exit-wrapper {
        position: absolute;
        right: 0;
        top: 30px;
    }
    .exit-wrapper a:hover {
        background: transparent;
    }
    .logo {
        text-align: center;
        display: flex;
        padding: 12px 0;
    }
    .logo.en {
        width: 70%;
    }
    .logo.en img {
        width: 100%;
    }
    .hamburger-icon {
        display: block;
        position: absolute;
        top: 22px;
        left: 20px;
        z-index: 999;
    }
    .hamburger-icon .glyphicon-menu-hamburger {
        top: 3px;
        color: #d97a15;
        display: none;
    }
    .hamburger-icon .btn-info {
        background: rgba(0, 0, 0, 0) url("../images/btn_menu@2x.png") repeat scroll 0px 0px / 37px 33px;
        height: 33px;
        width: 37px;
    }
    .footer-nav ul li {
        float: none;
        width: auto;
    }
    .footer-bottom-wrapper {
        padding: 20px;
    }
    .exit-modal {
        width: auto;
    }
}

/* style for es2 static pages */

.gap {
    padding: 8px 10px;
}

.gap-ol {
    padding: 8px 10px;
    margin-left: 15px;
}

.gap-ol li {
    padding-bottom: 7px;
}

.lsn li {
    list-style: none;
}

.static table {
    line-height: 22px;
}

.pl0 {
    padding-left: 0px;
}

.img-size img {
    width: 100%;
}

.description {
    background: #ffefee;
    margin: 20px 0;
    background: url("../images/error-icon.png") center 50px no-repeat #ffefee;
    text-align: center;
    padding: 100px 20px;
}

.description ul li {
    padding-bottom: 4px;
}

.description ul li.subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #6b6b6b;
    border-bottom: 1px solid #959595;
    margin-top: 20px;
}