/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
@media screen and (max-width: 1700px) {
  h1 {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 1500px) {
  h1 {
    font-size: 4.5rem;
  }
}

@media screen and (max-width: 1440px) and (min-width: 1024px) {
  .slider-episodes .slider-content {
    align-items: start;
  }
  .slider-episodes .subtitle-episode {
    font-size: 44px;
    line-height: 48px;
  }

  /* PAGE A PROPOS */
  .about {
    margin-top: 25px;
  }
  .about-content p {
    font-size: 0.9em;
  }
  .page-a-propos h1 {
    font-size: 3rem;
    line-height: 75px;
  }
  .about .btn-secondary {
    margin: 40px auto 0 auto;
  }
  .pre-footer-about {
    margin-top: 50px;
  }
}
@media screen and (max-width: 1400px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 4rem;
  }
}

@media screen and (max-width: 1350px) {
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 3.5rem;
  }
}

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

@media only screen and (min-width: 991px) {
  .slider-episodes .wp-video .wp-video-shortcode {
    height: 350px !important;
  }
  .display-mobile {
    display: none !important;
  }
  .display-desktop {
    display: block !important;
  }
}
@media only screen and (max-width: 991px) {
  .page-home .adobe-sponsor {
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 9;
  }
  .carousel-moods .carousel-moods-item p {
    line-height: normal;
  }
  .page-portfolio header {
    position: static;
  }
  .slick-lightbox-slick-caption {
    top: 27px;
    left: 39px;
    line-height: normal;
    font-size: 2.5rem;
    text-align: left;
    max-width: 200px;
  }
  .slick-lightbox .slick-lightbox-close {
    top: 50px;
  }
  .display-mobile {
    display: block !important;
  }
  .display-desktop {
    display: none !important;
  }

  .slider-episodes .subtitle-episode {
    margin-left: 42px;
    margin-bottom: 28px;
  }
  .slider-episodes .maximise {
    top: 85px;
  }
  body {
    height: 100%;
    font-size: 14px;
  }
  p {
    font-size: 1rem;
  }


  #header .header-inner a.burger-menu {
    padding: 20px 5px;

    width: 40px;
  }

  #header .nav-menu {
    background-image: url("../img/bg-mobile.png");

    -webkit-box-shadow: 0 0 5px 2px rgba(29, 29, 27, 0.1);

    box-shadow: 0 0 5px 2px rgba(29, 29, 27, 0.1);

    display: block;

    height: 100%;

    margin: 0;

    -webkit-transition: all 0.3s ease;

    -moz-transition: all 0.3s ease;

    transition: all 0.3s ease;

    box-sizing: border-box;

    -moz-box-sizing: border-box;

    -webkit-box-sizing: border-box;

    padding: 20px 60px 30px;

    position: fixed;

    transform: translateX(100%);

    -moz-transform: translateX(100%);

    -webkit-transform: translateX(100%);

    right: 0;

    top: 0;

    text-align: center;

    max-width: inherit;

    width: 100%;

    z-index: 8;
  }
  #header .nav-menu ul.section-list {
    display: block;

    margin: 0;

    opacity: 0;

    box-sizing: border-box;

    -moz-box-sizing: border-box;

    -webkit-box-sizing: border-box;

    padding: 0;

    position: relative;

    transition: all 0.3s ease-in;

    -moz-transition: all 0.3s ease-in;

    -o-transition: all 0.3s ease-in;

    -webkit-transition: all 0.3s ease-in;

    text-align: center;

    width: 100%;

    z-index: 1;
  }

  #header .nav-menu ul.section-list li {
    display: block;

    margin: 0 0 1em;

    padding: 0;
  }

  #header .nav-menu ul.section-list li a {
    color: #3c3c3b;

    display: block;

    font-size: 1em;

    margin: 0;

    position: relative;

    text-decoration: none;

    text-transform: uppercase;
  }

  #header .nav-menu ul.section-list li.mobile-nav {
    display: block;
  }

  #header .nav-menu.active {
    transform: translateX(0);

    -moz-transform: translateX(0);

    -webkit-transform: translateX(0);
  }

  #header .nav-menu.active ul.section-list {
    opacity: 1;
  }

  #header #menu-menu-principal {
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #header.active .nav-logo {
    position: absolute;
    z-index: 99;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
  }
  header #menu-menu-principal li a {
    font-size: 2.5rem;
  }
  header #menu-menu-principal .btn-primary {
    display: none;
  }
  header .my-menu {
    padding: 14px 36px;
  }
  .nav-logo img {
    width: 115px;
  }
  header.active #menu-menu-principal li:not(:last-child) {
    margin-right: 0;
    margin-top: 79px;
  }
  body.no-scroll .pre-footer {
    z-index: 7;
  }
  #header a.burger-menu {
    display: block;
    opacity: 1;
    z-index: 99;
  }
  #header.active a.burger-menu {
    top: 15px;
  }
  .slider-episodes .slide-item {
    max-width: none;
    margin: 0;
  }
  .slider-episodes .wp-video {
    width: auto !important;
    margin: 0 36px;
  }

  .slider-episodes .slider-content .content-right {
    margin-left: 0;
    margin: 0 36px;
    max-width: none;
  }
  .slider-episodes .slider-content .content-right p {
    line-height: 18px;
  }
}

