/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

.popup .popuptexttr {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 75%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.popup .popuptexttr::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
    }

.popup .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
from {opacity: 0;} 
to {opacity: 1;}
}

@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}

#select-ev-type-dropdown{
    width: 50%;
    margin: auto;
    left: 50%;
    transform: translateX(-50%);

    select{
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    #select-ev-type-dropdown{
        width: 90%;
    }
}

.admin-event-modal {
    --bs-modal-width: 1000px;
}
#event-intern-modal {
    --bs-modal-width: 800px;
}
.checklist-modal {
    --bs-modal-width: 800px;
}
.fc-theme-standard td, .fc-theme-standard th {
    height: 70px;
}
#calendar{
    height: 660px !important;
}
.ui-timepicker-container {
    z-index: 3500 !important;
}
.valid {
    border: 1px solid green !important;
}

.invalid {
    border: 1px solid red !important;
}
.cl-padding{
    padding-left: 0em;
    padding-right: 1em;
}
.col-padding-0{
    padding:0px;
}
.prev-checked{
    border-color: green !important;
    background-color:green !important;
}
.red-text {
    color: red;
    border-color: red !important;
    background-color: red !important;
}
.image-scroll-div {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}
.image-scroll-div-intern {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}
.dropzone .dz-message {
    margin: 0;
}
#photo-row{
    margin-top: -45px;
}
#checklist-div, #rel-checklist-div, #science-checklist-div, #evt-checklist-div, #opr-checklist-div{
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}
#event-created{
    margin-left: 50px;
}

.spinner-photo-process-container{
    width: 70px;
    height: 70px;
    margin: auto;
}
.spinner-photo-process {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(37, 149, 255, 0.1);
    border-top-color: #556ee6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for the spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Centering the spinner */
.spinner-photo-process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#photo-upload-processing{
    height: 170px;
    width: 37%;
    margin: auto;
    border-radius: 7px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #dadaff;
    padding-top: 25px;
    position: fixed;
    z-index: 99;
}
#photo-uploaded-alert{
    font-size: 35px;
    height: 170px;
    width: 37%;
    margin: auto;
    border-radius: 7px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #dadaff;
    padding-top: 25px;
    position: fixed;
    z-index: 99;
}

#overlay, #files-download-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-spinner {
    /* Add your loading spinner styles here */
    margin-top: -30%;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.event-list-center{
    color: red;
    /* top: 10vh !important;
    left: 50vw !important; */
    overflow: scroll;
    height: 300px;
}

.pune{ background-color:#fc8181;}
.bengaluru{ background-color:#EBFFB7; color: rgb(0, 70, 7);}
.bengaluru div div div div{ color: rgb(0, 70, 7); }
.bengaluru div div div{ color: rgb(0, 70, 7); }
.mumbai{ background-color:#3056C0; }
.chennai{ background-color:#2E9E1B; }
.hyderabad{ background-color:#E76FFD; }
.default-city{ background-color:#611819; }

.cl-fb-row>* {
    padding-left: 0px !important;
}
.row .col-3{
    width: 19%;
}

.ui-timepicker-viewport{
    width: auto !important;
}

.was-validated .custom-select:invalid + .select2 .select2-selection{
    border-color: #dc3545!important;
}
.was-validated .custom-select:valid + .select2 .select2-selection{
    border-color: #28a745!important;
}

.not-rel-chk:checked{
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.rel-cl-who{
    padding: 2px;
    border: 3px solid #cdd5ff;
}