* {
    box-sizing: border-box;
}

:root {
    --fontsize: 1.3rem;
    --backgroundcolor: #FFFFFF;
    --maincolor: #FF0000;
    --accentcolor: #000000;
    --highlightcolor: #CCFBFF;
    --fontfamily: sans-serif;
    --spacing: 0.5rem;
    --bold: 600; 
    --regular: 500;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--backgroundcolor);
    font-size: 14px;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.remove {
	display: none;
}

h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: var(--fontfamily);
    font-size: var(--fontsize);
    font-weight: var(--regular);
    width: fit-content;
    margin-block-end: 0;
    margin-block-start: 0;
}

p {
	text-align: left !important;
}

.expotitle h1 {
    font-size: 2rem;
    color: var(--maincolor);
    padding-left: var(--spacing);
    cursor: pointer;
    padding-top: var(--spacing);
    user-select: none;
}

.clickable {
    color: var(--maincolor);
    text-decoration: dotted;
    text-decoration-line: underline;
    text-decoration-color: var(--maincolor);
    cursor: pointer;
    user-select: none;
}

.nobreak {
	white-space: nowrap;
}

a {
    color: var(--maincolor);
    text-decoration: dotted;
    text-decoration-line: underline;
    text-decoration-color: var(--maincolor);
    cursor: pointer;
}

a::after {
    color: var(--accentcolor);
}

details>summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 10px;
}

.content-area {
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
}

.half {
    width: 50%;
    height: 100%;
    padding: var(--spacing)
}

.highlight {
    background-color: var(--highlightcolor);
}


/* ––––––––––– NAVIGATION */

.navigation-area {
    height: fit-content;
    width: 100%;
    border-bottom: 2px solid var(--maincolor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing) 0 var(--spacing);
}

.navigation-area a {
    text-decoration: none;
}

nav {
    margin: 0;
    padding: 0;
    font-family: var(--fontfamily);
}

.navlink {
    font-size: var(--fontsize);
    color: var(--maincolor);
    width: auto;
    height: auto;
}

/* ––––––––––– AKTUELLES */

.content-entry {
    height: 100%;
    width: 100%;
    display: flex;
    flex: none;
}

.halfright {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.subcategory {
    color: var(--accentcolor);
}

.title-large {
    color: var(--maincolor);
    font-size: 2rem;
    padding-top: var(--spacing);
}

.eventinformaton {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

#eventstatus {
    font-size: calc(var(--fontsize)/2);
    vertical-align: super;
    color: var(--maincolor);
}

.eventdetails {
    width: fit-content;
    font-size: var(--fontsize);
    font-weight: var(--regular);
}

.eventdetail-wrapper {
    padding-top: var(--spacing);
}

.eventdescription {padding-top:var(--spacing);}

.heroimage {
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* ––––––––––– KÜNSTLER*INNEN */

.artist-list-entry {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    padding: .25rem var(--spacing) .25rem var(--spacing);
    border-bottom: 2px solid var(--maincolor);
    align-items: center;
}

.artist-list-entry:first-child {
    flex-grow: 1;
}

.artist-list-item {
    width: fit-content;
    height: 100%;
    flex-wrap: nowrap; 
}

.artist-list-name {
	font-size: 2rem;
}

.artist-entry {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr;
}

.artistsummary {
    width: 100%;
    height: 100%;
    align-items: baseline;
    grid-column-start: 1;
    grid-column-end: 2;
    padding: var(--spacing);
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    gap: var(--spacing);
}

.artist-name {
    width: 100%;
    height: fit-content;
    font-size: 1.5rem;
}

.artist-linkcontainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: fit-content;
}

.artiststatement {
    width: 100%;
    overflow-y: auto;
    padding-right: var(--spacing);
}
        
        /* ––––––––––– ARTISTSSUBPAGE */
.captioncontainer {
    height: fit-content;
    width: 100%;
    position: relative;
    bottom: 0;
    display: none;
    position: absolute;
    padding: var(--spacing);
    justify-content: space-around;
}

.captiontext {
    font-size: 0.9rem;
    width: fit-content;
}

.container {
    width: calc(100%/9);
    height: fit-content;
    position: relative;
    display: block;

}

.container > img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    
}

