:root {
    --sidebarBG: #161F3D;
    --sidebarI: #6CAEA8; 
    --inactive: #F5F5F5;
    --contentBG: #F5F5F5;
    --alertDue: #ff0;
    --alertOverdue: #f00;
    --alertNew: var(--sidebarI);
    --complete: green;
    --inProgress: orange;
    --notStarted: red;
  }

#root {
    height:100%;
}

html, body {
    height:100%;
    background-color: var(--contentBG);
  }

.textCentre {
    text-align: center;
}

.textMiddle {
    vertical-align: middle;
}

.bold {
    font-weight:700;
}

/* DASHBOARD HEADER */

#sidebar {
    background-color: var(--sidebarBG);
}

.sidebar .logo {
    font-size: 2em;
    background-color: var(--sidebarI);
    color:#fff;
    text-align: center;
    /* border-radius: 50%; */
    padding-top: 2vh;
    margin-top: 5vh;
    font-weight:600;
}

.logo:hover {
    color: var(--contentBG);
}

.sidebar i {
    padding-top:5vh;
    text-align: center;
}

.iconActive {
    color: var(--sidebarI);
}

.iconInactive {
    color: var(--inactive);
}

.iconInactive:hover {
    color: var(--sidebarI);

}

.content {
    background-color: var(--contentBG);
}

#siteSelector button, #siteSelector a{
    color: var(--sidebarBG);
    font-weight: 500;
    font-size: 1.75em;
}

#siteSelectorButton {
    border:none;
    padding:0;
}

#printIcon  {
    display: flex;
    align-items: center;
    justify-content: right;
}

#printIcon i {
    color: var(--sidebarBG)
}

#search {
    align-items: center;
    justify-content: center;
    color: var(--sidebarBG);
}

#search input {
    height: 2em;
    border:none;
    background-color: var(--contentBG);
    font-size: 1.25em;
    width:100%;
}

/* DASHBOARD OVERVIEW */

.dashboardPageTitle {
    font-weight:800;
    color: var(--sidebarBG)
}

.headlineMetric {
    border:none;
    border-radius: 20px;
    height:20vh;
    text-align: center;
    background-color: #fff;
    position:relative;
    margin-left:1vh;
    margin-right:1vh;
}

.headlineMetric h4 {
    text-transform: capitalize;
    font-size:1.2em;
    font-weight:700;
}

.headlineMetricValue, .headlineMetricValueLink {
    font-size:3em;
    font-weight: 700;
    text-decoration: none;
    color: var(--sidebarBG);
}

.headlineMetricValueLink:hover {
    color: var(--sidebarI);
}

.headlineMetricExpand {
    position:absolute;
    bottom:0;
    right:0;
}

.cleanersOverview, .alertsOverview {
    height:50vh;
    background-color: #fff;
    margin-left:1vh;
    margin-right:1vh;
    border-radius:20px;
    /* overflow-y: scroll; */
}

.cleanersOverview h4, .alertsOverview h4 {
    color: var(--sidebarBG);
    font-weight:900;
    text-transform: capitalize;
    font-size:1.5em;
    margin-bottom: 10px;
}

