﻿/*========================================*/
/* Default (Dark)=========================*
/*========================================*/
:root {
    /*--------------------------------------------------- 
    Common colors
    -----------------------------------------------------*/
    --color-white: #ffffff;
    --color-black: #000000;
    --color-green: #2ecc40;
    --color-red: #ff4136;
    --color-yellow: #ffd875;
    --color-gray: #dedede;
    --color-light-gray: #fafafa;
    --color-text: #222222;
    --color-text-second: #494949;
    --color-primary: #ff8900;
    --color-primary-text: #222222;
    --color-primary-hover: #ffb054;
    --color-border: #888888;
    --color-disabled: #848484;
    --color-image-background: #ffffff; /* #f6f6f6; */
    --color-carousel-background: #f6f6f6;
    /*--------------------------------------------------- 
    Themed colors
    -----------------------------------------------------*/
    --color-themed-text: #ffffff;
    --color-themed-background: #414141; 
    --color-themed-hover-color: #555555;
    --color-themed-hover-color-text: #ffffff;
    --color-themed-head-section-text: #222222;
    /*--------------------------------------------------- 
    Container widths and height
    -----------------------------------------------------*/
    --product-container-width: 1600px;
    --header-height: 80px;
    --footer-height: 50px;
}

/*===============================
  Customer header
================================= */
.customer-header {
    height: var(--header-height);
    margin: 0 auto;
    color: var(--color-primary-text);
    background: var(--color-light-gray); /*#e3f0fa;*/
    border-bottom: 1px solid var(--color-gray);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.customer-header img {
    width: 250px;
    padding-left: 20px;
    cursor: pointer;
}

.customer-header__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.customer-header__items {
    padding: 25px 0;
    border-left: 1px solid rgba(255, 255, 255, .25);
}

.customer-header__items a {
    padding: 30px;
    color: var(--color-primary-text);
    text-decoration: none;
    letter-spacing: 1.6px;
}

.customer-header__items a:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, .15);
}

.customer-header__toggle-button {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    cursor: pointer;
    margin:  0 0 0 30px;
    padding: 0;
}

.customer-header__toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-primary-text);
    border-radius: 10px;
    padding: 2px 0;
    margin: 4px 0;
}


@media(max-width: 1080px) {
    .customer-header__toggle-button {
        display: flex;
        flex-direction: column;
        margin-right: 20px;
    }

    .customer-header__links {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        display: none;
        top: var(--header-height);
        right: 0;
        height: auto;
        width: 100%;
        background: var(--color-light-gray); /*#e3f0fa;*/
        z-index: 100;
    }

    .customer-header__links.active {
        display: block;
    }

    .customer-header__items {
        padding: 0;
    }

    .customer-header__items a {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }
}

.email-summary-logo {
    max-height: 100px;
    max-width: 200px;
    margin-bottom: 20px;
    background-color: transparent; /* Can not use variables when rendering to pdf*/
}
/*===============================
  Product catalog customer header
================================= */
.pc-customer-header {
    background: var(--color-light-gray);
    border-bottom: 1px solid var(--color-gray);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px 0 0 20px;
    z-index: 100;
}

.pc-customer-header__search {
    display: flex;
    align-items: center;
    width: 100%;
}

.pc-customer-header__user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /*margin-right: 30px*/
}

.pc-customer-header img {
    width: 250px;
    height: var(--header-height);
    cursor: pointer;
}

.pc-customer-header__toggle-button {
    background: transparent;
    border: none;
    width: 30px;
    cursor: pointer;
    padding: 0;
}

.pc-customer-header__toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-primary-text);
    border-radius: 10px;
    padding: 2px 0;
    margin: 4px 0;
}

.pc-customer-header__toggle-text {
    display: block;    
}

.pc-customer-header__link {
    text-decoration: none;
    color: var(--color-themed-head-section-text);
    transition: transform 0.2s linear;
}

.pc-customer-header__link:hover {
    color: var(--color-themed-head-section-text);
    transform: scale(1.05);
}

@media(min-width: 1140px){
    .pc-customer-header {
        height: var(--header-height);
        margin: 0 auto;
        padding: 0 40px 0 0;
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        align-items: center;
    }

    .pc-customer-header__toggle-button {
        margin:  0 0 0 30px;
    }
    .pc-customer-header__user-info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
}

@media(min-width: 770px) and (max-width: 1240px){

    .pc-customer-header__toggle-text {
        display: none;
    }
}

@media(min-width: 1240px) {
    .pc-customer-header {
        grid-template-columns: auto 200px 1fr auto;
    }
}
