/* CSS Document */
@media (max-width: 1000px) {
*{
box-sizing: border-box;
}
}

html {
height: 100%;
}

body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
font-family: Raleway, Arial, serif;
font-size: 18px;
color: #f6f6f6; /*blanc gris*/
background-color: #616161; /*gris moyen*/
}

table {
padding: 0;
margin: 0;
border: none;
}

a img {border: none;}

a:link {
text-decoration: none;
color: #27a7de; /*bleu logo */
border: none;
}

a:visited {
text-decoration: none;
color: #27a7de; /*bleu logo */
border: none;
}

a:hover {
text-decoration: none;
color: #27a7de; /*bleu logo */
border: none;
}

a:active {
text-decoration: none;
color: #27a7de; /*bleu logo */
border: none;
}

a.gris {
color: #505050;
}

h1 {
font-size: 36px;
font-weight: bold;
color: #27a7de; /*bleu logo */
}

h2 {
font-size: 36px;
font-weight: bold;
color: #27a7de; /*bleu logo */
margin-top: 0.67em;
margin-bottom: 0.67em;
}

h3 {
font-size: 18px;
font-weight: bold;
color: white;
margin: 0;
padding: 0;
line-height: 1;
}

h4 {
font-size: 16px;
font-weight: bold;
color: #505050; /*gris foncé*/
margin: 0;
padding: 0;
line-height: 1;
}

.titre-bleu {
color: #064b79; /*bleu */
}

/* ######################### SPAN ######################### */


.bleu {
color: #2948CF;
}

.vert {
color: #156603;
}

.rouge {
color: #9F0101;
}

.orange{
color: #ff9900;
}

.violet{
color: #221357;
}

.noir{
color: #000000;
}

.blanc{
color: white;
}

.gris {
color: #7e7e7e;
}

.grisfonce {
color: #505050;
}

.souligner {
text-decoration: underline;
}

.gras {
font-weight: bold;
}

.italique {
font-style: italic;
}

.px16 {
font-size: 16px;
}

.px14 {
font-size: 14px;
}

.px10 {
font-size: 10px;
}

.line-height16 {
line-height: 11pt;
}


/* ######################### CLASS ######################### */


.padding-t10 {
padding-top: 10px;
}

.padding-t20 {
padding-top: 20px;
}

.padding-t50 {
padding-top: 50px;
}

.padding-t60 {
padding-top: 60px;
}

.padding-t120 {
padding-top: 120px;
}

.padding-r10 {
padding-right: 10px;
}

.padding-r20 {
padding-right: 20px;
}

.padding-r30 {
padding-right: 30px;
}

.padding-l10 {
padding-left: 10px;
}

.padding-l20 {
padding-left: 20px;
}

.padding-l30 {
padding-left: 30px;
}

.margin-r30 {
margin-right: 30px;
}

.margin-l30 {
margin-left: 30px;
}

.margin-l100 {
margin-left: 100px;
}

.margin-l155 {
margin-left: 155px;
}

.margin-l200 {
margin-left: 200px;
}

.border {
border: 1px solid #000000;
}

.center {
text-align: center;
}

.align-r {
text-align: right;
}

.align-l {
text-align: left;
}

.vertical-align-t {
vertical-align: top;
}

.hidden {
visibility: hidden;
}

.clear {
clear: both;
}


/* ######################### TEMPLATE ######################### */


#main {
position: relative;
margin-left: auto;
margin-right: auto;
max-width: 1800px;
min-height: 100%;
border-left: 1px solid #d2d2d2; /*gris clair */
border-right: 1px solid #d2d2d2;
background-color: #333333; /*gris foncé */
}

.main600 {
min-width: 600px;
}

.main900 {
min-width: 950px; /*mettre 912px pour avoir la bonne largeur pour les smartphones
}

#header {
position: relative;
background-color: #2b2b2a; /*gris très foncé header*/
}

#headertop {
position: relative;
height: 65px;	
}

#signature {
position: absolute;
top: 50%;
margin-top: -30px; /*prendre la moitié de la hauteur pour aligner verticalemeent*/
left: 20px;
}

.logo {
height: 40px;
}

#logo-position {
position: absolute;
top: 50%;
margin-top: -21px; /*prendre la moitié de la hauteur pour aligner verticalemeent*/
left: 300px;
}

#barre-menu {
position: absolute;
top: 50%;
margin-top: -18px;
right: 32px;
font-family: Arial;
font-size: 15px;
}

#headerimage {
position: relative;
width: 100%;
height: auto;
}

/*Top mais change un peu la suite du contenu à cause du padding-bottom
#header-header {
position: relative;
height: 0;
padding: 0;
padding-bottom: 41.1%;
background-image: url(../image/header-amed.jpg);
background-position: center center;
background-size: 100%;
background-repeat: no-repeat;
}
*/

#corps {
position: relative;
margin-left: auto;
margin-right: auto;
max-width: 1200px;
min-width: 950px;
min-height: 400px;
padding: 35px 10px 0px 10px;
line-height: 1.5;
}

#footer {
position: relative;
background-color: #454545; /*gris foncé clair*/
margin-top: 100px;
height: 65px;
}

#copyright {
position: absolute;
top: 50%;
margin-top: -10px; /*prendre la moitié de la hauteur pour aligner verticalemeent*/
left: 40px;
font-size: 16px;
color: white;
}

#switch-styles {
position: absolute;
top: 50%;
margin-top: -10px; /*prendre la moitié de la hauteur pour aligner verticalemeent*/
left: 340px;
font-size: 16px;
}

