


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
body,html{
    /*background:#f3f3f3;*/
    margin:0;
    padding:0;
    width:100%;
    min-width:400px;
}

header {

}


.content {
    min-height: 100vh;
}

/* HEADER */
/* MENU */
.menu {
    width: 90%;
    max-width: 1610px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin:auto;
    display: flex;
    justify-content: center;
    padding:10px 0;
    background:rgba(255,255,255,0.4);
    transition: all ease-in-out 100ms;
}
.menu a {
    user-select: none;
}
.menu:hover {
    background:rgba(255,255,255,1);
}
.menu .logo {
    width: 200px;
    margin: auto auto auto 0;
    display: block;
}
.menu nav {
    margin:auto;
}
.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap:30px;
}

.menu li {
    display: inline-block;
}

nav ul a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    font-family: 'Caveat', cursive;
    font-size:2rem;
    /*transition: all ease-in-out 200ms;*/
}
.menu ul {
    text-align:center;
}
.menu li {
    display:inline-block;
    float:none;
}

.scrolled {
    background:rgba(255,255,255,1);
    box-shadow: 0 15px 10px -15px #111;
}
.scrolled a {
    color: #000;
}

#languageSelector {
    margin: auto 0 auto 0;
    border: unset;
    font-size: 12px;
    height: 40px;
    background:transparent;
    opacity: 0.3;
}
#languageSelector:hover {
    opacity: 1;
}
.gallery-container {
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
}

#mainImage {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    pointer-events: none;
}

.itemPicture .thumbnails {
    display: flex;
    overflow-x: auto;
}

.itemPicture .thumbnails img {
    width: 20%;
    margin-right: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.itemPicture .thumbnails img:hover {
    opacity: 0.7;
}
.active-thumbnail {
    border: 1px solid black;
    padding: 1px;
}

.homeMainImageContainer {
    width: 100%;
    height: 90vh;
    position: relative;
}
.homeMainImage {
    position: relative;
    z-index: 1;
    background-position: center center;
    background-repeat: no-repeat;
    width: 90%;
    max-width: 90%;
    height: 90%;
    background-size: contain;
    transition: transform 0.3s ease;
    margin: 10vh auto 0 auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-width: 0px;
    border-style: solid;
    background-color: white;
    cursor: pointer;
}
.homeNewsBox:hover .picture img {
    transform: scale(1.1);
}
.homeMainImageText {
    position: absolute;
    right: 20%;
    bottom:5%;
    z-index: 5;
    display: none;
}
.homeMainImageText .title a {
    font-family: 'Caveat', cursive;
    /*text-transform: uppercase;*/
    color: #000;
    line-height: 44px;
    font-size: 1.7rem;
    text-align: center;
    font-weight: normal;
    display: block;
}
.homeMainImageText .subtitle {
    height: 44px;
    width: 275px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding-top: 15px;
    color: #fff;
    line-height: 10px;
    font-size: 14px;
    text-transform: none;
    margin: 20px 0 0 0;
    display: none;
}

/* LISTING */
#listing .content {
    margin:80px auto;
}
/* LISTING MENU */
.categoriesMenu {
    margin:30px auto;
}
.categoriesMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-flow: row wrap;
    display: flex;
    gap:22px;
    justify-content: center;
}

.categoriesMenu li {
    position: relative;
}
.categoriesMenu li.selected {
    text-decoration: underline;
}
.categoriesMenu a {
    display: block;
    padding: 10px;
    font-size:1.5rem;
    color: #333;
    text-decoration: none;
}

.categoriesMenu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
}

.categoriesMenu ul ul li {
    width: 200px;
}

.categoriesMenu li:hover > ul {
    display: block;
}


/* GRID */


.gridContainer {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    /*grid-template-columns: repeat(4, 1fr);*/
    /*grid-gap: 3vw;*/
    /*grid-template-rows: repeat(12, 1fr);*/
    grid-auto-flow: dense;
    width: 90%;
    max-width: 1600px;
    margin: 10px auto;
}
.gridContainer + .gridContainer {
    margin-top:10px;
}
.gridItem {
    background-color: #eee;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.gridItemTitle {
    font-family: 'Caveat', cursive;
    position: absolute;
    top:50%;
    left:50%;
    opacity: 0;
    transform: translate(-50%,-50%) scale(1.3);
    transition: all ease-in-out 300ms;
    font-size: 36px;
    line-height: 44px;
    color: #FFF;
    /*text-transform: uppercase;*/
    letter-spacing: 2px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    text-align: center;
}

