﻿* {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #FFF;
    margin: 0;
}

.animated {
    -webkit-transition: all 200ms cubic-bezier(0, 0.19, 0.21, 1.05);
    -moz-transition: all 200ms cubic-bezier(0, 0.19, 0.21, 1.05);
    -ms-transition: all 200ms cubic-bezier(0, 0.19, 0.21, 1.05);
    -o-transition: all 200ms cubic-bezier(0, 0.19, 0.21, 1.05);
    transition: all 200ms cubic-bezier(0, 0.19, 0.21, 1.05);
}

.login-logo {
    margin-left: calc(50% - 150px);
    padding-top: 15px;
    padding-bottom: 25px;
}

.modal-open {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

/* --- HEADER ---*/
.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #008dec;
    color: #FFF;
    height: 50px;
    -webkit-box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.2);
    box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.2);
    z-index: 100;
}

.top-left-button {
    width: 28px;
    height: 28px;
    float: left;
    font-size: 23px;
    padding: 11px;
    text-align: center;
    cursor: pointer;
    padding-left: 30px;
}

    .top-left-button:hover {
        /*background-color: #0063ec;*/
    }

.top-right-button {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 26px;
    padding: 9px 30px 9px 9px;
    color: #FFF;
}

.page-title {
    position: absolute;
    width: calc(100% - 69px - 72px);
    padding-top: 10px;
    line-height: 33px;
    text-align: center;
    text-transform: uppercase;
    margin-left: 69px;
    /* text-indent: -10%; */
}

.left-menu {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #FFF;
    width: calc(40% - 20px);
    padding: 10px;
    height: calc(100% - 20px);
    -webkit-box-shadow: 5px 0 10px 1px rgba(0,0,0,0.2);
    box-shadow: 5px 0 10px 1px rgba(0,0,0,0.2);
    z-index: 100;
}

.left-menu-closed {
    left: -40%;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.menu-top-bar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    background-color: #CCC;
}

.left-menu-title {
    width: calc(100% - 42px - 40px);
    float: right;
    padding: 5px;
    height: 40px;
    line-height: 43px;
    text-transform: uppercase;
}

.menu-content {
    position: absolute;
    width: 100%;
    top: 50px;
    background-color: #E9E9E9;
    overflow-y: auto;
    left: 0;
    height: calc(100% - 42px);
}

    .menu-content ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu-content li {
        margin: 0;
        padding: 15px;
        background-color: #FFF;
        border-bottom: solid 1px #E9E9E9;
    }

        .menu-content li a {
            text-decoration: none;
            color: #000;
        }

.menu-icon {
    width: 32px;
    float: left;
    height: 32px;
    text-align: center;
}

.menu-item {
    width: calc(100% - 37px);
    float: right;
}

/* --- CONTENT ---*/
.main {
    position: absolute;
    top: 50px;
    left: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px - 50px);
    padding: 10px;
    overflow: auto;
    background-color: #E8E8E8;
    font-size: 13px;
    /*-webkit-overflow-scrolling: touch;*/
}

.content {
    width: 1000px;
    margin: 0 auto;
}

.site-section {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    background-color: #FFF;
    border-radius: 10px;
    overflow: auto;
}

h1 {
    font-size: 15px;
    margin: 0;
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
}

.input-row {
    width: 100%;
    margin-bottom: 5px;
    overflow: auto;
}

.label {
    width: 200px;
    padding: 10px;
    float: left;
    text-align: left;
    overflow: auto;
}

.checkbox-label {
    width: calc(100% - 20px - 40px) !important;
}

.input {
    width: calc(100% - 220px - 20px);
    padding: 5px;
    float: left;
}

.checkbox-input {
    width: 35px;
    height: 23px;
    border: solid 1px #CCC;
    float: right;
    margin-top: 5px;
    border-radius: 50px;
    background-color: #E8E8E8;
}

.checkbox-input-1 {
    background-color: #29bf40;
}

.checkbox-value {
    background-color: #FFF;
    width: 23px;
    height: 23px;
    border: solid 1px #CCC;
    border-radius: 50%;
    margin-left: -1px;
    margin-top: -1px;
    cursor: pointer;
}

.checkbox-value-1 {
    margin-left: 11px;
}

.input-no-label {
    width: 100%;
}

