/*
Theme Name: CACTUS
Text Domain: CACTUS
/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


html,body {
	border: none;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	text-align: inherit;
}

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

IMG{
max-width:100%;
height:auto;
}
.featured-media{
margin:0;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* -------------------------------------------------------------------------- */

/*	1. Document Setup
/* -------------------------------------------------------------------------- */


html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: #e3e3e3;
	box-sizing: border-box;
	color: #444444;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	text-align: left;
	margin: 0;
	padding: 0;	
}

*,
*::before,
*::after {
	box-sizing: inherit;
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
	word-wrap: break-word;
}

#site-content {
	overflow: hidden;
}


/* Clearing ---------------------------------- */

.group::after,
.entry-content::after {
	clear: both;
	content: "";
	display: block;
}


/* Base Transitions -------------------------- */

a,
path {
	transition: all 0.15s linear;
}


/* Screen Reader Text ------------------------ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.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;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}


/* Skip Link --------------------------------- */

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}









.grid {
  overflow: hidden;
}
/* global styles for direct child ex. .grid3 */
.grid > * {
  display: block;
  padding: 0;
  /* gutter value */
  margin-left: -20px;
  text-align: left;
}
/* global styles for each "cell" */
.grid > * > * {
  display: inline-block;
  /* gutter value */
  padding-left: 20px;
  margin-left: 0;
  vertical-align: top;
}
/* whitespace fixing for modern browsers including IE9+ */
:root .grid {
  font-size: 0;
  /* fallback for IE9+ */
  text-justify: distribute-all-lines;
}
:root .grid > * > * {
  /* fallback for Opera Mini */
  font-size: 14px;
  font-size: 1.4rem;
}
/* Opera hack */
.opera:-o-prefocus,
.grid > * {
  word-spacing: -0.43em;
}
.grid2 > * {
  width: 50%;
}
.grid3 > * {
  width: 33.333%;
}
.grid4 > * {
  width: 25%;
}
.grid5 > * {
  width: 20%;
}
.grid6 > * {
  width: 16.667%;
}
.grid8 > * {
  width: 12.5%;
}
.grid10 > * {
  width: 10%;
}
.grid12 > * {
  width: 8.333%;
}
/* unequal grids (1-2, 2-1, 1-3 and 3-1) for 2 blocks */
.grid2-1 > *:first-child,
.grid1-2 > * + * {
  width: 66.666%;
}
.grid1-2 > *:first-child,
.grid2-1 > * + * {
  width: 33.333%;
}
.grid1-3 > *:first-child,
.grid3-1 > * + * {
  width: 25%;
}
.grid3-1 > *:first-child,
.grid1-3 > * + * {
  width: 75%;
}

@media (min-width: 481px) and (max-width: 768px) {
/* grid rwd for small screens */
  .grid3 > *,
  .grid4 > *,
  .grid5 > *,
  .grid6 > *,
  .grid8 > *,
  .grid10 > *,
  .grid12 > * {
    width: 50%;
  }
}
  
 @media (max-width: 480px) {
  /* grid rwd for tiny screens */
  .grid > * > * {
    width: 100% !important;
  }
}  

/* ------------------------------------ */
/*    CSS PERSO  */
/* ------------------------------------ */

.centrer {
width:100%;
max-width:1300px;
position:relative;
margin:0 auto;
padding:0 2%;
}
#site-content{
padding:0;
background:url(/wp-content/themes/CACTUS/assets/images/fond.jpg) no-repeat top center #e3e3e3;
}

.zone{
position:relative;
width:100%;
padding:3% 8%;
background:white;
z-index:5;
margin: 20px 0 0;
font-size:1.7rem;
text-align:justify;
}
.nettoyeur{
clear:both;
}
nav{
z-index: 40;
position: relative;
}	
/* BANDEAU HEADER */
#site-header {
background: white;
position: relative;
margin:0 auto;
padding:0;
}

.custom-logo{
display:inline-block;
width:62%;
max-width:320px;
padding:20px 20px 20px 0;
height: auto;
margin: 0 0 0 30px;
float:left;
}
.slogan {
    float: left;
    width: 328px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-left: 2px solid black;
    font-weight: 600;
    padding: 0 0 0 25px;
    margin: 31px 0 0 20px;
}

#btmenu{
display:none;
position:absolute;
right:20px;
top:20px;
color:#007481;
border:1px solid #007481;
padding:5px;
text-decoration:none;
}
/* MENU NAVIGATION  ---------------------------------- */
.reset-list-style{
margin:0;
}
.reset-list-style LI{
list-style:none;
}
.menu_primaire{
margin:0;
padding:0;
background:#007481;
position: relative;
}
.menu_primaire li{
margin:0;
padding:0;
display: inline;
position: relative;
}

.menu_primaire a {
display:inline-block;
color: white !important;
line-height: 1.2;
text-decoration: none;
word-break: normal;
word-wrap: normal;
text-transform:uppercase;
font-family: 'Roboto Condensed', sans-serif;
letter-spacing: 2px;
font-size: 2.2rem;
padding:20px;
font-weight:bold;
}
.menu_primaire a:hover{
background:white;
color:black !important;
text-decoration:none;
}