.gridItem:hover .gridItemTitle {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}

.gridItem img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform ease-in-out 300ms;
}
.gridItem:hover img {
    transform: scale(1.20);
}
.gridItem.small {
    grid-column-end: span 1;
    grid-row-end: span 1;
    min-height: 300px;
}

.gridItem.big {
    grid-column-end: span 2;
    grid-row-end: span 2;
    min-height: 610px;
}

.gridItem.wide {
    grid-column-end: span 3;
    grid-row-end: span 1;
    min-height: 300px;
}

.gridItem.tall {
    grid-column-end: span 1;
    grid-row-end: span 2;
    min-height: 610px;
}

.loadingIndicator {
    position: fixed;
    top: 50%; /* position the loading indicator at the bottom of the container */
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100px;
    height: 100px; /* set the height of the loading indicator */
    display: none; /* hide the loading indicator by default */
}

a {
    text-decoration: none;
}
.biographyContainer {
    padding:100px 0 100px 0;
    width: 60%;
    margin:0 auto;
}
.contactContainer {
    padding:100px 0 100px 0;
    width: 60%;
    margin:0 auto;
}
.homeNewsContainer {
    padding:40px;
    background: #EEE;
}
.homeNewsList {
    display: flex;
    gap:20px;
    justify-content: center;
}
.homeNewsBox {
    width: 250px;
}
.homeNewsBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.homeNewsBox .picture {
    height: 250px;
    overflow: hidden;
}
.homeNewsBox .picture img {
    transition: transform ease-in-out 250ms;
    will-change: transform;
}
.homeNewsBox .title {
    margin-top:10px;
}
.homeNewsBox .title a {
   text-decoration: none;
    font-weight: bold;
    color:#000;
}
.homeNewsBox .title a:hover {
    text-decoration: underline;
}
.itemContainer {
    width: 85%;
    margin:80px auto 80px auto;
    display: flex;
    gap:20px;
    justify-content: center;
    min-height: 86vh;
}
.itemPictureContainer {
    /*margin:auto;*/
    /*width: 70%;*/
    /*height: 100%;*/
    margin: auto 0 auto auto;
    height: 100%;
    max-width: 70%;
}
.itemPicture {
    height: 100%;
}
.itemPicture img {
    width: 100%;
    object-position: right;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
}
.itemCaption {
    margin: auto auto auto 0;
    /* flex: 1; */
    font-size: 14px;
    max-width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.itemTitle {
    font-family: 'Caveat', cursive;
    margin-top: 30vh;
    font-size: 34px;
    line-height: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}
.itemYear {
    color:#424242;
    font-weight: bold;
    margin-top:12px;
}
.itemCategory {
    display: flex;
    flex-flow: row wrap;
    gap:10px;
    margin:auto auto 10px 0;
}
.itemCategory a {
    font-size:14px;
    color:#AA77FF;
    font-weight: bold;
}
.itemCategory a:hover {
    color:#AA77FF;
}
.itemBuy {
    margin:0 auto 0 0;
    display: flex;
    flex-flow: row wrap;
    gap:10px;
}
.itemSocialNetworks {
    margin:0 auto 10px 0;
    width: 200px;
}
.itemSocialNetworks img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.itemBuy a {
    padding:5px 10px;
    background: #ddd;
    /*background: radial-gradient(circle, rgba(66,66,66,0.4) 0%, rgba(66,66,66,0.4) 100%);*/
    color:#fff;
    text-transform: uppercase;
    cursor: pointer;
    font-size:13px;
    box-shadow: unset;
    transition: all ease-in-out 200ms;
    border-radius: 4px;
    border: unset;
}
.itemBuy a:hover {
    background: #42b0e4;
    color:#FFF;
    transform: scale(1.15);
}

.itemRatio_2 {
    height: auto;
    flex-direction: column;
}
.itemRatio_2 .itemPicture {
    height: auto;
}
.itemRatio_2 .itemPicture img {
    object-position: unset;
    max-height: 70vh;
}
.itemRatio_2 .itemTitle {
    margin-top:0;
}
.itemRatio_2 .itemPictureContainer {
    margin: auto 0 auto auto;
    width: 100%;
    max-width: 100%;
}
.itemRatio_2 .itemCaption {
    max-width: unset;
    margin: 10px auto auto 0;
    height: auto;
}



.contactContainer .outerContent {
    position: relative;
    margin-bottom:10px;
}
.contactContainer .outerContent .title, .contactForm .title {
    font-size:18px;
    line-height: 18px;
    font-weight: bold;
    margin-bottom:6px;
}
.contactContainer .contactForm .formRow {
    margin-top:15px;
}
.contactContainer .contactForm .formRow textarea {
    width: 100%;
    height: 30vh;
}
.contactContainer .contactForm .formRow input {
    width: 200px;
}
input, textarea, select {
    font-size:13px;
    color:#000;
    padding:5px;
    font-family: 'Lato', sans-serif;
    border-radius: 5px;
}
.contactContainer .contactForm .formRow input {
    font-size:13px;
    color:#000;
    padding:5px;
}
.contactContainer .outerContent + .outerContent {
    margin-top:40px;
}
.contactContainer .contactForm {
    margin:40px 0 80px 0;
}
.contactContainer .innerContent {
    /*max-height: 88px;*/
    /*overflow: hidden;*/
    position: relative;
}
/*.contactContainer .innerContent::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 42px;*/
/*    background: linear-gradient(transparent, white);*/
/*}*/
/*.innerContent.noOverflow::after {*/
/*    display: none;*/
/*}*/

/*.contactContainer .readMoreOverlay {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    pointer-events: none;*/
/*}*/

.contactContainer .readMoreBtn {
    display: block;
    margin-top: 1em;
    background: #42b0e4;
    color: #FFF;
    transition: all ease-in-out 100ms;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 6px;
}
.contactContainer .readMoreBtn i {
    padding: 1px;
    font-size: 20px;
}
.contactContainer .readMoreBtn:hover {
    transform: scale(1.09);
}


.exhibitionsContainer {
    display: flex;
    width: 95%;
    margin: 80px auto;
}
.exhibitionsContainer .column {
    width: 25%;
}
.exhibitionsContainer .content {
    width: 69%;
    position: fixed;
    display: flex;
    right: 5%;
}

.exhibitionsContainer .block > .title {
    font-size:24px;
    text-transform: uppercase;
    margin-bottom:20px;
    padding-left:14px;
}
.exhibitionsContainer .column > .title {
    font-size:32px;
    line-height: 34px;
    text-transform: uppercase;
    font-weight: bold;
    color:#000;
    padding-left:14px;
}
.exhibitionsContainer .list .event {
    font-size:13px;
    line-height: 15px;
    border-left:2px solid transparent;
    padding-left:6px;
    cursor: pointer;
}

.exhibitionsContainer .event .eventImage{
    display: none;
}
.exhibitionsContainer .list .eventDesc {
    padding: 5px;
    border-left: 2px solid transparent;
    overflow: hidden;
    position: relative;
}
.eventBG {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #FFEE43;
    opacity: 0;
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.eventText {
    position: relative;
    z-index: 2;
}
.exhibitionsContainer .list .event:hover .eventBG, .exhibitionsContainer .list .event.active .eventBG {
    border-left:2px solid #0A246A;
    width: 100%;
    opacity: 1;
}
.exhibitionsContainer .list .eventDesc .year {
    color:#424242;
}
.exhibitionsContainer .list .eventDesc .year {
    color:#424242;
}
.exhibitionsContainer .list .eventDesc .title {
    font-weight: bold;
    color:#000;
}
.exhibitionsContainer .list .eventDesc .location {
    color:#424242;
}
.exhibitionsContainer .list .website {
    margin-top:3px;
}
.exhibitionsContainer .list .eventDesc a {
    color:#424242;
}
.exhibitionsContainer .list .eventDesc a:hover {
    text-decoration: underline;
}
.exhibitionsContainer .column .block {
    margin-top: 35px;
}
.exhibitionsContainer .column .block + .block {
    margin-top: 50px;
}
.exhibitionsContainer .list .event {
    margin-top: 10px;
}
.exhibitionsContainer .list .event + .event {
    margin-top: 1px;
}
.exhibitionsContainer .content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto auto auto;
    max-height: 80vh;
    gap:20px;
}

.videoWrapper {
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 40px;
    height: 100%;
    width: 100%;
}
.videoWrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    aspect-ratio: 16/9 !important;
    border: 0;
    top: 50%;
    transform: translateY(-50%);
}
.slider {
    overflow: hidden;
    width: 100%;
}
.sliderTrack {
    display: flex;
    transition: transform .6s ease;
}
.slide {
    min-width: 100%;
}

