/* This stylesheet should contain all the rules for the header. Historically,
 * these were found in zLayout/stylesheet, and not all rules have been migrated
 * yet. Feel free to move rules you encounter there into this file.
 */
.perfact-layout--header {
    margin-bottom: 10px;
}
/*Clickable Icons in header*/
.perfact-layout--header-cockpit .trigger-popup{
    text-align:center;
    position: relative;
    height: 40px;
}

.perfact-layout--header-cockpit .trigger-popup .popup a{
    font-family: Liberation Sans, sans-serif;
    display: inline-block;
    padding-bottom: 10px;
}
.perfact-layout--header-cockpit .trigger-popup .popup a{
    color: #b51429;
}

.perfact-layout--header-cockpit .trigger-popup .popup a::after{
    content: "\A";
    white-space: pre;
}


.perfact-layout--header-cockpit .fa {
    font-size: 24px;
    cursor: pointer;
}
.perfact-layout--header-cockpit .icon-container>div:not(.float-clear),
.perfact-layout--header-cockpit .icon-container>i{
    float: right;
    margin-left: 20px;
}
.perfact-layout--header-cockpit .icon-container>div>div {
    text-align:center;
}
.perfact-layout--header-cockpit .icon-container #i18n_popup{
    border: none;
    z-index: 999;
    padding: 10px;
    margin-left: -10px;
}
.perfact-layout--header-cockpit .icon-container #i18n_chooser a{
    position: relative;
    top: -4px;
    color: #b51429;
}
.perfact-layout--header-cockpit .icon-container #i18n_popup a:not(:first-of-type) {
    color: #b51429;
}
/*LogIn*/
.perfact-layout--header-cockpit .popup-content {
    background: #ffffff;
    padding: 20px;
    font-family: Liberation Sans, sans-serif ;
}
.perfact-layout--header-cockpit .fa-times {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 32px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon *:not(:first-child) {
    float: none;
    display:block;
    width: 100%;
    text-align: center;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon div.user{
    margin-bottom:15px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon .user i{
    font-size: 48px;
    margin-bottom: 15px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon .user a{
    font-size: 24px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon .logout,
.perfact-layout--header-cockpit .user .perfact-layout--logon .usersettings{
    text-decoration: underline;
    margin-top:10px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon .usersettings{
    font-size: 12px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon>span{
    margin-bottom: 25px;
}
.perfact-layout--header-cockpit .user .perfact-layout--logon .user {
    font-size: 24px;
}
.perfact-layout--systembadge>div {
    text-align:right;
}
/*SearchForm*/
#quicksearch{
    /*position: absolute;
    top: 0;
    z-index: 999;*/
}
#quicksearch .perfact-layout--quicksearch-input{    
    padding: 10px;
    font-size: 16px;
}
#quicksearch .perfact-layout--quicksearch-button{
    padding: 3px 5px 5px 5px;    
    width: 15%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #b51429;
}
.perfact-layout--header .details {
    display:block;
    font-family: Liberation Sans, sans-serif;
    text-align:center;
}
.perfact-layout--header .perfact-layout--i18n-chooser{
    text-align:center;
}
.perfact-layout--notifier a {
    color: #3b444d;
}
.perfact-layout--header-powered-by {
    float: right;
    margin-top: 10px;
    margin-right: 20px;
}
.header-bottom{
    display:inline-block;
    width: 100%;
}
.perfact-layout--header-logo a{
    display: block;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 420px) and (min-width: 0px){
    .perfact-layout--header .icon-container div.trigger-popup {
        height: 30px;
    }
    .perfact-layout--header-cockpit .icon-container div.trigger-popup span.details {
        display: none;
    }
    .perfact-layout--header-cockpit .icon-container .language span a{
        margin-right: 5px;
    }
    .perfact-layout--header-cockpit .icon-container .language #i18n_popup{
        border: none;       
        padding: 0 !Important;
        margin: 0 !Important;
    }
    .perfact-layout--i18n-chooser span a{
        color: #888888 !Important;
    }
    .perfact-layout--nav-crumbs{
        max-width: 100%;
    }
    .perfact-layout--systembadge{
        display:none;
    }
    .perfact-layout--header-cockpit {
        max-width: 80%;
        position: absolute;
        right: 0;
    }
}
@media screen and (min-width: 421px){
    .perfact-layout--header {
        min-height: 100px;
    }
    #quicksearch .perfact-layout--quicksearch-input{width: 85%}
    .perfact-layout--nav-crumbs{
        max-width: 75%;
        float:left;
    }
    .perfact-layout--systembadge{
        max-width: 25%;
        float:right;
    }
}
@media screen and (max-width: 768px){
    .perfact-layout--header-logo{
        background-size: auto 100%;
        margin-top: 10px;
        max-height: 44px;
        max-width: 130px;
    }
    .perfact-layout--header-cockpit{
        width: calc(100% - 150px);
    }   
    .crumbs-item-container{
        display:inline-block;
    }
    .perfact-layout--header-powered-by{
        display: none;
    }
    .perfact-layout--header-cockpit .popup{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
        padding: 20px;
        z-index: 9999;
    }
    #quicksearch{
        height: 70px;
        position: fixed;
        left: 5px;
        width: calc(100% - 10px);
        box-shadow: 0px 2px 5px #aaa;
    }
    #quicksearch .perfact-layout--quicksearch-input{
        position: absolute;
        top:0;
        bottom:0;
        left:0;
        right: 10px;
        background: #ffffff;
        height: 100%;
    }
    #quicksearch .perfact-layout--quicksearch-button{
        position: absolute;
        right:0;
    }   
}
@media screen and (min-width: 769px){
    #quicksearch{
        right: 0;
        width: 300px;
        left: -277px;
        top: 25px;
        padding:10px;
        text-align:left;
    }
    .perfact-layout--header-cockpit .popup {
        margin-top: -30px;
        position: relative;
    }
    .perfact-layout--header-cockpit .popup {
        border: thin solid lightgrey;
        box-shadow: 0 0px 5px rgba(0,0,0,0.2);
        z-index: 999;
        padding: 20px 30px;
        background: #ffffff;
        position: absolute;
        left: -135px;
        width: 200px;
    }
    .perfact-layout--header-cockpit .fa-times {
        position: absolute;
        top: 5px;
        right: 10px;
    }
    .perfact-layout--header-cockpit .popup .fa-times,
    .perfact-layout--header-cockpit .popup .perfact-layout--logon .user{font-size: 16px;}
    .perfact-layout--header-cockpit .popup .perfact-layout--logon .user i{
        font-size: 34px;
        margin-bottom: 5px;
    }
    .perfact-layout--systembadge{
        margin-top:-10px;
    }
}

.perfact-layout--header-chooser-whsite::before {
    content: "\f275";
    font-family: "Font Awesome 5 Free";
    font-size: 24px;
    font-weight: 900;
    font-style: normal;
    font-weight: normal;
    text-rendering: auto;
    line-height: 1;
    cursor: pointer;
}

.perfact-layout--header-chooser-i18ntimezone::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-size: 24px;
    font-weight: 900;
    font-style: normal;
    font-weight: normal;
    text-rendering: auto;
    line-height: 1;
    cursor: pointer;
}
