/*!
Theme Name: greg_anim
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: greg_anim
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/****** BASE *********/
html {line-height: 1.15;-webkit-text-size-adjust: 100%;box-sizing: border-box;}
body {	margin: 0;background: #fff;}
main {	display: block;}
h1 {	font-size: 2em;	margin: 0.67em 0;}
hr {box-sizing: content-box;	height: 0;	overflow: visible;background-color: #ccc;
	border: 0;	height: 1px;margin-bottom: 1.5em;}
pre {	font-family: monospace, monospace;	font-size: 1em;}
a {	background-color: transparent;}
abbr[title] {border-bottom: none;text-decoration: underline;text-decoration: underline dotted;}
b,strong {	font-weight: bolder;}
code,kbd,samp {	font-family: monospace, monospace;font-size: 1em;}
small {	font-size: 80%;}
sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
sub {bottom: -0.25em;}
sup {top: -0.5em;}
img {border-style: none;}
button,input,optgroup,select,textarea {font-family: inherit;font-size: 100%;line-height: 1.15;margin: 0;}
button,input {overflow: visible;}
button,select {text-transform: none;}
button,[type="button"],[type="reset"],[type="submit"] {-webkit-appearance: button;}
button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner {	border-style: none;	padding: 0;}
button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;}
fieldset {padding: 0.35em 0.75em 0.625em;}
legend {box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal;}
progress {vertical-align: baseline;}
textarea {	overflow: auto;}
[type="checkbox"],[type="radio"] {box-sizing: border-box;padding: 0;}
[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {-webkit-appearance: textfield;	outline-offset: -2px;}
[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {	-webkit-appearance: button;font: inherit;}
details {display: block;}
summary {display: list-item;}
template {display: none;}
[hidden] {display: none;}
*,*::before,*::after {box-sizing: inherit;}
body,button,input,select,optgroup,textarea {color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;line-height: 1.5;
}
h1,h2,h3,h4,h5,h6 {clear: both;}
p {margin-bottom: 1.5em;}
dfn,cite,em,i {font-style: italic;}
blockquote {	margin: 0 1.5em;}
address {	margin: 0 0 1.5em;}
pre {background: #eee;font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;margin-bottom: 1.6em;max-width: 100%;overflow: auto;padding: 1.6em;}
code,kbd,tt,var {	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;}
abbr,acronym {border-bottom: 1px dotted #666;cursor: help;}
mark,ins {background: #fff9c0;text-decoration: none;}
big {font-size: 125%;}
ul,ol {margin: 0 0 1.5em 3em;}
ul {list-style: disc;}
ol {list-style: decimal;}
li > ul,li > ol {margin-bottom: 0;margin-left: 1.5em;}
dt {font-weight: 700;}
dd {margin: 0 1.5em 1.5em;}
embed,iframe,object {max-width: 100%;}
img {height: auto;max-width: 100%;}
figure {margin: 1em 0;}
table {margin: 0 0 1.5em;width: 100%;}
a {color: #4169e1;}
a:visited {color: #800080;}
a:hover,a:focus,a:active {color: #191970;}
a:focus {outline: thin dotted;}
a:hover,a:active {outline: 0;}
button,input[type="button"],input[type="reset"],input[type="submit"] {
	border: 1px solid;border-color: #ccc #ccc #bbb;border-radius: 3px;
	background: #e6e6e6;color: rgba(0, 0, 0, 0.8);line-height: 1;padding: 0.6em 1em 0.4em;}

button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;}
button:active,button:focus,input[type="button"]:active,input[type="button"]:focus,
input[type="reset"]:active,input[type="reset"]:focus,input[type="submit"]:active,
input[type="submit"]:focus {border-color: #aaa #bbb #bbb;}

input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],
input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],
input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],
textarea {color: #666;border: 1px solid #ccc;border-radius: 3px;padding: 3px;}

input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,
input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,
input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,
input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,
textarea:focus {color: #111;}
select {border: 1px solid #ccc;}
textarea {width: 100%;}
.main-navigation {display: block;width: 100%;}
.main-navigation ul {display: none;list-style: none;margin: 0;padding-left: 0;}
.main-navigation ul ul {box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);float: left;
	position: absolute;top: 100%;left: -999em;z-index: 99999;}
.main-navigation ul ul ul {left: -999em;top: 0;}
.main-navigation ul ul li:hover > ul,.main-navigation ul ul li.focus > ul {
	display: block;left: auto;}
.main-navigation ul ul a {width: 200px;}
.main-navigation ul li:hover > ul,.main-navigation ul li.focus > ul {left: auto;}
.main-navigation li {position: relative;}
.main-navigation a {display: block;text-decoration: none;}
.menu-toggle,.main-navigation.toggled ul {display: block;}
.site-main .comment-navigation, .site-main .posts-navigation,.site-main .post-navigation {margin: 0 0 1.5em;}
.comment-navigation .nav-links,.posts-navigation .nav-links,.post-navigation .nav-links {display: flex;}
.comment-navigation .nav-previous,.posts-navigation .nav-previous,.post-navigation .nav-previous {flex: 1 0 50%;}
.comment-navigation .nav-next,.posts-navigation .nav-next,.post-navigation .nav-next {
	text-align: end;flex: 1 0 50%;}
.sticky {display: block;}
.post,.page {margin: 0 0 1.5em;}
.updated:not(.published) {display: none;}
.page-content,.entry-content,.entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both;margin: 0 0 1.5em;}
.comment-content a {word-wrap: break-word;}
.bypostauthor {display: block;}
.widget {margin: 0 0 1.5em;}
.widget select {max-width: 100%;}
.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley {
	border: none;	margin-bottom: 0;margin-top: 0;padding: 0;}
.custom-logo-link {	display: inline-block;}
.wp-caption {margin-bottom: 1.5em;max-width: 100%;}
.wp-caption img[class*="wp-image-"] {display: block;margin-left: auto;margin-right: auto;}
.wp-caption .wp-caption-text {margin: 0.8075em 0;}
.wp-caption-text {	text-align: center;}
.gallery {margin-bottom: 1.5em;display: grid;grid-gap: 1.5em;}
.gallery-item {display: inline-block;text-align: center;width: 100%;}
.gallery-columns-2 {grid-template-columns: repeat(2, 1fr);}
.gallery-columns-3 {grid-template-columns: repeat(3, 1fr);}
.gallery-columns-4 {grid-template-columns: repeat(4, 1fr);}
.gallery-columns-5 {grid-template-columns: repeat(5, 1fr);}
.gallery-columns-6 {grid-template-columns: repeat(6, 1fr);}
.gallery-columns-7 {grid-template-columns: repeat(7, 1fr);}
.gallery-columns-8 {grid-template-columns: repeat(8, 1fr);}
.gallery-columns-9 {grid-template-columns: repeat(9, 1fr);}
.gallery-caption {display: block;}
.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer {display: none;}
.infinity-end.neverending .site-footer {display: block;}
.screen-reader-text {border: 0;clip: rect(1px, 1px, 1px, 1px);clip-path: inset(50%);
	height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute !important;
	width: 1px;word-wrap: normal !important;}
.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;clip-path: none;color: #21759b;display: block;font-size: 0.875rem;
	font-weight: 700;height: auto;left: 5px;line-height: normal;padding: 15px 23px 14px;
	text-decoration: none;top: 5px;width: auto;z-index: 100000;}
#primary[tabindex="-1"]:focus {outline: 0;}

/***************************************************/
/***************************************************/
/******************* Greg'anim02 *******************/
/***************************************************/
/***************************************************/

:root{
	font-size: 14px;
}

html {
	scroll-behavior: smooth;
}
  
body {
	margin: 0;
	padding: 0;
	width: 100%;
	color:#000;
	font-family: Arial;
}

.page {
	margin: 0;
}
  
.site-header {
	background-color: #2470ff;
	display: flex;
	padding: 15px;
	height: 130px;
	position: sticky;
  	top: 0px;
	z-index: 1000;
}

.menu-toggle {
	display: none;
  }

.site-header .custom-logo-link {
	display: inline;
}

.site-header .custom-logo-link img {
	max-height: 100px;
	max-width: unset;
	width: auto;
}

.site-header .menu .logo_header {
	max-width: 120px;
	height: 100%;
}

.site-header .main-navigation {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.site-header .main-navigation>div{
	width: 100%;
}

.site-header .menu {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	font-size: 1.5rem;
	align-items: center;
}

.site-header .menu li {
	list-style-type: none;
	font-family: "Spicy Rice", serif;
	border-radius: 5px;
	padding: 10px;
	margin: 0 10px;
}

.site-header .menu li a{
	color: white;
	text-decoration: none;
}

.site-header .menu li a:hover {
	color: #ffaf00;
}
  
.site-header .menu .contact a:hover {
	color: white;
}
  
nav {
	display: flex;
}
  
.contact {
	background-color: #ffaf00;
	height: 50%;
}

.contact:hover {
	background-color: #063e69;
	cursor: pointer;
}
  
.carrousel {
	width: 50%;
	min-width: 50%;
	overflow: hidden;
}

.carrousel img {
	margin-left: 50%;
	transform: translateX(-50%);
}
  
.titre_accueil {
	text-align: center;
	padding: 75px 100px;
	background: #fdedcb;
}

.titre_accueil h1{
	font-family: Spicy Rice;
	font-size: 2.5rem;
	color: #000;
}
  
.description_accueil {
	display: flex;
	flex-direction: row;
}
  
.video {
	position: relative;
}

.video_accueil {
	position: relative;
	height: 62vh;
	width: 100%;
	min-height: 600px;
}

.video_accueil video {
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
}
  
.cadre {
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 70%;
	top: 21vh;
	left: 0vh;
	opacity: 0.8;
	background-color: black;
	color: white;
}
  
#citation1 {
	text-align: center;
}
  
#citation2 {
	text-align: center;
}

.description_accueil {
	background-color: #2470ff;
}

.descriptif_accueil {
	font-family: Arial;
	color: white;
	padding: 50px 25px;
	background-color: #2470ff;
	line-height: 2.5rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.4rem;
	min-width: 50%;
}
  
.footer {
	background-color: #ffaf00;
}

.footer .info_footer{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	padding: 50px 25px 30px 25px;
}

.footer .footer_donnees {
	display: flex;
	flex-direction: column;
	font-family: Spicy Rice;
	line-height: 40px;
	font-size: 1.6rem;
	align-items: center;
	width: 25%;
	padding: 0 15px;
	text-align: center;
	justify-content: center;
	color: #000;
}

.footer .footer_donnees .footer_logo {
	width: 50%; 
}

.footer .footer_donnees .RS {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.footer .footer_donnees .RS img {
	width: 20%;
	max-width: 150px;
}

.footer .formulaire_footer {
	width: 60%;
}

.footer .formulaire_footer h2 {
	font-family: Spicy Rice;
	font-size: 2rem;
	text-align: center;
}

.footer .formulaire_footer textarea {
	resize: none;
	width: 100%;
	padding: 10px;
	border-radius: 6px;
	border: none;
	font-family: Arial;
	font-size: 1rem;
	max-height: 150px;
}

.footer .formulaire_footer textarea:focus {
	outline: solid 2px #2470ff;
}

.footer .formulaire_footer input {
	width: 100%;
	padding: 10px;
	border-radius: 6px;
	border: none;
	font-family: Arial;
	font-size: 1rem;
}

.footer .formulaire_footer input:focus {
	outline: solid 2px #2470ff;
}

.footer .formulaire_footer input[type=submit] {
	width: 50%;
	padding: 8px 12px;
	font-family: Spicy Rice;
	align-content: center;
	background: #2470ff;
	color: white;
	border-radius: 20px;
	box-shadow: 0px 5px 5px rgba(0, 72, 208, 0.4588235294);
	text-shadow: none;
	cursor: pointer;
	font-size: 1.3rem;
}

.footer .formulaire_footer .one_half {
	width: calc(50% - 0.5rem);
}

.footer .formulaire_footer .one_half p {
	margin-bottom: unset;
}

.footer .formulaire_footer .content-column_group {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.footer .formulaire_footer {
	text-align: center;
}

.wpcf7-spinner {
	position: absolute;
	background-color: #2470ff;
	margin-top: 5px;
}

.footer .formulaire_footer input[type=submit]:hover {
	background: #063e69;
	border-radius: 20px;
	box-shadow: 0px 5px 5px #2470ff;
	text-shadow: none;
}

.pied_page {
	padding: 10px;
	background-color: #0D46AC;
	font-family: Arial;
	font-size: 0.9rem;
	display: flex;
	flex-direction: row;
	color: #fff;
	justify-content: center;
}

.pied_page #mentions-legales {
	display: flex;
	flex-direction: row;
	text-decoration: none;
	list-style-type: none;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.pied_page a{
	color: #fff;
}

.pied_page a:hover{
	color: #ffaf00;
}
  
.lien_bas {
	display: flex;
	flex-direction: column;
	color: black;
	text-decoration: none;
	list-style-type: none;
	font-family: Spicy Rice;
}
  
.form_connect {
	display: flex;
	width: 60vh;
}
  
#contacts {
	text-align: center;
	font-family: Spicy Rice;
	padding-top: 20px;
	font-size: 3.5rem;
}
  
.mentions {
	padding-bottom: 5px;
	text-decoration: none;
	list-style-type: none;
	color: white;
}
  
.chiffres_accueil {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	font-family: Spicy Rice;
	margin: 8% 10%;
	color: #000;
	flex-wrap: wrap;
}
  
.icone_1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 25%;
}
  
.icone_1 img {
	width: 20vh;
	height: 55%;
	width: 50%;
}
  
.chiffres_accueil  span {
	font-size: 4.2rem;
	text-align: center;
}
  
.stat {
	width: 50%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
  
.text_stat {
	text-align: center;
	font-size: 1.4rem;
}
  
.icone_1 {
	transform: scale(1);
	transition: 0.3s ease-in-out;
}
  
.icone_1:hover {
	transform: scale(1.2);
}
  
.element_group {
	display: flex;
	flex-direction: row;
	width: 100%;
}

.element_group:nth-child(2n) {
	flex-direction: row-reverse;
}

.element_group_text {
	margin-bottom: 1rem;
}
  
.element_group_text_bloc {
	width: 50%;
	background-color: #2470ff;
	color: white;
	font-family: "Arial";
	text-align: center;
	padding: 8% 3%;
	height: 70vh;
	font-size: 1.4rem;
}

.element_group_text_bloc h2{
	font-family: Spicy Rice;
	font-size: 2rem;
}

.element_group_photos {
	display: flex;
	flex-direction: row;
	justify-content: center;
	cursor:pointer;
	flex-wrap: wrap;
}

.element_group_photos img {
	width: 110px;
	margin: 5px;
}

.element_group_pp {
	width: 50%;
}

.texte_info{
	padding: 5%;
}

/*************************************/
/************ MEDIA QUERIES **********/
/*************************************/
@media (max-width: 899px){
	.site-header .menu {
		font-size: 1.25rem;
	}

	.element_group_text_bloc {
		height: 100vh;
	}
}


@media (max-width: 767px){
	:root{
		font-size: 12px;
	}

	.site-header {
		justify-content: space-between;
		height: 75px;
		position: relative;
	}

	.site-header .custom-logo-link img {
		max-height: 50px;
	}	  

	.menu-toggle {
		display: unset;
	  }

	.main-navigation {
		width: unset;
	}

	.main-navigation .menu-menu-principal-container{
		display: none;
	}

	.main-navigation.toggled .menu-menu-principal-container{
		display: block;
		position: absolute;
		left: 0;
		top: 75px;
		background-color: #2470ff;
		padding-bottom: 20px;
	}

	.menu-toggle{
		border: unset;
		background:unset;
		border-radius: unset;
		-webkit-appearance:unset ;
		font-size: 2rem;
		color:#fff;
		cursor:pointer;
	}

	.video_accueil {
		height: 25vh;
		min-height: 100px;
	}

	.titre_accueil {
		padding: 50px 25px;
	  }

	.description_accueil {
		flex-direction: column;
	}

	.carrousel{
		width: 100%;
	}

	.descriptif_accueil, .chiffres_accueil, .footer .info_footer  {
		padding: 25px ;
		margin: 0;
	}

	.footer .info_footer {
		flex-direction: column-reverse;
	}

	.footer .formulaire_footer {
		width: 100%;
	}

	.footer .footer_donnees {
		width: 100%;
	}

	.footer .footer_donnees .footer_logo {
		width: 33%;
	}

	.element_group_text_bloc {
		height: unset;
	}

	.element_group_photos img {
		width: 75px;
	}
}

@media (max-width: 630px){
	.icone_1 {
		width: 50%;
		padding-bottom: 25px;
	}

	.footer .formulaire_footer .one_half {
		width: 100%;
	}

	.footer .formulaire_footer .content-column_group {
		flex-direction: column;
	}
}

@media (max-width: 480px){
	.element_group_pp {
		display: none;
	}

	.element_group_text_bloc {
		width: 100%;
	}

	.element_group_photos {
		cursor: initial;
	}

	.element_group_photos img {
		width: 150px;
	}

	.element_group:nth-child(2n) .element_group_text_bloc {
		background-color: #fdedcb;
		color: #000;
	}
}