/*
Styles pour les archives films de la Quinzaine des réalisateurs 
Date : 13/03/2016
Version : 1.0
Auteur : Gobelins / CRPL2016 / HalfDozen / Jean-Marc AUBIN 
*/

/*  GOBAL ================================================================================== */
/* IDEALEMENT à DEPLACER DANS styles */
.spacer {
  display: block;
  margin-bottom: 80px;
}


.readmore {
  color: #e14d35;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.disabled {
 color : #999;
}

/* video centré */
.youtube-player{
  margin : 0 auto!important;
}

/* gallery mozaique de jetpack */ 
.tiled-gallery .gallery-row {
  margin : 0 auto!important;
}

/* gallery mozaique de jetpack */ 
.tiled-gallery {
  height: 625px;
}

/* gallery mozaique de jetpack */ 
#film .tiled-gallery {
  height: 360px;
}

/* partage sur les reseaux sociaux */

#film .sharedaddy {
    text-align: center;
    margin: 0;
}

#film div.sharedaddy h3.sd-title:before {
    border-top: 0px; 
}

#film div.sharedaddy h3.sd-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px!important;
    font-weight: normal!important;
    color: black; 
    line-height: 0;
}


/*  RESPONSIVE GRID FOR SEARCH ============================================================ */

/*  SECTIONS  ============================================================================= */
.search-section {
  clear: both;
  padding: 0px;
  margin: 0px;
}

/*  GROUPING  ============================================================================= */

.search-group:before,
.search-group:after { content:""; display:table; }
.search-group:after { clear:both;}
.search-group { zoom:1; /* For IE 6/7 */ }

/*  GRID COLUMN SETUP   ==================================================================== */
.search-col {
  display: block;
  float:left;
  margin: 1% 0 1% 3%;
}
.search-col:first-child { margin-left: 0; }

/*  GRID OF TWO  */
.search-span_2_of_2 {
  width: 100%;
}
.search-span_1_of_2 {
  width: 48.5%;
}

.search_padding {
  padding: 2%;
}

/*  GO FULL WIDTH AT LESS THAN 768 PIXELS */
@media only screen and (max-width: 768px) {
  .search-col { 
    margin: 1% 0 1% 0%;
  }
}

@media only screen and (max-width: 768px) {
  .search-span_2_of_2, .search-span_1_of_2 { width: 100%; }
}

/*  RESPONSIVE GRID FOR FILM ============================================================== */

/*  SECTIONS  ============================================================================= */

.section {
  clear: both;
  padding: 0px;
  margin: 0px;
}

/*  GROUPING  ============================================================================= */

.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID COLUMN SETUP   ==================================================================== */

.col {
  display: block;
  float:left;
  margin: 0;
}
.col:first-child { margin-left: 0; }


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 768 PIXELS */

@media only screen and (max-width: 768px) {
  .col { 
     margin: 0;
  }
}

/*  GO FULL WIDTH AT LESS THAN 768 PIXELS */

@media only screen and (max-width: 768px) {
  .span_3_of_3 {
    width: 100%; 
  }
  .span_2_of_3 {
    width: 100%; 
  }
  .span_1_of_3 {
    width: 100%;
  }
}

/*  GRID OF SIX   ============================================================================= */
.span_6_of_6 {
  width: 100%;
}

.span_5_of_6 {
    width: 83.33%;
}

.span_4_of_6 {
    width: 66.66%;
}

.span_3_of_6 {
    width: 50%;
}

.span_2_of_6 {
    width: 33.33%;
}

.span_1_of_6 {
    width: 16.66%;
}

/*  GRID OF TWO   ============================================================================= */

.span_2_of_2 {
  width: 100%;
}

.span_1_of_2 {
  width: 50%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 768px) {
    .col {  
     margin: 0;
  }

  .span_1_of_6, .span_2_of_6, .span_3_of_6, .span_4_of_6, .span_5_of_6, .span_6_of_6 { 
    width: 100%; 
  }

  .span_2_of_2 {
    width: 100%; 
  }
  .span_1_of_2 {
    width: 100%; 
  }
}

/*  GRID QZ STYLES   ============================================================================= */

.qz_green {
  background: #d3e5e5;
}

.qz_green2 {
  /*background: #96bdbd;*/
  background: #d1dcdc;
}

.qz_grey {
  background: #cdcdcd;
}

