
/***********************************************
REGISTRATION PAGE
***********************************************/


.regOuterBody{
    display: flex;
    justify-content: center;
}

.register_main_body{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    border: 2px solid;
    border-radius: 15px;
    background-color: lightgrey;
}

.accessForm{
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inputFields{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.regInput{
    margin-top: 5%;
    font-size: large;
    -webkit-text-fill-color: black;
}

#loginA{
    margin-bottom: 5%;
}
/*****************************
MY BTN
*****************************/



.myBtn{
    background-color: #ba2552;
    width: 20%;
    cursor: pointer;
    color: #fff;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.2s;
    width: auto;
    padding: 10px 30px; /* Adjust as needed */
    font-size: 18px; /* Adjust size as needed */
    font-weight: bold; /* Make the text stand out */
    letter-spacing: 1px; /* Increase readability */
    padding: 12px 24px; /* Adjust padding to ensure ample space around the text */
  }
  
  .myBtn:focus {
    outline: none; /* Remove the default focus outline */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ba2552; /* Custom focus style */
  }
  
  .myBtn:hover{
    background-color: #a31e45;
    transform: scale(1.05);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.2s;
  }
  
  .myBtn:active {
    background-color: #8a1a3b; /* Even darker for active/click */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Optional: inner shadow to simulate a pressed effect */
  }
  
  .myBtnBlue{
    background-color: #dbe8f8;
    width: 20%;
    cursor: pointer;
    color: black;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.2s;
    width: auto;
    padding: 10px 30px; /* Adjust as needed */
    font-size: 18px; /* Adjust size as needed */
    font-weight: bold; /* Make the text stand out */
    letter-spacing: 1px; /* Increase readability */
    padding: 12px 24px; /* Adjust padding to ensure ample space around the text */
  }
  
  .myBtnBlue:focus {
    outline: none; /* Remove the default focus outline */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #b0c9dc; /* Custom focus style */
  }
  
  .myBtnBlue:hover{
    background-color: #c5d8ea;
    transform: scale(1.05);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.2s;
  }
  
  .myBtnBlue:active {
    background-color: #9db1cc; /* Even darker for active/click */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Optional: inner shadow to simulate a pressed effect */
  }


  
.flashMessage{
  width: 98%;
  background-color: #f1c40f;
  border: 1px solid #d4ac0d;
  color: #000000;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  /* margin-bottom: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.flashMessageLeftDiv{
  width: 50%;
}

.closeButtonFlashDiv{
  width: 50%;
  display: flex;
  justify-content: flex-end;
  font-size: large;
}

.closeButtonFlash{
  font-weight: bold;
}


/*****************************
OVERVIEW PAGE
*****************************/


.flashRowGreen{

}


#main-header{
  background-color: #bfbfbf;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 10%;
  padding-left: 2%;
  padding-right: 2%;
}

#mainLinkSection{
  display: flex;
  flex-direction: row;
  width: 50%;
  justify-content: space-between;
}

.top_menu_buttons_active{
  font-size: large;
  color: #999995;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  float: none;
  cursor: pointer;
  text-decoration: underline;
}

.top_menu_buttons_inactive{
  font-size: large;
    color: #333335;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    float: none;
    cursor: pointer;
}

.top_menu_buttons{
  display: inline-block;
    padding-left: 1.5%;
    display: flex;
    align-items: center;
    font-size: large;
    padding-right: 2%;
    padding-left: 2%;
}

#filterBanner{
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 1%;
  margin-bottom: 1%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#filterSelection{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  
}

.controlFilter{
  font-size: large;
  -webkit-text-fill-color: black;
  margin: 1%;
}

#searchIncidents{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  
}

#newIncident{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  /* width: 10%; */
  align-items: center;
}

#makeAvailableButton{
  display: flex;
}

#makeUnavailableButton{
  display: none;
}

/* Basic table styles */
table {
  width: 100%; /* Full-width */
  border-collapse: collapse; /* Collapse borders to ensure borders don't double up */
  table-layout: auto; /* Auto layout */
  font-family: Arial, sans-serif; /* Font style */
  table-layout: fixed;
}

/* Table header styles */
thead th {
  background-color: #f2f2f2; /* Light grey background */
  color: #333; /* Dark text color */
  text-align: left; /* Align text to the left */
  padding: 12px; /* Padding inside header cells */
  border-bottom: 1px solid #ddd; /* Bottom border */
  border-right: 1px solid #ddd; /* Right border for vertical lines */
  font-weight: bold;
}

thead td{
  padding: 8px; /* Padding inside cells */
  border-bottom: 1px solid #ddd; /* Bottom border for each cell */
  border-right: 1px solid #ddd; /* Right border for vertical lines */
  font-weight: bold;
}

/* Table body styles */
tbody td {
  border-bottom: 1px solid #ddd; /* Bottom border for each cell */
  border-right: 1px solid #ddd; /* Right border for vertical lines */
}


/* Remove right border from the last cell in each row to avoid outer border duplication */
th:last-child, td:last-child {
  border-right: none;
}

/* Alternate row coloring */
tbody tr:nth-child(odd) {
  background-color: #f9f9f9; /* Light color for odd rows */
}

