/** 
 * CSS Style: Theme footer
 * 
 * @since 1.0
 */
.theme-header {
    height: 330px;
    background-color: var( --theme-color-background );
}

@media only screen and (max-width: 1200px) {
    .theme-header {
        height: auto;
        padding-top: calc( var(--theme-padding) * 2 );
        padding-bottom: calc(var(--theme-padding) * 2);
    }
}

@media only screen and (max-width: 768px) {
    .theme-header {
        padding-top: var(--theme-padding);
        padding-bottom: var(--theme-padding);
    }
}

.theme-header .theme-grid {
    height: 100%;
    margin: 0 auto;
}

.theme-header .theme-grid > .theme-grid-row {
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
}

.theme-header .theme-mobile-control {
    display: none;
}

.theme-header img, .theme-header svg {
    display: block;
}

@media only screen and (max-width: 1200px) {
    .theme-header .theme-mobile-control {
        display: block;
    }

    .theme-header .theme-language-control, .theme-header .theme-logo-penbelarus {
        display: none;
    }
}

/** 
 * Header logo
 * 
 * @since 1.0
 */
.theme-header-logo {
    font-size: 28px;
    line-height: 28px;
    font-weight: 600;
}

.theme-header-logo a {
    display: block;
    color: var( --theme-color );
}

.theme-header-logo svg {
    display: block;
    width: auto;
    height: 53px;
    transition: .3s linear;
}

@media only screen and (max-width: 1200px) {
    .theme-header-logo svg {
        height: 43px;
    }
}

@media only screen and (max-width: 1024px) {
    .theme-header-logo svg {
        height: 33px;
    }
}

@media only screen and (max-width: 560px) {
    .theme-header-logo svg {
        height: 26px;
    }
}

@media only screen and (max-width: 480px) {
    .theme-header-logo svg {
        height: 20px;
    }
}

.theme-header-side-bottom {
    margin-top: 70px;
    flex-wrap: nowrap;
}

@media only screen and (max-width: 1200px) {
    .theme-header-side-bottom {
        margin-top: calc( var( --theme-margin ) * 2 );
    }

    .theme-header-side-bottom > .theme-grid-col:last-child {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .theme-header-side-bottom {
        margin-top: var(--theme-margin);
    }
}

.theme-header .theme-widget-title {
    display: none;
}

.theme-bbb {
    flex: 0 0 470px;
    max-width: 470px;
    width: 470px;
}

.theme-bbb a {
    color: var( --theme-color-background );
}

.theme-bbb > .theme-grid-row {
    flex-wrap: nowrap;
}

.theme-bbb .theme-bbb-item:first-child {
    height: 100px;
    background-color: var( --theme-color );
    padding: 0 var(--theme-padding);
    font-weight: 800;
    color: var( --theme-color-background );
    font-size: 90px;
    line-height: 1;
    font-family: "Work Sans", sans-serif;
}

.theme-bbb .theme-bbb-item:first-child > .theme-grid-row {
    height: 100%;
    text-align: center;
}

.theme-bbb .theme-bbb-item:last-child {
    color: var( --theme-color );
    margin-left: var( --theme-margin );
}

.theme-bbb .theme-bbb-item:last-child p:first-child {
    font-size: 38px;
    line-height: 32px;
    font-weight: bold;
}

.theme-bbb .theme-bbb-item:last-child p:last-child {
    font-size: 13px;
    margin-top: 4px;
}

@media only screen and (max-width: 1200px) {
    .theme-bbb {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .theme-bbb .theme-bbb-item:first-child {
        /*padding: 0 var(--theme-padding);*/
        height: auto;
        font-size: 80px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-bbb .theme-bbb-item:first-child {
        font-size: 60px;
    }

    .theme-bbb .theme-bbb-item:last-child p:first-child {
        font-size: 28px;
        line-height: 24px;
    }
}

@media only screen and (max-width: 480px) {
    .theme-bbb .theme-bbb-item:first-child {
        font-size: 40px;
    }

    .theme-bbb .theme-bbb-item:last-child p:first-child {
        font-size: 18px;
        line-height: 14px;
    }
}