/*
Theme Name: Cristina Corgas
Author: La Confiserie
Author URI: https://www.laconfiserie.fr
Description: Thème sur-mesure
Version: 1.0
*/

:root :where(a:where(:not(.wp-block-navigation))),
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: initial;
}

/* RESET CSS
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}


/* GLOBAL
-------------------------------------------------------------- */
* {
	-moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
 }
html {
	width:100%;
	scroll-behavior: smooth;
} 
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
:root :where(a:where(:not(.wp-block-navigation))),
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: initial;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// GRILLE
----------------------------------------------------------------- */
.rangee {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	width: 95%;
	max-width: 1240px;
	margin: 0 auto;
	position: relative;
	flex-flow: row wrap;
}
.elementor-section.elementor-section-boxed > .elementor-container,.wp-block-group, .e-con > .e-con-inner {
	width: 95% !important;
	max-width: 1240px!important;
	margin: 0 auto;
}
.e-con-boxed {
 	padding: 0 !important;
 }
.rangee.direction-column {
	flex-direction: column;
	flex-wrap: wrap;
}
.rangee.largeur-courte {
	width: 70%;
	max-width: 700px;
}
.fullwidth, .full, .rangee.full {
	width: 100%;
	max-width: 100%;
}
.col {
	position: relative;
	z-index: 9;
}
.col5 {
	flex-basis:5%;
	width: 5%;
}
.col15 {
	flex-basis:15%;
	width: 15%;
}
.col10 {
	flex-basis:10%;
	width: 10%;
}
.col20 {
	flex-basis:20%;
	width: 20%;
}
.col30 {
	flex-basis:30%;
	width: 30%;
}
.col40 {
	flex-basis:40%;
	width: 40%;
}
.col48 {
	flex-basis:48%;
	width: 48%;
}
.col50 {
	flex-basis:50%;
	width: 50%;
}
.col60 {
	flex-basis:60%;
	width: 60%;
}
.col70 {
	flex-basis:70%;
	width: 70%;
}
.col80 {
	flex-basis:80%;
	width: 80%;
}
.col90 {
	flex-basis:90%;
	width: 90%;
}
.col100 {
	flex-basis:100%;
	width: 100%;
}
.col25 {
	flex-basis:25%;
	width: 25%;
}
.col45 {
	flex-basis:45%;
	width: 45%;
}
.col55 {
	flex-basis:55%;
	width: 55%;
}
.col65 {
	flex-basis:65%;
	width: 65%;
}
.col35 {
	flex-basis:35%;
	width: 35%;
}
.col75 {
	flex-basis:75%;
	width: 75%;
}
.col66 {
	flex-basis:66.6%;
	width: 66.6%;
}
.col33 {
	flex-basis:33.3%;
	width: 33.3%;
}
.ecart-normal{
	flex: 0 0 auto;
	padding: 15px;
}
.bloc-left {
	padding-right: 30px;
}
.bloc-right {
	padding-left: 30px;
}
.aucun-ecart{
	padding:0!important;
}
.ecart-full .aucun-ecart:first-of-type {
	flex: 0 0 auto;
	padding: 0 0 0 30px;
}
.ecart-full .aucun-ecart:last-of-type {
	flex: 0 0 auto;
	padding: 0 30px 0 0;
}
.fullwidth.ecart-full .aucun-ecart {
	padding:0;
}
.colpadleft {
	flex: 0 0 auto;
	padding: 0 0 0 30px;
}
.col-left-marge {
	padding-right: 30px;
}
.col-right-marge {
	padding-left: 30px;
}
.colpadright {
	flex: 0 0 auto;
	padding: 0 30px 0 0;
}
.colcenter {
	margin: 0 auto;
}
.justify-center {
	justify-content:center;
}
.items-align-center {
	align-items:center;
}
.items-align-end {
	align-items: end;
}
.align-center {
	align-items:center;
}
.align-end {
	align-items:flex-end;
}
.row-reverse {
	flex-direction: row-reverse;
}
.padding {
	padding: 60px 0 !important;
}
.padding-bottom {
	padding-bottom: 60px !important;
}
.padding-top {
	padding-top: 60px !important;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// PRELOADER
----------------------------------------------------------------- */
#preloader {
	opacity: 1;
    visibility: visible;
	-webkit-transition: all 1s linear;
	-o-transition: all 1s linear;
	transition: all 1s linear;
}
.preloader-container {
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: scroll;
	position: fixed;
	z-index: 99999;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background-color: var(--wp--preset--color--secondary);
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	overflow: hidden;
	-webkit-transition: all 1s linear;
	-o-transition: all 1s linear;
	transition: all 1s linear;
}

