/*
Theme Name: La Quinzaine des Réalisateurs
Theme URI: http://components.underscores.me/
Author: 1/2 dozen
Author URI: http://components.underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quinzaine-themes
Tags:
--------------------------------------------------------------*/
html {
  font-family: 'Open Sans', sans-serif;  
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
.animated {
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes slideInFull {
  0% {
    -webkit-transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100%);
  }
}

@keyframes slideInFull {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@-webkit-keyframes slideOutFull {
  0% {
    -webkit-transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(0);
  }
}

@keyframes slideOutFull {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

body {
  background: #fff;
}

blockquote, q {
  quotes: "" "";
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

hr {
  background-color: #f4f4f4;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

p {
  margin-bottom: 1.5em;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

.resizable-box img {
  height: auto;
  width: 100%;
}

.site-footer p{
  margin: 0;
  padding: 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Formulaire : éléments de base
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  height: 34px;
  color: white!important;
  border: none;
  border-color: #e14d35;
  background-color: #e14d35;
  border-radius: 4px;
  border-bottom-style: outset;
  border-bottom-color: #c7170b;
  padding: 10px;
  line-height: 0.5em!important;
  text-transform: uppercase;
}

input[type="reset"]{
  border-bottom: 2px solid #999999;
  background-color: #e4e4e4;
  color: #e14d35!important;
}


input[type="submit"].qz-newsletter-submit{
  width: 34px;
  height: 21px;
  margin: 3px 0 0 0;
  padding: 6px;
  background: #339999;
  border: none;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: url('assets/img/qz-bouton-triangle-blanc.svg');
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: 3px;
}

@-moz-document url-prefix(){
  input[type="text"]{
    height: 26px;
    border: 0;
  }
}

/* Webkit */
::-webkit-input-placeholder { color: #cccccc; }
/* Firefox 4-18 */
:-moz-placeholder { color: #cccccc; }
/* Firefox 19+ */
::-moz-placeholder { color: #cccccc; }
/* IE10+ */
:-ms-input-placeholder { color: #cccccc; }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px;
  -webkit-appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
}

input[type="text"].qz-newsletter-text{
  padding: 0px;
  margin-top: 4px;
}

textarea {
  padding-left: 3px;
  width: 100%;
}

/*Boutons QZ de base (indépendant de page builder)*/
a.qz-button {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #c7170b;
  background-color: #e14d35;
  border-radius: 4px;
}

a.qz-button-download{
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 10px 10px 50px;
  border: none;
  border-bottom: 2px solid #c7170b;
  background-color: #e14d35;
  border-radius: 4px;
  background-image: url('assets/img/qz-bouton-download-blanc.svg');
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: 10px;
}

a.qz-button-cut{
  border-radius: 0 4px 4px 0;
}

/*--------------------------------------------------------------
## Hover sur éléments de base
--------------------------------------------------------------*/
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  color: white!important;
  border: none!important;
  border-bottom: 2px solid #03645b!important;
  background-color: #1ca098!important;
}

input[type="submit"].qz-newsletter-submit:hover{
  border-bottom: none!important;
}

.ow-button-base a:hover, 
.qz-button-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a:hover, 
.qz-download-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a:hover,
.qz-inscription-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a:hover,
.qz-mail-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a:hover{
  color: white!important;
  border: none!important;
  border-bottom: 2px solid #03645b!important;
  background-color: #1ca098!important;
}

.qz-search-form .search-submit:hover, 
.qz-search-form input[type="submit"]:hover,
.search-form input[type="submit"]:hover{
  border-bottom: none!important;
}

a.qz-button:hover, a.qz-button-download:hover{
  color: white;
  border: none;
  border-bottom: 2px solid #03645b;
  background-color: #1ca098;
}

/*--------------------------------------------------------------
## Focus & active sur éléments de base
--------------------------------------------------------------*/
textarea:active, textarea:focus,
input:active, input:focus,
button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  background: #ccc;
  outline: none!important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #222;
  background: white;
  outline: none!important;
}

/*--------------------------------------------------------------
## Boutons de page builder
--------------------------------------------------------------*/
.so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  background: none;
}

.so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a:hover{
  background: none;
}

.ow-button-base{
  margin-top: -20px;
}

.ow-button-base a{
  padding: 10px!important;
  border: none!important;
  border-bottom: 2px solid #c7170b!important;
  background-color: #e14d35!important;
  border-radius: 5px!important;
}

.qz-button-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  padding: 10px!important;
  border-bottom: 2px solid #cccccc!important;
  background-color: #e4e4e4!important;
  color: #e14d35!important;
}

.qz-download-orange .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-download-blanc.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

.qz-download-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  border-bottom: 2px solid #cccccc!important;
  background-color: #e4e4e4!important;
  color: #e14d35!important;
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-download-orange.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

.qz-inscription-orange .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-inscription-blanc.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

.qz-inscription-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  border-bottom: 2px solid #cccccc!important;
  background-color: #e4e4e4!important;
  color: #e14d35!important;
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-inscription-orange.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

.qz-mail-orange .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-mail-blanc.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

.qz-mail-gray .so-widget-sow-button-atom-9a01ce061a8a .ow-button-base a{
  border-bottom: 2px solid #cccccc!important;
  background-color: #e4e4e4!important;
  color: #e14d35!important;
  padding: 10px 10px 10px 50px!important;
  background-image: url('assets/img/qz-bouton-mail-orange.svg')!important;
  background-repeat: no-repeat!important;
  background-size: 30px 30px!important;
  background-position: 10px!important;
}

/*--------------------------------------------------------------
## Formulaires de recherche du header
--------------------------------------------------------------*/
.qz-search-form .search-form,
.search-form{
  width: 240px;
  height: 26px;
  margin:  0 auto;
  padding: 0;
}

.search-form{
  width: auto;
  height: auto;
}

.qz-search-form .search-field,
.search-form .search-field{
  width: 190px;
  height: 16px;
  margin: 0;
}

@-moz-document url-prefix(){
  .qz-search-form .search-field{
    height: 20px;
    border: 0;
  }
}

.qz-search-form .search-submit, 
.qz-search-form input[type="submit"].search-submit,
.search-form input[type="submit"].search-submit  {
  width: 34px;
  height: 26px;
  margin: 2px 0 0 0;
  padding: 9px;
  background: #339999;
  border: none;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: url('assets/img/qz-bouton-triangle-blanc.svg');
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: 4px;
}

/*--------------------------------------------------------------
# Typographie
--------------------------------------------------------------*/
@font-face {
  font-family: "Fedra-sans-bold";
  src: url('assets/fonts/fedra-sans-bold.ttf');
}

@font-face {
  font-family: "Fedra-sans-book";
  src: url('assets/fonts/fedra-sans-book.ttf');
}

html{
  font-size: 12px;
}

body {
  color: black;
  font-family: 'Open Sans', sans-serif;
}

.ow-button-base a{
  text-transform: uppercase!important;
  line-height: 1!important;
}

button.qz-bouton-inverse{
  color: #e14d35;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.uppercase{
  text-transform: uppercase;
}

.header-navigation .qz-catch-phrase a,
.header-navigation p.qz-catch-phrase{
  font-size: 0.923rem; /*12px*/
  color: #6b6b6b;
}

.header-navigation p.qz-catch-phrase{
  line-height: 25px;
}

.header-navigation .qz-catch-phrase a{
  color: white;
}

.main-navigation ul li a{
  font-family: 'Fedra-sans-bold';
  font-size: 3.846em; /*50px*/
}

#qz-sommaire-page-ouvert{
  font-size: 0.962rem;
}

dfn, cite, em, i {
  font-style: italic;
}

pre {
  background: #f4f4f4;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

abbr, acronym {
  border-bottom: 1px dotted #444;
  cursor: help;
}

mark, ins {
  background: #f4f4f4;
  text-decoration: none;
}

big {
  font-size: 125%;
}

h1,
h2,
h3 {
  font-family: 'Fedra-sans-bold'!important;
  font-weight: normal!important;
  color: black;
  text-transform: uppercase;
}

h1 {
  font-size: 4.615rem;
}

h2 {
  font-size: 1.923rem;
}

h3 {
  font-size: 1.231rem;
  text-transform: none;
}

.qz-sticky-title{
  font-family: 'Fedra-sans-bold';
  font-size: 3.071rem;
}

/*--------------------------------------------------------------
# Titres
--------------------------------------------------------------*/
h2{
  width: 50%!important;
  margin: auto!important;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;
  border-width: thin;
}

h3{
  color: #1ca098;
}

.qz-search-title{
  font-family: 'Fedra-sans-bold';
  font-weight: normal!important;
  font-size: 1.231rem;
  color: #1ca098;
}

.qz-sticky-title{
  position: absolute;
  top: 19%;
  width: 100%;
  color: transparent;
  text-shadow: 0px 0px 7px white;
  text-transform: uppercase;
  height: 110px;
  line-height: 110px; 
  text-align: center;
  -webkit-transition: all 4s linear;
  -moz-transition: all 4s linear;
  -o-transition: all 4s linear;
  transition: all 4s linear;
}

#qz-page-title{
  position: absolute;
  width: 100%;
  text-align: center;
  color: transparent;
  text-shadow: 0px 0px 7px black;
  text-transform: uppercase;
}

body.home #qz-page-title{
    display: none;
  }

.unblur-white{
  text-shadow: 0px 0px 0px white;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/
.site {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-height: 100%;
}

.site-header{
  position: fixed;
  width: 100%;
  height: 105px;
}

#qz-mobile-trame{
  display: none;
}

.qz-sticky-bandeau{
  width: 100%;
  height: 100px;
  background: url('assets/img/qz-sticky-bandeau-fond_110.png') repeat-x;
  -webkit-transition: height 0.2s linear;
  -moz-transition: height 0.2s linear;
  -o-transition: height 0.2s linear;
  transition: height 0.2s linear;
}

body.home .qz-sticky-bandeau{
  height: 100px;
}

.qz-sticky-bandeau.sticky, body.home .qz-sticky-bandeau.sticky{
  height: 110px;
  background: url('assets/img/qz-sticky-bandeau-fond_110.jpg');
  background-size: 100%;
}

.qz-fleche-scroll{
  display: inline-block;
  width: 6%;
  height: 6%;
  text-align: center;
  position: absolute;
  top: 90%;
  left: 47%;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.qz-fleche-scroll:hover{
  top: 91%;
}

#qz-fleche-scroll-home-ancre{
  position: absolute;
  top: 90%;
}

.content-area {
  float: none;
  margin: 0;
}

.site-main {
  margin: 25px 0 0 0;
  width: 100%;
}

.site-content{
  padding-bottom: 162px;
}

.site-content .widget-area {
  width: 100%;
  height: 100%;
}

.site-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 103px;
  padding: 10px 0;
  margin-top: 60px;
  background: url('assets/img/qz-footer-fond.jpg') center center no-repeat;
  background-size: 100%;
  color: white;  
}

/*--------------------------------------------------------------
# Z-INDEX
--------------------------------------------------------------*/
.site-header{
  z-index: 270;
}

.qz-search-form{
  z-index: 300;
  }

.qz-sticky-bandeau a{
   z-index: 270;
}

.menu-toggle {
  z-index: 270;
}

.slide-panel {
  z-index: 250;
}

.main-navigation ul{
  z-index: 270;
}

.entry-wrapper{
  z-index: 98;
}

#qz-sommaire-page{
  z-index: 300;
}

.qz-fleche-scroll{
  z-index: 500;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
  position: relative;
  display: block;
  margin: 0;
  width: 100%;
}

/*Barre de partage sur les réseaux sociaux (jet-pack)*/
.sharedaddy{
  text-align: center;
  margin-top: 30px;
}

#qz-hero-mobile{
  display: none;
}