.cleanersListOverview {
    list-style: none;
    padding:0;
    color: var(--sidebarBG);
    font-weight:700;
    height:42vh;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

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

.cleanersListOverview li {
    padding-top:1vh;
    font-size: 1.1em;
}

.cleanersListOverviewSupervisor {
    font-weight:900;
}

.cleanersListOverviewSupervisor:after {
    content: " (Supervisor)";
}

.alertsOverviewContainer {
    overflow-y:scroll;
    height:42vh;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.alertsOverviewContainer::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.alertOverview {
    background-color:var(--contentBG);
    height:20vh;
    border-radius: 20px;
    font-size:1.2em;
    font-weight:600;
    position:relative;
}

.alertOverview span {
    display:flex;
    padding:1vh;
}

.alertOverviewTitle {
    flex-grow: 1;
}

.alertOverviewUnit {
    font-size:1.5em;
    font-weight:800;
}

.alertOverview.due {
    border:2px solid var(--alertDue);
}

.alertOverview.overdue {
    border:2px solid var(--alertOverdue);
}

.alertOverview.new {
    border:2px solid var(--alertNew);
    text-align:center;
    padding: 1vh;
}

.createNewAlertOverview {
    font-size:2em;
    text-decoration: none;
    color:var(--sidebarBG);
}

.createNewAlertOverview:hover {
    color:var(--sidebarI);
    text-decoration:none;
}

.maximise {
    position:absolute;
    top:0;
    right:0;
    margin:1vh;
}

.maximise a {
    color:var(--sidebarBG);
    padding:0;
    margin:0;
    display:inline;
}

.maximise a:hover {
    color: var(--sidebarI);
}

/* DASHBOARD: UNITS */

.listOfUnits {
    list-style: none;
    padding:0;
    background-color: #fff;
    font-size:1.5em;
    border-radius:10px;
}

.listContent {
    height: 70vh;
    overflow-y:scroll;
    overflow-x: hidden;
}

.headerRow {
    background-color: var(--sidebarBG);
    color:#fff;
    border-radius: 10px;
    width:100%;
}

.unitItem {
    width:100%;
    border-radius: 10px;
    background-color: var(--contentBG);
    text-transform: capitalize;
    border: 2px solid  var(--sidebarBG)
}

/* .unitItem.complete {
    border:2px solid var(--complete);
}

.unitItem.inProgress {
    border:2px solid var(--inProgress);
}

.unitItem.notStarted {
    border:2px solid var(--notStarted);
} */


/* DASHBOARD: ALERTS */

button {
    border:none;
    background:none;
}

.btnAlert {
    color: var(--sidebarBG);
}

.btnAlert:hover {
    text-decoration: none;
    color: var(--sidebarI);
}

.modal-content {
    background-color: var(--contentBG);
}

.alertInfoTitle {
    color:var(--sidebarBG);
    font-weight:600;
}

.alertInfoForm {
    text-align: left;
}

.btn-green {
    background-color: var(--sidebarI);
    color: white;
}

.btn-green:hover, .btn-purple:hover {
    color:white;
    opacity: 0.8;
}

.btn-purple {
    background-color: var(--sidebarBG);
    color:white;
}

.alertListNotes {
    text-transform: none;
}

/* LOGIN */

.loginContainer {
    height:100%;
    background-color: var(--contentBG);
}

.loginContainer h1 {
    color: var(--sidebarBG);
    font-weight: 700;
    font-size: 4em;
}

.loginContainer input {
    border-radius: 15px;
    border:2px solid var(--sidebarBG);
    text-align: center;
    font-size:1.5em;
}

.loginContainter input:focus {
    border-radius: 15px;
    border:2px solid var(--sidebarBG);
}

.btn-login {
    background-color: var(--sidebarBG);
    color: white;
    width:100%;
    border-radius:15px;
    font-size: 1.5em;
}

.btn-login:hover {
    background-color: var(--sidebarBG);
    color: white;
    opacity: 0.8;
}

.loginContainer a {
    color: var(--sidebarBG);
    text-transform: capitalize;
    text-decoration: none;
}

.loginContainer a:hover {
    font-weight: 600;
}


/* CLEANING */

.cleaning {
    background-color: var(--contentBG);
    height:100%;
    color: var(--sidebarBG);
    max-width: 750px;
}

.cleaning .header {
    font-weight: 600;
    font-size: 2rem;
}

.cleaning .welcomeMessage {
    font-size:1.5rem;
    font-weight: 600;
}

.cleaningItem {
    border: 3px solid var(--sidebarBG);
    border-radius: 10px;
    position:relative;
}

.cleaningItem .unitName {
    font-size: 1.5em;
    font-weight: 700;
}

.actions {
    position:absolute;
    top:0;
    right:0;
    color: var(--sidebarBG);
}

.pulseCircle {
    height:10px;
    width:10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulsate infinite 1.5s;
}

.redText {
    color: red;
    text-transform: capitalize;
}

.redBG {
    background-color: red;
}

.greenText {
    color: green;
    text-transform: capitalize;
}

.greenBG {
    background-color: green;
}

@keyframes pulsate {
    0% {
        transform: scale(1,1);
        opacity: 1;
    }

    100% {
        transform: scale(1.2,1.2);
        opacity:0;
    }
}

.complete {
    /* border-color: var(--complete); */
    background-color: var(--sidebarI);
}

.inProgress {
    /* border-color: var(--inProgress); */
    background-color: var(--inProgress);
}

.cleaningTaskModal {
    position:fixed;
    top:auto;
    right:auto;
    left:auto;
    bottom:0;
    margin:0;
    max-width: 100%;
    width:100%;
}

.cleaningTaskModalContent {
    background-color: var(--sidebarBG);
    color:white;
}

.cleaningItem > .modal-backdrop {
    opacity: 0 !important;
}

.scrollableContent {
    height: 95%;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.scrollableContent::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.cleaningTaskModalUnitName {
    font-weight:600;
    font-size:1.5em;
    text-transform: capitalize;
}

.cleaningType, .cleaningStatus {
    text-transform: capitalize;
}

.cleaningTypeIcon {
    width: 50%;
}