@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Calibri', Helvetica, Arial, sans-serif;
    font-size: 16px;
    overflow: hidden !important;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

.sidebar {
    background: #009CD2 !important
}

.top-row {
    background: #E20A17 !important
}

hr {
    margin-top: 0.2rem !important;
    margin-bottom: 1.5rem !important;
    border: 0 !important;
    border-top-color: currentcolor;
    border-top-style: none;
    border-top-width: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    width: 100% !important;
}

button {
    border: none !important;
    border-radius: 5px !important;
}

.button-login {
    border: none !important;
    background: #035A72 !important;
    color: white !important;
    border-radius: 5px !important;
}

.booking-status-none {
    color: yellow
}

.status-booking-late {
    color: red
}

.booking-status-0 {
    color: blue
}

.booking-status-5 {
    color: lightblue
}

.booking-status-10 {
    color: lightgreen
}

.booking-status-20 {
    color: darkgreen
}

.booking-status-100 {
    color: gray
}

.status-external {
    color: #009CD2
}

.tourstop-type-load {
}

.tourstop-type-unload {
}

.edit {
    color: darkorange
}

.info {
    color: white;
    font-size: 14px;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn {
    color: white !important;
}

.content {
    background: white;
    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: 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: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/*Scheduler*/

/*Scheduler-Timeline*/
.zfm-scheduler-timeline {
    height: calc(100vh - 150px);
    border-right: 1px solid gray;
    background-color: whitesmoke;
}

.zfm-scheduler-timeline-header {
    min-height: 50px;
    max-height: 50px;
    border-bottom: 1px solid gray;
    padding-left: 15px;
    padding-top: 15px;
    font-weight: bold;
}

.zfm-scheduler-timeline-timecontainer {
    height: calc(100vh - 310px);
    overflow: hidden;
}

.zfm-scheduler-timeline-time {
    border-bottom: 1px dashed gray;
    padding-left: 15px;
}

/*Scheduler content*/

.zfm-scheduler-content {
    height: calc(100vh - 150px);
    width: calc(100vw - 200px);
}

.zfm-scheduler-content-caption-container {
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
    border-bottom: 1px solid gray;
}

.zfm-scheduler-content-slots {
    height: calc(100vh - 175px);
    overflow: scroll;
}

.zfm-scheduler-content-slots-days {
    float: left;
}

.zfm-scheduler-content-slots-locations {
    float: left;
    border-right: 1px solid gray;
    max-width: 200px;
}

.zfm-scheduler-content-slots-container {
    border-bottom: 1px dashed gray;
    min-width: 200px;
}

.zfm-scheduler-content-slots-emptycontainer {
    border-bottom: 1px dashed gray;
    min-width: 200px;
}

.zfm-scheduler-content-slots-bookingslot {
    background-color: cornsilk;
    width: 194px;
}

.zfm-scheduler-content-slots-emptyslot {
    background-color: whitesmoke;
    width: 194px;
}

.zfm-scheduler-day {
    margin-left: 250px;
}

.zfm-draggable {
    cursor: grab;
}

.zfm-draggable:active {
    cursor: grabbing;
}

.zfm-dragging {
    cursor: grabbing;
}

.zfm-booking-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.zfm-booking-list div {
    min-width: 200px;
    max-width: 200px;
    flex: 1;
}

.zfm-booking-item {
    margin: 2px !important;
    padding: 2px !important;
    min-width: 194px;
    max-width: 194px;
}

.zfm-booking-item-due {
    background-color: yellow
}

.zfm-booking-item-focused {
    background-color: lightblue
}

.zfm-booking-item td {
    padding: 0 !important;
    margin: !important;
    font-size: .8rem;
    font-weight: 400;
}

.zfm-booking-item th {
    padding: 0 !important;
    margin: 0 !important;
}

.zfm-booking-item tr {
    padding: 0 !important;
    margin: 0 !important;
}

zfm-booking-item table {
    margin-bottom: 0;
    border-collapse: collapse;
}

.zfm-scheduler-timescroller div {
    overflow: hidden;
    font-weight: bold;
    border-bottom: 1px dashed #D3D3D3;
    min-width: 120px;
    max-width: 120px;
    text-align: center;
}

.zfm-scheduler-dayscroller {
    margin-left: 0px;
}

.zfm-scheduler-dayscroller-day div {
    overflow: hidden;
    white-space: nowrap;
    min-width: 200px;
    max-width: 400px;
    font-weight: bold;
}

.zfm-scheduler-dayscroller-day > div:nth-child(odd) {
    background: #03a9f4;
    color: white;
    text-align: center;
    border-right: 1px solid gray;
}

.zfm-scheduler-dayscroller-day > div:nth-child(even) {
    background: #03a9f4;
    color: white;
    text-align: center;
    border-right: 1px solid gray;
}


zfm-scheduler-dayscroller-location {
    text-align: center;
}

.zfm-scheduler-dayscroller-location div {
    overflow: hidden;
    min-width: 200px;
    max-width: 200px;
    white-space: nowrap;
    font-weight: bold;
}

.zfm-scheduler-dayscroller-location .even {
    background-color: whitesmoke !important;
    border-right: 1px solid gray;
    text-align: center;
    float: left;
}

.zfm-scheduler-dayscroller-location .odd {
    background-color: whitesmoke !important;
    border-right: 1px solid gray;
    text-align: center;
    float: left;
}

.zfm-slot {
    min-width: 200px;
    max-width: 200px;
    overflow: hidden;
}

.zfm-slot-active {
    /*border-left: 1px solid gray;
    border-right: 1px solid gray;*/
}

.zfm-slot-top {
    border-top: 1px solid #A8A8A8;
}

.zfm-slot-bottom {
    border-bottom: 1px solid #A8A8A8;
}

.zfm-slot-even {
}

.zfm-slot-odd {
    background: #F5F5F5;
}

.zfm-slot-item {
}

.zfm-slot-item-additional {
}

.zfm-slot-item-locked {
    background: red;
}

.zfm-slot-item-reserved {
    border-color: blue;
}

.zfm-slot-item-candrop {
    background: green;
}

.zfm-slot-item-cannotdrop {
    background: red;
}

.zfm-slot-item-candropping {
    background: #BEFF99;
}

@media only screen and (max-width: 1024px) {
}

.zfm-timeslot-saturday {
    background-color: #82D7D8;
    border: 1px solid gray;
}

.zfm-timeslot-sunday {
    background-color: cadetblue;
}

.zfm-timeslot-holiday {
    background-color: #FFD800;
}

.zfm-scheduler-saturday {
    background-color: #82D7D8;
}

.zfm-scheduler-sunday {
    background-color: cadetblue;
}

.zfm-scheduler-holiday {
    background-color: #FFD800;
}

.zfm-scheduler-today {
    font-weight: bold
}

.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #E20A17;
    overflow: hidden;
    transition: 0.5s;
    color: white;
}

.sidenav a {
    padding: 8px 8px 8px 15px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0px;
    font-size: 24px;
}

.sidenav a:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

.rotate {
    transform: rotate(180deg);
}

.icon-rotate {
    transition-duration: .4s;
    display: inline-block;
}

#main {
    transition: margin-left .5s;
    height: 100vh;
    overflow: hidden;
}