.menu_primaire .current_page_ancestor{
text-decoration:none;
}
.menu_primaire li.current-menu-item > a{
text-decoration:none;
box-shadow: white 0 -1px inset;
background:transparent;
color:white !important;
}
.menu_primaire .icon{
display:none;
}

ul.sub-menu{
display:none;
position:absolute;
width: 31rem;
top: 33px;
left:0;
border-radius:0;
background:black;
}
.menu_primaire a:hover ul.sub-menu{
display:block !important;
position:absolute;
}

ul.sub-menu li{
margin:1rem 2rem;
display:block;
}
ul.sub-menu a{
display:inline;
font-size:2rem;
text-transform:none;
font-weight:normal;
letter-spacing: 0;
padding:0 0 6px 0;
line-height:1.5;
animation: popIn both 0.3s 0.2s;
font-weight:medium;
}

ul.sub-menu a:hover{
box-shadow: #cc1305 0 -1px inset;
background:transparent;
color:white !important;
}
ul.sub-menu li.menu-item-has-children:hover > ul,
ul.sub-menu li.menu-item-has-children:focus > ul,
ul.sub-menu li.menu-item-has-children.focus > ul {
	left: 0;
	}


	
#recherche{
display:none;width:100%;
height:90px;
text-align:center;
padding:20px;
}	

/* MENU PRINCIPAL SMARTPHONE   ---------------------------------- */
.menu-modal{
display:none;
background:#007481;
width:100%;
padding:15px 0 30px 0;
}
.menu-modal A{
display:block;
color:white !important;
padding:5px 15px;
font-size:1.8rem;
font-weight:600;
text-transform:uppercase;
text-decoration:none;
cursor:pointer;
}
.menu-modal .sub-menu-toggle{display:none;}

.menu-modal ul.sub-menu{
position:relative;
width:100%;
top: 0px;
left: 17px;
}
.menu-modal ul.sub-menu a{
text-decoration:none;
font-size:1.5rem;
}

.menu-modal .menu_secondaire{
position:relative;
right:0;
padding:20px;
}

.bloc_recherche_menu{
position: absolute;
bottom: -1px;
right: 37px;
}

/* MENU PIEDS DE PAGE   ---------------------------------- */
#site-footer{
position: relative;
top: -50px;
color:white;
font-weight: 500;
}
.menu_pieds{
margin:0;
padding:0;
}

.menu_pieds  li{
display: inline-block;
}
#site-footer  .menu_pieds A{
display: inline-block;
color: white !important;
font-size:2rem;
text-decoration: none;
margin:5px 20px 5px 0;

}
#site-footer  .menu_pieds A:hover{
box-shadow: white 0 -1px inset;
text-decoration: none;
}
#site-footer A{
display: inline-block;
color: white !important;
margin:2rem 3rem;
text-decoration: none;
}

#site-footer {
margin-top: 30px;
background:transparent;
}
.bandeau_blanc{
height:180px;
}

/* TITRAGE et TEXTE---------------------------------- */

H1, H1.entry-title{
position:relative;
font-size:5rem;
margin: 40px 0 30px 0;
}
H1.blanc{
color:white;
text-align:center;
font-size:5.5rem;
font-weight:700;
text-transform:uppercase;
}
.home_intro{
color:white;
max-width:1000px;
margin:0 auto 30px auto;
text-align:center;
font-size:2.3rem;
}
H2{
margin:4rem 0 1.2rem 0;
font-size:3.2rem;
color:#007481;
text-align:left;
}
H3{
margin:2rem 0;
color:#18988b;
text-align:left;
}
H4{
font-weight:bold;
font-size:3.5rem;
text-transform:uppercase;
margin:2rem 0;
}
p{
margin:1rem 0;
line-height: 1.4;
}


.btfb,.bttw{
display:inline-block;
cursor:pointer;
margin: 0 0 -10px 0;
width:32px;
height:32px;
background: url(/wp-content/themes/CACTUS/assets/images/sprite.png) no-repeat 0px 0px
}
.bttw{
background: url(/wp-content/themes/CACTUS/assets/images/sprite.png) no-repeat -29px 0px
}

A.lien_auteur{
text-decoration:underline;
}
.texte{
font-size:1.9rem;
margin:0 0 3rem 0;
max-width:1000px;
}

A{
text-decoration:none;
color:#007481;
}
A:hover{
text-decoration:underline;
color:#007481;
}
A:visited{
text-decoration:underline;
color:#0f4f57;
}

figcaption{
font-size:1.1rem;
margin:
}
.alignright {
margin: .5em 0 .5em 2em !important;
}
.alignleft{
margin: .5em 2em .5em 0 !important;
}
/* PAGINATION   --------------------------------- */
.pagination{
text-align:center;
}
.pagination A{
color:gray;
border:1px solid gray;
display:inline-block;
padding:1rem;
margin:2rem;
font-size:2rem;
text-decoration:none;
}


