/*!
Theme Name: Cécile and Elsa v2.1
Theme URI: https://cecileandelsa.com/
Author: Michel Ravey
Author URI: https://www.michelravey.com/
Description: Site officiel multilingue de Cécile Palusinski et Elsa Mroziewicz
Version: 2.1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cecileandelsa
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.

cecileAndElsa 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 {
  --blueGrey: #7884a1;
  --blueBright: #6282cf;
  --greenGrey: #93a178;
  --greenBright: #aacf61;

  --containerMaxWidth : 1200px;
  --presMaxWidth : 700px;
  --newsMaxWidth : 1000px;
  
  --space30:  30px;
  --space50:  50px;

}


body { margin:0; }
div {
	box-sizing: border-box;
	border: solid 0px #d0b7ea;
}
.clear { clear:both; }


a {
	text-decoration: none;
	transition:  all 0.2s ease-in;
}
a:link, a:visited { color: var(--blueBright); }
a:hover, a:active { color: var(--blueGrey); }



/* ///////////////////////////////// 		

HEADER

///////////////////////////////// */

header {
	position: relative;
	width: 100vw;height: 90px;
	background-color: #fff;
	z-index:10000;
}
#header-container {
	position: relative;
	max-width: var(--containerMaxWidth);
	margin: 0 auto;
	margin-top: 0;
}

#logo {
	position: absolute;top: 19px;
 	max-width: 450px;
 	padding: 0px var(--space50);
 	cursor: pointer;
 	z-index: 1000;
}
#logo img { width:100%; }

nav {
	position: relative;
	padding-top: 42px;
	margin-right: var(--space50);
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
}
nav a {
	text-decoration: none;
	transition:  all 0.2s ease-in;
}
nav a:link, nav a:visited { color: #000; }
nav a:hover, nav a:active { color: var(--blueBright); }
.nav-item {
	font-family: "apparat", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 20px;
	color: #000;
	margin-left: var(--space30);
}
.nav-item a.on { color: var(--blueBright); }

#menu-hamburger {
  position:absolute;
  right:20px;top:-7px;
  width:100px;height:100px;
  z-index:100;
  display: none;
}


#menu-smartphone {
	position: fixed;
	width: 100vw;height: calc(100vh - 90px);
	top: 90px;left: 0;
	background: white;
	z-index: 10000;
	display: none;
	
    
}
.smartphone-item { 
	padding-bottom:30px; 
	font-family: "apparat", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    color: #000;
}
#menu-smartphone a {
	text-decoration: none;
	transition:  all 0.2s ease-in;
}
#menu-smartphone a:link, #menu-smartphone a:visited { color: #000; }
#menu-smartphone a:hover, #menu-smartphone a:active { color: var(--blueBright); }

/* .smartphone-item a.on { color: var(--blueBright); } */
#menu-smartphone a.on { color: var(--blueBright); }


/* ///////////////////////////////// 		
POLYLANG
///////////////////////////////// */

#header-lang {
	position: absolute;
	padding: 17px 0px 0 0;
	top: 0px;right: 0;
	width: fit-content;
	z-index: 1000;
	margin-right: var(--space50);
	/*display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	*/
	font-family: "apparat", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	color: var(--blueGrey);
}

#header-lang ul {
	list-style-type:none;
}
#header-lang li {
	display: inline;
}
#header-lang li:first-child {
	margin-right:  15px;
}

/* highlight current language anchor */
.lang_switcher li.current-lang a {
	font-weight: bold;color: #000;
}





/* ///////////////////////////////// 		

INDEX SLIDER

///////////////////////////////// */

#index-slider {
	position: relative;width: 100vw;height: calc(100vh - 130px);
}

#index-slider-infos {
	position: absolute;
	bottom: var(--space50);
	left: var(--space50);
	width: 475px;height: 200px;
	z-index: 1000;
	overflow: hidden;
}
#index-slider-infos-container {
	height: 100%;
	display: flex;flex-flow: row nowrap;
}
.index-slider-info {
	width: 471px;height: 196px;
	display: none;
	background-color: #fff;
	border: solid 2px black;
	padding: 15px;
	cursor: pointer;
}

