/* ################################################### CONFIG HEADER ################################################## */



/* ##################################################
# HEADER BUGFIXES
################################################## */
.navigation-top .text-muted {
    display: none!important;
}

.mobile #mainnavigation .navbar-nav {
    display: block;
}

/* ##################################################
# HEADER SMOTH TRANSITIONS
################################################## */

#page-header,
.navbar-mainnavigation,
.navbar-mainnavigation .navbar-brand-image,
.navbar-mainnavigation .navbar-brand-image img {
    transition: none;
}

.navbar-mainnavigation,
.navbar-mainnavigation .navbar-brand-image {
    transition: all 0.2s ease-in;
}


/* ##################################################
# AUTO HEADER SHADOW (on fullscreen not bottom navi)
################################################## */

.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) #page-header.navbar-mainnavigation.navbar:before {
    content: "";
    position: fixed;
    top: 0px;
    width: 100%;
    height: 300px;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=0);
    transition: none;
}

.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) #page-header.navbar-mainnavigation.navbar {
    background-color: transparent!important;
}


.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .navbar-toggler-icon:after,
.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .navbar-toggler-icon,
.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .navbar-toggler-icon:before {
    background: #ffffff;
}

.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .collapsed .navbar-toggler-icon:after,
.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .collapsed .navbar-toggler-icon,
.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .collapsed .navbar-toggler-icon:before {
    background: #ffffff;
}


.desktop.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .nav-item:hover .nav-link-text {
    color: #ffffffff;
}

.desktop.navbar-type-transition.carousel-type-fullscreen:not(.navbar-type-fixed-bottom) .nav-item .nav-link-text {
    text-shadow: 0px 0px 10px #000000;
    color: #ffffffee;
}


.navbar-default img.navbar-brand-logo-normal {
    display: block!important;
}
.navbar-inverse img.navbar-brand-logo-normal {
    display: none!important;
}

.navbar-default img.navbar-brand-logo-inverted {
    display: none!important;
}
.navbar-inverse img.navbar-brand-logo-inverted {
    display: block!important;
}





/* ##################################################
# SEARCHBOX
################################################## */

.searchbox {
    position: absolute;
    right: 20px;
    padding: 0px 0px;
    font-size: 12px;
}

#mainnavigation,
#mainnavigation .searchbox,
#mainnavigation .searchbox form,
#mainnavigation .searchbox form .searchbox-submit,
#mainnavigation .searchbox form .form-control {
    line-height: 1.5;
}

.searchbox .form-control {
    background: none transparent;
    box-shadow: none;
    max-width: 206px;
    border: none;
    max-height: 36px;
}


.searchbox .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: currentColor;
    opacity: 1; /* Firefox */
}

.searchbox .form-control::-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: currentColor;
}

.searchbox .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: currentColor;
}

.searchbox .searchbox-icon {
    position: absolute;
    top: 8px;
    right: 2px;
    width: 24px;
    cursor: pointer;
    pointer-events: none;
    height: 100%;
}

.searchbox .searchbox-button {
    appearance: none;
    position: absolute;
    background: none;
    height: 100%;
    width: 30px;
    right: 0px;
    top: 0px;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.mobile #page-header.navbar-has-searchbox .searchbox {
    position: absolute;
    margin-top: -60px;
    width: calc(100% - 40px);
    transition: all 0.2s ease-in;
    top: inherit;
}

.mobile #page-header.navbar-has-searchbox #mainnavigation {
    margin-top: 60px;
    transition: all 0.2s ease-in;
}

.xxxmobile #page-header.navbar-has-searchbox .searchbox {
    margin-top: -20px;
}
