/*
    Primary for HK Mobile web layout

    font-family: "微軟正黑體";
*/

/* Font */
body {
    font-family: "微軟正黑體", Roboto, Arial, sans-serif;
    color: #222;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "微軟正黑體", Microsoft YaHei,Montserrat, Arial, sans-serif;
}

/* End Font */


#header.header-3 #navigation .nav > li {
    padding: 16px 2px;
}
/* Non-responsive overrides for Bootstrap 3
*
* Utilize the following CSS to disable the responsive-ness of the container,
* grid system, and navbar.
*/

/* Reset the container */
/*.container {
            max-width: none !important;
            width: 1170px;
        }*/

/* Always float the navbar header */
/*.navbar-header {
            float: left;
        }*/

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
    margin-left: 0;
    margin-right: 0;
}

/* Undo the collapsing navbar */
.navbar-collapse {
    border-top: 0;
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
}

.navbar-toggle {
    display: none;
}

.navbar-brand {
    margin-left: -15px;
}

.navbar-form {
    float: left;
    border: none;
    margin: 7px 15px;
    padding: 0 15px;
}

    .navbar-form .form-control {
        width: auto;
    }

/* Always apply the floated nav */
.navbar-nav {
    float: left;
    margin: 0;
}

    .navbar-nav > li {
        float: left;
    }

        .navbar-nav > li > a {
            padding: 15px;
        }

    /* Redeclare since we override the float above */
    .navbar-nav.navbar-right {
        float: right;
    }

/* Undo custom dropdowns */
.navbar .navbar-nav .open .dropdown-menu {
    position: absolute;
    float: left;
    background-color: #fff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-width: 0 1px 1px;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #333;
}

.navbar .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar .navbar-nav .open .dropdown-menu > .active > a,
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff !important;
    background-color: #428bca !important;
}

.navbar .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #999 !important;
    background-color: transparent !important;
}
/* menu */
#header.header-3 #navigation .navbar .navbar-wrap {
    /*border-top: 22px solid #FFF;*/ /*ken: disable for contract wrapper*/
    background: #ffaf4b; /* Old Browsers */
    background: -webkit-radial-gradient(center,#ffaf4b,#ff920a); /*Safari 5.1-6*/
    background: -o-radial-gradient(center,#ffaf4b,#ff920a); /*Opera 11.1-12*/
    background: -moz-radial-gradient(center,#ffaf4b,#ff920a); /*Fx 3.6-15*/
    background: radial-gradient(ellipse at center, #ffaf4b, #ff920a); /*Standard*/
}
/* End menu */
/*Homepage*/

/*Feature container - IPOToday*/
#ipo-today-left h1 {
    text-shadow: 2px 2px #f9d9d9;
}

#ipo-today-left p {
    color: orange;
}

#ipo-today-right input[type=button] {
    margin: 0px 10px 10px 0px;
}
/*End Feature container - IPOToday*/

/* End Homepage*/

/* menu bar */
.header-3 #navigation .nav {
    z-index: 100;
}

.sub-header {
    z-index: 101;
    padding-top: 50px;
    padding-bottom: 10px;
    /*background: #F7901E url(/images/bg-sub-header.png) top left repeat;*/
}
/* End menu bar */
/* Fixed mobile menu alway on top.*/
#header #nav-mobile-top {
    position: fixed;
    top: 0;
    z-index: 1001;
}

/*
    menu bar fornt-size 
*/
#navigation .nav > li > a {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .1px;
    font-weight: 500;
}

.ie.ie8 #navigation .nav > li > a {
    font-size: 13px;
    line-height: 22px;
    letter-spacing: .1px;
    font-weight: 400;
}

.ie.ie8 .header-3#header #navigation .nav > li {
    padding-left: 2px;
    padding-right: 2px;
}