#switch-styles2 {
position: absolute;
top: 50%;
margin-top: -10px; /*prendre la moitié de la hauteur pour aligner verticalemeent*/
left: 527px;
font-size: 16px;
}

a.lien {
color: white;
}

#reseaux-sociaux {
position: absolute;
top: 50%;
margin: -14px;
right: 47px;
}

#logo-social1 {
float: left;
height: 26px;
}

#logo-social2 {
float: left;
height: 26px;
margin-left: 15px;
}

#logo-social3 {
float: left;
height: 32px;
margin-top: -3px;
margin-left: 12px;
}

#logo-social4 {
height: 45px;
margin-top: -5px;
}

#logo-social5 {
height: 45px;
margin-left: 15px;
}

#logo-social6 {
position: relative;
height: 48px;
margin-left: 15px;
top: 2px;
}


/* ######################### TEMPLATE MENU ######################### */


#primary_nav_wrap ul {
list-style-type: none;
position: relative;
float: left;
margin: 0;
padding: 0;
}

#primary_nav_wrap ul li {
position: relative;
float: left;
border-right: 1px solid #6a6a6a;
}

#primary_nav_wrap ul li:last-child {
border-right: none;
}

#primary_nav_wrap ul a {
display: inline-block;
color: white;
text-align: center;
/*padding: top right bottom left*/
padding: 8px 16px;
text-decoration: none;
}

#primary_nav_wrap ul li:hover {
background-color: #9bbe4b; /*vert*/
}

#primary_nav_wrap ul li a:hover {
color: black;
}

#primary_nav_wrap li:hover .dropbtn {
color: black;
}

#primary_nav_wrap ul ul {
display: none;
position: absolute;
background-color: #f6f6f6; /*gris clair*/
/*f9f9f9;*/
top:100%;
left: 0;
/*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
z-index: 1;
}
	
#primary_nav_wrap ul ul li {
border-right: none;
float: none;
min-width: 150px;
}
	
#primary_nav_wrap ul ul a {
text-align: left;
color: black;
padding: 8xp 16px;
}

#primary_nav_wrap ul ul li:hover {
background-color: #eeeeee; /*gris clair moyen*/
}

#primary_nav_wrap ul ul ul {
top: 0;
left: 100%;
}

#primary_nav_wrap ul ul ul li {
min-width: 170px;
}

#primary_nav_wrap ul li:hover > ul {
display: block;
}

#primary_nav_wrap .active {
color: #9bbe4b; /*vert*/
}


/* ######################### PAGE ######################### */


.gallerie-ligne {
clear:both;
padding-top:50px;
}

.gallerie-ligne:first-child {
padding-top: 50px;
}

.gallerie-case {
float: left;
width: 50%;
text-align: center;
}

.gallerie-case:first-child {

}

.gallerie-image {
border: 20px solid #f6f6f6; /*gris clair*/
/* v2 - > pad 20px et border 2px solid #f6f6f6; */
}

.gallerie-image-shop {
padding: 5px 5px 5px 5px;
border: 1px solid #f6f6f6; /*gris très foncé */
}

.verti {
height: 400px;
//width: 280px;
}

.hori {
width: 450px;
}

.gallerie-image:first-child {

}

.width-30 {
width: 30%;
}

.width-40 {
width: 40%;
}

.width-50 {
width: 50%;
}

.width-60 {
width: 60%;
}

.width-70 {
width: 70%;
}

.width-80 {
width: 80%;
}

.ligne {
clear:both;
padding-top:50px;
}

.bloc {
float: left;
box-sizing: border-box;
}

.bloc-center {
float: left;
text-align: center;
box-sizing: border-box;
}

.bloc-img {
float: left;
width: 50%;
text-align: right;
box-sizing: border-box;
}

.bloc-txt {
float: left;
width: 50%;
text-align: left;
box-sizing: border-box;
}

.verti300 {
height: 300px;
}

.hori350 {
width: 350px;
}

.hori550 {
width: 550px;
}

.hori1000 {
width: 1000px;
}

.div-center {
margin: auto;
width: 400px;
}

.div-center2 {
margin: auto;
width: 800px;
}

.div-img {
position: absolute;
left: 50%;
margin-top: -40px;
}

.div-img2 {
position: relative;
left: 60%;
margin-top: -40px;
}

#input {
background-color: #eeeeee;
border: none;
font-size: 18px;
padding: 8px 8px 8px 8px;
}

.input2 {
background-color: #eeeeee;
border: none;
font-size: 18px;
padding: 3px 3px 3px 3px;
}

#input-send {
font-size: 18px;
font-weight: bold;
color: #064b79;
background-color: white;
border: 2px solid #064b79; /*bleu */
padding: 7px 15px 7px 15px;
cursor:pointer;
-webkit-border-radius: 4px;
}

#input-send:hover {
background-color: #eeeeee;
}

/* ######################### SLIDESHOW ######################### */

.mySlides {
	display: none;
}

.buttons {
	position:absolute;
	left: 50%;
	bottom: 20px;
}

/* Next & previous buttons */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
}
/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 10px;
	width: 10px;
	margin: 0 2px;
	background-color: transparent;
	border-radius: 50%;
	border: 1px solid white;
	display: inline-block;
	transition: background-color 0.6s ease;
}
.active2, .dot:hover {
	background-color: white;
}
/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 0.5s;
	animation-name: fade;
	animation-duration: 0.5s;
}
@-webkit-keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}