.preloader-container .animation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

#preloader.hidden {
	opacity: 0;
    visibility: hidden;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// GLOBAL
----------------------------------------------------------------- */
p, ol, li, table,label {
	color: var(--wp--preset--color--foreground);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--normal);
	line-height: 26px;
	margin: 15px 0px;
}
ol, li {
	margin: 5px 0;
}
.bold {
	font-weight: 700;
}
strong, b {
	font-weight: 700;
	color:var(--wp--preset--color--primary);
}
ul {
	margin-bottom: 15px;
}
ul li{
	margin-left: 15px;
	list-style-type: disc;
}
ol li{
	margin: 0;
	margin-bottom: 5px;
	margin-left: 15px;
}
blockquote {
    font-family: var(--wp--preset--font-family--typotitre);
    font-style: normal;
    text-transform: uppercase;
	margin: 40px 0px 50px 0;
	padding-left: 150px;
	color: var(--wp--preset--color--primary);
	line-height: 60px;
	font-size: var(--wp--preset--font-size--big);
}
blockquote p {
	line-height: 60px;
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--big);
}
blockquote em {
	display:block;
	margin-top: 5px;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	color: var(--wp--preset--color--secondary);
}

button {
    background: transparent;
    border-radius: 0;
    border: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    user-select: none;
}
button:focus {
    outline: 0 none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
table {
	width: 100%;
	margin: 0;
}
tr, td, th {
	padding: 5px 15px;
	border: 1px solid var(--wp--preset--color--secondary);
	text-align: left;
	background: #fff;
}
table p {
	margin: 5px 0;
}
th {
	background: #333;
	color: #fff;
}
tr h3 {
	line-height: 22px;
}
a {
	text-decoration: none;
	color:var(--wp--preset--color--secondary);
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
a:visited, a:active, a:focus {
	text-decoration: none;
	color:var(--wp--preset--color--secondary);
}
a:hover {
	color:var(--wp--preset--color--third);
	text-decoration: none;
}
em {
	font-style: italic;
}

input {
 	-moz-box-sizing: content-box; 
    -webkit-box-sizing: content-box; 
    box-sizing: content-box;
}
#searchform input[type="text"] {
	height: 20px;
	padding: 10px;
}
textarea {
	font-family: inherit;
}
i {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 0px auto 5px auto;
}
.alignright {
    float:right;
    margin: 0px 0 20px 40px;
}
.alignleft {
	float:left;
    margin: 0px 40px 20px 0;
}
.aligncenter {
    display: block;
    margin: 0px auto 10px auto;
}
a img.alignright {
    float: right;
    margin: 0px 0 20px 40px;
}
a img.alignnone {
    margin: 0px 40px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 0px 40px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption-text {
	font-size:var(--wp--preset--font-size--small);
	font-style: italic;
}
hr {
	border: 0;
	background-color: var(--wp--preset--color--secondary) !important;
	height: 1px;
	margin: 25px 0!important;
}
.gradient-one {
	background: var(--wp--preset--gradient--gradient-one);
}
.gradient-two {
	background: var(--wp--preset--gradient--gradient-two);
}

.blanc {
	background-color:  var(--wp--preset--color--blanc);
}
.color-blanc,.all-color-blanc * {
	color:  var(--wp--preset--color--blanc) !important;
}
.gris {
	background-color: var(--wp--preset--color--gris)!important;
}
.color-gris, .all-color-gris * {
	color:  var(--wp--preset--color--gris)!important;
}
.noir {
	background-color:  var(--wp--preset--color--noir)!important;
}
.color-noir, .all-color-noir * {
	color:  var(--wp--preset--color--noir)!important;
}
.primary {
	background-color:var(--wp--preset--color--primary)!important;
}
.color-primary, .all-color-primary * {
	color:  var(--wp--preset--color--primary)!important;
}
.secondary {
	background-color: var(--wp--preset--color--secondary)!important;
}
.color-secondary, .all-color-secondary * {
	color:  var(--wp--preset--color--secondary)!important;
}
.third {
	background-color: var(--wp--preset--color--third)!important;
}
.color-third, .all-color-third * {
	color:  var(--wp--preset--color--third)!important;
}
.shadow {
   	-webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}
.shadow2 {
   	-webkit-box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
	-moz-box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
	box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
}
p:first-of-type {
	margin-top: 0;
}
p:last-of-type {
	margin-bottom: 0;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// BOUTONS ET CLASS
----------------------------------------------------------------- */
.bouton, .bouton-sans, .elementor-button-wrapper{
	margin-top: 10px!important;
}
.elementor-button-wrapper {
	padding: 0!important;
}
.bouton a, input[type=submit], .elementor-button, .elementor-button-wrapper a,.elementor-button{
	position: relative !important;
	display: inline-block;
	background: var(--wp--preset--color--secondary) !important;
    font-weight: 700 !important;
	font-size: var(--wp--preset--font-size--normal) !important;
	color: var(--wp--preset--color--blanc) !important;
	border: none;
	border-radius: 5px !important;
	text-shadow:none;
	line-height: 22px!important;
	padding: 12px 22px 15px 22px!important;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.bouton a:hover, input[type=submit]:hover, .elementor-button-wrapper a:hover{
	background: var(--wp--preset--color--primary) !important;
}
.bouton2 a {
	background: var(--wp--preset--color--primary) !important;
}
.bouton2 a:hover {
	background: var(--wp--preset--color--secondary) !important;
}
.rond img {
	border-radius: 100%;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.back-image {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.elementor-slideshow__footer .elementor-slideshow__title, .e-eicon-share-arrow{
	display: none!important;
}
.relative {
	position: relative;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cap, .uppercase {
	text-transform: uppercase;
}
.no-marge {
	margin: 0;
}
.padding-bloc20 {padding: 20px}
.padding-bloc30 {padding: 30px}
.padding-bloc40 {padding: 40px}
.padding-bloc50 {padding: 50px}
.image {
	position: relative;
	margin: 0;
	line-height: 0;
}
.image img {
	width: 100%;
	height: auto;
}
.image-expand {
	width: calc(100vw - ((100vw - 1240px) / 2));
}
.transition {
     -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
#mobile-header {
	display: none;
}
.only-mobile {
	display: none !important;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// LOGO
----------------------------------------------------------------- */
#logo {
	margin: 0;
	display: inline-block;
	position: relative;
	z-index: 99;
	top: 50%;
	transform: translateY(-50%);
	left: 20px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    padding: 0px 0px 0px 0;
	line-height:0;
}
#logo a {
	display:inline-block;
	position: relative;
}
#logo img {
	width: 100px;
	position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// HEADER
----------------------------------------------------------------- */
#main {
	padding-top: 0px;
}
header#header {
	width: 100%;
	position: fixed;
	height: 90px;
	z-index: 999;
	top: 0;
	background: transparent;
    transition: all 0.3s ease-in-out;
}
 header#header.header-sticky {
    position: fixed;
    z-index: 9999;
    background: var(--wp--preset--color--primary);
    opacity: 1;
    transform: translateY(0);
}
header#header.header.header-hidden {
    opacity: 0;
    transform: translateY(-100%); 
}
header#header nav {
	position: absolute;
	width: auto;
	top:0px;
	right: 30px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
header#header nav ul {
	margin: 0;
	display:inline-block;
}
header#header nav ul li{
	display:inline-block;
	position: relative;
	list-style: none;
	margin: 0;
}
header#header nav a {
	display: inline-block;
	vertical-align: middle;
	color: var(--wp--preset--color--blanc);
	font-size:15px;
    font-weight: 400;
    text-transform: uppercase;
	position:relative;
	padding: 0px;
	margin: 0 10px;
	text-align: center;
	line-height: 90px;
}
header#header nav a:after {
	content:"";
	width:0px;
	height:1px;
	position:absolute;
	  right: 0;
	  bottom: 30px;
	  background: var(--wp--preset--color--secondary);
	  transition: width .3s ease;
	  -webkit-transition: width .3s ease;
}
header#header nav a:hover:after {
  width: 100%;
  left: 0;
}
header#header nav a:active,header#header nav a:visited, header#header nav a:focus  {
	color:var(--wp--preset--color--blanc);
	text-decoration: none;
}
header#header nav ul li.current_page_item > a, 
header#header nav ul li.current_page_parent > a,
header#header nav ul li.current-menu-ancestor > a,
header#header nav ul li.current-menu-item > a,
header#header nav ul li.current-menu-parent > a {
	color: var(--wp--preset--color--secondary);
}
#btn-contact {
	display: inline-block;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 !important;
}
#btn-contact.bouton a {
	font-size:15px !important;
	padding: 12px 20px!important;
}

