.hero-section {
    display: flex;
    padding: 20px;
    background: #f5f5f5;
}

.visible{
    display: flex;
}

.no-visible{
    display: none !important;
}

.spinner-grow{
	width: 15px !important;
	height: 15px !important;
}


.title-Event-Page{
    text-align: center !important;
    padding-bottom: 40px; 
    z-index: 8; 
    color: #fff; 
    font-size: 42px; 
    font-family: "MuseoModerno";
    margin-bottom: 25px !important;
}

#descrEvent{
    font-weight: 500;
  color: #859ca5;
  text-align: center;
  margin: 1.2em 0;
}

#formVotingC {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px;
    position: relative;
    display: flex; 
    flex-direction: column;
}


#doPicture {
            align-self: flex-end; 
            margin-top: 10px; 
        }

#waitingBtn{
    font-size: 12px !important;
  width: 15px;
  height: 15px;
  color: #fff !important;
}


#error-msg-intl{
    color: red;
    margin-bottom: 8px !important;
}
.td-up{
    padding: 2px !important;
    border-style: none !important;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-column, .right-column {
    flex: 1;
    margin: 10px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    margin-bottom: 20px;
}

.time-box {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-right: 10px;
    text-align: center;
}

.stats {
    margin-bottom: 20px;
}

.stat {
    margin-bottom: 5px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #007bff;
    color: white;
}

button:hover {
    background: #0056b3;
}

.cover-image {
    width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  border-radius: calc(var(--radius) * 4);
  justify-self: flex-end;
  display: block;
  object-fit: cover;
  position: relative;
  border: 2px solid var(--c-primary);
}

.image-slider {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.slide {
    display: none;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
}

.action-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .container_second{
        padding: 0px 0px 0px 0px !important;
    }
    
    #eventsProgress, #eventsCome{
        padding-right: 0px !important;
        padding-left: 0px !important;
        margin-bottom: 0px !important;
    }

    .left-column, .right-column {
        margin: 0;
        width: 100%;
    }
}
        .th-per, td span{
            font-size: 13px;
            padding: 1px !important;
            border-style: none !important;
        }
    /*body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #d0e9f3;
    }*/
        
    .btn-action-tab{
        color: #fff !important;
        padding: 8px !important;
        border-style: none !important;
        border-radius: 0px !important;
        font-weight: 300px !important;
    }

    .img-cust{
        border-style: solid;
        border-color: #0d6efd;
        
        width: 100%;
    object-fit: cover;
    }
    .filter-section {
      display: flex;
      justify-content: center;
      margin: 20px;
      flex-wrap: wrap;
    }
    
    .filter-section select, .filter-section input {
      margin: 10px;
      padding: 10px;
      min-width: 200px;
    }
    
    .btn-card{
      width: 45% !important;
      border-radius: 25px !important;
      border-style: none !important;
      padding: 7px 2px 7px 2px !important;
      text-transform: none !important;
      cursor: pointer;
      font-weight: 350 !important;
      font-size: 12px;
      
    }

    .badge {
    position: relative; 
    z-index: 10; 
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px; 
    margin-bottom: 10px;
}
    
    .card-container {
      display: grid;
      gap: 20px;
      justify-content: center;
      margin: 20px;
    }
    
    .card {
      border: 0px solid #ccc;
      
      position: relative;
      text-align: center;
      transition: transform 0.2s ease;
      box-shadow: 0px 8px 22px -9px #bbcbd8; 
      /*background-color: #f1f1f1;*/
    
    }
    
    .card img {
        width: 100%;
        height: auto;
        /*max-height: 200px;
        border-style: solid;
      border-color: #0d6efd;
        */
         margin-bottom: 0px;
      
    }
    

    
    .img-picture{
        height: 250px !important;
        object-fit: cover;
    }
    
    .card:hover {
      transform: scale(1.05);
    
    }

    .blink {
    opacity: 0;
    transition: opacity 0.5s; 
}
    
    .badge {
      position: absolute;
      top: 10px;
      left: 10px;
      color: white;
      font-size: 12px !important;
      font-weight: 300;
      padding: 5px;
      font-size: 12px;
    }
    
    .badge-progress{
      background-color: #8748ec;
    }

    .badge-danger{
        background-color: rgb(147, 7, 7);
        font-weight: 800;
    }
    
    .action-buttons{
      width: 100%;
      padding: 0px;
    }
    
    .badge-programmed{
      background-color: #28a745;
    }
    
    .image-container {
    position: relative;
    display: inline-block; /* Pour éviter des marges indésirables */
}
.image-container-modal {
        position: relative;
        display: inline-block; 
    }

