@font-face {
    font-family: "Roboto";
    src: url("roboto/Roboto-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Roboto italic */

@font-face {
    font-family: "Roboto";
    src: url('roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* Roboto bold */

@font-face {
    font-family: "Roboto";
    src: url('roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

*,*:before,*:after{
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0em;
    
    position: relative;
    padding: 0em;
    
    background: #FEFEFE;
    
    color: #323232;
    font-family: Roboto;
    font-size: 16px;
    
	scroll-behavior: smooth;
}

#wave-container {
    width: 100vw;
    height: 20vh;
    position: relative;
}

#wave1 {
    width: 100%;
    height: 70%;
    
    position: absolute;
    top: 0;
    left: 0;
    
    background: url('../images/ic_wave.svg'); 
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
}

#wave2 {
    width: 100%;
    height: 90%;
    
    position: absolute;
    top: 0;
    left: 0;
    
    background: url('../images/ic_wave_2.svg'); 
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
}

#wave3 {
    width: 100%;
    height: 100%;
    
    position: absolute;
    top: 0;
    left: 0;
    
    background: url('../images/ic_wave_3.svg'); 
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
}

#login-header {
    width: 100%;
    height: 40%;
    
    background: #0F75BC;
    
    text-align: center;
}

#login-body {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#login-body table {
    width: 30em;
    margin-top: .5em;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    
    border-collapse: collapse;
}

#login-title {
    margin-top: 0em;
    
    color: #0F75BC;
    text-align: center;
}

#navbar {
    width: 100%;
    height: 3.5em;
    
    position: fixed;
    top: 0em;
    padding: .5em;
    
    background-color: #FEFEFE;
    box-shadow: 0em .15em .15em rgba(0, 0, 0, .25);
    
    z-index: 1;
}

#navbar-logo{
    display: inline-block;
    
    margin-left: 48%;
}

#navbar-logo img{    
    height: 2.5em;
}

#navbar-right {
    margin-right: 1em;
    
    float: right;
    
    line-height: 2.5em;
}

#navbar-user-name{
    display: inline-block;
    
    vertical-align: top;
}

#navbar-user-profile {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    margin-left: .5em;
    margin-right: .8em;
    
    border-radius: 50%;
    background: #0F75BC;
    
    cursor: pointer;
    
    background-size: cover;
    
    transition: background .4s, filter .4s;
}

#navbar-user-profile:hover {
    filter: brightness(50%);
}

#navbar-user-dropdown {
    display: none;
    min-width: 12em;
    
    position: absolute;
    top: 100%;
    right: 2.5em;
    
    background-color: #FEFEFE;
    box-shadow: 0em .15em .15em rgba(0, 0, 0, .25);
    z-index: 50;
}

#navbar-user-dropdown a {
    text-decoration: none;
}

#navbar-user-dropdown-user-photo {
    width: 8em;
    height: 8em;
    margin: auto;
    
    border-radius: 50%;
    background: #0F75BC;
    
    cursor: pointer;
}

.navbar-dropdown-child {
    display: block;
    padding: 1em;
    
    border-bottom: .1em solid #0F75BC;
    
    color: black;
    text-decoration: none;
    font-size: .75em;
    line-height: 1.25em;
    
    cursor: pointer;
    
    transition: background .4s;
}

.navbar-dropdown-child:last-of-type {
    border-bottom: 0em;
}

.navbar-dropdown-child:hover {
    background-color: #EBECEC;
    
    color: inherit;
}

#sidebar {
    width: 15%;
    height: 100vh;
    
    position: fixed;
    top: 0em;
    left: 0em;
    z-index: 98;
    
    background: #0F75BC;
    
    text-align: center;
    
    overflow-y: auto;
    
    transition: left .4s, right .4s;
}

.sidebar-collapse {
    left: calc(-15% + 3em)!important;
}

#sidebar-burger {
    position: fixed;
    top: .5em;
    left: calc(15% - 1.2em);
    
    color: #FEFEFE;
    font-size: 1.8em;
    
    cursor: pointer;
    
    z-index: 99;
    
    transition: left .4s, right .4s;
}

.sidebar-burger-collapse {
    left: .4em!important;
}

#sidebar-header {
	width: calc(100% - 1em);
    margin-bottom: .5em;
    margin-left: .5em;
    margin-right: .5em;
    
    padding-left: .5em;
    padding-right: .5em;
    
    border-bottom: .1em solid #FEFEFE;
    
    color: #FEFEFE;
	text-align : left;
    line-height: 3.5em;
}