footer {
    margin: 40px auto;
    font-size:13px; color:#999;
    display: flex;    width: 90%;
    max-width: 1610px;
    align-items: center;
    height: 50px;
}
footer .details {
    margin: auto auto auto 0;
}
footer .external {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
footer .external img {
    width: 150px;
    height: auto;
}
footer .credits {
    margin: auto 0 auto auto; color:#AAA;
}




@media only screen and (max-width: 1100px) {

    .exhibitionsContainer .column {
        width: 35%;
    }
    .exhibitionsContainer .content {
        width: 59%;
        flex-direction: column;
        right:0;
        position: relative;
    }
    
    .videoWrapper {
        position: relative;
        padding-top: 56.25%;
        margin-bottom: 40px;
        height: 30vh;
        width: 100%;
    }
    .exhibitionsContainer .content img {
        width: auto;
        max-width: 100%;
        height: 90vh;
        object-fit: contain;
        margin: 0 auto auto auto;
    }
    .gridContainer {
        grid-template-columns: repeat(4, 25%);
    }

}

@media only screen and (max-width: 750px) {
    .menu .logo {
        width: 50%;
        height: 100%;
        margin:auto;
    }
    .menu .logo img {
        height: 100%;
        object-fit: contain;
        width: 100%;
    }
    .gridContainer .gridItemTitle {
        display: none;
    }
    .menu ul {
        gap:6px;
    }
    nav ul a {
        padding:5px;
    }
    #languageSelector {
        margin: 0;
        height: auto;
    }
    .exhibitionsContainer .column {
        width: 95%;
    }
    .exhibitionsContainer .content {
        display: none;
    }
    .gridContainer {
        grid-template-columns: repeat(2, 50%);
    }

}