@media only screen and (max-width: 768px) {
  #header .header-inner a.burger-menu {
    top: 0;
  }
}

@media only screen and (max-width: 576px) {
  #footer .bulle {
    display: none;
  }
  .page-mentions-legales h1, .page-cgu h1 {
    line-height: normal;
  }
  .slider-episodes {
    margin-top: 30px;
    max-height: none;
  }
  .page-episodes .pre-footer {
    /* height: 180px; */
    margin: 0;
  }
  body {
    font-size: 14px;
  }
  p,
  span {
    font-size: 1.75em;
  }
  .container-fluid {
    padding: 0 40px;
  }

  .slider-hp .slider-content p {
    font-size: 3rem;
    text-align: center;
  }
  .slider-hp .slick-slide {
    height: 100vh;
  }
  .slider-hp .slick-slide img {
    height: 100vh;
    object-fit: cover;
  }
  .slider-hp .btn-secondary {
    margin: 0 auto;
  }
  .btn-secondary {
    width: 200px;
  }
  h1 {
    font-size: 3rem;
  }
  p {
    font-size: 1rem;
  }
  .about p {
    text-align: center;
  }
  .about {
    margin-top: 0;
  }
  .about .btn-secondary {
    margin: 58px auto 0 auto;
    width: 100%;
  }

  .slider-episodes .subtitle-episode {
    font-size: 32px;
    margin-bottom: 0;
    max-width: none;
  }
  .modal-episodes .slider-content p {
    font-size: 3rem;
  }
  .carousel-moods {
    margin-top: 150px;
  }
  .page-portfolio .carousel-main {
    min-height: auto;
  }
  .page-episodes {
    background-position: center center;
  }
  .pre-footer .pagingInfo {
    text-align: right;
  }
  .pre-footer .arrows {
    text-align: right;
  }
  .pre-footer {
    padding: 16px 0;
  }
  .home .main-content {
    position: absolute;
    /* height: 100vh; */
    right: 0;
    left: 0;
    bottom: 0;
  }
  .page-episodes.Art,
  .page-episodes.Photographie,
  .page-episodes.Fashion {
    background-position: left;
  }
  .all-hero {
    min-height: calc(var(--vh) * 100);
  }
  .page-home .adobe-sponsor {
    top: 120px;
  }
}

@media only screen and (max-width: 425px) {
  .carousel-moods .carousel-moods-item img.img-fluid {
    height: 370px;
  }
}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html body.landscape-mode .modal-episodes {
    transform: rotate(90deg);
    transform-origin: left bottom;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: -49%;
    left: 0;
  }
  .modal-open .modal-episodes .mejs-video {
    position: static;
  }
  .modal-open .modal-episodes .mejs-mediaelement {
    height: 100vw;
    width: 100vh;
  }
  .modal-open .modal-episodes .mejs-video {
    width: 100vh !important;
    height: 100vw !important;
  }
  body.landscape-mode header {
    position: static;
  }
  body.landscape-mode .adobe-sponsor {
    display: none;
  }
  body.landscape-mode.modal-open .modal-episodes .mejs-controls {
    bottom: 40px;
  }
  body.landscape-mode .pre-footer {
    position: static;
  }
  body.landscape-mode .modal-episodes .slider-content {
    top: 20px;
  }
  .modal-episodes .img-reduce {
    top: 40px;
    z-index: 999;
    right: 90px;
    width: 50px;
    height: 50px;
  }
}
