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

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */
@font-face {
    font-family: 'bodoni';
    src: url('/wp-content/themes/james/assets/fonts/BODONISTD-BOLDITALIC.woff') format('woff'), url('/wp-content/themes/james/assets/fonts/BODONISTD-BOLDITALIC.otf') format('otf');
}
@font-face {
    font-family: 'brown';
    src: url('/wp-content/themes/james/assets/fonts/BROWNSTDREGULAR.woff') format('woff'), url('/wp-content/themes/james/assets/fonts/BROWNSTDREGULAR.otf') format('otf');
}
@font-face {
    font-family: 'brownBold';
    src: url('/wp-content/themes/james/assets/fonts/BROWNSTDBOLD.woff') format('woff'), url('/wp-content/themes/james/assets/fonts/BROWNSTDBOLD.otf') format('otf');
}
html,
body {
	border: none;
	margin: 0;
	padding: 0;
	height:100%;
	position:relative;
}

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: white;
	box-sizing: border-box;
	color: #000;
	font-family:'brown',arial;
	font-size: 1.5rem;
	text-align: left;
}


*,
*::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:1400px;
padding:0 20px;
position:relative;
margin:0 auto;
}
#site-content{
padding:20px 4rem;
}
#logo-site{
display:inline-block;
width: 76%;
max-width: 382px;
}
#principal{
width:100%;
height:100%;
display:grid;
grid-template-columns: 1fr 1fr;
}
#principal1 {
margin:140px 0 0 0;
text-align:center;
}
#principal1bis {
padding:170px 3% 0 3%;
text-align:center;
position:sticky;
}
#principal1bis IMG{
max-height: calc(100vh - 240px);
width:auto;
border:1px solid #F0F0F0;
}
#principal2{
background:#f6f1eb;
padding:10px 10%;
}

.liste{
width:100%;
margin:50px 0 0 0;
display:grid;
grid-template-columns: 1fr 1fr;
row-gap:20px;
column-gap:20px;
}
.liste div{
padding:0 !important;
}

div.vignette_centrale{
background:#fdfef7 !important;
padding:20px !important;
margin:0 0 15px 0;
}

.lien_article{
text-decoration:none;
color:black;
font-weight:bold;
text-align:center;
display:block;
margin: 0 0 20px 0;
}

.legende{
color:#999999;
font-size:1.3rem;
}


.nettoyeur{
clear:both;
}
nav{
z-index: 40;
position: relative;
}	
/* BANDEAU HEADER */
#site-header {
position:fixed;
top:0;
left:0;
padding:40px 20px;
width:50%;
height: 140px;
background: #000000;
margin:0 auto;
z-index:10;
text-align: center;
}

#btmenu{
position: relative;
width: 31px;
top: -4px;
margin: 0 15px 0 0;
cursor: pointer;
display: inline-block;
}
.color-accent, .color-accent-hover:hover, .color-accent-hover:focus, :root .has-accent-color, .has-drop-cap:not(:focus)::first-letter, .wp-block-button.is-style-outline, a {
    color: black;
}
/* MENU NAVIGATION  ---------------------------------- */
.reset-list-style{
margin:0;
}
.menu_primaire{
right:100%;
position:absolute;
transition: all 0.5s linear;
height:100vh;
width:100%;
background:black;
text-align:left;
padding: 50px 0;
}
.menu_primaire ul{
margin: 0 auto;
width:440px;
}
.menu_ouvert{
right:0%;
}
.menu_primaire li{
margin:0;
padding:0;
display: inline;
position: relative;
}

.menu_primaire a {
display:block;
position:relative;
color: white !important;
line-height: 1.4;
text-decoration: none;
word-break: normal;
word-wrap: normal;
text-transform:uppercase;
 font-family: 'brownBold';
letter-spacing: 2px;
font-size: 1.8rem;
padding:11px 20px;
font-weight:normal;
}
.menu_primaire a:hover:after
{content:'';position:absolute;height:1px;background:white;width: 80px;
bottom: 9px;
left: 20px;
}

