/* custom-style.css */


/*
 * Globals
 */

/* Links */
a,
a:focus
{
    color: #fff;
}

a:hover {
    color: rgb( 255, 204, 60 );
}

a {
    cursor: pointer;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
    background-color: #fff;
    border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    /*background-color: #2a7517;*/
    /* background-color: #356f26; */
    background-color: #002844;
    font-family: 'Roboto Condensed', 微軟正黑體, sans-serif, 'Yu Gothic', 'SimHei';
}

#wrapper {
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 40, 68, .4);
}

body {
    display: -ms-flexbox;
    display: flex;
    color: #fff;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);

    background: url('../../resources/img/odbg.jpg') no-repeat fixed center;
    /*background-size: cover;*/

}

.cover-container {
    max-width: 100em;
}


/*
 * Header
 */
.header-frame {
    padding: 20px 20px 20px;
    background-color: rgba(0, 40, 68, .4);
    border: solid 3px rgba(255,255,255,.5);
}

.masthead {
    margin-bottom: 50px;
}

.masthead-logo {
    display: block;
    height: 50px;
    width: 50px;
    float: left;
    margin-right: 15px;
}

.masthead-logo img {
    /*-webkit-filter: grayscale(100%);*/
    /*filter: grayscale(100%);*/
    height: 50px;
}

.masthead-brand h3 {
    margin-bottom: 5px;
    font-style: normal;
    font-weight: 600;
    text-shadow: 1px 1px 6px #000;
}

.masthead-brand h4 {
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    text-shadow: 1px 1px 6px #000;
    font-size: 15px;
    float: right;
}

.nav {
    min-width: 200px;
    padding-top: 16px;
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    /*border-bottom-color: rgba(255, 255, 255, .25);*/
    color: rgba( 255, 204, 60, .9);
    border-bottom-color: rgba( 255, 204, 60 ,.6);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 48em) {
    .nav {
        padding-top: 0;
    }
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }
}


/*
 * Cover
 */
.cover {
    padding: 0 1.5rem;
}
.cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
    color: rgba(255, 255, 255, .5);
    font-size: 0.85rem;
}

.footer-left {
    width: 100%;
}

.footer-left a, .footer-left span {
    float:left;
}

.footer-right {
    width: 100%;
    padding: 20px 0;
}

@media (min-width: 900px) {
    .footer-left {
        float:left;
        width: 40%;
    }
    .footer-right {
        float: right;
        width: 60%;
        padding: 0;
    }
}

#hkgs-copyright-label, #hkgs-common-page-footer-contact-us-email, #hkgs-common-page-footer-landsd-logo-name-container {
    float: right;
    margin-left: 40px;
}

#hkgs-common-page-footer-landsd-logo-name-container img {
    height: 18px;
}

span.page_footer_separator {
    margin-left: 8px;
    margin-right: 8px;
}

/*
* Page adjust
 */

.hidden {
    display: none !important;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#download-container-top, #queue-container-top {
    padding-top: 20px;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }

    .div_pageMainContent, .div_pageSwap {
        width: 60em;
    }

    #download-container-top, #queue-container-top {
        padding-top: 0;
    }
}

.thickAndColorHr {
    height: 5px;
    color: #fff;
}

.download-product-preview {
    /*width: 80%;*/
    width: 300px;
    height: 240px;
}

.product-detail-line {
    text-align: left;
    margin-left: 20px;
}

.product-update-warning {
    color: #ffa500;
    display: none;
}

#productResourceBtn {
    margin-left: 20px;
}

.main-content-frame {
    min-height: 480px;
    overflow: hidden;
}

.main-content-frame-center {
    margin: auto;
    padding: 150px 0 150px 50px;
    text-align: right;
    float: right;
}

.div_pageMainContent, .div_pageSwap {
    /*width: 60em;*/
    margin: auto;
}

.div_pageSwap {
    padding-top: 60px;
    padding-bottom: 40px;
}


.home-content-text {
    opacity: 1;
}

.change-lang-div {
    margin-left: 50px;
    display: block;
    position: relative;
    z-index: 10;
}

.change-langs-btn {
    min-width: 80px;
    height: 40px;
}

.change-langs-btn-hidden {
    display: none;
    position: absolute;
    min-width: 80px;
    height: 40px;
}

.change-langs-btn-disabled {
    pointer-events: none;
    opacity: 0;
    filter:alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity: 0;
}

.map-view {
    padding: 0;
    margin: auto;
}

.map-viewer-ratio-1000 {
    width: 314px;
    height: 251px;
}

.map-viewer-ratio-5000 {
    width: 393px;
    height: 314px;
}

.map-viewer-ratio-10000 {
    width: 392px;
    height: 314px;
}

.map-viewer-ratio-20000 {
    width: 392px;
    height: 314px;
}

.map-view-loading-spinner {
    z-index: 99;
    display: block;
    position: absolute;
    left: 47%;
    top: 40%;
}

.map-view-error-msg {
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0;
    top: 35%;
}

.view_map_related_frame {
    padding: 0;
    margin: auto;
    width: 300px;
    height: 240px;
}

.click_to_dl_pdf_txt {
    text-decoration: underline;
}

.footerToIndex {
    text-decoration: underline;
    color: rgba(255, 255, 255, .5);
}

/*
    NCAP Preview Page
 */
#ncap_preview_div {
    padding: 10px !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
}

.ncap_download_button {
    position: absolute !important;
    z-index: 500 !important;
    left: 15px !important;
    top: 15px !important;
}

.div_pageMainContent_ncap {
    width: 100% !important;
}

/*
    Page Overlay
 */
.page-overlay {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0f0f0f;
    z-index: 1000;
    opacity: 0.75;
    filter:alpha(opacity=75);
    -moz-opacity:0.75;
    -khtml-opacity:0.75;
}


.div_pageSwap {
    display: none;
}

.resource_List_table {
    width: 60%;
    margin: 0 auto;
}

.resource_List_field {
    width: 30%;
    border: 1px #FFFFFF;
}
.resource_List_field_2 {
    width: 20%;
    border: 1px #FFFFFF;
}
.resource_List_field_3 {
    width: 50%;
    border: 1px #FFFFFF;
}

/* reCaptcha layout */
.grecaptcha-badge {
    bottom: 50px !important;
}

/* TNC Popup for NCAP */

.tncPop {
    z-index: 1001;
    position: absolute;
    width: 80vw;
    height: 75vh;
    display: flex;
    margin: auto 0;
    top: 15%;
    left: 10%;
    padding: 10px 20px 10px;
    background: url('../../resources/img/odbg.jpg') no-repeat fixed center;
    box-shadow: 10px 8px 8px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    border-radius: 10px;
    border: solid 3px rgba(255,255,255,.3);
}

.tncTitle {
    font-size: 1.5em;
    text-decoration: underline;
    text-align: center !important;
    margin-bottom: 2rem;
}

.tncPop p {
    text-align: left;
}

#tncPop-tnc-title {
    height: 10%;
    width: 100%;
    padding: 10px;
}

#tncPop-tnc-content {
    height: 75%;
    width: 100%;
    border: solid 3px rgba(255,255,255,.5);
    overflow-y: auto;
    padding: 20px 10px;
}

#tncPop-btnLeft {
    text-align: right;
    padding: 10px 20px;
}

#tncPop-btnRight {
    text-align: left;
    padding: 10px 20px;
}