header#header nav li ul {
    opacity: 0;
    position: absolute;
  	left: -25px;
  	width: auto;
    top: 120px;
    margin: 0;
    visibility: hidden;
    z-index: 99;
    -webkit-transition: all .35s ease;
       -moz-transition: all .35s ease;
        -ms-transition: all .35s ease;
         -o-transition: all .35s ease;
            transition: all .35s ease;
}
header#header nav li:hover ul {
    opacity: 1;
    top: 90px;
    visibility: visible;
}
header#header nav li ul li {
	width: 280px;
}
header#header nav li ul a  {
	display: block;
	text-align: left;
	text-transform: none;
	line-height: 24px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 10px 25px;
	font-size: 15px;
	color: var(--wp--preset--color--blanc);
	background: var(--wp--preset--color--primary);
}
header#header nav li ul a:active, #header nav li ul a:visited, #header nav li ul a:focus {
	color: var(--wp--preset--color--blanc);
	background: var(--wp--preset--color--primary);
}
header#header nav li ul a:after {
	display: none;
}
header#header nav li ul a:hover {
	background: var(--wp--preset--color--secondary);
	color: #fff;
}
header#header nav li ul li.current_page_item > a, 
header#header nav li ul li.current_page_parent > a,
header#header nav li ul li.current-menu-ancestor > a,
header#header nav li ul li.current-menu-item > a,
header#header nav li ul li.current-menu-parent > a {
	color: var(--wp--preset--color--secondary);
	background: var(--wp--preset--color--primary);
}

