/* ***************************** */
/* Page de détail d'un événement */
/* ***************************** */

/* Style pour pc */

@media only screen and (min-width: 768px) {
  #title-signle-event {
    height: 124px;
    width: 100%;
    padding: 16px 0px;
    background-color: #0d2c3d;
    transition-duration: all ease 300ms;
    z-index: 99;
  }

  .fil-araiane-single-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 94%;
    height: 100%;
    padding: 0 50px;
    margin: 0 auto;
  }

  .fil-araiane-single-event :is(.left, .right) {
    display: flex;
  }

  .fil-araiane-single-event .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fil-araiane-single-event .left .fil-ariane-content {
    display: flex;
    gap: 6px;
  }

  #main .fil-araiane-single-event .left .fil-ariane-content p {
    color: white !important;
  }

  #main .fil-araiane-single-event h1 {
    width: 100%;
    background-color: transparent;
    font-family: 'Raleway', sans-serif !important;
    font-size: 32px;
    margin-bottom: 0px;
    color: white;
  }

  #main .fil-araiane-single-event :is(p, a) {
    margin: 0;
    padding: 0;
    height: max-content;
    font-size: 16px;
    line-height: 24px;
    color: var(--saison-1) !important;
  }

  .fil-araiane-single-event > .left > p {
    color: white !important;
  }

  .fil-araiane-single-event .socials-medias {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-right: 24px;
    gap: 16px;
  }

  .fil-araiane-single-event .socials-medias a {
    height: 32px;
  }

  .fil-araiane-single-event .socials-medias a img {
    transition: 300ms;
  }

  .fil-araiane-single-event .socials-medias a:hover img {
    scale: 1.1;
  }

  .fil-araiane-single-event a .icon-ariane {
    width: 32px;
    object-fit: cover;
  }

  #main .fil-araiane-single-event .events-tags span {
    color: white;
  }

  /* File d'ariane enfold animation !!! */

  #top #header.scrolled-custom-js + #main #title-signle-event {
    top: 113px !important;
  }

  /* Contenu */

  .first-infos-events {
    padding: 24px 0 82px 0;
  }

  .single-event-content section.first-infos-events .container {
    display: flex;
  }

  .single-event-content section.first-infos-events .container > .left {
    display: flex;
    flex-direction: column;
    width: 35%;
    margin-top: 38px;
    gap: 24px;
  }

  .single-event-content section.first-infos-events .container > .right {
    width: 65%;
  }

  /* Date + information de lieu + prix */

  .single-event-content .first-infos-events .date {
    display: flex;
    padding: 24px 42px;
    background-color: #0d2c3d;
    border-radius: 2px;
  }

  .single-event-content .first-infos-events .date h4 {
    margin-bottom: 16px;
    font-size: 22px;
    color: white;
  }

  #main .single-event-content .first-infos-events .date p {
    margin: 4px 0;
    font-size: 18px !important;
    color: white !important;
  }

  .single-event-content .first-infos-events .place-name::before {
    content: '';
    position: relative;
    display: inline-block;
    height: 42px;
    width: 42px;
    background-image: url('/wp-content/plugins/lpdw-events-manager/Front/assets/epingle.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .single-event-content .first-infos-events :is(.place-name, .event-price) {
    display: flex;
    gap: 12px;
  }

  .single-evenement .single-event-content .first-infos-events .place-name a {
    text-decoration: underline !important;
  }

  .single-event-content .first-infos-events .place-name .icon-place {
    height: 32px;
    width: 32px;
    margin: 13px 0;
  }

  .single-event-content .first-infos-events .event-price::before {
    content: '';
    position: relative;
    display: inline-block;
    height: 42px;
    width: 42px;
    background-image: url('/wp-content/plugins/lpdw-events-manager/Front/assets/price-tag.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Carte d'organisateur */

  .organisateur .orga-card {
    display: flex;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .organisateur .orga-card .left-card {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .organisateur .orga-card .left-card .orga-thumbnail {
    object-fit: cover;
  }

  .organisateur .orga-card .left-card .orga-socials-networks {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 10px;
    background-color: black;
    gap: 8px;
  }

  .organisateur .orga-card .left-card .orga-socials-networks .link-social-orga {
    display: flex;
  }

  .organisateur .orga-card .left-card .orga-socials-networks img {
    width: 25px;
    height: 25px;
  }

  .organisateur .orga-card .right-card {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 20px;
  }

  .organisateur .orga-card .right-card h5 {
    font-weight: bold;
  }

  #main .single-event-content .organisateur .orga-card .right-card p {
    font-size: 14px !important;
    line-height: 20px;
    opacity: 0.64;
  }

  .organisateur .orga-card .right-card a {
    text-align: end;
    text-decoration: underline !important;
  }

  /* Slider de photos */

  #slider-single-event {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 29px;
  }

  #slider-single-event .slider {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }

  #slider-single-event .slider .arrow {
    cursor: pointer;
    width: 50px;
  }

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

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

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

  #slider-single-event .slider .container-images {
    position: relative;
    width: 80%;
    height: 482px;
    overflow: hidden;
  }

  #slider-single-event .slider .container-images div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    transition-duration: 0.5s;
    transform: translateY(-50%);
    background-color: white !important;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.3);
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .copyright {
      position: absolute;
      bottom: 5px;
      right: 10px;
      color: white;
      font-style: italic;
    }
  }

  #slider-single-event .slider.right .container-images div {
    right: -100%;
    z-index: -9;
  }

  #slider-single-event .slider.right .container-images div.active {
    z-index: 99;
    right: 0;
  }

  #slider-single-event .slider.right .container-images div.to_right {
    right: 100%;
  }

  #slider-single-event .slider.left .container-images div {
    left: -100%;
    z-index: -9;
  }

  #slider-single-event .slider.left .container-images div.active {
    z-index: 99;
    left: 0;
  }

  #slider-single-event .slider.left .container-images div.to_left {
    left: 100%;
  }

  /* Aperçu des photos sous le slider */

  #slider-single-event .picture-insight {
    display: flex;
    column-gap: 8px;
  }

  #slider-single-event .picture-insight img.insight {
    width: 32px;
    height: 32px;
    object-fit: cover;
    cursor: pointer;
  }

  #slider-single-event .picture-insight img.insight.insight-outline {
    outline: solid #000;
  }

  #slider-single-event .picture-insight img.insight:hover {
    outline: dashed #000;
  }

  /* Description de l'event + adresse et carte */

  .second-infos-event .excerpt-event {
    position: relative;
    left: 82px;
    top: -48px;
    padding: 28px 42px;
    width: calc(100% - 182px);
    background-color: white;
  }

  .second-infos-event .place-infos {
    margin-top: 35px;
    display: flex;
    padding: 0px 24px;
    flex-wrap: wrap;
  }

  .second-infos-event .place-infos h2 {
    width: 100%;
  }

  .second-infos-event .place-infos .leaflet-map {
    height: 348px !important;
  }

  .second-infos-event .place-infos .adresse + a {
    display: block;
    width: max-content;
    padding: 12px 18px;
    background-color: #0d2c3d;
    font-size: 16px;
    text-align: right;
    color: white !important;
  }

  .second-infos-event .place-infos .right,
  .second-infos-event .place-infos .left {
    width: 50%;
    z-index: 1;
  }

  .second-infos-event .place-infos .right {
    display: flex;
    flex-direction: column;
    padding-left: 48px;
    gap: 24px;
  }

  /* Section more events */

  #main .single-event-content .more-events h2 {
    margin: 0 !important;
    padding: 42px 0 28px 0;
    text-align: center;
    text-transform: unset !important;
  }
}