@media only screen and (max-width: 480px) {

    body {
        width: 100%;
        overflow-x: hidden;
    }
    .mobileHidden {
        display: none !important;
    }
    .menu ul {
        margin:auto;
    }
    .gridContainer {
        display: flex;
        flex-direction: column;
    }
    .homeNewsContainer {
        padding: 40px 5%;
    }
    .exhibitionsContainer {
        margin-top:150px;
    }
    .homeNewsList {
        flex-direction: column;
        gap:3rem;
    }
    .homeNewsBox {
        width: 100%;
    }
    #listing .content, .contactContainer .outerContent {
        margin: 125px auto;
    }
    .categoriesMenu {
        /*display: none;*/
    }
    .menu {
        display: flex;
        flex-direction: column;
        height: auto;
        background: rgba(255,255,255,1);
        box-shadow: unset;
        border-bottom: 1px solid #000;
    }
    .contactContainer .contactForm .formRow textarea {
        width: 90%;
    }
    .biographyContainer {
        width: 95%;
        padding:120px 0;
    }
    .contactContainer {
        width: 95%;
        padding:50px 0;
    }
    .menu ul {
        gap:8px;
    }
    .itemContainer {
        flex-direction: column;
        width: 100%;
        height: 100%;
        margin: 130px auto 80px auto;
    }
    .itemPictureContainer {
        max-width: unset;
        width: 100%;
        max-height: 100vh;
    }
    .itemPicture img {
        max-height: 80vh;
        object-position: center;
    }

    .homeMainImageText .title {
        width: 90%;
        margin: 0 auto;
        display: flex;
    }
    .homeMainImageText {
        height: 50%;
        display: flex;
        justify-content: flex-end;
        position: absolute;
        width: 100%;
        transform: unset;
        left: 0;
        bottom: 0;
        z-index: 5;
    }
    .homeMainImageText .title a {
        line-height: 46px;
        text-shadow: 0 0 7px #424242;
        width: 80%;
        margin: auto auto 10% 0;
    }
    .gridItemTitle {
        opacity: 1;
        bottom: 5%;
        top: auto;
        transform: translateX(-50%);
        width: 82%;
    }
    .itemCaption {
        max-width: unset;
        margin: 0 5%;
        width: 84%;
    }
    .itemTitle {
        margin-top:5px;
    }
    .gridContainer {
        width: 100%;
        display: flex;
        gap:20px;
        flex-direction: column;
    }
    .gridItem.small, .gridItem.big {
        height: auto !important;
    }
    footer {
        flex-direction: column;
        gap:20px;
        margin-bottom:120px;
    }
    footer div {
        margin: auto !important;
        text-align: center;
        position: relative !important;
    }



}