.show-desktop{
  display: none;
}

@media screen and (min-width: 1125px){
  /* ---------- RESPONSIVE SWITCHES ------------ */
  .show-desktop{
    display: initial;
  }
  .show-mobile{
    display: none;
  }
  /* ---------- GENERAL ------------ */
  body{
    width: 1125px;
    margin: auto;
  }
  main{
    position: relative;
    top : 89.7px;
    width: 100%;
    padding-bottom: 0;
  }
  header{
    position: fixed;
    background-color: white;
    z-index: 10;
  }
  /* ----------- FOOTER --------- */
  footer{
    display: flex;
    margin: 5vh 0;
    height: 200px;
  }

  .ligne{
    display: block;
  }

  footer section{
    flex: 1 0 25%;
    display: flex;
    flex-direction: column;
  }

  hr{
    margin-top: 200px;
  }

  footer section h2{
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
  }

  footer section p, footer section address {
    margin-top: 1em;
  }

  /* ---------- NAVIGATION ------------ */
  .home-logo a{
    flex-grow: 1;
  }
  
  nav.show-desktop{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 1.5em;
    margin: 2em 0em;
    width: 1125px;
  }

  .show-desktop ul{
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: flex-end;
  }

  .show-desktop li{
    margin: 20px auto;
  }

  .show-desktop [id^=menu-link-desktop-]{
    margin: 0px 0px 0px 40px;
  }
  
  .show-desktop #home-logo-desktop{
    margin: 0;
  }

  .show-desktop #home-logo-desktop img{
    height: 1.5rem;
    vertical-align: sub;
  }

  .show-desktop #menu-lang{
    margin: 0px 0px 0px 54px;
  }

  aside.show-desktop li{
    margin: 0;
  }

  /*--------- HOME CAROUSEL --------- */
  .home .carousel{
    max-height: 100vh;
  }
  .home .carousel li img{
    max-width: 100%;
  }
  /* ----------------- -PAGES -ONE ------------ */
  /* -----------------   CAROUSEL  ------------ */
  [class$=-one] .carousel ul{
    margin: 0;
    display: flex;
  }

  [class$=-one] .carousel li{
    margin: 0 15px;
  }

  [class$=-one] .carousel li .slide-0 {
    margin-left: 0;
  }

  [class$=-one] .carousel div.image-container{
    height: 344px;
    max-height: 344px;
    min-height: 344px;
    width: 100%;
    margin: 0;
  }
  
  /* .list article figure .image-container.bordered { */
  /*   height: 235px; */
  /* } */

  [class$=-one] .carousel {
    max-height: 344px;
    overflow: hidden;
    margin: 0;
    margin-bottom: 50px; 
  }

  [class$=-one] .carousel div.fleche {
    position: absolute;
    height: 344px;
    min-height: 344px;
    max-height: 344px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    z-index: 2;
  }

  [class$=-one] .carousel .fleche {
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 5%, rgba(229,229,229,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 5%,rgba(229,229,229,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255,255,255,1) 5%,rgba(229,229,229,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00e5e5e5',GradientType=1 ); /* IE6-9 */
  }

  [class$=-one] .carousel .fleche.back {
    background: none;
  }

  /* [class$=-one] .carousel figcaption  */
  [class$=-one] .carousel .puces{
    display: none;
  }

  /* ----------------- -ARTISTE-ONE -- ------- --- */
  [class$=-one] .artist-content-container{
    display: flex;
  }
  [class$=-one] aside{
    width: 32%;
    padding-right: 40px;
  }
  [class$=-one] .artist-content{
    width: 68%;
  }

  /* -------- FEATURED FAIRS --------*/
  .featured-fairs main section,
  .featured-projects main section {
    width: 100%;
  }
  
  /* -------- LIST - ARTISTS --------*/
  .list-artists .works-type-menu {
    margin: 0;
    top: 89px;
    position: fixed;
  }
  .list-artists .works-type-menu li,
  .list-artists #menu-artists li {
    margin: 0 20px 0 0;
  }
  .list-artists #menu-artists {
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    height: calc(100vh - 122px)
  }

  .list-fairs main,
  .list-exhibitions main,
  .list-artists main {
    display: flex;
  }
  .list-fairs aside,
  .list-exhibitions aside,
  .list-artists aside {
    width: 32.14%;
  }
  .list-artists aside ul{
    position: fixed;
    top: 122px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
  }
  .list-artists li h2{
    font-weight: normal;
    font-size: 1rem;
    line-height: 0.3rem;
  }

  .list-exhibitions main section,
  .list-fairs main section,
  .list-artists main section {
    width: 67.86%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .space-between-last-children {
    width: 234.38px; /*the width of the images in this example*/
    height: 0; /*Important! for the divs to collapse should they fall in a new row*/
  }

  .list-artists figure {
    width : 234.38px;
    height: 190.38px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .list-artists aside ul.works-type-menu {
    flex-direction: row;
    justify-content: space-around;
  }

  article[id^=artist] img{
    max-width:none;
    /*max-width: 120%;*/
    /*margin-left: -10%;*/
  }

  .portrait{
    width: 290px;
  }

  .paysage{
    height: 290px;
  }

  /* ---------------- EXHIBITIONS ------- */
  .exhibitions aside{
    position: fixed;
    top: 87px;
    left: 0;
    background-color: white;
    width: 100%;
    z-index: 10;
    padding: 0 0 1em 0;
  }
  .exhibitions aside ul{
    position: relative;
    left: calc(50% - 1125px / 2);
  }

  #current-exhibitions{
    padding-top: 60px;
    height: 100vh;
  }

  #current-exhibitions section{
    padding-top: 0;
  }

  .exhibitions #upcoming-exhibitions section, #past-exhibitions section{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .exhibitions #upcoming-exhibitions article{
    width: 32%;
  }
  
  #past-exhibitions .list article figure .image-container {
    height: 368px;
  }

  .list-exhibitions .list article figure .image-container {
    height: 238px;
  }

  .exhibitions #past-exhibitions article, 
  .artist-videos article,
  .artist-exhibitions article,
  .list-exhibitions .retractable + section.list article{
    width: 48.5%;
  }

  /* ---------------- LISTS ELEMENTS ---------------------*/
  .artist-videos .artist-content-container,
  .artist-exhibitions .artist-content-container{
    display: flex;
  }
  .artist-videos aside,
  .artist-exhibitions aside {
    width: 32%;
  }
  .artist-videos .artist-content,
  .artist-exhibitions .artist-content{
    width: 68%;
    position: relative;
    padding-top: 0;
  }

  .artist-videos section.list, 
  .artist-exhibitions section.list, 
  .list-fairs section.list,
  .featured-fairs section.list,
  .featured-projects section.list,
  .news section.list,
  .publications section.list,
  .list-exhibitions section.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .featured-fairs article,
  .featured-projects article,
  .news article,
  .publications article {
    width: 32%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  /*	.artist-exhibitions article figure img,
	.list-fairs article[id^=element] img,
	.featured-fairs article[id^=element] img,
	.news article[id^=element] img {
		width: 120%;
	} */

  .list article figure figcaption h2, .list article figure figcaption h3{
    margin: 0;
  }

  .list article figcaption{
    line-height: 1rem;
    margin: 0.75rem 0 1.65rem 0;
    height: 5rem;
    overflow-y: hidden;
  }

  .list article figure .image-container{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 235px;
  }

  /* ---------------- ABOUT/CONTACT PAGE ---------------------*/
  .contact main{
    display: flex;
    flex-wrap: wrap;
  }
  
  .contact main aside{
    width: 32%;
    display: block;
  }
  .contact main aside ul{
    padding-top: 0;
    width: auto;
    background-color: transparent;
  }
  .contact main>section{
    width: 68%;
  }

  .contact main #place > * {
    width: 50%;
    float: left;
    padding-bottom: 1em;
  }

  .contact main #place section p {
    margin: 0;
  }

  /* ------------ NEWS AND PUBLIS ----------- */
  .filtered main, .publications main{
    display: flex;
  }

  .publications article[id^=element] img{
    width: auto;
    height: 258px;
  }

  /* .publications article[id^=element] .bordered img{ */
  /*   width: 100%; */
  /*   height: auto; */
  /* } */

  /* ---- filters ------ */
  .permanent {
    width: 32%;
    overflow-y: scroll;
    height: calc(100vh - 122px);
  }
  .permanent + section.list {
    width: 67.86%;
    display: flex;
    justify-content: space-between;
    top: 1.3rem;
  }

  .permanent + section.list article {
    width: 32%;
  }
  .permanent .filter-choices {
    top: 0;
    overflow-y: scroll;
    height: calc(100vh - 122px);
    padding-right: 1em;
  }
  .permanent #filter-form button {
    margin-bottom: 0;
  }

  .list-exhibitions .filter-title, 
  .list-fairs .filter-title {
    display: none;
  }

  .list-exhibitions .permanent + section.list article,
  .list-fairs .permanent + section.list article {
    width: 48.5%;
  }

  .retractable {
    transition: width .5s;
    width: 0;
    overflow: hidden;
  }
  .retractable .filter-choices {
    transition: opacity .5s;
    opacity: 0;
  }
  .retractable.show .filter-choices.show {
    opacity: 1;
    z-index: 3;
    transition-delay: .2s;
  }

  #filter-form {
    position: fixed;
    z-index: 2;
    background-color: #FFF;
  }

  .retractable #filter-form {
    width: 1125px;
  }

  #filter-form .filter-title {
    width: 68px;
    display: inline-block;
    text-align: right;
    cursor: pointer;
  }
  /* .show-desktop ul.filter-title { */
  /*   padding-bottom: 1em; */
  /* } */
  /* .filter-title, .filter-choices { */
  /*   position: fixed; */
  /*   z-index: 2; */
  /* } */

  .show-desktop ul.filter-choices{
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: flex-start;
    margin-top: 4em;
  }
  .show-desktop.retractable ul.filter-choices{
    margin-top: 18px;
  }

  /* year filter on exhibition and fair lists */
  .show-desktop .exhib {
    position: sticky;
    top: 100px;
  }


  .featured-fairs #filter-form, .exhib #filter-form {
    position: static;
  }

  .exhib #filter-form .filter-choices {
    display: flex;
    flex-direction: column;
    margin: 0;
    position: static;
  }

  #filter-form button {
    font-family: "Dada", sans-serif;
    padding: 0;
    font-size: 1rem;
    margin-bottom: .8rem;
  }

  #filter-form h2 {
    font-weight: normal;
    font-size: 1rem;
    line-height: 0.3rem;
  }

  #filter-form .active {
    font-weight: bold;
  }
  
  .retractable + section.list{
    width: 100%;
    position: relative;
    top: 2.3rem;
  }

  .retractable + section.list article{
    width: 32%;
  }

  .retractable.show {
    width: 32%;
  }

  /* .retractable .filter-title { */
  /*   width: 100%; */
  /* } */

  .retractable.show .filter-choices {
    width: 32%;
    max-width: calc(0.32 * 1125px);
  }

  .retractable.show + section.list{
    width: 67.86%;
    display: flex;
    justify-content: space-between;
  }

  .retractable.show + section.list article{
    width: 48.5%;
  }

  .retractable.show .closecross{
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: calc(100% - 30px);
    background: url("../images/cross.c8bcc4436e68.svg");
    background-size: cover;
    cursor: pointer;
  }
}
