@media print, screen and (min-width: 40em) { /* medium */

}

@media print, screen and (min-width: 64em) { /* large */
    .menu a, .menu .button{
        line-height: 0.5 !important;
    }
    
    #conteneur, #en-tete{
        color:gray;
    }
    
    #conteneur a:link, .menu a:link, #pied-de-page a:link, #en-tete a:link {
      color: gray;
    }

      /* visited link */
    #conteneur a:visited, .menu a:visited, #pied-de-page a:visited, #en-tete a:visited {
      color: darkgray;
    }

      /* mouse over link */
    #conteneur a:hover, .menu a:hover, #pied-de-page a:hover, #en-tete a:hover {
      color: lightgray;
    }

      /* selected link */
    #conteneur a:active, .menu a:active, #pied-de-page a:active, #en-tete a:active {
      color: graytext;
    }
    
    #ligne-conteneur{
        margin-top: 0em;
    }
    
    #pied-de-page{
        margin-top: 8em;
    }
    
    .apercu-gallerie{
        max-width:450px;
        max-height:450px;
    }
    
    .image-frame-detail {
        height: 450px;      /* equals max image height */
        width: 100%;
        white-space: nowrap;
        text-align: center; margin: 1em 0;
    }
    
    .image-frame {
        height: 116.6px;      /* equals max image height */
        width: 116.6px;
        white-space: nowrap;
        text-align: center; margin: 1em 0;
    }
    
    .titre{
        display: none;
    }
    
    .apercu-gallerie{
        max-width:100px;max-height:100px;margin-right:16.33px;
    }
    
    .detail-gallerie{
        max-width: 100%;
        max-height: 450px;
    }
}

@media screen and (max-width: 39.99875em) {
  /* .hide-for-small-only */
    .small-no-padding {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    
    .apercu-gallerie{
        /*margin-left: 5%;*/
        max-width:100px;max-height:100px;padding:20px 0;margin-left:5%;
    }
    
    .image-frame-detail {
        max-height: 90%;      /* equals max image height */
        max-width: 90%;
        white-space: nowrap;
    }
    
    .image-frame {
        /*height: 116.6px;
        width: 116.6px;*/
        white-space: nowrap;
        text-align: center; margin: 1em 0;
    }
    
    .curtain-menu-wrapper .curtain-menu-list li {
        width: 100%;
        font-weight: 100;
        text-align: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        transition: all 0.2s ease-in;
    }
    
    #conteneur{
        margin: 4em 0;
        color: gray;
    }
    

    
    .titre{
        text-align: center;
    }
    
    #gallerie .element{
        /*min-height: 152px;*/
    }
}

@media screen and (max-width: 0em), screen and (min-width: 40em) {
  /* .show-for-small-only */
  
}

@media print, screen and (min-width: 40em) {
  /* .hide-for-medium */
}

@media screen and (max-width: 39.99875em) {
  /* .show-for-medium */
}

@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  /* .hide-for-medium-only */
    .small-no-padding {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media screen and (max-width: 39.99875em), screen and (min-width: 64em) {
  /* .show-for-medium-only */
}

@media print, screen and (min-width: 64em) {
  /* .hide-for-large */
}

@media screen and (max-width: 63.99875em) {
  /* .show-for-large */
    .curtain-menu-wrapper .menu a, .curtain-menu-wrapper .button a{ 
        line-height: 0.5em !important;
    }

@media screen and (min-width: 64em) and (max-width: 74.99875em) {
  /* .hide-for-large-only */
}

@media screen and (max-width: 63.99875em), screen and (min-width: 75em) {
  /* .show-for-large-only */
}

  @media screen and (orientation: landscape) {
    /* .show-for-landscape,
    .hide-for-portrait */ 
  }
  
  @media screen and (orientation: portrait) {
    /* .show-for-landscape,
    .hide-for-portrait */ 
  }

 @media screen and (orientation: landscape) {
    /* .hide-for-landscape,
    .show-for-portrait */ 
 }
 
 @media screen and (orientation: portrait) {
    /*.hide-for-landscape,
    .show-for-portrait */ 
 }
 
 .curtain-menu{
  z-index: 2;
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  pointer-events: none;
}

.curtain-menu-wrapper {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  height: 100vh;
  width: 100vw;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  transition-delay: 0.5s;
  visibility: hidden;
}

.curtain-menu-wrapper .curtain-menu-list li {
  width: 100%;
  font-weight: 100;
  /*font-size: 2.8125rem;
  min-height: 2.8125rem;
  padding: 1rem;*/
  text-align: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  transition: all 0.2s ease-in;
}

.curtain-menu-wrapper .curtain-menu-list li:hover {
  background: rgba(254, 254, 254, 0.7);
}

.curtain-menu-wrapper .curtain-menu-list li:hover a {
  color: #1779ba;
}

.curtain-menu-wrapper .curtain-menu-list li a {
  color: #fefefe;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.curtain-menu .curtain {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  transition: -webkit-flex 0.45s;
  transition: flex 0.45s;
  transition: flex 0.45s, -webkit-flex 0.45s, -ms-flex 0.45s;
}

.curtain-menu .curtain:nth-child(2) {
  -webkit-flex: 1 0 100%;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
  background: transparent;
}

.curtain-menu .curtain:nth-child(odd) {
  background: #0c3e5f;
}

.curtain-menu-button {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
}

.curtain-menu-button-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 5000px;
  background: #fefefe;
  position: relative;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.curtain-menu-button-toggle div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 3px;
  background: #1779ba;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  transition-delay: 0.5s;
}

.curtain-menu-button-toggle .bar1 {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
          transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

.curtain-menu-button-toggle .bar2 {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-180deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(-180deg);
          transform: translateX(-50%) translateY(-50%) rotate(-180deg);
}

.curtain-menu-button-toggle:hover {
  background: #1779ba;
}

.curtain-menu-button-toggle:hover div {
  background: #fefefe;
}

.curtain-menu-button-toggle:active {
  box-shadow: none;
}

.curtain-menu-open .curtain:nth-child(2) {
  -webkit-flex: 0 0 0%;
      -ms-flex: 0 0 0%;
          flex: 0 0 0%;
}

.curtain-menu-open .curtain-menu-wrapper {
  -webkit-transform: translateY(0%);
      -ms-transform: translateY(0%);
          transform: translateY(0%);
  visibility: visible;
  pointer-events: all;
}

.curtain-menu-open .curtain-menu-button-toggle .bar1 {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.curtain-menu-open .curtain-menu-button-toggle .bar2 {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-135deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(-135deg);
          transform: translateX(-50%) translateY(-50%) rotate(-135deg);
}

.no-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.texte-contenu{
    background-color: rgba(0,0,0,0.2);
    margin: 0 2em;
    padding: 0 1em;    line-height: 1.2em;
    font-family: 'Merriweather', serif;
}

.image-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.apercu-gallerie {
    vertical-align: middle;
}

.aligne-droite{
    text-align: right !important;
}

.aligne-centre{
    text-align: center !important;
}

.aligne-gauche{
    text-align: left !important;
}

.titre{
    /* font-family: 'Raleway', sans-serif; */
    font-family: 'Calibri', sans-serif;
}

.texte{
    /* font-family: 'Merriweather', serif; */
    font-family: 'Calibri', sans-serif;
}


    