*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-appearance: none;
    border-radius: 5px;
}
body {
    padding:30px 15px 0px 15px;
    background-color: #EFEFF4;
}
.wrapper-trucks{
    display: block;
    width: 100%;
    height: calc(100vh - 20px);
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}
.topNav {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    margin-bottom: 40px;
}
.topNav h1 {
    font-size: 35px;
    color: #484848;
}
.topNav #filter {
    margin-left: auto;
    margin-right: 0px;
    display: grid;
    grid-template-columns: 40% 40% auto;
    max-width: 500px;
    gap: 5px;
}
.topNav select {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    height: 100%;

    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: none;
}
.topNav input[type="date"]{
    border:none;
    padding-right: 10px;
    text-align: center;
    color: gray;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.topNav button {
    background-color: rgb(0, 122, 255);
    border: none;
    color: white;
    font-size: 17px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.topNav button:hover{
    color: lightgray;
}

.wrapper-table {
    display: grid;
    grid-template-columns: 22% 33% 12.5% 12.5% 10% 10%;
    text-align: center;
    min-width: 900px;
    border-radius: 0px;
    background-color: gray !important;
}
.item {
    padding-top: 5px;
    padding-bottom: 5px;
    
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-radius: 0px;

    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}
.lastRight {
    border-right: 1px solid lightgray;
}

.item a {
    text-decoration: none;
    color: black;
}
.row {
    display: grid;
    grid-template-columns: 22% 33% 12.5% 12.5% 10% 10%;
    text-align: center;
    min-width: 900px;
    background-color: white;
}
.row:hover{
    background-color: lightgray !important;
}

.header {
    height: 40px;
    font-size: 18px;
    padding-bottom: 5px;
    padding-top: 5px;
    color: white;
    border: none;
    border-right: 1px solid white;
    background-color: #484848;
}
.edit {
    padding-left: 25%;
    padding-right: 25%;
    display: grid;
    grid-template-columns: 50% 50%;
    border-right: 1px solid lightgray;
}

#btnEdit, #btnGarbage {
    color: gray;
}
#btnEdit:hover {
    color: rgb(0, 122, 255);
}
#btnGarbage:hover {
    color: red;
}





.overlay {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #48484848;
    z-index: 1;
}


.deletePopUp{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    min-width:350px;
    max-width: 600px;
    height: 530px;
    background-color: white;
    border-radius: 20px;
    z-index: 999;

    text-align: center;
    padding: 20px;
}
.updatePopUp{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    min-width:350px;
    max-width: 600px;
    height: 530px;
    background-color: white;
    border-radius: 20px;
    z-index: 999;

    text-align: center;
    padding: 20px;
}



.iconPopUp {
    margin: 15px;
}
.iconPopUp #deleteIcon {
    color: red;
    font-size:60px;
}

.iconPopUp #updateIcon {
    color: rgb(0, 122, 255);
    font-size:60px;
}


.deletePopUp h1{
    font-size: 25px;
    color: gray;
    font-weight: 300;
    text-align: center;
    margin-bottom: 15px;
}
.updatePopUp h1 {
    font-size: 25px;
    color: gray;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}
#delete-status {
    font-size: 18px;
    font-weight: bold;
}
#delete-company {
    font-size: 16px;
}


.deletePopUp p{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    text-align: center;
    color: gray;
    font-size: 15px;
    font-weight: 400;
    max-width: 300px;
}
.updatePopUp p {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    text-align: center;
    color: gray;
    font-size: 15px;
    font-weight: 400;
    max-width: 300px;
}
.dateTime {
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
}

.actionBtns {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: grid;
    width: 250px;
    grid-template-columns: auto auto;
    gap: 5px;
}
#btnCancel {
    width: 90%;
    height: 40px;
    background-color: lightgray;
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    border:2px solid transparent;
}
#btnDelete{
    width: 90%;
    height: 40px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    border: 2px solid transparent;
}
#btnUpdate{
    width: 90%;
    height: 40px;
    background-color: rgb(0, 122, 255);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    border: 2px solid transparent;
}

