/*

Loïc Le Gall 1.0

Author: Maxime Vautier
URL:    http://hemve.fr
Email:  hem.vautier@gmail.com

*/

/* Muli
-------------------------------------------------- */
@font-face {
    font-family: 'mulibold';
    src: url('../fonts/muli-bold-webfont.woff2') format('woff2'),
         url('../fonts/muli-bold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'mulibolditalic';
    src: url('../fonts/muli-bolditalic-webfont.woff2') format('woff2'),
         url('muli-bolditalic-webfont.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'mulilight';
    src: url('../fonts/muli-light-webfont.woff2') format('woff2'),
         url('../fonts/muli-light-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'mulilightitalic';
    src: url('../fonts/muli-lightitalic-webfont.woff2') format('woff2'),
         url('../fonts/muli-lightitalic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

/* Caslon Graphique
-------------------------------------------------- */
@font-face {
    font-family: 'caslongraphique';
    src: url('../fonts/313A9F_0_0.woff2') format('woff2'),
         url('../fonts/313A9F_0_0.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  width: 100%;
  height: auto;
}

/* Links
-------------------------------------------------- */
a {
  color: inherit;
  padding: 0 !important;
  text-decoration: none;
  font-family: "mulibold",serif;
}

/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}

/* Site
-------------------------------------------------- */
html {
  font-family: 'mulilight', sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 0.9em;
  line-height: 1.3em;
  background: #fff;
  color: #000;
  padding: 0 !important;
}

/* Navigation
-------------------------------------------------- */
nav {
  float: left;
  margin: 3.5%;
}
nav span + span:before{
  content: "|";
}
.menu a {
  font-family: 'mulilight',sans-serif;
  font-size: 1em;
}
.menu a:hover {
  font-family: 'caslongraphique',serif;
  text-decoration: none;
  font-size: 1.1em;
}
.menu .active {
  font-family: 'caslongraphique',serif;
  font-size: 1.1em;
}
.menu > li > a {
  font-weight: 400;
}
.logo {
  font-family: 'caslongraphique',serif !important;
  font-size: 1.3em !important;
}

/*TEST SLIDERS*/
.big_cont {
  position: absolute;
  height: 50vh;
  width: 92.5%;
  overflow: hidden;
}
.cont_slide {
  height: 105%;
  overflow: scroll;
  overflow-y: hidden;
  display: inline-block;
}
.cont_slide li{
  float: left;
  display: inline-block;
  height: 100%;
  margin-right: 15px;
}
.cont_slide a {
  height: 100%;
  width: 100%;
}
.cont_slide a img {
  height: 100%;
  width: auto;
}

/* Headings
-------------------------------------------------- */
h1 {
  font-family: 'caslongraphique',serif;
  font-size: 1.3em;
  font-weight: 400;
}
h1 a, h3 a {
  color: inherit;
}
h3 {
  font-family: 'mulibold', sans-serif;
  font-size: 1em;
  margin-bottom: 1em;
  margin-top: 0.1em;
}
.cap {
  text-transform: capitalize;
}
.tags {
  margin: 0 !important;
  list-style: none;
}
.tags li {
  display: inline-block;
}
.tags li a {
  font-family: 'mulilight', sans-serif;
  color: grey;
}
.tags li a:hover {
  color: black;
}
.tags li + li:before{
  content: "|";
  color: grey;
}
/* Main
-------------------------------------------------- */
.main {
  position: relative;
  padding-left: 3.5%;
  padding-right: 3.5;
}
.text p {
  margin-bottom: 0.8em;
}
/* Text blocks */
.text {
  width: 45%;
  float: left;
  margin-left: 2%;
  padding: 0;
}
.text ul,
.text ol {
  margin-left: 1em;
}

.text p a {
  font-weight: 600;
}

.main .text {
  margin-left: 0;
  margin-top: 0;
}

/* Home / enseignement
-------------------------------------------------- */
.selection {
  float: left;
  width: 45%;
  height: 60vh;
  margin-left: 3.5%;
  list-style: none;
}
.select-cont {
  position: relative;
  width: 100%;
  height: 100%;
}
.select-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}
.select-img a {
  display: inline-block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}

/* Edition
-------------------------------------------------- */
.teaser li {
  float: left;
  display: inline-block;
  margin: 1em;
  list-style: none;
  width: 22%;
  margin-right: 0%;
  margin-bottom: 0em;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
aspect-ratio: 4/3}
.teaser li :before {
  content: "";
  display: block;
  padding-top: 55%;
}
.teaser li a {
  display: inline-block;
  height: 100%;
  width: 100%;
}

/* Categories
-------------------------------------------------- */
.list-edit li {
  float: left;
  display: inline-block;
  margin: 0;
  list-style: none;
  width: 23.5%;
  margin-right: 1.5%;
  margin-bottom: 1.5%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
.list-edit li :before {
  content: "";
  display: block;
  padding-top: 100%;
}
.list-edit li a {
  display: inline-block;
  height: 100%;
  width: 100%;
}

/* Typographie
-------------------------------------------------- */
.box-typo {
  width: 100%;
  padding-bottom: 2%;
  list-style: none;
}
.box-typo li {
  vertical-align: top;
  width: 70%;
  display: inline-block;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 2%;
  padding-left: 3.5%;
  width: 100%;
  bottom: 0;
  font-size: .8em;
}

/* Caroussel
-------------------------------------------------- */
.swiper-container {
  width: 100%;
  margin-bottom: 1%;
}
.swiper-container:hover {
  cursor: ew-resize;
}
.swiper-button-disabled {
  display: none;
}
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  z-index: 99;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 3%;
  background-image: none;
  background-position: center center;
  background-size: 40% auto;
}
.swiper-button-next {
  background-image: url('../images/fdroite.png');
  right: 0;
}
.swiper-button-prev {
  background-image: url('../images/fgauche.png');
  left: 0;
}
.swiper-slide {
  position: relative;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
}
.theatre-slide:before {
  content: "";
  display: block;
  padding-top: 150%;
}
.edit-slide:before {
  content: "";
  display: block;
  padding-top: 80%;
}
.edit-slide img {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
}
.sceno-slide {
  background-size: cover;
}
.sceno-slide:before {
  content: "";
  display: block;
  padding-top: 80%;
}
.swiper-slide a {
  display: inline-block;
  position:  absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 99;
}

  /*  theatre */
.show-slide {
  background-position: top center;
  background-size: contain;
  padding: 0;
}
.theatre-slide {
  background-position: top center;
  background-size: cover;
  padding: 0;
}
.show .text {
  position: absolute;
  z-index: 99;
  background-color: white;
  padding-top: 1.5%;
  padding-right: 3%;
  width: 25%;
  margin: 0;
  bottom: -1px;
  left: -1px;
}

/* Media Queries
====================================================== */
@media (max-width : 1260px) {
  .teaser li {
    width: 33%;
  }
}
@media (max-width : 1050px) {
  .solo-show .show-slide:first-child,
  .solo-show .show-slide:last-child {
    display: none;
  }
  .show .text {
    position: relative;
    z-index: 99;
    width: 80%;
    background-color: white;
    padding: 0;
    margin-top: 5%;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
@media (orientation : portrait),
(max-width : 800px) {
  .text {
    width: 80%;
    margin-left: 3.5%;
  }
  .box-typo li {
    vertical-align: top;
    width: 90%;
    display: inline-block;
  }
  .selection {
    float: left;
    width: 90%;
    height: 60vh;
    margin-left: 3.5%;
    list-style: none;
  }
  .solo-show .show-slide:first-child,
  .solo-show .show-slide:last-child {
    display: none;
  }
  .show .text {
    position: relative;
    z-index: 99;
    width: 80%;
    background-color: white;
    padding: 0;
    margin-top: 5%;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .teaser li {
    width:90%;
  }
}
