/* HEADER START */
#co-body {
    padding-top: 0px !important;
}

#desktop-header.co-header-container,
#mobile-header.co-header-container {
    height: 76px;
    display: grid;
    grid-template-columns: 3fr repeat(4, 1fr);
    display: flex;
    gap: 10px;
    margin: 0px 3vw;
}

#mobile-header.co-header-container {
    display: none;
    justify-items: center;
}

.co-header-container *:not(#___gcse_0):not(#___gcse_0 *) {
    max-height: 76px;
    align-content: center;
}

#mobile-header.co-header-container,
#mobile-header.co-header-container * {
    max-height: 60px;
}

#mobile-header.co-header-container svg {
    width: 24px;
    height: 24px;
}

#mobile-header.co-header-container .cart-tool svg {
    margin-bottom: 4px;
}

#mobile-header.co-header-container .co-header__burger svg {
    width: 36px;
    height: 36px;
}

.co-header-container > .co-header-logo {
    width: fit-content;
}

.co-header-container > .co-header-logo > img {
    min-height: 40px;
}

#___gcse_0 .gsc-search-box *,
#___gcse_1 .gsc-search-box *,
#___gcse_2 .gsc-search-box *,
div.gsc-control-cse.gsc-control-cse-en,
div.gsc-control-cse.gsc-control-cse-en form.gsc-search-box {
    height: 100%;
}

#___gcse_1 {
    display: none;
}

.co-header-container .gsc-control-cse {
    padding: 0px;
    align-content: center;
}

.gsc-control-cse .gsc-control-wrapper-cse {
    border: 1px solid lightgray;
    border-radius: 2px;
}

div.gsc-control-cse.gsc-control-cse-en div.gsc-control-wrapper-cse {
    height: 56px;
}

.gsc-control-cse .gsc-search-box {
    margin-bottom: 0px;
    max-height: 56px;
}

.gsc-search-box .gsib_a {
    padding: 0px;
}

.gsc-search-box table.gsc-search-box .gsib_a input {
    border-radius: 0px;
    background: white;
    line-break: unset;
    height: 100%!important;
    min-width: 286px;
    padding: 0px 5px!important;
}

.gsc-search-box .gsib_b {
    display: none;
}

.gsc-search-box table.gsc-search-box td.gsc-input {
    padding-right: 0px;
}

.gsc-search-box table.gsc-search-box td.gsc-input .gsc-input-box {
    border: none;
    padding: 0px;
}

.gsc-search-box table.gsc-search-box button.gsc-search-button {
    margin-left: 0px;
    line-height: normal;
    background-color: var(--site-accent-light);
    border-color: var(--site-accent-light);
    padding: 3px 10px;
    border-radius: 0px;
}

.gsc-search-box table.gsc-search-box .gsc-search-button > svg {
    width: 24px!important;
    height: 24px!important;
    fill: black;
}

.co-header-mobile-search {
    height: fit-content;
    margin: auto;
    padding: 5px;
}

.co-header-mobile-search.mobile-search-active {
    background-color: var(--site-accent-light);
    border-radius: 3px;
}

.user_tool {
    height: fit-content;
    width: fit-content;
    margin: auto;
    margin-left: auto;
    margin-right: 0;
}

#desktop-header.co-header-container .phone-svg,
#mobile-header.co-header-container .phone-svg {
    height: 28px;
    width: 28px;
}

.co-header-container > .user_tool.phone_help,
.co-header-container > div.dropdown {
    min-width: 142px;
}

.user_tool.phone_help #mA_bottom {
    text-align: right;
}

.svg-user {
    width: 1.25em;
    fill: #000;
    margin: 0 0.5em 0 0;
}

#desktop-header.co-header-container #dropdown-logout {
    max-height: unset;
    left: -2vw;
}

.co-header-container > .cart-tool {
    color: black;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    margin: auto;
}

.co-header-container > .cart-tool:hover {
    color: var(--site-accent-mid);
}

.co-header-container > .cart-tool > img,
.co-header-container > .cart-tool > svg {
    height: 24px;
    width: 24px;
}

.co-header-container > .cart-tool > b {
    color: var(--site-accent-mid);
    background-color: transparent;
    font-size: 15px;
    margin-bottom: -15px;
}

.cart-icon-hover {
    display: none;
}

.co-header-cart-count {
    margin-left: -25px;
    padding: 4px 7px;
    border-radius: 100%;
    color: white;
    font-size: 10px;
}

/* NAV BAR CSS */
.co-navbar-header .navigation {
    text-transform: uppercase;
    height: 100%;
    margin: 0;
    background-color: #2f2f2f;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-size: 15px;
    text-align: center;
}

.co-navbar-header .sticky-logo {
    width: 10%;
    margin-left: -18vw;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s all ease-in-out;
}

.co-navbar-header .sticky-logo img {
    width: 100%;
}

.first-div,
.second-div {
    height: 100%;
    margin: 10px 0;
    display: flex;
    width: 33%;
/*    justify-content: space-between;*/
}

.co-navbar-header .navigation li a {
    font-family: "montserrat";
    font-weight: 600;
    color: white;
    display: inline;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
}

.user_tool .fa-phone-alt {
    font-size: 20px;
    margin-right: 10px;
    margin-top: -4px;
    margin-left: -21px;
    color: #3a3a3a;
    position: absolute;
}

/* DROPDOWNS */
.co-navbar-header__toggel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33%;
    list-style-type: none;
    transition: all 0.5s ease-in-out;
}

