@font-face {
    font-family: 'Karrik';
    src: url('fonts/web/woff2/Karrik-Regular.woff2') format('woff2'),
         url('fonts/web/woff/Karrik-Regular.woff') format('woff'),
         url('fonts/web/ttf/Karrik-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Karrik';
    src: url('fonts/web/woff2/Karrik-Italic.woff2') format('woff2'),
         url('fonts/web/woff/Karrik-Italic.woff') format('woff'),
         url('fonts/web/ttf/Karrik-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

html {
    font-family: Karrik;
    font-weight: normal;
    color: #000000;
}

.wrapper {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    overflow: hidden;
    border: 0.25rem solid #ffffff;
    box-sizing: content-box;
    margin: 0;
    height: calc(100vh - 4.5rem);
    width: calc(100vw - 4.5rem);
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding: 2em;
    box-sizing: border-box;
}

.annonce {
    color: #000000;

    /* flex-direction: column */
    font-size: 1.25em;

    /* width: 50% */
    line-height: 1.175;

    /* align-items: flex-start */
    margin-bottom: 1em;
    text-transform: uppercase;
    margin-left: 0;
    padding-left: 0.35rem;

    /* background-color: #ffffff */
}

.annonce .wrapperAnnonce p {
    background-color: #ffffff;
    margin-bottom: 0;

    /* padding: 0.5em 0em */
    /* padding-left: 0.5rem */
    /* padding-right: 0.75rem */
    padding-bottom: 0.15em;
    box-shadow: 0.5em 0 0 #ffffff , -0.35rem 0 #ffffff;
    box-decoration-break: clone;
    display: inline;
    padding-top: 0.02em;
    margin-top: 0;
}

.main {
    border-right-style: none;
    border-right-color: #ffffff;

    /* border-left: 0.25rem solid #ffffff */
    /* position: absolute */
    /* bottom: 0 */
    /* left: 0 */
    /* margin-left: 0.5rem */
    /* margin-bottom: 4em */
    /* margin-right: 3em */
    /* border-offset: -0.5rem */
    box-shadow: inset 0.25rem 0 #ffffff;
    width: 50%;
    margin-left: -0.15rem;
}

.annonce:last-child {
    margin-bottom: 0;
    position: relative;
    bottom: 0.3vh;
    padding-top: 0.3vh;
}

.logo {
    width: 20%;
    left: 4em;
    top: 4em;
    position: fixed;
}

.header {
    /* position: fixed */
    /* height: auto */
    /* width: calc(100vw - 20%) */
    /* margin: 2em */
    /* padding: 2rem */
}

.annonce .wrapperAnnonce h1 {
    background-color: #ffffff;
    display: inline;
    text-transform: uppercase;

    /* padding: 0.25rem 0.75rem 0.25rem 0.5rem */
    font-weight: normal;
    box-shadow: 0.5rem 0 0 #ffffff , -0.35rem 0 #ffffff;
    padding-bottom: 0.2em;
    padding-top: 0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-size: 1em;
}

a {
    color: #000000;
}

:hover {
    text-decoration: none;
}

.annonce .wrapperAnnonce a {
    background-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    background-position: center bottom;
    background-size: 100% 0.125em;
    background-repeat: no-repeat;
    padding-bottom: 0.025em;

    /* border-bottom-style: solid */
    /* border-bottom-width: 0.15rem */
    text-decoration: none;

    /* display: inline-block */
    /* z-index: 100 */
}

.annonce .wrapperAnnonce a:hover {
    /* border-bottom-style: solid */
    /* border-bottom-color: rgba(0, 0, 0, 0) */
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%);
}

.annonce a.link-news:hover {
    color: #ffffff;
    transition: all 0.2s ease-in;
}

/* .annonce a.link-news:hover + * {
    background-color: black;
    box-shadow: 0.5rem 0 0 black , -0.35rem 0 black;
    color: white;
} */
.annonce a.link-news:hover .wrapperAnnonce * {
    background-color: black;
    box-shadow: 0.5rem 0 0 black , -0.35rem 0 black;
    color: white;
}

.texte {
    display: block;
}

/* .annonce .wrapperAnnonce p:before {
    content: "\00000A";
    white-space: pre-wrap;
} */
.annonce .wrapperAnnonce p:before {
    content: "\00000A";
    white-space: pre;
}

.annonce.first {
    font-size: 1.5em;
    top: -0.1vh;
    position: relative;
    padding-bottom: 0.1vh;
}

a.link-news {
    text-decoration: none;
}

.popup {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: calc(100vw- 4rem);
    height: calc(100vh - 4rem);

    /* padding: 30px */
    /* opacity: 0 */
    display: none;
    clip: rect(0, auto, auto, 0);
    transform-origin: right;
    border: 0 none #ffffff;
    box-sizing: border-box;
    margin: 2rem;
    overflow: hidden;

    visibility: hidden;
    opacity: 0;
}

.popupWrapper {
    background-color: #ffffff;
    width: 100%;
    overflow-x: auto;
    border-style: none;
    height: 100%;

    /* padding-top: 20vh */
}

.closePopup {
    width: 2em;
    height: 2em;

    /* right: 4em */
    /* top: 4em */
    /* position: fixed */
    float: right;

    /* clear: both */
    cursor: pointer;
    z-index: 100;
    position: absolute;
    right: 0;
    top: 0;

    visibility: hidden;
    opacity: 0;
}

.logoPopup {
    /* -webkit-filter: invert(100%) */
    /* filter: invert(100%) */
    padding: 1em;
    background-color: #5c00ff;
    position: fixed;

    /* z-index: 200 */
    /* clip: rect(auto, auto, auto, auto) */
    /* top: 0 */
    /* left: 0 */
}

.parentLogo {
    position: absolute;
    clip: rect(0, auto, auto, 0);

    /* background-color: #ff0000 */
    width: 400px;
    height: 200px;
}

.parentLogoWrapper {
    position: relative;
    height: 200px;
    width: auto;
    display: none;
}

.logo.black {
    background-color: #000000;
    z-index: 0;
    display: none;
}

.logo.invert {
    -webkit-filter: invert(100%);
    filter: invert(100%);
    margin-left: 21px;
    z-index: 200;
}

.pictos {
}

.pictosContainer {
    right: 2rem;
    bottom: 2rem;
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    margin-bottom: 2em;
    margin-right: 2em;
    margin-left: 2em;
}

.picto {
    color: #ffffff;
    width: 2.5em;
    padding-left: 1em;
}

.text {
    display: inline;
    position: relative;
    font-size: 1.2em;
    line-height: 1.2;
    grid-column: 2;

    /* grid-area: text */
    /* width: 50% */
    /* margin-left: 1em */
    /* columns: 2 */
    /* column-gap: 1rem */
    /* box-sizing: border-box */
    /* padding: 25vh 2em 2em */

    /* visibility: hidden;
    opacity: 0; */
}

body {
    padding: 2rem;
    box-sizing: border-box;
    height: 100vh;
    width: 100vw;
}

@media screen and (max-width:990px) {
    .logo {
        width: 25%;
    }
}

@media screen and (max-width:766px) {
    .main {
        width: 100%;
        padding-top: 0;
        position: relative;
    }

    .logo {
        width: 50%;
    }

    .pictosContainer {
        position: relative;
        margin-bottom: 0px;
        left: initial;
        margin-top: 2em;
        display: none;
        width: auto;
        bottom: initial;
    }

    .picto {
        padding-right: 1em;
        padding-left: 0;
    }
}

main {
}

@media screen and (max-width:766px) {
    main {
        /* top: 50vh */
        position: relative;
    }
}

.logoPopupWrapper {
    position: absolute;
    clip: rect(0, auto, auto, 0);
    width: calc(100% - 1em);
    height: 20vh;
    z-index: 100;
    top: 0;
    background-color: #ffffff;
}

svg.logo {
    color: #000000;
    position: fixed;
    left: 4em;
    top: 4em;
    z-index: 300;
}

.textWrapper {
    padding: 20vh 2em 2em;
    display: grid;
    grid-gap: 2em;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, auto) 1fr;
    grid-template-areas: 'images titre' 'images text';
    grid-row-gap: 0;
}

.gallery {
    position: sticky;

    /* width: 50% */
    top: 20vh;

    /* background-color: #ff0000 */
    height: calc(80vh - 6em);

    /* margin-right: 1em */
    grid-column: 1 / 2;
    grid-area: images;
    width: calc(50vw - 5em);
}

.cache {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2em;
    width: calc(100% - 1em);
    background-color: #ffffff;
    z-index: 10;
}

.text h2 {
    text-transform: uppercase;
    line-height: 1.1;
    font-size: 2.2em;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 0;
}

@media screen and (max-width:766px) {
    .textWrapper {
        grid-template-areas: 'titre' 'images' 'text';
        grid-template-columns: 1fr;
        grid-gap: 0;
        grid-column-gap: 0;
        grid-row-gap: 0;

        /* grid-template-rows: none none none */
    }

    .gallery {
        position: relative;
        top: 0;
        height: 30vh;
        width: calc(100vw - 8em);
        margin-top: 2em;
        grid-column: 2/2;
    }
}

.pgia-slider {
    height: 50vh;
}

.pgia-progress {
    display: none;
}

.pgia-pagination {
    display: none;
}

.pgia-control {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0);
    width: auto;
    height: auto;
    box-shadow: none;
    font-size: 3em;
    border-radius: 0;
    transition: color 200ms ease-in;
}