.img-picture {
    display: block;
    width: 100%;
}

.voter-btn {
        position: absolute;
        bottom: -20;
        margin-left: 0px !important;
        padding-top: 5px !important;
        /* transform: translateX(-10%); */
        /* background-color: rgba(255, 255, 255, 0.6); */
         background-color:#fff;
         /* background-color: rgba(0, 0, 0, 0.5);  
          border-style: solid;
        border-width: 0px 3px 3px 3px;
         */
        background-color: #fff;
        border-bottom-style: solid !important;
        border-bottom-width: 1px !important;
 
        text-align: center;
        padding: 0px;
        cursor: pointer;
        width: 100% !important;
        text-decoration: none; 
                margin-top: -50px !important;

        /*border-color: #007bff;*/
    }

    .voter-btn li img{
        width: 70%;
        border-style: none;
    }

    #confetti-canvas {
        position: fixed; 
        z-index: 18000; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh; 
        pointer-events: none;
    }

    #swal2-title{
        font-size: 18px;
    }
    
    .event-title {
      font-weight: bold;
      /*margin: 70px 0px -5px !important;*/
      margin: 20px 0px -5px !important;
      font-size: 14px;
      line-height: 18px !important;
    }
    
    .pagination {
      display: flex;
      justify-content: center;
      margin: 20px 0;
    }
    
    .laureat_name{
        font-size: 15px;
    }
    .pagination button {
      margin: 0 5px;
      padding: 10px;
      cursor: pointer;
      color: #000 !important;
      background-color: #dae3eb !important;
    }
    
    .pagination span{
        padding: 8px !important;
    }
    
    
    .pagination button{
      outline: none !important;
      border: 1px solid hsl(201, 60%, 78%) !important;
      border-radius: calc(var(--radius) * 2) !important;
      
    }
    
    .btn-copy{
      margin-left: 0px !important;
      background-color: #dae3eb !important;
      color: #000 !important;
      font-size: 13px !important;
      font-weight: 500 !important;
    }
    
    .btn-share{
      background-color: #001e2b !important;
      color: #fff !important;
      font-size: 13px !important;
      font-weight: 500 !important;
    }
    
    .link-card{
      color: #000;
      text-decoration: none;
    }
    
    .event-title-custom{
        margin-top:30px !important;
        color: #000 !important;
        font-size: 20px !important;
        border-left-style:  solid !important;
        border-left-color:  blue !important;
        padding-left: 10px !important;
    }
    
    /* Responsive grid settings */
    @media (min-width: 1200px) {
      .card-container {
          grid-template-columns: repeat(5, 1fr);
      }
    }
    
    @media (min-width: 992px) and (max-width: 1199px) {
      .card-container {
          grid-template-columns: repeat(4, 1fr);
      }
    }
    
    @media (min-width: 768px) and (max-width: 991px) {
      .card-container {
          grid-template-columns: repeat(3, 1fr);
      }
      
      .img-picture{
        height: 350px !important;
        object-fit: cover;
        }
    }
    
    @media (min-width: 576px) and (max-width: 767px) {
      .card-container {
          grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (max-width: 575px) {
      .card-container {
          grid-template-columns: repeat(1, 1fr);
      }
    }

        /* ul.socials-hero {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2em;
        } */

    .colbox-laureate {
        position: relative; 
    }

    .h1-custom{
        font-size: 16px !important;
    }
    .img-cust {
        width: 100%;
        height: auto; 
        display: block; 
    }

    .socials__nomine {
        position: absolute; 
        top: 5; 
        left: 15; 
        list-style: none;
        padding: 0; 
        display: flex;
        flex-direction: column; 
        justify-content: top; 
        background-color: #fff;
    }

    .socials__nomine li {
        padding: 5px 0; 
        text-align: left;

    }

    .socials__nomine li:hover{
        padding:15px;
        background-color: #fff;
        cursor: pointer;
    }

    .h1_key {
        position: absolute;
        margin: 0;
        bottom: 0;
        left: 0;
        right: 0;
        color: white; 
        background-color: #DFD491;
        text-align: center;
        padding: 10px; 
    }
    
    #methodPay:focus {
        outline: none;
        border: none; 
    }

    .badge-status{
        padding: 3px 15px 3px 15px !important;
        border-radius: 10px;
        font-size: 13px !important;
        color: #fff;
        font-weight: 500;
    }

    .badge-status-success{
        background-color: green;
    }
    .badge-status-warning{
        background-color: rgb(218, 218, 1);
    }
    .badge-status-danger{
        background-color: red;
    }
    .socials-hero li{
        color: #0095e6;
    }
    

    
    .filter-section {
        display: flex;         
        align-items: center;   
        gap: 10px;
        
    }
    #eventsProgress, #eventsCome{
        padding-right: 30px !important;
        padding-left: 30px !important;
        margin-bottom: 0px !important;
    }
    
    #eventSelectProgress{
        flex: 1;       
         border: 1px solid hsl(201, 60%, 78%) !important;
      border-radius: calc(var(--radius) * 2) !important;
    }
    
    #eventSearchProgress, #eventSearchCome{
        flex: 2;              
         border: 1px solid hsl(201, 60%, 78%) !important;
      border-radius: calc(var(--radius) * 2) !important;
    }
    
    #viewAllProgress, #viewAllPCome {
        flex: 0;  
        background-color:  #dae3eb !important;
        padding: 14px !important;
        color: #000 
    }
    
    .btn-view-all{
        color: #000 !important;
        background-color: #dae3eb !important;
        outline: none !important;
      border: 1px solid hsl(201, 60%, 78%) !important;
      border-radius: calc(var(--radius) * 2) !important;
      text-transform: none !important;
    }

    .titleNomine{
        font-size: 50px;
        color: #fff;
    }
    
    .event_partage{
        list-style: none;
        text-align: center !important;
        width: 100%;
    }

    .event_partage li{
        display: inline-block;
        text-align: center;
        padding: 20px;
    }
    
    .date_border{
        /* border-style: solid; */
        border-width: 0px 1px 0px 1px;
        border-color: #007bff;
    }

    .container_second{
        padding: 0px 0px 0px 0px !important;
    }

    #timer-container {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
}

