:root {
    --color-lightgrey: #EEEEEE;
    --color-green: #34FFC8;
    --color-darkgrey: #3E3E3E;
    --color-black: #2F2F2F;
    --color-green-blue: #28E0CB;
    --color-grey: #626161;
    --color-brown: #7C3939;
    
    --color-orange: #FF751F;
    --color-red: #FF5757;
    --color-blue: #561FE3;
    --color-pink: #F170C0;
    --color-pink-2: #F0846B;
    --color-green: #00BF63;
}
@font-face {
    font-family: 'jaapokki-regular';
    src: url('fonts/jaapokki-regular.eot');
    src: url('fonts/jaapokki-regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/jaapokki-regular.woff') format('woff'),
        url('fonts/jaapokki-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.font-arial {
    font-family: Arial, Helvetica, sans-serif;
}
a.color-white,
a:hover.color-white,
.color-white a,
.color-white a:hover,
.color-white {
    color: white;
}
a.color-black,
a:hover.color-black,
.color-black a,
.color-black a:hover,
.color-black {
    color: black;
}
.color-green {
    color: var(--color-green);
}
.color-green-blue {
    color: var(--color-green-blue);
}
.fs-15 {
    font-size: 15px;
}
.fs-20 {
    font-size: 20px;
}
.fs-25 {
    font-size: 25px;
}
.fs-30 {
    font-size: 30px;
}
.fs-40 {
    font-size: 40px;
}
.fs-50 {
    font-size: 50px;
}
.top-button {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}
.top-button:active,
.top-button:hover {
    cursor: pointer;
}
.top-button.show {
    opacity: 1;
    visibility: visible;
}
#button {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding-top: 8px;
    text-align: center;
    transition: background-color .3s, opacity .5s, visibility .5s;
    z-index: 1000;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
.cursor-pointer {
    cursor: pointer;
}
.img-hover-zoom {
    transition: all .3s;
}
body {
    font-family: 'jaapokki-regular';
}
.view-pdf{
    position: relative;
    display: block;
}
.view-pdf .overlay{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top : 0;
    left : 0;
    right : 0;
    bottom : 0;
    background-color : rgba(0,0,0,.8);
    z-index: 2;
    color: white;
    text-decoration: none;
    font-size : 2rem;
}
/* END GLOBAL */

/* START NAVBAR */
.bandeau-header > div {
    background-color: var(--color-orange);
    padding: 1rem !important;
}
/* END NAVBAR */

/* HOMEPAGE */
div[class*='carre'],
div[class*='bandeau'] {
    background-clip: content-box;
    padding: 6px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.carre-4 {
    background-color: var(--color-darkgrey);
    color: white;
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
}
.carre-1 strong,
.carre-4 strong {
    font-size: 38px;
}
.carre-2 {
    position: relative;
}
.bandeau-2 {
    background-image: url('../images/equipe-123.jpg');
}
.bandeau-contact {
    background-color: #faf3e7;
    color: black;
}
.bandeau-contact a {
    color: black;
}
.btn-custom:hover,
.btn-custom {
    border-radius: 0;
    background-color: rgba(97, 97, 97, .6);
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
}
h2 {
    text-transform: uppercase;
    color: white;
}
.border-custom {
    border-top: 6px solid white;
    border-bottom: 6px solid white;
    position: relative;
}
.border-custom:after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
}
form input,
form textarea {
    background-color: var(--color-darkgrey) !important;
    color: white !important;
    border-radius: 0 !important;
    margin-bottom: 5px;
}
::placeholder {
    color: white !important;
}
.btn-blue,
.btn-blue:hover {
    background-color: #213789;
    width: 100%;
    border: unset;
    color: white;
}
.btn-partenaires,
.btn-partenaires:hover {
    background: transparent;
    width: 100%;
    border: 1px solid white;
    color: white;
    border-radius: 0;
}
.btn-partenaires:focus {
    box-shadow: none;
}
#gallery .grid {
    column-gap: 1em;
}
#gallery .grid-item {
    background-color: #eee;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}
