/** 
 * CSS Style: Theme footer
 * 
 * @since 1.0
 */
.theme-header .theme-grid {
    background-color: var( --theme-color-background );
    height: 100%;
    margin: 0 auto;
}

.theme-header > .theme-grid > .theme-grid-row {
    flex-wrap: nowrap;
    height: 100%;
} 

.theme-header > .theme-grid:first-child, 
.theme-header > .theme-grid:first-child > .theme-grid-row {
    height: 80px;
}

.theme-grid > .theme-grid-row.theme-header-menu {
    max-width: 1400px;
    justify-content: center;
    position: relative;
}

.theme-grid > .theme-grid-row.theme-header-menu > .theme-grid-col {
    border-top: 1px solid var(--theme-color);
}

@media only screen and (max-width: 1100px) {
    .theme-grid>.theme-grid-row.theme-header-menu {
        padding: 0;
    }
    
    .theme-grid > .theme-grid-row.theme-header-menu > .theme-grid-col {
        border-top: none;
    }
}

.theme-grid > .theme-grid-row.theme-header-menu > .theme-grid-col {
    width: 100%;
}

.theme-grid > .theme-grid-row.theme-header-menu > .theme-grid-col > .theme-grid-row {
    justify-content: center;
}

/** 
 * Header logo
 * 
 * @since 1.0
 */
.theme-header-logo a {
    display: block;
    color: var( --theme-color );
}

.theme-header-logo svg {
    width: auto;
    height: 44px;
}

.theme-header-logo svg path {
    fill: var( --theme-color );
}

@media only screen and (max-width: 1100px) {
    .theme-header-logo svg {
        width: auto;
        height: 35px;
    }
}

@media only screen and (max-width: 768px) {
    /*.theme-header-logo svg {
        width: auto;
        height: 35px;
    }*/

    .theme-icon-rus-sakha {
        width: auto;
        height: 14px;
    }
}

@media only screen and (max-width: 560px) {
    .theme-header-logo svg {
        width: auto;
        height: 28px;
    }

    .theme-icon-rus-sakha {
        height: 12px;
    }
}

.theme-header-additional-control, .theme-header-data {
    color: var( --theme-color );
    font-size: 14px;
    font-weight: 700;
}

.theme-header-additional-control > .theme-grid-row > .theme-grid-col {
    margin-left: var( --theme-margin );
}

.theme-weather, .theme-exchange-rates {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}

.theme-date, .theme-weather, .theme-exchange-rates li:not(:last-child)  {
    margin-right: var( --theme-margin );
}

.theme-header-data.theme-header-data-mobile {
    display: none;
    height: 30px !important;
    color: #ffffff;
    background-color: var( --theme-color );
    /*max-width: 1360px;*/
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    text-transform: uppercase;
}

@media only screen and (max-width: 1100px) {
    .theme-header-data.theme-header-data-mobile {
        display: flex;
    }

    .theme-header-data.theme-header-data-desktop, 
    .theme-header-additional-control > .theme-grid-row > .theme-grid-col:nth-child(2) {
        display: none;
    }
}

/** 
 * 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: #ffffff;
    max-width: 1600px !important;
}

.theme-header > .theme-grid:first-child > .theme-grid-row.theme-header-fixed {
    height: 60px;    
}

.theme-header-fixed .theme-header-logo svg {
    width: auto;
    height: 35px;
}

@media only screen and (max-width: 1100px) {
    /*.theme-header-fixed .theme-header-logo svg {
        width: auto;
        height: 35px;
    }*/

    /*.theme-header-fixed {
        position: static;
        margin-top: 0 !important;
    }

    .theme-header > .theme-grid:first-child > .theme-grid-row.theme-header-fixed {
        height: 80px;
    }*/
}

/*@media only screen and (max-width: 560px) {
    .theme-header-fixed .theme-header-logo svg {
        width: auto;
        height: 28px;
    }
}*/