/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */

* { box-sizing: border-box; }

html, body {
  height:100%;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; }

body {
  font-size: 1.4rem; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 0rem;
  font-weight: 400;
  font-family: 'Archivo', sans-serif;
  color: #000;
  animation: myfadeInAnimation 2s;
  background-color: rgba(255,255,255,1);
   }

@keyframes myfadeInAnimation {
    from {opacity: 0;}
    to {opacity: 1;}
}
@-webkit-keyframes myfadeInAnimation {
    from {opacity: 0;}
    to {opacity: 1;}
}

h5{
    font-size: 1.4rem;
    font-style: italic;
    font-weight: normal;

  } 

a{
  color: #000;
}

a:hover{
  color: #000;
}

a:active{
  color: #000;
}

 .container{
  margin: 60px auto;
  height:100%;
  display: flex;
  flex-direction: column;
 } 

 .cartel{
  padding-top: 160px;
  /*background-color: #FCDCD5;*/
 }

.row-down{
     cursor: inherit;
}

#row-back{
  position: absolute;
  left:10px;
  width:150px;
  height: 50px;
  padding: 20px;
  z-index: 9999;
}

.news{
 padding: 10px;
 line-height: 1.3;
 background-color: #FFF;
 max-width: 600px;
}

.name a{
	font-size: 2.1rem;
	text-decoration: none;
  position: absolute;
  right: 25px;
  top:30px;
  z-index:999;
}

.tiret{
  padding: 0 5px;
  font-weight: bold;
}

#back-top{
    position: relative;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    width: 32px;
    height: 32px;
}


footer.home{
  position:absolute; 
  bottom:0;  /* on le colle en bas */ 
  right: 0;
  left: 0; 
  height:50px;   /* Hauteur du pied de page */
  text-align: center;
  font-size: 0.8em;

}

footer{
  position:relative; 
  width:100%; 
  height:50px;
  text-align: center;
  font-size: 0.8em;
}

.box-content{
  margin: 4px 0;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: .5s ease;
  background-color: #FFF;
  width:100%;
  height:100%;
  border-bottom: solid 0px #000;

}

.text-overlay {
  color: #000;
  font-size: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.8rem;
}

.bloc:hover .overlay {
  opacity: .8;
}

.bloc{
  position:relative;
  margin:0;
  padding:0;
}

.bloc a {
  cursor: pointer;
}

.block-column{
  margin-top: 15px;
}


/* TOOGLE MENU */

.toggle-menu {
  display: block;
  width: 26px;
  height: 26px;
  position: absolute;
  margin-right: 10px;
}

.toggle-menu span, .toggle-menu span:after, .toggle-menu span:before {
  width: 100%;
  height: 1px;
  background-color: #000;
  -webkit-transition: all .3s;
  transition: all .3s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

.toggle-menu span {
  position: relative;
  display: block;
}

.toggle-menu span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
}

.toggle-menu span:after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
}

.toggle-menu.go span {
  background-color: transparent;

}

.toggle-menu.go span:before {
  -webkit-transform: rotate(45deg) translate(-1px, 0);
  -ms-transform: rotate(45deg) translate(-1px, 0);
  transform: rotate(45deg) translate(-1px, 0);
}

.toggle-menu.go span:after {
	content: "";
  -webkit-transform: rotate(-45deg) translate(6px, -7px);
  -ms-transform: rotate(-45deg) translate(6px, -7px);
  transform: rotate(-45deg) translate(6px, -7px);
}

.tog-menu > a {
  margin-top: 20px;
  margin-right: 37px;
  position: absolute;
  top:40px;
  right:-12px;
  z-index: 9999;
}

.hidden-menu {
display: none;
position: absolute;
top:100px;
right:23px;
z-index:999;
background-color: rgba(255, 255, 255, .8);
padding: 10px 23px 12px 65px;
border-bottom: solid 0px #000;

}

.hidden-menu ul{
 list-style:none;
}

.hidden-menu ul li{
text-align: right;
font-size: 2.1rem;
margin: 4px 0;
font-weight: normal;
}

.hidden-menu a{
  text-decoration: none;
  cursor:pointer;
}

.hidden-menu a:hover{
  text-decoration: none;
  padding-bottom: 0px;
  font-style: italic;
}

.menu-un {
  padding-top: 0px;
  padding-left: 0;}

.menu-un li{
  line-height: 1.1em;}

.menu-bis a{
  color: rgba(0, 0, 0, 1);
  font-style: normal; 
}

.menu-bis a:hover{
  font-style: italic;
}

.menu-bis{
  border-top: solid 1px #000;
  padding-top: 5px;
}
.menu-bis li{
  line-height: 1.1em;}

/* Menu cat */

.tab[color="primary"] > li.active > a,
.tab[color="primary"] > li.active > a:hover,
.tab[color="primary"] > li.active > a:focus {
color: #000;
  box-shadow: 0 1px 0 #000;
  font-style: italic;
}