/*----------------------------------------------------------------------
## Classes de page non page builder (exemple 404, search, fiches films)
------------------------------------------------------------------------*/
/* container du contenu de la page */
.qz-page-content {
  padding: 0% 12% 5% 12%;
  margin : 0 auto;
} 

/* container du H1  */
.qz-page-header h1{
  width: 100%;
  text-align: center;
  color: transparent;
  text-shadow: 0px 0px 7px black;
  margin-bottom: 0;
  margin-top: 5px;
  -webkit-transition: all 4s linear;
  -moz-transition: all 4s linear;
  -o-transition: all 4s linear;
  transition: all 4s linear;
}

/* container de l'image header */
#qz-page-image {
  padding: 0px 0px;
  width: 100%;
  height: 440px;
  background-size: cover; 
  background-repeat: no-repeat; 
}

/*--------------------------------------------------------------
## Classes de page builder
--------------------------------------------------------------*/
.panel-grid{
  padding: 0 12%;
  /*!important permet de surcharger les classes natives de page builder*/
  margin-left: 0!important;
  margin-right: 0!important;
}

.panel-grid:nth-child(1){
  padding: 0;
}

.panel-grid-cell:nth-child(1){
  padding-left: 0px!important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #e14d35;
  text-decoration: none;
}

a:visited {
}

