﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto/roboto-v27-latin-regular.woff") format("woff"), 
         url("../fonts/roboto/roboto-v27-latin-regular.woff2") format("woff2"), 
         url("../fonts/roboto/roboto-v27-latin-regular.ttf") format("truetype");
}

html, body {
    font-family: "Roboto";
    letter-spacing: .4px;
    color: #777;
    background-color: #f3f5f7;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 40px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.intro {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.72;
    letter-spacing: 0.4px;
    color: #2f2f2f;
    margin: 10px 0 10px 0;
}

.section-header {
    background-color: #f6f6f6;
    margin: 0px;
    height: 79px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    border-width: 1px 0px 0px 1px;
    border-style: solid;
    border-color: #d0d0d0;
}

.tab-container {
    background-color: #ebebeb;
}

.main-content {
    height: 100%;
    width: 100%;
    padding: 20px;
    overflow: auto;
}

.table #interval {
    width: 70px;
    margin-right: 1em;
}

.table label {
    margin-bottom: 0;
}

.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.config-edit-form {
    max-width: 550px;
    padding: 20px;
}

.client-alert {
    -webkit-mask: url(/images/client-alert-call.svg) no-repeat center;
}

.client-in-bathroom {
    -webkit-mask: url(/images/client-in-bathroom.svg) no-repeat center;
}

.client-in-bed {
    -webkit-mask: url(/images/client-in-bed.svg) no-repeat center;
}

.client-in-room {
    -webkit-mask: url(/images/client-in-room.svg) no-repeat center;
}

.client-inactivity {
    -webkit-mask: url(/images/client-inactivity.svg) no-repeat center;
}

.client-inactive {
    -webkit-mask: url(/images/client-inactivity.svg) no-repeat center;
}

.client-out-of-room {
    -webkit-mask: url(/images/client-out-of-room.svg) no-repeat center;
}

.client-in-bed-with-second-person-in-room {
    -webkit-mask: url(/images/client-in-bed-with-second-person-in-room.svg) no-repeat center;
}

.client-visitor-detected {
    -webkit-mask: url(/images/client-in-bed-with-second-person-in-room.svg) no-repeat center;
}

.client-unknown {
    -webkit-mask: url(/images/client-out-of-room.svg) no-repeat center;
}

.client-off {
    -webkit-mask: url(/images/client-off.svg) no-repeat center;
}

.client-out-of-bed {
    -webkit-mask: url(/images/client-out-of-bed.svg) no-repeat center;
}

.client-in-chair {
    -webkit-mask: url(/images/client-in-chair.svg) no-repeat center;
}

.client-alert-bell {
    -webkit-mask: url(/images/client-alert-bell.svg) no-repeat center;
}

@media only screen and (max-width: 1000px) {
    .client-name {
        text-align: center;
    }
}

@media only screen and (max-width: 400px) {
    .status > .svg {
        display: none;
    }
}