/*-------------------------------------------
			OTHERS
-------------------------------------------*/
.debug {
  font-size: 0.8rem;
	font-family: "Open Sans", sans-serif;
  
	position: relative;
  display: block;
  background-color: grey;

  width: fit-content;
  padding: 5px;
  border: 1px solid #000;
}

/*-------------------------------------------
			Body
-------------------------------------------*/
body{
	background-color: rgb(240, 240,240);
}

#main-sous-section {
	position: absolute;
  top: 81px;
  left: 0px;
  right: 0px;
	background-color: rgb(240, 240,240);
}

/*-------------------------------------------
			SOUS MENU in block
-------------------------------------------*/
.SousMenuInBlock{
	position: relative;
	display: inline-block;

	padding: 0px;
	padding-top: 20px;
	padding-bottom: 20px;

	margin: 2px;
}

.SousMenuInBlock .itemsA{
	position: relative;
	display: inline-block;

	font-family: RobotoSlab_medium;
	width: fit-content;

	color: black;

	padding: 5px;
	margin: 2px;

	padding-left: 10px;
	padding-right: 10px;
	
	border: 1px solid #000;
	background-color: rgb(0,0,0,0.15);
	cursor: pointer;
}
.SousMenuInBlock .itemsA:visited{
	color: black;
}
.SousMenuInBlock .itemsA:hover{
	background-color: white;
	color: black;
}

.SousMenuInBlock .btGal:hover:visited{
	color: black;
}


/*-------------------------------------------
			BLOCKS
-------------------------------------------*/
.blocks {
  margin: 0 auto;
  max-width: 1000px;
  padding: 30px;
	padding-top: 0px;

  /*
	border: 1px solid #000;
	*/
	background-color: white;
	min-height: 100%;
	height: auto;

	padding-bottom: 20px;

	box-shadow: 0px 0px 10px 3px rgb(0,0,0,0.15);

	margin-bottom: 20px;
}

/*-------------------------------------------
			BLOCK TEXT
-------------------------------------------*/
.block_text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: RobotoSlab_regular;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*-------------------------------------------
			BLOCK BUTTON
