@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'Digital-7 Mono';
    src: url('/css/fonts/Digital-7Mono.ttf') format('truetype');
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px !important;
}


h3 {
    font-weight: bold;
}

table td {
    vertical-align: top;
}

.main-flex {
    display: flex;
    flex-direction: row;
}

    .main-flex.col {
        flex-direction: column;
    }

    .main-flex.push-margin {
        margin-bottom: 200px;
    }

    .main-flex.no-padding {
        padding-right: 0px !important;
    }

    .main-flex .tb-flex {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        width: 100%;
    }

    .main-flex .tb-flex.pad-right {
        padding-right: 145px;
        width: 100%;
    }

.digi-clock-box {
    width: 140px;
    position: fixed;
    right: 15px;
    top: 0px;
    height: 69.4px;
    border: 1px solid #135c94;
    z-index: 999999;
}

    .digi-clock-box.vertical {
        right: 0;
        top: 51.4px;
        width: 145px;
        height: 72px;
    }

    .digi-clock-box .dots {
        position: absolute;
        left: 53px;
        top: 7px;
    }
#digi-clock {
    width: 140px;
    height: 70px;
    position: absolute;
    left: 0px;
    top: -25px;
    font-size: 68px;
    font-family: 'Digital-7 Mono';
}

    #digi-clock .hours {
        position: absolute;
        left: 1px;
        top: 7px;
    }
    #digi-clock .minutes {
        position: absolute;
        left: 74px;
        top: 7px;
    }

.weather-info {
    position: fixed;
    right: 15px;
    top: 70px;
    width: 150px;
    background: #135c94;
    border: 1px solid black;
    height: calc(100% - 70px);
    box-shadow: inset 5px 5px 5px 0 #e9f0b7, inset -5px -5px 5px #4a7597;
    -moz-box-shadow: inset 5px 5px 5px 0 #4898d5, inset -5px -5px 5px #4a7597;
    -webkit-box-shadow: inset 5px 5px 5px 0 #4898d5, inset -5px -5px 5px #4a7597;
    box-shadow: inset 5px 5px 5px 0 #4898d5, inset -5px -5px 5px #4a7597;
}

