/*
Theme Name: ODS
Author: Planète Communication
Author URI: https://www.planete-communication.fr
Version: 1
*/

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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}





@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}




* {
	border: 0px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
body {
	background: #000000;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 120%;
	color: #000000;
	-webkit-font-smoothing: antialiased;
}
button {
	font-family: 'Poppins';
}
img {
	max-width: 100%;
	border: 0px;
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 120%;
	margin: 10px 0px;
	font-weight: bold;
}
h1 {
	font-size: 36px;
	margin: 0px 0px 30px 0px;
	text-align: center;
	font-weight: 300;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 20px;
}
a:focus {
	outline: none;
}
a {
	color: #000000;
  	text-decoration: underline;
}
p {
	margin: 10px 0px;
	line-height: 150%;
}
ul, ol {
	margin: 10px 0px 10px 15px;
}
ul ul, 
ol ol, 
ul ol, 
ol ul {
	margin: 0px 0px 0px 30px;
}
li {
  	line-height: 150%;
}
sup {
    font-size: smaller;
    vertical-align: text-bottom;
}
#nested .smart-menu {
	display: none;
}
#nested {
	position: relative;
	height: 60px;
	z-index: 2;
}
#nested .firstLevel {
	height: 60px;
	margin: 0px;
	text-align: center;
}
#nested .firstLevel li {
	position: relative;
	display: inline-block;
	height: 60px;
	transition: 0.25s opacity;
}
#nested .firstLevel li a {
	display: block;
	height: 60px;
	line-height: 60px;
	color: #000000;
	padding: 0px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
}
#nested .firstLevel li a span {
	display: block;
	height: 60px;
	line-height: 60px;
}
#nested .firstLevel li ul {
	position: absolute;
	width: 260px;
	height: 0px;
	background: #FFFFFF;
	margin-left: -130px;
	margin-top: -20px;
	box-shadow: 0px 4px 10px -4px rgba(0, 0, 0, 0.3);
	left: 50%;
	top: auto;
	overflow: hidden;
	opacity: 0;
	transition: 0.3s;
}
#nested .firstLevel > li:hover > ul {
	height: auto;
	opacity: 1;
	margin-top: 0px;
	padding: 0;
}
#nested .firstLevel li ul li {
	display: block;
	height: auto;
	padding: 0 10px;
	border-bottom: 1px solid #EDEDED;
	transition: 0.4s;
}
#nested ul.firstLevel li ul li:hover {
	background: #F7F7F7;
}
#nested .firstLevel li ul li:last-child {
	border-bottom: none;
}
#nested .firstLevel li ul li a {
	height: auto;
	padding: 15px 10px;
	line-height: 120%;
	font-size: 14px;
    font-weight: 400;
    text-transform: inherit;
    text-align: left;
}
#nested .firstLevel li ul li a span {
	display: inline;
	height: auto;
	line-height: 120%;
}
#nested ul.firstLevel:hover > li {
    opacity: 0.5;
}
#nested ul.firstLevel:hover > li:hover {
    opacity: 1;
}
#wrapper ul li {
	position: relative;
}
#wrapper ul li:before {
	content: '';
	width: 6px;
	height: 6px;
	background: #1c984c;
	position: absolute;
	border-radius: 50%;
	top: 8px;
	left: -15px;
	margin: auto;
}
#page {
	position: relative;
	background: #FFFFFF;
	overflow: hidden;
}
header {
	position: fixed;
	width: 100%;
	height: 120px;
	z-index: 2;
	transition: 0.3s;
	background: #FFFFFF;
}
header.scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#headerInner {
	position: relative;
	width: 100%;
	height: 100%;
}
#logo {
	position: relative;
}
#headerBoxes {
	position: absolute;
    right: 100px;
    top: 30px;
	z-index: 3;
}
/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/
#wrapper {
	position: relative;
	background: #FFFFFF;
	z-index: 1;
}
#wrapperInner {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	padding: 80px 0px 0px 0px;
}
#container {
	position: relative;
	margin: 0px 0px 100px 0px;
}
#contentsInner {
	position: relative;
}
#headerBoxes p {
	margin: 0;
	line-height: 1;
}
body.home #wrapperInner {
	padding: 0;
}
.grecaptcha-badge {
	visibility: hidden;
}
html, body {
	scroll-behavior: smooth;
}
iframe {
	max-width: 100%;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}
