body {
    font-family: "Marine-Rounded-Regular", sans-serif;
    font-size:22px;
}

.selected {
    background: black;
    color: white;
    /*font-family: "Marine-Rounded-Bold", sans-serif;*/
}

:root {
    --border-radius: 0px
}

#header {
    background-color: #222;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px;
    margin: 10px 10px 0;
    display: flex;
    justify-content: space-between;
}

#header > div {
    flex: 0 0 30%
}

#header #logo {
    text-align: center;
}
#header h1 {
    font-size: 250%;
}
#header h2 {
    display: none;
}

#lang a {
    color:silver;
}

#lang a.selected {
    color:white;
    font-family: "Marine-Rounded-Bold", sans-serif;
}

#tools {
    text-align: right;
}

#tools a {
    color:white;
    margin: 0 0 0 4px;
}

nav {
    background-color: #222;
    margin: 0 10px 10px;
    display: flex;
    justify-content: center;

}

nav a {

    color:white;
    margin: 0 10px;
    font-size:125%;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    padding: 2px 8px;
}

nav a.selected {
    color:#222;
    background: white;
    font-family: "Marine-Rounded-Bold", sans-serif;
}

nav a:not(.selected):hover {
    background: #5c5b5b;
}

#debug {
    /*width:100%;*/
    margin: 10px auto;
    font-size: 80%;
    background-color: #222;
    color: #02ff02;
    font-family: monospace;
    padding: 10px;
}

#header h1 {
    color: white;
}

#fltSearch {
    border-radius: 100px;
    border:0;
    padding: 2px 4px;
    align-self: flex-end;
    margin-top: 10px;
}

._filter_wrapper {
    width: 90vw;
    margin: 1px auto;
    display: flex;
    justify-content: center;
}

._filter_wrapper a {

    padding: 2px 6px;
    cursor: pointer;
    margin: 8px 1px;
    display: inline-block;
    border: 2px solid black;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

._filter_wrapper a.disabled {
    opacity: 0.3;
    cursor: initial;
}


._list._event {
    display: flex;
    justify-content: flex-start;
    width: 90vw;
    margin: 10px auto;
    background-color: #fbfbfb;;
    padding: 4px;
}

._list._event ._infos {
    flex: 1 0 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

._list._event ._visuel {
    flex: 0 0 10%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4/3;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

._list._event ._actions {
    flex: 0 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

._time {
    flex: 0 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 0;
    align-self: flex-start;
    font-size: 1.2vw;
    height: auto;
    z-index: 10;
}

._time_placeholder {
    flex: 0 0 10%
}

._list._event img {
    object-fit: contain;
    min-height: 100%;
}

._list._event h4 {
    font-family: "Marine-Rounded-Bold", sans-serif;
    font-size: 1.6vw;
    line-height: 1.1em;
    margin-bottom: 10px;
}

._list._event h5 {
    font-size: 1.2vw
}

#expositions_list_events {
    display: flex;
    justify-content:space-evenly;
    flex-wrap: wrap;
    width: 90vw;
    margin: 0 auto;
}
._list._expo {
    width: 18vw;
    margin: 20px 30px;
}

._list._expo ._visuel{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 3/4;
    background-size: contain;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

._banner {
    transform: rotateZ(-20deg);
    padding: 4px 8px;
    font-family: "Marine-Rounded-Bold", sans-serif;
    background-color: #222;
    color:white
}

._day {
    position: sticky;
    top: 0;
    font-size: 2vw;
    width: 90vw;
    margin: 10px auto;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 20;
    padding: 4px 0;
}

._btn {
    padding: 4px 8px;
    border-radius: var(--border-radius);
    background: #e4e4e4;
    color:#333;
    text-align: center;
}


._construction {
    width: 100vw;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

._construction h3 {
    font-size: 150%;
    color:grey;
    font-family: "Marine-Rounded-Bold", sans-serif;
}

/* Detail */
._event._detail {
    width: 80vw;
    max-width: 1400px;
    margin: 5vh auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

._detail .main-col {
    flex: 0 0 62%
}

._detail .secondary-col {
    flex: 0 0 32%
}

._event._detail h3 {
    font-family: "Marine-Rounded-Bold", sans-serif;
    font-size: 3vw;
    line-height: 1em;
}
._event._detail ._infos {

}


._event._detail ._visuel {
    flex: 0 0 48%;
    text-align: center;
    /*margin-left: 2%;*/
    /*position: sticky;*/
    top:0;
}

._event._detail ._visuel img {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    max-height: 80vh;
}

._detail #map {
    width: 100%;
    aspect-ratio: 4/3;
margin: 10px 0 0 0;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}