.weather-info.in-place.with-clock {
    right: 140px;
}

    .weather-info.noinr {
        width: 180px;
    }

    .weather-info.bottom-fixed {
        right: unset;
        top: unset;
        left: 0px;
        bottom: 0px;
        width: auto;
        height: auto;
        background: white;
        border-top: 2px solid #135c94;
        border-right: 2px solid #135c94;
    }

    .weather-info.in-place {
        right: unset;
        top: unset;
        left: 0px;
        bottom: 0px;
        width: auto;
        height: auto;
        background: white;
        border-top: 2px solid #135c94;
        border-right: 2px solid #135c94;
        position: relative;
        left: unset;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        bottom: unset;
        background: none;
        width: auto;
        display: inline-block;
    }

        .weather-info.in-place.vertical {
            position: fixed;
            right: 0px;
            top: 51.4px;
            width: 145px;
            background: white;
        }

            .weather-info.in-place.vertical.with-clock {
                top: 121.8px;
            }

            .weather-info .weather-block {
                display: block;
                color: white;
                text-align: center;
                padding-top: 10px;
                position: relative;
                background-image: url(/css/images/divider.png);
                background-repeat: no-repeat;
                background-position: bottom;
                background-size: 100%;
                height: 20%;
                font-size: 1.2vh;
            }

    .weather-info.in-place .weather-block {
        height: 67px !important;
        background: white !important;
    }

    .weather-info.in-place.vertical .weather-block {
        display: block;
        border-left: 0px;
        border-bottom: 2px solid;
    }

    .weather-info.in-place.vertical .weather-block .pressure {
        top: 45px;
    }
    .weather-info.in-place.vertical .weather-block .humidity {
        top: 32px;
    }
        .weather-info.in-place.vertical .weather-block .t-min, .weather-info.in-place.vertical .weather-block .t-max {
            top: 13px;
        }

    .weather-info.noinr .weather-block {
        font-size: 1.4vh;
    }

    .weather-info .weather-block .degree {
        display: none;
    }

        .weather-info .weather-block .rain-icon {
            display: none;
        }

    .weather-info.bottom-fixed .weather-block, .weather-info.in-place .weather-block {
        display: inline-block;
        margin-bottom: 0px;
        height: 80px;
        vertical-align: top;
        width: 140px;
        position: relative;
        background: rgb(255,255,255);
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(165,235,255,0.7539390756302521) 50%, rgba(255,255,255,1) 100%);
        color: #135c94;
        border-left: 2px solid #135c94;
    }

        .weather-info.bottom-fixed .weather-block .degree, .weather-info.in-place .weather-block .degree {
            display: inline;
        }

        .weather-info.bottom-fixed .weather-block:first-child, .weather-info.in-place .weather-block:first-child {
            border-left: 0px;
        }

        .weather-info.bottom-fixed .weather-block .img, .weather-info.in-place .weather-block .img {
            position: absolute;
            left: 10px;
            top: 15px;
            width: 5vh;
            height: 5vh;
            background-size: 5vh;
        }

        .weather-info.bottom-fixed .weather-block .day-name, .weather-info.in-place .weather-block .day-name {
            position: absolute;
            left: 20px;
            top: 0px;
            margin-top: 0px;
            font-size: 14px;
        }

        .weather-info.bottom-fixed .weather-block .pressure, .weather-info.in-place .weather-block .pressure {
            font-size: 12px;
            position: absolute;
            top: 50px;
            left: 82px;
            width: auto;
            display: inline-block;
        }

        .weather-info.bottom-fixed .weather-block .rain-icon, .weather-info.in-place .weather-block .rain-icon {
            display: inline-block;
            width: 12px;
            height: 12px;
            vertical-align: top;
            background: url(/css/images/rain-icon.png);
            background-size: 12px;
            position: relative;
            top: 2px;
        }

        .weather-info.bottom-fixed .weather-block .t-min, .weather-info.bottom-fixed .weather-block .t-max,
        .weather-info.in-place .weather-block .t-min, .weather-info.in-place .weather-block .t-max {
            top: 20px;
            left: 105px;
            background-color: unset !important;
            color: #135c94;
            font-size: 14px;
            border: 0;
        }

        .weather-info.bottom-fixed .weather-block .t-max, .weather-info.in-place .weather-block .t-max {
            top: 20px;
            left: 75px;
            bottom: unset;
            font-weight: bolder;
        }

        .weather-info.bottom-fixed .weather-block .humidity, .weather-info.in-place .weather-block .humidity {
            position: absolute;
            left: 80px;
            top: 37px;
            right: unset;
            font-size: 12px;
        }


.weather-block .humidity, .weather-block .pressure, .weather-block strong {
    display: block;
}

.weather-block .pressure {
    position: absolute;
    left: 15px;
    font-size: 1.5vh;
}
.weather-block .humidity {
    position: absolute;
    right: 15px;
    font-size: 1.5vh;
}
.weather-block strong {
    font-size: 1.6vh;
    margin-top: 20px;
}

.weather-block .t-min, .weather-block .t-max {
    position: absolute;
    display: block;
    bottom: 4vh;
    left: calc(50% - 10px);
    padding: 1px 3px;
    background-color: #0c5f75;
    color: white;
    border: 1px solid white;
    font-size: 1.2vh;
}

.weather-block .t-max {
    left: calc(50%);
    bottom: 5.5vh;
}

.t-warmer {
    background-color: #0c7548 !important;
}

.t-warmest {
    background-color: #18a123 !important;
}

.weather-block .img {
    display: inline-block;
    width: 7vh;
    height: 7vh;
    position: relative;
    top: -5px;
    background-size: 7vh;
}

.bottom-logo {
    position: fixed;
    right: 0px;
    bottom: 0px;
    height: 80px;
}

.bottom-logo img {
    height: 80px;
}

.top-logo {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 145px;
    text-align: center;
}

.top-logo img {
    display: inline-block;
    max-width: 145px;
    max-height: 52.4px;
}


