/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100%;
  padding: 0;

  background-color: black;

  line-height: 1.2;
}

header {
  position: fixed;
  z-index: 32;
  height: 10em;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 4em;
  z-index: 1000;

  background-color: black;

  -webkit-transition: all 240ms ease;
     -moz-transition: all 240ms ease;
      -ms-transition: all 240ms ease;
       -o-transition: all 240ms ease;
          transition: all 240ms ease;
}

header.small {
  padding: 1.5em 4em;
  height: 140px;
}

header.small #icons {
  top: 20px;
}

header #logo {
  height: 90px;
  margin-top: 0px;
}

header #logo:hover {
  opacity: 0.5;
  cursor: pointer;
}

header #icons {
  position: absolute;
  right: 1em;
  top: 3em;

  -webkit-transition: all 240ms ease;
     -moz-transition: all 240ms ease;
      -ms-transition: all 240ms ease;
       -o-transition: all 240ms ease;
          transition: all 240ms ease;
}

header .section {
  height: 48px;
  width: 48px;

  margin-top: 6px;

  display: inline-block;

  background-color: black;
  margin-left: 2em;

  -webkit-box-shadow:inset 0 0 1px #000;
     -moz-box-shadow:inset 0 0 1px #000;
          box-shadow:inset 0 0 1px #000;
}

header .section.go {
  height: 73px;
  width: 73px;
}

header a.section.go img.desktop {
  display: inline-block;
}

header a.section.go img.mobile {
  display: none;
}

header .loc {
  margin-left: 2em;
}

header .section, header img.loc {
  -webkit-animation: fadein 240ms ease-out 360ms both;
     -moz-animation: fadein 240ms ease-out 360ms both;
      -ms-animation: fadein 240ms ease-out 360ms both;
       -o-animation: fadein 240ms ease-out 360ms both;
          animation: fadein 240ms ease-out 360ms both;
}

body.wellington header .section.active,
body.wellington header .section:hover,
header .section.go.wellington:hover {
  background-color: rgb(255, 150, 0); /*255,119,51*/
}

body.wellington .content a:hover {
  color: rgb(255,150,0);
}

body.sherbrooke header .section.active,
body.sherbrooke header .section:hover,
header .section.go.sherbrooke:hover {
  background-color: rgb(51,102,102);
}

body.sherbrooke .content a:hover {
  color: rgb(51,102,102);
}

header a.section:active {
  opacity: 0.75 !important;
}

.content a {
  text-decoration: none;
  color: #fff;
}

header .section img {
  width: 100%;
}

header div.loc {
  position: absolute;
  bottom: -2em;
}

header a.toggle {
  width: 8em;
  margin-right: 1em;
  height: 2em;
  background-color: black;
  color: white;
  display: inline-block;
  text-align: center;
  vertical-align: center;
  text-decoration: none;
}

body.wellington header a.toggle[href="wellington"] {
  color: #f73;
}

body.sherbrooke header a.toggle[href="sherbrooke"] {
  color: rgb(51,102,102);
}

#emploi {
  position: absolute;
  background: rgba(0,0,0,1);
  top: 30%;
  left: 8%;
  width: 84%;
  z-index: 1024;
  color: white;

  padding: 36px;
  box-sizing: border-box;
}

#emploi .fermer {
  position: absolute;
  top: -8px;
  right: -8px;
  border: 1px solid white;
  border-radius: 100px;
  font-weight: bold;

  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;

  background: #000;
}

#emploi .fermer:hover {
  cursor: pointer;
}

#medias {
  top: 160px;
  left: 62px;
  position: fixed;
  width: 60px;
  z-index: 1001;
}

#medias a {
  display: block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
}

#medias a:hover {
  opacity: 0.5;
}

#medias img {
  width: 100%;
}

div.parallax {
  position: relative;

  width: 100%;
  height: 100%;
  text-align: right;
  min-height: 600px;

  float: right;
  clear: right;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 140px 0 6em 0;

  overflow: hidden;

  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
}

