/*!
Theme Name: Chloé Pesnec
Theme URI: http://chloepesnec.com/
Author: Michel Ravey from Montbé pour Chloé Pesnec
Author URI: https://michelravey.com
Description: Site officiel de Chloé Pesnec, développé à la HEAR
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chloepesnec
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

chloePesnec is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
:root {
    --tempBorders: PaleTurquoise;
    --lightGrey: #e6e6e6;
    
    --centrage:  calc(100% - 70px);
  }
  

body { margin:0;background-color:var(--lightGrey); }
div { box-sizing: border-box;border:solid 0px var(--tempBorders); }
.clear { clear:both; }

a {
    text-decoration: none;
    transition:all 0.2s ease-in;
}
a:link, a:visited { color:#000; }
a:hover, a:active { color:#444;font-family: 'AzeretMono-Italic'; }


/* -----------------------------

ACCUEIL

----------------------------- */


header {
    position:relative;
    width:var(--centrage);
    max-width:1200px;
    margin:35px auto;
}
#logo {
    position:relative;width:210px;min-height:200px;
    top:-20px;
    margin-right:20px;
}
#logo img { width:100%;height:auto; }
#nav_container {
    position:absolute;
    width:calc(100% - 230px);
    top:0;left:230px;
    
}
nav {
    display:flex;
    justify-content: flex-end;
    border-bottom:solid 1px black;
    height:32px;
}   

/* WP MENU STYLES */
#menu {
    position: relative;
    right: 0;
    margin:0;padding-top:0;
    padding-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}
#menu-principal-container { margin:0;padding:0; }
#main-menu {
    position:relative;
    right:0;
    margin:0;
    padding-bottom:20px;
    display:flex;
    justify-content: flex-end;
}
.menu-item {
    font-family: 'AzeretMono-Regular';
    font-size:16px;
    padding-left:50px;
}
.menu-item.on { font-family: 'AzeretMono-Italic';text-decoration: underline; }



#menu-smartphone #main-menu {
	flex-direction: column;
	align-items: flex-start;
	padding: 30px 0 0 15px;	
}
#menu-smartphone #main-menu li { padding-bottom:30px; }

#menu-smartphone .menu-item { padding:0; }

/* Tous les elements du menu principal */
#main-menu li { list-style-type: none; }

/* Tous les liens du menu principal */
#main-menu li.menu-item a {
	text-decoration:none;
	transition:all 0.2s ease-in;
	-webkit-transition:all 0.2s ease-in;
	-moz-transition:all 0.2s ease-in;
	font-family: 'AzeretMono-Regular';
    font-size:16px;
    

 	transition: all 0.2s ease-in;
}
#main-menu .menu-item a:link, #main-menu .menu-item a:visited { color:#000;  }
#main-menu .menu-item a:hover, #main-menu .menu-item a:active { color:#000;  }

/* Les liens actifs (current, en cours) du menu principal */
#main-menu li.current-menu-item a {
	text-decoration:none;
	font-family: 'AzeretMono-Italic';text-decoration: underline;
	font-size:16px;
	line-height:1.4em;
}
#main-menu .current-menu-item a:link, #main-menu .current-menu-item a:visited { color:#000; }
#main-menu .current-menu-item a:hover, #main-menu .current-menu-item a:active { color:#000; }

/* SMARTPHONE */
#menu-smartphone #main-menu li.menu-item a { font-size:30px; }
#menu-smartphone #main-menu li.current-menu-item a { font-size:30px; }


/* Filter Menu */
#filter-menu { 
    display:flex;
    justify-content: flex-end;
    padding-left:0;
    margin:0;
}
#filter-menu li { list-style-type: none; }

/* Tous les liens du menu principal */
#filter-menu li.menu-item a {
	text-decoration:none;
	transition:all 0.2s ease-in;
	-webkit-transition:all 0.2s ease-in;
	-moz-transition:all 0.2s ease-in;
	font-family: 'AzeretMono-Light';
    font-size:12px;
    

 	transition: all 0.2s ease-in;
}
#filter-menu .menu-item a:link, #filter-menu .menu-item a:visited { color:#000;  }
#filter-menu .menu-item a:hover, #filter-menu .menu-item a:active { color:#000;  }



