/* 
    Document   : styles
    Created on : 18 août 2012, 14:49:34
    Author     : joaquimbarman
    @eikon EMF
*/

*{  
    margin:0;
    padding: 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
}

#general {
    margin : 0 auto;
    width: 960px;
    color: #fff;
    background: url('../img/background.jpg');
}

header {
    display:inline;
}

#navContent {
    background: url('../img/background.jpg');
    padding-top : 20px;
}

nav {
    color : #fff;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    padding: 5px 19px;
    position: fixed;
    z-index: 100;
    background: url('../img/background.jpg');
}

nav a {
    text-decoration: none;
    color : #fff; 
}

nav a:hover {
    color: red;
}
nav a.active{
    color: red;
}

nav ul li {
    display: inline;
    padding: 0 90px 0 30px;
}

/* ===== Scroll hint gradient + Scrollbar styling ===== */

#articlePress,
#galerie_video {
  position: relative;            /* anchor for ::after gradient */
  overflow-y: scroll;            /* always show scrollbar */
  max-height: 400px;             /* limit height */
  --fade: 1;                     /* gradient opacity (JS updates this) */
  scrollbar-width: thin;         /* Firefox */
  scrollbar-color: white #1F1F1F;
}

/* Bottom black gradient overlay */
/* Bottom black gradient (using mask so it stays fixed at the bottom) */
#articlePress,
#galerie_video {
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) calc(100% - 100px),
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) calc(100% - 100px),
    rgba(0,0,0,0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}


/* Chrome/Edge/Safari scrollbar */
#articlePress::-webkit-scrollbar,
#galerie_video::-webkit-scrollbar {
  width: 10px;
}
#articlePress::-webkit-scrollbar-track,
#galerie_video::-webkit-scrollbar-track {
  background: #1F1F1F;
}
#articlePress::-webkit-scrollbar-thumb,
#galerie_video::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 6px;
  border: 2px solid #1F1F1F;
}

/* Extra space after the last item inside the scrollers */
#articlePress::after,
#galerie_video_scroll::after {
  content: "";
  display: block;
  height: calc(150px + 24px); /* fade height (150) + breathing room */
  clear: both;                /* ensures it sits below floated thumbnails */
}

/* ===== Affiche ===== */

#homeRef {
    width: 960px;
    height: 300px;
    padding-top : 60px;
}

#logo {
    background: url('../img/logo.png') no-repeat;
    height: 250px;
    width: 380px;
    float: left;
    margin-left: 7px;
}

.titre {
    color : #fff;
    font-weight: normal;
    width: 50px;
    font-size: 24px;
}

#affiche img {
    float: left;
}

#affiche {
    width: 520px;
    float: left;
    margin-left: 50px;
}

#affiche p {
    color: #fff;
    width: 248px;
    float: left;
    padding-left: 40px;
}

#imgInfo {
    padding: 0 20px  0px;
}

#imginfotxt {
	padding-left: 40px;
	text-align : left;
}

#txtimg {
	padding : 0 40px 50px 50px;
	text-align : left;
}

/* ===== Prochaines Dates ===== */

#Dates {
    color : #bebebe;
    position: relative;
    height: 300px;
    width: 853px;
    margin-left: 107px;
}

#Dates div {
    padding: 20px;
    margin: 0 auto;
}

#Dates p {
    width: 320px;
}

.floatBlock {
    float: left;
	height: 120px;
}

.capital {
    text-transform: uppercase;
    font-size: 18px;
}

.font20 {
  font-size: 20px;
  margin-left: 40px;
}

.citations p {
    width: 500px;
    font-size: 10px;
    float: right;
    position: relative;
    margin-right: 100px;
}

.red {
    color : #b80000;
    font-size: 9px;
}

.right {
    text-align: right;
}

.clear {
    clear: both;
    padding-top : 10px;
}

.librairie h2{
    padding-left: 50px;
    font-size: 20px;
}

#livre {
    float: left;
    padding: 40px 0 60px 100px;
}