.prev.pgia-control {
}

.prev.pgia-control:before {
    content: '\2190';
}

.next.pgia-control:before {
    content: '\2192';
}

.pgia-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgia-control:focus {
    color: #ffffff;
}

.pgia-control:hover {
    color: #000000;
}

.pgia-slide {
    object-fit: fill;
}

@media screen and (max-width:766px) and (orientation: landscape) {
    .logo {
        width: 25%;
    }
}

/* @media screen and (max-height:400px) and (max-width:766px) and (orientation: landscape) {    
    .logoPopupWrapper {
    	height: 45vh;
    }
} */
b,
strong {
    font-weight: normal;
    text-transform: uppercase;
}

@media screen and (max-width:766px) {
}

.text h3 {
    font-size: 1.75em;
    font-weight: normal;
    border-bottom-style: solid;
    border-bottom-width: 0.125em;
    display: inline-block;
    padding-bottom: 0;
    margin-bottom: 0;
}

.text h4 {
    margin-bottom: -0.5em;
    font-weight: normal;
    font-size: 1.35em;
    text-transform: uppercase;
    line-height: 1.2;
}

.text ol {
    padding-left: 0;
    list-style-position: inside;
    margin-bottom: 0;
}

.text ul {
    list-style-position: inside;
    padding-left: 0;
    list-style-type: disc;
    margin-bottom: 0;
}