div.content {
  position: relative;
  width: 100%;

  overflow: hidden;

  -webkit-transition: all 500ms ease;
     -moz-transition: all 500ms ease;
      -ms-transition: all 500ms ease;
       -o-transition: all 500ms ease;
          transition: all 500ms ease;

  background: no-repeat center fixed;
}

div.content.splash {
  position: relative;
  height: 100%;
}

body.home {
  height: 100%;
}

#splash {
  color: white;
  height: 100%;

  background-image: url("../photos/bieres-rousses.jpg");

  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
}

#splash .demi {
  display: block;
  height: 100px;
  width: 100%;
  color: inherit;
  text-decoration: none;

  margin-left: 0;

  padding: 10px;
  padding-left: 20%;

  background-color: rgba(0,0,0,0.5);

  /*text-shadow: rgba(0,0,0,0.8) 1px 1px 0px;*/
}

#splash a.wellington {
  margin-top: 180px;
}

/*#splash a:hover img {
  -webkit-filter: invert(1);
          filter: invert(1);
}*/

#splash img, #splash div {
  display: inline-block;
  vertical-align: top;
  padding-left: 1.5em;
}

#splash img {
  width: 98px;
}

#splash h1, #splash h2 {
  padding: 0;
  margin: 0;
  line-height: 1;
}

#splash h1 {
  margin: 8px 0 5px;
  font-size: 14px;
  line-height: 1;
}

#splash h2 {
  font-size: 12px;
  line-height: 24px;
  font-weight: normal;
}

/*div.content.wellington {
  position: absolute;
  top: 0;
  left: 100%;
}

div.content.sherbrooke {
  position: relative;
}*/

/*body.sherbrooke div.content.wellington {
  left: 100%;
}

body.wellington div.content.wellington {
  left: 0;
}

body.wellington div.content.sherbrooke {
  right: 100%;
}

body.sherbrooke div.content.sherbrooke {
  right: 0%;
}*/

.dark {
  background-color: rgba(0,0,0,0.75);
  padding-right: 4em;

  margin-top: 60px;
}

#menu .dark {
  background-color: rgba(0,0,0,0.75);
}

#message {
  background-image: url("../img/calendrier.160405.jpg");
}

#calendrier {
  background-size: cover;
}

body.sherbrooke #calendrier {
  background-image: url("../photos/s-f-calendrier.160405.jpg");
}

body.wellington #calendrier {
  background-image: url("../photos/w-f-calendrier.160405.jpg");
}

#bieres, #menu, #info {
  color: white;
  background: no-repeat center fixed;

  /*text-shadow: rgba(0,0,0,0.8) 1px 1px 2px;*/
}

body.wellington #bieres,
body.wellington #bieres .dark {
  background: no-repeat center 40px fixed;
}

#homme-1, #femme-1,
#homme-2, #femme-2 {
  display: block;
  position: absolute;
  width: 180px;
  height: 180px;

  top: -180px;

  opacity: 0.3;
  z-index: 10;

  pointer-events: none;
}

#homme-1, #femme-2 {
  left: 65%;
}

#femme-1, #homme-2 {
  right: 65%;
}

body.sherbrooke #femme-2,
body.sherbrooke #homme-2 {
  -webkit-transform: scale(-1, 1);
     -moz-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
       -o-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

#message {
  padding: 2em 0 0.5em;
  color: #fff;
  font-size: 30px;
  line-height: 1;

  position: relative;

  /*display: table;*/
  box-sizing: border-box;
  -moz-box-sizing: border-box;

  letter-spacing: 0.035em;

  font-family: "Lobster Two";
  font-style: italic;
}

#message div.centrer {
  /*display: table-cell;*/

  height: 4em;
  overflow: visible;

  position: absolute;
  top: 50%;

  margin-top: -2em;

  box-sizing: border-box;
  -moz-box-sizing: border-box;

  width: 100%;
  padding: 0 4em;

  vertical-align: middle;
  text-align: center;
}

#message .centrer .date {
  position: absolute;
  left: 12em;
  font-size: 12px;
  top: -2em;
}

/*#message a {
  font-family: "Helvetica Neue", sans-serif;
}*/

