/* Général */
tr
{
  background-color: #191e3a;
}

td
{
  vertical-align: middle;
}

a
{
  text-decoration: none;
}

.btn-custom {
    background-color: #3db4f2;
    border-color: #3db4f2;
    color: white;
}

.btn-custom:hover {
    background-color: #2a9de0;
    border-color: #2a9de0;
    color: white;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button 
{
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] 
{
  -moz-appearance: textfield;
}

/* Index */
@font-face
{
  font-family: 'OpenSans';
  src: url('../font/OpenSans.ttf');
}

body
{
  font-family: 'OpenSans';
  --bs-body-color: white;
}

body::-webkit-scrollbar 
{ 
  display: none; 
}

.body-bg-color
{
  background-color: #060818;
}

.navbar-bg-color
{
  background-color: #191e3a;
}

.navbarDropdownColor
{
  background-color: #191e3a;
}

.navbar-center-items
{
  align-items: center;
}

.navbar-margin-item
{
  margin-right: 95px;
}

.img-contain
{
  object-fit: contain;
}

.dropdown-text
{
  color: #8f9a9f;
}

.dropdown-text:hover
{
  background-color: #191e3a;
  color: #c5c7ce;
}

.dropdown-divider
{
  background-color: white;
}

@media(max-width: 1200px)
{
  .navbar-margin-item
  {
    margin-right: 60px;
  }
}

@media(max-width: 992px)
{
  .navbar-center-items
  {
    align-items: unset;
  }
}

@media(min-width: 768px)
{
  .animate
  {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

@keyframes slideIn
{
  0%
  {
    transform: translateY(1rem);
    opacity: 0;
  }

  100%
  {
    transform: translateY(0rem);
    opacity: 1;
  }

  0%
  {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn
{
  0%
  {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100%
  {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0%
  {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slideIn
{
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

.footer-bg-color
{
  background-color: #191e3a;
}

/* Accueil */
.button-swap-left
{
  display: none;
}

.button-swap-right
{
  display: none;
}

.carousel-item-header
{
  min-height: 200px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.btn-trailer
{
  background-color: #161823;
  color: white;
}

.btn-trailer:hover
{
  background-color: #1a1c2a;
  color: white;
}

.card-margin-top-1
{
  margin-top: 90px;
}

.card-margin-top-2
{
  margin-top: 90px;
}

.card-margin-top-3
{
  margin-top: 25px;
}

.card-margin-top-4
{
  margin-top: 25px;
}

.card-margin-bottom-3
{
  margin-bottom: 90px;
}

.card-margin-bottom-4
{
  margin-bottom: 90px;
}

.card-title-top
{
  margin-top: 10px;
}

.card-title-left
{
  color: white;
  margin-bottom: 0px;
  margin-left: 35px;
  margin-right: 0px;
  padding: 0px;
}

.card-href-margin
{
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 35px;
  padding: 0px;
}

.card-title-left-profil
{
  color: white;
  margin-bottom: 23px;
  margin-left: 35px;
  margin-right: 0px;
  padding: 0px;
}

.card-href
{
  color: white;
  text-decoration: none;
}

.card-href:hover
{
  color: grey;
}

.img-taille-affiche
{
  width: 100%;
  height: 140px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon
{
  height: 40px;
  width: 40px;
  background-size: 100%, 100%;
}

.arrow-prev-position
{
  margin-left: -30px;
}

.arrow-next-position
{
  margin-right: -30px;
}

.card-img-bg-color
{
  background-color: #191e3a;
}

.zoom-image
{
  overflow: hidden;
}

.zoom-image img
{
  width: 100%;
}

.zoom-image img:hover
{
  width: 100%;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: 1s;
  transition: 1s;
}

.card-fontsize
{
  font-size: 15px;
  color: white;
}

.card-text-position-top
{
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: white;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.card-img-style
{
  position: absolute;
  top: 72%;
  left: 5px;
  height: 40px;
  width: 40px;
  z-index: 1;
  background-color: white;
  object-fit: contain;
}

.card-text-position-bottom
{
  position: relative;
  padding-left: 50px;
  text-align: center;
}

@media(max-width: 767px)
{
    .container .carousel-inner .carousel-item > div
    {
      display: none;
    }

    .container .carousel-inner .carousel-item > div:first-child
    {
      display: block;
    }

    .carousel-item.active
    {
      display: flex;
      justify-content: center;
    }

    .card-margin-top-3
    {
      margin-top: 90px;
    }

    .card-margin-top-4
    {
      margin-top: 45px;
    }

    .card-margin-bottom-3
    {
      margin-bottom: 45px;
    }

    .card-margin-bottom-4
    {
      margin-bottom: 90px;
    }

    .img-taille-affiche
    {
      width: 100%;
      height: 300px;
    }

    .arrow-prev-position
    {
      margin-left: 0px;
    }

    .arrow-next-position
    {
      margin-right: 0px;
    }

    .card-img-style
    {
      top: 80%;
      left: 10px;
      height: 60px;
      width: 60px;
    }

    .card-text-position-bottom
    {
      left: 0px;
    }
}

.container .carousel-inner .carousel-item.active,
.container .carousel-inner .carousel-item-next,
.container .carousel-inner .carousel-item-prev
{
  display: flex;
}

@media(min-width: 768px)
{
    .container .carousel-inner .carousel-item-end.active,
    .container .carousel-inner .carousel-item-next
    {
      transform: translateX(16.67%);
    }
    
    .container .carousel-inner .carousel-item-start.active,
    .container .carousel-inner .carousel-item-prev
    {
      transform: translateX(-16.67%);
    }
}

.container .carousel-inner .carousel-item-end,
.container .carousel-inner .carousel-item-start
{ 
  transform: translateX(0);
}

@media(min-width: 768px) and (max-width: 991px)
{
  .card-margin-top-3
  {
    margin-top: 90px;
  }
  .card-margin-top-4
  {
    margin-top: 0px;
  }
}

@media(min-width: 992px) and (max-width: 1199.98px)
{
  .card-title-left-profil
  {
    margin-bottom: 15px;
  }

  .card-fontsize
  {
    font-size: 10px;
  }

  .card-text-position-top
  {
    top: 7px;
  }

  .card-img-style
  {
    height: 30px;
    width: 30px;
  }

  .card-text-position-bottom
  {
    left: 0px;
  }
}

@media(min-width: 1200px) and (max-width: 1400px)
{
  .card-title-left-profil
  {
    margin-bottom: 19px;
  }

  .card-fontsize
  {
    font-size: 10px;
  }

  .card-text-position-top
  {
    top: 7px;
  }
}

/* Style pour le ruban "New" */
.ribbon-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px !important;
    height: auto; 
    z-index: 1;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.position-relative {
    position: relative;
}

.card-img {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* VoirTout & Catalogue */
.margin-bottom
{
  margin-bottom: 70px;
}

.brightness:hover
{
  filter: brightness(0.5);
  cursor: pointer;
}

.card-bg-color
{
  background-color: #161823;
}

.img-taille-affiche-voirtout
{
  width: 100%;
  height: 290px;
}

.card-note
{
  position: absolute;
  top: 10px;
  left: 10px;
  height: 20px;
  width: 40px;
  color: #ccac31;
  background-color: #060818;
  border: 1px solid #ccac31;
  border-radius: 5px;
}

.card-avg-note
{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.card-img-style-voirTout
{
  position: absolute;
  top: 71%;
  left: 5px;
  height: 50px;
  width: 50px;
  z-index: 1;
  background-color: white;
  object-fit: contain;
}

.center-DerniereNote
{
  position: relative;
  top: 8px;
  font-size: 18px;
}

.center-voirTout
{
  position: relative;
  top: -5px;
  font-size: 18px;
}

.card-body-properties
{
  height: 40px;
  background-color: #191e3a;
}

.modal-dialog
{
  border-radius: 500px;
}

.affiche-modal
{
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

.modal
{
  background-color: transparent;
}

.modal-header
{
  height: 100px;
  border-bottom: 0 none;
}

.modal-content
{
  background-color: transparent;
}

.modal-footer
{
  border-top: none;
}

.header-bg-color
{
  background-color: #191e3a;
}

.title-modal
{
  position: absolute;
  top: 30px;
  left: 115px;
  height: 28px;
  width: 650px;
  overflow: hidden;
}

.date-modal
{
  position: absolute;
  top: 65px;
  left: 115px;
}

.btn-close
{
  position: absolute;
  top: 20px;
  right: 20px;
}

.original-title-modal
{
  position: absolute;
  top: 15px;
  left: 115px;
  height: 40px;
  width: auto;
  overflow: hidden;
}

.modal-box
{
  display: flex;
  width: 100%;
}

.box-vu
{
  left: 0px;
  height: 270px;
  width: 400px;
  overflow-y: scroll;
}

.box-vu::-webkit-scrollbar
{
  background: #060818;
  width: 10px;
}

.box-vu::-webkit-scrollbar-thumb
{
  background: #161823;
  border-radius: 10px;
}

.box-utilisateur {
    background-color: #191e3a;
    width: 380px;
    position: relative;
}

.delete-icon {
    display: block;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.delete-icon:hover {
    transform: translateY(-50%) scale(1.2);
}

.img-profil-modal
{
  position: relative;
  left: 10px;
}

.nom-modal
{
  position: relative;
  top: 2px;
  left: 20px;
}

.note-modal
{
  position: relative;
  top: 2px;
  right: 60px;
  float: right;
}

.box-note
{
  position: relative;
  left: 50px;
}

.bloc-moyenne
{
  position: relative;
  top: 20px;
  height: 20px;
  width: 40px;
  color: #ccac31;
  background-color: #060818;
  border: 1px solid #ccac31;
  border-radius: 5px;
}

.moyenne
{
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.box-note-utilisateur
{
  position: relative;
  top: 80px;
}

.submit-button
{
  position: relative;
  top: 130px;
  left: 220px;
}

@media(max-width: 991px)
{
  .img-taille-affiche-voirtout
  {
    width: 100%;
    height: 160px;
  }

  .card-img-style-voirTout
  {
    top: 52%;
    left: 5px;
    height: 50px;
    width: 50px;
  }

  .center-DerniereNote
  {
    top: 14px;
    font-size: 10px;
  }

  .center-voirTout
  {
    top: -5px;
    font-size: 18px;
  }

  .title-modal
  {
    height: 35px;
    width: 330px;
    font-size: 14px;
  }

  .date-modal
  {
    top: 70px;
    font-size: 12px;
  }

  .original-title-modal
  {
    height: 30px;
    font-size: 12px;
  }

  .box-vu
  {
    width: 250px;
  }

  .box-utilisateur
  { 
    width: 230px;
  }

  .note-modal
  { 
    right: 40px;
  }

  .box-note
  {
    left: 30px;
  }

  .submit-button
  {
    left: 80px;
  }
}

@media(max-width: 768px)
{
  .btn-close
  {
    top: 10px;
  }

  .box-vu
  {
    width: 180px;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .note-modal
  { 
    right: 70px;
  }

  .submit-button
  {
    left: 0px;
  }
}

/* Detail */
.detail-card-bg-color
{
  background-color: #191e3a;
}

.img-taille-affiche-detail
{
  height: auto;
  max-width: 100%;
}

.arrow-prev-position-detail
{
  margin-left: -21px;
}

.arrow-next-position-detail
{
  margin-right: -21px;
}

@media(max-width: 991px)
{
  .fontSizeDetailLabel
  {
    font-size: 12px;
  }
}

/* Liste */
table.dataTable {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.table-margin
{
  margin-top: 30px;
  margin-bottom: 30px;
}

.table-spacing {
    margin-bottom: 20px; 
}

.search-spacing {
    margin-bottom: 25px;
}

.dataTable > thead > tr > th[class*="sort"]:before,
.dataTable > thead > tr > th[class*="sort"]:after
{
  content: "" !important;
}

.dataTable > thead > tr > th:not(.sorting_disabled),
.dataTable > thead > tr > td:not(.sorting_disabled) 
{
  padding-right: 0px !important;
}

.table-striped > tbody > tr:nth-child(odd) > td, 
.table-striped > tbody > tr:nth-child(odd) > th
{
  color: white;
  background-color: #161823;
}

.table-striped > tbody > tr:nth-child(even) > td, 
.table-striped > tbody > tr:nth-child(even) > th
{
  color: white;
  background-color: #191e3a;
}

.table-color
{
  color: white;
}

.page-item.active .page-link
{
  color: white;
  background-color: #20395d;
  border-color: #20395d;
}

.page-link
{
  color: #191e3a;
}

.page-link:hover
{
  color: #191e3a;
}

.modify-note
{
  cursor: pointer;
}

.table-margin {
    padding-top: 0;
    margin-top: 0;
}

.dataTables_wrapper {
    margin-top: -2px;
}

.card-medaille-corner
{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media(max-width: 991px)
{
  .card-medaille
  {
    left: 0px;
  }

  .card-img-medaille
  {
    width: 40px;
  }
}

/* Profil */
.bg-color-acteur
{
  background-color: #191e3a;
}

.card-edit
{
  position: absolute;
  bottom: 25px;
  left: 140px;
  height: 20px;
  width: 40px;
}

.card-edit-corner
{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.card-drop
{
  height: 143.38px; 
  width: 105.83px;
}

.bloc-acteur
{
  border: 1px solid white;
  border-radius: .25rem;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 50px;
}

.bloc-acteur-element
{
  padding-left: 0px;
  padding-right: 0px;
}

.card-bg-color-acteur
{
  background-color: rgba(255, 255, 255, 0);
}

.bloc-avatar-element
{
  padding-left: 0px;
  padding-right: 0px;
  border: 4px solid transparent;
  border-radius: 10px;
  position: relative;
}

.bloc-avatar-element.selected
{
  border-color: #3db4f2;
}

.avatar-unavailable {
    cursor: not-allowed !important;
    pointer-events: none;
}

.avatar-current {
    border-color: #28a745 !important;
}

.avatar-grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

/* Connexion */
.connexion-header
{
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header .overlay
{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0;
  z-index: 1;
}

header video
{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.vertical-center
{
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

header .container
{
  position: relative;
  z-index: 2;
}

.form-opacity
{
  background-color: rgba(255, 255, 255, 0.8);
}

.font-size-bot-label
{
  font-size: 17px;
}

.btn-login
{
  font-size: 0.9rem;
  background-color: #191e3a;
  color: white;
  letter-spacing: 0.05rem;
  padding: 0.75rem 1rem;
}

.btn-login:hover
{
  background-color: #060818;
  color: white;
}

@media(max-width: 991px)
{
  .font-size-bot-label
  {
    top: 2px;
    font-size: 14px;
  }
}

/* Loader */
#cover-spin
{
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 75px;
  bottom: 0;
  background-color: rgba(0, 0, 0, 1);
  z-index: 9999;
  display: none;
}

@keyframes spin
{
  from
  {
    transform: rotate(0deg);
  }
  to
  {
    transform: rotate(360deg);
  }
}

.loader
{
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.loader-pellicule
{
  position: relative;
  left: 60px;
}

.loader-pellicule1, .loader-pellicule2
{
  animation: spin .8s linear infinite;
  -webkit-animation: spin .8s linear infinite;
}

.loader-camera
{
  text-align: center;
}

.loader-text
{
  font-size: 30px;
  font-weight: bold;
  color: #43faff;
}

@media(max-width: 991px)
{
  .loader-pellicule
  {
    left: 30px;
  }

  .loader-text
  {
    font-size: 20px;
  }
}

/* Connexion loader */
.spinner 
{
  margin: 0;
  position: relative;
  top: 60%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 70px;
  z-index: 9999;
  display: none;
}

.spinner > div 
{
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 
{
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 
{
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay 
{
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay 
{
  0%, 80%, 100% 
  { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 
  40% 
  { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/* VoirTout loader */
#lds-dual-ring 
{
  margin: auto;
  margin-top: -80px;
  width: 80px;
  height: 80px;
}
#lds-dual-ring:after 
{
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring 
{
  0% 
  {
    transform: rotate(0deg);
  }
  100% 
  {
    transform: rotate(360deg);
  }
}

/* Administrateur */

.preview-container {
            margin-top: 10px;
            text-align: center;
        }
        .preview-image {
            max-width: 200px;
            max-height: 200px;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 5px;
        }
        .duration-container {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .duration-field {
            flex: 1;
        }
        .time-inputs {
            display: flex;
            gap: 5px;
            align-items: center;
        }
        .time-input {
            width: 60px;
        }