/* Header layout */
#header-wrapper {
    min-width: 980px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
#header-global {
    z-index: 10;
    height: 63px;
}
#header-manufacturer-bu {
    font-weight: bolder;
    font-size: 18px;
}
#header-language {
    font-size: 14px;
}
#header-change-context .dropdown-item {
    padding: 0.25rem 0.9rem 0.25rem 0.3rem;
}
#basket-preview-btn .badge {
    margin-left: 0.2rem;
}

#sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 20;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
}

#header-local,
#header-local-sub {
    z-index: 11;
    border-top: 1px solid #f0f0f0;
}
#header-local {
    height: 64px;
}
#header-local-sub {
    padding: 5px 15px;
}
#header-local:empty,
#header-local-sub:empty {
    height: 0;
    border-top: 0;
    padding: 0;
}
.header-local-fixed,
.header-local-sub-fixed {
    top: 0;
    right: 0;
    width: auto;
    left: 220px;
    min-width: 980px;
    position: fixed;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
.header-local-sub-fixed {
    top: 64px;
}
/* Important: this correlates with sidemenu.css */
@media only screen and (max-width: 1400px) {
    .header-local-fixed,
    .header-local-sub-fixed {
        left: 180px;
    }
}

/* Header inputs and buttons */
#header-wrapper input,
#header-wrapper select {
    padding: 8px;
    font-size: 15px;
    line-height: 1;
    border-radius: 4px;
    border-color: #dadada;
}
#header-wrapper select {
    padding: 0 10px;
    height: 36px;
}

#search-box button,
#export_form button {
    border-radius: 0 4px 4px 0;
    padding-left: 20px;
    padding-right: 20px;
}
#export_form select,
#search-box input {
    width: 250px;
    border-radius: 4px 0 0 4px;
}
.extra-input input,
.extra-input select {
    width: 180px !important;
}

/* Search icon */
#search-box input {
    padding-left: 30px;
}
#search-box .form-control-feedback {
    position: absolute;
    z-index: 12;
    display: block;
    padding: 12px 5px 9px 9px;
    line-height: 1rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

/* Nav pills */
#header-local ul.nav li {
    margin: 0 24px 0 0;
}
#header-local ul.nav li a {
    padding: 6px 0;
    font-size: 16px;
    color: #1b1e24;
    text-decoration: none;
    background: #fff;
    border-bottom: 2px solid #fff;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
#header-local ul.nav li a.active,
#header-local ul.nav li a.active:hover {
    border-bottom: 2px solid #f38f1b;
}
#header-local ul.nav li a:hover {
    border-bottom: 2px solid #e2e6ea;
}

#header-local-sub ul.nav.language-list li {
    margin: 0 4px;
}
#header-local-sub ul.nav.language-list li a {
    color: #1b1e24;
    text-decoration: none;
    padding: 0 3px;
}
#header-local-sub ul.nav.language-list li a:hover {
    text-decoration: underline;
}
#header-local-sub ul.nav.language-list li a.active {
    color: #f38f1b;
}

#header-local ul.nav li a.btn-admin {
    border: 1px solid orangered;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
}

.width-zero {
    width: 0;
}

.max-width-fit-content {
    max-width: fit-content;
}

.flex-grow-one {
    flex-grow: 1;
}

.flex-shrink-one {
    flex-shrink: 1;
}