a:hover, a:focus, a:active,  {
  color: #e14d35;
  text-decoration: none;
}

#factory_item h3 a:hover{
  color: #e14d35!important;
  text-decoration: none!important;
}

a:focus {
  outline: none;
}

a:hover, a:active {
  outline: 0;
}

.header-navigation ul li a{
  color: white;
  text-decoration: none;
}

.main-navigation ul li a {
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  color: transparent;
  text-shadow: 0px 0px 7px white;  
}

.main-navigation ul li a:hover {
  color: white;
  text-shadow: none;  
}

#qz-sommaire-page a{
  color: white;
}

.site-footer nav ul li a{
  color: white;
  text-decoration: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/*Logo Quinzaine*/
.qz-sticky-bandeau a{
  display: block;
  width: 122px;
  height: 110px;
  position: relative;
  left: 7.3%;
  top: -5px;
}

img.logo-qz{
  width: 122px;
  height: 110px;
  border: none;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
}

/*----------------------------
### Menu header (barre noire 
fixe)
Wordpress Name : header-menu
-----------------------------*/
.header-navigation{
  width: 100%;
	height: 25px;
	color: white;
	background: black;
}

.header-navigation .qz-catch-phrase{
  float: left;
  margin: 0 0 0 4.3%;
}

.header-navigation ul{
  float: right;
  list-style: none;
  text-align: right;
  margin-right: 4.3%;
}

.header-navigation ul li{
	display: inline-block;
  padding-right: 23px;
}

.header-navigation ul li:nth-child(4){
  padding-right: 0;
}

#loupe-search{
  cursor: pointer;
}