div.calendrier {
  color: white;
}

body.calendrier div.calendrier {
  width: 640px;
  margin: 0 auto;
}

.gocal {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

#slideshow {
  position: relative;
}

#slideshow .slide {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  display: none;
  opacity: 1;
}

.slide img {
  width: 100%;
}

#slideshow .slide:last-child,
#slideshow .slide:nth-last-child(2) {
  display: inline;
}

#slideshow .bye {
  -webkit-transition: all 240ms ease;
     -moz-transition: all 240ms ease;
      -ms-transition: all 240ms ease;
       -o-transition: all 240ms ease;
          transition: all 240ms ease;
          
  opacity: 0;
}

#slideshow .hello {
  -webkit-transition: all 240ms ease;
     -moz-transition: all 240ms ease;
      -ms-transition: all 240ms ease;
       -o-transition: all 240ms ease;
          transition: all 240ms ease;
          
  opacity: 1;
}

#slideshow .back {
  -webkit-animation: slidein ease 240ms both;
     -moz-animation: slidein ease 240ms both;
      -ms-animation: slidein ease 240ms both;
       -o-animation: slidein ease 240ms both;
          animation: slidein ease 240ms both;
  opacity: 0;
}

#slideshow .hellobye {
  display: inline;
  opacity: 0;
}

#slideshow .laterbye {
  display: none;
}

#calendrier {
  position: relative;
}

#calendrier .calendrier {
  font-size: 12px;
  font-weight: bold;
  width: 580px;
  height: 400px;
  position: absolute;
  bottom: 10%;
  left: 25%;
  /*margin-top: -160px;*/
  /*margin-left: -200px;*/
}

#calendrier .affiches {
  display: none;
  opacity: 0;
  background: rgba(0,0,0,0.72);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#calendrier .affiches.visible {
  display: block;
  opacity: 1;
}

#calendrier .affiches .affiche {
  display: none;
}

#calendrier .affiches .affiche.visible {
  display: block;
  position: absolute;
  left: 50%;
  top: 60%;

  height: 75%;

  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

.confetti {
  position: absolute;
  width: 12px;
  height: 6px;

  animation:confetti 2s cubic-bezier(0, 0, 0.49, -0.01), tourner 3s linear;
  -webkit-animation:confetti 2s cubic-bezier(0, 0, 0.49, -0.01), tourner 3s linear;
  animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite; /* Safari and Chrome */
}

.confetti.mai  {
  width: 80px;
  height: 30px;
  font-size: 24px;
  text-align: center;
  padding: 10px;
  font-family: "Futura";
  color: #ff3847;
  background: #f0dcff !important;

  animation:confetti 4s cubic-bezier(0, 0, 0.49, -0.01), tourner 12s linear;
  -webkit-animation:confetti 4s cubic-bezier(0, 0, 0.49, -0.01), tourner 12s linear;
  animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
}

@keyframes confetti
{
0%   {top:-40px;}
100% {top:800px;}
}
@-webkit-keyframes confetti /* Safari and Chrome */
{
0%   {top:-40px;}
100% {top:800px;}
}

@keyframes tourner
{
0%   {transform: rotate(-90deg)}
100% {transform: rotate(89deg)}
}
@-webkit-keyframes tourner /* Safari and Chrome */
{
0%   {-webkit-transform: rotate(-90deg)}
100% {-webkit-transform: rotate(89deg)}
}



/*#cal-10an canvas {
  background: transparent;
  height: 100%;
  left: 0px;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: -1;
}*/

#calendrier .affiche .affiche-image {
  height: 100%;
}

#calendrier .fermer {
  position: absolute;
  width: 20px;
  height: 20px;
  top: -10px;
  right: -10px;

  border-radius: 20px;
  font-size: 12px;
  line-height: 22px;

  text-align: center;

  color: white;
  background: black;
  border: 1px solid;
}

#calendrier .fermer:hover {
  cursor: pointer;
}

textarea.calendrier {
  display: none;
}

div.calendrier caption {
  /*font-family: "Lobster Two";*/
  font-style: normal;
  font-weight: 700;
  margin-bottom: 10px;
}

