/*!
 * Theme Name: Sanoia
 * Description: Style pour Explorer 8 et -
 */

*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
}

body {
	font-family: Verdana,Geneva,sans-serif;
	/*font-family: "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;*/
	/*font-size: 140%;*/
	font-size:12px;
	line-height: 1.5;
	color: #444444;
	background-color: white;
	background:url(/wp-content/themes/sanoia/img/background.jpg) no-repeat;
	background-size:cover;
	background-attachment: fixed;
	margin: 0;
	padding: 150px 0 0 0;
	height:100%;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

a {
	color: #4eaf83;
	text-decoration: none;
}
a:focus, a:hover {
  text-decoration: underline;
}

input[type="text"],
input[type="search"] {
	font-size: inherit;
	line-height: inherit;
}

::-moz-selection {
	background-color: #04a4cc;
	color: white;
	text-shadow: none;
}

::selection {
	background-color: #04a4cc;
	color: white;
	text-shadow: none;
}

/**
 * partials/wordpress
 * ---
 * Wordpess core classes
 */
/**
 * Alignment
 */
.alignnone {
	margin: 5px 15px 15px 0;
}

.aligncenter {
	display: block;
	margin: 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
	margin: 5px 0 15px 15px;
}

.alignleft {
	float: left;
	margin: 5px 15px 15px 0;
}

/**
 * Gallery & images
 */
.wp-caption {
  background: white;
  border: thin solid #F0F0F0;
  max-width: 95%;
  padding: 5px 5px;
  text-align: center;
}
.wp-caption img {
  width: auto;
  max-width: 98.5%;
  height: auto;
  border: 0 none;
  padding: 0;
  margin: 0;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  margin: 0;
  padding: 0 5px 5px;
  font-size: 140%;
  line-height: 1.5;
}

/**
 * partials/utils
 * ---
 * Utils classes
 */
.clear:before, .clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}

.reset-box {
  padding: 0;
  margin: 0;
}

/**
 * partials/wrapper
 * ---
 */
.wrapper {
	width: 100%;
	max-width: 1030px;
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
}

.wrapper-fluid {
	width: 100%;
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
	margin-top: -20px;
}

/**
 * partial/header
 * ---
 */
/**
 * partials/nav
 * ---
 * Menus
 */
/**
 * partials/sidebar
 * ---
 */
/**
 * partials/footer
 * ---
 */
/**
 * partials/print
 * ---
 * Print version
 * (from https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css)
 */
@media print {
  *,
  *:before,
  *:after {
	background: transparent !important;
	color: #000 !important;
	/* Black prints faster: h5bp.com/s */
	box-shadow: none !important;
	text-shadow: none !important;
  }

  a,
  a:visited {
	text-decoration: underline;
  }

  a[href]:after {
	content: " (" attr(href) ")";
  }

  abbr[title]:after {
	content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
	content: "";
  }

  pre,
  blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
  }

  thead {
	display: table-header-group;
	/* h5bp.com/t */
  }

  tr,
  img {
	page-break-inside: avoid;
  }

  img {
	max-width: 100% !important;
  }

  p,
  h2,
  h3 {
	orphans: 3;
	widows: 3;
  }

  h2,
  h3 {
	page-break-after: avoid;
  }
}

a.ancre-tem
{
	display: block;
	position: relative;
	top: -135px;
	visibility: hidden;
	margin-bottom: 40px;
}

a.mwm-aal-item 
{
	display: block;
	position: relative;
	top: -100px;
	visibility: hidden;
	margin-bottom: 40px;
}

a.mwm-aal-item:first-child
{
	margin-bottom: 0;
}

.enbloc article a.mwm-aal-item:first-child
{
	top: -120px;
}

/*****************************
 * encorenous SANOIA CSS
 * --------------------------------------
 ****************************/