/* -------------------------------------------------------------- 
/////////////////////////////////// MENU HAMBURGER
----------------------------------------------------------------- */
.hamburger{
	width: 60px;
	height: 60px;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	border: 0;
	color: var(--wp--preset--color--blanc);
	margin: 0;
	overflow: visible; 
	position: absolute;
	z-index: 99991;
	top: 0px;
	right: 15px;
}
.hamburger:hover .hamburger-inner, .hamburger:hover .hamburger-inner::before, .hamburger:hover .hamburger-inner::after {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.hamburger-box {
	width: 35px;
	height: 20px;
	display: inline-block;
	top: 27px;
	left: 22px;    
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	position: relative; 
}
.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px; 
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	width: 30px;
	height: 2px;
	background-color: var(--wp--preset--color--blanc);
	border-radius: 5px;
	position: absolute;
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property: transform, -webkit-transform;
	transition-duration: 0.15s;
	transition-timing-function: ease; 
}
.hamburger-inner::before, .hamburger-inner::after {
	content: "";
	display: block;
}
.hamburger-inner::before {
	top: -10px;
}
.hamburger-inner::after {
	bottom: -10px; 
}
.hamburger--slider .hamburger-inner {
	top: 5px; 
}
.hamburger--slider .hamburger-inner::before {
	top: 10px;
	transition-property: opacity, -webkit-transform;
	transition-property: transform, opacity;
	transition-property: transform, opacity, -webkit-transform;
	transition-timing-function: ease;
	transition-duration: 0.2s; 
}
.hamburger--slider .hamburger-inner::after {
	top: 20px; 
}
.hamburger--slider.is-active .hamburger-inner {
	-webkit-transform: translate3d(0, 10px, 0) rotate(45deg);
	transform: translate3d(0, 10px, 0) rotate(45deg); background-color: var(--wp--preset--color--blanc);
}
.hamburger--slider.is-active .hamburger-inner::before {
	-webkit-transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
	transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);background-color: var(--wp--preset--color--blanc);
	opacity: 0; 
}
.hamburger--slider.is-active .hamburger-inner::after {
	-webkit-transform: translate3d(0, -20px, 0) rotate(-90deg);
	transform: translate3d(0, -20px, 0) rotate(-90deg); background-color: var(--wp--preset--color--blanc);
}
#hambmenu {
  position: fixed;
  z-index: 9999;
  background:  var(--wp--preset--color--blanc);
  top: 80px;
  right: -100px;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
  overflow-y: auto;
}
#hambmenu.open {
  opacity: 1;
  visibility: visible;
  right: 0;
}
#hambmenu .overlay-menu {
	padding: 40px 50px;
}
#hambmenu .overlay-menu div {
	position: relative;
	text-align: left;
}
#hambmenu ul {
  list-style: none;
  padding: 0; 
  margin: 0 auto;
  display: block;
  position: relative;
  height: 100%;
}
#hambmenu ul li {
  display: block;
  position: relative;
  margin: 15px 0;
  line-height: 28px;
}
#hambmenu ul li a {
	display: block;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
  	color: var(--wp--preset--color--secondary);
}
#hambmenu ul li a:focus,
#hambmenu ul li a:active {
  color:  var(--wp--preset--color--secondary);
}
#hambmenu ul li a:hover {
  color: var(--wp--preset--color--primary);
}


