/*
 * This file is part of the AP project.
 */

/*
 * -----------------------------------------------------------------------------
 * --- root --------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-action: #c45d53;
    --color-archeology: #c45d53;
    --color-book: #c45d53;
    --color-collection: #c45d53;
    --color-education: #3c3c83;
    --color-exhibition: #2b8465;
    --color-exposition: #d0a955;
    --color-message: #c45d53;

    --cookie-bar-overlay: rgba(0, 0, 0, 0.75);
    --cookie-bar-general-color: #ffffff;
    --cookie-bar-general-background: #c45d53;
    --cookie-bar-general-border-radius: 0;
    --cookie-bar-general-button-background: #ffffff;
    --cookie-bar-general-button-color: #000000;
    --cookie-bar-consent-background: #ffffff;
    --cookie-bar-consent-border-radius: 10px;
    --cookie-bar-consent-header-background: #c45d53;
    --cookie-bar-consent-header-color: #ffffff;
    --cookie-bar-consent-item-background: #eeeeee;
    --cookie-bar-consent-item-headline-color: #000000;
    --cookie-bar-consent-item-description-color: #000000;
    --cookie-bar-consent-switch-disabled: #cccccc;
    --cookie-bar-consent-switch-off: #666666;
    --cookie-bar-consent-switch-on: #c45d53;
    --cookie-bar-consent-switch-circle: #ffffff;
    --cookie-bar-consent-button-background: #c45d53;
    --cookie-bar-consent-button-color: #ffffff;

    --box-indent-mobile-left: 20px;
    --box-indent-mobile-right: 20px;
    --box-indent-tablet-left: 60px;
    --box-indent-tablet-right: 60px;
    --box-indent-desktop-left: 60px;
    --box-indent-desktop-right: 60px;

    --image-trasform-speed: transform .5s ease;
    --image-trasform-scale: scale(1.04);

    --link-trasform-speed: transform .5s ease;

    --button-basic-padding: 7px 20px;

    --museum-action-basic-normal-background: #c45d53;
    --museum-action-basic-reverse-background: #ffffff;
    --museum-action-basic-normal-color: #c45d53;
    --museum-action-basic-reverse-color: #ffffff;
    --museum-action-button-border: 2px solid #c45d53;
    --museum-action-button-border-hover: 2px solid #c45d53;
    --museum-action-button-background: #c45d53;
    --museum-action-button-background-hover: #ffffff;
    --museum-action-button-color: #ffffff;
    --museum-action-button-color-hover: #c45d53;

    --museum-archeology-basic-normal-background: #996515;
    --museum-archeology-basic-reverse-background: #ffffff;
    --museum-archeology-basic-normal-color: #996515;
    --museum-archeology-basic-reverse-color: #ffffff;
    --museum-archeology-button-border: 2px solid #996515;
    --museum-archeology-button-border-hover: 2px solid #996515;
    --museum-archeology-button-background: #996515;
    --museum-archeology-button-background-hover: #ffffff;
    --museum-archeology-button-color: #ffffff;
    --museum-archeology-button-color-hover: #996515;

    --museum-book-basic-normal-background: #996515;
    --museum-book-basic-reverse-background: #ffffff;
    --museum-book-basic-normal-color: #996515;
    --museum-book-basic-reverse-color: #ffffff;
    --museum-book-button-border: 2px solid #996515;
    --museum-book-button-border-hover: 2px solid #996515;
    --museum-book-button-background: #996515;
    --museum-book-button-background-hover: #ffffff;
    --museum-book-button-color: #ffffff;
    --museum-book-button-color-hover: #996515;

    --museum-collection-basic-normal-background: #996515;
    --museum-collection-basic-reverse-background: #ffffff;
    --museum-collection-basic-normal-color: #996515;
    --museum-collection-basic-reverse-color: #ffffff;
    --museum-collection-button-border: 2px solid #996515;
    --museum-collection-button-border-hover: 2px solid #996515;
    --museum-collection-button-background: #996515;
    --museum-collection-button-background-hover: #ffffff;
    --museum-collection-button-color: #ffffff;
    --museum-collection-button-color-hover: #996515;

    --museum-education-basic-normal-background: #3c3c83;
    --museum-education-basic-reverse-background: #ffffff;
    --museum-education-basic-normal-color: #3c3c83;
    --museum-education-basic-reverse-color: #ffffff;
    --museum-education-button-border: 2px solid #3c3c83;
    --museum-education-button-border-hover: 2px solid #3c3c83;
    --museum-education-button-background: #3c3c83;
    --museum-education-button-background-hover: #ffffff;
    --museum-education-button-color: #ffffff;
    --museum-education-button-color-hover: #3c3c83;

    --museum-exhibition-basic-normal-background: #2b8465;
    --museum-exhibition-basic-reverse-background: #ffffff;
    --museum-exhibition-basic-normal-color: #2b8465;
    --museum-exhibition-basic-reverse-color: #ffffff;
    --museum-exhibition-button-border: 2px solid #2b8465;
    --museum-exhibition-button-border-hover: 2px solid #2b8465;
    --museum-exhibition-button-background: #2b8465;
    --museum-exhibition-button-background-hover: #ffffff;
    --museum-exhibition-button-color: #ffffff;
    --museum-exhibition-button-color-hover: #2b8465;

    --museum-exposition-basic-normal-background: #d0a955;
    --museum-exposition-basic-reverse-background: #ffffff;
    --museum-exposition-basic-normal-color: #d0a955;
    --museum-exposition-basic-reverse-color: #ffffff;
    --museum-exposition-button-border: 2px solid #d0a955;
    --museum-exposition-button-border-hover: 2px solid #d0a955;
    --museum-exposition-button-background: #d0a955;
    --museum-exposition-button-background-hover: #ffffff;
    --museum-exposition-button-color: #ffffff;
    --museum-exposition-button-color-hover: #d0a955;

    --museum-message-basic-normal-background: #996515;
    --museum-message-basic-reverse-background: #ffffff;
    --museum-message-basic-normal-color: #996515;
    --museum-message-basic-reverse-color: #ffffff;
    --museum-message-button-border: 2px solid #996515;
    --museum-message-button-border-hover: 2px solid #996515;
    --museum-message-button-background: #996515;
    --museum-message-button-background-hover: #ffffff;
    --museum-message-button-color: #ffffff;
    --museum-message-button-color-hover: #996515;

    --gallery-exhibition-basic-normal-background: #2b8465;
    --gallery-exhibition-basic-reverse-background: #ffffff;
    --gallery-exhibition-basic-normal-color: #2b8465;
    --gallery-exhibition-basic-reverse-color: #ffffff;

    --gallery-exposition-basic-normal-background: #d0a955;
    --gallery-exposition-basic-reverse-background: #ffffff;
    --gallery-exposition-basic-normal-color: #d0a955;
    --gallery-exposition-basic-reverse-color: #ffffff;

    --gallery-building-basic-normal-background: #3c3c83;
    --gallery-building-basic-reverse-background: #ffffff;
    --gallery-building-basic-normal-color: #3c3c83;
    --gallery-building-basic-reverse-color: #ffffff;

    --gallery-other-basic-normal-background: #996515;
    --gallery-other-basic-reverse-background: #ffffff;
    --gallery-other-basic-normal-color: #996515;
    --gallery-other-basic-reverse-color: #ffffff;
}

/*
 * -----------------------------------------------------------------------------
 * --- Fonts -------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-Light.ttf") format("opentype");
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-LightItalic.ttf") format("opentype");
    font-style: italic;
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-SemiBold.ttf") format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-SemiBoldItalic.ttf") format("opentype");
    font-style: italic;
    font-weight: bold;
}

/*
 * -----------------------------------------------------------------------------
 * --- Basic tags --------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    outline: none;
}

html, body {
    line-height: 1.5;
}

body, button, input, textarea, select {
    font-family: Montserrat, Inter, Segoe UI, Tahoma, sans-serif, Arial;
    font-size: 14px;
}

@media screen and (min-width: 1250px) {
    body, button, input, textarea, select {
    }
}

@media screen and (min-width: 1400px) {
    body, button, input, textarea, select {
    }
}

p {
    margin: 0 0 1.5em 0;
}

a,
a:active,
a:link,
a:visited,
button {
}

a,
a:active,
a:link,
a:visited {
    cursor: pointer;
    text-decoration: underline;
    color: var(--color-black);
}

a:hover {
    text-decoration: underline;
    color: var(--color-action);
}

img {
    display: block;
    border: none;
}

h1 {
    font-size: 2.0em;
    font-weight: bold;
    line-height: 1.25;
    margin: 0 0 0.75em 0;
    padding: 0;
}

h2 {
    font-size: 1.8em;
    line-height: 1.25;
    margin: 0 0 0.1em 0;
    padding: 0.5em 0 0 0;
}

h3 {
    font-size: 1.6em;
    line-height: 1.3;
    margin: 0 0 0.50em 0;
    padding: 0;
    color: #000000;
}

h4 {
    font-size: 1.25em;
    line-height: 1.3;
    margin: 0 0 0.5em 0;
    padding: 0;
    color: #000000;
}

h5 {
    font-size: 1.1em;
    line-height: 1.3;
    margin: 0 0 0.5em 0;
    padding: 0;
    color: #000000;
}

h6 {
    font-size: 1.0em;
    line-height: 1.3;
    margin: 0 0 0.5em 0;
    padding: 0;
    color: #000000;
}

p {
    margin: 0 0 1.5em 0;
    color: #000000;
}

p:only-child,
p:last-child {
    margin: 0;
}

ol {
    margin: 0 0 1.5em 0;
    padding: 0;
}

ul {
    margin: 0 0 1.5em 0;
    padding: 0;
    list-style: disc;
}

li {
    line-height: 1.5;
    margin: 0 0 0 5px;
    padding: 0;
}

/**
 * -----------------------------------------------------------------------------
 * --- prefetch ----------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
body:after {
    position: absolute;
    z-index: -1;
    overflow: hidden;
    width: 0;
    height: 0;
}

/*
 * --------------------------------------------------------------------------------
 * --- Page -----------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.page {
    width: 100%;
    min-width: 360px;
    max-width: 1500px;
    height: 100%;
    min-height: 100%;
    margin: 0 auto;
    background-color: #ffffff;
}

/*
 * --------------------------------------------------------------------------------
 * --- Layout ---------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.l-panel-top {
    position: fixed;
    z-index: 102;
    width: 100%;
    max-width: 1500px;
    height: 80px;
    background-color: var(--color-white);
}

@media screen and (min-width: 1000px) {
    .l-panel-top {
        height: 90px;
    }
}

.l-panel-main {
    position: relative;
    z-index: 100;
    min-height: calc(100vh - 330px);
    padding: 80px 0 1.0em 0;
}

@media screen and (min-width: 1000px) {
    .l-panel-main {
        padding-top: 90px;
    }
}

.l-panel-footer {
    width: 100%;
    max-width: 100%;
    padding: 40px 0 0 0;
    background-image: url("../images/object-stripe.svg");
    background-repeat: repeat-x;
    background-position: 0 0;
    background-size: auto 40px;
}

.l-page-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.l-content-inner-h {
    padding-right: 15px;
    padding-left: 15px;
}

@media screen and (min-width: 600px) {
    .l-content-inner-h {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .l-content-inner-h {
        padding-right: 25px;
        padding-left: 25px;
    }
}

.l-content-inner-v {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media screen and (min-width: 600px) {
    .l-content-inner-v {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .l-content-inner-v {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

.l-content-height {
    min-height: 300px;
}

/*
 * --------------------------------------------------------------------------------
 * --- Hamburger ------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.hamburger {
    position: absolute;
    z-index: 106;
    top: 50%;
    right: var(--box-indent-mobile-right);
    display: block;
    width: 37px;
    height: 31px;
    cursor: pointer;
    transform: translateY(-50%);
}

@media screen and (min-width: 1000px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    position: absolute;
    right: 0;
    display: block;
    width: 100%;
    height: 6px;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 10px;
    background-color: var(--color-action);
}

.hamburger span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.hamburger span:nth-child(2) {
    top: 12px;
    transform-origin: left center;
}

.hamburger span:nth-child(3) {
    top: 24px;
    transform-origin: left center;
}

.hamburger.open span:nth-child(1) {
    top: -1px;
    left: 5px;
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 25px;
    left: 5px;
    transform: rotate(-45deg);
}

/*
 * --------------------------------------------------------------------------------
 * --- Topbar ---------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.t-topbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--box-indent-mobile-right) 0 var(--box-indent-mobile-left);
}

@media screen and (min-width: 1000px) {
    .t-topbar {
        height: 90px;
    }
}

@media screen and (min-width: 1000px) {
    .t-topbar-logo {
        margin-right: 20px;
    }
}

.t-topbar-logo__image {
    width: auto;
    height: 45px;
}

@media screen and (min-width: 1000px) {
    .t-topbar-logo__image {
        height: 50px;
    }
}

.t-topbar-menu {
    position: absolute;
    z-index: 110;
    top: 90px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 20px 0 0 0;
}

.t-topbar-menu__item--social-network {
    display: none;
}

.t-topbar-menu__link {
    font-size: 1.3em;
    line-height: 2.5;
    display: block;
    text-align: center;
}

.t-topbar-menu__link,
.t-topbar-menu__link:link,
.t-topbar-menu__link:active,
.t-topbar-menu__link:visited {
    text-decoration: none;
    color: #ffffff;
}

.t-topbar-menu__link:hover {
    text-decoration: underline;
    color: #ffffff;
}

.t-topbar-menu__link--focus,
.t-topbar-menu__link--focus:link,
.t-topbar-menu__link--focus:active,
.t-topbar-menu__link--focus:visited {
    text-decoration: underline;
}

@media screen and (min-width: 1000px) {
    .t-topbar {
        padding-left: var(--box-indent-desktop-left);
    }

    .t-topbar-menu {
        position: static;
        z-index: 0;
        display: flex !important;
        align-content: center;
        justify-content: end;
        width: auto;
        height: 90px;
        padding: 0;
        background-color: #ffffff;
    }

    .t-topbar-menu__item {
        display: flex;
        align-items: center;
    }

    .t-topbar-menu__link {
        font-size: 1.25vw;
        margin: 0 5px;
        padding: 5px 5px 2px 5px;
        text-align: center;
    }

    .t-topbar-menu__link,
    .t-topbar-menu__link:link,
    .t-topbar-menu__link:active,
    .t-topbar-menu__link:visited {
        text-decoration: none;
        color: #000000;
        border-bottom: 3px solid #ffffff;
    }

    .t-topbar-menu__link:hover {
        text-decoration: none;
        color: #000000;
        border-bottom: 3px solid var(--color-action);
    }

    .t-topbar-menu__link--focus,
    .t-topbar-menu__link--focus:link,
    .t-topbar-menu__link--focus:active,
    .t-topbar-menu__link--focus:visited {
        border-bottom: 3px solid var(--color-action);
    }

    .t-topbar-menu__item--social-network {
        display: flex;
    }

    .t-topbar-menu__social-network--facebook {
        width: auto;
        height: 24px;
        margin: 0 0 0 20px;
    }

    .t-topbar-menu__social-network--instagram {
        width: auto;
        height: 24px;
        margin: 0 0 0 8px;
    }

    .t-topbar-menu__social-network--youtube {
        width: auto;
        height: 20px;
        margin: 0 0 0 8px;
    }
}

@media screen and (min-width: 1300px) {
    .t-topbar-menu__link {
        font-size: 1.25em;
    }
}

/*
 * --------------------------------------------------------------------------------
 * --- Main -----------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.t-main {
    display: block;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #aaaaaa;
}

@media screen and (min-width: 900px) {
    .t-main {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
    }
}

.t-main__sidebar {
    display: block;
    width: 100%;
    margin: 0 0 2.5em 0;
}

@media screen and (min-width: 900px) {
    .t-main__sidebar {
        display: block;
        width: 240px;
    }
}

.t-main__content {
    width: 100%;
    background-color: #ffffff;
}

@media screen and (min-width: 900px) {
    .t-main__content {
        width: calc(100% - 270px);
    }
}

/*
 * --------------------------------------------------------------------------------
 * --- Footer ------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.t-footer {
    padding: 40px var(--box-indent-mobile-right) 20px var(--box-indent-mobile-left);
}

.t-footer h5 {
}

.t-footer-logo {
    margin: 0 0 1.75em 0;
}

.t-footer-logo__image {
    width: auto;
    height: 100px;
}

.t-footer-address {
    margin: 0 0 1.75em 0;
    padding: 0 30px 0 0;
}

.t-footer-address p {
    margin: 0 0 0.75em 0;
}

.t-footer-address span {
    font-weight: bold;
    padding: 0 10px 0 0;
    color: #444444;
}

.t-footer-contact {
    margin: 0 0 1.5em 0;
}

.t-footer-contact p {
    margin: 0 0 0 0;
}

.t-footer-contact__phone,
.t-footer-contact__email {
    line-height: 1.75em;
    padding: 0 0 0 30px;
    background-repeat: no-repeat;
    background-size: auto 18px;
}

.t-footer-contact__phone {
    background-image: url("../images/icon-phone-black.svg");
    background-position: 0 60%;
}

.t-footer-contact__email {
    background-image: url("../images/icon-email-black.svg");
    background-position: 0 60%;
}

.t-footer-empty {
    display: none;
}

.t-footer-favorite {
    margin: 0 0 1.75em 0;
}

.t-footer-favorite__list {
    margin: 0 0 0 12px;
    padding: 0;
}

.t-footer-favorite__item {
    padding: 0;
}

.t-footer-favorite p {
    margin: 0;
}

.t-footer-favorite a,
.t-footer-favorite a:link,
.t-footer-favorite a:active,
.t-footer-favorite a:visited {
    text-decoration: none;
    color: var(--color-black);
}

.t-footer-favorite a:hover {
    text-decoration: underline;
    color: var(--color-action);
}

.t-footer-favorite p {
    margin: 0;
}

.t-footer-social-network {
    margin: 0 0 1.75em 0;
}

.t-footer-social-network h5 {
    margin-bottom: 1.0em;
    text-align: left;
}

.t-footer-social-network__wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 10px;
}

.t-footer-social-network--facebook {
    width: auto;
    height: 24px;
}

.t-footer-social-network--instagram {
    width: auto;
    height: 24px;
}

.t-footer-social-network--youtube {
    width: auto;
    height: 20px;
}

@media screen and (min-width: 500px) {
    .t-footer {
        position: relative;
        padding-left: 180px;
    }

    .t-footer-logo {
        position: absolute;
        top: 40px;
        left: var(--box-indent-mobile-left);
    }
}

@media screen and (min-width: 800px) {
    .t-footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding: 40px var(--box-indent-desktop-right) 40px var(--box-indent-desktop-left);
    }

    .t-footer-logo {
        position: static;
        top: auto;
        left: auto;
    }

    .t-footer-logo,
    .t-footer-address,
    .t-footer-favorite,
    .t-footer-empty,
    .t-footer-contact,
    .t-footer-social-network {
        margin: 0 0 1.0em 0;
    }

    .t-footer-logo {
        width: 25%;
    }

    .t-footer-address {
        width: 45%;
    }

    .t-footer-favorite {
        width: 30%;
    }

    .t-footer-empty {
        display: block;
        width: 25%;
        height: 10px;
    }

    .t-footer-contact {
        width: 45%;
    }

    .t-footer-social-network {
        width: 30%;
    }
}

@media screen and (min-width: 1200px) {
    .t-footer {
        justify-content: space-between;
    }

    .t-footer-logo,
    .t-footer-address,
    .t-footer-favorite,
    .t-footer-contact,
    .t-footer-social-network {
        width: auto;
    }

    .t-footer-social-network__wrapper {
        justify-content: end;
    }

    .t-footer-empty {
        display: none;
    }
}

.t-copyright__text {
    width: 100%;
    padding: 15px 15px;
    text-align: center;
    background-color: #eeeeee;
}

/*
 * --------------------------------------------------------------------------------
 * --- Page overlay ---------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.page-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--color-action);
}

@media screen and (min-width: 1200px) {
    .page-overlay {
        display: none;
    }
}

/*
 * -----------------------------------------------------------------------------
 * --- UI dialog ---------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.ui-dialog-titlebar-close {
    /*visibility: hidden;*/
}

.ui-dialog {
    z-index: 1000 !important;
}

.dialog {
    display: none;
    height: 100%;
    padding: 20px 20px 10px 20px !important;
}

.dialog-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background-image: url("../images/file-loader.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

/*
 * -----------------------------------------------------------------------------
 * --- System dump -------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.system-dump {
    position: absolute;
    z-index: 3000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.system-dump pre {
    display: block;
    padding: 20px;
    background: #ffffff;
}

/*
 * --------------------------------------------------------------------------------
 * --- Helpers --------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.h-image {
    width: 100%;
    height: auto;
}

.h-mb-0 {
    margin-bottom: 0 !important;
}

.h-mb-10 {
    margin-bottom: 1.0em !important;
}

.h-mb-15 {
    margin-bottom: 1.5em !important;
}

.h-mb-20 {
    margin-bottom: 2.0em !important;
}

.h-show {
    display: block !important;
}

.h-hide {
    display: none !important;
}

.h-clear {
    clear: both;
}

.h-clear-l {
    clear: left;
}

.h-clear-r {
    clear: right;
}
