@charset "UTF-8";

/* ------------------------------  GLOBAL  -----------------------------*/

@font-face {
    font-family: 'JetBrains Mono';
    src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
      url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html{
    font-family: Jetbrains Mono;
}

nav li a{
    font-family: Jetbrains Mono;
}

/* ------------------------------  GALERIE -----------------------------*/

.bg_blanc { background-color: rgba(255,255,255,0.15);padding:30px 0;}

.wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    grid-auto-rows: minmax(300px, 300px);
}

.wrapper > div > img{
    height: 300px;
    width: 342.5px;
}


 
/* ------------------------------  PRODUITS -----------------------------*/

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {padding-right:18px}
}

label {position:relative}

label:before {
    content:'';
    right:6px; top:0px;
    width:20px; height:20px;
    position:absolute;
    pointer-events:none;
    display:block;
}


form label {
	font-size:16px !important;
	display: block !important;
	margin:0px 0 2px 0 !important;
	font-weight:600 !important;
}
::placeholder { opacity: 0.5; }

input[type=text] {
    width:80%;
    padding: 5px;
    margin: 0;
    font-size: 0.8em !important;
    border: none;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-appearance: none;
}

.CalContainer{
    background-color: #F5EBDF;
    text-align: center;
    width: 650px;
    margin-left: 350px;
    margin-top: 30px;
    border-radius: 20px;
    padding: 20px;
}

.CalForm{
    width: 200px;
}

.requis:after {
    content:" *";
    color: red;
}

/* ------------------------------  REVENDEURS -----------------------------*/




/* ------------------------------  FOOTER -----------------------------*/
.sous_footer {height:40px;}

footer .fa {
    color:#000;
    font-size:20px;
    float:left;
    padding: 10px 10px;
}
footer { 
	width:100%;
	background-color:#F5EBDF; /*rgba(245, 235, 223, 1);*/
	position:fixed;
    bottom:0;
    border-top:1px solid #F5EBDF;
}
footer ul {	padding:0;margin:0;}
footer li {
	float:left;
	list-style-type: none;
	margin:0;
	position:relative;
	text-align: center;
}
footer li a {
	color: #000;	
	text-decoration: none;
	display: block;
	padding:10px 20px;
}
footer li a:hover {color:#000;}

.copyright {color:#000;float:right;padding:10px 0;}


/* ------------------------------  RESPONSIVE -----------------------------*/

@media (max-width: 1170px) {
    .fiches { width:100%;}
    .fiche { width:100%;}
    .bg_blanc {padding:0;}
    
    .photo_fiche {
        width:25%;
        height:calc(0.166666 * 100vw);
    }

}
@media (max-width: 1000px) {
    .fancybox-slide--iframe .fancybox-content {
        width  : 100% !important;
    }
}
@media (max-width: 768px) {

    .sous_filtres {height:214px;}
    
    .tris, .recherches {float:left;width:50%;}
    .tri, .recherche {width:97%;margin:5px 3% 5px 0;}
    
	.fiche { padding:15px;}
    .similaires {display: none;}
    .main {width:100%;}

    .photo_fiche {
        width:33.333333%;
        height:calc(0.222222 * 100vw);
    }
    .photo_fiche .legende {
        filter: alpha(opacity=100); /* For IE8 and earlier */
        opacity:1;
        bottom: 0;
    }
    
    #carte_monde {position:relative;width:100%;height:50vh;}
    .liste_revendeurs {float:none;width:100%;}
    

}
@media (max-width: 640px) {
    .filtres {position:relative;}
    .sous_filtres {height:0;}

    .main .photo {width:100%;margin:0 0 15px 0;text-align: center;}
    .main .photo img {display: inline-block;}
    
    .infos .flags, .distribution {width:45%;margin:0 0 0 5%;}
    .infos .flags {margin:0 5% 0 0;}

    .photo_fiche {
        width:50%;
        height:calc(0.333333 * 100vw);
    }
}

