﻿.d3-tip {
    line-height: 1;
    font-weight: bold;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
    z-index: 3000;
}

    .d3-tip:after {
        box-sizing: border-box;
        display: inline;
        font-size: 10px;
        width: 100%;
        line-height: 1;
        color: rgba(0, 0, 0, 0.8);
        content: "\25BC";
        position: absolute;
        text-align: center;
    }

    .d3-tip.n:after {
        margin: -1px 0 0 0;
        top: 100%;
        left: 0;
    }


.appointments,
.book-appointment {
    padding: 1em;
    /*border: 1px solid lightgray;*/
}

.work-item .row {
    margin-bottom: 3px;
}

.work-item hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.appointment-dialog .modal-dialog {
    margin-top: 0;
}

.appointment-dialog .modal-dialog,
.schedule-capacity-dialog .modal-dialog {
    width: 750px;
}



.centered-loading-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.appointments {
    overflow-y: auto;
    overflow-x: hidden;
    height: 450px;
}

.appointment-day {
    /*padding-bottom: 1em;*/
    white-space: nowrap;
    margin: 5px 10px;
    border-bottom: 1px solid lightgray;
}

.expected-duration {
    width: 50px;
    height: 20px;
}



.spin-animation {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

.scheduledException {
    border-width: 2px;
}


#dispatch-calendar .fc-time-grid .fc-slats td {
    height: 3.5em;
}

.appintment-calender-legend .legend-icon {
    height: 20px;
    width: 30px;
    margin-right: 5px;
}
.appintment-calender-legend table {
    border-collapse: separate;
    border-spacing: 5px;
    min-width: 250px;
}

.appintment-calender-legend .available {
    border: 1px solid rgb(144, 164, 174)
}
.appintment-calender-legend .reached {
    background-color: rgb(3, 169, 244)
}
.appintment-calender-legend .active {
    background-color: rgb(56, 142, 60)
}
.appintment-calender-legend .exception {
    background-color: rgb(244, 67, 54)
}
.appintment-calender-legend .notavailable {
    background-color: rgb(144, 164, 174)
}
.appintment-calender-legend .selection {
    background-color: rgb(245, 124 , 0)
}


