/* Style pour pc */

@media only screen and (min-width: 768px) {
  #shortcode-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
  }

  /* Slider */

  #shortcode-slider .slider {
    position: relative;
  }

  /* Valeur de width a inserer en js en fonction du nombre présent dans le data attr */

  #shortcode-slider .slider .article-container {
    position: relative;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
  }

  #shortcode-slider .slider .article-container article {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    height: 100%;
    width: 300px;
    background-color: white;
    transform: translateY(-50%);
    transition-timing-function: ease-in-out;
    box-shadow: 2px 4px 32px 6px #0d2c3d12;
  }

  #shortcode-slider .slider article.css-transitions {
    transition: all ease 300ms !important;
    opacity: 1 !important;
  }

  #shortcode-slider .slider .article-container article .link-img:hover img {
    scale: 1.1;
  }

  #shortcode-slider .slider .article-container article .link-img img {
    object-fit: cover;
    height: 264px;
    width: 100%;
    transition: all ease 300ms;
  }

  #shortcode-slider .slider .article-container article .link-img .price-event {
    position: absolute;
    background-color: white;
    /* color: #eb5f94; */
    padding: 10px 12px;
    top: 8px;
    left: 8px;
    z-index: 999;
    border-radius: 2px;
  }

  #shortcode-slider .slider .article-container article .event-div-content {
    padding: 12px 18px;
  }

  #shortcode-slider .slider .article-container article .event-div-content p {
    text-align: center;
  }

  #shortcode-slider .slider .article-container article .event-div-content p.event-date {
    margin: 0;
    /* color: #eb5f94 !important; */
    text-transform: uppercase;
  }

  #main #shortcode-slider .slider .article-container article .event-div-content p.event-title {
    margin: 12px 0 0 0;
    font-size: 22px;
    font-weight: bold;
  }

  #main #shortcode-slider .slider .article-container article .event-div-content p.event-extrait {
    margin: 12px 0;
    font-size: 14px;
    line-height: 18px;
    opacity: 0.64;
  }

  #main #shortcode-slider .slider .article-container article .event-div-content a {
    display: block;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
    /* color: #eb5f94; */
    transition: all ease 300ms;
  }

  /* flèches */

  #shortcode-slider .arrow {
    cursor: pointer;
    width: 50px;
    transition: 300ms;
    position: absolute;
  }

  #shortcode-slider .arrow.left {
    left: 0%;
  }

  #shortcode-slider .arrow.right {
    right: 0%;
  }

  #shortcode-slider .arrow svg {
    height: 30px;
    width: 50px;
    padding-right: 0px;
    transition: 300ms;
  }

  #shortcode-slider .arrow:hover svg {
    padding-right: 10px;
  }

  #shortcode-slider .arrow.right {
    transform: rotate(180deg);
  }

  /* Boutton des événements */

  #shortcode-slider .see-more {
    width: 100% !important;
    padding: 25px 0px;
  }

  #shortcode-slider .see-more a {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 12px 18px;
    background-color: #0e0e0e;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    color: white !important;
    user-select: none;
    cursor: pointer;
    transition: all ease 300ms;
  }

  #shortcode-slider .see-more a:hover {
    background-color: black;
  }

  /* positions / animations */

  #shortcode-slider .slider .article-container article.active {
    z-index: 1;
    scale: 1;
  }

  /* enfold qui pue */

  #top #wrap_all #shortcode-slider .slider .article-container article .link-img .image-overlay {
    display: none !important;
  }

  /* Page de détails d'un évènement  */
  .single-evenement #shortcode-slider .slider .article-container {
    height: 456px;
    margin-bottom: 24px;
  }

  #shortcode-slider .slider .article-container article .link-img img {
    height: 248px;
  }
}

/* Style pour tablette */

@media only screen and (max-width: 989px) and (min-width: 768px) {
  #shortcode-slider article {
    width: 500px !important;
  }

  #shortcode-slider .arrow.left {
    left: 0%;
  }

  #shortcode-slider .arrow.right {
    right: 0%;
  }

  #shortcode-slider .arrow svg {
    height: 30px !important;
    width: 60px !important;
  }
}