div.calendrier table,
div.calendrier .legende {
  float: left;
  margin: 18px;
  width: 154px;
}

.calendrier table:nth-of-type(3n+1) {
  clear: left;
}

body.calendrier div.calendrier table,
body.calendrier div.calendrier .legende {
  float: left;
  margin: 40px;
  width: 240px;
}

div.calendrier .legende {
  text-align: left;
}

div.calendrier td {
  width: 18px;
  height: 18px;
  padding: 2px;
  text-align: center;
  line-height: 18px;
}

body.calendrier div.calendrier td {
  padding: 2px;
  text-align: center;
  line-height: 30px;
}

div.calendrier th {
  color: rgb(255, 150, 0);
  text-align: center;
}

div.calendrier a {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  font-weight: bold;
}

div.calendrier a:hover {
  opacity: 0.6;
}

.legende .rond {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 100px;

  position: relative;
  top: 8px;
  margin: 3px 6px;
}

body.calendrier .legende .rond {
  width: 24px;
  height: 24px;
  top: 11px;
  margin: 4px 8px;
}

body.calendrier .content {
  padding-top: 10em;
}

body.calendrier .slide {
  position: relative;
}

body.calendrier .content a.go {
  text-align: center;
  display: block;
  width: 6em;
  margin: 10px auto;
  border: 2px solid white;
  font-size: 24px;
  padding: 6px 0;
  border-radius: 10px;
}

#bieres {
  margin-top: 0;
  line-height: 2.5;
  text-align: center;
}

div.sherbrooke #bieres {
  background-image: url("../photos/s-bieres.160405.jpg");
}

div.sherbrooke #menu {
  background-image: url("../photos/s-menu.160405.jpg");
}

div.sherbrooke #info {
  background-image: url("../photos/s-info.160405.jpg");
}

div.wellington #bieres {
  background-image: url("../photos/w-bieres.160405.jpg");
}

div.wellington #menu {
  background-image: url("../photos/w-menu.160405.jpg");
}

div.wellington #info {
  background-image: url("../photos/w-info.160405.jpg");
}




div.sherbrooke #bieres .dark {
  background-image: url("../photos/s-f-bieres.160405.jpg");
}

div.sherbrooke #menu .dark {
  background-image: url("../photos/s-f-menu.160405.jpg");
}

div.sherbrooke #info .dark {
  background-image: url("../photos/s-f-info.160405.jpg");
}

div.wellington #bieres .dark {
  background-image: url("../photos/w-f-bieres.160405.jpg");
}

div.wellington #menu .dark {
  background-image: url("../photos/w-f-menu.160405.jpg");
}

div.wellington #info .dark {
  background-image: url("../photos/w-f-info.160405.jpg");
}




div.sherbrooke #bieres,
div.sherbrooke #menu,
div.sherbrooke #info,
div.wellington #bieres,
div.wellington #menu,
div.wellington #info {
  background-size: cover !important;
}

div.sherbrooke #bieres .dark,
div.sherbrooke #menu .dark,
div.sherbrooke #info .dark,
div.wellington #bieres .dark,
div.wellington #menu .dark,
div.wellington #info  .dark {
  background-attachment: fixed;
  background-size: cover !important;
}

#bieres h1 {
  font-family: "Lobster Two";
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  margin: 20px 0 10px;
  line-height: 1;
}

#bieres h3 {
  font-size: 20px;
  margin: 0 0 20px;
  line-height: 1;
}

#bieres .dark h1 {
  margin-top: 1em;

  position: relative;
  left: 420px;
}

#bieres .dark {
  /*margin-top: 0;*/
  /*min-height: 420px;*/
  padding-bottom: 2em;
}

#bieres p {
  display: inline-block;
  text-align: right;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 5px;
}

#bieres .demi {
  /*margin-left: 580px;*/
  /*padding-right:4em;*/
  text-align: right;
  /*float: right;*/
  width: 360px;
}

#bieres span.space {
  display: inline-block;
  text-align: right;
}