input[type=text], input[type=password], input[type=tel], input[type=email] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #C3C3C3;
    outline: none;
}

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #C3C3C3;
    min-height: 150px;
    resize: none;
    outline: none;
}

label {
    width: 100%;
    padding: 5px;
    float: left;
    text-align: left;
    overflow: auto;
    overflow-wrap: break-word;
}

.button {
    min-width: 200px;
    text-align: center;
    border: solid 1px #CCC;
    padding: 10px;
    cursor: pointer;
    background-color: #CCC;
    border-radius: 5px;
    text-transform: uppercase;
}

.single-button {
    width: calc(100% - 22px);
}

.button-green {
    border: solid 1px #006b10;
    background-color: #008915;
    color: #FFF;
}

.button-red {
    background-color: #FFF;
    border-color: #FFF;
    color: #F00;
}

.button-combo {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #C3C3C3;
    outline: none;
    background-color: #FFF;
    color: #000;
}

    .button-combo::after {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\f0d7";
        float: right;
        font-size: 18px;
    }

.button-combo-disabled {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #C3C3C3;
    outline: none;
    background-color: #FFF;
    color: #000;
}

    .button-combo-disabled::after {
        content: "";
    }

.button-list {
    text-align: left;
    text-transform: initial;
    background-color: #FFF;
    border: none;
}

.button-disabled {
    border: solid 1px #9e9e9e;
    background-color: #909090;
    color: #adadad;
    text-shadow: 1px 1px 0 #000000;
}

.button-dialog {
    margin-top: 70px;
    position: absolute;
    width: calc(100% - 40px);
    margin-left: 1px;
    color: #007cff;
    background-color: transparent;
    border: none;
    border-top: solid 1px #CCC;
    border-radius: 0;
    float: left;
}

.dialog {
    position: fixed;
    /* bottom: -100px; */
    left: 10%;
    width: calc(80% - 20px);
    padding: 10px;
    background: rgba(255,255,255,0.6);
    color: #000;
    font-size: 13px;
    height: 100px;
    z-index: 9999;
    -webkit-box-shadow: 0 0 10px 10px rgba(0,0,0,0.2);
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.2);
    border-radius: 25px;
    display: none;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

    .dialog i {
        width: 60px;
        float: left;
        text-align: center;
        margin-top: 8px;
    }

    .dialog p {
        margin: 0;
        width: calc(100% - 80px);
        float: right;
        font-size: 15px;
        margin-top: 11px;
    }

.dialog-open {
    top: calc(50% - 50px);
    display: block;
}