#hamburger {
	position:fixed;
	display:none;
	top:0px;right:20px;
	margin-top: 75px;
	border: solid 0px red;
	height:91px;width:67px;
	z-index: 2000;
	cursor: pointer;
	mix-blend-mode: multiply;
	/*
	background-image: url(imgs/hamburger-noir.svg);
	background-position: center center;
	background-size:contain;
	background-repeat: no-repeat;*/
}

#menu-smartphone {
	position: fixed;
	top: 0;left: 0;
	width: 100%;height: 100%;
	background-color: #fff;
	z-index: 900;
	display: none;
	font-size: 48px;
	line-height: 1.4em;
	overflow: auto;
	padding: 35px;
}
#logo-smartphone {
    position:relative;width:210px;min-height:200px;
    margin-right:20px;top:-20px;
}
#logo-smartphone img { width:100%;height:auto; }




#social {
    position:relative;
    right:0;
    padding-bottom:20px;
    padding-left:30px;
    display:flex;
    justify-content: flex-end;
}
.menu-social-item {
    font-family: 'AzeretMono-Regular';
    font-size:16px;
    padding-left:20px;
}
.menu-social-item img { height:24px; }

#filters {
    position:relative;
    right:0;
    padding:10px 0;
    display:flex;
    justify-content: flex-end;
}
.filter {
    font-family: 'AzeretMono-Light';
    font-size:12px;
    padding-left:50px;
}
#filter-all {
    margin-top:0px;
    cursor: pointer;
}

/* -----------------------------
Diaporama
----------------------------- */

#accueil-diaporama {
    position:relative;
    border-top:solid 1px black;
    border-bottom:solid 1px black;
    border-left:solid 1px black;
    width:var(--centrage);
    max-width:1200px;
    margin:35px auto;
    height:490px;
    overflow:hidden;
}

#accueil-diaporama .diapo {
    width:100%;height:100%;
    background-size:cover;
    background-position:center center;
    background-repeat: no-repeat;
}
#accueil-diaporama .diapo:nth-child(1) {
    background-image:url(imgs-temp/accueil-diaporama-1.png);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
    border-right:solid 1px black;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#slide1 { background-image:url(imgs-swiper/Aitutaki-Cook-Islands.jpg); }
#slide2 { background-image:url(imgs-swiper/Anaura-Bay-Gisborne-New-Zealand.jpg); }
#slide3 { background-image:url(imgs-swiper/Lost_in_Paradise.jpg); }
#slide4 { background-image:url(imgs-swiper/Secret_Getaway.jpg); }
#slide5 { background-image:url(imgs-swiper/Taino_Beach-Bahamas.jpg); }

/* -----------------------------
Sélection - Owl
----------------------------- */

#accueil-selection {
    position:relative;
    border:solid 0px black;
    width:var(--centrage);
    max-width:1200px;
    margin:35px auto;
    height:300px;
    overflow: hidden;
}

#accueil-selection .owl-carousel .item {
    height: 300px;
    border:solid 1px black;
    padding-right: 0px;
    margin-right:7px;
    width:fit-content;
}
@media screen and (min-width: 761px) and (max-width: 1024px) {
    #accueil-selection .owl-carousel .item {
        height: 300px;
    }
}
.item img { height:100%; }
#customNavPrev {
    position: absolute;left: 15px;top: 40%;width: 28px;height: 50px;
    background-image: url(imgs/flecheGauche-bleueATM.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    opacity: 0.3;
}
#customNavNext {
    position: absolute;right: 15px;top: 40%;width: 28px;height: 50px;
    background-image: url(imgs/flecheDroite-bleueATM.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    opacity: 0.3;
}
#customNavPrev:hover, #customNavNext:hover { opacity:1; }
.owl-prev { left: 0;top:40%;font-size:2vw; }
.owl-next { right: 0;top:40%;font-size:2vw; }
.owl-dots { margin-top:25px; }
.owl-nav .disabled {
    display: none;
}






/* -----------------------------

PROJETS

----------------------------- */

/* ChatGPT CSs grid
#grille {
    position:relative;
    border:solid 0px black;
    width:var(--centrage);
    max-width:1200px;
    margin:35px auto;
    height:490px;

    display: grid;
    grid-auto-rows: 10px;
    gap: 24px;

    grid-template-columns: repeat(4, 1fr);
}

.vignette img {
      width: 100%;
      height: auto;
      display: block;
    }
*/

