.site-header.mainpage {
/*    background-image: url(/wp-content/themes/zbog-skis-ru/img/background-min.png);*/
}

.front-page-hero {
    background-image: url(/wp-content/themes/zbog-skis-ru/img/background-min.png);
}
#masthead {
    padding-left: calc(50% - 590px);
    padding-right: calc(50% - 590px);
}

.hero-video-wrap {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video-shadow {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #00000080;
    z-index: 2;
}

.site-branding {
    padding: 10px 15px;
    border-radius: 55px;
    border: 1px solid #fff;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    position: relative;
    z-index: 4;
/*    margin: 20px 40px;*/
    margin: 33px 24px;;
}

nav#site-navigation {
    width: 100%;
}

ul#primary-menu {
    position: static;
    display: flex;
    justify-content: space-around;
}

ul#primary-menu li a {
    line-height: normal;
    color: #fff;
    font-size: 16px;
}

#masthead a#header_button.button {
    display: block;
    position: static;
    background: #fff;
    color: #2C2C2D;
    text-align: center;
    padding: 10px 20px;
    text-wrap: nowrap;
}

.site-header.mainpage .logo {
    margin-right: 30px;
}

#masthead:not(.mainpage)  .site-branding {
    border-color: #2C2C2C;
}

#masthead:not(.mainpage) .site-branding ul#primary-menu li a {
    color: #2C2C2C;
}



#masthead:not(.mainpage) .site-branding a#header_button {
    background: #EC2E50;
    color: #fff;
}


/*@media (max-width: 992px) {*/

.hero-video-wrap {
    display: block;
} 

#hero-video {
    display: block;
}

/*}*/