.text p {
    margin-bottom: 0;
}

.menu {
    color: #ffffff;
    font-weight: normal;
    text-transform: uppercase;
    list-style-type: none;
    flex-direction: row;
    align-items: stretch;
    display: flex;
    margin: 0;
    padding: 0;

    /* justify-content: space-around */
    /* flex-wrap: nowrap */
    /* align-content: stretch */
    border-style: solid;
    border-color: #ffffff;

    /* border-collapse: collapse */
    box-sizing: border-box;
    font-size: 1.75em;

    visibility: hidden;
    opacity: 0;
}

li.menuItem {
    width: 100%;
    text-align: center;

    /* border: solid #ffffff */
    box-sizing: border-box;
    border-color: #ffffff;
    border-style: solid;
    display: block;
}

li.eventItem {
    width: 100%;
    text-align: center;

    /* border: solid #ffffff */
    box-sizing: border-box;

    /* border-color: #ffffff */
    box-shadow: 0 0 0 0.25rem #ffffff;

    /* border-style: solid */
    display: flex;
    vertical-align: middle;
    color: #ffffff;
    align-items: center;
    justify-content: center;
}

ul.menu {
    border-top-width: 0.25rem;
    border-left-width: 00.25rem;
    border-right-width: 0;
    border-bottom-width: 0;
    position: absolute;
    width: calc(100% - 4rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

ul.menu > li.menuItem {
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0.25rem;
    border-bottom-width: 0.25rem;
}

li.menuItem a {
    width: 100%;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    display: block;
    box-sizing: content-box;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

li.menuItem a:hover {
    color: #000000;
    background-color: #ffffff;
}

.white {
    color: #ffffff;
}

.menuIcon {
    width: 1.8em;
    height: 1.8em;
    right: 4.5em;
    top: 4em;
    position: fixed;

    /* float: right */
    /* clear: both */
    cursor: pointer;
    z-index: 100;
}

.logoTemp {
    color: #ffffff;
    width: 25%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menuIcon.popupMenu {
    /* right: 7.5em */
    /* top: 4.1em */
    width: 1.7em;
    height: 1.7em;
    position: absolute;
    right: 3.5em;
    top: 0.15em;
}

.menuIconContainer {
    position: fixed;
    top: 4em;
    right: 4em;

    /* background-color: #ff0000 */
    height: auto;
    width: auto;
    min-width: 2em;
    min-height: 2em;
    z-index: 100;
}

ul.events {
    width: calc(100% - 0.25rem);
    list-style-type: none;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    box-sizing: border-box;
    grid-gap: 0.25rem;
    padding-left: 0;
    grid-auto-columns: 1fr;
    grid-auto-flow: row;
    display: grid;
    grid-template-rows: 9vh;
    justify-content: start;
    padding-right: 0;
    grid-auto-rows: 9vh;
}

.actual {
    grid-column-end: span 2;
    grid-row-end: span 2;
    align-self: stretch;
}

.futur {
    grid-column-end: span 1;
    grid-row-end: span 2;
    align-self: stretch;
}

.past {
    grid-column-end: span 1;
    align-self: stretch;
    grid-row-end: span 2;
}

.eventItem .menuLink {
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
}

.eventsWrapper {
    display:none;
    opacity:0;
    visibility: none;
    height: 60vh;
}

.eventsWrapper ul {
    padding-bottom: 3.5em;
}

.eventItem {
    
}
.eventItem > .menuLink {
    width: 100%;
    height: 100%;
    display: flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
}

.eventItem:hover {
    color: #000000;
    background-color: #ffffff;
}

.eventItem:hover .menuLink {
    color: #000000;
}

#origin {
    /* display: none */
    position: fixed;
    width: 100%;

    /* height:100vh; */
    top: 0;
    left: 0;
    z-index: -1;
}

#origin img {
    height: 100vh;
    object-fit: cover;
    width: 100vw;

    /* vertical-align: top; */
}

#galerie {
    visibility: hidden;
    opacity: 0;
}
#galerie .splide__arrow {
    z-index: 10;
}

