﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}
.blazored-modal-content {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    overflow-x: hidden;
}
.blazored-modal, .blazored-modal-draggable {
    min-width: 50vw;
    padding: .25em !important;
}

/* Blazored Modal Dragging*/
.blazored-modal-draggable {
    position: absolute;
    display: flex;
    z-index: 102;
    flex-direction: column;
    background-color: #fff;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0.4rem;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    max-width: 60rem;
}

    .blazored-modal-draggable .blazored-modal-header{
        cursor:move;
    }
    /*End Blazored modal Dragging*/
    /*
a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}*/
    .tableFixHead {
        height: 83vh;
    }

    .tableFixHead thead th {
        position: sticky;
        top: 0;
    }

th {
    background: #FFF;
}
.tableFixHead tbody {
    overflow: hidden;
    overflow-y: scroll;
    height: calc(100% - 58px);

}

.hour-line {
    display: block;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 4px;
    position: relative;
    min-height:32px;
}

.row.hour-line > .col-1,
.row.hour-line > .col-2,
.row.hour-line > .col-3,
.row.hour-line > .col-4,
.row.hour-line > .col-5,
.row.hour-line > .col-6,
.row.hour-line > .col-7,
.row.hour-line > .col-8,
.row.hour-line > .col-9,
.row.hour-line > .col-10,
.row.hour-line > .col-11,
.row.hour-line > .col-12 {
    max-width: 100% !important;
}

.row.hour-line > .ico {
    position: absolute;
    top: 2px;
    left: 2px;
    padding: 0 !important;
}

.row.hour-line > .description {
    padding-left: 26px;
    display: block;
}

.row.hour-line > .time {
    padding-left: 26px;
    display: block;
    text-align: center;
}

.row.hour-line > .subject {
    padding-left: 26px;
    display: block;
    text-align: center;
}

.row.hour-line > .hours {
    padding-left: 26px;
    display: block;
    text-align: center;
}

.hour-line.Order {
    background-color: #426358;
    color: #fff;
}

.hour-line.Pauze {
    background-color: #83A9A4;
    color: #fff;
}

.hour-line.Transport {
    background-color: #426358;
}

.hour-line.Adhoc {
    background-color: #83A9A4;
}

.hour-line.Organisatie {
    background-color: #426358;
    color: #fff;
}

.hour-line.Reparatie {
    background-color: RGB(128,15,22);
    color: #fff;
}

.hour-line.Reistijdwoonwerk,
.hour-line.Reistijdwerkwerk,
.hour-line.Reistijdwerkwoon,
.hour-line.Reistijdwoonorder {
    background-color: #83A9A4;
    color: #fff;
}


.hour-line.newMessage {
    background-color: #426358;
    color: #fff;
}

.hour-line.oldMessage {
    background-color: #83A9A4;
    color: #fff;
}

.hour-line .dash-icon{
    position: absolute;
    left:10px;
}
.hour-line .time {
    
    margin-right: 10px;
}
.col-2.subject {
    text-align: center;
}

.col-2.time {
    text-align: center;
}

.Order {
    background-color: cadetblue;
    color: #fff;
}

.Adhoc {
    background-color: lightskyblue;
    color: #fff;
}

.Reparatie {
    background-color: RGB(128,15,22);
    color: #fff;
}

.order-detail-hour {
    margin-bottom: 0.25rem !important;
}

.Transport {
    background-color: RGB(236,135,54);
    color: #fff;
}

.Pauze {
    background-color: lightsteelblue;
    color: #fff;
}

.Reistijdwoonwerk,
.Reistijdwerkwerk,
.Reistijdwerkwoon,
.Reistijdwoonorder {
    background-color: RGB(44,74,54);
    color: #fff;
}

.btn-overview {
}

.btn-logout {
    width: 100%;
    text-align: left
}

.dark-color {
    color: black
}

.light-color {
    color: white
}