.sidebar-button {
    width: 100%;
    
    color: #FEFEFE;
    text-align: left;
    line-height: 3em;
    font-size: .9em;
    text-decoration: none;
    
    cursor: pointer;
    user-select: none;
}

.sidebar-button > div {
    position: relative;
    padding-left: 1em;
    padding-right: 1em;
    
    text-decoration: none;
    transition: background .4s, color .4s;
}

a.sidebar-button {
    text-decoration: none;
}

.sidebar-button i {
    padding-right: 1em;
}

.sidebar-button:hover > div {
    color: #0F75BC;
    background: #FEFEFE;
    text-decoration: none;
}

.sidebar-button-arrow {
    position: absolute;
    top: 1em;
    right: 1em;
}

.sidebar-button-child {
    display: none;
    
    background: #0B588D;
    
    cursor: pointer;
    user-select: none
}

#sidebar-footer {
    width: 100%;
    
    position: absolute;
    bottom: 0px;
    
    background: #0F75BC;
    
    color: #FEFEFE;
    text-align: center;
}

#sidebar-footer img {
	max-width: 50%;
    height: auto;
    margin-bottom: 1em;
}

#content {
    width: 85%;
    
    position: absolute;
    top: 3.5em;
    left: 15%;
    padding: 2em;
    
    transition: left .4s, width .4s;
}

.content-expand {
    width: calc(100% - 3em)!important;
    
    left: 3em!important;
}

.content-container {
    width: 100%;
    
    padding: 1em;
    
    border-top: .35em solid #0F75BC;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    box-shadow: 0em .15em .15em rgba(0, 0, 0, .25);
}

.content-container table th, .content-container table td {
    padding: .2em;
}

.content-tabs {
    clear: both;
    
    background-color: #FEFEFE;
}

.content-tabs-link {
    float: left;
    padding: .5em 1.5em;
    
    background: #FEFEFE;
    border: .2em solid #0F75BC;
    border-bottom: 0em;
    border-right: 0em;
    
    font-size: .9em;
    text-decoration: none;
    
    cursor: pointer;
    
    transition: background .4s, color .4s;
}

.content-tabs-link:first-of-type {
    border-top-left-radius: .4em;
}

.content-tabs-link:last-of-type {
    border-right: .2em solid #0F75BC;
    border-top-right-radius: .4em;
}

.content-tabs-link:hover {
    background-color: #0F75BC;
    color: #FEFEFE;
}

.content-tabs-link.active {
    background-color: #0F75BC;
    color: #FEFEFE;
}

#content-user-photo {
    width: 6em;
    height: 6em;
    margin: auto;
    
    border-radius: 50%;
    background: #0F75BC;
    
    cursor: pointer;
}

.table-vsm {
    flex: 1;
    border-collapse: collapse;
    height: 30px;
}
.table-vsm-vitals {
    /*flex: 1;*/
    display: flex;
    justify-content: flex-start;
    border-collapse: collapse;
    font-size: 12px;
}
.table-vsm th {
    /*width: 150px;*/
    padding: 1em;
    color: #fff;
}
.table-vsm-vitals th {
    /*width: 150px;*/
    width: 13em;
    padding: 1em;
    color: #fff;
}
.table-vsm td {
    padding: .5em;
}

.color-vsm-critical {
    color: #EF2B15;
}

.color-vsm-high-low {
    color: #E2923E;
}

.color-vsm-normal {
    color: #3BAA42;
}
.table-risky-readings td.missing-not-empty,
.table-missing-readings td.missing-not-empty {
    cursor: pointer;
}

#table-high-risk tr:not(:last-of-type) {
    border-bottom: .1px solid #EF2B15;
}

#table-risky tr:not(:last-of-type) {
    border-bottom: .1px solid #E2923E;
}

#table-missing-yesterday tr:not(:last-of-type) {
    border-bottom: .1px solid #392A14;
}

#table-pending-today tr:not(:last-of-type) {
    border-bottom: .1px solid #123F19;
}

.threshold {
    height: 4.5vh;
    padding: 15px; 
}

.threshold-critical-down {
    background: rgb(255,167,0);
    background: linear-gradient(0deg, rgba(255,167,0,1) 0%, rgba(255,0,0,1) 100%);
}

