body {
    font-family: 'Roboto', sans-serif;
    min-width: 366px;
}

:root {
    --header-lg-height: 80px;
    --header-sm-height: 50px;
    --footer-lg-height: 240px;
    --footer-md-height: 395px;
}

.ui-loading .ui-loader {
    display: none;
}

#main-container {
    min-height: calc(100vh - var(--footer-lg-height) - var(--header-lg-height) - 40px) ;
}

#header {
    width: 100%;
    background-color: #474344;
    height: 80px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    z-index: 100;
}

#header-content {
    display: flex;
}

#agreement-label {
    font-size: 12px;
}

#agreement-label a{
    color: #65727e;
}

#agreement-popups-wrapper {
    position: fixed;
    z-index: 100;
    bottom: 15px;
    left: 50%;
    max-width: 90%;
    transform: translateX(-50%);
}

#cookie_note, #age_note_popup {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

#cookie_note p, #age_note_popup p {
    margin: 0;
    font-size: 0.7rem;
    text-align: left;
    color: black;
    text-align: center;
}

#cookie_note .btn-sm, #age_note_popup .btn-sm{
    display: block;
    margin: 0 auto;
}

.cookie_accept {
    width: 20%;
}

.age_accept_popup {
    width: 25%;
}

#cookie_note.show, #age_note_popup.show {
    display: flex;
}

#header a {
    color: white;
    outline: none;
    text-decoration: none;
}

#header-logo img {
    margin-top: 10px;
    height: 60px;
}

#header-leftside {
    flex: 0.7;          /* shorthand for: flex-grow: 1, flex-shrink: 1, flex-basis: 0 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#header-rightside {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header-rightside #header-menu, #header-rightside, #login-button-wrapper{
    flex: 0.5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header-logo span {
    line-height: 1.2;

    font-size: 18px;
    margin-top: 5px;
    margin-left: 7px;
}

#header-logo span, #header-logo img {
    display: block;
    float: left;
}

#header-center {
    /*align-content: center;*/
    flex: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-center ul {
    text-align: center;
}

#header-center a:hover {
    opacity: 0.5;
}

div.g-recaptcha {
    margin: 0 auto;
    width: 304px;
}

.main-menu a.current {
    color: #E5BD77 !important;
}

#header ul.main-menu {
    margin-bottom: 0;
}

#header ul.main-menu li {
    display: inline;
}

#header ul.main-menu li:not(:last-child) {
    padding-right: 10px;
}

#header ul.main-menu li:not(:last-child):after {
    content: "|";
    margin-left: 10px;
}

#header #mobile-menu ul.main-menu li:after {
    content: none;
    display: none;
}

.buttons a {
    outline: none;
    text-decoration: none;
}

.buttons {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 5px 10px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: 700;
    background-image: none;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #ffffff;
    border-radius: 10px;
    border: 2px solid;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10pxf;
}

button.pathmuse-send-btn {
    background-color: #E5BD77;
    border-radius: 7px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

p.error-message {
    background-color: #ffe38f;
    border-radius: 5px;
    border-color: #ffb018;
    border-width: 1px;
    border-style: solid;
    font-size: 12px;
    margin-top: 5px;
}

.header-login-button:hover {
    opacity: 0.8;
}

#login-button-wrapper {
    width: 220px;
    margin-top: 8px;
}

#login-popup .modal-body {
    padding-left: 30px;
    padding-right: 30px;
}

.header-login-button {
    border-color: white;
    font-size: 12px;
    margin-top: -3px;
    float: right;
}
.header-login-button img {
    margin-top: -3px;
}

#left-menu {
    margin-top: 30px;
    height: 100%;
    float: left;
}

#left-menu li {
    /*margin-top: 30px;*/
    height: 100%;
    background-color: #474344;
    margin-bottom: 5px;
    border-radius: 3px;
    padding: 10px 20px;
    list-style-type: none;
    color: white;
}
#left-menu li a:hover{
    opacity: 80%;
}

#left-menu li a {
    outline: none;
    text-decoration: none;
    color: white;
}

.user-subscription-type {
    width: max-content;
    padding: 7px;
    border-radius: 3px;
    position: relative;
    overflow-x: hidden;
    text-decoration: none;
    outline: none;
}

.user-subscription-type .flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg);
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
    animation: flareAnimation 3s infinite linear;
}

@keyframes flareAnimation {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

#mobile-menu-toggle {
    display: none;
}


#mobile-menu-toggle * {
    display: none;
}

ul.breadcrumb {
    padding: 10px 16px 0;
    list-style: none;
    margin-bottom: 0;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}

/* Добавить символ косой черты (/) перед/за каждым элементом списка */
ul.breadcrumb li+li:before {
    padding: 8px;
    color: #474344;
    content: "→";
}

/* Добавить цвет для всех ссылок внутри списка */
ul.breadcrumb li a {
    color: #474344;
    text-decoration: underline;
}

/* Добавить цвет на наведении курсора мыши */
ul.breadcrumb li a:hover {
    color: #655f61;
}