body.home #container {
    margin: 0px;
}




/* ---------------------------- STRUCTURES ET STYLES DES PAGES INTÉRIEURES ---------------------------- */

#chapterPicture {
	padding-top: 120px;
	height: 20vw;
	position: relative;
}
#chapterPicture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.title_and_bc {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 0 5%;
}
.title_and_bc h1 {
    font-size: 55px;
	margin-bottom: 15px;
}
.widget_breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
}
.widget_breadcrumb a:hover {
	text-decoration: underline;
}
.widget_breadcrumb {
    font-size: 14px;
}
#chapterPicture > .title_and_bc:first-child {
    background: #000000;
}
body:not(.home) h2,
body:not(.home) h3 {
	margin-bottom: 15px;
}


/* ------- Passage à menu burger ------- */
@media (min-width: 1050px) {
	#nested ul.firstLevel > li.hidden_on_desktop {
		display: none;
	}
}
@media (max-width: 1050px) {
	header div #nested {
		width: 40px;
		height: 40px;
		top: 20px;
		right: 20px;
	}
	header div #nested .contentSmart {
		width: 100%;
		height: 100%;
		cursor: pointer;
		z-index: 25;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#nested .firstLevel {
		text-align: left;
		background: #000000;
		width: 100%;
		position: fixed;
		right: -100%;
		transition: 0.7s;
		opacity: 0.3;
		top: 0;
		height: auto;
		bottom: 0;
		padding: 50px 0;
		overflow-y: auto;
		overflow-x: hidden;
	}
	body.menu_open #nested .firstLevel:after, 
	body.menu_open #nested .firstLevel:before {
		content: '';
		height: 55px;
		background: linear-gradient(0deg, #000000, transparent);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0px;
		opacity: 0;
		pointer-events: none;
		transition: 0.3s;
	}
	body.menu_open.animation_delai #nested .firstLevel:after, 
	body.menu_open.animation_delai #nested .firstLevel:before {
		opacity: 1;
	}
	body.menu_open #nested .firstLevel:before {
		bottom: auto;
		top: 0;
		z-index: 20;
		background: linear-gradient(180deg, #000000, transparent);
	}
	body.menu_open #nested .firstLevel {
		right: 0;
		opacity: 1;
	}
	#nested ul.firstLevel:hover > li {
		opacity: 1;
	}
	header div #nested .contentSmart span {
		width: 25px;
		height: 2px;
		background: #000000;
		display: block;
		border-radius: 3px;
		position: relative;
		top: 0;
		transition: 0.5s;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 6px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		transform: rotate(45deg);
		top: 8px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(2) {
		opacity: 0;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		transform: rotate(-45deg);
		top: -8px;
	}
	body.menu_open header div #nested .contentSmart > span {
		background: #FFFFFF;
	}
	#nested ul.firstLevel li a {
		font-size: 18px;
		height: auto;
		line-height: 1;
	}
	#nested .firstLevel li a span {
		line-height: 1.3em;
		height: auto;
	}
	#nested ul.firstLevel > li.menu-item-has-children {
		margin-right: 0;
	}
	#nested .firstLevel li {
		height: auto;
	}
	#nested ul.firstLevel > li {
		margin: 0 0 30px 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
    	padding-left: 30px;
	}
	#nested ul.firstLevel > li:last-child {
		margin-bottom: 0;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a {
		position: relative;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
		content: '';
		display: inline-block;
		height: 0;
		width: 0;
		border-top: 5px solid #FFFFFF;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		pointer-events: none;
		position: absolute;
		right: -11px;
		top: 9px;
	}
	#nested .firstLevel li a {
		color: #FFFFFF;
	}
	#nested .firstLevel li ul,
	#nested .firstLevel > li:hover > ul {
		position: relative;
		height: auto;
		opacity: 1;
		background: none;
		box-shadow: none;
		margin: 10px 0 0px 10px;
		padding: 0;
		left: 0;
		width: auto;
	}
	#nested ul.firstLevel > li > ul > li {
		padding: 0;
		margin: 0;
	}
	#nested .firstLevel li ul li {
		border: none;
	}
	body.menu_open {
		overflow: hidden;
	}
	#nested .firstLevel li ul {
		display: none;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > ul {
		display: block;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > a:after {
		transform: rotate(180deg);
	}
	#nested ul.firstLevel li ul li:hover {
		background: none;
	}
}
@media (max-width: 1200px) {
	.title_and_bc h1 {
		font-size: 40px;
	}
	#chapterPicture {
		height: 25vw;
	}
}
@media (max-width: 1050px) {
	#chapterPicture {
		height: auto;
	}
	#chapterPicture img {
		position: absolute;
		top: 0;
		left: 0;
	}
	body:not(.home):not(.error404) .title_and_bc {
		position: relative;
		padding: 5%;
		top: 0;
	}
	.title_and_bc h1 {
		font-size: 36px;
	}
}