a, a:visited, .link-dark a:hover, a.link-dark:hover, .link-dark2 a:hover, a.link-dark2:hover, .btn-play .ion, .bg-color .btn-play.btn-white .ion, .list-icon ul li .ion, .bg-color .dropcap.dropcap-square.dropcap-white, .bg-color .dropcap.dropcap-circle.dropcap-white, .img-hover4.hover-white .overlay-masked a:hover, .map-address, .carousel-slider .slick-prev:hover, .carousel-slider .slick-next:hover, .carousel-slider .slick-prev:hover:before, .carousel-slider .slick-next:hover:before, .bg-dark.text-white .carousel-slider.carousel-arrows .slick-prev:hover, .bg-dark.text-white .carousel-slider.carousel-arrows .slick-next:hover, .bg-dark.text-white .carousel-slider.carousel-arrows .slick-prev:hover:before, .bg-dark.text-white .carousel-slider.carousel-arrows .slick-next:hover:before, .carousel-slider.carousel-testimonials .slick-prev:before, .carousel-slider.carousel-testimonials .slick-next:before, .carousel-slider.carousel-tweets .slick-prev:before, .carousel-slider.carousel-tweets .slick-next:before, .bg-color.text-white .carousel-slider.carousel-testimonials .slick-prev:hover:before, .bg-color.text-white .carousel-slider.carousel-testimonials .slick-next:hover:before, .bg-color.text-white .carousel-slider.carousel-tweets .slick-prev:hover:before, .bg-color.text-white .carousel-slider.carousel-tweets .slick-next:hover:before, .bg-dark.text-white .carousel-slider.carousel-testimonials2 .slick-prev:hover, .bg-dark.text-white .carousel-slider.carousel-testimonials2 .slick-next:hover, .bg-dark.text-white .carousel-slider.carousel-testimonials2 .slick-prev:hover:before, .bg-dark.text-white .carousel-slider.carousel-testimonials2 .slick-next:hover:before, #navigation .nav > li > a:hover, #navigation .nav > li.current-menu-item > a, #header.header-transparent #navigation.affix .nav > li > a:hover, #header.header-transparent #navigation.affix .nav > li.current-menu-item > a, #navigation .navbar-secondary .navbar-btn a:hover, #header.header-transparent #navigation.affix .navbar-secondary .navbar-btn a:hover, #navigation .navbar-secondary .navbar-cart .cart-heading .cart-price, #navigation .navbar-secondary .navbar-cart .cart-list li .cart-btn-close:hover, #nav-mobile-top .navbar-secondary .navbar-btn a:hover, #nav-mobile-top .navbar-secondary .navbar-cart .cart-heading .cart-price, #nav-mobile-top .navbar-secondary .navbar-cart .cart-list li .cart-btn-close:hover, #header .header-content2 .header-content-form .header-form-heading li .ion, #header .header-content4 .header-content-form .header-form-heading strong, #header .sub-header .breadcrumbs a:hover, #header .sub-header3 .sub-header-txt .header-title span, .bg-color.text-white .affa-feature-icon.feature-icon-bg > .ion, .bg-color.text-white .affa-feature-icon-left.feature-icon-bg > .ion, .affa-feature-icon-left2.feature-icon-color > h4 .ion, .affa-feature-icon-box .feature-icon-box-wrap > a, .affa-feature-icon-box2:hover .feature-icon-box-wrap > .ion, .affa-feature-list > ul li .ion, .affa-portfolio .post-item-txt a, .affa-portfolio .post-item-title a:hover, .affa-post .post-item-txt a, .affa-post .post-item-title a:hover, .affa-post .post-item-meta .more-link:hover, .affa-post2 .post-item-cats a:hover, .affa-post2 .post-item-title a:hover, .affa-post2 .post-item-meta ul li a:hover, .affa-post3 .post-item-title a:hover, .ie .bg-color.text-white .affa-post3 .post-item-meta .meta-type, .affa-post3 .post-item-meta ul li a:hover, .bg-color.text-white .affa-product .post-item-thumbnail .post-thumbnail-badge, .affa-product .post-item-txt .add-cart .hover, .affa-product .post-item-title a:hover, .affa-product .post-meta-price .price-discount, .affa-testimonial2 .testimonial-name p span, .affa-testimonial3 .testimonial-name p span, .affa-tweet .tweet-date:hover, .affa-team .team-socials a:hover, .bg-color.text-white .affa-team2 .team-socials a, .bg-color.text-white .affa-team2 .team-socials a:hover, .affa-team4 .team-socials a:hover, .affa-team5 .team-heading .team-socials a:hover, .bg-dark.text-white .affa-tbl-pricing .tbl-prc-col.tbl-prc-col-recommended .tbl-prc-heading h5, .bg-dark.text-white .affa-tbl-pricing .tbl-prc-col.tbl-prc-col-recommended .tbl-prc-badge, .affa-tbl-pricing2 .tbl-prc-col .tbl-prc-price h4, .affa-counter h4, .affa-counter2 .ion, .affa-countdown h4, .bg-color.text-white .affa-countdown2, .bg-color.text-white .affa-countdown2 h4, .bg-color.text-white .affa-countdown3 h4, .affa-socials a:hover, .bg-color .affa-socials3.links-white a:hover, .affa-info-text a:hover, .affa-info-list li a:hover, .affa-tab-menu a:hover, .isotope-menu a:hover, .archive-product .products-nav .products-nav-txt .products-nav-filter:hover, .archive-product .products-nav .products-nav-options .option-selected:hover, .single .post-single-meta ul li a:hover, .single .post-single-meta .comments a:hover .ion, .single .post-single-nav a:hover h4, .single .post-single-related .post-item .post-item-title a:hover, .single #comments .comments-title span, .single #comments .comments-list li article .comment-meta .comment-author-text a:hover, .single #comments .comments-list li article .comment-meta .comment-date a:hover, .single-portfolio .post-single-nav .post-nav-link a:hover, .single-portfolio .post-single-meta ul li a:hover, .single-portfolio .post-single-related .post-item .post-item-title a:hover, .single-portfolio .post-single-related .post-item .post-item-title a:hover, .single-portfolio .post-single-related .post-item .post-item-meta a:hover, .single-product .post-single-content .post-content-summary > a:hover, .single-product .post-single-content .post-content-price .price-discount, .single-product .post-single-tabs #reviews h2 span, .single-product .post-single-meta a:hover, .page-search .form-search-wrap > p span, .bg-color.text-white .post-paginations ul li a, .bg-color.text-white .post-paginations ul li a:hover, .bg-color.text-white .post-paginations ul li.current a, .post-paginations ul li.nav-prev a:hover, .post-paginations ul li.nav-next a:hover, .nm_widget_product_sorting ul li a:hover, .nm_widget_price_filter ul li a:hover, .widget-socials a:hover, .affa-posts-tab-widget .list-posts li .post-item-title a:hover, .affa-posts-tab-widget .list-comments li .comment-title a:hover, .affa-products-list-widget ul li .post-item-title a:hover, .affa-products-list-widget ul li .post-item-meta .price-discount, #footer2 a:hover, .affa-feature-icon-app .ion, .affa-feature-icon-left-app .ion, .affa-feature-icon-left-app2 h4, .affa-feature-icon-education h4, .bg-color.text-white .affa-feature-icon-education h4 .ion, .affa-feature-icon-left-education .ion, .affa-feature-txt-education h4, .affa-feature-icon-minimalist > .ion, .affa-recent-posts-minimalist li .post-item-title a:hover, .body-minimalist #footer2 .footer-bottom p a:hover, .body-minimalist #footer2 .footer-bottom ul li a:hover, #header .header-content-portfolio .header-content-socials li a:hover, #bottom-portfolio a:hover, #bottom-portfolio .widget-socials a:hover, .affa-feature-icon-product > .ion, .affa-feature-icon-left-product2 h4, .affa-recent-posts-shop li .post-item-title a:hover, .affa-feature-icon-startup > .ion, .affa-info-txt-startup a:hover {
    color: #000000;
}

