/* language switcher */

.top-bar-links {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.language-switcher-language-url ul {
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.language-switcher-language-url li:not(.is-active) {
    display: none;
}

.language-switcher-language-url li.show {
    display: block;
}

html[lang="zh-hans"] .language-switcher-language-url li:nth-child(2) {
    order: 1;
}

html[lang="zh-hans"] .language-switcher-language-url li:nth-child(3) {
    padding-top: 6px;
    order: 2;
}

html[lang="zh-hans"] .language-switcher-language-url li:nth-child(1) {
    order: 3;
}

html[lang="zh-hant"] .language-switcher-language-url li:nth-child(3) {
    order: 1;
}

html[lang="zh-hant"] .language-switcher-language-url li:nth-child(2) {
    order: 2;
    padding-top: 6px;
}

html[lang="zh-hant"] .language-switcher-language-url li:nth-child(1) {
    order: 3;
}

.language-switcher-language-url li.is-active {
    display: block;
}

.language-switcher-language-url li a {
    color: #23ac38;
    display: block;
    padding: 5px 8px 0px 8px;
    border: 1px solid #fff;
    position: relative;
    line-height: 1;
    background-color: #fff;
    font-weight: bold;
    font-size: 15px;
}

.language-switcher-language-url li:last-child a {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.language-switcher-language-url li.is-active a {
    border: 1px solid #05080d;
    border-radius: 2px;
    padding: 7px 27px 7px 9px !important;
    background-color: #fff;
    color: #0a0a0a;
    font-weight: normal;
    display: flex;
    font-size: 14px;
}

.language-switcher-language-url li.is-active a::after {
    font-family: "ndqfonticons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-decoration: none !important;
    display: inline-block;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e0c3";
    font-size: 20px;
    margin: 0 0 0 3px;
    /*color: #fff;*/
    position: absolute;
    top: 4px;
    right: 4px;
}

/* / language switcher */

.title-bar {
    display: none;
}
.title-bar {
    background: #fff;
    color: #fefefe;
    padding: 0 0.75rem 2.1rem 0.75rem;
    border-bottom: 2px solid #23ac38;
    position: relative;
}

.top-bar.logo-container{
    /*background-color: hsl(0, 0%, 17%);*/
    background-color: #fff;
}

.title-bar .top-bar-center {
    margin: auto;
    text-align: center;
    z-index: 1005;
    }

.title-bar .top-bar-center > a:first-child {
    display: inline-block;
}

.title-bar .top-bar-center img {

}

.title-bar .top-bar-center .top-bar-arrow-down {
    width: 0;
    height: 0;
    border-left: 41px solid transparent;
    border-right: 41px solid transparent;
    border-top: 21px solid #0A0A0A;
    position: absolute;
    top: 29px;
    z-index: -999;
    left: -16px;
    display: none;
}
#investor-relations.top-bar {
    /*border-bottom: 2px solid #fff;*/
    position: relative;
    padding: 0;
    /* line-height: 3em; */
    /*padding: 10px 10px 0px;*/
}

.top-bar-center {
    margin: auto;
    text-align: center;
    z-index: 1004;
}

.top-bar-right {
    color: #F60;
}
.top-bar-arrow-down {
    width: 0;
    height: 0;
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
    border-top: 28px solid #FC0000;
    position: absolute;
    top: 41px;
    z-index: -999;
    left: -19px;
}
.top-bar-links #block-gbheaderlinks--2,
.top-bar-links #block-gbheaderlinks {
    float: right;
    margin-top: -60px;
    margin-right: 15px;
    font-size: 12px;
    color: #927b50;
}
.top-bar-links #block-gbheaderlinks--2 a,
.top-bar-links #block-gbheaderlinks a {
    padding: 5px !important;
    color: #927b50 !important;
}

