﻿/*
    browser.css v1.5

    N.B: this style is used in BrowserBasedOnICDAPI project and in ICD-API project
*/

* {
    box-sizing: border-box;
}

body {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Helvetica Neue","Lucida Grande","Segoe UI",Arial,Helvetica,Verdana,sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 1.42857143;
}

.navbar,
.placeholder {
    height: 82px !important;
}

.navbar {
    position: fixed;
    top: 0;
    background-color: #03038d;
    color: #EEEEEE;
    border: none;
    width: 100%;
}

.navbar h1 {
    font-size: 24px !important;
    display: inline;
}

.navbar .navbar-header {
    margin-top: 10px !important;
    margin-left: 20px;
}

.navbar .navbar-title {
    line-height: 1.1;
    font-weight: 600;
}

.navbar .navbar-sidetitle {
    vertical-align: baseline;
    margin-left: 10px;
    font-weight: 400;
    font-size: 12px;
}

.navbar-rtl .navbar-header {
    text-align: right;
    margin-right: 20px;
    direction: rtl;
}

main {
    padding: 0px !important;
}


/* ECT overwritten CSS*/

.embeddedBrowserSearch {
    z-index: 10000;
    position: fixed;
    top: 42px;
    font-size: 14px !important;
    line-height: 20px !important;
}

.browser-rtl .embeddedBrowserSearch {
    right: 20px;
}

.browser-rtl .popupMode .popupModeResults {
    right: 0px !important;
}

.embeddedBrowserSearchbox {
    width: 25vw !important;
    box-sizing: border-box;
    font-size: 14px !important;
    font-weight: 400 !important;
    height: 30px !important;
    line-height: 20px !important;
    margin-bottom: 0px !important;
    margin-left: 20px !important;
    margin-right: 0px !important;
    margin-top: 0px !important;
}

.popupModeResults {
    width: 42vw;
}

.tooltipContentKeyboard {
    width: 30vw;
}

.browserBodyLeft {
    padding-top: 15px !important;
}

.browserBodyRight {
    padding-top: 15px !important;
}

.postcoordSticky {
    z-index: initial !important;
}

.topul {
    margin-top: 0 !important;
}


/* language dropdown */

#langarea {
    position: absolute;
    top: 4px;
    right: 10px;
    z-index: 10000;
}

#mlimg {
    width: 1.1em;
    height: 1.1em;
}

#langarea img {
    vertical-align: middle;
}

.languageselected {
    height: 22px;
    display: block;
    text-decoration: none;
    color: #03038d;
    font-weight: bold;
    padding-left: 10px;
}

#langarea .selstatus {
    display: inline-block;
    width: 10px;
    font-weight: bold;
}

.languageswitch {
    height: 22px;
    display: block;
    text-decoration: none;
    color: #03038d;
    padding-left: 10px;
}

.languageswitch:hover {
    background-color: #bbbbe4;
    text-decoration: none;
    color: #03038d;
}

#langarea ul {
    list-style: none;
    position: relative;
    margin-top: 0;
    margin-bottom: 10px;
    margin-right: 40px;
}

#languagelist {
    background-color: #cecee8;
    color: #03038d;
    text-align: left;
    padding: 0;
    display: none;
    top: 10px;
    width: 120px;
    direction: ltr;
    z-index: 10000;
}

#langarea #langbutton:hover > ul {
    display: inherit;
}

#langbutton {
    width: 80px;
    cursor: pointer;
}

#langarea ul ul li {
    float: none;
    display: list-item;
    position: relative;
    padding-top: 2px;
    padding-bottom: 2px;
}

#hoverbutton {
    text-align: right;
    padding: 2px 6px 5px 6px;
    border: 1px solid #03038d;
}

#hoverbutton:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #cecee8;
}

.navbar-rtl #hoverbutton {
    text-align: left;
}

.navbar-rtl #langarea {
    right: initial;
    left: -20px;
}

.navbar-rtl #langarea ul {
    margin-right: initial;
}

/* for not using the original #langbutton:hover in browser.css */
#langbutton-managed-by-js {
    width: 80px;
    cursor: pointer;
}



/* orange beta version (used in ICD-API browse11 View) */

.navbar-beta {
    background-color: #ff9933;
    border-color: #ff9933;
    color: black;
}

.updatedate {
    cursor: help;
    position: absolute;
    right: 12px;
    top: 40px;
    z-index: 3110;
    color: black;
    font-size: 0.9em;
}



/* ICF version */

.navbar-icf {
    background-color: #c31b24;
    border-color: #c31b24;
    color: white;
}

.navbar-icf #hoverbutton {
    border-color: #c31b24;
}

.navbar-icf #languagelist {
    background-color: #f3a5a9;
    color: #871218;
}

.navbar-icf .languageswitch,
.navbar-icf .languageselected {
    color: #871218;
}

.navbar-icf .languageswitch:hover {
    background-color: #f9d2d4;
    text-decoration: none;
    color: #871218;
}