/**
 * EFFETS CROSS-BROWSERS
 * ---
 */
 .transparent {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  /* IE 5-7 */
  filter: alpha(opacity=70);
  /* Netscape */
  -moz-opacity: 0.7;
  /* Safari 1.x */
  -khtml-opacity: 0.7;
  /* Good browsers */
  opacity: 0.7;
}
.grayscale {
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
a img{border: none;}

.temoignage {width: 169px;margin: 0 6px 0 6px;position: relative;}
.temoignage:nth-child(4){margin-right: 0;}



/* Custom bootstrap-like */
.col {float:left;}
.col-lg-3{width: 25%;}
.col-fix-2{width: 50%;}
.tuile h2 
{
	text-transform: uppercase;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
}
/* end Custom bootstrap-like */

.contenu {width: 725px;}
#patho {float:left;width: 725px;}
aside {width: 256px; position: absolute; right: 0; top: 0px; padding-top: 0 !important;padding-bottom:160px;}

#scroll {
    position:fixed;
    right:24px;
    bottom:140px;
    cursor:pointer;
    width:56px;
    height:65px;
    background:url(/wp-content/themes/sanoia/img/retour_haut.png) no-repeat center;
    background-size: 56px 65px;
    display:none;
}

#scroll:hover {
    background:url(/wp-content/themes/sanoia/img/retour_haut_hover.png) no-repeat center;
    background-size: 56px 65px;
}
#scroll.show{display:block !important;}