#bieres span.desc {
  display: inline-block;
  text-align: left;
}

#menu p {
  font-size: 18px;
  margin: 5px 0;
}

#menu span.space {
  display: inline-block;
  width: 400px;
  text-align: left;
}

#menu span.prix {
  display: inline-block;
  width: 60px;
  text-align: right;
}

#info, #menu {
  text-align: center;
}

.demi {
  position: relative;
  z-index: 100;

  display: inline-block;
  vertical-align: top;
  margin-left: 60px;
  width: 460px;
}

#menu .demi {
  text-align: right;
}

#menu h1 {
  font-family: "Lobster Two";
  font-style: italic;
  font-weight: 700;
  text-align: right;
  font-size: 40px;

  margin-bottom: 0.25em;
}

#menu h2 {
  font-size: 21px;
  font-family: "Lobster Two";
  font-style: italic;
  font-weight: 700;
  margin: 0;
  padding: 0;

  text-align: left;
}

#menu h3 {
  font-size: 18px;
  font-family: "Lobster Two";
  font-style: italic;
  font-weight: 700;
  margin: 0 0 1.5em;
  padding: 0;

  text-align: right;
}

body.wellington #menu h2 {
  color: rgb(255,150,0);
}

body.sherbrooke #menu h2 {
  color: rgb(52,115,115);
}

#info .demi {
  text-align: right;
}

#gmaps {
  display: block;
  padding: 40px 0;
  text-align: left;
}

#info h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 40px 0 0;
}

#info h2 {
  font-family: "Lobster Two";
  font-style: italic;
  font-weight: 700;
  font-size: 30px;
  margin: 20px 0 10px;
  line-height: 1;
}

#info h3 {
  font-size: 30px;
  margin: 0 0 20px;
  line-height: 1;
}

#info p {
  font-size: 18px;
  margin: 0;
}


#info img {
  width: 350px;
}

form .demi {
  display: inline-block;
  margin-left: 10px;
  width: 500px;
}


form {
  padding: 140px 40px 40px;
  color: white;

  font-size: 18px;
}

textarea {
  color: white;
  background: #444;
  display: block;

  width: 460px;
  margin: 40px 0;

  resize: none;

  border: none;
  border-left: 2px solid;

  padding-left: 10px;
}

input[type=password] {
  background-color: #444;
  border: none;
  border-bottom: 2px solid white;
  padding: 10px;
  color: white;
  font-size: 21px;
}

input[type=reset],
input[type=submit] {
  border: 6px double black;
  background-color: white;
  color: black;
  border-radius: 100px;
  padding: 10px;
}

input[type=reset]:hover,
input[type=submit]:hover {
  background-color: #f73;
}


.quick {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}

@-webkit-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-ms-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-o-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes slidein {
  0% { opacity: 0; margin-left: -10%;}
  100% { opacity: 1; margin-left: 0;}
}
@-moz-keyframes slidein {
  0% { opacity: 0; margin-left: -10%;}
  100% { opacity: 1; margin-left: 0;}
}
@-ms-keyframes slidein {
  0% { opacity: 0; margin-left: -10%;}
  100% { opacity: 1; margin-left: 0;}
}
@-o-keyframes slidein {
  0% { opacity: 0; margin-left: -10%;}
  100% { opacity: 1; margin-left: 0;}
}
@keyframes slidein {
  0% { opacity: 0; margin-left: -10%;}
  100% { opacity: 1; margin-left: 0;}
}

