/** 
 * CSS Style: Theme footer
 * 
 * @since 1.0
 */
header {
    background-color: var(--theme-color-background);
}

.theme-header .theme-grid {
    margin: 0 auto;
}

.theme-header > .theme-grid > .theme-grid-row {
    flex-wrap: nowrap;
    height: 100%;
}

.theme-header-bar {
    height: 40px;
    background-color: var( --theme-color-grey );
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.theme-header-main {
    height: 70px;
    background-image: url('../images/background-header-v1.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    /*background-size: cover;*/
    border-bottom: 1px solid #c21e1e;
}

.theme-header-main .theme-side-right > .theme-grid-row > .theme-grid-col:not(:last-child) {
    margin-right: calc( var( --theme-margin ) * 1.5 );
}

@media only screen and (max-width: 1100px) {
    .theme-header-bar, 
    .theme-col-social {
        display: none;
    }

    /*.theme-header-main .theme-side-right > .theme-grid-row > .theme-grid-col:not(:last-child) {
        margin-right: var(--theme-margin);
    }*/

    /*.theme-header-main .theme-side-right>.theme-grid-row>.theme-grid-col {
        margin-right: 0 !important;
    }*/

    .theme-header-main {
        border-bottom: none;
    }
}

/** 
 * Header logo
 * 
 * @since 1.0
 */
.theme-header-logo a {
    display: block;
}

.theme-header-logo svg {
    width: auto;
    height: 70px;
}

@media only screen and (max-width: 1100px) {
    .theme-header-logo svg {
        width: auto;
        height: 60px;
    }
}

@media only screen and (max-width: 480px) {
    .theme-header-logo svg {
        width: auto;
        height: 50px;
    }
}

.theme-header-menu {
    height: 40px;
    color: #000000;
    font-size: 15px;
}

.theme-header-mobile-control {
    margin-top: var( --theme-margin ) !important;
    margin-bottom: var(--theme-margin) !important;
    display: none;
}

@media only screen and (max-width: 1100px) {
    .theme-header-menu {
        display: none;
    }

    .theme-header-mobile-control {
        display: block;
    }
}

/** 
 * Header fixed
 * 
 * @since 1.0
 */
.theme-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0px 3px 8px 0px rgba(77, 77, 77, 0.2);
    z-index: 9999;
    background-color: var(--theme-color);
    max-width: 1600px !important;
}

.theme-header-fixed .theme-header-logo svg {
    width: auto;
    height: 40px;
}

.theme-header > .theme-grid.theme-header-main > .theme-grid-row.theme-header-fixed {
    height: 70px;
}

.theme-header-fixed .theme-header-logo svg path:nth-child(2),
.theme-header-fixed .theme-icon-search {
    fill: #ffffff;
}

.theme-header-fixed .theme-col-social {
    display: none;
}

.theme-header-fixed .theme-icon-bars ul li {
    background-color: #ffffff;
}

/**
 * Switches
 *
 */
.theme-header .theme-grid.theme-header-switches {
    margin-top: var( --theme-margin );
    display: none;
}

@media only screen and (max-width: 1100px) {
    .theme-header .theme-grid.theme-header-switches {
        display: block;
    }
}

.theme-header-switches > .theme-grid-row {
    padding: 0 calc( var(--theme-padding) / 2 );
}

.theme-header-switches > .theme-grid-row > .theme-grid-col {
    padding: 0 calc( var( --theme-padding ) / 2 );
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

@media only screen and (max-width: 768px) {

    .theme-header-switches > .theme-grid-row > .theme-grid-col {
        padding: 0 calc(var(--theme-padding) / 2);
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

}