/*
Description: header.tpl styles
*/
@media only screen and (min-width: 320px) {
    #header {
        margin-top: 15px;
        position: relative;
        z-index: 11;
    }

    .toggle-infobanner+#header {
        margin-top: 40px;
    }

    #header .header-box {
        padding: 5px 0 15px;
        align-items: stretch;
        justify-content: space-between;
    }

    #header .header-box .logo-col {
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    #header .header-box .menus-col {
        width: 50%;
        padding-left: 0;
        padding-right: 0;
    }

    #header .header-box>.row>div:not(:nth-child(2)) {
        display: flex;
        justify-content: space-around;
    }

    #header .header-box .menus-col .menu-dropdowns {
        margin-bottom: 0;
        margin-top: 0;
    }

    #header .header-box .menu-dropdowns>div {
        margin-bottom: 20px;
        order: 3;
        padding: 0;
    }

    #header .header-box .menu-dropdowns>div:first-child {
        order: 0;
        padding-right: 15px;
    }

    #header .header-box .menu-dropdowns>div:nth-child(4) {
        order: 2;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group {
        margin-bottom: 0;
        height: 100%;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group>.btn,
    #header .header-box .menus-col a {
        /*color: #8c8c8c;*/
        color: black;
        text-decoration: none;
        font-size: 0;
        height: 100%;
    }

    #header .header-box .menus-col .btn-group>a {
        display: flex;
        align-items: center;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group>.btn i {
        font-size: 23px;
        background-color: #005AA9;
        color: #fff;
        border-radius: 50%;
        padding: 10px;
        display: block;
    }

    #header .menus-col .menu-dropdowns img {
        height: 30px;
        width: auto;
        margin: 0 auto;
        max-width: 100%;
    }

    #header .menu-dropdowns .service-menu.showLogin>button>img {
        margin-bottom: 0;
    }

    #header .header-box .form.search {
        margin-top: 0;
    }

    #header .header-box .search-col .form.search input,
    .search-col .form.search .input-group-btn button {
        background-color: #e6e6e6;
        border: none;
        color: black;
    }

    #header .header-box .search-col .form.search input {
        border-radius: 0 17px 17px 0;
        height: 35px;
    }

    .header-box .search-col .form.search .input-group-btn button {
        border-radius: 17px 0 0 17px;
        height: 35px;
    }

    .header-box .form.search .btn-search-bar {
        font-size: 20px;
    }

    .header-box .form.search .form-control {
        height: 25px;
        padding: 4px 12px;
        box-shadow: none;
    }

    .header-box .form.search .form-control:focus {
        /*Not working on this way*/
        /*box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(87 87 87 / 35%);*/
    }

    .header-box .search-col .btn:focus {
        outline: none;
        outline: none;
        outline-offset: none;
    }

    #header .menus-col .menu-dropdowns {
        align-items: flex-start;
    }

    #header .header-box .menus-col .menu-dropdowns {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        height: 100%;
        align-items: center;
    }

    #header .menus-col .menu-dropdowns .minibasket-menu button,
    #header .menus-col .menu-dropdowns button {
        padding-top: 0px;
        margin-top: 0px;
    }

    .top-news-banner {
        position: fixed;
        z-index: 5;
        left: 0;
        width: 100%;
    }

    body:not(.menu-open) .top-news-banner {
        z-index: 12;
    }

    #header .header-box .menus-col .menu-dropdowns a.btn {
        padding: 0;
    }

    .main-row header#header>.container {
        overflow: visible;
        z-index: 2;
    }

    .main-row header#header>.container:first-child {
        z-index: 3;
    }

    .main-row header#header>.container:last-child {
        z-index: 1;
    }

    .main-row header#header .ith-suggest-item::marker {
        font-size: 0;
    }

    #header .menu-dropdowns .btn-group.service-menu .btn .badge,
    #header .menus-col .menu-dropdowns .minibasket-menu button .basket-counter {
        position: absolute;
        right: -4px;
        top: -4px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        border-radius: 50%;
        border: 0;
        text-align: center;
        font-weight: normal;
        background-color: #000;
        color: #fff;
        font-size: 12px;
        padding: 0;
    }

    #header .minibasket-menu table .badge,
    #account_menu .badge {
        background-color: #000;
        position: absolute;
        top: -5px;
        right: -5px;
        font-weight: normal;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        line-height: 15px;
        font-size: 10px;
        text-align: center;
        padding: 0;
    }

    #account_menu .badge {
        position: relative;
        top: -2px;
        right: 0;
    }

    #header .minibasket-menu table tr {
        margin: 0;
    }

    #header .minibasket-menu table tr:not(:first-child) {
        border-top: 1px solid #d9d9d9;
    }

    #header .minibasket-menu table tr td {
        padding: 15px 0;
    }

    #header .minibasket-menu table .title {
        padding: 15px;
    }

    #header .minibasket-menu table tr .picture a {
        display: block;
        position: relative;
    }

    #header .company-menu .dropdown-menu,
    #header .menu-dropdowns .btn-group.service-menu .dropdown-menu,
    #header .minibasket-menu .dropdown-menu {
        background-color: #fff;
        border: 0;
        border-radius: 5px;
        padding: 20px;
    }

    #header .header-box .menus-col .menu-dropdowns .minibasket-menu-box a.btn {
        color: #fff;
        background-color: #005AA9;
        padding: 10px 15px;
        font-weight: bold;
        border-radius: 5px;
        border: 0;
        line-height: normal;
        margin-top: 20px;
    }

    #header .company-menu .dropdown-menu>li>a {
        padding: 0;
    }

    #header .company-menu .dropdown-menu {
        min-width: 200px;
    }

    #header .header-box .company-menu ul.dropdown-menu a,
    #header .header-box .service-menu ul.dropdown-menu .service-menu-box a {
        font-size: 15px;
        line-height: 25px;
    }

    #header .header-box .menus-col .menu-dropdowns .minibasket-menu-box .price>div:first-child,
    #header .header-box .menus-col .menu-dropdowns .minibasket-menu-box .total_price>div:first-child {
        font-size: 15px;
    }

    #header .header-box .menus-col .menu-dropdowns .minibasket-menu-box .price>div:last-child,
    #header .header-box .menus-col .menu-dropdowns .minibasket-menu-box .total_price>div:last-child {
        font-size: 14px;
        color: #999;
    }

    #header .header-box .menus-col .menu-dropdowns .service-menu-box .topPopList #services .badge {
        background-color: #000;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        padding: 0;
        line-height: 16px;
        font-size: 10px;
        font-weight: normal;
        position: relative;
        top: -2px;
    }

    #header .header-box {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #header .header-box>.container {
        order: 5;
        padding: 0;
        margin-top: 15px;
    }

    #basketFlyout::-webkit-scrollbar {
        display: none;
    }

    #basketFlyout {
        max-height: 320px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media only screen and (min-width: 450px) {

    #header .header-box .menu-dropdowns>div,
    #header .header-box .menu-dropdowns>div:first-child,
    #header .header-box .menu-dropdowns>div:nth-child(4) {
        order: unset;
    }
}