#timer-text {
    margin-right: 20px;
    font-size: 15px;
}

.timer {
    display: flex; 
    list-style: none; 
    padding: 0; 
}

.timer li {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 30px;
    margin: 0 10px; 
    padding: 3px;
    border-style: none; 
    text-align: center; 
    width: 50px; 
}

.timer li span {
    display: block; 
    font-size: 20px; 
    font-weight: bold; 
}

.timer li h4 {
    margin: 0;
    font-size: 12px; 
}

#timerEnd {
    display: flex;
    justify-content: center;
    align-items: center; 
    font-weight: bold;
}

.btn-voter{
    padding: 10px !important;
    margin: 8px !important;
    width: 100% !important;
    background-color: #DFD491 !important;
    border-color: #DFD491 !important;
    border-width: 1px !important;
    color: #000 !important;
    border-radius: 3px !important;
}

.btn-voter:hover{
    background-color: #0d6efd;
}
.voter-btn li{
    display: inline-block;
}

.key-js{
    font-weight: bolder !important;
}

.hr_separo{
    margin: 5px 0px 9px 0px;
    
    /*border-style: solid;
    border-width: 1px;
    border-color: #000;
    margin-bottom: 3px !important;*/
}

.badge-number-vote{
    font-size: 16px !important;
    font-weight: 300 !important;
    background-color: green !important;
}

.btn-small{
    padding: 5px !important;
    font-size: 14px !important;
    border-radius: 5px;
    border-width: 1.5px;
    background-color: #fff;
    border-color: #007bff;
    color:#007bff;
}
.btn-small:hover{
background-color: #007bff;
border-style: none;

}

/*Custom input*/
.vote-input {
    width: 100%;
    /*padding: 10px;*/
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    
}

.vote-suggestions {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    display: none;
}

.vote-suggestion {
    padding: 10px;
    cursor: pointer;
}

.vote-suggestion:hover {
    background-color: #e0e0e0;
}

.vote-total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}



/***************************Clignoter****************************/
 @keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


#choiceMethod {
    animation: blink 1s linear infinite; 
    text-align: center;
    margin-top: 15px;
    padding: 8px;
    font-weight: bolder;
    font-size: 15px;
    color: #28b7f9 !important;
}


#formVotingC{
background-color: transparent !important;
color: #e3e2e2 !important;
}