@media only screen and (min-width: 1800px) {
  div.sherbrooke #bieres {
    background-image: url("../photos/s-bieres@2x.160405.jpg");
  }

  div.sherbrooke #menu {
    background-image: url("../photos/s-menu@2x.160405.jpg");
  }

  div.sherbrooke #info {
    background-image: url("../photos/s-info@2x.160405.jpg");
  }

  div.wellington #bieres {
    background-image: url("../photos/w-bieres@2x.160405.jpg");
  }

  div.wellington #menu {
    background-image: url("../photos/w-menu@2x.160405.jpg");
  }

  div.wellington #info {
    background-image: url("../photos/w-info@2x.160405.jpg");
  }

  div.sherbrooke #bieres .dark {
    background-image: url("../photos/s-f-bieres@2x.160405.jpg");
  }

  div.sherbrooke #menu .dark {
    background-image: url("../photos/s-f-menu@2x.160405.jpg");
  }

  div.sherbrooke #info .dark {
    background-image: url("../photos/s-f-info@2x.160405.jpg");
  }

  div.wellington #bieres .dark {
    background-image: url("../photos/w-f-bieres@2x.160405.jpg");
  }

  div.wellington #menu .dark {
    background-image: url("../photos/w-f-menu@2x.160405.jpg");
  }

  div.wellington #info .dark {
    background-image: url("../photos/w-f-info@2x.160405.jpg");
  }
}

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

  #bieres .dark h1 {
    left: 0;
  }

  #bieres .demi.deuxieme p {
    position: relative;
    top: -22px;
  }

  #bieres .second {
    display: none;
  }
}


@media only screen and (max-width: 880px) {
  header,
  header.small {
    height: 180px;

    text-align: center;
    padding: 10px 0 0 !important;
    /*position: relative;*/

    z-index: 1002;
  }

  header #icons, header.small #icons {
    position: absolute;
    left: 0;
    top: 80px;
  }

  header.small a.section,
  a.section {
    width: 46px;
    height: 46px;
    margin-left: 8px;

    display: inline-block;
  }

  header .loc {
    height: 80px;
    width: 80px;
  }

  #medias {
    top: 200px;
  }

  /* ajouté à la va-vite */

  #logo {
    height: 60px !important;
  }

  .dark {
    padding: 0;
  }

  .demi {
    width: auto;
    padding: 0 1em;
    margin: 0;
  }

  .centrer {
    padding: 0 1em;
  }

  div.content, .parallax, .dark {
    background: black !important;
  }

  .parallax {
    border: 1px solid #888;
  }

  #calendrier .calendrier {
    left: 30px;
  }

  #info .demi{
    text-align: left;
  }

  #homme-1, #femme-1,
  #homme-2, #femme-2 {
    display: none;
  }


  /* depuis l’ancien 720px */

  header a.section.go {
    width: 100%;
    height: 80px;
    position: fixed;
    margin: 0px;
    left: 0px;
    bottom: 0px;
  }

  header a.section.go.sherbrooke:hover,
  header a.section.go.wellington:hover {
    /*background-color: black;*/
  }

  header a.section.go img.desktop {
    display: none;
  }

  header a.section.go img.mobile {
    display: inline-block;
  }

  header a.section.go img {
    width: 62px;
    height: 62px;
    padding-top: 10px;
  }
}


