﻿/* ######################## */
/*         HEADER           */
/* ######################## */

/* ####################### */
/* Top right function menu */
/* ####################### */
.header_topnav_flex_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: #ffffff;
}

.header_topnav {
    padding: 7px 0 7px 0;
    background-color: #e6e6e6;
}

.header_topnav ul {
    padding: 0 20px 0 20px;
    background-color: #e6e6e6;
}

.header_topnav li {
    text-indent: 0;
    list-style-type: none;
    float: left;
    line-height: 24px
}

.header_topnav li a {
    float: left;
    display: block;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: middle;
    font-weight: 400;
    text-decoration: none;
    color: #333;
}

.header_topnav li a:hover {
    background: #666;
    color: #fff
}

@media only screen and (max-width: 600px) {
    .header_topnav {
        display: none;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .header_topnav {
        width: 50%;
        order: 1;
    }
}

@media only screen and (min-width: 961px) {
    .header_topnav {
        width: 45%;
        order: 1;
    }
}



/* ######### */
/* Main line */
/* ######### */
.header_main_flex_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    background-color: #ffffff;
}

.header_main_flex_container a {
    color: #222;
    font-weight: 700;
}

.header_main_flex_container a:hover {
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    .header_logo {
        display: none;
    }

    .header_logo_mobile {
        width: 45%;
        order: 1;
        margin-left: 16%;
        z-index: 999999999999999;
    }

    .header_basket {
        width: 38%;
        order: 2;
        float: right;
    }

    .header_search {
        width: 90%;
        order: 3;
        margin: 20px 4% 10px 4%;
        display: none;
    }

    .header_basket_contents {
        padding-top: 10px;
        width: 100%;
        float: right;
    }

    .header_basket_view {
        display: none;
    }

    .header_basket_button {
        display: none;
    }

    #basketinfo {
        display: none;
    }

    .loginicon {
        float: right;
    }

    .searchicon {
        float: right;
    }

    .header_search_table {
        width: 100%;
    }

    .header_search_table1 {
        width: 90%;
    }

    .header_search_table2 {
        width: 10%;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .header_main_flex_container {
        flex-direction: column;
        height: 100px;
    }

    .header_logo {
        width: 50%;
    }

    .header_logo_mobile {
        display: none;
    }

    .header_search,
    .header_basket {
        width: 50%;
    }

    .header_logo {
        order: 1;
    }

    .header_basket {
        order: 2;
    }

    .header_search {
        order: 3;
    }

    .header_basket_contents, .header_search_contents {
        padding-top: 10px;
        padding-right: 10px;
    }

    .header_basket_contents {
        float: right;
        display: inline-block;
    }

    .loginicon {
        display: none;
    }

    .searchicon {
        display: none;
    }

    .header_search_table {
        width: 100%;
    }

    .header_search_table1 {
        width: 90%;
    }

    .header_search_table2 {
        width: 10%;
    }
}

@media only screen and (min-width: 961px) {
    .header_logo,
    .header_search,
    .header_basket {
        width: 33.3%;
    }

    .header_logo_mobile {
        display: none;
    }

    .header_logo {
        order: 1;
    }

    .header_search {
        order: 2;
    }

    .header_basket {
        order: 3;
    }

    .header_basket_contents {
        padding-right: 20px;
    }

    .loginicon {
        display: none;
    }

    .searchicon {
        display: none;
    }

    .header_search_table {
        width: 100%;
    }

    .header_search_table1 {
        width: 90%;
    }

    .header_search_table2 {
        width: 10%;
    }
}

/* Mobile menu */
@media only screen and (max-width: 600px) {
    .header_mobilemenu {
        width: 100%;
        order: 1;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .header_mobilemenu {
        display: none;
    }
}

@media only screen and (min-width: 961px) {
    .header_mobilemenu {
        display: none;
    }
}

/* Shop search */
@media only screen and (min-width: 601px) {
    .header_search_contents {
        padding-left: 20px;
    }
}

/* Search bar autocomplete*/
.autocomplete_list {
    background-color: #fff;
    color: #000;
    border: 1px solid #444;
    margin: 0 !important;
    padding: 0;
    text-align: left;
    line-height: 20px;
    height: auto;
    font-size: 1em;
    cursor: default;
    overflow: auto;
}

.autocomplete_item {
    list-style: none;
    cursor: pointer;
    width: 98%;
    margin: 0;
    padding: 1px;
    border-bottom: dotted 1px #ddd
}

.autocomplete_highlight {
    list-style: none;
    background-color: #ccc;
    cursor: pointer;
    width: 98%;
    margin: 0;
    padding: 1px;
    border-bottom: dotted 1px #ddd
}

/* Basket summary */
.header_basket_contents {
    display: inline-block;
    float: right;
}

.basketcount {
    display: inline-block;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 0.9em;
    position: relative;
    left: 18px;
    top: 2px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #64A70B;
}

@media only screen and (min-width: 601px) {
    .basketcount {
        display: none;
    }
}

#basketinfo {
    float: right;
    padding-left: 6px;
    font-size: 1.1em;
    font-weight: 700
}

.header_basket_button {
    float: right;
}