#gallery .grid-item img {
    display: block;
    max-width: 100%;
    transition: all .3s;
}
#gallery .grid-item img:hover {
    transform: scale(1.05);
    cursor: pointer;
}
.back-button {
    background-color: var(--color-darkgrey);
    color: white;
    font-size: 50px;
    text-align: center;
    padding: 30px 0;
}
.back-button i {
    transform: rotateZ(90deg);
    color: white;
}
.add-new,
.content-admin-member:not(.open-cag),
.content-admin-domain:not(.open-cag) {
    display: none;
}
#map {
    height: 700px;
}
div[id^='partenaire-'] {
    padding: 15px 20px;
    position: relative;
}
div[id^='membre-'] > div:first-child,
.bg-blue-gradient  {
    background-color: #213789;
    color: white;
    font-size: 18px;
}
.card-partenaire {
    height: 300px;
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
}
#equipe h1,
#gallery h1,
#partenaires h1,
#menu h1,
#cave h1 {
    position: absolute;
    bottom: 0;
    left: 30px;
    color: white;
    text-transform: uppercase;
}
.team-image {
    object-fit: cover;
    width: 100%;
    height: 300px;
}
.cave-image {
    object-fit: cover;
    width: 100%;
    height: 372px;
}
.button-hover {
    color: white;
    display: inline-block;
}
.button-hover a {
    color: white;
    padding: 0.7em calc(0.7em * 1.2);
    display: inline-block;
    border: 3px solid transparent;
    position: relative;
    font-size: 1.5em;
    cursor: pointer;
    letter-spacing: 0.07em;
}
.button-hover a .text {
    transform: translate3d(0, 0.7em, 0);
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1) 0.4s;
}
.button-hover a:after {
    position: absolute;
    content: "";
    bottom: -3px;
    left: calc(0.7em * 1.2);
    right: calc(0.7em * 1.2);
    height: 3px;
    background: white;
    transition: transform 0.8s cubic-bezier(1, 0, 0.37, 1) 0.2s, right 0.2s cubic-bezier(0.04, 0.48, 0, 1) 0.6s, left 0.4s cubic-bezier(0.04, 0.48, 0, 1) 0.6s;
    transform-origin: left;
}
.button-hover .line {
    position: absolute;
    background: white;
}
.button-hover .line.-right, .button-hover .line.-left {
    width: 3px;
    bottom: -3px;
    top: -3px;
    transform: scale3d(1, 0, 1);
}
.button-hover .line.-top, .button-hover .line.-bottom {
    height: 3px;
    left: -3px;
    right: -3px;
    transform: scale3d(0, 1, 1);
}
.button-hover .line.-right {
    right: -4px;
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.23s;
    transform-origin: top;
}
.button-hover .line.-top {
    top: -3px;
    transition: transform 0.08s linear 0.43s;
    transform-origin: left;
}
.button-hover .line.-left {
    left: -3px;
    transition: transform 0.08s linear 0.51s;
    transform-origin: bottom;
}
.button-hover .line.-bottom {
    bottom: -3px;
    transition: transform 0.3s cubic-bezier(1, 0, 0.65, 1.01);
    transform-origin: right;
}
.button-hover a:hover .text,
.button-hover a:active .text {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1) 0.4s;
}
.button-hover a:hover:after,
.button-hover a:active:after {
    transform: scale3d(0, 1, 1);
    right: -3px;
    left: -3px;
    transform-origin: right;
    transition: transform 0.2s cubic-bezier(1, 0, 0.65, 1.01) 0.17s, right 0.2s cubic-bezier(1, 0, 0.65, 1.01), left 0s 0.3s;
}
.button-hover a:hover .line,
.button-hover a:active .line {
    transform: scale3d(1, 1, 1);
}
.button-hover a:hover .line.-right,
.button-hover a:active .line.-right {
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.2s;
    transform-origin: bottom;
}
.button-hover a:hover .line.-top,
.button-hover a:active .line.-top {
    transition: transform 0.08s linear 0.4s;
    transform-origin: right;
}
.button-hover a:hover .line.-left,
.button-hover a:active .line.-left {
    transition: transform 0.08s linear 0.48s;
    transform-origin: top;
}
.button-hover a:hover .line.-bottom,
.button-hover a:active .line.-bottom {
    transition: transform 0.5s cubic-bezier(0, 0.53, 0.29, 1) 0.56s;
    transform-origin: left;
}
.slideshow {
    list-style-type: none;
}
/** SLIDESHOW **/
.slideshow,
.slideshow:after {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slideshow li span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 30s linear infinite 0s;
}
@keyframes imageAnimation {
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes titleAnimation {
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
.no-cssanimations .cb-slideshow li span {
    opacity: 1;
}
.bandeau-page {
    object-fit: cover;
    max-height: 375px;
    width: 100%;
}
.bandeau-3 {
	background-color: var(--color-red);
}
/* END HOMEPAGE */

/* START CONTACT */
/* END CONTACT */

/* START FOOTER */
/* END FOOTER */
