﻿/* BASE LAYOUT */
/*****************************************************************************************************/
/*****************************************************************************************************/

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Gilroy, 'Open Sans', sans-serif !important;
    font-size: 14px;
}

.borderBottom {
    border-bottom: 4px solid #1B838B;
}

#loggedOut #wrapper,
#loggedOut #content {
    background-color: #fff;
}

#wrapper {
    min-height: 100%;
    position: relative;
    background-color: #efefef;
}

#header {
    height: 80px;
    color: #ffffff;
    width: 90%;
    padding: 0 5%;
    background-color: #2F4051 !important;
}

@media (max-width: 767px) {
    #header {
        height: 110px !important;
        width: 91% !important;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    #header {
        height: 110px !important;
    }
}

#content {
    padding: 10px;
    padding-bottom: 95px; /* Height of the footer element + extra padding for space */
    background-color: #efefef;
}


#formHeader .customer-logo-container {
    width: 250px;
    height: 51px;
    position: absolute;
    left: 50%;
    margin-left: -125px;
    text-align: center;
    padding-top: 40px;
}

#formHeader .customer-logo-container > img {
    width: 100%;
}

#formHeader #header-logo {
    padding-top: 30px;
    float: left;
    max-width: 300px;
}

/* MENU STYLE */
/*****************************************************************************************************/
/*****************************************************************************************************/

/* Culture */

#culture-container {
    float: right;
    position: relative;
    width: auto;
    height: 23px;
    padding: 5px 5px 5px 11px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #2F4051;
    border: 1px solid #cbcbcb;
    font-size: 0.8em;
}

    #culture-container #cultureSettings {
        width: 90px;
        height: 24px;
    }

#cultureSettings .culture,
#cultureSettings .current-culture {
    float: left;
}

#culture-container .fText {
    color: #fff;
    padding: 2px 5px;
}

#culture-container .fText:hover {
    text-decoration: underline;
    color: #1B838B;
}

#cultureSettings .arrow {
    color: #cbcbcb;
    position: absolute;
}

#culture-sub-menu div.culture {
    float: left;
    cursor: pointer;
    width: 100%;
}

#culture-sub-menu {
    display: none;
    height: 70px;
    width: 90px;
    position: absolute;
}

#culture-sub-menu.show {
    display: block !important;
}

#subMenu {
    padding-top: 20px;
    height: 22px;
    font-weight: bold;
}

#subMenu a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    float: right;
    margin: 0 5px;
}

#menuBar.hidden-desktop #subMenu a {
    float: right;
}

#subMenu a:hover {
    color: #1B838B;
}

#menuBar #culture-container {
    position: absolute;
    right: 18px;
}

#menuBar #subMenu {
    height: 30px;
    position: relative;
}

#menuBar #subMenu a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    #subMenu {
        padding-top: 0px !important;
    }

    #menuBar #subMenu {
        height: 10px !important;
    }
}

/* Menu */
#menuBar #menu-container {
    position: absolute;
}

#menu-container {
    float: left;
    position: relative;
    width: 100px;
    height: 23px;
    padding: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #2F4051;
    border: 1px solid #cbcbcb;
}

#menu-container #dropdown-menu .arrow {
    color: #cbcbcb;
    float: right;
}

#menu-sub-menu {
    display: none;
    min-height: 70px;
    position: absolute;
}

#menu-sub-menu.show {
    display: block !important;
}

#menu-sub-menu a {
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    padding: 5px 0;
    color: #fff !important;
}

#menu-sub-menu a:hover {
    text-decoration: underline;
    color: #1B838B !important;
}

/* SELECTED DATABASE */

#selectedDatabase {
    flex-grow: 1;
    text-align: center;
    align-content: center;
    font-size: 20px;
    font-weight: normal !important;
    max-height: 52px;
}

@media (min-width: 768px) and (max-width: 979px) {
    #selectedDatabase {
        flex-grow: 0.5;
    }
}

/* FOOTER STYLE */
/*****************************************************************************************************/
/*****************************************************************************************************/
#footer {
    height: 65px;
    border-top: 1px solid #000;
    background: #efefef;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 92%;
    padding: 0 4%;
    text-align: left;
    font-size: 9px;
}

footer .footerLeft {
    float: left;
    height: 24px;
    padding: 20px 0;
    font-size: 11px;
    line-height: 14px;
}

footer .footerLeft > img {
    max-width: 130px;
    height: 24px;
}

footer .footerRight {
    float: right;
    text-align: right;
    height: 50px;
    padding-top: 15px;
    font-size: 11px;
    line-height: 14px;
}

/* DATEPICKER STYLE */
.ui-datepicker, .ui-datepicker-current, .ui-datepicker-close, .mbsc-fr-w {
    font-family: Gilroy, 'Open Sans', sans-serif !important;
}
