/*
 :::  Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}
ol, ul {
  list-style: none;
}
sub,
sup {
  font-size: 65%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }


/*
 :::  Variables
-------------------------------------------------- */
:root {
  --lngA: #ff4141;
  --lngB: #272a30;
  --lngC: #fff;
  --lngD: #c9c9c9;
  --lngE: #f1f4f6;
}


/*
 :::  Global
-------------------------------------------------- */
html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  color: var(--lngB);
  background-color: var(--lngC);
  font-family: 'Work Sans', Helvetica, sans-serif;
  line-height: 1;
  font-size: 90%;
}
  @media only screen and (min-width : 40em) {
    body {
      font-size: 100%;
    }
  }
main {
  line-height: 1.4;
  max-width: 50em;
  margin: 0 6vw;
}
  @media only screen and (min-width : 40em) {
    main {
      line-height: 1.5;
      margin: 0 12vw;
    }
  }

.mainlike {
  margin: 0 6vw;
}
  @media only screen and (min-width : 40em) {
    .mainlike {
      margin: 0 12vw;
    }
  }

footer.mainlike {
  margin-bottom: 5em;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 3em 0;
  padding: 0;
}
.logo {
  position: fixed;
  right: 2.8vw;
  width: 100px;
  width: calc(2vw + 7vh);
  bottom: 2.8vw;
}

/* Page évènements */

.evenements {
  max-width: 100%;
}
  .evenements section {
    margin-bottom: 5em;
  }
.evenement {
  overflow: hidden;
  padding: 1.7em;
  background: var(--lngE);
}
.en-cours img {
  width: 100%;
}
  @media only screen and (min-width : 40em) {
    .en-cours img {
      width: 50%;
      float: left;
      margin-right: 2em;
    }
  }

.evenements-passes, .evenements-a-venir {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 3vw;
}
  .evenements-en-cours h1 {
    margin: 1em 0;
  }
  .evenements-a-venir h3 {
    margin: .7em 0;
  }
  .evenements-passes h4 {
    margin: .5em 0;
  }

a.details {
  -webkit-transition: .2s;
  transition: .2s;
}

.infos {
  overflow: auto;
}
  .infos li {
    text-indent: -1.2rem;
    padding-left: 1.4rem;
    margin-bottom: 0.5em;
    line-height: 1.3;
  }
  .infos li::before {
    display: inline-block;
    content: '';
    height: 0.5rem;
    width: 0.5rem;
    margin-right: 0.75rem;
    background-color: var(--lngA);
  }

.evenements-passes li::before {
  height: 0.4rem;
  width: 0.4rem;
}

/* Page artistes */

main.artistes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: .5em;
}
  @media only screen and (min-width : 40em) {
    main.artistes {
      grid-gap: 4em;
    }
  }

main.artistes, main.artiste {
  margin-bottom: 5em;
}
main.artistes {
  max-width: 100%;
}
.artiste-bloc {
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--lngB);
  background-size: 0;
  min-height: 10vh;
  position: relative;
}
    @media only screen and (min-width : 40em) {
      .artiste-bloc {
        height: 20vh;
        background-size: cover;
      }
    }
    .artiste-bloc::before {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      border-width: .5em;
      border-style: solid;
      border-color: var(--lngC);
    }
    @media only screen and (min-width : 40em) {
      main.artistes > .artiste-url:first-child {
        grid-column-start: 2;
      }
    }

a.artiste-url:hover {
  color: var(--lngC);
}
.artiste-cap {
  position: absolute;
  top: 0;
  font-size: 1.5em;
  line-height: 0.8;
}


/* Page partenaires */

.partenaires {
  margin: 0 12vw 5em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 3em;
}

.partenaire {
  padding: 1em;
  text-align: center;
  border-bottom: 1px solid var(--lngD);
}

