/*!
Theme Name: festiwal
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: festiwal
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

festiwal is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.news__image img {
    height: auto;
}

.page-footer__logo-2 img {
    display: block;
    width: auto;
    height: 80px;
    max-height: 80px;
}

.page-footer__logo-2 {
    margin-top: 35px;
}

.header-3 ~ .page-footer__logo-2 {
    margin-top: 0;
}

.page-footer > .container > .row > div {
    padding-bottom: 36px;
    padding-top: 48px;
}

.page-footer__logo-main {
    margin-bottom: 0;
}
.page-footer__logo-main img {
    width: 197px;
}
.main-nav {
    list-style: none;
    padding: 0;
}
.page-header .main-nav-wrapper .main-nav {
    justify-content: space-between;
    gap: 10px;
}
.page-header .main-nav-wrapper .main-nav__col {
    margin: 0 0 20px;
}
.page-header .main-nav-wrapper .main-nav__item a {
    text-transform: uppercase;
}
.page-header .main-nav-wrapper .main-nav__item:not(.menu-item-has-children) {
    margin-bottom: 0;
}
.page-header .page-header__content .logo > img:not(.main) {
    height: 75px;
    width: auto;
    display: none;
}
.page-header.active .page-header__content .logo > img.init {
    display: block;
}
.page-header.active .page-header__content .logo > img:not(.init) {
    display: none;
}
.page-header.active .page-header__content .logo:hover > img.hover {
    display: block;
}
.page-header.active .page-header__content .logo:hover > img:not(.hover) {
    display: none;
}

body.page {
    padding: 0;
}
body .site-main {
    padding-bottom: 0;
    padding-top: 20px;
}
body.home .site-main {
    padding-top: 0;
}
.files-holder {
    padding-bottom: 64px;
}
ul.breadcrumbs {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.55;
    padding-left: 0;
    list-style: none;
}
@media (min-width: 768px) {
    body .site-main {
        padding-top: 60px;
    }
    .files-holder {
        padding-bottom: 100px;
    }
}
@media (min-width: 1200px) {
    body .site-main {
        padding-top: 80px;
    }
    .files-holder {
        padding-bottom: 144px;
    }
    ul.breadcrumbs {
        font-size: 20px;
    }
}
@media (min-width: 1819px) {
    body .site-main {
        padding-top: 160px;
    }
}
footer.page-footer {
    padding-bottom: 0;
    background: #E3E0D9;
    color: #000;
}
footer.page-footer h3 {
    color: #000;
}
footer.page-footer p,
footer.page-footer a,
footer.page-footer .tel {
    color: #000;
}
article.page {
    padding-top: 0;
}
.page__image img {
    height: auto;
}
.layout .files li a {
    display: block;
    padding-left: 0;
    padding-right: 0;
}
.section h2, .section .h2 {
    font-size: 36px;
    font-family: 'neue-school-hairline-italic';
    margin-bottom: 30px;
    text-transform: uppercase;
}
@media (min-width: 480px) {
    .section h2, .section .h2 {
        font-size: 46px;
    }
}
@media (min-width: 768px) {
    .section h2, .section .h2 {
        font-size: 66px;
        margin-bottom: 32px;
    }
}
@media (min-width: 1200px) {
    .section h2, .section .h2 {
        font-size: 86px;
        margin-bottom: 52px;
    }
}
@media (min-width: 1819px) {
    .section h2, .section .h2 {
        font-size: 102px;
        margin-bottom: 72px;
    }
}
.orange-separator svg {
    color: #ff5719;
}
.orange-separator ~ .news-masonry-container {
    margin-top: 40px;
}
@media (min-width: 768px) {
    .orange-separator ~ .news-masonry-container {
        margin-top: 70px;
    }
}
@media (min-width: 1200px) {
    .orange-separator ~ .news-masonry-container {
        margin-top: 100px;
    }
}
@media (min-width: 1200px) {
    .news__image:before {
        background-size: 302%;
    }
}
.event-gallery {
    padding-top: 20px;
    padding-bottom: 20px;
}
@media (min-width: 768px) {
    .event-gallery {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media (min-width: 1200px) {
    .event-gallery {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
@media (min-width: 1819px) {
    .event-gallery {
        padding-top: 160px;
        padding-bottom: 160px;
    }
}
.news-masonry .masonry-item.gallery-item {
    width: calc(100% - 30px);
    margin: 15px;
}
.news-masonry .masonry-item.gallery-item img {
    width: 100%;
}
@media (min-width: 783px) {
    .news-masonry .masonry-item.gallery-item {
        width: calc(50% - 30px);
        margin: 15px;
    }
}
@media (min-width: 1819px) {
    .news-masonry .masonry-item.gallery-item {
        width: calc(33.33% - 66px);
        margin: 33px;
    }
}
.page h1 {
    letter-spacing: 5px;
}
.page .page {
    padding-top: 0;
}
.partners {
    align-items: stretch;
    justify-content: space-around;
}
.partners > div {
    padding: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}
.partners > div img {
    display: block;
    max-width: 240px;
    max-height: 90px;
}
@media (min-width: 783px) {
    .partners > div img {
        display: block;
        max-width: 360px;
        max-height: 120px;
    }
}
@media (min-width: 1200px) {
    .partners {
        margin: 0 -30px;
    }
    .partners > div {
        padding: 30px;
    }
}
a.hero-carousel__inner {
    text-decoration: none;
}
.news__date {
    margin-top: 0;
    line-height: 45px;
    color: #E3E0D9;
}
.hero-carousel__item.full-image > a {
    display: block;
}
.hero-carousel__item.full-image .hero-carousel__inner > img {
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    display: block;
}
.hero-carousel__item.full-image .hero-carousel__content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 60px;
    display: flex;
    justify-content: center;
}
.hero-carousel__item.full-image .hero-carousel__overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: #0601F9;
    opacity: 0.2;
}
.hero-carousel__item.full-image .hero-carousel__content::after {
    content: none;
}
.hero-carousel__item.full-image .hero-carousel__content .hero-carousel__header,
.hero-carousel__item.full-image .hero-carousel__content .hero-carousel__desc {
    color: #fff;
    text-align: center;
}
@media (min-width: 992px) {
    .hero-carousel .hero-carousel__content {
        padding-left: 6px;
        padding-right: 30px;
    }
}
@media (max-width: 379px) {
    .hero-carousel__header {
        font-size: 38px;
    }
}
@media (min-width: 380px) and (max-width: 768px) {
    .hero-carousel__header {
        font-size: 10vw;
    }
}
@media (min-width: 992px) {
    .hero-carousel__header {
        font-size: 80px;
    }
}
@media (min-width: 1200px) {
    .hero-carousel__header {
        font-size: 90px;
    }
}
@media (min-width: 1364px) {
    .hero-carousel__header {
        font-size: 100px;
    }
}
@media (min-width: 1819px) {
    .hero-carousel__header {
        font-size: 120px;
    }
}
.news {
    padding-bottom: 55px;
}
.news__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news__footer .plus {
    width: 45px;
    height: 45px;
    position: relative;
}
.news__footer .plus > i:first-child {
    display: block;
    position: absolute;
    top: 0;
    left: 15px;
    width: 15px;
    height: 100%;
    background: #0601F9;
    transition: 0.3s;
}
.news__footer .plus > i:last-child {
    display: block;
    position: absolute;
    top: 15px;
    left: 0;
    height: 15px;
    width: 100%;
    background: #0601F9;
}
.news__content:before,
.news__content:after {
    content: none;
    display: none;
}
.news:hover .news__footer .plus > i:first-child {
    left: 30px;
    transition: 0.3s;
}
@media (min-width: 768px) {
    .page-header__content .page-header-side .lang-btn ul {
        font-size: 31px;
    }
}
#nav-btn,
.harmonogram .harmonogram-event__btn,
.harmonogram .harmonogram__add-btn,
.harmonogram-form .harmonogram-submit {
    display: inline-block;
    padding: 8px 20px;
    border: 8px solid #0601F9;
    font-weight: bold;
    box-sizing: border-box;
    width: auto;
    height: auto;
    font-size: 1.125rem;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-right: 10px;
    position: relative;
    background: var(--bs-body-bg);
    cursor: pointer;
}
.harmonogram-form .harmonogram-submit {
    background: #0601F9;
    color: #fff;
}
#nav-btn::before,
.harmonogram .harmonogram-event__btn::before,
.harmonogram .harmonogram__add-btn::before,
.harmonogram-form .harmonogram-submit::before {
    content: '';
    display: block;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border: 8px solid #0601F9;
    box-sizing: border-box;
    position: absolute;
    top: 2px;
    left: 3px;
    z-index: -1;
    opacity: 1;
    transition: 0.3s;
}
#nav-btn:hover::before,
.harmonogram .harmonogram-event__btn:hover::before,
.harmonogram .harmonogram__add-btn:hover::before,
.harmonogram-form .harmonogram-submit:hover::before {
    opacity: 1;
    top: -8px;
    left: -8px;
    transition: 0.3s;
}
#nav-btn.active,
.harmonogram .harmonogram-event__btn.active,
.harmonogram .harmonogram__add-btn.active {
    color: #fff;
    background: #0601F9;
}
#nav-btn.active::before,
.harmonogram .harmonogram-event__btn.active::before,
.harmonogram .harmonogram__add-btn.active::before {
    top: -8px;
    left: -8px;
    transition: 0.3s;
}
.harmonogram .harmonogram-event__btn,
.harmonogram .harmonogram__add-btn,
.harmonogram-form .harmonogram-submit {
    text-transform: uppercase;
    margin-bottom: 20px;
    height: 50px;
    font-size: 1rem;
}
.harmonogram .harmonogram__add-btn .txt {
    font-size: inherit;
    margin: 0;
}
.harmonogram .harmonogram-event__btn:not(.active) span:last-child {
    display: none;
}
.harmonogram .harmonogram-event__btn.active span:first-child {
    display: none;
}
.filters__item.type_date .filters__name {
    background: #0601F9;
    color: #fff;
}
.harmonogram-container .harmonogram-header {
    font-size: 4.5rem;
    letter-spacing: 0.05em;
    color: #0601F9;
    text-transform: uppercase;
    font-family: 'neue-school-hairline-italic';
}
.harmonogram .harmonogram-event__details {
    width: 50%;
}
.harmonogram__header {
    border-top: 2px solid #0601F9;
    padding-top: 24px;
}
.harmonogram:not(:nth-last-child(2)) .harmonogram-event:last-child {
    border-bottom: none;
}
.orange-separator > svg {
    color: #0601F9;
}
.concert-section__details-copy ul li:not(:last-child) {
    padding-bottom: 15px;
}

/** BODY CONTRAST **/