#loupe-search img{
  position: relative;
  top: 3px;
  height: 20px;
}

.qz-search-form{
  width: 240px;
  height: 24px;
  margin: 0 auto;
  position: absolute;
  top: 25px;
  right: 30px;
  background: black;
  padding: 3px 6px 12px 10px;
}

.hidden{
  display: none; 
}

.show{
  display: block;
}

/*----------------------------
### Menu principal (burger)
Wordpress Name : top-menu
-----------------------------*/
.main-navigation {
  width: 100%;
  height: auto;
}

@media only screen and (min-device-width: 769px){
  .main-navigation {
    width: 100%;
    height: auto;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
  }
}

.main-navigation ul {
  position: relative;
  width: 80%;
  overflow: hidden;
  list-style: none;
  margin: 100px auto 0 auto;
  text-align: center;
}

.main-navigation ul li {
  margin-top: 0px;
}

.main-navigation ul li:nth-child(5) {
  margin-top: 5%;
  font-size: 10px;
}

.main-navigation .footer-menu-rs{
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid white;
}

.main-navigation .footer-menu-rs li{
  display: inline-block;
}

.main-navigation .footer-menu-rs li a img{
  width: 50px;
  height: 50px;
}

/*----------------------------
### Menu généré automatiquement 
avec les h2 d'une page
-----------------------------*/
#qz-sommaire-page{
  position: fixed;
  top: 465px;
  right: -10.6%;
  width: 12.5%;
  min-height: 140px;
  text-align: left;
  background: rgba(0,0,0,0.5);
}