.container:hover > .captioncontainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.container:hover > img {
    opacity: 30%;
    transition: 1s smooth;
}

.artistworks {
    grid-column-start: 2;
    grid-column-end: 5;
    padding: var(--spacing);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
}

.mobileworklink {
    display: none;
}

.swiper {
    height: 500px;
    width: 100%;
    display: block;
}

.swiper-wrapper {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
    user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -o-user-select: none;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.swiper-slide:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.swiper-slide > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    /* height: 100%;
    width: auto; */
    display: block;
}

.swiper-slide:hover > .captioncontainer {
    display: flex;
    z-index: 5;
    text-align: center;
}

.swiper-button-prev {
    height: 100%;
    left: 0;
    width: 25%;
    top: 0; 
    margin: 0;
    cursor: w-resize;

}

.swiper-button-next {
    height: 100%;
    width: 25%;
    right: 0;
    top: 0;
    margin: 0;
    cursor: e-resize;
}

.swiper-button-next svg,.swiper-button-prev svg {
    display: none;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: none;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: none;
}



/* ––––––––––– ARCHIV */

.archive-entry {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
}

.archive-entry[open] {
    height: fit-content;
}

.exhibition-wrapper {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr;
    flex-grow: 1;
}

.exhibitionattribution {
    padding-top: var(--spacing);
}

.expoinfos {
    grid-column-start: 1;
    grid-column-end: span 1;
    height: 100%;
    padding: var(--spacing);
    display: flex;
    flex-direction: column;
}

.expoinfos > h2, p {
}

.expogallery {
    grid-column-start: 2;
    grid-column-end: span 1;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start; 
}

.lightbox-link {
height: fit-content;
    width: calc(100%/3);
}

.expoimagecontainer {
    height: fit-content;
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
    white-space: wrap;
}

.expopromocontainer {
	width: calc(100%/3);
    height: fit-content;
    background-color: none;
}

.promoimagecontainer {
	height: auto;
    width: 100%;
    display: block;
    padding: 0:
    margin: 0:
}

.gallerypromoimage {
	height: auto;
    width: 100%;
    display: block;
}


.galleryexpoimage {
    width: 100%;
    display: block;
}

.exporecap {
    padding-top: var(--spacing);
}

/* ––––––––––– FOOTER */

.footer-area {
    height: fit-content;
    width: 100%;
    display: flex;
    padding: 0.5rem;
    border-top: 2px solid var(--maincolor);
    flex-direction: column;
}

.footer-area a {
    color: var(--maincolor);
    text-decoration: dotted;
    text-decoration-line: underline;
    text-decoration-color: var(--maincolor);
}

.blurb {
    height: auto;
    width: 100%;
    align-self: center;
    justify-self: center;
    color: var(--maincolor);
}

.mobileblurb {
    display: none;
}

.modal-wrapper {
    width: 100%;
    height: fit-content;
    padding-top: var(--spacing);
}

.copyright {
    padding: var(--spacing) 0;
    display: none;
}

/* ––––––––––– JS-MODS */
.fslightbox-toolbar {
    display: none;
}

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


    html, body {
        font-size: 12px;
    }
    .content-entry {
        flex-direction: column;
    }

    .navigation-area {
        padding: var(--spacing);
    }

    .half {
        width: 100%;
        height: fit-content;
     }
    .artist-entry {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
    }

    .smooth-scroll {
        scroll-behavior: smooth;
    }

    .artistsummary {
        width: 100%;
        height: fit-content;
    }

    .artistworks {
        width: 100%;
        height: fit-content;
    }

    .artiststatement {
        overflow-y: hidden;
    }

    .container {
        width: calc(100%/5);
    }

    .mobileworklink {
        display: block;
    }

    .exhibition-wrapper {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .expoinfos {
        height: 100%;
        width: 100%;
        padding: var(--spacing);
        display: flex;
        flex-direction: column;
    }

    .expogallery {
        height: 100%;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
    }
 
    .captioncontainer {
        display: flex;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none;
    }

    .mobileblurb {
        display: block;
        color: var(--maincolor);
    }

    .blurb {
        display: none;
    }

    .imprint-wrapper {
        overflow-y: auto;
    }

}