.co-navbar-header__toggel > a:not(:last-child):after {
    content: '';
    width: 5px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    transition: 0.2s all;
    overflow: hidden;
    margin: 0 0 5px 10px;
}

.navigation .second-div {
    width: 32%;
    justify-content: right;
}

.navigation .first-div {
    width: 43%;
}

.co-navbar-header__toggel a.rotated-arrow:after {
    transform: rotate(-225deg);
    margin: 0 0 0 10px;
}

.co-navbar-header__toggel:hover {
    background-color: var(--site-accent-mid);
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown {
    left: -79%;
    width: 100vw;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    padding: 0px 50px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown li:hover {
    background-color: #2f2f2f;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown li:first-child {
    border-left: 0px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown li {
    border-left: 2px solid black;
    padding-left: 10px;
    height: 95%;
    cursor: default;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown h4:first-child {
    margin-top: 0px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:has(h4) {
    border: none;
    display: block;
    padding: 0px;
    margin-bottom: 5px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:not(:first-child):has(h4) {
    margin-top: 18px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:has(h4) h4 {
    margin: 0px;
    line-height: 25px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:has(h4) h4:hover {
    background-color: #555;
    color: #f2f2f2;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a {
    height: unset;
    justify-content: start;
    text-align: start;
    border-top: 1px solid grey;
    font-weight: 500;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:has(h4) + a {
    border-top: 0px;
}

.first-div .co-navbar-header__toggel:first-child > .navbar-header-dropdown a:hover {
    background-color: var(--site-accent-mid);
}

.navbar-header-dropdown {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 100%;
    font-family: "montserrat";
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    width: 100%;
    margin: 0;
    background-color: #2f2f2f;
    list-style-type: none;
    transition: all 0.25s ease-in-out;
    z-index: 100;
}

.navbar-header-dropdown li {
    text-align: center;
    padding: 5px 0;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.navbar-header-dropdown li:hover {
    background-color: var(--site-accent-mid);
}

.co-navbar-header__toggel--active .navbar-header-dropdown {
    opacity: 1;
    pointer-events: auto;
}

.co-navbar-header {
    height: 60px;
    z-index: 1000;
}

.co-navbar-header ul {
    list-style-type: none;
}

/* TO MAKE IT STICK */
.co-navbar-header--sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* MOBILE MODAL */
.co-mobile-modal {
    background-color: white;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    padding-left: 0;
    transition: 0.5s;
    margin-left: 200vw;
    overflow-x: hidden;
}

.co-mobile-modal--active {
    margin-left: 0;
}

/* MOBILE DROPDOWNS CSS */
.co-mobile-modal-header {
    background-color: white;
    padding: 20px 10px;
    position: sticky;
    top: 0px;
    z-index: 999;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.co-mobile-modal-close {
    color: #2f2f2f;
}

.co-mobile-modal-header__button {
    text-align: center;
    background-color: var(--site-accent-mid);
    color: white;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 5px;
    font-family: "Montserrat";
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.co-mobile-modal-header__button:hover {
    color: white;
}

.co-mobile-modal-close {
    font-size: 50px;
}

/* deal banner and timer styling*/
.ua-deals-container {
    overflow-x: hidden;
}

.deal-banner {
    display: flex;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0 0.75rem;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    text-transform: uppercase;
    gap: 0.5rem;
    font-family: var(--site-font-family);
}

.deal-banner-title > h2 {
    font-family: var(--site-font-family);
    font-weight: 800;
    color: var(--site-neutral-dark);
    font-size: 1rem;
    margin: 0;
    line-height: 1;
}

.deal-banner-subtitle > h3 {
    font-family: var(--site-font-family);
    color: var(--site-neutral-dark);
    font-size: .75rem;
    line-height: 1;
    margin: 0;
}

.deal-banner .deal-banner-timer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--site-accent-mid);
}

.deal-banner .sale-countdown-timer {
    display: inline-block;
    margin-left: 10px;
}

.ua-deals-banner {
    overflow-x: hidden;
}

.cart-icon-hover {
    position: absolute;
    transition: .4s all ease-in-out;
    display: inline-block;
    width: min(2vw, 36px);
    margin: 15px 0 0;
}

.cart-item-count {
    transform: translate3d(2px, -35px, 0);
    display: none;
}

.cart-tool img {
    max-width: 100%;
}

.resource-link {
    cursor: default;
}

/* TABLET CSS */
@media screen and (max-width: 1160px) {
    .co-header-cart-container .co-header-cart-count {
        right: 110px;
    }

    .navigation .second-div,
    .navigation .first-div {
        width: 45%;
        font-size: 13px;
    }

	.hide-span, .user_tools {
    	display: none;
	}

    .co-navbar-header {
        display: none;
    }

    .co-mobile-header {
        display: flex;
    }

    .svg-link {
        display: flex;
    }

    .svg-link--cart {
        position: relative;
        height: 100%;
        width: 31px;
    }

    .svg-link--cart .co-header-cart-count {
        position: absolute;
        top: -10px;
        right: -10px;
        border-radius: 50%;
        transform: translate(-12px, 0);
        color: var(--site-accent-mid);
        font-size: 18px;
    }

    .svg-link--garage {
        width: 31px;
    }

    .svg-phone{
        width:1em;
        margin-top: 0.2em;
        margin-bottom: 0em;
    }

    #desktop-header.co-header-container {
        display: none;
    }

    #mobile-header.co-header-container {
        display: grid;
        display: flex;
    }
}
