/* ===================== BEGIN COMMON ========================== */
@charset "UTF-8";

body {
    font-family: "Open Sans", HelveticaNeue-Light, "Helvetica Neue Light",
        "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important;
    font-size: 0.95em !important;
    letter-spacing: -0.01em !important;
    color: #333e48 !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    color: #fff !important;
}
.lazyload {
    opacity: 0;
}
.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
    background: url("/img/loading-tiny.gif") no-repeat center;
}
.lightquestion {
    color: #888;
    cursor: pointer;
}
/* .tooltip .tooltip-arrow::before { border-top-color: #ddd; border-bottom-color: #ddd; border-left-color: #ddd; border-right-color: #ddd; } */
.tooltip .tooltip-inner {
    background-color: #fff8af;
    color: #333;
    border: 1px solid #efa44f;
    text-align: left;
}
.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #efa44f;
}
.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #efa44f;
}
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #efa44f;
}
.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #efa44f;
}
.tooltip.show {
    opacity: 1;
}
/* .popover .popover-body { background-color: #fff8af; color:#333; border-color:#efa44f; text-align:left; } */
.popover {
    background-color: #fff8af;
    color: #333;
    border-color: #efa44f;
}
.bs-popover-start .popover-arrow::before {
    border-left-color: #efa44f;
}
.bs-popover-start .popover-arrow::after {
    border-left-color: #fff8af;
}
.bs-popover-end .popover-arrow::before {
    border-right-color: #efa44f;
}
.bs-popover-end .popover-arrow::after {
    border-right-color: #fff8af;
}
.bs-popover-top .popover-arrow::before {
    border-top-color: #efa44f;
}
.bs-popover-top .popover-arrow::after {
    border-top-color: #fff8af;
}
.bs-popover-bottom .popover-arrow::before {
    border-bottom-color: #efa44f;
}
.bs-popover-bottom .popover-arrow::after {
    border-bottom-color: #fff8af;
}
.list-no-style {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.w-60 {
    width: 60% !important;
}
.w-5 {
    width: 5% !important;
    white-space: nowrap;
}
.z-index-100 {
    z-index: 100;
}
.border-common {
    border-color: #dee2e6;
}
.border-right {
    border-right: 1px solid #dee2e6;
}
.border-top {
    border-top: 1px solid #dee2e6;
}
.bg-common {
    background-color: #f5f5f5;
}
a {
    text-decoration: none !important;
    color: #0072f5;
}
a:hover {
    color: #2687f7;
}
::placeholder {
    color: #6c757d !important;
}
:-ms-input-placeholder {
    color: #6c757d !important;
}
::-ms-input-placeholder {
    color: #6c757d !important;
}

/* CSS TABLE STYLES */
.c-table {
    display: table;
    width: 100%;
}
.c-table-row,
.c-table-head {
    display: table-row;
}
.c-table-cell {
    display: table-cell;
    padding: 0.5rem;
    border-bottom: 1px solid #dde2e6;
}
.c-table-head .c-table-cell {
    font-weight: bold;
    border-bottom: 2px solid #22252a;
}
/* .c-table-row:first-child .c-table-cell { border-top: none; } */
.c-table-cell h3 {
    font-size: 100% !important;
    margin: 0;
}
.c-table-cell a {
    text-decoration: none;
}
.c-table-row.child .c-table-cell {
    font-size: 0.875rem;
    background-color: #f8f8f8;
}

.c-table-striped > div.c-table-row:nth-of-type(even) > *,
.row-highlight {
    background-color: #f0f0f0;
}
.c-table-hover > .c-table-row:hover > * {
    background-color: #e9e9e9 !important;
}
.c-table-bordered .c-table-cell {
    border-left: 1px solid #dde2e6;
}
.c-table-bordered .c-table-cell:last-child {
    border-right: 1px solid #dde2e6;
}
.c-table-bordered .c-table-row:first-child .c-table-cell,
.c-table-bordered .c-table-head:first-child .c-table-cell {
    border-top: 1px solid #dde2e6;
}

.stars {
    display: inline-block;
}
.stars .fa {
    font-size: 1.2rem;
}
.fb_iframe_widget_fluid_desktop,
.fb_iframe_widget_fluid_desktop span,
.fb_iframe_widget_fluid_desktop iframe {
    max-width: 100% !important;
    width: 100% !important;
}
/* ===================== END COMMON ========================== */

/* ===================== BEGIN LAYOUT ========================== */
html {
    /* scroll-padding-top: 75px;
    scroll-behavior: smooth;  */
}

.navtop {
    background-color: #fff;
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08),
        0px 0px 4px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08), 0px 0px 4px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.logo {
    width: 152px;
    height: 32px;
    margin-bottom: 1px;
}