@media only screen and (min-width: 768px) {

    .toggle-infobanner+#header,
    #header {
        margin-top: 0;
    }

    #header .header-box {
        padding: 30px 0 15px;
        align-items: center;
    }

    #header .header-box>.menu-dropdowns>div:first-child {
        justify-content: flex-start;
    }

    #header .header-box .menu-dropdowns>div:first-child {
        padding-right: 0;
    }

    #header .header-box>.menu-dropdowns>div:not(:nth-child(2)) {
        flex: 1 1 auto;
    }

    #header .header-box>.menu-dropdowns>div.menus-col {
        max-width: 500px;
        padding-left: 15px;
        padding-right: 15px;
    }

    #header .header-box .menus-col .menu-dropdowns {
        margin-top: 10px;
        line-height: normal;
    }

    #header .header-box .menus-col .btn-group>a {
        display: inherit;
    }

    #header .menu-dropdowns .service-menu.showLogin>button>img,
    #header .menu-dropdowns .minibasket-menu>button>img {
        margin-bottom: 7px;
    }

    #header .header-box .menu-dropdowns>div {
        padding: 0;
        margin-bottom: 0;
        margin-left: 20px;
    }

    .top-news-banner {
        position: inherit;
        margin-top: inherit !important;
        top: inherit !important;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group>.btn,
    #header:not(.sticky) .header-box .menus-col a {
        font-size: 12px;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns>.btn-group>.btn {
        font-size: 0;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group>.btn i,
    #header .header-box .menus-col .menu-dropdowns .btn i {
        font-size: 30px;
        background-color: transparent;
        /*color: #8c8c8c;*/
        color: black;
        padding: 0;
        display: block;
        margin-bottom: 7px;
    }

    .top-news-banner>div:after {
        display: none;
    }

    #header .menus-col .menu-dropdowns img {
        margin: 0 auto 7px;
    }
}

