@charset "UTF-8";
@import url('analytics.css');
@import url('rms.css');

.help_name {
    font-size: 1.2rem;
    color: white;
    font-weight: normal;
    padding-right: 12px;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
    }

/* Search */
.ditasearch {
    flex: 2;
    height: inherit !important;
    margin: 4px;
    max-width: 600px;
    min-width: 100px;
}


/* ====================================== HEADER ======================================== */
 div.header-bar {
    display: flex;
    flex-flow: row wrap;
    height: auto;
    background: var(--dark);
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ====================================== BRANDING ====================================== */
div.brand_header {
    padding: 0px;
    flex: 1;
     height: 40px;
     margin-right: auto;
     align-self: center;
}
.header-bar .helptitle {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding-right: 6px;
    flex: 1 1 auto;
}
@media screen and (max-width: 499px) {
    .header-bar .locale { order: 3; }
     .header-bar .locale select#locale { padding-right: 10px; }
    .brand_header {
     display: none !important;
     height: 0px;
    }
    .helptitle { padding-left: 10px; }
    .help_name { margin-right: 100%; }
    .logo { display: none !important; }
    .ditasearch {
        position: relative;
        order: 2;
    }
     nav.facetnav{
        order: 4;
    }
}

.brand_header > .logo {
    width: 320px;
    height: 40px;
    margin: 0;
    padding: 0;
    display: block;
    text-indent: -9999px;
}
.brand_header {
    display: block;
    height: 40px;
}
@media screen and (max-height: 399px) {
    .brand_header {
        display: none;
        height: 0px;
    }
}
@media screen and (max-height: 750px) {
    .brand_header > .logo.placeU {
        background-position: 23px 9px;
        background-size: 200px;
    }
}

/* ============ Facet navigation ============ */

.facetnavlabel {
    position: absolute;
    left: -10000px;
}

a.hidden508nav {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
a.hidden508nav:focus {
    position:static;
    width:auto;
    height:auto;
    color:white;
}

nav.facetnav a {
    /* color: #DFDFDF; */
    text-decoration: none;
    margin: 0 .5em;
    padding: 1em;
    white-space: nowrap;
}

nav.facetnav a:focus,
nav.facetnav a:hover,
nav.facetnav a:active,
nav.facetnav a[data-facetvalue="self"]{
    /* color: #fff;
    background-color: #262626; */
    display: inline-block;
}

nav.facetnav {
    margin-left: auto;
}

:focus, :focus:active, a:focus, a:focus:active {
    outline-offset: 3px;
    outline: #fa6600 dotted 2px;
}

@media screen and (max-width: 499px){
    nav.facetnav{
        display: flex; 
        flex-flow: nowrap; 
        overflow: auto;}
    nav.facetnav a {
        padding: .5em;
        margin: .25em;
        text-align: center;
    }
}

/* ============ Locale selector ============ */
div.locale {
    display: inline-block;
    position: relative;
    width: 50px;
    box-sizing: border-box;
    margin-right: 2px;
    height: 40px;
    background-image: url(img/globe-white.svg);
    background-image: url(img/globe-white.png);
    background-repeat: no-repeat;
    background-position: center 5px;
    background-color: transparent;
    align-self: center;
    z-index: 500;
}
div.locale::after {
    content: attr(data-locale);
    position: absolute;
    color: #ffffff;
    font-weight: 800;
    font-size: 9px;
    bottom: 0;
    left: 0;
    width: 48px;
    text-align: center;
    margin: auto;
    z-index: 0;
}

div.locale > select#locale {
    width: 36px;
    height: 36px;
    border-radius: 30px;
    -webkit-appearance: none;
    appearance: none;
    color: transparent;
    background: transparent;
    border: none;
    position: absolute;
    top: 2px;
    left: 6px;
    z-index: 20;
    padding-top: 40px;
}
div.locale > label {
    visibility: hidden;
    width: auto;
    padding: 7px 15px;
    font-size: .7em;
    position: fixed;
    border-radius: 5px;
    background: #dfdfdf;
    text-align: center;
    right: 12px;
    top: 60px;
    z-index: 50;
    opacity: 0;
    transform:translate(0, -50%);
    box-shadow: 1px 1px 2px;
    white-space: nowrap;
}
div.locale label:after {
    content:"";
    position: fixed;
    width: 8px;
    height: 8px;
    right: 9px;
    top: 0;
    background-color: #dfdfdf;
    transform:translate(-50%,-50%) rotate(-45deg);
}
div.locale:hover label {
    visibility: visible;
    opacity: 1;
    transition: opacity ease 1s;
}
div.locale option {
    background: #ffffff;
    font-family: "Open Sans",arial, sans-serif !important;
    font-size: 15px;
    color: #3f3f3f;
}
div.helpnotification {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 400px;
    min-height: 30px;
    max-height: 95px;
    background-color: #3A8200;
    border-radius: 4px;
    border: 1px solid transparent;
    color: #ffffff;
    padding: 15px 35px 15px 15px;
    transition: top 0.5s ease 0s;
    z-index: 100;
}
div.helpnotification.closed { top: -100px; }

div.initialLocalePrompt {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.8;
    background-color: #000000;
    z-index: 50;
}
div.initialLocalePrompt > label { 
    display: block;
    position: fixed;
    top: 15px;
    right: 50px;
    color: white;
    font: inherit;
    font-weight: bold;
    font-size: 20px;
    text-align: right;
    padding: 0 40px 0 0;
    line-height: 1;
}
div.initialLocalePrompt > label > b { 
    display: block;
    position: relative;
    top: -25px;
    right: -30px;
    font-size: 30px;
}
body.embeddedUA > div.initialLocalePrompt { display: none; }

@media print {
    body > header[role='banner'] { display: none; }
}