.lien_bloc{
display:block;
text-decoration:none;
color:#444444;
margin:20px 0 0 0;
}
.lien_bloc:hover{
text-decoration:none;
color:#444444;
}
.lien_bloc .interne{
display:block;
position:relative;
background:#f6f6f6;
padding:20px;
min-height:250px;
margin: 0 0 40px 0;
}
div:nth-child(n)>.lien_bloc .interne{
border-bottom:12px solid #18988b;
}
div:nth-child(3n-1)>.lien_bloc .interne{
border-bottom:12px solid #aada91;
}
div:nth-child(3n)>.lien_bloc .interne{
border-bottom:12px solid #f2e275;
}
div:nth-child(n)>.lien_bloc .interne:after{
content: "Read more";
text-align: right;
text-transform: uppercase;
color: #18988b;
background: url(/wp-content/themes/CACTUS/assets/images/p1.png) no-repeat 10px center white;
position: absolute;
bottom: -49px;
right: 20px;
font-weight: 600;
font-size: 1.8rem;
padding: 0 0 0 81px;
}
div:nth-child(3n-1)>.lien_bloc .interne:after{
content: "Read more";
text-align: right;
text-transform: uppercase;
color: #aada91;
background: url(/wp-content/themes/CACTUS/assets/images/p2.png) no-repeat 10px center white;
position: absolute;
bottom: -49px;
right: 20px;
font-weight: 600;
font-size: 1.8rem;
padding: 0 0 0 81px;
}
div:nth-child(3n)>.lien_bloc .interne:after{
content: "Read more";
text-align: right;
text-transform: uppercase;
color: #f2e275;
background: url(/wp-content/themes/CACTUS/assets/images/p3.png) no-repeat 10px center white;
position: absolute;
bottom: -49px;
right: 20px;
font-weight: 600;
font-size: 1.8rem;
padding: 0 0 0 81px;
}

.vignette, .vignette_medium{
width:100%;
}
.vignette IMG{
width: 100%;
height: auto;
}

.titre{
font-size:2.3rem;
margin:10px 0 0.5rem 0;
line-height: 1;
color:#007481;
text-transform:uppercase;
font-weight:500;
}

.introduction{
font-size:1.9rem;
}
.pintroduction{
font-size:1.4rem;
margin:9px 0 0 0;
}
.auteurs{
font-size:1.5rem;
margin:0;
display:inline-block;
}

.tag,.ptag, .bloc_tag A{
display:inline-block;
text-transform:uppercase;
text-decoration:none;
color:black;
border-bottom:1px solid #d94e44;
font-size: 2.5rem;
background:white;
padding:1px 5px;
margin: 9px 0 0 0;
}

/* PAGE RECHERCHE ---------------------------------- */
.bouton, .bouton_download{
display:inline-block;
margin:10px;
padding:10px;
color:white;
background:#007481;
text-decoration:none;
text-align:center;
font-weight:600;
text-transform:uppercase;
}
.bouton_download{
width:100%;
margin:10px auto;
}
.bouton:hover, .bouton_download:hover{
background:#18988b;
text-decoration:none;
color:white;
}
.bouton:visited, .bouton_download:visited{
background:#007481;
text-decoration:none;
color:white;
transform:none;
}

/* FORMULAIRE  ---------------------------------- */
label {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
}
.selectmenu SELECT{
	 background: transparent;
	width: 120%;
	padding: 0 0 5px 0;
	line-height: 1;
	border: 0;
	border-radius: 0;
	height: 28px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;  
}
div.selectmenu{
	display:inline-block;
	position:relative;
	top:15px;
	margin:5px;
	padding:0;
	width:100%;
	max-width: 300px;
	height: 30px;
	overflow: hidden;
	background: url(/wp-content/themes/CACTUS/assets/images/sprite.png) no-repeat 0 -280px white;
	border-bottom:2px solid black;
}
SELECT{
font-size:1.5rem;}
INPUT{
border:1px solid #555555;
width:100%;
max-width:600px;
height:40px;
margin:5px;
padding:5px 10px;
}
INPUT[type=submit]{
border:0 none;
color:white;
max-width:300px;

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

#btmenu{display:block;
cursor:pointer;
}
#site-header nav, .outils_header,.menu_secondaire{display:none;
}
}


@media screen and (max-width: 757px) {
.bandeau_blanc{
height:300px;
}
.custom-logo{
float: none;
padding: 20px 20px 0 0;
}
.slogan {
    float: none;
    width: 90%;
    margin: 1px 0 0 40px;
	padding:0 0 15px 15px;
}
}



@media screen and (max-width: 600px) {
.header-titles-wrapper {
    padding: 10px;
}
H1{
font-size:4rem !important;
}
.legende_carte p{
display:block;
margin:0;
}
.bloc_chiffre{margin:15px 0;
}
.lien_biblio{
margin:5px 0;
padding:5px 10px;
}

#site-footer A {
margin: 2rem 0rem;
}
A.page-numbers, .page-numbers{display:none;}
A.next, A.prev{display:inline-block;}

.home_intro{
text-transform:none;
font-size:1.5rem;
}
.alignleft{
width:100%;
}
}