@media only screen and (max-width: 1px) { /*previously 720*/
  header,
  header.small {
    height: 120px;
  }

  body.home header.small {
    height: 40px;
  }

  header #logo {
    display: block;
    margin: 0 10px;

    height: 18px;
  }

  header #icons, header.small #icons {
    top: 46px;
  }

  header a.section.go {
    width: 100%;
    height: 80px;
    position: fixed;
    margin: 0;
    left: 0;
    bottom: 0;
  }

  header a.section.go.sherbrooke:hover,
  header a.section.go.wellington:hover {
    /*background-color: black;*/
  }

  header a.section.go img.desktop {
    display: none;
  }

  header a.section.go img.mobile {
    display: inline-block;
  }

  header a.section.go img {
    width: 62px;
    height: 62px;
    padding-top: 10px;
  }

  header .loc {
    /*display: none;*/
    height: 60px;
    width: 60px;

    margin: 0 8px 0 16px;
  }

  a.not.section:first-of-type,
   {
    margin-left: 0;
  }

  div.content {
    background: black !important;
  }

  #splash .demi {
    padding-left: 0;
  }

  #splash .wellington.demi {
    margin-top: 120px;
  }

  #splash img {
    margin-top: 12px;
    height: 60px;
    width: 60px;
  }

  #splash div {
    padding-left: 10px;
  }

  #splash h1 {
    margin-top: 10px;
  }

  #splash h1,
  #splash h2 {
    text-align: left;
    width: 200px;
  }

  #medias {
    /*position: fixed !important;*/
    left: 20px;
    bottom: 0;

    width: 96px;
    height: 48px;

    display: none;
  }

  #homme-1, #femme-1,
  #homme-2, #femme-2 {
    display: none;
  }

  #message {
    /*padding-top: 160px !important;*/
    overflow: visible;
  }

  #message a.scroll {
    display: none;
  }

  #message div.centrer {
    padding: 0 1em;
  }

  .parallax {
    padding: 100px 0 0 !important;
  }

  #slideshow img {
    /*position: relative;
    display: inline-block;*/
    width: 140%;
    margin-left: -20%;
  }

  @-webkit-keyframes slidein {
    0% { opacity: 0; margin-left: -40%;}
    100% { opacity: 1; margin-left: -20%;}
  }
  @-moz-keyframes slidein {
    0% { opacity: 0; margin-left: -40%;}
    100% { opacity: 1; margin-left: -20%;}
  }
  @-ms-keyframes slidein {
    0% { opacity: 0; margin-left: -40%;}
    100% { opacity: 1; margin-left: -20%;}
  }
  @-o-keyframes slidein {
    0% { opacity: 0; margin-left: -40%;}
    100% { opacity: 1; margin-left: -20%;}
  }
  @keyframes slidein {
    0% { opacity: 0; margin-left: -40%;}
    100% { opacity: 1; margin-left: -20%;}
  }

  #bieres .dark {
    padding: 0;
  }

  #bieres, #menu, #info {
    font-size: 0.75em;
    padding: 12em 4em 2em 2em;
  }

  #bieres, #menu, #info,
  #bieres .dark, #menu .dark, #info .dark {
    background: #000 !important;
    /*background-size: 1200px !important;
    background-position: center;*/
  }

  .demi p {
    font-size: 16px !important;
  }

  .demi {
    padding: 10px;
    width: 300px;
  }

  .demi h1,
  .demi h2,
  .demi h3,
  .demi p {
    width: 280px;

    text-align: center;
  }

  #bieres .dark {
    margin-top: 0;
  }

  #bieres .demi {
    padding-top: 0;
    padding-bottom: 0;
  }

  #bieres h1.second {
    display: none;
  }

  #bieres h1,
  #menu h1 {
    text-align: left;
  }

  #bieres p {
    display: block;
    text-align: left;
  }

  body.wellington #bieres {
    /*background-position: 65% 40px;*/
  }

  #menu .demi, #info .demi {
    margin: 0;
  }

  #menu h3 {
    text-align: left;
  }

  #menu span.space {
    width: 180px;
    margin: 1em 2em 1em 0;
    text-align: left;
    vertical-align: middle;
  }

  #info h1 {
    font-size: 28px;
  }

  #info h2 {
    font-size: 21px;
  }

  #info h3 {
    font-size: 14px;
  }

  #info p {
    font-size: 14px;
  }

  #info .demi a,
  #info .demi a img {
    width: 200px;
    margin-left: 20px;
  }

  body {
    padding-bottom: 100px;
  }

  #slideshow a.gocal {
    position: absolute;
    width: 60%;
    display: block;
    margin: 0 auto;
    font-size: 24px;
    top: 40%;
    left: 20%;
    text-align: center;
    font-family: "Lobster Two";
    line-height: 24px;
    border: 2px solid white;
    padding: 8px 4px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 10px;
  }

  #slideshow div.calendrier {
    display: none;
  }
}

@media only screen and (min-width: 960px) {
  body.calendrier div.calendrier {
    width: 960px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 640px) {
  body.calendrier div.calendrier {
    width: 320px;
    margin: 0 auto;
  }
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.monospace {
  font-family: "Source Code Pro", Menlo, monospace !important;
}

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *  `contenteditable` attribute is included anywhere else in the document.
 *  Otherwise it causes space to appear at the top and bottom of elements
 *  that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *  `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

@media print,
     (-o-min-device-pixel-ratio: 5/4),
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
