/*
Theme Name: Form-Eval
Theme URI: http://wordpress.org/
Description: Theme par Dix-Onze inc.
Author: Dix-Onze inc.
Version: 5.0

strppd.css by Iain MacDonald(http://iainspad.com/strppd-css/)

Based on the Meyer Reset by MeyerWeb (http://meyerweb.com/eric/tools/css/reset/)
This is a modified version with additional resetting such as setting certain elements to certain properties, as they should.
This also carries some resets for HTML5 elements i.e. the ':required' pseudo-selector, as well as resetting for mobile browsers.
Also included is some typographical styling, just to set them to their respective type styles.
Finally, there's also form and interactive element styling so forms and navigation elements look clickable.

Be sure to contribute any improvements and changes to this reset as you see fit. Have fun!

v. 1.0
License: Public Domain

*/
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, main, input, textarea  {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary, main {
	display: block;
}

/*---Universal Selector to add additional resets, such as text-size adjust and tap highlighting---*/

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
}


ol, ul {list-style-type: none;}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

/*---Additional Form resets---*/

button, input[type="button"] {
	background: none;
}

:required {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	-ms-box-shadow: none;
	box-shadow: none;
}

/*---Typographic Styling---*/

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

u {
	text-decoration: underline;
}

pre, code {
	font-family: Monaco, Courier, monospace;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}

blockquote, q {
	quotes: "" "";
}

blockquote:before, blockquote:after, q:before,	q:after {
	content: "";
}

/*---Interactive Element Settings---*/

a, input[type="submit"], input[type="button"], button, label[for] {
	cursor: pointer;
}

/* End strppd.css */

/* Proper box model */
* { }

/* General styles */

html {
	font-family: 'Muli', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;	
}

body {
	background: #222222;
}

a {	
	color: #66bc45;
	text-decoration: underline;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

a:hover {
	color: #000;
}

address {
}

aside {
}

b, strong {
}

blockquote {
}

button {
	cursor: pointer;
}
button:hover {
}

hr {
    margin: 10px auto 20px 0;
    border: 0;
    border-top: 1px solid #eee;	
	width: 60px;
    border-color: #66bc45;	
}

.cppage {
	/*min-height: 600px;*/
}

caption, th, td {
	vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
}
h2 {
    font-weight: 500;
	line-height: 1.1;
	margin: 20px 0 10px 0;
	font-size: 24px;
	font-size: clamp(22px, 2vw, 24px);
}
h1, h2.comme-h1 {
	margin: 0;
	line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
	font-size: 30px;
	font-size: clamp(28px, 2.5vw, 30px);
	color: #fff;
}
h2.a-propos {
	font-weight: 900;
    margin: 0;
	font-size: 24px;
	font-size: clamp(28px, 2.5vw, 30px);
}
h3 {
}
h4 {
}
h5 {
}
h6 {
}

i, em {
}

img {
}

input, select, textarea {
}

input[type="radio"] {
}
input[type="checkbox"] {
}
input[type="text"] {
}

label {
}

li {
}

p {
	margin-bottom: 24px;
}

select {
}
select option {
}

table {
	border: 0; border-spacing:0; empty-cells:show;
}

textarea {
	resize: none;
}

ul, ol {
	margin-left: 20px;
	margin-bottom: 24px;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}


/* Custom styles */

#entete-principale {
	width: 100%;
	position: relative;
	border-top: 8px solid #66bc45;
	background: #fff;
	padding: 30px 0 0 0;
}

#entete-info {
	position: absolute;
	top: -15px;
	right: 0;
}
#entete-info ul {
	list-style: none;
	margin: 0;
}
#entete-info ul li {
	display: inline-block;
	padding-right: 18px;
}
#entete-info ul li:last-child {
	padding-right: 0;
}
#entete-info li,
#entete-info a,
#entete-info i {
	font-size: 14px;
	font-weight: bold;
	color: #5c5c5c;
}
#entete-info i {
	font-size: 12px;
	padding-right: 4px;
}
#entete-info a {
	text-decoration: none;
}
#entete-info a:hover {
	color: #66bc45;
}

#menu-principal {
}
	#menu-principal .sf-menu {
		margin: 0;
	}
	#menu-principal li {
		background: none;
		border: none;
	}
	#menu-principal li a {
		font-size: 14px;
		color: #fff;
		font-family: 'Montserrat', sans-serif;
		text-transform: uppercase;
		font-weight: 700;
		letter-spacing: -1px;
		padding: 17px 15px 20px 15px;
		margin: 0;
		border: none;
		border-top: 3px solid transparent;
	}
	#menu-principal li a:hover {
		color: rgba(102,188,69,0.6);
	}
	#menu-principal ul li.current_page_item > a,
	#menu-principal ul li.current_page_ancestor > a {
		color: #66bc45;
		border-top: 3px solid #66bc45;
	}
	#menu-principal ul.sub-menu {
		width: 320px;
	}
	#menu-principal ul.sub-menu li.current_page_item > a {
		color: #66bc45;
		border-top: 3px solid transparent;
	}
	#menu-principal ul.sub-menu {
		background: rgba(0, 0, 0, 0.9);
		border: 0;
		border-top: none;
	}
	#menu-principal ul.sub-menu li {
		text-align: left;
		margin: 0;
		padding: 2px 12px;
	}
	#menu-principal ul.sub-menu li a {
		color: #fff;
	}
	.sf-menu ul {
		min-width: 10em !important;
	}
 	#menu-principal ul.sub-menu i {
		font-size: 14px;
		color: #fff;
		margin-right: 6px;
	}

	#menu-principal ul li.menu-item-has-children {
		position: relative;
	}
	#menu-principal li.menu-item-has-children a {
		padding-right: 25px;
	}

	#menu-principal ul li.menu-item-has-children::after {
		content: '';
		display: inline-block;
		width: 0;
		height: 0;
		vertical-align: middle;
		border-top: 5px solid #fff;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		position: absolute;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
	}