#qz-sommaire-page-toggle{
  height: 20px;
  width: 20px;
  margin: 10px 0 0 10px;
  cursor: pointer;
  background: url('assets/img/qz-fleche-gauche-blanc.svg') no-repeat center center;
  background-size: cover;
}

#qz-sommaire-page-toggle.arrow {
  background: url('assets/img/croix-blanche.svg') no-repeat center center;
  background-size: cover;
}

#qz-sommaire-page ul{
  width: 85%;
  float: right;
  list-style: none;
  padding-top: 45px;
  padding-bottom: 25px;
}

#qz-sommaire-page ul li{  
  margin-top: 10px;
  cursor: pointer;
}

#qz-sommaire-page ul li:nth-child(1){  
  margin-top: 0;
}

.qz-sommaire-puce{
  position: relative;
  left: -10%;
  top: 2px;
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('assets/img/qz-cercle-blanc.svg') no-repeat;
  background-size: cover;
}

.qz-sommaire-puce.active{
  background: url('assets/img/qz-cercle-rouge.svg') no-repeat;
  background-size: cover;
}

/*----------------------------
### Menu footer 
Wordpress Names : 
  footer-menu-gauche
  footer-menu-rs
  footer-menu-centre
-----------------------------*/
.site-footer nav{
  float: left;
  height: 107px;
}

.site-footer nav ul{
  padding: 0;
  list-style: none;
}

.site-footer nav img.qz-logo-srf{
  width: 105px;
  height: 105px;
}

/*Gauche*/
.footer-menu-gauche{
  width: 19%;
  padding-left: 12%;
  text-align: left;
}

.footer-menu-gauche ul li{
  margin-top: 18px; 
}

.footer-menu-gauche ul li:nth-child(1){
  margin-top: 0; 
}

.footer-menu-rs-mobile{
  display: none;
  margin-top: 18px;
}

.footer-menu-rs{
  margin-top: 18px;
}

.footer-menu-rs li, .footer-menu-rs-mobile li{
  display: inline;
  margin-left: 25px;
}

.footer-menu-rs li:nth-child(1), .footer-menu-rs-mobile li:nth-child(1){
  margin-left: 0;
}

.footer-menu-rs li img, .footer-menu-rs-mobile li img {
  height: 36px;
  width: 36px;
}

/*Centre*/
.footer-menu-centre{
  width: 30%;
  padding-left: 10%;
  text-align: left;
}

.footer-menu-centre ul{
  margin: 30px 0 0 0; 
}

.footer-menu-centre ul li{
  display: inline-block;
  margin-left: 10px;
}

.footer-menu-centre ul li:nth-child(1){
  margin-left: 0;
}

/*Droite*/
.site-footer nav:nth-child(3){
  width: 29%;
  text-align: center; 
}

/*--------------------------------------------------------------
## Sliding panel
--------------------------------------------------------------*/
.qz-mobile-menu-container{
  display: none;
}

.qz-mobile-menu-header{
  display: none;
}

/*Icône Menu burger*/
.menu-toggle {
  width: 50px;
  height: 50px;
  border: none;
  background: url('assets/img/burger-blanc.svg') no-repeat center center;
  background-size: cover;
  box-shadow: none;
  cursor: pointer;
  position: absolute;
  right: 4.3%;
  top: 60px;
}

.menu-toggle.cross {
  background: url('assets/img/croix-blanche.svg') no-repeat center center;
  background-size: cover;
}