.menu_primaire .current_page_ancestor{
text-decoration:none;
}

.menu_primaire li.current-menu-item > a:after
{content:'';position:absolute;height:1px;background:white;width:80px;bottom:0;left: 0px;
}
.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;
	}

.outils_header{
position:absolute;
right: 4px;
top: -8px;
z-index:50;
}	
	
#recherche{
width: 48px;
height: 32px;
position: relative;
top: 18px;
left: 4px;
display:inline-block;
}	
	
.legende_carte{
text-align:center;
font-family: 'Roboto Slab', sans-serif;
}
.legende_carte p{
display:inline;
}
.legende_carte img{
display:inline;
}

.carre{
width:15px;
height:15px;
border:1px solid black;
display:inline-block;
margin:0 10px 0 30px;
}
/* MENU PRINCIPAL SMARTPHONE   ---------------------------------- */
.menu-modal{
display:none;
background:black;
width:100%;
padding:15px 0 30px 0;
}
.menu-modal A{
display:block;
color:white;
padding:5px 15px;
font-size:1.8rem;
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;
}
/* MENU SECONDAIRE   ---------------------------------- */
.menu-modal.show-modal {
    display: block;
	background: black;
}
.menu_secondaire{
position:absolute;
right:20px;
top:108px;
margin:0;
}

#menu-secondaire-1{
display:block !important;
top:0;
}
.menu_secondaire LI{
list-style:none;
}
.menu_secondaire A{
color: white !important;
font-size:1.5rem;
text-decoration: none;
padding:3px;
}
.menu_secondaire A:hover{
box-shadow: #cc1305 0 -1px inset;
text-decoration: none;
}

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

/* MENU PIEDS DE PAGE   ---------------------------------- */
.footer-top-hidden #site-footer{
text-align:center;
margin-top: 15px;
padding:20px 30px 0 30px;
color:white;
background:black;
}
.menu_pieds{
margin: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;

}
#site-footer  .menu_pieds A:hover{
box-shadow: #cc1305 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;

}

/* HOME PAGE  ---------------------------------- */
#lienactu{
position:absolute;
width:240px;
left:calc(50% - 120px);
top: calc(100vh - 40px);
background:#f6f1eb;
border-radius:20px 20px 0 0;
padding:10px 40px;
font-size:2rem;
font-weight:normal;
font-family:'bodoni';
text-align:center;
letter-spacing:1px;
}


/* TITRAGE et TEXTE---------------------------------- */
H1, H1.entry-title{
position:relative;
text-transform:uppercase;
font-size:3rem;
letter-spacing:1px;
margin:0 0 20px 0;
text-align:center;
letter-spacing: 2px;
font-weight: normal;
}
H1.rubrique{
position:relative;
font-family: 'bodoni';
text-transform:none;
font-size:5rem;
margin:0 0 50px 0;
padding: 25px 0 45px 0;
text-align:center;
border-bottom:1px solid black;
}
H1.grandtitre{
font-family: 'bodoni';
font-size:3.8rem;
padding:40px 0;
border-bottom:1px solid white;
border-top:1px solid white;
text-align:center;
text-transform: none;
margin: 60px 20px 70px 20px;
}
H2{
position:relative;
font-family: 'bodoni';
font-size: 3rem;
letter-spacing: 2px;
margin: 0 0 50px 0;
padding: 35px 0 56px 0;
text-align:center;
border-bottom:1px solid black;
color:black;
text-decoration:none;
font-weight: normal;
}
H3{
margin:2rem 0;
}
H4{
border-top:1px solid black;
font-weight:bold;
font-size:2rem;
text-transform:uppercase;
margin:70px 0 0 0;
padding:35px 0 0 0;
}
p{
margin:1rem 0;
	line-height: 1.5;
}
.texte{
padding:0 4%;
}
.outils{
position:absolute;
right:0px;
top:100%;
background:white;
display:inline-block;
font-size:1.5rem;
font-weight:normal;
padding:0 20px;
margin-top: -14px;
}
.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
}