.qz_dark {
  background: #000;
}

.padded_inner1,.padded_inner2 {
  padding: 8% 11% 11% 22%;
}

.clear {
}

.film_padding {
  padding: 0% 11%;
}

.film_box {
  display: block;
  background: #cdcdcd;
  margin-left: 8%;
  margin-right: 8%;
  padding: 1em;
}



@media only screen and (max-width: 768px) {
    
  .film_box {
    margin-left: 0;
    margin-right: 0;
    padding-left: 5%;
  }

  .padded_inner1 {
    padding: 5% 5% 0 5%;
  }
  .padded_inner2 {
    padding: 0% 5% 5% 5%;
  }


  .film_padding {
    padding: 0% 5%;
  }

  .media_old_right, .media_new_right, .video_right {
    text-align: center;
    background: #d1dcdc; /* green 2 */ 
    padding: 5% 0;
  }

  /* photo du real*/
  .real_right {
    margin: 0 auto;
    text-align: center;
    background: #d3e5e5; /* green */ 
  }

  .film_other_right {
    padding-bottom: 0!important;
  }

  .clear {
    display: none;
  }

  .film_footer {
    min-height: 0!important;
  }

  #film div.sharedaddy h3.sd-title {
    margin-top:20px;
  }

  .lastsearch {
    margin-top:30px;
  }
}


/*  FILM ================================================================================== */

/*  Fiche Film */
#film {
  margin: 0 auto;
  overflow: hidden;
  min-height:150px;
}

#film_galerie {
  margin: 10px auto;
  text-align: center; 
}

#film_galerie img{
  padding: 4px;
}

#film_galerie img.large{
  width : 250px;
}
#film_galerie img.medium{
  width : 200px;
}
#film_galerie img.small{
  width : 80px;
}

/* bandeau haut */
#film_image {
  padding: 0px 0px;
  width: 100%;
  height: 440px;
  background-size: cover; 
  background-repeat: no-repeat; 
}



/* sous-titre reprend les styles de H2 
 pour qu'il apparaisse pas dans le menu sticky droite */ 
#film .sous-titre {
  font-family: 'Fedra-sans-book'!important;
  font-weight: normal!important;
  color: black;
  text-transform: uppercase;
  font-size: 1.923rem;
  width: 75%!important;
  margin: 5px auto!important;
  text-align: center;
  position: relative;
  top: -10px;
  border-bottom: 1px solid #EEEEEE;
  border-width: thin;
}


#film h2{
  text-align: center;
  border-bottom: 1px solid #EEEEEE;
  border-width: thin;
  padding-top: 1em;
}

#film h4{
  font-family: 'Fedra-sans-bold'!important;
  font-weight: normal!important;
  color: black;
  text-transform: uppercase;
  margin-top: 1em;
  margin-bottom: 2px;
}

#film h5{
  font-family: 'Fedra-sans-bold'!important;
  font-weight: normal!important;
  color: black;
  text-transform: uppercase;
  margin-top: 0.5em;
}

#film_other_left, #film_other_center, #film_other_right {
  padding-bottom: 1em;
}

#real_left, #real_center, #real_right {
  padding-top: 0;
}


img.film_affiche {
  max-height:100%;
  vertical-align:bottom; /* remove 4px extra padding */ 
}

.film_footer {
  min-height: 30px;
  padding-top: 15px;
}

/* Liste des films 
styles utilisées dans le resultat des recherches de films 
er dans l'edition en cours 
*/ 

.film_list_container {
  padding: 0 12%;
  margin-left: 0!important;
  margin-right: 0!important;
} 

#film_list{
  margin: 0;
  padding: 0;
}


#film_list ul {
  list-style: none;
  margin : 0 auto;
  width : 100%;
  overflow: auto;

}

#film_list li {
  padding-bottom: 5px;
}

#film_item{
  margin :0 0;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}

#film_item h3{
  margin: 0;
}

#film_item h3 a:hover{
  color: #e14d35;
  text-decoration: none;
}

#film_item img{
  padding-right: 15px;
  float: left;
  width: 150px;
}

#film_item .disabled {
 color : #999;
}

/* separateur dans un liste */
.film_sep {
  display: inline;
  padding-right: 10px;
}
/* premier element caché */ 
.film_sep:nth-of-type(1) {
  display: none;
}



