
/* Gelder 
--------------------------------------------------*/
@font-face {
    font-family: 'gelder';
    src: url('../fonts/gelder/geldersans_light-webfont.eot');
    src: url('../fonts/gelder/geldersans_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gelder/geldersans_light-webfont.woff2') format('woff2'),
         url('../fonts/gelder/geldersans_light-webfont.woff') format('woff'),
         url('../fonts/gelder/geldersans_light-webfont.ttf') format('truetype'),
         url('../fonts/gelder/geldersans_light-webfont.svg#gelder_sanslight') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'gelder';
    src: url('../fonts/gelder/geldersans_medium-webfont.eot');
    src: url('../fonts/gelder/geldersans_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gelder/geldersans_medium-webfont.woff2') format('woff2'),
         url('../fonts/gelder/geldersans_medium-webfont.woff') format('woff'),
         url('../fonts/gelder/geldersans_medium-webfont.ttf') format('truetype'),
         url('../fonts/gelder/geldersans_medium-webfont.svg#gelder_sansmedium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'gelder';
    src: url('../fonts/gelder/geldersans_black-webfont.eot');
    src: url('../fonts/gelder/geldersans_black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gelder/geldersans_black-webfont.woff2') format('woff2'),
         url('../fonts/gelder/geldersans_black-webfont.woff') format('woff'),
         url('../fonts/gelder/geldersans_black-webfont.ttf') format('truetype'),
         url('../fonts/gelder/geldersans_black-webfont.svg#gelder_sansblack') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'gelder';
    src: url('../fonts/gelder/geldersans_extrabold-webfont.eot');
    src: url('../fonts/gelder/geldersans_extrabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gelder/geldersans_extrabold-webfont.woff2') format('woff2'),
         url('../fonts/gelder/geldersans_extrabold-webfont.woff') format('woff'),
         url('../fonts/gelder/geldersans_extrabold-webfont.ttf') format('truetype'),
         url('../fonts/gelder/geldersans_extrabold-webfont.svg#gelder_sansextrabold') format('svg');
    font-weight: 900;
    font-style: normal;
}

/* GIT 
--------------------------------------------------*/

@font-face {
    font-family: 'git';
    src: url('../fonts/git/git-webfont.eot');
    src: url('../fonts/git/git-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/git/git-webfont.woff2') format('woff2'),
         url('../fonts/git/git-webfont.woff') format('woff'),
         url('../fonts/git/git-webfont.ttf') format('truetype'),
         url('../fonts/git/git-webfont.svg#gitregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}
*{  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* 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;
}

strong{
  font-weight: 700;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: red;
}


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


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "gelder", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  padding: 0.5em;
  max-width: 50em;
  background: #fff;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  margin-bottom: 0.1em;
}
header .logo {
  display: inline-block;
  margin: 1.5em 0 1.5em 3em;
  width: 7em;
}
.logo img {
  width: 100%;
}

.page-title {
  position: absolute;
  top: 80px;
  left:50%;
  width: 515px;
}

.page-title h1 {
  font-family: 'gelder';
  font-weight: 100;
  text-transform: uppercase;
  font-size: 2.5em;
  line-height: 1em;
  margin-bottom: 10px;
}

.page-title .download-links a{
  font-size: 0.55em;
  text-transform: uppercase;
}

.page-title a:hover {
  color:#E64442;
}

.page-title a .icon-dossier {
  width: 15px;
  height: 15px;
  margin: 7px;
  float: left;
}

.page-title a img{
  display: inline-block;
  margin-right: 3px;
  width: 100%; 
}

.compagnie-submenu{
  position: absolute;
  top: 150px;
  left:50%;
  width: 400px;
}

.compagnie-submenu li{
  display: inline-block;
  font-size: 0.55em;
  line-height: 0.8em;
  text-transform: uppercase;
  margin-right: 2em;
}

.compagnie-submenu li img{
  display: inline;
  margin-right: 5px;
}

.compagnie-submenu li a:hover{
  color: rgb(113, 193, 159);
}

.compagnie-submenu li a.active {
  color: rgb(113, 193, 159);
}

/* Navigation
-------------------------------------------------- */
nav {
  display: inline-block;
}

.menu {
  display: inline-block;
  margin-right: -1em;
}

.menu a {
  display: block;
  color: #000;
}
.menu a:hover {
  text-decoration: none;
}

.menu li {
  border-right: 1px solid #000;
  list-style: none;
  margin-left: -6px;
}

.menu > li {
  position: relative; 
  display: inline-block;
}
.menu > li > a {
  padding: 0 2.5em;
  text-transform: uppercase;
  font-size: 0.5em;
}

.menu > li:hover .submenu {
    display: block;
}

.menu li:last-child {
  border-right:0;
}

.menu > li:first-child:hover .submenu {
  display: none;
}


.submenu {
  position: absolute;
  z-index: 1;
  padding-top: 1em;
  display: none;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
}

.submenu li {
  border: 0;
  margin: 0;
}

.submenu a {
  padding: 0 1.4em;
  font-size: .8em;
  font-weight: 300;
  color: #000;
  background: #fff;
  white-space: nowrap;
}

/* Bouton mobile ------- */

.mobile-menu_btn{
  display:none;
  position:absolute;
  right: 25px; 
  top: 25px;
  cursor:pointer;
  height:24px;
  width: 24px;
}

.mobile-menu_btn span {
  display:none;
  background:#000;
  height:2px;
  width:26px;
  position:absolute;
  transition:all 0.5s ease;
}

.mobile-menu_btn span:nth-child(1){top:0px;}
.mobile-menu_btn span:nth-child(2){top:8px;}
.mobile-menu_btn span:nth-child(3){top:16px;}

.mobile-menu_btn  .transparent {opacity:0;}
.mobile-menu_btn  .rotate-top{transform:rotatez(45deg);-webkit-transform-origin:0%;left:2px}
.mobile-menu_btn  .rotate-bottom{transform:rotatez(-45deg);-webkit-transform-origin: 15%;}


/* Search
-------------------------------------------------- */

.search {
  display: inline-block;
  margin-left: 100px;
  margin-top: 10px;
  vertical-align: bottom;
  position: relative
}

.search .social-network{
  display: inline-block;
  position: absolute;
  left:-59px;
  top:5px;
}

.search .social-network a{
  display: inline-block;
  width: 20px;
  height:20px;
}

.search .social-network img{
  width: 100%;
  max-width: 110%;
}

.search .search-field{
  display: inline-block;
  height: 20px;
  width: 60px;
}

.search .search-field input{
  background-color: rgba(0,0,0,0.2);
  padding: 5px;
  outline: none;
  width: 115px;
}

::-webkit-input-placeholder {
   color: grey;
}

:-moz-placeholder { /* Firefox 18- */
   color: grey;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: grey;  
}

:-ms-input-placeholder {  
   color: grey;  
}


/* Display Search Results
-------------------------------------------------- */
.search-page .no-results{
  height: 300px;
  padding: 20px;
  background: rgb(227, 81, 91);
  color: #FFF;
}

.result{
  background-color: rgb(255, 253, 213);
  padding: 20px;
  border-top: 1px solid #000;
  display: flex;
}

.result .result-image{
  margin-right: 20px;
  width: 300px;
}

  
.result h1{
  font-family: 'git', sans-serif;
  font-size: 1em;
}

.result p{
  font-family: 'gelder', sans-serif;
  font-size: 0.8em;
  line-height: 1.2;
}

.result p.plus{
  font-weight: 900;
  text-decoration: underline;
  margin-top: 20px;
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: red;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: red;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

/* Calendrier 
-------------------------------------------------- */
.agenda-spectacles {
  width: 60%;
  display: inline-block;
}

.agenda-tableau {
  width:30%;
  display: inline-block;
  vertical-align: top;
  margin-top: -15px;
  margin-left: 9%;
}

/* Agenda Spectacles */

.agenda-spectacles li {
  list-style: none;
  padding: 10px 20px;
}

.agenda-spectacles li a {
  text-decoration: none;
  color: #000;
  border-bottom:none;
}

.agenda-spectacles li:nth-child(odd){
  background-color: rgb(101, 194, 211);
}

.agenda-spectacles li:nth-child(even){
  background-color: #baf4ff;
}

.dates{
  display: flex;
}

.agenda-spectacles li .left {
  width:80px;
}

.agenda-spectacles li .right {
  width: 80%;
  margin: 10px 10px 10px 15px;
}

.agenda-spectacles li h1{
  padding: 15px 10px;
  text-align: center;
  background-color: #FFF;
  border-radius: 100px;
  font-family: 'gelder';
  font-size: 0.6em;
  text-transform: uppercase;
}

.agenda-spectacles li h1 span{
  font-size: 3em;
}

.agenda-spectacles li h2{
  font-family: 'git';
  font-size: 1.4em;
  color: #000;
  margin-bottom: 0px;
}

.agenda-spectacles li h3{
  font-family: 'gelder';
  font-size: 0.7em;
  color: #000;
  margin-bottom: 0px;
}

.agenda-spectacles li p{
  margin-bottom: 5px;

}


/* Agenda Tableau */

.hidden-date {
  display: none;
}

.padding{
    border-style: none;
}
.period{
    border-style: none;

}
.relative{
  position:relative;
}

tbody{
    position:relative;
/*    left:10px;*/
}

table{
    border-collapse: collapse;
}
table td{
    border:1px solid #cfcfcf;
    width:80px;
    height:30px;
}

table td.padding{
    border:1px solid #cfcfcf;
}

table td.today{
    border:1px solid red;
    width: 80px;
    height: 30px;
}

table td:hover{
    background:#DFDFDF;
    cursor:pointer;
}

table th{
    font-weight:normal;
    color:#000;
    font-size: 0.8em;
    border:1px solid #cfcfcf;
}

table td .day{
    position:absolute;
    width: 100%;
    text-align: center;
    color:#000;
    font-size: 0.8em;
    bottom: -15px;
}

table td .daytitle{
    display:none;
}

table td .hover.daytitle{
    position:absolute;
    left:582px;
    top:21px;
    width:442px;
    list-style:circle;
}

.year{
    color:#000;
    border-bottom: 1px solid #000;
}

.month{
  margin-top:5px;
}

.months ul{
    list-style:none;
    margin:0px;
    padding:0px;
}

.months ul li {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9em;
}

.months ul li a{
  border-bottom: none;
  padding: 4px 5px 4px 7px;
  color: #000;
}

.months ul li a.active{
  background-color: rgb(101, 194, 211);
  color:#FFF; 
}

.months ul li a:hover{
  background-color: rgb(101, 194, 211);
  color:#FFF;
}


.day{
    color:#000;
    font-size: 1em;
    border-style: none;
}

.clear
{clear:both;}

.date-title {
  display: none;
  font-size: 0.7em;
  width: 100%;
  padding: 5px;
  background-color: #000;
  color: #FFF;
  position: absolute;
  top:182px;
  left:0px;
  z-index: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Main
-------------------------------------------------- */
.main {
  width:100%;
}

.main a {
  border-bottom: 2px solid #ddd;
  color: #FFF;
}
.main a:hover {
  border-color: #222;
  color: #000;
}

.main img{
  width: 100%;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

.text-project {
  width: 50%;
  height: auto;
  max-height: 450px;
  overflow: scroll;
  padding: 70px 60px 70px 70px;
}

.text-project h2{
  font-size: 1em;
  font-family: 'git';
  color: black;
}

.text-project p{
  font-size: 0.8em;
  line-height: 1.4em;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
}


.text-project p:last-child{
  padding-bottom: 60px;
}

.credits{
  width: 50%;
  height: auto;
  max-height: 300px;
  background-color: rgb(80,80,80);
  color: white;
  font-weight: normal;
  font-size: 0.7em;
  line-height: 1.4em;
  overflow: scroll;
  padding: 30px 60px 40px 60px;
}

.credits p:last-child{
  padding-bottom: 40px;
}

.credits p{
  margin-bottom: 20px;
}

.credits strong{
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}

/*Home - NEXT DATE
-------------------------------------------------- */

.next-date{
  background-color: rgb(101, 194, 211);
}

.next-date h3{
  font-size: 2em;
  font-weight: 100;
  color: #000;
  letter-spacing: 0.06em;
  line-height: 1em;
  margin-bottom: 0;
}

.next-date h4{
  font-size: 0.8em;
  line-height: 1.3em;
  font-weight: 900;
  color: #000;
  margin-top: 5px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.next-date h5{
  font-size: 0.7em;
  line-height: 1.3em;
  font-weight: 500;
  color: #000;
}

.next-date a h6{
  font-size: 0.7em;
  line-height: 1.3em;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  width: 90%;
  margin: auto;
  padding: 15px;
}

.next-date a h6:hover{
  text-decoration: underline;
}

.nextdate1 {
  width: 95%;
  margin: auto;
  border-bottom: 1px solid #000;
  padding: 10px;
}

.nextdate2 {
  width: 95%;
  margin: auto;
  border-bottom: 1px solid #000;
  padding: 13px;
}

/* Gallery images
-------------------------------------------------- */

#container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
} 

#container .item{
  min-height: 220px;
  position: relative;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
}

#container .box1-1 { grid-area: 1 / 1 / 2 / 3; }
#container .box1-2 { grid-area: 1 / 3 / 2 / 4; }
#container .box1-3 { grid-area: 1 / 4 / 5 / 6; }
#container .box2-1 { grid-area: 2 / 1 / 4 / 3; }
#container .box2-2 { grid-area: 2 / 3 / 4 / 4; }
#container .box3-1 { grid-area: 4 / 1 / 5 / 2; }
#container .box3-2 { grid-area: 4 / 2 / 5 / 4; }
#container .box4-2 { grid-area: 5 / 4 / 7 / 6; }
#container .box4-1 { grid-area: 5 / 1 / 7 / 4; } 

.feed{
  background: rgb(101, 194, 211);
}


.spectacles .text{
  display: -webkit-flex;
  display: -ms-flexbox;  
  -ms-flex-direction: column;
  -ms-flex-wrap: wrap;
  -webkit-flex-direction: column;
  -webkit-flex-wrap: wrap;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 1400px;
  width: 100%;
}

.spectacles .text figure{
  width:50%;
}

.download-links{
  width: 100%;
}

.download-links li{
  list-style:none;
  display:inline-block;
  margin-right:10px;
}

/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}

/* Static Page
-------------------------------------------------- */
.text-static {
 width: 50%;
 display: inline-block;
 vertical-align: top;
 position: relative;
 overflow: scroll;
 padding: 70px 60px 70px 70px;
}

.text-contact {
  padding-top: 50px !important;
}

.text-static h1{
  font-size: 1.3em;
  font-family: 'git';
  color: #000;
}

.text-static h2{
  font-size: 1em;
  font-family: 'git';
  color: #000;
}

.text-static h2 p{
  font-size: 1em;
  font-family: 'git';
  color: #000;
  padding: 0px;
}

.text-static h2 p:last-child{
  padding: 0px;
}

.text-static p{
  font-size: 0.8em;
  line-height: 1.4em;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
}

.text-static p:last-child{
  padding-bottom:80px;
}

.text-static .back {
  width: 15px;
  position: relative;
  top: -20px;
}

.images-static{
  width: 49.2%;
  display: inline-block;
}

.images-static figure {
  margin-left:-7px;
  display: block;
}

.images-static a{
  border: none;
  display: block;
}


/*Overlay on image */
.overlay {
  position: relative;
}

.compagnie-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  padding: 60px 20px;
  opacity: 0;
}

.compagnie-overlay h2{
  color:#FFF;
  text-transform: uppercase;
  font-weight: 100;
  font-size: 2.1em;
  line-height: 1em;
  opacity: 1;
}

.compagnie-overlay h3{
  color:#FFF;
  text-transform: uppercase;
  font-size: 0.6em;
  font-weight: 500;
  text-decoration: underline;
  opacity: 1;
}

.images-static figure:hover .compagnie-overlay{
    opacity: 1;
}

.spectacle-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  padding: 60px 20px;
  opacity: 0;
}

.spectacle-overlay h2{
  color:#FFF;
  text-transform: uppercase;
  font-weight: 100;
  font-size: 1.4em;
  line-height: 1em;
  opacity: 1;
}

.item:hover .spectacle-overlay{
    opacity: 1;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 2.8em 3em 9em;
  font-size: .75em;
  background-color: rgb(255, 250, 186);
  display: flex;
}

.footer a{
  font-weight: bold;
}

.footer a:hover {
  color: #000;
}

.footer .logo {
  width: 80px;
  margin: 0;
}

.footer .logo a img{
  width: 100%;
}

.colophon {
  margin-left: 20px;
  font-size: 0.7em;
  width: 80%;
}

.footer .social-network {
  margin-left: 20px;
}

.footer .social-network a{
  display: inline-block;
  width: 20px;
  height: 20px;
}

.footer .social-network a img{
  width: 100%;
}


/*SCROLL BAR*/

.jspVerticalBar {
  width: 3px;
  top:15px;
  right: 15px;
}

.jspTrack {
  background: #FFF;
}

.jspDrag {
  background: #000;
}


/* Responsive 
-------------------------------------------------- */
@media only screen and (max-width: 64em){

  body{
    padding: 0;
  }

  header{
    position: relative;
    height: 100px;
    background: #FFF;
  }

  header .logo{
    width: 3.5em;
    margin:0.7em 20px;
    position: absolute;
    top: 20px;
    left: 20px;
    margin:0;
  }

  header .search{
    position: absolute;
    top: 20px;
    right: 20px;
    margin:0;
  }

  header .search .search-field{
    width: auto;
  }

  header .search .social-network, 
  header .search .search-field {
    display: block;
    position: relative;
    left: 0;
    top:0;
  }

  .mobile-menu_btn{
    display: block;
    z-index: 99;
  }

  .mobile-menu_btn span{
    display: block;
  }

  .menu{
    position: absolute;
    right: 0;
    top: 50px;
    max-height:0; 
    overflow:hidden; 
    background: #FFF;
    margin:0;
    width: 70%;
    line-height: 1.1;
    transition: max-height 0.8s linear;
    z-index: 100;
  }
  .menu.active{
    max-height: 100vh; 
    overflow: auto;
  }

  .menu > li{
    border-right: none;
    text-align: right;
    padding: 0 22px;
    width: 100%;
  }

  .menu > li:first-child{
    padding-top: 20px;
  }

  .menu > li:last-child{
    padding-bottom: 20px;
  }

  .menu > li > a {
    font-size: 0.7em;
    padding: 8px;
  }

  .submenu{
    position: relative;
    padding-top: 0
  }

  .submenu > li{
    text-align: right;
  }

  .submenu a{
    padding: 3px 0;
    white-space: normal;
    font-size: 0.7em;
  }

  main{
    margin-top: 20px;
  }

  #container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 2fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  #container .box1-1 { grid-area: 1 / 1 / 2 / 3; } 
  #container .box1-2 { grid-area: 1 / 3 / 2 / 4; } 
  #container .box1-3 { grid-area: 1 / 4 / 4 / 6; }
  #container .box2-1 { grid-area: 2 / 1 / 3 / 3; } 
  #container .box2-2 { grid-area: 2 / 3 / 3 / 4; } 
  #container .box3-1 { grid-area: 3 / 1 / 4 / 2; }
  #container .box3-2 { grid-area: 3 / 2 / 4 / 4; }
  #container .box4-1 { grid-area: 4 / 1 / 5 / 4; }
  #container .box4-2 { grid-area: 4 / 4 / 5 / 6; }


  .main #container .nextdate1, .main #container .nextdate2{
    padding: 5px;
  }

  .main #container .next-date h3{
    font-size: 1.7em;
  }

  .main #container .next-date h4{
    font-size: 0.75em;
    margin-top:2px;
    margin-bottom:2px;
  }

  .main #container .next-date h5{
    /*font-size: 0.3em;*/
    display: none;
  }

  .main #container .next-date h6{
    font-size: 0.6em;
    padding: 5px;
  }

  .page-title{
    margin: 20px;
    position: relative;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
  } 

  .page-title .download-links a{
    font-size: 12px;
    text-transform: uppercase;
  }

  .compagnie-submenu{
    margin: 20px;
    position: relative; 
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    display: flex; 
    flex-wrap: wrap;
    max-width: 400px;
  }

  .compagnie-submenu li{
    margin: 0px 20px 15px 0px;
    font-size: 12px;
  }

  .download-links{
    width: 100%;
  }

  .text-static, .text-project{
    padding: 40px;
  }

  .footer{
    padding: 30px;
  }

  .colophon{
    line-height: 1.5;
  }

  .agenda-tableau{
    width:35%;
    margin-left:20px;
  }


}