/* Style pour tablette */

@media only screen and (max-width: 989px) and (min-width: 768px) {
}

/* Style smartphone */

@media only screen and (max-width: 767px) {
  #title-signle-event {
    width: 100%;
    padding: 32px 0px;
    background-color: #0d2c3d;
    transition-duration: all ease 300ms;
    z-index: 99;
  }

  .fil-araiane-single-event {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 94%;
    height: 100%;
    padding: 0 24px;
    margin: 0 auto;
  }

  .fil-araiane-single-event :is(.left, .right) {
    display: flex;
  }

  .fil-araiane-single-event .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fil-araiane-single-event .left .fil-ariane-content {
    display: flex;
    gap: 6px;
  }

  #main .fil-araiane-single-event .left .fil-ariane-content p {
    color: white !important;
  }

  #main .fil-araiane-single-event .events-tags span {
    color: white;
  }

  #main .fil-araiane-single-event h1 {
    width: 100%;
    margin-bottom: 0px;
    background-color: transparent;
    font-family: 'Raleway', sans-serif !important;
    font-size: 32px;
    color: white;
    font-weight: bold !important;
    opacity: 1 !important;
    transform: unset !important;
  }

  #main .fil-araiane-single-event :is(p, a) {
    margin: 0;
    padding: 0;
    height: max-content;
    font-size: 14px;
    line-height: 20px;
  }

  .fil-araiane-single-event > .left > p {
    color: white !important;
  }

  .fil-araiane-single-event .socials-medias {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 75%;
    padding: 16px 8px 0 8px;
  }

  .fil-araiane-single-event .socials-medias a {
    height: 32px;
  }

  .fil-araiane-single-event .socials-medias a img {
    transition: 300ms;
  }

  .fil-araiane-single-event .socials-medias a:hover img {
    scale: 1.1;
  }

  .fil-araiane-single-event a .icon-ariane {
    width: 32px;
    object-fit: cover;
  }

  /* File d'ariane enfold animation !!! */

  #top #header.scrolled-custom-js + #main #title-signle-event {
    top: 113px !important;
  }

  .single-evenement .single-event-content {
    background: rgb(13, 44, 61);
    background: linear-gradient(180deg, rgba(13, 44, 61, 1) 0%, rgba(13, 44, 61, 1) 5%, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 1) 100%);
  }

  /* Contenu */

  .first-infos-events {
    background: rgb(255, 255, 255);
    padding: 32px 18px 42px 18px;
  }

  .single-event-content section.first-infos-events .container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    width: 100%;
    max-width: unset;
    margin: 0;
    padding: 0;
  }

  .single-event-content section.first-infos-events .container > .left {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 18px;
  }

  /* Date + information de lieu + prix */

  .single-event-content .first-infos-events :is(.date, .place-name, .event-price) {
    display: flex;
    gap: 12px;
  }

  .single-event-content .first-infos-events .date {
    margin-top: 16px;
    padding: 12px 24px;
    background-color: #0d2c3d;
    border-radius: 2px;
  }

  .single-event-content .first-infos-events .date h4 {
    margin-bottom: 16px;
    font-size: 20px;
    color: white;
  }

  #main .single-event-content .first-infos-events .date p {
    margin: 4px 0;
    font-size: 16px !important;
    color: white !important;
  }

  .single-event-content .first-infos-events .place-name::before {
    content: '';
    position: relative;
    display: inline-block;
    height: 42px;
    width: 42px;
    background-image: url('/wp-content/plugins/lpdw-events-manager/Front/assets/epingle.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .single-evenement .single-event-content .first-infos-events .place-name a {
    text-decoration: underline !important;
  }

  .single-event-content .first-infos-events .place-name .icon-place {
    height: 32px;
    width: 32px;
    margin: 13px 0;
  }

  .single-event-content .first-infos-events .event-price::before {
    content: '';
    position: relative;
    display: inline-block;
    height: 42px;
    width: 42px;
    background-image: url('/wp-content/plugins/lpdw-events-manager/Front/assets/price-tag.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Carte d'organisateur */

  .single-event-content .first-infos-events .organisateur {
    margin-top: 24px;
  }

  .organisateur .orga-card {
    display: flex;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .organisateur .orga-card .left-card {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .organisateur .orga-card .left-card .orga-thumbnail {
    height: 100%;
    object-fit: cover;
  }

  .organisateur .orga-card .left-card .orga-socials-networks {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 8px;
    background-color: black;
    gap: 8px;
  }

  .organisateur .orga-card .left-card .orga-socials-networks .link-social-orga {
    display: flex;
  }

  .organisateur .orga-card .left-card .orga-socials-networks img {
    width: 24px;
    height: 24px;
  }

  .organisateur .orga-card .right-card {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px 16px;
  }

  .organisateur .orga-card .right-card h5 {
    font-weight: bold;
  }

  #main .single-event-content .organisateur .orga-card .right-card p {
    font-size: 12px !important;
    line-height: 16px;
    opacity: 0.64;
  }

  .organisateur .orga-card .right-card a {
    text-align: end;
    text-decoration: underline !important;
  }

  /* Slider de photos */

  #slider-single-event {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 18px;
  }

  #slider-single-event .slider {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }

  #slider-single-event .slider .arrow {
    cursor: pointer;
    width: 32px;
  }

  #slider-single-event .slider .arrow svg {
    width: 38px;
    height: 38px;
    padding-right: 0px;
    transition: 300ms;
  }

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

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

  #slider-single-event .slider .container-images {
    position: relative;
    width: 80%;
    height: 364px;
    overflow: hidden;
  }

  #slider-single-event .slider .container-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transition-duration: 0.5s;
    transform: translateY(-50%);
    background-color: white !important;
  }

  #slider-single-event .slider.right .container-images img {
    right: -100%;
    z-index: -9;
  }

  #slider-single-event .slider.right .container-images img.active {
    z-index: 99;
    right: 0;
  }

  #slider-single-event .slider.right .container-images img.to_right {
    right: 100%;
  }

  #slider-single-event .slider.left .container-images img {
    left: -100%;
    z-index: -9;
  }

  #slider-single-event .slider.left .container-images img.active {
    z-index: 99;
    left: 0;
  }

  #slider-single-event .slider.left .container-images img.to_left {
    left: 100%;
  }

  /* Description de l'event + adresse et carte */

  .second-infos-event .excerpt-event {
    position: relative;
    left: 28px;
    top: -18px;
    padding: 10px 18px;
    width: calc(100% - 24px);
    background-color: white;
  }

  .second-infos-event .place-infos {
    margin-top: 28px;
    display: flex;
    padding: 0px 24px;
    flex-direction: column;
  }

  .second-infos-event .place-infos h2 {
    width: 100%;
  }

  .second-infos-event .place-infos .adresse p {
    margin: 8px 0;
    font-size: 16px !important;
  }

  .second-infos-event .place-infos .adresse a {
    display: block;
    width: 100%;
    font-size: 16px;
    text-align: right;
    text-decoration: underline;
  }

  .second-infos-event .place-infos :is(.right, .left) {
    width: 100%;
    z-index: 1;
  }
  .second-infos-event .place-infos .leaflet-map {
    height: 324px !important;
  }

  .second-infos-event .place-infos .adresse + a {
    display: block;
    width: max-content;
    padding: 12px 18px;
    background-color: #0d2c3d;
    font-size: 16px;
    text-align: right;
    color: white !important;
  }

  .second-infos-event .place-infos .right {
    display: flex;
    flex-direction: column;
    padding-left: 24px;
    gap: 24px;
  }

  /* Section more events */

  #main .single-event-content .more-events h2 {
    margin: 0 !important;
    padding: 42px 0 28px 0;
    text-align: center;
    text-transform: unset !important;
  }
}