tbody tr:nth-child(even) {
  background-color: #eee; /* Slightly darker color for even rows */
}

tbody tr{
  cursor: pointer;
  font-size: small;
}

/* Row hover effect */
tr:hover {
  background-color: #f5f5f5; /* Light grey background on hover */
}

#existingEditableTable tr{
  font-size: small;
}


/* Responsive table */
@media screen and (max-width: 600px) {
  table {
    border: 0;
  }
  table thead {
    display: none;
  }
  table tbody td {
    display: block;
    text-align: right;
  }
  table tbody td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table tbody td:last-child {
    border-bottom: 0;
  }
}



.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  outline: 0;
}

.divClose{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1%;
}

.modalContent {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  height: 80vh;
  width: 90vw;
  overflow: auto;
}

.invisibleColumn{
  display: none;
}

.modalTopSection{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.homeOuterDiv{
  display: flex;
  flex-direction: column;
  border: 2px solid;
  margin-bottom: 3%;
}

.wideHomeOuterDiv{
  display: flex;
  flex-direction: column;
  border: 2px solid;
  margin-bottom: 1%;
}

.colDiv{
  display: flex;
  flex-direction: column;
  width: 31%;
}

.divContent{
  padding: 3%;
  background-color: #ffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.incidentDiv{
  padding: 3%;
  background-color: #ffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.incidentDiv h3{
  font-size: medium;
  margin: 0%;
}

.divContent h1{
  font-size: large;
  margin: 0;
}

.divTitle{
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: lightgrey;
  justify-content: space-between;
}

.divTitle h1{
  font-size: large;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.myBtns-add{
  background-color: blue;
  border: blue;
  border-radius: 5px;
  color: white;
}

.myBtns-expand{
  background-color: grey;
  border: grey;
  border-radius: 5px;
  color: white;
}

#addNoteButtonDiv{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-content: center;
  margin: 1%;
}

.myBtns-add{
  background-color: blue;
  border: blue;
  border-radius: 5px;
  color: white;
}

.myBtns-expand{
  background-color: grey;
  border: grey;
  border-radius: 5px;
  color: white;
}

#addNoteButtonDiv{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-content: center;
  margin: 1%;
}

.timeInputClass::-webkit-calendar-picker-indicator {
  display: none;
}

.timeInputClass{
  width: 93%;
}

.callSignInput{
  width: 87%;
}

.incindentDetailSectionOpener{
  display: flex;
}

.incindentDetailSectionCloser{
  display: none;
}


/**************************
IMAGE SECTION
**************************/

.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.thumbnail-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

#imageModal1{
      /* top: 0; */
      position: fixed;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      overflow: scroll;
      /* height: 100%; */
      width: 100%;
      height: auto;
      z-index: 5;
}
#modalImage{
  width: 80%;
}


/**************************
CALL WINDOW
**************************/

.draggableCall {
  width: 500px;
  position: fixed; /* Change to fixed to keep the position relative to the viewport */
  top: 50px;
  left: 50px;
  background-color: white;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
  z-index: 1000; /* Ensure it stays on top of other content */
}

.minimized {
  height: 40px;
  width: 200px;
  bottom: 20px !important;
  left: 20px !important;
  top: auto !important;
  cursor: pointer !important;
  overflow: hidden; /* Hide inner content when minimized */
}

.shrinkMargin{
  margin-top: 0% !important;
}
.shrinkPadding{
  padding: 3% !important;
}

.handle {
  cursor: move;
  background-color: #f0f0f0;
  padding: 10px;
  color: black;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#minimiseCallButton {
  width: 10%;
  padding: 0px;
  margin: 0%;
  float: right;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

#callContentDiv {
  padding: 2%;
  text-align: center;
  display: flex;
  flex-direction: column;
}

button {
  margin: 10px;
  padding: 5px 10px;
}

#callActionButtons{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

#answerButton{
  padding: 4px 10px;
}

#declineButton{
  padding: 4px 10px;
}

#addCallerMedicalRecords{
  padding: 4px 10px;
  font-size: medium;
}

#localVideo{
  display: none;
}
#localAudio{
  display: none;
}
#remoteVideo{
  width: 99%;
  display: none;
}
#remoteAudio{
  display: none;
}

.blink {
  animation: blink-animation 1s steps(2, start) infinite;
  -webkit-animation: blink-animation 1s steps(2, start) infinite;
}
@keyframes blink-animation {
  to {
    background-color: #8a1a3b;

  }
}
@-webkit-keyframes blink-animation {
  to {
    background-color: #8a1a3b;
  }
}


@keyframes flashGreen {
  0% { background-color: green; }
  50% { background-color: white; }
  100% { background-color: green; }
}

.flashGreen {
  animation: flashGreen 2s linear infinite;
}

.flash{
  background-color: green !important;
}



.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.video-thumb {
  width: 160px;
  height: 120px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s;
}
.video-thumb:hover {
  transform: scale(1.05);
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
#videoModal{
  display: none;
}

.video-label {
  margin-top: 6px;
  font-size: 0.9em;
  color: #333;
}

.video-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}