.menu-cat {
  /*overflow: hidden;*/
  margin-left: 10px;
  margin-top: 20px;
  font-size: 1.4rem;
}
.menu-cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-cat li {
  display: inline-block;
  height: 30px;
  line-height: 20px;
  transition: .5s linear;

}
.menu-cat a {
  text-decoration: none;
  display: block;
  position: relative;
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.3);

}
/*.menu-cat a:after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 5px;
  background: #000;
  transition: .5s linear;  
}
.menu-cat a:hover:after {width: 100%;}*/

.menu-cat a:hover {
  font-style: italic;
  color: rgba(0, 0, 0, 1);
  transition: .5s linear;}

.doc-content{
  margin: auto;
}

.titre{
	background-color: transparent;
  /*text-decoration: underline dotted;*/
}

hr{
  padding-bottom:0;
  height:1px;
  border:none;
  background-color:#000;
}

.info-text{
  line-height: 1.7rem;
  padding: 10px 20px 10px 20px;
  background-color: #FFF;
  opacity: 1;
  box-sizing: border-box;
  border: solid #000 0px;

}

.lien{
  text-decoration: underline dotted;
}

.lookat p{
  padding-left:20px;
  padding-top: 10px;
/*  font-family: 'Noto Serif', serif;*/

}

a.lookat{
  text-decoration: black wavy overline;
  outline-style:none;
}

/* SLIDER */

.slideshow-container {
  position: relative;
  display: flex;
}

.img-fluid{
  max-width: 100%;
  height:auto;
}

.fancybox-bg {
  background: rgba(255,255,255,1);
  transition-duration: inherit;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.47,0,.74,.71);
}

.fancybox-is-open .fancybox-bg {
  opacity: 1;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.fancybox-infobar {
  display: none;
  color: #FFF;
  font-size: 12px;
 }

 .fancybox-toolbar {
  left:10px;
  top:10px;
 }

.fancybox-button:hover {
  color: #000;
   
}

.fancybox-button, .fancybox-button:link, .fancybox-button:visited {
  color: #000;
}
.fancybox-button {
  background: rgba(255,255,255,0);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  height: 44px;
  margin: 0;
  padding: 10px;
  position: relative;
  transition: color .2s;
  vertical-align: top;
  visibility: inherit;
  width: 44px;
}


button.fancybox-button.fancybox-button--arrow_left{
  position: absolute;
  top:25%;
  margin: 0 0 0 0;
  height: 50%;
  width: 15%;
  color:transparent;
  padding: 0;


}

button.fancybox-button.fancybox-button--arrow_right{
  position: absolute;
  top:25%;
  margin: 0 0 0 0;
  height: 50%;
  width: 15%;
  color:transparent;
  padding: 0;

}

.fancybox-button--arrow_left{
  cursor: pointer;
  background-image: url("back.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
}

.fancybox-button--arrow_right{
  cursor: pointer;
  background-image: url("next.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
}

.fancybox-button--close{
  background: url("cross.png");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: center;
  margin-left:10px;
}

.fancybox-button--close svg{
  display: none;
}


.more-img{
  margin-top: 15px;
  float:right;
  font-style: italic;
  font-size: 1.2rem;
}

.back{
  padding-top: 20px;
}

.filet 
{ 
border-bottom: 0px solid #000; 
padding-bottom:20px;
width : 100%; 
} 

.fancybox-slide--iframe .fancybox-content {
    /*width  : 800px;
    height : 600px;*/
    max-width  : 800px;
    max-height : 600px;
    margin: 0;
}

.fancybox-image {
  background: transparent;
  border: 0;
  height: auto;
  left: 0;
  margin: 0 auto;
  max-width: 90%;
  padding-top: 3%;
  position: relative !important;
  top: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* width: 100%; */
  display: flex;
}

.fancybox-caption {
  background: rgba(255,255,255,1);
  bottom: 0;
  color: #000;
  font-size: 1.2rem;
  font-weight: normal;
  left: 0;
  line-height: 1.4;
  padding: 10px;
  pointer-events: none;
  right: 0;
  text-align: center;
  z-index: 99996;
}

.fancybox-slide--current {
    overflow: hidden !important;
  }

 .fancy img{
  margin-bottom: 15px;
 } 


/* MEDIA QUERIES */


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

.container{
  /*min-height: 100vh;*/
  display: flex;
  flex-direction: column;
  margin: 100px auto 20px auto;
  padding-left:10px;
  padding-right:10px;
} 

.menu-cat nav {overflow: visible;}

.menu-cat li {
  display: block;
  margin: 5px 0;
  height: 25px;
  line-height: 25px;}

.news{
  padding-top: 50px;}

}

.back-top{
	display: none;
}

}