#grille {
    position:relative;
    border:solid 0px black;
    width:var(--centrage);
    max-width:1200px;
    margin:35px auto;
    height:490px;
}
.case, .case-unit {
    position: relative;
    float: left;
    height:auto;
    border:solid 0px tomato;
    width:25%;
    padding:1%;
    cursor: pointer;
}
.case img, .case-unit img { width:100%;height:auto;border:solid 1px black; }

.case-titre {
    position:relative;
    margin-top:7px;
    font-family: 'AzeretMono-Light';
    font-size:12px;
}

#empty { position:relative;width:25%;height:1px;margin:0;padding:0; }








/* -----------------------------

CONTENU

----------------------------- */

#contenu {
    position:relative;
    width:var(--centrage);
    max-width:1200px;
    margin:50px auto;
    padding-bottom:15px;
}
#contenu a {
    text-decoration: none;
    transition:all 0.2s ease-in;
}
#contenu a:link, #contenu a:visited { color:#444;font-family: 'Inter18pt-Light'; }
#contenu a:hover, #contenu a:active { color:#000;font-family: 'Inter18pt-LightItalic'; }

.page_fond {
    height:100vh;width:100vw;
    overflow:hidden;
    background-size:cover;
    background-repeat: no-repeat; 
    background-position: center center;
}

#fiche-col1 {
	position:relative;
	width:65%;
	margin-left:4%;
	float:left;
	padding-bottom:50px;
}
#fiche-video { width:100%; }
#fiche-video iframe, #fiche-video video { width:100%; }

#fiche-featured {
	width:100%;
	display:flex;
	justify-content: center;
}
#fiche-featured img {
	width:98%;
	padding: 0 1%;
}

#fiche-description {
	max-width:500px;
}

.vignette, .vignette-unit { 
	position:relative;
	height:auto;
	cursor:pointer;
	float:left;
	width:50%;
	padding: 10px 1%;
}
.vignette img, .vignette-unit img { width:100%; }

#fiche-col0 { 
	position:relative;
	display:none; 
	font-size:18px;
	font-family: 'Inter18pt-Light';
	padding-bottom:50px;
}
#fiche-col2  {
	
	width:30%;
	
	font-size:18px;
	font-family: 'Inter18pt-Light';
	padding-bottom:50px;
}
.fiche-col2-start {
	position:relative;
	float:left;
}
.fiche-col2-scroll {
	position:fixed;
	right:32px;
	top:100px;
}

#fiche-description {
    position:relative;
	font-family: 'Inter18pt-Light';
	font-size:16px;
    margin-bottom:50px;
}
#fiche-categories {
	position:relative;
	width:fit-content;	
	display:inline-block;
    
}
.fiche-categorie {
	position:relative;
	/* font-family: 'ScalaSansPro-Black'; */
	font-family: 'AzeretMono-Regular';
	font-size:16px;
	margin-right:30px;
	
	transition: all 0.1s ease-in;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
}
#fiche-titre {
	position:relative;
	/* font-family: 'ScalaSansPro-Black'; */
	margin-bottom:50px;
}
.fiche-exergue {
	font-family: 'ScalaSansPro-Bold';
}

#titre {
    position:relative;
    font-family: 'AzeretMono-Regular';
    font-size:28px;
    text-decoration:underline;
    margin-bottom:7px;
}
#annee {
    position:relative;
    font-family: 'AzeretMono-Regular';
    font-size:16px;
    margin-bottom:30px;
}



/* -----------------------------

PIED

----------------------------- */

#pied {
    position:relative;
    width:var(--centrage);
    max-width:1200px;
    margin:50px auto;
    padding-bottom:15px;
}

#pied-credit {
    position:relative;
    margin-top:5px;
    padding:0 7px;
    background-color:var(--lightGrey);
    float:right;
    border:solid 0px tomato;
    text-align:right;
    font-family: 'AzeretMono-Regular';
    font-size:14px;
}
#pied-filet {
    position:absolute;
    width:100%;height:17px;
    border-bottom:solid 1px black;
}