#btnCancel:hover{
    background-color: white;
    border: 2px solid gray;
    color: gray;
}
#btnDelete:hover{
    background-color: white;
    border: 2px solid red;
    color: red;
}
#btnUpdate:hover{
    background-color: white;
    border: 2px solid rgb(0, 122, 255);
    color: rgb(0, 122, 255);
}

.hidden { display: none;}



.updatePopUp input, select {
    display: block;
    height: 40px;
    width: 290px;
    border: 1px solid lightgray;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px; 
    color: gray;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    outline: none;
}
.updatePopUp input {
    padding-right: 5px;
}

.imagesPopUp{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 600px;
    width: 600px;
    background-color: white;
    border-radius: 20px;
    z-index: 1;

    text-align: center;
}
.grid-images {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    width: 90%;
    margin: 20px auto 30px auto;
}
#left { text-align: left;}
#right { text-align: right;}
#images-company {
    font-size: 20px;
    font-weight: bold;
    color: gray;
}
#images-jobsite {
    font-size: 18px;
    font-weight: 500;
    color: gray;
}
#images-date, #images-time {
    font-size: 18px;
    font-weight: 400;
    color: gray;
}
#images-status {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 15px;
    font-size: 18px;
    font-weight: 400;
    color: gray;
}

.imagesPopUp iframe {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    border: none;
    width: 100%;
    height: 340px;
    z-index: 999;
}
#iframeImage1 { display: block;}
#iframeImage2 { display: none;}
#iframeImage3 { display: none;}

.btnNextPrev {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%);
    display: grid;
    grid-template-columns: 50% 50%;
    width: 95%;
    height: 50px;
    margin-top: 10px;
}
.btnNextPrev button {
    display: block;
    height: 50px;
    text-align: center;
    color: rgb(0, 122, 255);
    border: none;
    background-color: transparent;
    font-size: 20px;
}
#btn-left {
    visibility: hidden;
    margin-left: 0px;
    margin-right: auto;
}
#btn-right {
    margin-left: auto;
    margin-right: 0px;
}
.btnNextPrev button:hover{
    color: rgb(15, 104, 199);
}





.lds-spinner {
    color: lightgray;
    position: absolute;
    width: 5px;
    height: 5px;
    top: 40%;
    left: 45%;
    z-index: 2;
  }
  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }
  .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: lightgray;
  }
  .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
  @keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  


  .filterPopUp {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-width:550px;
    max-width: 800px;
    height: 500px;
    background-color: white;
    border-radius: 20px;
    z-index: 999;

    text-align: center;
    padding: 5px;
  }

  .filterPopUp iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .wrapper-filter {

  }
  .filter-wrapper-table {
    display: grid;
    grid-template-columns: 22% 33% 15% 15% 15%;
    text-align: center;
    border-radius: 0px;
    background-color: gray !important;
}

  #screen1 {
    display: block;
  }
  #screen2 {
    display: none;
  }
  #screen3 {
    display: none;
  }
  #screen4 {
    display: none;
  }

  .filter-screen {
    text-align: center;
  }
  .btnBack {
    display: block;
    margin-left: 0px;
    margin-right: auto;
    border: none;
    background: transparent;
    color: rgb(0, 122, 255);
    font-size: 20px;
    margin-bottom: 0px;
  }

  .filterRow {
    display: grid;
    grid-template-columns: 22% 33% 15% 15% 15%;
    text-align: center;
    background-color: white;
}
.filterRow:hover{
    background-color: lightgray !important;
}


.filter-screen iframe {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    width: 500px;
    height: 300px;
    border: none;
    z-index: 999;
}

#nothingFound {
    color: lightgray;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    margin-top: 20%;
}



#viewData {
    width: 600px;
    height: 600px;
    border: none;
    overflow: auto;
}