.dialog-resize {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.form-dialog {
    position: fixed;
    left: 0;
    bottom: -100%;
    display: none;
    z-index: 200;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    z-index: 5000;
}

    .form-dialog .header {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background-color: #008dec;
        color: #FFF;
        height: 50px;
        -webkit-box-shadow: 0 5px 10px 1px rgba(0,0,0,0.2);
        box-shadow: 0 5px 10px 1px rgba(0,0,0,0.2);
        font-size: 16px;
    }

    .form-dialog .main {
        position: absolute;
        top: 50px;
        left: 0;
        width: calc(100% - 20px);
        height: calc(100% - 20px - 40px);
        padding: 10px;
    }

    .form-dialog .top-right-button {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 26px;
        padding: 9px 15px 9px 9px;
        color: #FFF;
    }

.form-dialog-open {
    /*bottom: 0;*/
}

.record {
    width: 100%;
    border-bottom: solid 1px #CCC;
    overflow: hidden;
}

    .record:last-child {
        border-bottom: solid 1px #FFF;
    }


.record-content {
    width: calc(100% - 20px);
    padding: 10px;
    float: left;
    word-wrap: break-word;
}

.record-content-info {
    margin: 0;
    font-size: 10px;
    color: #454545;
    overflow: hidden;
    height: 13px;
}

.record-content-info-overflow {
    overflow: visible;
}

.record-content-info-full {
    overflow: auto;
    width: 100%;
    height: auto;
}

.content-two-buttons {
    width: calc(100% - 20px - 110px);
}

.content-one-buttons {
    width: calc(100% - 20px - 55px);
}

.record-button {
    float: right;
    font-size: 26px;
    padding: 10px;
    color: #919191;
    cursor: pointer;
}

.combobox-div {
    width: 100%;
    height: 60%;
    position: fixed;
    bottom: -61%;
    left: 0;
    background-color: #FFF;
    border-top: solid 1px #BBB;
    z-index: 6000;
}

.combobox-div-open {
    bottom: 0;
    -webkit-box-shadow: 0 -1px 10px 1px rgba(0,0,0,0.3);
    box-shadow: 0 -1px 10px 1px rgba(0,0,0,0.3);
}

.combobox-header {
    background-color: #72c6ff;
    padding: 10px;
    text-align: center;
    width: calc(100% - 20px - 40px);
    text-indent: 40px;
    float: left;
    color: #00375d;
}

.combobox-header-close {
    width: calc(40px - 20px);
    padding: 10px;
    float: right;
    background-color: #72c6ff;
    cursor: pointer;
    color: #00375d;
}

    .combobox-header-close:hover {
        color: #000;
    }

.combobox-content {
    overflow: auto;
    width: 100%;
    position: absolute;
    margin-top: 39px;
    height: calc(100% - 39px);
    background-color: #CCC;
}

.combobox-item {
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #FFF;
    border-bottom: solid 1px #CCC;
    text-align: center;
    cursor: pointer;
}

.calendar-header {
    border: solid 1px #CCC;
    padding: 5px;
    float: left;
    height: 32px;
}

.calendar-header-button {
    width: 32px;
    font-size: 27px;
    cursor: pointer;
}

.calendar-header-text {
    width: calc(100% - 42px - 42px - 16px);
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    line-height: 32px;
}

.calendar-prev {
    border-radius: 15px 0 0 0;
}

.calendar-next {
    border-radius: 0 15px 0 0;
}

.days-header {
    width: calc(100% - 2px);
    overflow: auto;
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;
}

    .days-header div {
        width: calc(14% - 10px);
        padding: 5px;
        float: left;
        text-align: center;
    }

.calendar-content {
    width: calc(100% - 2px);
    overflow: auto;
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;
    border-bottom: solid 1px #CCC;
    padding-bottom: 10px;
}

.calendar-day {
    width: calc(14% - 10px);
    padding: 5px;
    float: left;
    text-align: center;
    height: 30px;
    border-bottom: solid 2px #FFF;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
}


.calendar-selected {
    background-color: #008dec;
    border-radius: 10px;
    color: #FFF;
}

.calendar-today {
    border-radius: 10px 10px 0 0;
    border-bottom: solid 2px #ff7d00;
}

.calendar-unselectable {
    color: #CCC;
    cursor: default;
}

.calendar-another-month {
    color: #EEE;
    cursor: default;
}

.badge {
    font-size: 9px;
    text-transform: uppercase;
    border: solid 1px #FFF;
    padding: 2px 5px 2px 5px;
    border-radius: 50px;
}

.badge-red {
    border: solid 1px #9f3232;
    background-color: #ff4242;
    color: #FFF;
}

.badge-orange {
    border: solid 1px #a7693c;
    background-color: #ff9342;
    color: #000;
}

.badge-green {
    border: solid 1px #216028;
    color: #FFF;
    background-color: #339f3f;
}

.badge-yellow {
    border: solid 1px #ddc05f;
    background-color: #ffd54d;
}

.badge-blue {
    border: solid 1px #286e85;
    background-color: #20a7d3;
    color: #FFF;
}

.badge-black {
    border: solid 1px #000000;
    background-color: #5a5a5a;
    color: #FFF;
}

/* --- FOOTER ---*/
.version {
    position: fixed;
    right: 5px;
    bottom: 5px;
    color: #9e9e9e;
    font-size: 10px;
}

.hidden {
    display: none;
}

/* --- MOBILE ---*/
@media screen and (max-width: 1024px) {

    .left-menu {
        width: calc(80% - 20px);
    }

    .left-menu-closed {
        left: -80%;
    }

    .content {
        width: calc(100% - 20px);
        margin: 0;
        padding: 10px;
    }

    .main {
        width: -webkit-fill-available;
        padding: 0px;
        height: calc(100% - 20px - 30px);
        padding-left: constant(safe-area-inset-left);
        padding-right: constant(safe-area-inset-right);
    }

    .label {
        width: calc(100% - 20px);
        float: left;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    .checkbox-label {
        line-height: 26px;
    }

    .input {
        width: calc(100% - 20px);
    }

    .checkbox-input {
        margin-top: 0;
    }
}