.navbar-toggler-icon {
    width: 1.2em !important;
    height: 1.2em !important;
}
.navbar-toggler {
    font-size: 1.15rem !important;
    padding: 0.1rem 0.35rem !important;
    margin: 0.2rem 0;
    border-radius: 0.2rem !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
button[aria-expanded="false"] .navbar-toggler-icon {
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 24 24" style="fill:rgba(0,0,0,0.55);"><path d="M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"></path></svg>'); */
}
button[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="56" height="56" viewBox="-4 -4 56 56" style="fill:rgba(0,0,0,0.55);"><path d="M 38.982422 6.9707031 A 2.0002 2.0002 0 0 0 37.585938 7.5859375 L 24 21.171875 L 10.414062 7.5859375 A 2.0002 2.0002 0 0 0 8.9785156 6.9804688 A 2.0002 2.0002 0 0 0 7.5859375 10.414062 L 21.171875 24 L 7.5859375 37.585938 A 2.0002 2.0002 0 1 0 10.414062 40.414062 L 24 26.828125 L 37.585938 40.414062 A 2.0002 2.0002 0 1 0 40.414062 37.585938 L 26.828125 24 L 40.414062 10.414062 A 2.0002 2.0002 0 0 0 38.982422 6.9707031 z"></path></svg>');
}
/* Begin fix navbar */
.nav-item .auto-expand {
    display: block;
    padding: 0 0 0.3rem 1rem;
}
.navbar-collapse.collapse.show {
    max-height: 380px;
    overflow-y: scroll;
    margin-top: 0.5rem;
}
/* .nav-link { padding:.5rem 0 .2rem 0; margin-left: 0 !important; padding-left: 0 !important; } */
.dropdown-hover .dropdown-menu,
.dropdown-hover .dropdown-item:focus {
    background-color: transparent;
    border: none;
}
.dropdown-hover .dropdown-item {
    padding: 0.2rem 0;
}
.dropdown-hover .dropdown-item:focus,
.dropdown-hover .dropdown-item:active,
.dropdown-hover .dropdown-item:hover {
    background-color: transparent !important;
    color: #fff;
}
.dropdown-hover .dropdown-item::before {
    content: "\2022";
    color: #fff;
    font-weight: bold;
    margin-right: 0.5rem;
}
.dropdown-hover .dropdown-item {
    color: #eee;
    padding: 0.25rem 0;
}
.navbar-nav .last {
    margin-bottom: 30px;
}
.nav-item {
    margin-left: 1rem;
}
.navtop .dropdown-menu {
    background-color: transparent;
    border: none;
}
/* End fix navbar */

/* .menu-top ul { list-style: none; }
.menu-top ul li { float: left; } */

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "FontAwesome";
}

.page-wrap {
    margin-top: 5rem;
    padding-left: 0;
    padding-right: 0;
}

/* Begin dropdown fixed alway down */
/* .dropdown-fixeddown { position: relative !important; }
.dropdown-fixeddown .btn, .dropdown-fixeddown-sm .btn {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.dropdown-fixeddown .dropdown-menu, .dropdown-fixeddown-sm .dropdown-menu {
    transform:none !important;
    overflow-y: auto;
    max-height: 200px;
    top:2.4rem !important;
}
.dropdown-fixeddown-sm .dropdown-menu {
    top:2rem !important;
}
.dropdown-fixeddown-sm .dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
} */
/* End dropdown fixed alway down */

.frm-search .form-control,
.frm-search button,
.frm-search .form-select {
    border: none;
    background-color: #f1f3f4 !important;
}
.frm-search .form-select {
    text-align: right;
    color: #6c757d;
    font-size: 95%;
    max-width: 168px;
}
.frm-search .form-control {
    border-radius: 1.25rem 0 0 1.25rem;
}
.frm-search .rounded-125 {
    border-radius: 1.25rem;
}
.frm-search button {
    border-radius: 0 1.25rem 1.25rem 0;
    background-color: #f1f3f4 !important;
}
.frm-search .form-control:focus,
.frm-search button:focus,
.frm-search .form-select:focus {
    box-shadow: none;
}

.autocomplete-suggestions {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-top: none;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    background: #fff;
    overflow: auto;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
    margin-left: 0.8rem;
    margin-top: 1px;
}
.autocomplete-suggestion {
    padding: 10px;
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}
.autocomplete-suggestion .suggest-title h3 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0;
    overflow: hidden;
}
.autocomplete-suggestion .suggest-title h3 strong {
    color: #2bbb0f;
}
.autocomplete-selected {
    background: #f0f0f0;
}