body.contrast {
    background-color: #000 !important;
    color: #fff !important;
}
body.contrast .page-header {
    background-color: #000 !important;
    color: #fff !important;
}
body.contrast a {
    color: yellow !important;
}
body.contrast button:not(.lang-btn) {
    background: yellow !important;
    color: #000 !important;
}
body.contrast .breadcrumbs li {
    color: #fff !important;
}
body.contrast footer.page-footer {
    background: none !important;
    color: #fff !important;
}
body.contrast footer.page-footer *:not(a) {
    color: #fff !important;
}
body.contrast .partners img,
body.contrast footer.page-footer img {
    filter: invert(100%) !important;
}
body.contrast footer.page-footer:before {
    background: none !important;
}
body.contrast .page-header.active .main-nav-wrapper {
    background: #000 !important;
    border-top: 2px solid #0601F9 !important;
    border-bottom: 2px solid #0601F9 !important;
}
body.contrast .btn.btn-primary {
    color: #000 !important;
}
body.contrast .btn.btn-primary:after {
    background: yellow !important;
    border-color: #0601F9 !important;
}
body.contrast .btn.btn-primary:before {
    border-color: #0601F9 !important;
    background: none !important;
}
body.contrast .hero-carousel__desc {
    color: yellow !important;
}
body.contrast .hero-banner img {
    filter: invert(100%) !important;
}
body.contrast .harmonogram__add-btn,
body.contrast .harmonogram-event__btn {
    color: #000 !important;
    background: yellow !important;
}
body.contrast .filters__item .filters__name {
    border: 1px solid yellow;
}