@media (min-width: 992px) {
    #header .header-box .logo-col {
        width: 22.5%;
    }

    #header .header-box .search-col {
        width: 25%;
    }

    #header .header-box .search-col>div {
        width: 85%;
    }

    #header .header-box rmenus-col {
        width: 52.5%;
    }

    #header .header-box .menu-dropdowns>div:last-child a.btn {
        padding-right: 0;
    }

    #header.sticky+#wrapper {
        padding-top: 226px;
    }

    #header.sticky-extended+#wrapper {
        padding-top: 258px;
    }

    .fullwidth-container .main-row #header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        z-index: 999999;
        box-shadow: rgb(3 92 168 / 23%) 0px 0px 7px 0px;
        background-color: #fff;
        animation: slide-down 0.4s;
    }

    @keyframes slide-down {
        0% {
            opacity: 0;
            transform: translateY(-100%);
        }

        100% {
            opacity: 0.9;
            transform: translateY(0);
        }
    }

    .fullwidth-container .main-row #header.sticky #mainnav .container {
        width: 100%;
    }

    .fullwidth-container .main-row #header.sticky>.container .header-box>.container {
        display: none;
    }

    #header.sticky>.container .header-box {
        margin: 0 auto;
        padding: 15px 0;
        flex-flow: column wrap;
        align-items: flex-end;
        justify-content: flex-start;
        height: 94px;
    }

    #header.sticky .header-box .logo-col {
        width: 130px;
        height: 100%;
        align-self: flex-start;
    }

    #header.sticky .header-box .menus-col,
    #header.sticky .header-box #mainnav {
        flex: 0 0 calc(100% - 130px);
    }

    #header.sticky .header-box .menu-dropdowns>div {
        flex: 0 0 10%;
        text-align: right;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns>.btn-group>.btn i,
    #header.sticky .header-box .menus-col .menu-dropdowns .btn i {
        font-size: 22px;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns .btn i.christiani-icon-Shopping-Cart {
        font-size: 30px;
    }

    #header>.container .header-box {
        flex-wrap: wrap;
    }

    #header .header-box .logo-col {
        order: 0;
    }

    #header .header-box .search-col {
        order: 1;
    }

    #header .header-box .menus-col {
        order: 4;
    }

    #header .header-box #mainnav {
        order: 5;
        margin: 0 -15px;
        padding-top: 20px;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns {
        margin-top: 0px;
    }

    #header.sticky .header-box #mainnav {
        min-height: 0;
        align-items: center;
        padding-top: 0;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns {
        justify-content: flex-end;
    }

    #header.sticky nav#mainnav #navigation.nav>li>a {
        padding: 0;
        font-size: 15px;
    }

    #header.sticky>.container .search-col,
    #header.sticky #mainnav .spacer-75,
    #header.sticky #mainnav .exams-menu,
    #header.sticky .menus-col .international-link,
    #header.sticky .menus-col .company-menu,
    #header.sticky .menus-col .carreer-link {
        display: none;
    }

    #header .header-box>.container {
        margin-top: 0px;
    }

    #header .header-box .menus-col .menu-dropdowns {
        justify-content: space-between;
    }

    #header .header-box .menu-dropdowns>div {
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    #header.sticky>.container .header-box {
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-between;
    }

    #header.sticky .header-box .menus-col {
        order: 3;
        flex: 0 0 calc(22% - 130px);
    }

    #header.sticky .header-box .menus-col .menu-dropdowns {
        justify-content: space-between;
        align-items: flex-start;
    }

    #header.sticky .header-box .menu-dropdowns>div {
        flex: 0 0 20%;
    }

    #header.sticky .header-box #mainnav {
        order: 2;
        flex: 0 0 calc(78% - 130px);
    }

    #header.sticky .header-box .menus-col {
        order: 3;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns {
        margin-top: 0px;
    }

    #header.sticky .header-box #mainnav {
        order: 2;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns>.btn-group>.btn i,
    #header.sticky .header-box .menus-col .menu-dropdowns .btn i {
        font-size: 30px;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns .btn i.christiani-icon-shop-delivery {
        margin-top: 1px;
    }

    #header.sticky .header-box .menus-col .menu-dropdowns .btn i.christiani-icon-Shopping-Cart {
        font-size: 35px;
    }

    #header .header-box .menus-col .menu-dropdowns>.btn-group {
        margin-bottom: 0;
    }

    #header .header-box .logo-col {
        width: 25%;
    }

    #header .header-box .search-col {
        width: 35%;
    }

    #header .header-box .search-col>div {
        width: 75%;
    }

    #header .header-box .menus-col {
        width: 40%;
    }
}

@media (max-width: 991px) {
    #header .menus-col {
        margin-top: 0px;
    }

    .header-box>.row {
        align-items: center;
    }
}