table {
    width: 100%;
    height: 100%;
}

    table.report th {
        text-align: inherit;
        border: 1px solid black;
        padding: 5px 5px 25px 5px;
    }

    table.report td {
        border: 1px solid black;
        border-top: 3px solid black;
        border-bottom: 3px solid black;
        height: 100%;
    }

.table-data .flex-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .table-data .flex-box .block {
        flex-grow: 1;
        word-break: break-all;
    }

.block {
    padding: 5px 10px 5px 0px;
    font-size: 12px;
    background-color: #f8cbad;
    padding-left: 5px;
}

    .block.standard {
        background-color: unset;
    }

.group-block {
    border: 1px solid black;
    flex-basis: fit-content;
}

.group-chief {
    background: #f4d643;
}

.maintenance-heading th {
    background: #92d050;
}
.maintenance-heading.group-standard th {
    background-color: lightgreen;
}
.maintenance-heading.group-standard.wuhrman th {
    background-color: #b8f7a6;
}

.personnel {
    background: #fff2cc;
}

.inventory {
    background: #bbd6ed;
}

.minw-50 {
    min-width: 50%;
}

.maxw-50 {
    max-width: 50%;
}

.group-block tr td:first-child, .group-block tr th:first-child {
    border-bottom: 1px solid #bdbdbd;
    border-right: 1px solid black;
}

.group-heading th {
    background-color: #f4ac80;
}
.group-heading.group-standard th {
    background-color: lightgray;
}

.group-block tr > *:last-child {
    padding-left: 5px;
}

.group-block tr *:first-child {
    width: 30%;
}

.group-block tr:last-child td:first-child {
    border-bottom: 1px solid black;
}

.group-block .absence {
    background-color: #f0dce5;
}

    .group-block .absence.group-standard {
        background-color: #f4ac80;
    }
    .group-block .absence.group-standard.wuhrman {
        background-color: #f6c5a8;
    }

.block.absence {
    background-color: #c6e0b4;
}

.block.standard.absence {
    background-color: #FFA2A1;
}

.block.note {
    background-color: #ff99cc;
}

.block.standard.note {
    background-color: #C9E8FF;
}

.block.standard.inventory {
    background-color: #D8D8D8;
}
.block.standard.maintenance {
    background: #D9FFDB;
}
    .block.standard.maintenance.inventory {
        background: #A8DEA5;
    }

.block .time {
    color: #0070c0;
    text-decoration: underline;
}

.block.nested {
    border-top: 2px solid black;
}

.h-70 {
    height: 70px;
}

    .h-70.sticky-header {
        position: sticky;
        top: 0px;
        background: white;
        border-bottom: 1px solid #d7d7d7;
        left: 0px;
        width: 100%;
    }

        .h-70.sticky-header.group-standard {
            border-bottom: 0;
        }

        .sticky-header.group-standard td {
            position: relative;
            padding: 0;
        }
        .sticky-header.group-standard td h3 {
            border: 1px solid black;
            font-size: 14px;
            display: block;
            position: absolute;
            width: calc(100% - 10px);
            margin-bottom: 0px;
            bottom: 0px;
        }
.group-standard .group-table > .group-block:first-child {
    border-top: 0;
}

    .sticky-header.group-standard td:last-child h3 {
        width: 100%;
    }

        .lp-5 {
            padding-left: 5px;
        }

.px-4 {
    padding: 0px !important;
}

.birthday-block {
    position: fixed;
    bottom: 0px;
    right: 50%;
    text-align: right;
    padding: 10px;
    height: 95px;
}

    .birthday-block.right {
        right: 0px;
    }

.padtop-140 {
    padding-top: 140px;
}

.title-table {
    position: fixed;
    top: 0px;
    background: white;
    /*color: white;*/
    width: calc(100% - 15px);
    z-index: 99999;
}

    .title-table .customer-logo {
        vertical-align: middle;
        border-style: none;
        height: 50px;
        margin-top: 10px;
    }

    .title-table td:last-child {
        padding-top: 20px;
        padding-right: 15px;
    }

    .title-table .schedule-title {
        padding-top: 20px;
    }

    .title-table.standard td:last-child {
        padding-top: 0px;
        padding-right: 15px;
        text-align: right;
    }