@media only screen and (max-width: 850px) and (min-width: 768px) {
  #shortcode-slider .arrow.left {
    left: -5%;
  }

  #shortcode-slider .arrow.right {
    right: -5%;
  }
}

/* Style smartphone */

@media only screen and (max-width: 767px) {
  #shortcode-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
  }

  /* Slider */

  #shortcode-slider .slider {
    position: relative;
  }

  /* Valeur de width a inserer en js en fonction du nombre présent dans le data attr */

  #shortcode-slider .slider .article-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
  }

  #shortcode-slider .slider .article-container article {
    width: 300px;
    position: absolute;
    top: 50%;
    transition-timing-function: ease-in-out;
    transform: translateY(-50%);
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #shortcode-slider .slider article.css-transitions {
    transition: all ease 300ms !important;
    opacity: 1 !important;
  }

  #shortcode-slider .slider .article-container article .link-img:hover img {
    scale: 1.1;
  }

  #shortcode-slider .slider .article-container article .link-img img {
    object-fit: cover;
    height: 264px;
    width: 100%;
    transition: all ease 300ms;
  }

  #shortcode-slider .slider .article-container article .link-img .price-event {
    position: absolute;
    background-color: #eb5f94;
    padding: 10px;
    top: 8px;
    left: 8px;
    z-index: 999;
    border-radius: 2px;
  }

  #shortcode-slider .slider .article-container article .event-div-content {
    padding: 12px 24px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  #shortcode-slider .slider .article-container article .event-div-content p {
    text-align: center;
  }

  #shortcode-slider .slider .article-container article .event-div-content p.event-date {
    color: #eb5f94 !important;
  }

  #shortcode-slider .slider .article-container article .event-div-content p.event-title {
    font-size: 20px !important;
    font-weight: bold !important;
  }

  #shortcode-slider .slider .article-container article .event-div-content a {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 0px 6px;
    color: #eb5f94;
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
  }

  /* flèches */

  #shortcode-slider .arrow {
    cursor: pointer;
    width: 50px;
    transition: 300ms;
    position: absolute;
  }

  #shortcode-slider .arrow.left {
    left: -82px;
  }

  #shortcode-slider .arrow.right {
    right: -82px;
  }

  #shortcode-slider .arrow svg {
    height: 30px;
    width: 50px;
    padding-right: 0px;
    transition: 300ms;
  }

  #shortcode-slider .arrow:hover svg {
    padding-right: 10px;
  }

  #shortcode-slider .arrow.right {
    transform: rotate(180deg);
  }

  /* Boutton des événements */

  #shortcode-slider .see-more {
    width: 100% !important;
    padding: 16px 0px;
  }

  #shortcode-slider .see-more a {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 12px 18px;
    background-color: #0e0e0e;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    color: white !important;
    user-select: none;
    cursor: pointer;
    transition: all ease 300ms;
  }

  /* positions / animations */

  #shortcode-slider .slider .article-container article.active {
    z-index: 1;
    scale: 1;
  }

  /* enfold qui pue */

  #top #wrap_all #shortcode-slider .slider .article-container article .link-img .image-overlay {
    display: none !important;
  }
}

@media only screen and (max-width: 500px) {
  #shortcode-slider .slider .article-container article {
    width: 300px !important;
  }

  #shortcode-slider {
    position: relative;
    z-index: 1;
  }

  #shortcode-slider .arrow {
    position: absolute;
  }

  #shortcode-slider .arrow.left {
    left: -64px;
  }

  #shortcode-slider .arrow.right {
    right: -64px;
  }
}

/* Style petit smartphone */

@media only screen and (max-width: 400px) {
  #shortcode-slider .slider .article-container article {
    width: 250px !important;
  }

  #shortcode-slider {
    position: relative;
    z-index: 1;
  }

  #shortcode-slider .arrow {
    position: absolute;
  }

  #shortcode-slider .arrow.left {
    top: 50%;
    left: -48px;
    transform: translateY(-50%);
    z-index: 5;
  }

  #shortcode-slider .arrow.right {
    top: 50%;
    right: -48px;
    rotate: 180deg;
    transform: translateY(60%) !important;
    z-index: 5;
  }
}

.aucun-post {
  height: 260px !important;
  display: flex !important;
  padding-top: 55px !important;
}

.aucun-post p {
  font-size: 20px !important;
}