.index-slider-title {
	position: relative;padding-bottom: 5px;
	font-family: "costa", sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 30px;
}
.index-slider-place {
	position: relative;padding-bottom: 5px;
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 24px;
}
.index-slider-date {
	font-family: "apparat", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 18px;
}
.index-slider-cta {
	position: absolute;
	bottom: 20px;right: 20px;
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
}









/* ///////////////////////////////// 		

INDEX PRES

///////////////////////////////// */

#index-pres {
	position: relative;width: 100vw;
	margin-top: var(--space50);
}
#index-pres-container {
	position: relative;
	max-width: var(--presMaxWidth);
	margin: 0 auto;

	font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	text-align:  justify;
	text-justify:  inter-word;

	height: 465px;
	overflow: hidden;
}
#index-pres-gradient {
	position: absolute;
	bottom: 0;height: 200px;
	width: 100%;
	background: RGBA(255, 255, 255, 0);
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.01) 100%);
}
#index-pres-more {
	position: absolute;bottom: 0;right: 30px;
	padding: 15px;
	text-transform: uppercase;
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 17px;
	cursor: pointer;
	color: var(--blueBright);
	transition: all 0.2s ease-in;
}
#index-pres-more:hover {
	color: var(--blueGrey);
}





/* ///////////////////////////////// 		

INDEX NEWS

///////////////////////////////// */

#index-news {
	position: relative;width: 100vw;
	margin-top: var(--space50);
	padding: var(--space30) 0;
	background-color: #eef2fb;
	min-height: 730px;
}
#index-news-container {
	position: relative;
	max-width: var(--newsMaxWidth);
	margin: 0 auto;
}
#index-news-title {
	position: relative;margin: 0 0 10px 0;
	font-family: "apparat", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 80px;
}
#index-news-featured-img {
	position: absolute;
	width: 500px;height: 500px;
}
.index-news-featured-img {
	width: 500px;height: 500px;
	border: solid 2px black;
	display: none;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;

}
.index-news-featured-img:first-child { display:block; }
#index-news-items {
	position: relative;
	margin-left: 530px;
	width: 470px;
}
.index-news-item-place a { text-decoration: none;color:black; }
.index-news-item {
	position: relative;margin-bottom: var(--space30);
	cursor: pointer;
	opacity: 0.3;
	transition: all 0.2s ease-in;
}	
.index-news-item:first-child { opacity:1; }
.index-news-item-cat {
	font-family: "apparat-light", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 14px;
	text-transform: uppercase;
}
.index-news-item-title {
	font-family: "costa", sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 30px;
	
}
.index-news-item-place {
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 24px;
}
.index-news-item-date {
	font-family: "apparat", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 18px;
}

.index-news-more {
	position: relative;
	width: 100%;
	margin-top: 50px;
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 17px;
	text-align: right;
	text-transform: uppercase;
	cursor: pointer;
}
.index-news-more:hover {
	color: var(--blueGrey);
}
.index-news-more a {
	
	text-decoration: none;
	transition: all 0.2s ease-in;
}
.index-news-more a:link, .index-news-more a:visited { color: var(--blueBright); } 
.index-news-more a:hover, .index-news-more a:active { color: var(--blueGrey); } 


/* ///////////////////////////////// 		

INDEX ACTIONS

///////////////////////////////// */

#index-actions {
	position: relative;width: 100vw;
	margin-top: var(--space50);
	padding-bottom: var(--space50);
}
#index-actions-container {
	position: relative;
	max-width: var(--containerMaxWidth);
	margin: 0 auto;
}
#index-actions-title {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	font-family: "apparat", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 80px;
}
.index-actions-item {
	
	position: relative;
	float: left;
	width: 29.33%;
	margin: 15px 2%;
	cursor: pointer;
}
.index-actions-item-featured-img {
	width: 100%;
}
.index-actions-item-featured-img img { width: 100%; }
.index-actions-item-title {
	margin-top: 8px;
	font-family: "apparat", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 32px;
	line-height: 1em;
}
.index-actions-item-content {
	margin-top: 15px;
	font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
}
.index-actions-cta {
	margin-top: 30px;
	font-family: "apparat", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 15px;
	text-transform: uppercase;
	cursor: pointer;
}







/* ///////////////////////////////// 		

PAGE CONTENT

///////////////////////////////// */

.section {
	position: relative;
	padding: 50px 50px 50px 50px;
}