.bloc-logos img{width: 40%;height:auto;}
header .logo {margin-top: 22px;float: left;}
header nav {float: right;}
header nav a:hover {text-decoration: none;}
header .btn:hover{background: #4eaf83;}
header .btn:hover a {color: #ffffff;}
header nav ul, header nav ul li {margin:0;padding:0;list-style-type: none;}
header nav ul li {float: left;}
header .btn
{
	font-size:14px;
	text-transform: uppercase;
	line-height: 17px;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	color:#606060;
	background:#d7d7d7;
	min-height: 66px;
	margin-right: 1px;
}
header .btn:last-child{margin-right:0;}
header .btn a {max-width: 150px;position: relative;}

header nav a {padding: 16px;display:block;color:#444444;}
header nav a:hover {text-decoration: none;}
header .btn.fiche {margin-left: 10px;}
header .btn.medecin a
{
	color:#ffffff;
	background:#929292;
	padding:16px 16px 16px 58px;
	max-width: 146px !important;
}

header .btn.fiche a
{
	color:#ffffff;
	background:#ffa726;
	padding:16px 16px 16px 58px;
	max-width: 164px !important;
}

.btn.fiche a:before, .btn.medecin a:before
{
	display:block;
	font-size:33px;
	font-family: FontAwesome;
	color:#ffffff;
	position: absolute;
	top: 24px;
	left: 14px;
}

.btn.fiche a:before
{
	content:"\f016";
}

.btn.medecin a:before
{
	content:"\f0f1";
}

nav.side {display: none;}
nav.side ul li
{
	list-style-type: none;
	margin: 0 0 8px 0;
	padding: 0;
	font-family: Verdana,Geneva,sans-serif;
	line-height: 14px;
}

nav.side ul
{
	margin: 0;
	padding: 0;
}

nav.side ul li a
{
	color:#666666;
	font-size: 12px;
	text-transform: uppercase;
}

nav.side i{color:#4eaf83;}

aside .enbloc
{
	padding: 18px 18px;
	margin-bottom: 20px;
}

a.sandwich {display: none;}



 /**
 * BLOCS MAJEURS
 * ---
 */

header
{
	height: 100px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background:#ffffff;
	border-bottom:20px solid #4eaf83;
	z-index: 50;
}

footer
{
	width: 100%;
	min-height: 80px;
	background:#303030;
	z-index: 50;
	margin: 30px 0 0 0;
	padding: 30px 0 30px 0;
	text-align: center;
	color:#bfbfbf;
	position:absolute;
	bottom:0;
	left:0;
}
.sidebar-widget.foot
{
	max-width: 1030px;
	margin:auto;
}
.gfoot
{
	display:inline-block;
	margin:auto;
	margin-right: 20px;
	margin-bottom: 30px;
}
.lfoot img
{
	padding-right: 10px;
}
.lfoot
{
	display:inline-block;
	margin:auto;
	max-width: 200px;
	vertical-align: top;
}

#tuiles {width: 100%;box-sizing:border-box;}

ul#liste-tuiles li
{
	list-style-type: none;
}

#tuiles ul#liste-tuiles
{
	margin: 0;
	padding: 0;
	width: 100%;
}

ul#liste-tuiles li.tuile div>p, ul#liste-tuiles li.tuile div>ul
{
	margin-top: 0;
	padding-top:0;
}

ul#liste-tuiles li.tuile
{
	padding: 12px;
	float: left;
	padding:0 6px 15px 6px;
	min-height: 50px;
}

li.tuile > div > a:hover {background-color:#484848;color:#ffffff !important;}
li.tuile > div > a:hover h2 {color:#ffffff !important;}
li.tuile > div > a {z-index: 5;}
li.tuile > div > div.texte{z-index: 4;}
li.tuile > div > div.transparent{z-index: 3;}
li.tuile > div > div.grayscale{z-index: 2;}
li.tuile > div > a, li.tuile > div > div.transparent, li.tuile > div > div.grayscale
{
	display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    text-decoration: none;
}

ul#liste-tuiles li.tuile > div
{
	position: relative;
	min-height: 190px;
	padding: 14px;
}

ul#liste-tuiles li.tuile.photo h2
{
	margin: 0;
	padding: 0 10px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
    text-align: center;
    line-height: 24px;
    /*margin-top: 70px;*/
}

ul#liste-tuiles li.tuile a h2
{
	color:inherit;
}

ul#liste-tuiles li.tuile div.texte ul
{
	padding: 0;
	margin: 0 0 0 4px;
}

ul#liste-tuiles li.tuile div.texte ul li
{
	list-style-type:none;
	padding:0;
	line-height: 20px;
}

ul#liste-tuiles li.tuile div.texte ul li a
{
	color:inherit;
}

ul#liste-tuiles li.tuile div.texte ul li:before
{
	content:"\f0c8";
	font-family: FontAwesome;
	display: inline-block;
	padding-right: 6px;
	font-size:14px;
}

.chapeau
{
	color:#ffffff;
	font-size: 14px;
	line-height: 18px;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	margin-bottom: 40px;
}
a.enbloc {display:block;text-decoration: none;}
.enbloc {background:#ffffff;}
div#main #patho .enbloc, .inpage .enbloc {padding: 35px 35px;}
.inpage {
	max-width: 725px;
}
div#main {
	position: relative;
	padding-bottom: 160px;
}
div#main.home {
	margin: 0 auto;
	max-width: 1400px;
}

aside .enbloc.orange
{
	background:#e6922b;
	color:#fff2de;
	font-family: Verdana,Geneva,sans-serif;
	margin-top: 40px;
	margin-bottom: 0;
}


 /**
 * BLOCS MINEURS
 * ---
 */
header .logo {max-width: 121px;display: block;}
header .logo img {max-width: 121px !important;height: auto;}

.temoignage .overlay 
{
	padding: 10px 8px;
	height: 100%;
	justify-content: flex-end;
	-ms-flex-pack: end;
	display: flex;
	flex-direction: column;
}
.temoignages{display:block;margin-bottom: 30px;font-family: Verdana,Geneva,sans-serif;}
.temoignage
{
	min-height: 234px;
	height: 234px;
	display: block;
	float: left;
}

.temoignage .overlay
{
	background:url(/wp-content/themes/sanoia/img/overlay_temoignage.png) repeat-x bottom;
}
.temoignage:hover{text-decoration: none;}
a.bloc-logos{color:#444444;}
.bloc-logos img
{
	margin: 0 1% 8px 0;
}
section#bloc-complements {margin-top: 30px;}
section#bloc-complements div.enbloc {padding-bottom: 60px;}

blockquote
{
	margin: 60px 0 0 100px;
}

blockquote img.alignleft
{
	margin-left:-100px;
	max-width: 80px;
	height: auto;
}

blockquote ul
{
	margin-left:-52px;
	float:left;
	max-width:400px;
	padding: 25px 25px 10px 0;
	color:#5c514b;
	font-size: 12px;
	line-height: 15px;
	font-style: normal;
}

blockquote ul li:first-child
{
	list-style-type: none;
	text-transform: uppercase;
	margin-left: -15px;
	margin-bottom: 8px;
}

a.btn-xs:before
{
	font-family: FontAwesome;
	content: "\f0fe";
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	padding-right: 5px;
	text-decoration: inherit;
}

a.btn-xs
{
	padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #fff;
    background-color: #ffa726 ;
    border-color: #ffa726 ;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

a.btn-xs:hover
{
    color: #fff;
    background-color: #404040;
    border-color: #404040;
}

.btn-md
{
	padding: 4px 8px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    color: #fff;
    background-color: #4eaf83 ;
    border-color: #4eaf83 ;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    margin-right:10px;
}

.btn-md.orange
{
	background-color: #e6922b ;
    border-color: #e6922b ;
}

.btn-md:hover, .btn-md:focus
{
    color: #fff;
    background-color: #404040;
    border-color: #404040;
    text-decoration: none !important;
}

div#bridge_plateforme {top: 100px;}
div#bridge_plateforme
{
	padding: 15px 0 50px 0;
	width: 100%;
	position: fixed;
	text-align: center;
	background-color:#000000;
	display: none;
	z-index: 20;
}

div#bridge_plateforme.active
{
	display: block;
}
div#bridge_plateforme > div
{
	padding: 5px;
	color:#ffffff;
}

div#bridge_plateforme p:first-child {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
    margin: 0;
}

div#bridge_plateforme a
{
	margin-top: 10px;
}


 /**
 * TITRES ET TEXTE
 * ---
 */

h1, h2, h3, h4, h5, p {margin: 0;padding:0;}
p {margin: 20px 0 0 0;}
ul {font-family: Verdana,Geneva,sans-serif;}
footer p{margin: 0;}
footer a{color:#dadada;}
.inpage h1 {line-height: 1.2;text-transform:none !important;}
.chapeau h1, .inpage h1
{
	font-size:38px;
	font-weight: normal;
}
.chapeau h2
{
	font-size:34px;
	font-weight: normal;
	margin-top: 25px;
	line-height: 36px;
}

.chapeau h1+p
{
	margin-top: 12px;
	font-size: 11px;
	line-height: 14px;
}

.chapeau p
{
	max-width: 542px;
	font-family: Verdana,Geneva,sans-serif; 
	text-align: justify;
	font-size: 14px;
}

.enbloc.type-page p
{
	font-family: Verdana,Geneva,sans-serif;
}

.enbloc h1, .enbloc h2, .enbloc h3, .enbloc h4, .enbloc h5
{
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}

aside .enbloc.orange p
{
	font-size: 11px;
}

aside .enbloc.orange h4+p
{
	font-size: 10px;
	color:#333333;
	margin-top: 0px;
}

aside .enbloc h4
{
	font-size: 15px;
	text-transform: uppercase;
}

.bloc-logos p {margin: 0;font-size: 11px;line-height:12px;text-align: center;}

section#bloc-complements h5
{
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	text-transform: uppercase;
	color:#ffffff;
	font-size: 25px;
	background:#4eaf83;
	padding: 10px 0 6px 35px;
	font-weight: normal;
}

.enbloc.type-page h2 {font-size:25px;line-height: 28px;color:#4eaf83;margin:0 0 20px 0;}
.enbloc.type-page p+h2 {margin-top: 40px;}
.enbloc.type-page h3 {font-size:18px;line-height: 20px;margin:0 0 10px 0;font-weight: bold;text-transform: none;}
.enbloc.type-page p+h3 {margin-top: 30px;}

blockquote p
{
	color:#ab976e;
	font-size: 12px;
	line-height: 16px;
	font-style: italic;
}

.enbloc blockquote h4
{
	text-transform: none;
	font-size: 16px;
	font-weight: bold;
}

.temoignage p{padding: 0 6px; color:#ffffff;font-size:11px;line-height: 14px;text-align:center;bottom: 15px;position: absolute;}

.en-avant {
	background: #FFF9F0;
	border-left: 10px solid #FFD28F;
	margin: 3em 15px;
	padding: 0.5em 10px;
}

.en-avant p {
	display: inline;
	color:#98733C;
}


 /**
 * 404
 * ---
 */

 article#post-404
 {
 	width: 100%;
 	max-width: 800px;
 	padding: 40px 20px;
 	font-size:16px;
 	margin:auto;
 	color:#333333;
 	text-align: center;
 	background:#ffffff;
 	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
 	text-transform: uppercase;
 }

 article#post-404 h1
 {
 	color:#ffa726;
 	font-size:20px;
 }