/*-------------------------
* GENERAL
*-------------------------*/

:root {
	--primary-color: #252525;
}

::selection {
	background-color: var(--primary-color);
	color: white;
}

body, a, input, button, textarea {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 200;
    font-size: 18px;
}

h1, h2, h3, h4, h5 {
	font-weight: 300;
}

div.grecaptcha-badge {
    opacity: 0;
    pointer-events: none;
}

/*-------------------------
* HEADER & MENU
*-------------------------*/

header a {
	text-decoration: none;
}

header h1 {
	text-transform: uppercase;
	margin: 0 auto;
	font-size: 24px;
}

header#masthead {
    position: fixed;
    left: 2%;
    right: 2%;
    top: 40px;
    z-index: 5;
}

nav.main-navigation {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 20px;
    z-index: 9;
    background-color: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: ease all 0.4s;
    overflow: auto;
}

nav#site-navigation.open {
	opacity: 1;
	pointer-events: all;
	transition: ease all 0.4s;
}

a.open-menu {
    font-size: 18px;
    text-transform: uppercase;
}

a.open-menu i {
    vertical-align: middle;
    margin-right: 6px;
    font-size: 22px;
}

div.menu-menu-principal-container {
    columns: 4;
}


nav#site-navigation ul li {
    display: block;
}

nav#site-navigation ul li a {
    padding: 8px 0px;  
    text-transform: capitalize;
    position: relative;
}

nav#site-navigation ul li a:after {
    content: '';
    height: 1px;
    width: 100%;
    bottom: 12px;
    opacity: 0;
    position: absolute;
    left: 0;
    background-color: black;
    transition: ease all 0.2s;
}

nav#site-navigation ul li a:hover:after {
    bottom: 4px;
    opacity: 1;
}

nav#site-navigation ul li.en-avant a {
	font-weight: 400;
}

span.close-menu {
    position: absolute;
    top: 2%;
    right: 2%;
    font-size: 50px;
    cursor: pointer;
}

/*-------------------------
* PAGES
*-------------------------*/

div.site {
    margin: 2%;
}

div.site-content {
    margin-top: 70px;
}

header h1.entry-title {
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 80px;
}

ul.liste-des-thematiques {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

li.thematique-single {
    max-width: 100vh;
    margin: 0 auto;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    background-size: contain;
}

li.thematique-single a {
    text-decoration: none;
}

h2.intitule-thematique {
    background-color: rgba(255,255,255,0.6);
    margin: 0 auto;
    border-radius: 4px;
    padding: 2px 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    height: 45px;
}

li.thematique-single a h2:after {
    content: '';
    background-color: var(--primary-color);
    opacity: 0;
    height: 1px;
    left: 6px;
    right: 6px;
    bottom: 12px;
    position: absolute;
    transition: ease all 0.3s;
}

li.thematique-single a:hover h2:after {
    opacity: 1;
    bottom: 6px;
    transition: ease all 0.3s;
}

ul.galerie-images {
    margin-top: 50px;
    padding: 0px;
    list-style: none;
    max-width: 100%;
}

ul.galerie-images li {
    margin-bottom: 20px;
}

ul.galerie-images li img, ul.galerie-images li a {
    width: 100%;
}

span.texte-additionnel {
    display: block;
    margin: 80px auto;
}

ul.navigation-transversale {
    border-top: 1px solid black;
    margin: 80px auto;
    padding: 40px 0px 20px;
    list-style: none;
    text-align: center;
}

ul.navigation-transversale li {
    display: inline-block;
    margin-bottom: 20px;
    text-align: center;
    transition: ease all 0.3s;
}

ul.navigation-transversale li:hover {
    opacity: 0.8;
}

ul.navigation-transversale li a {
    text-decoration: none;
}

ul.slick-dots li button {
    margin: 4px 6px;
    font-size: 16px;
    padding: 6px;
    border: 1px solid gray;
    border-radius: 2px;
}

li.page-single img {
    height: 200px;
    object-fit: contain;
    width: 100%;
}

div.slick-lightbox {
    background-color: rgba(255,255,255,0.99) !important;
}

div.slick-lightbox button.slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    height: 45px;
    border: none;
    background-color: transparent;
    font-size: 0px;
    z-index: 9;
}

button.slick-lightbox-close:before {
    font-size: 50px;
    line-height: 0;
    color: var(--primary-color);
}

button.slick-arrow:before {
    content: '\f103';
    font-family: "spach-fine-art";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-rendering: optimizeLegibility;
    font-size: 36px;
}

.slick-lightbox button.slick-prev {
    left: 1%;
}

.slick-lightbox button.slick-next {
    right: 1%;
    -webkit-transform: scaleX(-1);
     transform: scaleX(-1);
}

div.contact-container {
    max-width: 1000px;
    margin: 20px auto 0;
}

span.descrition {
    text-align: center;
    margin-top: 7px;
    display: block;
    font-weight: 400;
    font-size: 16px;
}

/*-------------------------
* FOOTER
*-------------------------*/

footer#colophon {
    margin-top: 80px;
}

span.droits-auteur {
    display: block;
    font-style: italic;
}

@media screen and (max-width: 992px) {
    button.slick-arrow:before {
        font-size: 24px;
    }


   .slick-lightbox button.slick-prev {
        left: 1%;
    }

    .slick-lightbox button.slick-next {
        right: 1%;
    }

}

@media screen and (max-width: 789px) {
    div.menu-menu-principal-container {
        columns: 2;
    }

    div.align-right {
        text-align: right;
    }

    nav.main-navigation {
        display: block;
        padding-top: 80px;
    }

}

@media screen and (min-width: 576px) {
    ul.liste-des-thematiques {
        margin: 80px 0px;
    }
}

@media screen and (max-width: 576px) {
    div.site-content {
        margin-top: 30px;
    }

    header#masthead {
        text-align: center;
        top: 20px;
        position: static;
    }

    div.align-right {
        text-align: center;
    }

    a.open-menu {
        margin-top: 16px;
    }

    header h1.entry-title {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 0px;
        text-align: center;
    }

    div.fond-photo span.ult_main_cl.ult-adjust-bottom-margin   {
        position: static;
    }
}

@media screen and (max-width: 400px) {
    div.menu-menu-principal-container {
        columns: 1;
    }
}

/*-------------------------
* GESTION DES IPHONES/IPAD
*-------------------------*/

@supports (-webkit-touch-callout: none) {
   li.thematique-single {
        background-attachment: scroll;
        height: 600px;
    }
}
