:root {
  --green: #4CAF50;
  --white: #ffffff;
  --bg: #F5F5F5;
  --error: #D8000C;
  --grey: #555;
  --GNCred: #d54222;
  --GNCgrey: #475a57;
}


.button {
    cursor: pointer;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    width: 125px;
    text-align: center;
}

.Delete {
    width: 10px;
}



#add-user-form {
    margin-top: 20px;
    text-align: center;
}

#new-user-name {
    padding: 5px;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#all_users {
    margin: auto;
}



.Tname {
    width: 200px;
}

.checkInOut {
    text-align: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: rgba(71, 90, 87, 0.75);
  border-radius: 30px;
  transition: all 0.3s;
}
.switch::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius:50%;
  background-color: var(--white);
  top: 2px;
  right: 2px;
  transition: all 0.3s;
}

.checkbox:checked + .switch::after {
  right : 31px;
}
.checkbox:checked + .switch {
  background-color: var(--GNCred);
}

.autorefresh:checked + .switch {
  background-color: var(--GNCred);
}

.checkbox {
  display : none;
}

#loading-image {
    height: 40px;
    width: 40px;
}

.overlay{
    position: absolute;
    left: 0; 
    top: 0; 
    right: 0; 
    bottom: 0;
    z-index: 2;
    background-color: rgba(255,255,255,0.8);
}
.overlay-content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

#error-message {
    display: none;
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: var(--error);
	background-color: #FFBABA;
	background-image: url('https://i.imgur.com/GnyDvKN.png');
}