.main-flex.table-header {
    position: fixed;
    top: 70px;
    height: 70px;
    width: 100%;
    padding-right: 180px;
    z-index: 99999;
}

    .main-flex.table-header.noinr {
        padding-right: 210px;
    }

        .main-flex.table-header.noinr.standard, .main-flex.table-header.standard {
            padding-right: 30px;
        }

    .main-flex.table-header > div {
        background: white;
    }

.table-data-wrapper {
    width: 100%;
    padding-right: 150px;
}

    .table-data-wrapper.noinr {
        padding-right: 180px;
    }

        .table-data-wrapper.noinr.standard, .table-data-wrapper.standard {
            padding-right: 0px;
        }

.main-flex.table-header > .inr, .main-flex.table-data > .inr {
    max-width: 50px;
    min-width: 50px;
}
.main-flex.table-header > .inr.prj, .main-flex.table-data > .inr.prj {
    max-width: 80px;
    min-width: 80px;
}

.main-flex.table-header > .name, .main-flex.table-data > .name {
    max-width: 150px;
    min-width: 150px;
}


    .main-flex.table-header > .name.prj, .main-flex.table-data > .name.prj {
        max-width: 300px;
        min-width: 300px;
    }

.main-flex.table-data {
    width: 100%;
    background: white;
}

.main-flex.table-header > div {
    flex-grow: 1;
    flex-basis: 0;
    padding: 5px;
    border: 1px solid black;
    font-weight: bold;
}

.main-flex.table-data > div {
    flex-grow: 1;
    flex-basis: 0;
    border: 1px solid black;
}

.to-stick th {
    position: sticky;
}

.login-box {
    display: block;
    width: 450px;
    margin: 0 auto;
    margin-top: 10%;
    border: 2px solid #f9f9f9;
    border-radius: 15px;
    box-shadow: 0px 0px 9px 3px #00000045;
    padding: 20px;
    position: relative;
}

    .login-box .logo {
        display: block;
        margin-bottom: 20px;
        width: 151px;
        height: 39px;
        background: url(/css/images/sorba_logo.png);
    }

    .login-box .title {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 20px;
    }

    .login-box label {
        font-size: 16px;
        font-weight: 700;
    }

    .login-box .form-control {
        font-size: 16px;
    }

    .login-box .btn.btn-success, .login-box .btn.btn-success:hover, .login-box .btn.btn-success:focus, .login-box .btn.btn-success:active {
        background-color: #1589ca;
        font-size: 16px;
        border-color: #1589ca;
        outline: 0;
        margin-top: 10px;
    }

.loading-message {
    display: inline-block;
    margin: 0 auto;
    font-size: 20px;
    color: white;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px 25px;
    background-color: #1589ca;
    border: 4px solid #135c94;
}

.auth-panel {
    display: block;
    width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 9px 3px #00000045;
    position: relative;
}

    .auth-panel .navigation {
        display: inline-block;
        vertical-align: top;
        position: relative;
        top: 7px;
        font-size: 18px;
        margin-left: 10px;
    }

        .auth-panel .navigation .item {
            margin-right: 20px;
            border-bottom: 2px solid #b9b9b9;
        }

            .auth-panel .navigation .item:hover {
                border-color: black;
                cursor: pointer;
            }

    .auth-panel .logo {
        display: inline-block;
        vertical-align: top;
        margin-right: 20px;
        width: 151px;
        height: 39px;
        background: url(/css/images/sorba_logo.png);
    }

    .auth-panel .name {
        position: absolute;
        right: 20px;
        top: 28px;
        font-size: 18px;
    }

        .auth-panel .name .signout {
            font-weight: bold;
            text-decoration: underline;
            cursor: pointer;
        }