-------------------------------------------*/
.block_button {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: RobotoSlab_medium;
  font-weight: 400;
  font-style: normal;

	margin-top: 20px;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.block_button a{
	transition: 0.3s;
	padding: 5px;
	font-weight: 600;
	color: black;

	background-color: white;
	border: 1px solid #000;
}

.block_button a:hover{
	padding: 5px;
	font-weight: 600;
	color: white;

	background-color: black;
	border: 1px solid #000;
}

/*-------------------------------------------
			BLOCK PDF
-------------------------------------------*/
.block_pdf {
	margin-top: 20px;
	margin-bottom: 20px;

	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.frame-pdf{
	width: 100%;
	border: 1px solid #000;
	border-bottom: 3px solid #000;
}
/*-------------------------------------------
			BLOCK AUDIO
-------------------------------------------*/
audio {
	width: 100%;
	margin-bottom: 1px;
	overflow: hidden;
}

/*-------------------------------------------
			BLOCK QUOTE
-------------------------------------------*/
.block_quote {
  font-size: 1.7rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: RobotoSlab_extraLight_italic;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  border-left: solid 2px #000;
}

.block_quote footer{
	margin-top: 20px;
	margin-bottom: 10px;
}

.block_quote em{
	font-size: 1rem;
	font-style: normal;
	line-height: 1.5;
	color: #999;
	font-family: RobotoFlex_regular;
	font-weight: 600;
}

/*-------------------------------------------
			BLOCK IMAGE
-------------------------------------------*/
.block_image {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  overflow: hidden;

	width: calc( 100% + 60px);
	margin-left: -30px;

  /*
	border: 1px solid #000;
	*/
}

.block_image figure {
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.block_image figure img {
  width: 100%;
}
/*-------------------------------------------
			BLOCK GALLERY
-------------------------------------------*/
.block_gallery {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  overflow: hidden;

  /*
	border: 1px solid #000;
	*/
}

.block_gallery figure {
  width: 100%;
  margin: 0px;
  padding: 0px;

	
}

.block_gallery figure ul {
  transition: 0.5s;
	
	list-style-type: none;
  padding: 0px;
  margin: 0px;

	display: flex;
	flex-flow: row wrap;

	justify-content: left;
	align-items: center;
	align-content: flex-start;
}
.block_gallery figure ul li {
  transition: 0.5s;
	
	margin: 2px;
  margin-left: 2px;
  margin-right: 2px;
  display: inline-block;

  width: 160px;

	max-width: 200px;
	min-width: 150px;

  height: 100px;

	flex: auto;

  border: none;

	outline: 3px solid transparent;

  vertical-align: middle;
  align-items: center;
  background-color: white;
  cursor: pointer;
	
  overflow: hidden;
	/*
	filter: saturate(60%);
	*/
	text-align: center;

	background-color: grey;
}

.block_gallery figure ul li:hover {
  transition: 0.5s;
  outline: 3px solid white;
  filter: saturate(100%);
}

.block_gallery figure ul li img {
  transition: 0.5s;
	
	position: relative;
  width: 100%;
  height: 100px;
  object-fit: cover;
  align-items: center;
  overflow: hidden;
}
.block_gallery figure ul li img:hover {
  transition: 0.5s;
  transform: scale(1.2);
}
/*-------------------------------------------
			HEADER OF BLOCKS
-------------------------------------------*/
.header {
  font-family: RobotoSlab_medium;
  font-weight: 100;
  font-style: normal;
  font-size: 1.0em;

  background-color: white;

  margin: 0px;
  margin-left: -31px;
  width: calc(100% + 61px);
  padding-top: 200px;
  padding-bottom: 10px;
  background-size: cover;
  background-position: center;
}
.header h1 {
  margin: 0px;
  padding-top: 0px;
  margin-left: 10px;
	padding-left: 10px;
	padding-right: 10px;

  background-color: rgba(255, 255, 255, 0.7);
  width: fit-content;
  height: fit-content;

  //float: left;
  display: inline;
}

/*-------------------------------------------
				TITRE
	-------------------------------------------*/
.block_titre {
  font-family: RobotoSlab_bold;
  font-weight: 400;
  font-style: normal;
}
.block_titre h1 {
  font-size: 2.4em;
}
.block_titre h2 {
  font-size: 1.8em;
}
.block_titre h3 {
  font-size: 1.4em;
}
.block_titre h4 {
  font-size: 1.15em;
}
.block_titre h5 {
  font-size: 1.1em;
}
.block_titre h5 {
  font-size: 1.05em;
}
/*-------------------------------------------
			LINE
-------------------------------------------*/
.block_line {
  width: 100%;
  height: 1px;
  background-color: #000;
  margin-bottom: 1.5rem;
}
.block_line hr {
  width: 100%;
  height: 1px;
  margin-bottom: 1.5rem;
  border: none;
}
/*-------------------------------------------
			BLOCK VIDEO
-------------------------------------------*/
.block_video {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  overflow: hidden;

  border: 1px solid #000;
}

.block_video figure {
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.block_video figure iframe {
  border: none;
  width: 100%;
  height: 600px;
}

/*-------------------------------------------
			BIG IMAGE > for gallery
-------------------------------------------*/
.bigImage {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  margin-bottom: 1.5rem;
  overflow: hidden;

  background-color: #000;

  padding: 0;
  margin: 0;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  border: 1px solid #000;
  z-index: 200;
}

.bigImage img {
  margin: 10px;
  margin-bottom: 0px;

  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;

  width: calc(100% - 20px);
  height: calc(100% - 60px);

  object-fit: cover;

	/*
  border: 1px solid #eee;
	*/
}

.bigImage #menuGallery {
  position: absolute;
  
	display: flex;
  justify-content: left;
  align-items: top;
  
	margin-top: 4px;
	left: 10px;
  right: 50px;

  height: 60px;

  /*
	background-color: blueviolet;
  */
	width: calc(100% - 100px);
  border: none;
}

.bigImage .btGal{
	width: 25px;
	height: 25px;

	border-radius: 0px;
	border: #eee 1px solid;
	background-color: #000;

	cursor: pointer;
}

.bigImage .btGal:hover{
	background-color: white;
}

:root {
  --sizeBT: 23px;
}

.bigImage #playpause{
	transition: 0.3s;
	background-image: url(/assets/play.png);
	background-size: var(--sizeBT) var(--sizeBT);
}
.bigImage #playpause:hover{
	background-image: url(/assets/play_b.png);
	background-size: var(--sizeBT) var(--sizeBT);
}

.bigImage #prev{
	transition: 0.3s;
	background-image: url(/assets/previous.png);
	background-size: var(--sizeBT) var(--sizeBT);
}
.bigImage #prev:hover{
	background-image: url(/assets/previous_b.png);
	background-size: var(--sizeBT) var(--sizeBT);
}

.bigImage #next{
	transition: 0.3s;
	background-image: url(/assets/next.png);
	background-size: var(--sizeBT) var(--sizeBT);
}
.bigImage #next:hover{
	background-image: url(/assets/next_b.png);
	background-size: var(--sizeBT) var(--sizeBT);
}

.bigImage #fullscreen{
	transition: 0.3s;
	background-image: url(/assets/full.png);
	background-size: var(--sizeBT) var(--sizeBT);
}
.bigImage #fullscreen:hover{
	background-image: url(/assets/full_b.png);
	background-size: var(--sizeBT) var(--sizeBT);
}

.bigImage #close{
	position: absolute;
	right: 8px;
	top: 10px;
	width: 50px;
	height: 50px;

	transition: 0.3s;
	background-image: url(/assets/close.png);
}
.bigImage #close:hover{
	background-image: url(/assets/close_b.png);
}

.animationBlink {
	animation: blink 1s infinite;
}

@keyframes blink {
	0% {
		border-color: #000;
	}
	50% {
		border-color: white
	}
	100% {
		border-color: #000;
	}
}