#menu-mobile {
	cursor: pointer;
	display: none;
}
#menu-mobile:before {
	font-size: 24px;
}

#entete-secondaire {
	color: #fff;
	font-weight: bold;
	line-height: 32px;
}
#entete-secondaire a {
	font-weight: normal;
	color: #fff;
	text-decoration: underline;
}

#contenu-principal {
	background: #fff;
}
#contenu-principal ul {
	margin-left: 40px;
}

#piedpage-principal {
	color: #fff;
	padding: 20px 0;
}
#piedpage-principal a:hover {
	color: #fff;
}

#diapo-accueil {
	background: #666; 
}

.centre {
	text-align: center;
}
.droite {
	text-align: right;
}

.boite {
	padding: 80px 0;
}
.boite.petite {
	padding: 40px 0;
}

.bg-gris {
	background: #222222;
}
.bg-gris-p {
	background: #818181;
}
.bg-blanc {
	background: #fff;
}

.btn-contact {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 40px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    border-color: transparent;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    padding: 10px 40px;
    background: transparent;
    border: 4px solid #ffffff;	
	background-color: #ffffff;
    color: #222222;
	text-decoration: none;
}

.btn-contact:hover {
	border-color: transparent;
    padding-left: 50px;
    padding-right: 50px;
}

.show-mobile {
	display: none;
}



.grid-indexes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr;
	grid-gap: 10px;
	position: relative;
}
.grid-indexes::before {
    content: '';
    width: 0;
    padding-bottom: 100%;
    grid-row: 1 / 1;
    grid-column: 1 / 1;
}
.grid-indexes > *:first-child {
    grid-row: 1 / 1;
    grid-column: 1 / 1;
}

.grid-indexes a {
	color: #fff;
	background: #222222;
	font-weight: 900;
	display: grid;
    align-items: center;
    justify-items: center;
	text-decoration: none;
	font-size: 30px;
	font-size: clamp(18px, 2.5vw, 30px);
}
.grid-indexes a:hover {
	background: #66bc45;
}
.grid-indexes a span {
	display: block;
}

.moitier {
	width: 50%;
	float: left;
}
.boite-image {
	background: #fafafa;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 24px;
}
.boite-image img {
	max-width: 90%;
	height: auto;
	display: block;
	margin: 0 auto;
}
.boite-image.moitier img {
	width: 100%;
	max-width: 380px;
}






/* Responsive */

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 960px) {
}

/* Mobile */
@media screen and (min-width: 901px) {
	#menu-mobile {
		display: none;
	}

	#menu-principal > ul {
		display: block !important;
	}
}
@media screen and (max-width: 900px) {
	.show-mobile {
		display: block;
	}
	
	.btn-contact {
		margin-top: 20px;
	}
	
	.cppage {
		min-height: 0;
	}
	
	#menu-mobile {
		display: block;
		color: #fff;
	}

	#menu-principal {
		padding: 20px 0;
		bottom: 40px;
	}	
	
	#entete-info {
		position: relative;
		top: auto;
		right: auto;
		padding: 20px 0;
	}
	
	hr {
		margin-left: auto;
	}
	
	#conteneur-sidebar {
		display: none !important;
	}
	
	#menu-principal ul {
		display: none;
		width: 320px;
		padding: 12px;
		background: rgba(0, 0, 0, 0.98);
		text-align: center;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		top: 64px;
		z-index: 300;
	}
	#menu-principal ul.sub-menu {
		transform: none;
		background: rgba(255, 255, 255, 0.2);
	}
	#menu-principal ul li.menu-item-has-children::after	{
		top: 18px;
    	transform: none;
	}
	#menu-principal li a {
		padding: 10px 0;
		letter-spacing: 0;
	}
	#menu-principal > ul {
		border-radius: 2px;
	}
		#menu-principal ul li {
			display: block;
			float: none;
			clear: both;
			border: 0 !important;
		}

		#menu-principal ul a {
			color: #fff;
			line-height: 1.4;
			margin: 0;
			border: 0 !important;
			text-align: center;
		}
		#menu-principal ul li a:hover:not(.active) {
			border: none;
		}	
		#menu-principal ul.sub-menu {
			position: relative;
			left: auto;
			top: auto;
			right: auto;
			box-sizing: border-box;
		}
		#menu-principal li {
			margin-left: 0;
		}
		#menu-principal ul.sub-menu:before {
			left: 75px;
		}
	.sf-menu ul {
		min-width: inherit !important;
	}

	#menu-principal ul.sub-menu {
		width: auto;
	}
	
	div[class*="grid_"] {
		width: 96% !important;
		padding-left: 2% !important;
		padding-right: 2% !important;
		float: none !important;
		clear: both !important;
		display: block !important;
		text-align: center !important;
	}
	
	div[class*="grid_"].hide-mobile,
	.hide-mobile {
		display: none !important;
	}
	li {
		list-style-position: inside !important;
	}	
}