ul.link-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ol.link-list {
    margin: 0;
    padding: 0;
    margin-left: 3rem;
}
.link-list li {
    padding: 0.35rem 1rem 0.35rem 0;
}
ul.link-list li a {
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
ol.link-list li a {
    text-decoration: none;
}
.link-list li a:hover {
    text-decoration: underline;
}

.quick-links-title {
    font-size: 1.1rem;
    padding-left: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.quick-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.quick-links li {
    padding: 3px 0;
}
.quick-links li::before {
    font-family: "FontAwesome";
    font-size: 75%;
    margin-right: 3px;
    display: inline-block;
    content: "\f00c";
    color: #198754;
}
.quick-links li h3 {
    font-size: 100%;
    display: inline-block;
}

.footer-wrap {
    background-color: #f8f8f8;
    padding: 1rem 0;
}
.footer-ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    overflow: hidden;
    padding-left: 0;
    margin: 0;
    margin-bottom: 0.5rem;
}
.footer-ul li {
    padding: 0.5rem 1rem;
}
.footer-ul li a {
    text-decoration: none;
    font-size: 0.975em;
}

.cd-top {
    white-space: nowrap;
    z-index: 1000;
}
.cd-top,
.overflow-hidden {
    overflow: hidden;
}
.cd-top {
    cursor: pointer;
    display: inline-block;
    width: 2.3rem;
    height: 2.3rem;
    box-shadow: 0 4px 9px -4px #0072f5;
    position: fixed;
    display: block;
    bottom: 40px;
    right: 10px;
    border-radius: 50% !important;
    padding: 0 !important;
    background-color: #0072f5;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    text-align: center;
}
.cd-top.cd-fade-out,
.cd-top.cd-is-visible,
.no-touch .cd-top:hover {
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}
.cd-top.cd-fade-out {
    opacity: 0.5;
}
.cd-top.cd-fade-out:hover,
.no-touch .cd-top:hover {
    opacity: 1;
}
.cd-top .fa {
    line-height: 2.1rem;
    vertical-align: middle;
}
.cd-top .fa::before {
    font-size: 200%;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
        width: 2.5rem;
        height: 2.5rem;
    }
    .cd-top .fa {
        line-height: 2.3rem;
        vertical-align: middle;
    }
}
/* ===================== END LAYOUT ========================== */

/* ===================== BEGIN LIST PAGE ========================== */
.company-list-wrap {
    margin: 1rem 0;
    overflow: hidden;
}
.company-item {
    margin: 0;
    padding: 1rem 0rem 1rem 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.company-item:last-child {
    border-bottom: none;
}
.company-item .title a {
    text-transform: uppercase;
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5rem;
}
.company-item div,
.company-item address {
    margin: 1px 0;
}
.company-item div::before,
.company-item address::before,
.company-info .c-table-cell::before {
    font-family: "FontAwesome";
    font-size: 88%;
    margin-right: 5px;
    width: 1rem;
    display: inline-block;
}
.sub-province ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-top: 0.2rem;
}
.sub-province ul li {
    float: left;
    margin-right: 0.5rem;
    padding: 3px 0;
}
.sub-province ul li h2 {
    margin: 0;
    line-height: 1rem;
}
.sub-province ul li a:hover {
    text-decoration: none;
    color: #fff;
}

.company-item h3[ord]::before {
    content: attr(ord);
    float: left;
    font-size: 1.05rem;
    margin-right: 0.5rem;
    line-height: 1.5rem;
    color: #999;
}

/* ===================== END LIST PAGE ========================== */

/* ===================== BEGIN DETAIL PAGE ========================== */
.company-info .c-table-cell {
    border-bottom: 1px solid #eceeef;
    padding: 0.8rem 0.5rem;
}
.company-info .c-table-cell:first-child {
    padding-left: 0;
    white-space: nowrap;
}
.ico-pri::before {
    content: "\f19c";
}
.ico-tid::before {
    content: "\f292";
}
.ico-ni::before {
    content: "\f25d";
}
.ico-ns::before {
    content: "\f25d";
}
.ico-phone::before {
    content: "\f095";
}
.ico-fax::before {
    content: "\f1ac";
}
.ico-web::before {
    content: "\f0ac";
}
.ico-email::before {
    content: "\f01c";
}
.ico-address::before {
    content: "\f041";
}
.ico-repe::before {
    content: "\f007";
}
.ico-bt::before {
    content: "\f1ad";
}
.ico-stt::before {
    content: "\f05a";
}
.ico-mnb::before {
    content: "\f0c0";
}
.ico-date::before {
    content: "\f073";
}
.ico-idu::before {
    content: "\f05d";
}
.industry-info .c-table-cell p {
    margin: 0.4rem 0;
}
.company-info .qa {
    padding: 1rem 0;
    border-bottom: 1px solid #eceeef;
    line-height: 1.8rem;
}