#livres_content{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
#livres_content .livre{
  display: flex;
  flex-direction: column;
}

div.spectacle {
    margin: 170px 40px 0 50px;
    float: left;
}

.spectacle p {
    text-align: justify;
}

#affichePensees {
    float:right;
    padding-left: 15px;
    padding-bottom: 15px;
}

/* ===== Photos Galerie ===== */

#photos {
    background: url('../img/photos_2.png') no-repeat;
    width: 300px;
    height: 165px;
    margin-left: 26px;
}

.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	background:transparent url(../img/black.png) repeat top left;
	border-radius: 10px;
	min-height:20px;
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:100%;
	max-width:100%;
}
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
	background:#000 url(../img/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
	border-radius: 10px 0px 0px 10px;
}
.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:115% 50%;
	border-radius: 0px 10px 10px 0px;
}
.rg-image-nav a:hover{
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p{
	font-size:11px;
	letter-spacing:2px;
	font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view{
	height:30px;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../img/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover{
	opacity:1.0;
}
.rg-view a.rg-view-full{
	background-position:0px 0px;
}
.rg-view a.rg-view-selected{
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs{
	background-position:0px -16px;
}
.rg-loading{
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background: #000 url(../img/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	border-radius: 10px;
	opacity:0.7;
}

.es-carousel ul{
    display:block;
}

.content {
    margin-left: 100px;
}

/* ===== Video ===== */

#videotitre {
    background: url('../img/videos.png') no-repeat;
    width: 300px;
    height: 165px;
    margin-left: 26px;
}

.videoLien {
    height: 400px;
    width: 500px;
    float: left;
}

#videoLien video {
    margin : 30px 0 50px 50px;
    position : relative;
}

#galerie_video {
    position : relative;
    float: right;
    width: 300px;
    max-height: 400px;
    margin : 30px 50px 50px 0;
    overflow-y: scroll;
    padding-left: 50px;
}

#galerie_video a {
    height: 80px;
    width: 80px;
    position: relative;
    float: left;
    margin : 10px 20px;
}

/* ===== Press ===== */

#press {
    background: url('../img/presse.png') no-repeat;
    width: 300px;
    height: 165px;
    margin-left: 26px;
	margin-top: 100px;
}

#articlePress {
    margin-left: 70px;
    margin-top: 20px;
    margin-bottom: 50px;
    width: 800px;
    max-height: 400px;
    overflow-y: scroll;
}

.article {
    padding-top : 30px;
}

/* ===== Livres ===== */

#livres{
    margin-bottom: 40px;
}

#livres_titre{
    background: url('../img/livre_title.png') no-repeat;
    width: 300px;
    height: 165px;
    margin-left: 26px;
    margin-top: 100px;
    margin-bottom: 20px;
}

.livre{
    position: relative;
    width: 200px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

#livres_content{
    margin: 0 60px;
}

.livre img{
    position: relative;
    left: 50%;
    height: 312px;
    width:auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.description{
    padding-right:15px;
}

.livreH2{
    text-transform: uppercase;
    color: red;
}

.buy p{
    font-size: 14px;
    font-weight: 500;
}

.buy{
    margin-top: 10px
}

.buy a{
    text-transform: uppercase;
}

.clear{
    clear: both;
}

/* ===== Auteur ===== */

#auteurImg { 
    background: url('../img/cv.png') no-repeat;
    width: 503px;
    height: 220px;
    margin-left: 26px;
}

.largeurColonne {
    width: 350px;
    padding-bottom: 20px;
    padding-left : 70px;
}

#colonne {
    -moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
    -webkit-column-width: 20em;
    -moz-column-width: 20em;
    column-width: 20em;
    padding : 50px 0 50px 0;
}

#CV {
    position: absolute;
    font-size: 20px;
    margin-left: 70px;
    width: 168px;
    height: auto;
}

/* ===== Footer ===== */

footer {
    height: 50px;
    background: #000;
    border-top : 1px solid #fff;
}

footer p {
    font-size: 12px;
    text-align: center;
    padding-top: 15px;
}