section a, section a:visited, section a:hover, section a u, .footer-nav a {
    color: #0a90c5;
    text-decoration: underline;
}

#aaa {
    color: #ffffff;
}


.datepicker-days td {
    line-height: 30px;
}


#header.header-3 #navigation .navbar-logo {
    padding: 3px 35%;
}

#navigation .navbar-logo img {
    height: 100px;
}

#navigation ul.nav > li:nth-child(1) {
    min-width: 50px;
}

#nav-mobile-top .navmenu > button:hover, #nav-mobile-top .navmenu > button.active {
    color: #ff8a00 !important;
}

#nav-mobile-top .navmenu > button .ion {
    margin: 0px;
    font-size: larger;
}

#nav-mobile-top .navbar-btn-toggle {
    float: left;
}

#nav-mobile-top .navbar-logo {
    position: absolute;
    top: 2px;
    right: 25px;
    bottom: 13px;
    left: 25px;
    text-align: center;
}

    #nav-mobile-top .navbar-logo img {
        height: 55px;
    }

#nav-mobile-top .navbar-secondary {
    float: right;
}

    #nav-mobile-top .navbar-secondary .navbar-btn {
        float: left;
        margin: 0px;
    }


#myCarousel .carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    border: 1px solid #f7901e;
    border-radius: 10px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
}

#myCarousel .carousel-indicators .active {
    margin: 0;
    width: 12px;
    height: 12px;
    background-color: #f7901e;
}

ul, ol {
    margin-top: 0;
    margin-bottom: -20px;
}

/* /learning/learning */
#learning table a {
    text-decoration: underline;
    font-weight: bold;
}

.carousel-control.left {
    background-image: linear-gradient(to right, rgba(0,0,0,0.0) 0, rgba(0,0,0,0.0) 100%);
}

.carousel-control.right {
    background-image: linear-gradient(to right, rgba(0,0,0,0.0) 0, rgba(0,0,0,0.0) 100%);
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 7px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
/*table-orange */
.table-orange thead tr th {
    background: #F7901E;
    color: #FFFFFF;
    border: 1px solid #adadad;
}

.table-orange tr, .table-orange td {
    border: 1px solid #adadad;
}


.table-orange.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #FEEFDE;
}
/* */
.RecruitSummary table tr a, .RecruitSummary table tr a:hover {
    text-decoration: underline;
    color: cornflowerblue;
}