.customer-grid {
    display: block;
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 9px 3px #00000045;
    position: relative;
    font-size: 16px;
}

    .customer-grid tr {
        border-bottom: 1px solid #e7e7e7;
    }

        .customer-grid tr:last-child {
            border-bottom: 0;
        }

        .customer-grid tr td:first-child {
            width: 50px;
            overflow-x: hidden;
        }

        .customer-grid tr td, .customer-grid tr th {
            padding-bottom: 10px;
            padding-top: 10px;
        }

    .customer-grid .actions .oi {
        margin-right: 5px;
        cursor: pointer;
    }

        .customer-grid .actions .oi:last-child {
            margin-right: 0px;
        }

    .customer-grid .actions .oi-trash {
        color: red;
    }


.dialog-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.32);
    z-index: 9999;
}

.dialog {
    position: fixed;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 70%;
    top: 15%;
    left: calc(50% - 600px);
    z-index: 99999;
    overflow: auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
}

    .dialog label {
        font-weight: bold;
    }

    .dialog .form-control {
        font-size: 16px;
    }

    .dialog .form-group img {
        width: 100px;
        margin-top: 5px;
    }

    .dialog .btn.btn-success, .dialog .btn.btn-success:hover, .dialog .btn.btn-success:focus, .dialog .btn.btn-success:active {
        background-color: #1589ca;
        font-size: 16px;
        border-color: #1589ca;
        outline: 0;
        margin-left: 10px;
    }

    .dialog .btn-light {
        background-color: #ffffff;
        border-color: #ffffff;
        font-size: 16px;
    }

.action-panel {
    display: block;
    width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 16px;
}

    .action-panel .btn.btn-success, .action-panel .btn.btn-success:hover, .action-panel .btn.btn-success:focus, .action-panel .btn.btn-success:active {
        background-color: #1589ca;
        font-size: 16px;
        border-color: #1589ca;
        outline: 0;
        margin-left: 10px;
    }

.dialog.delete {
    max-width: 600px;
    left: calc(50% - 300px);
}

    .dialog.delete .buttons {
        margin-top: 30px;
    }

    .dialog.delete .btn.btn-success, .dialog.delete .btn.btn-success:hover, .dialog.delete .btn.btn-success:focus, .dialog.delete .btn.btn-success:active {
        background-color: #ca1515;
        font-size: 16px;
        border-color: #ca1515;
        outline: 0;
        margin-left: 10px;
    }

.big-header {
    position: fixed;
    left: 5px;
    top: 0px;
    font-size: 30px;
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

@media (max-width: 1200px) {
    .action-panel, .customer-grid, .auth-panel {
        width: 90%;
        margin-left: 5%;
    }

    .dialog {
        left: 10%;
    }
}

.pr-10 {
    padding-right: 10px;
}

.main-flex .pr-10:last-child {
    padding-right: 0px;
}

.mb-1000 {
    margin-bottom: 1000px;
}

.group-title {
    font-weight: bold;
    font-size: 16px;
}

.error {
    color: red;
    font-weight: bold;
}

#current-group-title {
    position: fixed;
    display: block;
    font-weight: bold;
    font-size: 16px;
    z-index: 999999;
    background: white;
    width: 100%;
}

.table-data-wrapper.scrolling {
    position: relative;
    top: 24px;
}

.note-appointment {
    background-color: #b9d9ff;
}

.highlighted:not(.group-standard) {
    border: 4px solid orange !important;
    border-bottom: 0px !important;
    border-top: 0px !important;
}

td.highlighted.group-standard h3 {
    border: 4px solid orange !important;
    border-bottom: 1px solid black !important;
}

.highlighted.group-standard > .main-flex {
    border: 4px solid orange !important;
    border-top: 1px solid black !important;
}

.main-flex > .highlighted:not(.group-standard) {
    border-bottom: 1px solid black !important;
    border-top: 1px solid black !important;
}

.table-header.main-flex > .highlighted:not(.group-standard) {
    border-top: 4px solid orange !important;
    border-bottom: 1px solid black !important;
}


.table-data-wrapper > .main-flex:last-child > .highlighted:not(.group-standard) {
    border-bottom: 4px solid orange !important;
}

table td, table th {
    word-break: break-all !important;
}