.splide {
    /* height: 80vh; */
    /* width: 50%; */
    /* position: relative; */
    /* height: calc(100vh - 1.5rem); */
    /* box-sizing: border-box; */
    /* cursor: pointer; */
}

.submenu {
    color: #000000;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 3;
    font-size: 2em;
    text-transform: uppercase;
    font-style: italic;
    overflow: hidden;
    position: sticky;
    bottom: 1rem;
    background-color: #ffffff;
    z-index: 11;
    padding-top: 1rem;
}

.submenu div {
    white-space: nowrap;
}

.submenu li {
    display: inline;
    margin-right: 2em;
}

.submenu ul {
    padding-left: 0;
    white-space: nowrap;
    padding-right: 0;
    margin-bottom: 0;
    display: inline;
    bottom: 0;
    width: 100%;
    position: relative;
}

.submenu li a {
    text-decoration: none;
    border-bottom: 0.25rem solid rgba(0, 0, 0, 0);

    /* display: inline-block */
}

.submenu li a:hover {
    border-bottom-style: solid;
    border-bottom-color: #000000;
}
.submenu li a.active:hover {
    border-bottom-style: solid;
    border-bottom-color: #ffffff;
}
.submenu li a.active {
    border-bottom-style: solid;
    border-bottom-color: #000000;
}
h3.submenuParent {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 1em;
}

.submenu > div {
    position: relative;

    /* width: 100% */
}

@media screen and (max-width:766px) {
    .container {
        overflow-x: hidden;
    }
}

@media screen and (max-width:478px) {
    .menuIcon {
        width: 1.65em;
        height: 1.65em;
    }

    .logo {
        width: 30%;
    }

    .annonce {
        font-size: 1.15em;
    }

    .annonce.first {
        font-size: 1.35em;
    }
}

@media screen and (max-width:766px) {
    .menu {
        flex-direction: column;
    }
}

@media screen and (max-width:990px) {
    .menu {
        flex-direction: column;
    }
}

@media screen and (max-width:766px) {
    .text {
        font-size: 1.1em;
    }

    .text h2 {
        font-size: 1.8em;
    }
}

/* Ajout 211230 */
.hideSubpage {
    visibility: hidden;
    opacity: 0;
    display: none;
}
/* Ajout 221019 */
@media screen and (max-width:478px) {
    .submenu {
        grid-row-start: 1;
        grid-row-end: 1;
    }
    .emptyImage {
        height: 1rem;
    }
    .logoPopupWrapper {
        width: calc(100% - 0.5em);
    }
    #galerie {
        margin-bottom: 1em;
    }
}