.top-bar a:focus,.top-bar a:hover,.top-bar a.active,footer a:hover{
    /*color: #f8a32f;*/
    /*font-weight: bold;*/
}
.top-bar a {
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out; 
-moz-transition: all .2s ease-in-out; 
-ms-transition: all .2s ease-in-out; 
-o-transition: all .2s ease-in-out; 
transition: all .2s ease-in-out; 
}
.top-bar ul.submenu a:hover {
    color: #23ac38;
}

.top-bar.logo-container .top-bar-center {
    position: relative;
}

.top-bar.logo-container .top-bar-center > a:first-child {
    display: inline-block;
}

.top-bar .menu a {
    padding:20px !important;
}
.top-bar ul li:first-child a {
    /*padding-left: 0;*/
}

.top-bar ul.submenu a {
    padding: 10px 20px !important; 
    text-align: left;    
    color: #0a0a0a;
}

.top-bar .is-drilldown ul.submenu a {
    color: #fff;
}

.top-bar input {
    display: inline-block;
    margin: 5px 0px 10px 0px;
    border-radius: 5px;
    height: 35px;
    background-color: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);;
    width: 87%;
    float: left;
    font-size: 14px;
}
.top-bar input:focus{color: #333; box-shadow: none;}
.top-bar button, .top-bar button:hover{
    float: left;
    width: 100%;
    margin:0;
    padding: 6px 0;
    border: none;
    background: transparent !important;
}
.top-bar button:after{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    font-size: 1.33333333em;
    line-height: 44px;
    vertical-align: middle;
    float: right;
    color: #fff;

    content: "\f002";
    margin:0;
    padding: 0;

}
.top-bar button:hover:after{
    color: rgba(255,255,255,1); 
}

.menu-icon {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  width: 20px;
  height: 16px; 
    position: absolute;
    left: 16px;
    top: 36px;
    margin: 0;
}

.menu-icon::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    top: 0;
    left: 0;
    background: #000;
    box-shadow: 0 7px 0 #000, 0 14px 0 #000;
}

.menu-icon:hover::after {
    background: #000;
    box-shadow: 0 7px 0 #000, 0 14px 0 #000;
}

html[lang="en"] #ndq-content select[id*="date-month"] {
    min-width: 130px !important;
}

html[lang="zh-hans"] #ndq-content select[id*="date-month"],
html[lang="zh-hant"] #ndq-content select[id*="date-month"] {
    min-width: 90px !important;
}

html[lang="zh-hans"] #ndq-content select[id*="date-day"],
html[lang="zh-hant"] #ndq-content select[id*="date-day"] {
    min-width: 70px !important;
}

#ndq-content select#edit-field-nir-sec-date-filed-value,
#ndq-content select[id*="year"] {
    min-width: 100px !important;
}

html[lang="zh-hans"] #ndq-content select[id*="investment-type"],
html[lang="zh-hant"] #ndq-content select[id*="investment-type"] {
    min-width: 150px !important;
}

/* iframe sec sheet */

body.nir-node--7996 {
    background: #fff;
}

body.nir-node--7996 div#ndq-content {
    padding: 0;
    margin: 0;
}

.nir-node--7996 .messages {
    display: none;
}

.block--views-blockwidget-sec-filings-table--6111 .view-filters,
.block--views-blockwidget-sec-filings-table--7996 .view-filters {
    display: none;
}

.block--views-blockwidget-sec-filings-table--7996 table.nirtable {
    font-size: 16px;
}

.block--views-blockwidget-sec-filings-table--6111 th#view-field-nir-sec-date-filed-table-column,
.block--views-blockwidget-sec-filings-table--7996 th#view-field-nir-sec-date-filed-table-column {
    width: 24%;
}

.block--views-blockwidget-sec-filings-table--6111 th#view-field-nir-sec-description-table-column,
.block--views-blockwidget-sec-filings-table--7996 th#view-field-nir-sec-description-table-column {
    width: initial;
}

.nir-node--6111 iframe {
    height: 500px !important;
}