ul.breadcrumb li:last-child {
    color: #E5BD77;
    font-weight: bold;
}
ul.breadcrumb li+li:last-child:before {
    color: #E5BD77;
}

h1.page-title {
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.info-block {
    padding-top: 40px;
    padding-bottom: 40px;
}

#player-canvas {
    height: calc(65vh - 35px);
}

#exhibit {
    position: relative;
    height: 65vh;
}

.article-text {
    font-size: 18px;
}

.exhibit-item {
    position: relative;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
    z-index: 5;
    height: 300px;
    margin-bottom: 30px;
}

.exhibit-item-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.exhibit-item-background.blured {
    filter: blur(10px);
}

.exhibit-item span {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    background-color: rgba(41, 41, 41, 0.5);
    color: white;
    font-size: 20px;
    padding: 10px;
}

.category-item {
    position: relative;
    width: 100%;
    text-align: center;

}

.category-item img {
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
}

.category-item img.blured {
    filter: blur(10px);
}

.category-item:hover, .exhibit-item:hover {
    opacity: 90%;
}


.category-item img{
    filter: brightness(50%);
    z-index: 5;
}

.category-item a span {
    color: rgb(255, 255, 255);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(41, 41, 41, 0.8);
    border-radius: 5px;
    padding: 0.5rem;
    text-align: center;
    font-size: 20px;
    z-index: 10;
}

#footer {
    background-color: #474344;
    margin-top: 50px;
}

#footer.fixed-bottom {

}

#footer a {
    color: white;
    outline: none;
    text-decoration: none;
    font-weight: bold;
}

#footer-menu li {
    list-style-type: none;
}

#footer-logo img {
    margin-top: 10px;
    height: 60px;
}

#footer-logo span {
    line-height: 1.2;

    font-size: 18px;
    margin-top: 5px;
    margin-left: 7px;
}

#footer-logo span, #footer-logo img {
    display: block;
    float: left;
}

#footer-contacts {
    justify-content: right;
    display: flex;
}

#exhibit.fullscreen-player #player-controls {
    padding-left: 15px;
    padding-right: 15px;
}

/* Между большим и средним экраном*/
@media screen and (max-width: 1400px) {
    #header ul.main-menu li:not(:last-child) {
        padding-right: 5px;
    }

    #header ul.main-menu li:not(:last-child):after {
        margin-left: 5px;
    }

    .category-item a span {
        font-size: 18px;
    }
}


.round-img {
    height: 230px;
    width: 230px !important;
    border-radius: 50%;
    padding: 0 !important;
    margin-bottom: 30px;
}

.mobile-block {
    display: none;
}

/* Небольшие экраны и меньше*/
@media screen and (max-width: 1199px) {

    :root {
        --header-lg-height: 50px;
        --footer-lg-height: 240px;
        --footer-md-height: 395px;
    }

    #login-button-wrapper {
        width: 140px;
        margin-top: 0;
    }

    .header-login-button {
        font-size: 10px;
        margin-top: -5px;
    }

    #header {
        font-size: 14px;
    }

    #header-rightside {
        /*margin-top: 27px;*/
    }

    .category-item a span {
        font-size: 16px;
    }

    #header-logo span {
        font-size: 16px;
        margin-top: 8px;
    }
}

/* Планшеты и меньше*/
@media screen and (max-width: 991px) {
    :root {
        --header-lg-height: 50px;
        --footer-lg-height: 395px;
    }

    .cookie_accept, .age_accept_popup {
        width: 100%;
    }

    #header {
        height: var(--header-lg-height);
        position: fixed;
        top: 0px;
    }

    #main-container {
        margin-top: var(--header-lg-height);;
    }

    #header-logo img {
        margin-top: 5px;
        height: 40px;
    }
    #header-logo span {
        line-height: 1.0;
        font-size: 12px;
        margin-top: 5px;
    }
    #mobile-menu-toggle {
        display: block;
    }
    #mobile-menu-toggle * {
        display: block;
    }
    #header-center {
        display: none;
    }

    #header-rightside {
        margin-top: 10px;
    }

    #header-rightside #login-button-wrapper {
        display: none;
    }

    #fullscreen-btn {
        display: block;
    }

    #footer-logo, #footer-contacts, #footer-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #footer-logo img {
        margin-top: 5px;
        height: 40px;
    }
    #footer-logo span {
        line-height: 1.0;
        font-size: 12px;
        margin-top: 5px;
    }

    #footer-menu, #footer-contacts{
        margin-top: 30px;
    }

    #player-canvas {
        height: 300px;
    }
    #exhibit {
        height: 370px;
    }

    .fullscreenPlayer {
        width: 100vw;
        height: 100vh;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
    }

    #footer-menu ul {
        text-align: center;
        padding: 0;
    }

    #contacts {
        text-align: center;
    }

    .category-item a span {
        font-size: 14px;
    }

    #left-menu {
        display: none;
    }

    .mobile-block {
        display: block;
    }

    .pc-block {
        display: none;
    }
}

/* мобильные устройства */
@media screen and (max-width: 767px) {

}