/*Panneau glissant du menu principal*/
.slide-panel {
  background: url('assets/img/slide-panel-fond.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 25px;
}

.slide-panel.closed,
.single .slide-panel.closed {
  display: block;
  -webkit-animation-name: slideInFull;
  animation-name: slideInFull;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-transition-timing-function: linear; 
  transition-timing-function: linear;
}

.slide-panel.expanded,
.single .slide-panel.expanded {
  display: block;
  -webkit-animation-name: slideOutFull;
  animation-name: slideOutFull;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-transition-timing-function: linear; 
  transition-timing-function: linear;
}

.action-text {
  font-size: 1.115em;
}

.action-text:before {
  content: "\f419";
  display: inline-block;
  font-size: 16px;
  text-align: center;
  font-family: "Genericons";
  font-style: normal;
  font-weight: 700;
  font-variant: normal;
  line-height: 1;
  margin: 0 10px 0 0;
  text-decoration: inherit;
  text-transform: none;
  -moz-transition: color .1s ease-in 0;
  -webkit-transition: color .1s ease-in 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  speak: none;
  vertical-align: top;
}

.toggle-on .action-text {
  color: #222;
}

.toggle-on .action-text:before {
  color: #222;
  content: "\f405";
  font-size: 22px;
  line-height: 0.9;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
}


/*--------------------------------------------------------------/*--------------------------------------------------------------/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/
/* Define mobile styles */
/*768, 1280*/   

@media only screen and (max-device-width: 768px){

  /*On masque le hero de pagebuilder en mobile*/
  body:not(.home) .panel-grid:first-child{
    display: none;
  }

  /*Hero perso pour le mobile*/
  #qz-hero-mobile{
    display: block;
    width: 100%;
    padding-top: 20%;
    padding-bottom: 20%;
    background-size: cover; 
    background-repeat: no-repeat;
  }

  body.home #qz-page-title{
    display: none;
  }

  #qz-page-image{
    height: 0;
    padding-top: 20%;
    padding-bottom: 20%;
    background-size: cover; 
    background-repeat: no-repeat;
  }

  #evcal_widget #evcal_head {
    padding-bottom: 30px!important;
  }

  .timeline.flatNav .t_left, 
  .timeline.flatNav .t_right, 
  #content .timeline.flatNav .t_left, 
  #content .timeline.flatNav .t_right{
    opacity: 1!important;
    display: block!important;
  }

  .timeline.flatLine a.t_line_node, #content .timeline.flatLine a.t_line_node {
  font-size: 8px !important;
  }

  /*--------------------------------------------------------------
  # Typographie
  --------------------------------------------------------------*/
  @font-face {
      font-family: "Fedra-sans-bold";
      src: url('assets/fonts/fedra-sans-bold.ttf');
  }

  html{
    font-size: 12px;
  }

  body {
    color: black;
    font-family: 'Open Sans', sans-serif;
  }

  .main-navigation ul li a{
    font-family: 'Fedra-sans-bold';
    font-size: 1.3rem;
  }

  .qz-mobile-menu-header{
    color: white;
  }

  .qz-mobile-menu-header ul li a{
    font-family: 'Fedra-sans-bold';
    font-size: 1.3rem;
  }

  h1 {
    font-size: 3.071rem; 
  }

  h2 {
    font-size: 1.923rem;
    color: black!important;
  }

  h3 {
    font-size: 1.231rem;
  }

  /*--------------------------------------------------------------
  # Titres
  --------------------------------------------------------------*/
  h2{
    width: 100%!important;
    margin: auto!important;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    border-width: thin;
  }

  .qz-sticky-title{
    display: none;
  }

  /*--------------------------------------------------------------
  ## Structure
  --------------------------------------------------------------*/
  .site {
    position: static;
    margin: 0 auto;
    width: 100%;
  }

  .site-header{
    position: static;
    width: 100%;
    height: 13%;
    background: transparent;
  }

  body.home .site-header{
    height: 0px;
  }

  body.home .qz-sticky-bandeau{
    height: 0px;
  }

  #qz-mobile-trame{
    display: block;
    width: 100%;
    height: 13%;
    position: absolute;
    transition: opacity 1000 ease-in-out;
    -webkit-transition: opacity 1000 ease-in-out;
    -moz-transition: opacity 1000 ease-in-out;
    -o-transition: opacity 1000 ease-in-out;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(255,255,255,0) 100%); 
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(255,255,255,0) 100%); 
    background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(255,255,255,0) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00ffffff',GradientType=0 ); 
  }

  #qz-mobile-trame.sticky{
      background: url('assets/img/qz-mobile-sticky-header-fond.jpg') no-repeat;
      background-size: 100%;
  }

  .qz-sticky-bandeau{
    width: 100%;
    height: 100%;
    background: none;
  }

  .site-content{
    padding-bottom: 0;
  }  

  .site-main {
    margin: 0 0 0 0;
  }

  .site-footer {
    position: static;
    width: 100%;
    padding: 0 0 100px 0;
    margin-top: 0;
    color: black;
    color: black;
    background: none;
    border-top: 1px solid #eeeeee;
    border-width: thin; 
  }

  /*--------------------------------------------------------------
  # Navigation
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  ## Links
  --------------------------------------------------------------*/
  .qz-mobile-menu-header ul li a, .main-navigation ul li a {
    position: relative;
    color: white;
    text-transform: uppercase;
    text-decoration: none; 
  }

  .qz-mobile-menu-header ul li a:hover, .main-navigation ul li a:hover {
    color: white;
    text-shadow: none;  
  }

  .site-footer nav ul li a{
    color: black;
  }

  .qz-catch-phrase a{
    color: white;
    font-weight: bold;
  }

  .ow-button-base{
    text-align: center!important;
  }

  .qz-fleche-scroll{
    width: 16%;
    height: 10%;
    text-align: center;
    position: absolute;
    top: 90%;
    left: 42%;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
  }

  /*--------------------------------------------------------------
  ## Menus
  --------------------------------------------------------------*/
  /*Logo Quinzaine*/
  .qz-sticky-bandeau a{
    display: none;
    width: 24%;
    height: 13%;
    position: absolute;
    left: 0;
    top: 0;
  }

  img.logo-qz{
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
    cursor: pointer;
    display: block;
  }

  .qz-sticky-bandeau a.home-logo{
    display: block;
    width: 80%;
    height: 50%;
    top: 20%;
    left: 10%;
  }

  /*----------------------------
  ### Menu principal (burger)
  Wordpress Name : top-menu 
                  header-menu
  -----------------------------*/
  .header-navigation{
    display: none;
  }

  .qz-search-form{
    display: none;
  }

  .qz-mobile-menu-header .qz-catch-phrase{
    color: white;
    margin-top: 5%;
  }

  .qz-mobile-menu-header ul{
    list-style: none;
    
  }

  .qz-mobile-menu-header ul li{
    display: inline-block;
    padding-right: 23px;
  }

  .qz-mobile-menu-header ul li:nth-child(3){
    padding-right: 0;
  }

  .qz-mobile-menu-header #loupe-search{
    display: none;
  }

  .main-navigation {
    display: none;
  }

  .qz-mobile-menu-container .main-navigation{
    display: block;
  }

  .qz-mobile-menu-container .main-navigation ul {
    position: relative;
    width: 100%;
    overflow: hidden;
    list-style: none;
    margin: 10% auto 0 auto;
    text-align: center;
  }

  .qz-mobile-menu-container .main-navigation ul li {
    margin-top: 2%;
  }

  .qz-mobile-menu-container .main-navigation ul li:nth-child(5) {
    margin-top: 5%;
    font-size: 1.5em;
}

  .qz-mobile-menu-container .main-navigation ul li:nth-child(1) {
    margin-top: 0;
  }

  .qz-mobile-menu-container .main-navigation .footer-menu-rs{
    margin-top: 10px;
    padding-top: 0px;
    border-top: 1px solid white;
  }

  .qz-mobile-menu-container .main-navigation .footer-menu-rs li{
    display: inline-block;
  }

  .qz-mobile-menu-container .main-navigation .footer-menu-rs li a img{
    width: 50px;
    height: 50px;
  }

  /*----------------------------
  ### Menu footer 
  Wordpress Names : 
    footer-menu-gauche
    footer-menu-rs
    footer-menu-centre
  -----------------------------*/
  .site-footer nav{
    float: none;
    height: auto;
  }

  .site-footer nav ul{
    padding: 0;
    list-style: none;
  }

  .site-footer nav img.qz-logo-srf{
    width: 20%;
    display: block;
    margin: auto;
  }

  /*Gauche*/
  .footer-menu-gauche{
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .footer-menu-gauche ul{
    margin: 0 auto;
  }

  .footer-menu-gauche ul li{
    display: inline-block;
    margin-left: 25px; 
  }

  .footer-menu-gauche ul li:nth-child(1){
    margin-left: 0; 
  }

  .footer-menu-rs-mobile{
    display: block;
    margin-top: 18px;
  }

  .site-footer .footer-menu-rs{
    display: none;
  }

  /*Centre*/
  .footer-menu-centre{
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .footer-menu-centre ul{
    margin: 18px auto; 
  }

  .footer-menu-centre ul li{
    display: inline-block;
    margin-left: 10px;
  }

  .footer-menu-centre ul li:nth-child(1){
    margin-left: 0;
  }

  /*Droite*/
  .site-footer nav:nth-child(3){
    display: none;
    width: 100%;
    text-align: center; 
  }

  /*--------------------------------------------------------------
  ## Sliding panel
  --------------------------------------------------------------*/
  .qz-mobile-menu-container{
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
  }

  .qz-mobile-menu-header{
    width: 100%;
    display: block;
    margin: 5% auto 0 auto;
    text-align: center;
  }

  .qz-mobile-menu-header img{
    position: relative;
    top: 13px;
    display: inline;
    height: 36px;
    width: 36px;
  }  

  .qz-mobile-menu-header .search-form{
    display: inline;
    width: 60%;
  } 

  .qz-mobile-menu-header .menu-header-menu-container{
    margin-bottom: 2%;
  } 

  .menu-toggle {
    width: 10%;
    border: none;
    background: url('assets/img/burger-blanc.svg') no-repeat center center;
    background-size: contain;
    box-shadow: none;
    cursor: pointer;
    position: absolute;
    right: 4%;
    top: 3%;
  }

  body:not(.home) .menu-toggle{
    top: 3%;
  }

  .menu-toggle.cross {
    background: url('assets/img/croix-blanche.svg') no-repeat center center;
    background-size: contain;
  }

  .slide-panel {
    background: url('assets/img/qz-mobile-slide-panel-fond.jpg') no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
  }

  .qz-search-form{
    background: transparent;
  }

  /*--------------------------------------------------------------
  # Content
  --------------------------------------------------------------*/

  /*--------------------------------------------------------------
  ## Classes de page builder
  --------------------------------------------------------------*/
  .qz-page-content {
    padding: 0 5%;
  } 

  .qz-mobile-hidden{
    display: none;
  }

  .panel-grid{
    padding: 0 5%!important;
  }
}

/*--------------------------------------------------------------
----------------------------------------------------------------
MEDIA QUERY IPAD
----------------------------------------------------------------
--------------------------------------------------------------*/
@media only screen and (min-device-width: 768px) and (max-device-width: 768px){
  .qz-sticky-bandeau a.home-logo{
    display: block;
    width: 80%;
    height: 50%;
    top: 20%;
    left: 10%;
  }

  .main-navigation ul li a{
    font-family: 'Fedra-sans-bold';
    font-size: 2.071rem;
  }
} 

/*--------------------------------------------------------------
----------------------------------------------------------------
MEDIA QUERY IPAD LANDSCAPE
----------------------------------------------------------------
--------------------------------------------------------------*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
  .qz-fleche-scroll{
    width: 10%;
    height: 10%;
    left: 45%;
  }
}
