body {
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
    font-size: 14px;
}

.datepicker {
    font-size: 12px;
}

/*CSS Loader*/
/****************************/

/****************************/
#schedulerWrapper {
    z-index: 1;
}

#jobFilter {
    z-index: 2;
}

.fc-time-area.fc-widget-content {
    /*background: #ccc;*/
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    border-right: 1px solid #f0f0f0;
    overflow-x: hidden;
    background: #f0f0f0;
    -webkit-transition: width .2s linear;
    transition: width .2s linear;
    -webkit-transform: translateZ(0) scale(1, 1);
    /*box-shadow: 1px 0 15px rgba(0, 0, 0, 0.07);*/
    /*opacity:1;*/
}

.btn-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.modal-dialog.extra-wide {
    max-width: 65% !important;
}

#optionsListWrapperInEvent {
    /*max-height: 800px;*/
    /*overflow-y: scroll;*/
    /*overflow-x: hidden;*/
}

.fc-license-message {
    display: none !important;
}

#existingClientsTableWrapper {
    max-height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#scheduler {
    margin: 0 auto;
    padding: 0;
    -webkit-transition: margin-left .5s;
    -moz-transition: margin-left .5s;
    -ms-transition: margin-left .5s;
    -o-transition: margin-left .5s;
    transition: margin-left .5s;
}

.scheduler-header {
    padding: 8px 12px;
    background: #eaeaea;
}

#filteredJobs {
    overflow-x: hidden;
}

.draggable-placeholder {
    list-style-type: none;
    border: 1px solid #d0d0d0;
    border-top: 4px solid #001a5f;
    margin: 10px 5px 10px 5px;
    padding: 10px;
    background-color: rgb(227, 231, 237);
    height: 100px;
    width: 150px;
    overflow: hidden;
}