.main {
    background-color: white;
}

.modal .modal-full-height {
    width: 100% !important;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media screen and (max-width: 450px){
    .zfm-scheduler-content-slots {
        height: /*calc(100% - 80px);*/ 90%;
        overflow: scroll;
    }

    .k-icon-button, .k-button.k-button-icon {
        width: 2.2rem !important;
    }

    .zfm-scheduler-timeline-timecontainer {
        height: /*calc(100% - 80px);*/ 90%;
        overflow: hidden;
    }
}

.bg {
    background-image: url('/images/background.jpg');
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

#infoMenuButton {
    cursor: pointer;
}

.card {
    background-color: none !important;
}

.card-body {
    background-color: white;
}

.nav-item a:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

.card-design {
    font-size: xx-large;
    color: #009CD2 !important;
}

.card-title {
    font-weight: bold;
    text-transform: none;
    color: #999;
}

.modal-dialog {
    max-width: 33% !important;
    min-width: 600px !important;
}

.zfm-success {
    background: #00e25b !important;
    text-transform: none !important;
    font-size: 16px;
}

.zfm-blue {
    background: #009CD2 !important;
    text-transform: none !important;
    font-size: 16px;
}

.zfm-red {
    background: #E20A17 !important;
    text-transform: none !important;
    font-size: 16px;
}

.zfm-text-blue {
    color: #009CD2 !important;  
}

.zfm-text-red {
    color: #E20A17 !important;    
}

table[data-role="grid"] td {
    overflow: hidden;
    max-height: 60px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 0rem) !important;
}

.table td, .table th {
    border-top: 0px solid red !important;
}

.button-vehicle {
    width: 14px;
    height: 27px;
}

#toast-container {
    z-index: 2;
}


.top-aligned {
    position: fixed;
    top: 2rem;
}

.custom-searchbox-width {
    width: 8em !important;
}

.k-multiselect div.k-multiselect-wrap { max-height: 38px; overflow-y: hidden; }