.linktext{
    color: white;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.flex-grow {
    flex: 1 0 auto;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.add-appointment {
    padding: 10px;
    width: 20%;
}

.appointment {
    display: inline;
    padding: 10px;
    border: 1px solid black;
}

.block {
    display: block;
    width: 100%;
    border: none;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.add-appointment {
    padding: 10px;
    width: auto;
    float: right;
    margin-top: 5px;
    display: block;
    width: 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.spinner {
    border: 16px solid #83A9A4;
    border-top: 16px solid #F39216;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: calc( 50vh - 40px);
    left: calc( 50vw - 40px);
    position: absolute;
}

.loading {
    position: relative;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 5px;
}

.loading_line_wrapper {
    width: 100%;
    height: 3px;
    position: relative;
    top: 0px;
    left: 0px;
    bottom: auto;
    right: auto;
}

.loading_line {
    position: relative;
    top: 0px;
    left: 0px;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 100%;
    transform-origin: 100% 0%;
    animation: kf_loading_line 1s cubic-bezier(0.645, 0.045, 0.355, 1) 0s infinite;
}

    .loading_line .loading_line_inner {
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(131,169,164,1) 11%, rgba(131,169,164,1) 87%, rgba(0,0,0,0) 100%);
        transform-origin: 0% 0%;
    }

.loading_line_inner--1 {
    opacity: 0;
    animation: kf_loading_line_inner--1 1s cubic-bezier(0.645, 0.045, 0.355, 1) 0s infinite;
}

.loading_line_inner--2 {
    opacity: 1;
    animation: kf_loading_line_inner--2 1s cubic-bezier(0.645, 0.045, 0.355, 1) 0s infinite;
}

.loading_line_inner {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 100%;
    background-color: red;
    transform-origin: 0% 0%;
}

@keyframes kf_loading_line {
    0% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@keyframes kf_loading_line_inner--1 {
    0% {
        transform: scaleX(0);
    }

    25% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(1);
    }
}

@keyframes kf_loading_line_inner--2 {
    0% {
        transform: scaleX(0);
    }

    25% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(1);
    }
}

.order {
    padding: 10px;
    width: 50%;
}

.no-width {
    width: auto;
}





.appointment-border {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.container {
    padding-right: 0px;
    padding-left: 0px;
    overflow-x: hidden;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow-x: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-color: #83A9A4;
    z-index:101!important;
}

    .sidebar .top-row {
        background-color: #426358;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        padding-top: 0;
        padding-bottom: 0;
        max-height: 100%;
    }

        .sidebar .navbar-brand img {
            max-height: 2.8em;
            max-width: 100%;
            width: auto;
            height: auto;
        }

    .sidebar .oi {
        width: 1rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
        
    }
.nav-link > .colapsed-nav-bar{
    margin-left:1rem;
}
.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #FFF;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 1rem;
            background-color: #669b93;
        }

            .sidebar .nav-item a.active {
                background-color: #426358;
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: #426358;
                color: white;
            }

.content {
    padding: 0.5rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/*.column {
    float: left;
    width: 50%;
    padding: 10px;
}*/

.input {
}

.input-group {
    padding: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

    /* Clear floats after the columns */
    .row:after {
        content: "";
        display: table;
        clear: both;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    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: 1001;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .col-sm-4 {
        width: auto
    }

    .table td {
        padding: 0rem;
    }

    .blazored-modal-content {
        height: calc(100vh - 220px);
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        position: absolute;
        right: 5px;
        font-size: 1em;
    }
    .sidebar.collapse-top {
        display: block;
        width:72px;
    }
    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
        
    }
        .sidebar .collapse .nav-item {
            width: 72px;
        }
            .sidebar .collapse .nav-item .colapsed-nav-bar {
                display: none;
            }
            .sidebar .collapse .nav-item:hover {
                z-index: 1001 !important;
                width: 250px;
            }
        .sidebar .collapse .nav-item:hover .colapsed-nav-bar {
            display: block;
            z-index: 10;
        }
}

@media (max-width: 850px) and (min-width: 768px) and (orientation: landscape) {
    .colapsed-nav-bar {
        display: none;
    }

    .sidebar {
        width: 80px;
    }

        .sidebar .oi {
            width: auto;
        }

    .pl-3, .px-3 {
        margin: auto;
        padding-left: 5px !important;
    }

    .nav-link {
        padding: 14px;
    }

    .btn-logout {
        width: auto;
        text-align: left;
        height: 46px;
    }
}

.pre-text{
    white-space:pre-wrap;
}
@media (max-width: 768px) {
    .hour-line {
        display: block;
        margin-bottom: 10px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 4px;
        position: relative;
    }

    .row.hour-line > .col-1,
    .row.hour-line > .col-2,
    .row.hour-line > .col-3,
    .row.hour-line > .col-4,
    .row.hour-line > .col-5,
    .row.hour-line > .col-6,
    .row.hour-line > .col-7,
    .row.hour-line > .col-8,
    .row.hour-line > .col-9,
    .row.hour-line > .col-10,
    .row.hour-line > .col-11,
    .row.hour-line > .col-12 {
        max-width: 100% !important;
    }

    .row.hour-line > .ico {
        position: absolute;
        top: 2px;
        left: 2px;
        padding: 0 !important;
    }

    .row.hour-line > .description {
        padding-left: 26px;
        display: block;
        text-align: left;
    }

    .row.hour-line > .time {
        padding-left: 26px;
        display: block;
        text-align: left;
    }

    .row.hour-line > .subject {
        padding-left: 26px;
        display: block;
        text-align: left;
    }

    .row.hour-line > .hours {
        padding-left: 26px;
        display: block;
        text-align: left;
    }

    .hour-line.Order {
        background-color: #426358;
        color: #fff;
    }

    .hour-line.Pauze {
        background-color: #83A9A4;
        color: #fff;
    }

    .hour-line.Transport {
        background-color: #426358;
    }

    .hour-line.Adhoc {
        background-color: #83A9A4;
    }

    .hour-line.Organisatie {
        background-color: #426358;
        color: #fff;
    }

    .hour-line.Reparatie {
        background-color: RGB(128,15,22);
        color: #fff;
    }

    .hour-line.Reistijdwoonwerk, .hour-line.Reistijdwerkwerk, .hour-line.Reistijdwerkwoon, .hour-line.Reistijdwoonorder {
        background-color: #83A9A4;
        color: #fff;
    }
}





.new-version-toast {
    position: absolute;
    bottom: 0;
    background-color: #fff;
    width: 50vw;
    padding: 20px;
    left: 25vw;
    border: 1px solid;
    border-radius: 10px;
}

    .new-version-toast > label {
        display: block;
    }

    .new-version-toast > button {
        float: right;
    }

.blazored-modal-container {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1003;
}