.threshold-risky-down {
    background: rgb(0,255,0);
    background: linear-gradient(0deg, rgba(0,255,0,1) 0%, rgba(255,167,0,1) 100%);
}

.threshold-normal {
    background: #00ff00;
}

.threshold-risky-up {
    background: rgb(255,167,0);
    background: linear-gradient(0deg, rgba(255,167,0,1) 0%, rgba(0,255,0,1) 100%);
}

.threshold-critical-up {
    background: rgb(255,0,0);
    background: linear-gradient(0deg, rgba(255,0,0,1) 0%, rgba(255,167,0,1) 100%); 
}

.video-container {
    height: auto;
    
    background: black;
}

.video-container-remote {
    width: 100%; 
    min-height: 50%;
    max-height: 70vh;
}

.video-container-local {
    width: 20%; 
    
    position: absolute; 
    top: 1em; 
    right: 1em;
}

.consultation-button-container {
    display: flex;
}

.consultation-button {
    flex: 1;
    padding: 1.5em;
    
    color: #FFFF;
    border-right: .1em solid #838383;
    
    cursor: pointer;
    
    transition: background .4s, border .4s, color .4s;
}

.consultation-button-inactive {
    background: #838383;

    cursor: default;
}

.consultation-button-active {
    background: #0f75bc;
}

.consultation-button-accept {
    background: #009700;
    border: .18em solid #009700;
    
    cursor: pointer;
}

.consultation-button-reject {
    background: #ff4d4d;
    border: .18em solid #ff4d4d;
    
    cursor: default;
}

.consultation-button-hangup {
    background: #ff4d4d;
}

.consultation-button-active:hover, .consultation-button-hangup:hover {
    background: #094975;
}

.consultation-button-accept:hover, .consultation-button-reject:hover {
    background: #696969;
    border: .18em solid #696969;
    color: #fff;
}

.consultation-button:last-of-type {
    border: 0em;
}

.loading {
    height: 2em;
    width: 2em;
    margin: auto;
    
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
    z-index: 999;
    overflow: visible;
}

.loading:before {
    display: block;
    width: 100%;
    height: 100%;
    
    position: fixed;
    top: 0;
    left: 0;
    
    content: '';
    background-color: rgba(0,0,0,.8);
}

.loading-dots {
    display: inline-block;
    width: 2.85em;
    height: 2.85em;
    
    position: relative;
}

.loading-dots div {
    width: .46em;
    height: .46em;
    
    position: absolute;
    top: 1.18em;
    
    background: #f1f1f1;
    border-radius: 50%;
    
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lazy-loading-dots div {
    background: #0f75bc!important;
}

.loading-dots div:nth-child(1) {
    left: .285em;
    
    animation: loading-dots1 .6s infinite;
}

.loading-dots div:nth-child(2) {
    left: .285em;
    
    animation: loading-dots2 .6s infinite;
}

.loading-dots div:nth-child(3) {
    left: 1.14em;
    
    animation: loading-dots2 .6s infinite;
}

.loading-dots div:nth-child(4) {
    left: 1.995em;
    
    animation: loading-dots3 .6s infinite;
};

@keyframes loading-dots1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loading-dots3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes loading-dots2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(.85em, 0);
    }
}

::-webkit-scrollbar {
    width: .5em;
}

::-webkit-scrollbar-track {
    background: #FEFEFE; 
}

::-webkit-scrollbar-thumb {
    background: #0B588D; 
}

::-webkit-scrollbar-thumb:hover {
    background: #999; 
}
 /*some of these classNames are used in RModal.css which is overridden */
 /*was previously .modal */
.modal2 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    z-index: 99; /* Sit on top */
    
    overflow: auto; /* Enable scroll if needed */
    
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/*was previously .modal-white */
.modal-white2 {
    display: block; /* Hidden by default */
    width: 50%; /* Full width */
    min-height: 50%; /* Full height */
    max-height: 90%;
    
    position: fixed; /* Stay in place */
    top: 50%;
    left: 50%;
    padding: 20px;
    
    background-color: rgb(255,255,255); /* Fallback color */
    border-radius: 15px;
    transform: translate(-50%, -50%);
    z-index: 100; /* Sit on top */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    
    overflow: auto; /* Enable scroll if needed */
}
/* The Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* pop up */
#notification {
    position: absolute;
    top: 0;
    right: 0;
}
.toast-color {
    color: white;
    background-color: #33b5e5;
}