/* ===================== END DETAIL PAGE ========================== */

/* ===================== BEGIN HOME PAGE ========================== */
.home-logo {
    max-width: 100px;
}
.frm-search-home {
    width: 100% !important;
}
.frm-search-home .form-control {
    border-radius: 1.5rem 0 0 1.5rem !important;
}
.frm-search-home button {
    border-radius: 0 1.5rem 1.5rem 0 !important;
}
.frm-search-home .form-select {
    font-size: larger;
    max-width: 13.6rem;
}

.company-list-wrap {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
}
.company-list-wrap > li {
    padding: 1rem;
    border-bottom: 1px solid #eee !important;
}
.company-list-wrap > li:hover {
    background-color: #efefef !important;
}
/* ===================== END HOME PAGE ========================== */

/* ===================== BEGIN STATIC PAGE ========================== */
.page-title {
    margin: 1rem 0 1rem 0;
    padding: 0;
}

.page-title h1 {
    font-size: 1.8rem;
    color: #000;
    margin: 0;
    line-height: 3rem;
}

.page-content {
    padding-bottom: 30px;
}
.page-content h2 {
    font-size: 1.5rem;
    margin-top:1.5rem;
    margin-bottom: 0.5rem;
}
.page-content h3 {
    font-size: 1.2rem;
    margin-top:1.2rem;
    margin-bottom: 0.5rem;
}
.page-content h4 {
    font-size: 1.1rem;
    margin-top:1.1rem;
    margin-bottom: 0.5rem;
}

.page-content ul,
.page-content ol,
.list-page-detail {
    margin: 0 0 15px 15px;
}

.page-content .tab { padding-left: 2rem; margin-top: 2rem; margin-bottom: 3rem; }

.page-content li,
.list-page-detail li {
    padding: 3px 0 3px 0;
}

.page-content img,
.page-content object {
    /* width: 95%!important;
    height: auto!important;
    margin: 20px auto 10px!important;
    display: block */
    max-width: 100% !important;
    height: auto !important;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
/* ===================== END STATIC PAGE ========================== */

/* ===================== BEGIN SCREEN WIDTH OPTIONS ========================== */
@media (max-width: 575px) {
    .navbar-brand {
        width: 32px;
        overflow: hidden;
    }
    :not(:focus)::-webkit-input-placeholder {
        /* WebKit browsers */
        color: transparent;
    }
    :not(:focus):-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: transparent;
    }
    :not(:focus)::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: transparent;
    }
    :not(:focus):-ms-input-placeholder {
        /* Internet Explorer 10+ */
        color: transparent;
    }
    input:focus::placeholder {
        color: transparent;
    }
}

@media (max-width: 767px) {
    .company-list-wrap > li:nth-child(2n + 1) {
        background: #f9f9f9;
    }
    .frm-search .form-select {
        max-width: 0;
    }
}

@media (max-width: 991px) {
}

@media (max-width: 1201px) {
}

@media (min-width: 250px) {
    .frm-search {
        width: 56%;
    }
    .home-logo {
        max-width: 150px;
    }
}
@media (min-width: 300px) {
    .frm-search {
        width: 64%;
    }
    .home-logo {
        max-width: 200px;
    }
}
@media (min-width: 576px) {
    .frm-search {
        width: 60%;
    }
    .home-logo {
        max-width: 220px;
    }
}
@media (min-width: 768px) {
    .frm-search {
        width: 70%;
    }
    .company-list-wrap > li:nth-child(4n + 1),
    .company-list-wrap > li:nth-child(4n + 2) {
        background-color: #f9f9f9;
    }
    .home-logo {
        max-width: 235px;
    }
}
@media (min-width: 992px) {
    /* .page-wrap {
        padding-right: 2rem;
        padding-left: 2rem;
    } */
    .frm-search {
        width: 76%;
    }
    .home-logo {
        max-width: 250px;
    }
}
@media (min-width: 1200px) {
    .frm-search {
        width: 80%;
    }
}
/* ===================== END SCREEN WIDTH OPTIONS ========================== */