/* 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;
}



/* PAGE RECHERCHE ---------------------------------- */
.bouton{
display:inline-block;
margin:10px;
padding:10px;
color:white;
background:red;
}
.lien_recherche{
display:inline-block;
position:relative;
text-transform:uppercase;
text-decoration:none;
color:black;
border-bottom:1px solid #d94e44;
font-family: 'Roboto Condensed', sans-serif;
font-size: 1.5rem;
background:white;
padding:1px 5px;
margin: 9px 0 0 20px;
}
.lien_recherche:before{
content:" ";
background: url(/wp-content/themes/CACTUS/assets/images/pucerouge.png) no-repeat center center;
position:absolute;
left:-20px;
width:20px;
height:20px;
}
.lien_biblio{
display:block;
margin:1.5rem 0;
padding:2rem;
color:black;
text-decoration:none;
background:#eeeeee;
}
.lien_biblio .titre{
font-size:2rem;
}
.doc_date{
display:inline-block;
border:1px solid #ff8272;
color:#ff8272;
padding:2px 5px;
margin:0 3px;
font-size:1.3rem;
}
.doc_tag{
display:inline-block;
border:1px solid #00a19a;
color:#00a19a;
padding:2px 5px;
margin:5px 3px 0 3px;
text-transform:uppercase;
font-size:1.3rem;
}
.doc_tag_langue{
display:inline-block;
background:white;
text-decoration:none;
color:black;
padding:2px 5px;
margin:5px 3px 0 3px;
text-transform:uppercase;
font-size:1.3rem;
border-radius:15px;
}
.doc_lien_langue{
display: list-item;
list-style: square;
margin: 1px 0 2px 18px;
}

.doc_bouton{
display:inline-block;
background:white;
border-bottom:2px solid white;
padding:3px 6px;
margin:15px 5px 0 0;
text-decoration:none;
color:black;
cursor:pointer;
}
.doc_bouton:hover{
border-bottom:2px solid #cc1305;
}
.doc_bouton_active{
border-bottom:2px solid black;
}

.doc_detail{
background:white;
padding:1.5rem;
margin:2rem 0;
display:none;
font-family: 'Roboto Slab', serif;
font-size:1.6rem;
}
/* PAGE FAQ ---------------------------------- */
.faq{
display:block;
margin:10px;
padding:15px;
color:black;
background:#D0D0D0;
text-decoration:none;
cursor:pointer;
}
.reponse{
margin:10px;
padding:15px;
color:#666666;
background:white;
text-decoration:none;
border:1px solid #666666;
}



/* 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;
font-family:'Roboto Slab', arial;
}



@media screen and (max-width: 700px) {
	.menu_primaire ul{
	margin: 0 0 0 7%;
	}

	#btmenu{
	display:inline-block;
		width: 28px;
		top: -2px;
	}
	#lienactu{
	display:none;
	}
	#site-header nav{
	display:block;
	}
	#site-header {
    padding: 20px 20px;
    width: 100%;
	height: 110px;
	}
	#principal{
	width:100%;
	display:block;
	}
	#principal1{
	margin: 110px 0 0 0;
	padding:190px 0 0 0;
	}
	#principal1bis{
	margin: 0;
	padding:70px 10px 10px 10px!important;
	border-top:1px solid white;
	}
	#principal1bis IMG{
	max-width:90%;
	max-height:350px;
	width:auto;
	}
	#principal2 {
    padding: 10px 1%;
	}	
	H1.rubrique {
    font-size: 3.5rem;
    margin: 0 0 30px 0;
    padding: 15px 0 20px 0;	
	}
	H2 {
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
    padding: 10px 0 20px 0;
	}	
	.liste{
	display:block;
	}
	TR, TD{
	display:block;
	margin:30px auto;
	width:100%;
	}
}