@media screen and (max-width: 63.9375em) {

    .nir-node--6111 iframe {
        height: 485px !important;
    }

}

@media screen and (max-width: 39.9375em) {

    .nir-node--6111 iframe {
        height: 740px !important;
    }

    .block--views-blockwidget-sec-filings-table--6111 th#view-field-nir-sec-date-filed-table-column,
    .block--views-blockwidget-sec-filings-table--7996 th#view-field-nir-sec-date-filed-table-column {
        width: 39%;
    }

}

/* / iframe sec sheet */

html[lang="zh-hans"] .ui-dialog .ui-dialog-buttonpane button.ui-button, 
html[lang="zh-hant"] .ui-dialog .ui-dialog-buttonpane button.ui-button {
    text-indent: -99999px;
    line-height: 0;
    margin: 0 2px;
}

html[lang="zh-hans"] .ui-dialog .ui-dialog-buttonpane button.ui-button:after, 
html[lang="zh-hant"] .ui-dialog .ui-dialog-buttonpane button.ui-button:after {
    text-indent: 0;
    display: block;
    line-height: 1;
    font-size: 1em;
}

html[lang="zh-hans"] .ui-dialog .ui-dialog-buttonpane button.ui-button:nth-child(1):after,
html[lang="zh-hant"] .ui-dialog .ui-dialog-buttonpane button.ui-button:nth-child(1):after {
    content: '退订';
    color: inherit !important;
    margin: 0;
}

html[lang="zh-hans"] .ui-dialog .ui-dialog-buttonpane button.ui-button:nth-child(2):after, 
html[lang="zh-hant"] .ui-dialog .ui-dialog-buttonpane button.ui-button:nth-child(2):after {
    content: '取消';
    color: inherit !important;
    margin: 0;
}

.path-unsubscribe .ui-dialog,
.path-unsubscribe .ui-dialog * {
    resize: none;
}

.path-unsubscribe .ui-widget.ui-widget-content {
    width: 300px !important;
    height: 165px !important;
    background-color: #fff;
}

.path-unsubscribe .ui-dialog .ui-widget-content.ui-dialog-content {
    /*height: 88px !important;*/
    width: 100% !important;
    overflow: hidden;
}

.path-unsubscribe [class*="ui-resizable"] {
    /*cursor: none !important;*/
}

.path-unsubscribe .ui-resizable-handle {
  display: none !important;
}

html[lang="zh-hans"] .js-drilldown-back a, 
html[lang="zh-hant"] .js-drilldown-back a {
    font-size: 0;
}

html[lang="zh-hans"] .js-drilldown-back a::after, 
html[lang="zh-hant"] .js-drilldown-back a::after {
    position: relative;
    top: -1px;
    content: '返回';
    display: inline-block;
    font-size: 16px;
}

/*html[lang="zh-hans"] .node--type-person .back a,
html[lang="zh-hant"] .node--type-person .back a {
    font-size: 0;
}

html[lang="zh-hans"] .node--type-person .back a::after, 
html[lang="zh-hant"] .node--type-person .back a::after {
    position: relative;
    top: 0px;
    content: '返回';
    display: inline-block;
    font-size: 16px;
}*/

/*
* Removed the duplicate title for the confirmation page
*/    
.path-email-alerts .block--system-main-block > h2 { display: none !important; speak: none; }

@media screen and (min-width: 40em) {

    .top-bar.logo-container .top-bar-links {
        position: absolute;
        right: 20px;
        top: 40px;
        display: block;
        width: initial;
    }

    .language-switcher-language-url ul {

    }

}

@media screen and (max-width: 39.9375em) {

    .title-bar {
        padding-bottom: 40px;
    }

    .title-bar .top-bar-center img {
        width: 150px;
    }

    .top-bar-links {
        margin: -10px 0 0;
    }

    .language-switcher-language-url {
        position: absolute;
        top: 0;
    }

    .language-switcher-language-url li:last-child a {
        padding-bottom: 7px;
    }

}