/* -------------------------------------------------------------- 
/////////////////////////////////// TYPO
----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 15px;
	line-height: 1.1em;
}
.typo2 {
    font-style: 700;
    font-family: var(--wp--preset--font-family--typotitre);
}
.has-small-font-size, .typo-small, .typo-small .elementor-heading-title {
	font-size: var(--wp--preset--font-size--small);
}
.has-normal-font-size, .typo-normal, .typo-normal .elementor-heading-title {
	font-size: var(--wp--preset--font-size--normal);
}
.has-medium-font-size, .typo-medium, .typo-medium .elementor-heading-title {
	font-size: var(--wp--preset--font-size--medium);
}
.has-large-font-size, .typo-large, .typo-large .elementor-heading-title {
	font-size: var(--wp--preset--font-size--large);
}
.has-big-font-size, .typo-big, .typo-big .elementor-heading-title {
	font-size: var(--wp--preset--font-size--big);
}
.has-huge-font-size, .typo-huge, .typo-huge .elementor-heading-title {
	font-size: var(--wp--preset--font-size--huge);
}
.elementor-heading-title {
	line-height: 1.05em !important;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// PAGE
----------------------------------------------------------------- */

/* -------------------------------------------------------------- 
/////////////////////////////////// VIGNETTE
----------------------------------------------------------------- */
.bloc-vignette {
	display: block;
	position: relative;
	height: 100%;
	background: #fff;
}
.content-vignette {
	padding: 25px;
}
.content-vignette h2 {
	font-size: var(--wp--preset--font-size--medium);
	margin-bottom: 10px;
}
.content-vignette p {
	margin: 10px 0;
}
.content-vignette p.dates {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--small);
	line-height: 18px;
}
.content-vignette h2 a {
	color: var(--wp--preset--color--primary);
}
.bloc-vignette .image-vignette {
	position: relative;
	z-index: 0;
	line-height: 0;
}
.bloc-vignette .image-vignette img {
	width: 100%;
	height: auto;
}
.mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
	background: rgba(44, 66, 97, .8);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
.mask:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 30px;
	height: 30px;
	background: url(img/loupe.svg) no-repeat center center;
	background-size: 25px auto;
}
.bloc-vignette:hover .mask {
	opacity: .9;
	visibility: visible;
}
.content-vignette h2 a:hover {
	color: var(--wp--preset--color--secondary);
}
#news .content-vignette h2 {
	margin-bottom: 15px;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// FOCUS
----------------------------------------------------------------- */
span.titre-focus {
	position: absolute;
	bottom: 0px;
	left: 0;
	z-index: 99;
	padding: 30px;
	font-size: var(--wp--preset--font-size--normal);
	color: var(--wp--preset--color--blanc);
}
span.titre-focus em {
	display: block;
	font-style: normal;
	font-size: 30px;
	line-height:34px;
	font-weight: 700;
}
a.bloc-focus {
	position: relative;
	display: block;
	height: 400px;
	border-radius: 0px;
}
.overlay-focus {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	border-radius: 0px;
	background: var(--wp--preset--gradient--gradient-one);
}
a.bloc-focus:hover .overlay-focus {
	opacity: .5;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// SINGLE
----------------------------------------------------------------- */
#single{
	position: relative;
}
#single .types {
	font-size: var(--wp--preset--font-size--normal);
	line-height: 18px;
}
#single .image-single {
	position: relative;
	margin: 40px 0 20px 0;
}
#single .image-single img {
	width: 100%;
	height: auto;
}
#single .date-publi {
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}
#single .wp-block-image, #single .wp-block-cover {
	margin: 40px 0;
}
.line {
	width: 40px;
	height: 1px;
	background: var(--wp--preset--color--secondary);
	margin:  0 auto;
	margin-top: 25px;
	margin-bottom: 25px;
}
.share {
	margin-top: 30px;
}
.share ul, .share ul li {
	font-size: var(--wp--preset--font-size--normal);
}
.share ul {
	margin:0;
	padding: 0;
}
.share ul li {
	display: inline-block;
	vertical-align: middle;
	margin: 0 15px;
}
.share ul li a:hover {
	opacity: .5;
}

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

