*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding: 5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-appearance: none;
}
body {
    background-color: aliceblue;
    padding-top: 2px;
}


input[type="date"]::before {
	color: #999999;
	content: attr(placeholder);
    text-align: center;
}
input[type="date"] {
    width: 100%;
    text-align: leftr;
}

input[type="date"]:focus,
input[type="date"]:valid {
	color: black;
    text-align: center;
}
input[type="date"]:focus::before,
input[type="date"]:valid::before {
	content: "" !important;
}

.wrapper {
    display: grid;
    grid-template-columns: auto 300px;
    height: 98vh;
    width: 99%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
}
.payroll {
    /* border: 1px solid black; */
    border-left: none;
    background-color: white;
    margin-bottom: 5px;
    border: 1px solid lightgray;
    padding-top: 15px;
    border-radius: 10px;
}
.hours {
    /* border: 1px solid black; */
    overflow-y: auto;
}
.hours::-webkit-scrollbar {
    display: none;
  }
.content {
}
.filter{
    display: grid;
    width: 100%;
    grid-template-columns: 200px 120px 120px 60px 80px auto;
}
.filter input, select {
    text-align: center;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid lightgray;
}


.update-popup {
    background-color: white;
    position: fixed;
    width: 500px;
    height: 320px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid lightgray;
    border-radius: 15px;
    box-shadow: 0px 0px 0px 2000px rgba(0, 0, 0, 0.238);
    padding: 10px;
    display: none;
}
.update-popup h1 {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 90%;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
}
.update-popup input {
    text-align: center;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid lightgray;
}
.update-popup input[type="submit"]{
    display: block;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: none;
    background-color: rgb(0, 122, 255);
    color: white;
    height: 40px;
    border-radius: 10px;
    font-size: 15px;
}
.update-popup a {
    color: gray;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
}
.password-popup{
    display: block;
}
.password-popup input {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    width: 60%;
    border: 1px solid lightgray;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
}
.password-popup button {
    display: block;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    background-color: rgb(0, 122, 255);
    color: white;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
    border: none;
    font-size: 15px;
}
.updateFields {
    display: none;
}

.btn-submit{
    background-color: rgb(0, 122, 255) !important;
    color: white;
    font-size: 17px;
    max-width: 80px;
    text-align: center;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: none;
}
.btn-submit :hover {
    font-size: 20px;
}

.filterTotals{
    height: 40px;
    margin-top: -2.5px;
}
.filterTotalsHours {
    display: grid;
    grid-template-columns: auto auto;
    font-size: 15px;
    height: 20px;
    padding: 0px;
    width: 180px;
    text-align: center;
}
#nameFilterTotals {
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    padding: 0px;
    width: 180px;
}
#btnRefresh {
    margin-top: 5px;
    background-color: rgb(0, 122, 255) !important;
    color: white;
    font-size: 25px;
    text-align: center;
    height: 40px;
    width: 55px;
    border-radius: 5px;
    border: none;
}
#btnRefresh:hover {
    transform: scaleX(-1);
}

.row {
    display: grid;
    grid-template-columns: auto 20% 20% 20% 12.5% 12.5% 80px;
    /* border: 1px solid black; */
    margin: 5px;
    text-align: center;
    background-color: white;
    border: 1px solid lightgray;
    margin-top: 5px;
    border-radius: 5px;
}
.row:hover {
    /* border:1px solid rgb(0, 122, 255); */
    background-color: lightgray;
}
.row a {
    font-size: 20px;
    color: gray;
}
.row a:hover {
    color:rgb(0, 122, 255);
}
#topRow {
    background-color: white;
    color: black !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
    font-size: 0.9em;
}
.payroll input[type="date"], select {
    text-align: center;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid lightgray;
}
.payroll h1 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 400;
}

.employeeList {
    margin-bottom: 20px;
    height: 300px;
    width: 100%;
    overflow-y: scroll;
    border: 1px solid lightgray;
    border-radius: 10px;

}
.employeeList::-webkit-scrollbar {
    display: none;
  }

.employee {
    display: block;
    width: 100%;
    height: 45px;
    background-color: transparent;
    border: 1px solid lightgray;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}
.employee:hover { border: 1px solid rgb(0, 122, 255); }
.grid-employee {
    display: grid;
    grid-template-columns: 40px auto;
    line-height: 25px;
}
.check {
    color: transparent;
    font-size: 20px;
    margin-top: -5px;
}


.calendarFrom, .calendarTo {
    /* border: 1px solid black; */
    margin-top: 5px;
}
.calendarFrom input, .calendarTo input{
    width: 100%;
    margin-bottom: 5px;
}

.iframeSheet {
    display: none;
}

.save-send {
    display: grid;
    grid-template-columns: auto 80px;
    height: 50px;
    line-height: 25px;
    font-size: 18px;
    margin-top: 15px;
    padding-left: 10px;
}

.saveCredentials {
    width: 60%;
    height: 35px;
    line-height: 35px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: auto 60px;
    font-size: 18px;
    color: gray;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #0fa30a;
}
input:focus + .slider {
    box-shadow: 0 0 1px #0fa30a;
}
input:checked + .slider:before {
    -webkit-transform: translateX(27.5px);
    -ms-transform: translateX(27.5px);
    transform: translateX(27.5px);
}
.slider.round {
    border-radius: 30px;
}
.slider.round:before {
    border-radius: 50%;
}



.btnGeneratePayroll button {
    margin-top: 20px;
    text-align: center;
    height: 40px;
    width: 270px;
    background-color: rgb(0, 122, 255) !important;
    color: white;
    text-align: center;
    height: 40px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
}

.wrapper {
    
}

/* Sheet styling */
.header {
    display:  grid;
    grid-template-columns: 200px auto;
    border-bottom: 1px solid lightgray;
}
.header img {
    height: 100px;
}
.right p {
    padding: 0px;
    margin-bottom: 4px;
    text-align: right;
    font-size: 12px;
}
.title {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.dates p{
    display: inline;
    font-size: 20px;
    margin-left: 5%;
}

.tableTotals {
    display: block;
    width: 100%;
    margin-top: 20px;
}
.tableTotals table {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    text-align: center;
    border-collapse: collapse;
}
.tableTotals th {
    background-color: gray;
    color: white;
}
.tableTotals tr {
    border: 1px solid lightgray;
}
.tableTotals th {
    height: 40px;
    border: 1px solid white;
}
.tableTotals td {
    height: 40px;
    border: 1px solid lightgray;
}