@media only screen and (max-width: 48em){
  .main #container .next-date h3{
    font-size: 1em;
  }

  .main #container .next-date h4{
    font-size: 0.55em;
  }

  .main #container .next-date h6{
    font-size: 0.45em;
  }

  .text-static{
    display: block; 
    width: 100%;
    padding: 20px;
  }

  .text-static h1{
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }

  .text-static h2{
    width: 100%;
    padding: 0;
  }

  .text-static p, .text-project p{
    padding: 0;
    font-size: 0.8em;
  }

  .text-static .back{
    top: 0;
  }

  .images-static{
    width: 100%;
    display: block;
  }

  .text-project{
    width: 100%;
    height: auto;
    max-height: 100%;
    padding: 20px;
  }

  .text-project h2{
    padding: 0 !important;
    width: 100%;
  }

  .text-project p:last-child{
    padding-bottom: 0;
  }

  .spectacles .text {
    height: 100%;
  }

  .spectacles .text figure{
    width: 100%;
  }

  .credits{
    width: 100%;
    max-height: 100%;
    padding: 20px;
  }

  .credits p{
    padding: 0 !important;
  }

  .agenda-spectacles {
    width:100%;
    display: block;
    margin-bottom: 30px; 
  }

  .agenda .agenda-tableau {
    width: 100%;
    display: block;
    margin-top: 0;
    margin-left: 0;
  }

  .agenda .agenda-spectacles li h2{
    font-size: 1em;
  }

}