.partenaire img {
  height: 4em;
  margin-bottom: 1em;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Test Autoprefixer */
.testautoprefix {
  transition: 1s;
}

/*
 :::  Links
-------------------------------------------------- */
a {
  -webkit-transition: .1s;
  transition: .1s;
}
a:link,
a:visited {
  color: var(--lngA);
  text-decoration: none;
}
a:hover,
a:active {
  color: var(--lngB);
}
a.more:link,
a.more:visited {
  background: var(--lngD);
  color: var(--lngC);
  padding: .2em .7rem;
  font-size: .7em;
  letter-spacing: .1em;
  font-weight: bold;
}
a.more:hover,
a.more:active {
  background: var(--lngA);
}



/*
 :::  Site header
-------------------------------------------------- */
.hmwrap {
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--lngB);
  background-size: cover;
}
.site-header {
  padding: .2em 1rem 0;
  height: 42vh;
}
  @media only screen and (min-width : 40em) {
    .site-header {
      height: 66vh;
    }
  }
  .site-header a {
    font-size: 12vw;
    line-height: 6.6vw;
    color: var(--lngC);
  }
    @media only screen and (min-width : 40em) {
      .site-header a {
        font-size: 13vw;
        line-height: 0.6;
      }
    }
  .site-header p {
    margin-top: 1.25em;
    font-size: .7em;
    line-height: 1.3;
    color: var(--lngC);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.4em;
    padding-left: 1.3rem;
  }



/*
 :::  Navigation
-------------------------------------------------- */
.menu {
  margin-bottom: 2em;
  padding: 0 1.2rem 1em;
}
  @media only screen and (min-width : 40em) {
    .menu {
      margin-bottom: 5em;
      padding: 0 0 0 2.2rem;
    }
  }
  .menu li {
    float: left;
    display: inline-block;
  }
    .menu a {
      display: block;
      background: var(--lngB);
      padding: 1em;
      color: var(--lngC);
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    @media only screen and (min-width : 40em) {
      .menu a {
        background: transparent;
      }
    }
      .menu a.active {
        background: var(--lngA);
      }
      .menu a:hover {
        background: var(--lngB);
      }
  @media only screen and (min-width : 40em) {
    .menu ul {
      float: left;
    }
  }



/*
 :::  Search
-------------------------------------------------- */
.search {
  display: block;
  width: 100%;
}
  .search input {
    display: block;
    padding: 1em;
    width: 100%;
    font-size: inherit;
    background: var(--lngC);
    color: var(--lngB);
    font-family: inherit;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
  }
@media only screen and (min-width : 40em) {
  .search {
    float: right;
    width: 25%;
  }
    .search input {
      height: 48px;
    }
}



/*
 :::  Results
-------------------------------------------------- */
.results {
  margin-bottom: 5em;
}
  .results > li {
    padding-bottom: 1em;
    margin-bottom: .5em;
  }
    .results h2 {
      margin-bottom: .25em;
      font-size: 1.75em;
      font-weight: 400;
    }



/*
 :::  Results' heading
-------------------------------------------------- */
.result {
  margin-bottom: 1em;
  font-size: 1.5em;
}
  .result mark {
    background: inherit;
    color: inherit;
  }



/*
 :::  Article basics
-------------------------------------------------- */

  article {
    margin-bottom: 5em;
  }

  article header {
    margin-bottom: .7em;
    padding-bottom: .5em;
  }
    article header h1 a:link, article header h1 a:visited {
      color: var(--lngB);
    }
    article header h1 a:hover, article header h1 a:active {
      color: var(--lngA);
    }
  article p {
    font-size: 1.125em;
    margin-bottom: 1.5em;
    letter-spacing: -.01em;
  }
  article.journal {
    margin-bottom: 5em;
  }

  footer.retour {
    margin-bottom: 5em;
  }

/* Section logos partenaires */

.logos-partenaires {
  margin: 0 0 5em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 0;
}

.logo-partenaire {
  padding: 1em;
  text-align: center;
}

.logo-partenaire img {
  height: 4em;
  margin-bottom: 1em;
  -o-object-fit: contain;
     object-fit: contain;
}



/*
 :::  Article meta
-------------------------------------------------- */
.meta {
  font-size: 0.8em;
}
  .meta::after {
    content: '';
    display: block;
    width: 2em;
    height: 0.2em;
    margin-top: 1.5em;
    background-color: var(--lngB);
  }



/*
 :::  Tags
-------------------------------------------------- */
.tags {
  display: inline-block;
}
  .tags li {
    display: inline-block;
    margin-right: .25em;
    text-transform: lowercase;
  }



/*
 :::  Headings
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}
h1 {
  font-size: 2.25em;
  margin-bottom: .25em;
}
  @media only screen and (min-width : 40em) {
    h1 {
      letter-spacing: .03em;
    }
  }
  h1.groupe {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1em;
    text-align: center;
  }
  .passes h1.groupe {
    margin-bottom: -.5em;
  }
  
h2 {
  font-size: 1.8em;
  margin-top: 1.5em;
  margin-bottom: .5em;
}
  h2.annee {
    font-weight: 400;
    margin: 1em 0 .5em;
  }

h3 {
  font-size: 1.6em;
  margin-top: 1.5em;
  margin-bottom: 1em;
}
h4 {
  font-size: 1.2em;
  margin-bottom: .5em;
}
h5 {
  font-size: 1.15em;
  margin-bottom: .5em;
  text-transform: uppercase;
}
h6 {
  font-size: 1.1em;
  margin-bottom: .5em;
}


/*
 :::  Blockquotes
-------------------------------------------------- */
blockquote {
  margin-bottom: 2em;
  padding: .5em 1em;
  font-style: italic;
  border-left: 10px solid var(--lngB);
}
  blockquote p:last-of-type {
    margin-bottom: 0;
  }



/*
 :::  Buttons
-------------------------------------------------- */
a.button {
  display: inline-block;
  background-color: var(--lngB);
  padding: 1em 1.4em;
  color: var(--lngC);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8em;
  }
  a.button:hover {
    background-color: var(--lngA);
  }



/*
 :::  Code
-------------------------------------------------- */
.content pre {
  margin-bottom: 2em;
  padding: 2em;
  background: #f5f5f5;
  overflow: auto;
}
.content code {
  font-family: 'Menlo', Courier, monospace;
}
.content p code {
  background-color: #eee;
}



/*
 :::  Unordered Lists
-------------------------------------------------- */
.content ul {
  margin-bottom: 1.5em;
  list-style: disc inside;
}
  .content ul ul,
  .content ul ol {
    margin-bottom: 0;
    margin-left: 1.5em;
  }



/*
 :::  Ordered Lists
-------------------------------------------------- */
.content ol {
  margin-bottom: 1.5em;
  list-style: decimal inside;
}
  .content ol ul,
  .content ol ol {
    margin-bottom: 0;
    margin-left: 1.5em;
  }



/*
 :::  Description Lists [Markdown extra feature]
-------------------------------------------------- */
.content dl {
  margin-bottom: 1.5em;
}
  .content dt {
    margin-top: 1em;
    font-weight: 600;
    font-size: 1.1em;
  }



/*
  :::  Tables [Markdown extra feature]
-------------------------------------------------- */
.content table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 2rem;
}
  .content table th,
  .content table td {
    padding: .5rem 1rem;
    background-color: #eee;
    border: 2px solid var(--lngC);
  }
  .content table th {
    background-color: #ddd;
  }