footer#footer {
	padding: 30px 0px 0px 0;
	background-color: var(--wp--preset--color--noir);
}
footer#footer p {
	font-size: 16px;
	margin: 0;
	color: #fff;
}
footer#footer p.titre-footer {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin-top: 30px;
}
footer#footer a {
	color: var(--wp--preset--color--blanc);
}
footer#footer a:hover {
	color: var(--wp--preset--color--primary);
}
footer#footer hr {
	margin-bottom: 0 !important;
}
#credits {
	padding: 30px 0;
}
#credits p a {
	font-size: 12px;
	display: inline-block;
	margin-right: 30px;
	color: var(--wp--preset--color--blanc);
}
#credits p.text-right a {
	margin: 0 0 0 30px;
}
#credits p a:hover {
	color: var(--wp--preset--color--primary);
}
footer#footer .reso-footer ul {
	margin: 0;
}
footer#footer .reso-footer li {
	display: inline-block;
	margin: 0 0 0 20px;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// SEARCH
----------------------------------------------------------------- */
#search {
	width: 100%;
	height: 350px;
	position: fixed;
	top: -20px;
	left: 0;
	z-index: 999999;
	background: var(--wp--preset--gradient--gradient-one);
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s ease-in-out;
}
#search.open {
	top: 0px;
	opacity: 1;
	visibility: visible;
}
#search .close-search {
	cursor: pointer;
	display: block;
	width: 30px;
	height: 30px;
	background-image: url(img/icon-close.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:cover;
	position: absolute;
	right: 30px;
	top: 30px;
}
#search form {
	width: 70%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#search input[type="submit"] {
	display: none;
}
#search input[type="search"] {
	position: relative;
	border: 0;
	height: 100px;
	font-size: 25px;
	font-weight: 700;
	border-radius: 0px;
	color: #fff;
	width: 100%;
	background: transparent;
	padding: 0 0px;
	border-color: none;
	box-shadow: none;
	outline: 0 none;
	border-bottom: 1px solid #fff;
	-webkit-appearance: none;
}
#search input[type="search"]:focus {
	border-color: none;
	box-shadow: none;
	outline: 0 none;
	background: transparent;
}
#search form span {
	display: block;
	margin-top: 25px;
	text-align: right;
	font-size: 15px;
	color: #fff;
}
#page-search {
	padding: 40px 0;
}
#page-search .recherche {
	padding: 20px 40px;
	border-left: 4px solid var(--wp--preset--color--secondary);
}
#page-search .recherche a {
	margin-bottom: 10px;
	line-height: 28px;
	color: var(--wp--preset--color--primary);
}
#page-search .recherche a:hover {
	color: var(--wp--preset--color--secondary);
}
#page-search h2 {
	margin-bottom: 20px;
	font-size: var(--wp--preset--font-size--large);
	line-height: 30px;
}
#page-search p{
	margin: 5px 0;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// BACK TO TOP
----------------------------------------------------------------- */

#backtotop {
  display: inline-block;
  background-color: var(--wp--preset--color--secondary);
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 100%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#backtotop::after {
	content: "";
  	display:block;
  	background-image:url('img/backtotop.svg') ;
  	background-repeat: no-repeat;
  	background-position: center center;
    background-size: 17px auto;
 	height: 17px;
  	width: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#backtotop:hover {
  cursor: pointer;
  background-color: var(--wp--preset--color--primary);
}
#backtotop:active {
  background-color: var(--wp--preset--color--secondary);
}
#backtotop.show {
  opacity: 1;
  visibility: visible;
}