.tech-image {
    height: 32px;
    width: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.fc-resource-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.change-view-btn {
    margin: 0 auto;
}

.job-card-option {
    position: absolute;
    right: 3rem;
    cursor: pointer;
}

.fc-unthemed td.fc-today {
    background: #fff;
}

.disabled-div {
    color: #212529a1;
    background: #f5f5f5;
    margin-right: 12px;
}

.popover-header {
    margin: 0;
}


.dispatch-status-icon {
    height: 14px;
    width: 14px;
    margin: 0 8px 4px 2px;
}

/*Overriding the Full Calendar CSS*/
.fc-expander-space {
    display: none;
}

.fc-content > .fc-rows > table .fc-widget-content > div {
    padding: 4px 0;
}

.fc-timeline .fc-head .fc-cell-content {
    text-align: center;
    padding: 8px 0;
}

.fc-body .fc-resource-area .fc-cell-content {
    height: 100%;
    padding: 0 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.fc-view-container .fc-widget-header {
    border: 1px solid #ddd;
    background: #eaeaea;
    transition: background-color 0.2s;
}

.fc-timeline-event {
    background: #FDFFFD;
    border: 1px solid #FDFFFD;
    margin: 5px 0 0 2px;
}

.fc-timeline-event .fc-content {
    z-index: -1;
}

.fc-event .fc-bg:hover {
    opacity: 0;
    color: #fff;
    font-weight: bold;
}


/**
Events CSS
****************************************************************************************************************************************************************************************************************************************************************************************
 */


.fc-event {
    border-radius: 0;
}

.scheduler-event-job-class {
    background-color: #fff;
    opacity: 0.85;
    color: #000;
    margin: -16px -7px -5px -7px;
    padding: 4px 4px 0;
    overflow: hidden;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 100%;

}

.scheduler-event-timeblock-class {
    background: repeating-linear-gradient(135deg, #fff, #fff 10px, #e6e6e6 10px, #e6e6e6 20px);
    font-weight: bolder;
    color: #000;
    margin: -20px -7px -5px -7px;
    padding: 8px 8px 0;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    height: 100%;
    position: relative;
}

.scheduler-event-task-class {
    background: #0e76bc;
    font-weight: bolder;
    color: #fff;
    margin: -20px -7px -5px -7px;
    padding: 8px 8px 0;
    overflow: hidden;
    border: 1px solid #ccc;
    height: 100%;
}

.scheduler-event-loading-class {
    background: #fff;
    font-weight: bolder;
    color: #000;
    margin: -20px -7px -5px -7px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
    height: 100%;
}

.scheduler-time-block-text {
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.scheduler-task-text {
    display: inline-block;
    margin: -4px 0 6px;
}


.dispatcher-event-job-class {
    background-color: #fff;
    opacity: 0.85;
    color: #000;
    margin: -16px -7px -5px -7px;
    padding: 4px 4px 0;
    overflow: hidden;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 100%;

}

.dispatcher-event-timeblock-class {
    background: repeating-linear-gradient(135deg, #fff, #fff 10px, #e6e6e6 10px, #e6e6e6 20px);
    font-weight: bolder;
    color: #000;
    margin: -20px -7px -5px -7px;
    padding: 8px 8px 0;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    height: 100%;
    position: relative;
}

.dispatcher-event-task-class {
    background: #0e76bc;
    font-weight: bolder;
    color: #fff;
    margin: -20px -7px -5px -7px;
    padding: 8px 8px 0;
    overflow: hidden;
    border: 1px solid #ccc;
    height: 100%;
}

.dispatcher-event-loading-class {
    background: #fff;
    font-weight: bolder;
    color: #000;
    margin: -20px -7px -5px -7px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
    height: 100%;
}

.full-height-event-time-block {
    height: 100%;
    margin: -4px 0;
    /*opacity: 0.65;*/
    z-index: -1;
}


.dispatcher-time-block-text {
    z-index: 1;
}

.dispatcher-task-text {
    display: inline-block;
    margin: -4px 0 6px;
}

th.fc-resource-cell {
    font-size: 12px;
    word-break: break-all;
    font-weight: normal;
}

/*****************************************************************************************************************************/

#schedulerHeaderDatePicker {
    background-image: url(./../lib/img/calendar.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 12px 0;
}

/*external and li from old system for scheduler side bar*/
.external {
    padding: 0;
    list-style: none;
    margin: 0;
}

.external li {
    cursor: pointer;
    border: 1px solid #d0d0d0;
    border-top: 4px solid #001a5f;
    margin: 10px 5px 10px 5px;
    padding: 10px;
    background-color: rgb(227, 231, 237);
}

/*CSS overriding for fixed width in AgendaDay View in Scheduler*/
.fc-view-container {
    overflow-x: scroll;
}

.fc-view.fc-agendaDay-view.fc-agenda-view {
    /*width: 500%;*/
}

/*CSS for the height in agendaDay View in scheduler*/
.fc-time-grid .fc-slats td {
    height: 1.8em;
    /*height: 3.5em;*/
}

.fc-center > h2 {
    font-size: 24px;
}


/*
CSS for Loader
*****************************************************************************************************************************
*/
#loader {
    display: none;
    position: fixed;
    background: #cccccc7d;
    z-index: 5;
    height: 100%;
    width: 100%;
}

.spinner-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1E88E5;
    padding: 8px 16px;
}

.spinner-text {
    text-align: center;
    font-size: 22px;
    color: #fff;
}

.spinner {
    margin: 0 auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #fff;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

/*****************************************************************************************************************************/
/**
Vertical Tabs
 */

.bhoechie-tab {
    background: #eaeaea;
}

/*  bhoechie tab */
div.bhoechie-tab-container {
    z-index: 10;
    background-color: #ffffff;
    padding: 0 !important;
    border: 1px solid #ddd;
    background-clip: padding-box;
    opacity: 0.97;
    filter: alpha(opacity=97);
}

div.bhoechie-tab-menu {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}

div.bhoechie-tab-menu div.list-group {
    margin-bottom: 0;
}

div.bhoechie-tab-menu div.list-group > a {
    margin-bottom: 0;
    border-radius: 0;
}

div.bhoechie-tab-menu div.list-group > a .glyphicon,
div.bhoechie-tab-menu div.list-group > a .fa {
    color: #0080ff;
}

div.bhoechie-tab-menu div.list-group > a:first-child {
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}

div.bhoechie-tab-menu div.list-group > a:last-child {
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}

div.bhoechie-tab-menu div.list-group > a.active,
div.bhoechie-tab-menu div.list-group > a.active .glyphicon,
div.bhoechie-tab-menu div.list-group > a.active .fa {
    background-color: #0080ff;
    background-image: #0080ff;
    border-color: transparent;
    color: #ffffff;
}

div.bhoechie-tab-menu div.list-group > a.active:after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #0080ff;
}

div.bhoechie-tab-content {
    background-color: transparent;
}

div.bhoechie-tab div.bhoechie-tab-content:not(.active) {
    display: none;
}

/*****************************************************************************************************************************/
.dropdown-menu {
    border-radius: 0;
}

.dropdown-themes-wrapper {
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: scroll;

}

.new-theme-option {
    border: 1px solid #eaeaea;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    color: #1389e6;
}

.new-theme-option:hover {
    text-decoration: underline;
    background-color: #edf2fa
}

.dropdown-item {
    font-size: 14px;
}

.selected-theme {
    background-color: #edf2fa;
    font-weight: bolder;
}

.dropdown-item:hover {
    background: #edf2fa;
}

.dropdown-item:not(:last-child) {
    border-bottom: 1px solid #eaeaea;
    padding: 0px;
}

.dropdown-item.active, .dropdown-item:active {
    color: unset;
    background: #edf2fa;
}

.theme-actions {
    float: right;
    padding: 10px 4px 10px 0;
}

.theme-list-btn {
}

.theme-name {
    padding: 12px 24px;
    display: inline-block;
}

/*****************************************************************************************************************************/

/**
Entity CSS for event customization
 */
.entity {
    text-transform: capitalize;
    border: 1px solid #ccc;
    padding: 4px 24px 4px 8px;
    margin: 4px;
    cursor: pointer;
    position: relative;
    background: #f8f9fa;
}

.display-list-droppable {
    height: 42px;
    background: transparent;
    border: 1px dashed #ccc;
}

.display-list-droppable > li {
    float: left;
}

.event-draggable-placeholder {
    display: inline-block;
}

.display-list-wrapper {
    border: 1px solid #d0d0d0;
    border-top: 4px solid #001a5f;
    margin: 10px 5px 10px 5px;
    padding: 10px;
    background-color: rgb(227, 231, 237);;
}

.technician-filter-tags {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #ccc;
    margin: 4px 8px 4px 0;
    cursor: pointer;
}

#technicianListWrapperInEvent {
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}

/*****************************************************************************************************************************/