/*
 :::  Media
-------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}
article figure {
  margin-bottom: 1.5em;
}
  article figcaption {
    margin-top: 0;
    font-size: 0.85em;
    color: #888;
    text-align: right;
  }



/*
 :::  Fluid video ratio via Kirbytext
-------------------------------------------------- */
.video {
  position: relative;
  padding-bottom: 56.25%;
  height: auto;
  overflow: hidden;
}
  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }



/*
 :::  Pagination
-------------------------------------------------- */
.pagination {
  margin: 3em 0;
}
  .pagination .prev {
    float: left;
  }
  .pagination .next {
    float: right;
  }



/*
 :::  Site footer
-------------------------------------------------- */
.site-footer {
  padding: 8em 0 0m;
  font-size: 0.8em;
  line-height: 1.8;
  max-width: 100%; 
  margin: 0 6vw 3em;
}
  @media only screen and (min-width : 40em) {
    .site-footer {
      margin: 0 12vw 3em;
    }
  }



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



/*
 :::  Visually hidden [vh]
-------------------------------------------------- */
.vh {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


/*
 :::  Other helpers
-------------------------------------------------- */
.tal {
  text-align: left;
  margin-left: -0.1em;
}
.tac {
  text-align: center;
}
.tar {
  text-align: right;
  margin-bottom: -0.5em;
}
.wefadetogray {
  color: var(--lngD);
}
.rotateR {
  display: inline-block;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.rotateL {
  display: inline-block;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