/**/
#rightfloatsidebar {
    position: fixed;
    z-index: 9999;
    top: 250px;
    right: 15px;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

    #rightfloatsidebar a.collapse {
        display: inline-block;
        position: relative;
        top: 5px;
        z-index: 10000;
        color: rgba(255, 0, 0, 0.7);
        left: 100px;
    }

    #rightfloatsidebar img {
        width: 150px;
        height: auto;
    }

#rightfloatsidebar-mobile {
    position: fixed;
    z-index: 9999;
    bottom: 50px;
    right: 10px;
    width: 60px;
    /*height: 100px;*/
    cursor: pointer;
}

    #rightfloatsidebar-mobile a.collapse {
        display: inline-block;
        float: right;
        z-index: 10000;
        color: rgba(255, 0, 0, 0.7);
    }

    #rightfloatsidebar-mobile img {
        width: auto;
        height: auto;
    }


/*contact-bar*/
#contact-bar-wrapper {
    background-color: #ffffff;
}

#navigation .navbar .contact-bar-mobile-wrapper span, #navigation .navbar .contact-bar-mobile-wrapper a {
    color: #ffa637;
    font-size: small;
    font-weight: 400;
}

#navigation .navbar .contact-bar-mobile-wrapper {
    font-size: 10px;
    background-color: #ffffff;
    color: #ffa637;
}

#header #nav-mobile-top .contact-bar-mobile-wrapper span, #nav-mobile-top .contact-bar-mobile-wrapper a {
    color: #ffa637;
    font-size: small;
    font-weight: 400;
}

.csonline-btn {
    display: none;
}

.ie.ie8 .header3-invisible-banner {
    height: 190px;
}

/*
    Responsive 
*/
@media (min-width: 1200px) {
    .header3-invisible-banner {
        height: 167px;
    }
}

@media (max-width: 1200px) {
    .header3-invisible-banner {
        height: 190px;
    }

    #navigation ul.nav > li:nth-child(1) {
        min-width: 30px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {

    #navigation .nav > li.menu-item-has-children > a {
        padding-right: 1px;
    }
}

@media (max-width: 992px) {
    .header3-invisible-banner {
        height: 90px;
    }
    /*.header-3 .sub-header {
        padding-top:80px;
        padding-bottom:0px;
    }*/
   /* #rightfloatsidebar {
        display: none;
    }*/

    .csonline-btn {
        display: inline-block;
        line-height: 18px;
    }
}


@media (max-width: 991px) and (min-width: 768px) {

    .affa-portfolio .post-thumbnail > img {
    }

    .affa-portfolio .post-item-title {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 768px) {
    #rightfloatsidebar {
        display: none;
    }

}

@media (max-width: 560px) {
    .header3-invisible-banner {
        height: 120px;
    }

    .body-header-3 {
        padding-left: 5px;
        padding-right: 5px;
    }

    #nav-mobile-top .navbar .contact-bar-mobile-wrapper span, #navigation .navbar .contact-bar-mobile-wrapper a {
        color: #ffa637;
        font-size: small;
        font-weight: 400;
    }
    
    #tbl_important tr td:first-child {
        min-width: 120px;
        font-size: 80%;
    }

    #tbl_other tr td:first-child {
        min-width: 120px;
        font-size: 80%;
    }
}

@media (max-width: 330px) {
    .header3-invisible-banner {
        height: 143px;
    }
}

/* 20200406*/
.post-heading-left2 h4:after, .post-heading-left2 a.title:after {
    margin-top: 2px;
    width: 100%;
    display: block;
    height: 3px;
    content: ' ';
    background-color: rgb(247,144,29);
}

.post-heading-left2 > img {
    max-width: 22px;
    vertical-align: text-bottom;
}

.post-heading-left2 h4, .post-heading-left2 a.title {
    display: inline;
    vertical-align: bottom;
    font-size: 22px;
    color: rgb(247,144,29);
    text-shadow: 2px 2px 2px rgb(255, 207, 153);
}

/* home space 20200408*/
#header.header-3 #navigation .nav > li:first-child, #header.header-5 #navigation .nav > li:first-child {
    padding-right: 15px;
}

/* header logo 20200408*/
#header.header-3 #navigation .navbar-logo {
    padding: 3px 5%;
    margin: 0px 100px;
}

#tbl_important a, #tbl_importanthighlight a:hover {
    text-decoration: underline;
    color: #f39801;
}

#tbl_other a, #tbl_otherhighlight a:hover {
    text-decoration: underline;
    color: #f39801;
}