@media (max-width: 500px) {
	header div #nested .contentSmart span {
		width: 22px;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 5px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		top: -6px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		top: 8px;
	}
	#nested ul.firstLevel > li {
		max-width: 90vw;
		padding-left: 15px;
	}
	#nested ul.firstLevel li a {
		font-size: 15px;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
		right: -5px;
		top: 8px;
	}
	#nested ul.firstLevel li ul li a {
		font-size: 14px;
	}
	body {
		font-size: 16px;
	}
	.title_and_bc h1 {
		font-size: 32px;
		margin-bottom: 20px;
	}
	.widget_breadcrumb {
		font-size: 13px;
	}
	body:not(.home):not(.error404) .title_and_bc {
		padding: 35px 7.5%;
	}

}




/* -------------------- BLOC REQUETE - Pour faire comme une page actu en requetant un CPT par ex. ---------------------- */

#wrapper .wp-block-query > ul {
    margin: 0;
}
#wrapper .wp-block-query > ul > li {
	margin-bottom: 80px;
}
#wrapper .wp-block-query > ul > li:before {
	display: none;
}
#wrapper .wp-block-query > ul > li a.wp-block-read-more {
    margin-top: 7px;
}
#wrapper .wp-block-query > ul > li img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
#wrapper .wp-block-query > ul > li h2 {
	margin-top: -5px;
}
#wrapper .wp-block-query > ul > li h2 a {
	text-decoration: none;
	color: red;
}
#wrapper .wp-block-query > ul > li h2 a:hover {
	text-decoration: underline;
}



























































/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------ NOM DU SITE ------------------------------------------ */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */





/* boutons */
body.error404 article a,
#wrapper a.wp-block-button__link,
#wrapper div.wpforms-container-full button[type=submit] {
	border-radius: 0;
	display: inline-block;
	background: #1c984c;
	color: #FFFFFF;
	padding: 12px 20px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: 0.3s;
	border: none;
	font-size: 16px;
	height: auto;
	box-shadow: none;
	width: auto;
}
body.error404 article a:hover,
#wrapper a.wp-block-button__link:hover,
#wrapper div.wpforms-container-full button[type=submit]:hover {
	background: #000000 !important;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}






.has-noir-color { color: #000000 !important; }
.has-noir-background-color { background-color: #000000 !important; }

.has-blanc-color { color: #FFFFFF !important; }
.has-blanc-background-color { background-color: #FFFFFF !important; }

.has-gris-color { color: #F4F4F4 !important; }
.has-gris-background-color { background-color: #F4F4F4 !important; }

.has-vert-color { color: #1c984c !important; }
.has-vert-background-color { background-color: #1c984c !important; }
