@charset "UTF-8";
/* CSS Document - v2019-12-03_14-57-06 */

/* For making mega menu fixed when coding
.display-flex-important {
    display: flex !important;
}
*/

.chevron {
    vertical-align: baseline;
    margin-left: 5px;
    height: 6px;
}


/*---Site Stripe---*/

#site-stripe {
    height: 30px;
    width: 100%;
    background-color: #163c6a;
}

#site-stripe-container {
    display: flex;
    justify-content: flex-end;
    height: 30px;
}

#site-stripe .site-stripe-external-links {
    margin-right: 10px;
}

.site-stripe-item {
    display: inline;
    padding-left: 1em;
    font-family: Georgia, serif !important;
    font-size: 12px;
    line-height: 30px;
    color: white;
}

.site-stripe a {
    color: white;
}

.other-languages-link  a {
    color: var(--font-orange);
}

.searchbox {
    padding-right: 1em;
    margin-top: 4px;
}

#globalsearch {
    position: relative;
    top: 1px;
    right: 0;
    /*width: 168px;*/
    height: 24px;
    display: block;
}

#searchQuery {
    font-size: 12px;
    color: #686;
    width: 164px;
    float: left;
    padding: 1px 0 0 4px;
    border: none;
    border-radius: 2px;
    height: 20px;
}

#cse-search-box {
    display: flex;
}

.searchsubmit {
    background: url(../images/common/search_btn-ok.png) 0 0 no-repeat;
    background-size: 12px;
    border: 0;
    width: 14px;
    height: 14px;
    display: block;
    font-size: 0;
    font-weight: 700;
    text-indent: -9999px;
    margin-top: 4px;
    margin-left: 4px;
    cursor: pointer;
}

.searchsubmit:hover {
    background: url(../images/common/search_btn-ok.png) 0 0 no-repeat;
    background-size: 12px;
    border: 0;
    width: 14px;
    height: 14px;
    display: block;
    font-size: 0;
}

/*-------- END SEARCH ------ */

.naviWrap {
    width: 100%;
    clear: both;
    position: relative;
    height: 121px;
}

#nav-site-container {
    width: 100%;
    border-bottom: 1px solid var(--border-gray);
}

/* MEGA MENU */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

nav {
    font-size: 1.2em;
}

nav ul,
nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    display: block;
    text-decoration: none;
}

nav .mega-menu-category-description a {
    display: inline;
}

nav .mega-menu-category-description a:hover {
    text-decoration: underline;
}

nav a:hover,
nav a:visited {
    text-decoration: none;
}

.menu-bar {
    background: #ffffff;
    display: flex;
}

.menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
}

.menu-list li a.menu-link {
    margin: 0 0 0.9em 0;
}

.mega-menu-category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mega-menu-category-list li:nth-child(2n+1) {
    border-right: 2px solid var(--border-gray);
    margin-right: 1.5em;
    padding-right: 1em;
}

.mega-menu-category-list li:first-child:last-child {
    border-right: none;
}

.mega-menu-category-description {
    padding-right: 1.5em;
    margin-right: 1.5em;
    font-size: 18px;
}

.mega-menu-category-description p {
    color: var(--font-default-color);
    padding-bottom: 0.9em;
}

ul#mega-menu-nav {
    padding: 0 calc((100% - 1200px) / 2);
    justify-content: space-between;
}

/* main navigation */
#mega-menu-nav .menu-bar-link {
    white-space: nowrap;
}

#mega-menu-nav li:nth-last-child(2) a {
    border-right: none;
}

.menu-link {
    margin: 1em 0 1em 0;
    color: var(--font-blue);
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.menu-link:hover {
    color: var(--font-title-hover);
}

.menu-link[aria-haspopup="true"] {
    padding-right: 40px;
}

.menu-link[aria-haspopup="true"]:after {
    content: "";
    width: 14px;
    height: 14px;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.mega-menu-header {
    font-size: 1.2em;
    font-weight: bold;
}

.mega-menu {
    z-index: 500;
    background: var(--bg-lightgray);
    box-shadow: 0 15px 10px -15px lightgrey; /* remove shadow top */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
}

.menu-bar-link {
    color: var(--font-title-link-darkgray);
}

.menu [aria-haspopup="true"] ~ .mega-menu {
    display: none;
}

.menu-bar {
    position: relative;
}

.menu-bar > li > [aria-haspopup="true"]:after,
.menu-bar > li > [aria-haspopup="true"]:hover:after {
    background-image: url(../images/home/external/icon-arrow-down.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: center center;
    transition: all 0.5s ease;
}

.menu-bar > li.mega-menu-tab > [aria-haspopup="true"].active:after,
.menu-bar > li.mega-menu-tab > [aria-haspopup="true"].active:hover:after {
    background-image: url(../images/home/external/icon-arrow-up.png);
}

.mega-menu-tab {
    padding-left: 1em;
    margin-left: -1em;
}

.mega-menu-tab.active {
    background-color: var(--bg-lightgray);
}

.mega-menu-tab:hover {
    background: var(--bg-lightgray);
}

.mega-menu:hover {
    display: flex;
}

.mega-menu a:hover {
    color: var(--font-title-hover);
}

.mega-menu--flat {
    padding: 0 calc(1em + (100% - 1200px) / 2);
    padding-bottom: 7em;
    display: none;
}

.mega-menu--flat > * {
    flex: 1;
}

/* END MEGA MENU */