.basketinfototal {
    vertical-align: middle
}

.CTAbutton-grey {
    float: right;
    background-color: #64A70B;
    display: inline-block;
    padding: 8px;
    vertical-align: middle;
    font-size: 1.1em;
    font-weight: 700;
    color: #fff;
    width: 60px;
    margin-left: 20px;
}

/* Basket pop-up */


.basket_summary {
    background: #fff;
    border: 1px solid #aaa;
    float: right;
    padding: 10px;
    position: absolute;
    z-index: 9999999999;
}

@media only screen and (max-width: 600px) {
    .basket_summary {
        left: -220px;
        top: 50px;
        width: 360px;
    }
}

@media only screen and (min-width: 601px) {
    .basket_summary {
        left: -190px;
        top: 45px;
        width: 410px;
    }
}

.basket_summary_continue_box {
    margin-bottom: 10px;
    background-color: #f60;
    text-align: center;
    display: block;
    float: right;
    width: 100%;
    padding: 3% 0;
}

.basket_summary_checkout_box {
    clear: both;
    margin-top: 20px;
    background-color: #64A70B;
    text-align: center;
    display: block;
    float: right;
    width: 100%;
    padding: 3% 0;
}

.basket_summary_continue_text, .basket_summary_checkout_text {
    font-size: 1.2em;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.basketicon {
    background: url("../../images/NewDesign/basket.png") no-repeat;
    width: 35px;
    height: 35px;
    float: right;
    margin-right: 8px;
}

.searchicon {
    background: url("../../images/NewDesign/search.jpg") no-repeat;
    width: 35px;
    height: 35px;
}



/* ######### */
/* Mega menu */
/* ######### */

.header_megamenu_flex_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #ffffff;
}

.header_megamenu {
}

@media only screen and (max-width: 600px) {
    .header_megamenu {
        display: none;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .header_megamenu {
        width: 100%;
        order: 1;
    }
}

@media only screen and (min-width: 961px) {
    .header_megamenu {
        width: 100%;
        order: 1;
    }
}


/* ######### */
/* Trust Bar */
/* ######### */
.header_trustbar_flex_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.header_trustbar_flex_container a {
    color: #333;
    font-weight: 400
}

.header_trustbar_flex_container img {
    margin-top: -3px;
    margin-right: 8px;
}

.header_trustbar1,
.header_trustbar2,
.header_trustbar3,
.header_trustbar4 {
    padding: 10px 0 10px 0;
}

.header_trustbar1_content,
.header_trustbar2_content,
.header_trustbar3_content,
.header_trustbar4_content {
    padding: 0 10px 0 10px;
    text-align: center;
}

.header_trustbar2_content {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.header_trustbar3_content {
    border-right: 1px solid #ccc;
}

@media only screen and (max-width: 600px) {
    .header_trustbar1 {
        margin-top: 15px;
        width: 100%;
        font-size: 1.2em;
        border-top: 1px solid #64A70B;
        border-bottom: 1px solid #64A70B;
    }

    .delivery_icon {
        display: none;
    }

    .header_trustbar2,
    .header_trustbar3,
    .header_trustbar4 {
        display: none;
    }

    .header_trustbar1 {
        order: 1;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {

    .header_trustbar1_content,
    .header_trustbar2_content,
    .header_trustbar3_content,
    .header_trustbar4_content {
        max-height: 48px;
    }

    .header_trustbar1 {
        width: 25%;
    }

    .header_trustbar2 {
        width: 31%;
    }

    .header_trustbar3 {
        width: 20%;
    }

    .header_trustbar4 {
        width: 24%;
    }

    .header_trustbar1 {
        order: 1;
    }

    .header_trustbar2 {
        order: 2;
    }

    .header_trustbar3 {
        order: 3;
    }

    .header_trustbar4 {
        order: 4;
    }
}


@media only screen and (min-width: 961px) and (max-width: 1150px) {

    .header_trustbar1_content,
    .header_trustbar2_content,
    .header_trustbar3_content,
    .header_trustbar4_content {
        max-height: 48px;
    }

    .header_trustbar1 {
        width: 25%;
    }

    .header_trustbar2 {
        width: 31%;
    }

    .header_trustbar3 {
        width: 20%;
    }

    .header_trustbar4 {
        width: 24%;
    }

    .header_trustbar1 {
        order: 1;
    }

    .header_trustbar2 {
        order: 2;
    }

    .header_trustbar3 {
        order: 3;
    }

    .header_trustbar4 {
        order: 4;
    }
}

@media only screen and (min-width: 1151px) {

    .header_trustbar1_content,
    .header_trustbar2_content,
    .header_trustbar3_content,
    .header_trustbar4_content {
        max-height: 24px;
    }

    .header_trustbar1 {
        width: 25%;
    }

    .header_trustbar2 {
        width: 31%;
    }

    .header_trustbar3 {
        width: 20%;
    }

    .header_trustbar4 {
        width: 24%;
    }

    .header_trustbar1 {
        order: 1;
    }

    .header_trustbar2 {
        order: 2;
    }

    .header_trustbar3 {
        order: 3;
    }

    .header_trustbar4 {
        order: 4;
    }
}