.section.default {
	padding-top: 75px;
	background-color: #f5f5f5;
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 66%);

}
.section.blue {
	background: #FFFFFF;
	background: linear-gradient(179deg,rgba(255, 255, 255, 1) 0%, rgba(241, 242, 251, 1) 25%);
}
.section.green {
	background: #FFFFFF;
	background: linear-gradient(179deg,rgba(255, 255, 255, 1) 0%, rgba(248, 250, 241, 1) 25%);
}

.section-container img, .section-container video { max-width:100%; }
.wp-video,
.mejs-container,
.mejs-inner,
.mejs-mediaelement,
.mejs-layer,
.mejs-overlay,
.mejs-poster,
.mejs-video,
.mejs-container video {
    width: 100% !important;
    max-width: 100% !important;
}
.section-container.columns img {
	position: relative;float: none;
	width: 100%;display: block;
	margin: 0 30px 30px 0;

}

.section-container {
	position: relative;
	max-width: var(--containerMaxWidth);
	margin: 0 auto;
	margin-top: 0;

	font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	line-height: 1.3em;

	-webkit-columns: 1;
     -moz-columns: 1;
          columns: 1;
  	-moz-column-fill: balance;
       	column-fill: balance;
      column-gap: 50px;

      text-align:  justify;
	text-justify:  inter-word;
}

.section-container.columns {
	-webkit-columns: 2;
     -moz-columns: 2;
          columns: 2;
  	-moz-column-fill: balance;
       	column-fill: balance;
      column-gap: 50px;
	  padding-bottom:30px;
}
.section-container p:first-child {
	margin: 0;
}

h1 {
	position: relative;
	margin: 0;
	padding-bottom: 75px;
	font-family: "apparat", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 80px;
	color: #000;
	text-align:left;
	text-justify:none;
	line-height:1em;
}

.content {
	position: relative;
	font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	max-width: 700px;
	
}

.content h3 {
	font-family: "costa", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 36px;
	color: #6282cf;
}

.content h4 {
	font-family: eidetic-neo, serif;
	font-weight: 900;
	font-style: italic;
	font-size: 18px;
	text-transform: uppercase;
	color: #aacf61;
}

.content .bold, .section-container .bold {
	font-family: "costa", sans-serif;
	font-weight: 700;
	font-style: normal;
}

.content-title {
	position: relative;
	padding-bottom: 50px;
	text-align:  left;
	text-justify:  normal;
	line-height: 2.5em;
}
h2 {
	position: relative;
	display: inline;
	margin: 0;
	padding-right: 30px;
	font-family: "costa", sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 56px;
	color: #000;
	text-align:  left;
	text-justify:  normal;
	
}
.content-subtitle {
	position: relative;
	display: inline;
	font-family: eidetic-neo, serif;
	font-weight: 900;
	font-style: normal;
	font-size: 48px;
}
.content-subtitle.blue {
	color: #6282cf;
}
.content-subtitle.green {
	color: #aacf61;
}


.curator_text { font-size:15px;font-style: italic;color:#7884a1; }





/* ///////////////////////////////// 		

NEWS

///////////////////////////////// */

.news-item {
	position: relative;
	padding: 50px 0;
	margin-bottom: 0;
	
	
	border-top: solid 4px #eef2fb;

	line-height: 1.8em;
}	
.news-header { cursor: pointer; }

.news-featured-img {
	position: relative;
	float: left;
	width: 40%;
	margin-right:  30px;
	background-position: left top;
	background-size: contain;
	background-repeat: no-repeat;
	display: flex;
	justify-content: flex-start;
	align-items:  flex-start;

}
.news-featured-img:first-child { display:block; }
.news-featured-img img { 
	display: block;
	max-width: 100%;max-height: 100%;
	transition: all 0.2s ease-in;
}



/* ///////////////////////////////// 		

INDEX FOOTER

///////////////////////////////// */

#index-footer {
	position: relative;width: 100vw;
	background-image: url(imgs/fond-bas-03.jpg);
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
	height: 150px;
	display: flex;
	align-items: center;
}

#index-footer-container {
	position: relative;
	max-width: var(--containerMaxWidth);
	width: 100%;
	margin: 0 auto;
	top: 15px;
	padding: 0 var(--space30);
	text-align: right;
	font-family: "apparat", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 18px;
}

#menu-smartphone #index-footer-container { margin-top:50px; }






