/*html, body {
    margin:0px;
    padding:0px;
    height:100%;
    overflow:hidden;
}*/

#scheduler_here {
    background-color: #0d1e31;
    overflow: visible;
}

#scheduler_here .dhx_cal_date {
    color: white;
}

#scheduler_here .dhx_cal_tab:not(.active) {
    color: lightgrey;
}

#scheduler_here .dhx_cal_today_button {
    color: lightgrey;
}

#scheduler_here .dhx_cal_navline > div:hover {
    border-color: gray;
}

#scheduler_here .dhx_cal_navline > div:active {
    border-color: white;
}

#scheduler_here .dhx_cal_header .dhx_scale_bar,
#scheduler_here .dhx_cal_header .dhx_agenda_line {
    background-color: rgba(23, 53, 85, 0.81);
    color: lightgrey;
}

#scheduler_here .dhx_scale_holder .dhx_scale_hour {
    background-color: rgba(23, 53, 85, 0.81);
    color: lightgrey;
    border-left: 1px solid lightgrey;
}

#scheduler_here.dhx_scheduler_month .dhx_cal_data {
    overflow: visible;
}

#scheduler_here .dhx_cal_data > table {
    box-shadow: -1px 0px 0px lightgrey;
}

#scheduler_here .dhx_cal_data {
    overflow: hidden;
}

#scheduler_here.dhx_scheduler_week .dhx_cal_data,
#scheduler_here.dhx_scheduler_day .dhx_cal_data {
    border-top: none;
}

#scheduler_here.dhx_scheduler_week .dhx_cal_data > div,
#scheduler_here.dhx_scheduler_day .dhx_cal_data > div {
    border-top: 1px solid #CECECE;
}

/*#scheduler_here.dhx_scheduler_week > div.dhx_cal_header,
#scheduler_here.dhx_scheduler_week > div.dhx_multi_day,
#scheduler_here.dhx_scheduler_week > div.dhx_cal_data,
#scheduler_here.dhx_scheduler_day > div.dhx_cal_header,
#scheduler_here.dhx_scheduler_day > div.dhx_multi_day,
#scheduler_here.dhx_scheduler_day > div.dhx_cal_data {
    margin-left: 10px;
}*/

#scheduler_here.dhx_scheduler_week,
#scheduler_here.dhx_scheduler_day {
    margin-left: 10px;
}

#scheduler_here.dhx_scheduler_week > div.dhx_cal_navline,
#scheduler_here.dhx_scheduler_day > div.dhx_cal_navline {
    margin-left: -10px;
}

#scheduler_here.dhx_scheduler_month .dhx_cal_event_clear,
#scheduler_here.dhx_scheduler_month .dhx_cal_event_line {
    padding-top: 2px;
    padding-bottom: 5px;
    padding-right: 12px;
    text-overflow: ellipsis;
    font-weight: normal !important;
}

#scheduler_here.dhx_scheduler_month .dhx_cal_event_line {
    white-space: nowrap;
    padding-right: 2px;
}

#scheduler_here.dhx_scheduler_agenda .dhx_agenda_line span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inherit;
}

#scheduler_here .dhx_cal_tab[name="day_tab"] {
    left: 0px !important;
    width: 45px !important;
}

#scheduler_here .dhx_cal_tab[name="week_tab"] {
    left: 46px !important;
    width: 60px !important;
}

#scheduler_here .dhx_cal_tab[name="month_tab"] {
    left: 107px !important;
    width: 45px !important;
}

#scheduler_here .dhx_cal_tab[name="agenda_tab"] {
    left: 168px !important;
    width: 55px !important;
}

#scheduler_here .dhx_cal_next_button {
    right: 0px !important;
}

#scheduler_here .dhx_cal_prev_button {
    right: 47px !important;
}

#scheduler_here .dhx_cal_today_button {
    right: 109px !important;
}

#scheduler_here div.dhx_minical_icon {
    left: auto !important;
    right: 201px !important;
}

#scheduler_here.dhx_scheduler_agenda .dhx_cal_data {
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    margin-left: -1px;
}

#scheduler_here.dhx_scheduler_agenda .dhx_cal_header {
    padding-right: 1px;
}

#scheduler_here .dhx_cal_quick_info {
    background: rgba(50,50,50,.9);
}

#scheduler_here .dhx_cal_event_clear {
    color: white;
}

#scheduler_here .dhx_cal_event,
#scheduler_here .dhx_cal_event .dhx_event_move.dhx_title,
#scheduler_here .dhx_agenda_event_time,
#scheduler_here .dhx_cal_data .dhx_agenda_line span {
    cursor: pointer !important;
}

.dhx_minical_popup {
    z-index: 9999999 !important;
}

.dhx_minical_popup .dhx_mini_calendar .dhx_year_month {
    color: black;
}

.dhx_minical_popup .dhx_mini_calendar .dhx_cal_next_button {
    background: url(/assets/scheduler/imgs_dhx_terrace/arrow_right_2.png) center center no-repeat
}

.dhx_minical_popup .dhx_mini_calendar .dhx_cal_prev_button {
    background: url(/assets/scheduler/imgs_dhx_terrace/arrow_left_2.png) center center no-repeat
}

/*#scheduler_here .dhx_cal_header {
    border-left: 1px solid lightgrey;
}*/

#scheduler_here .dhx_month_head,
#scheduler_here .dhx_month_body {
    background-color: rgba(23, 53, 85, 0.81);
    color: lightgrey;
}

#scheduler_here .dhx_after .dhx_month_body, 
#scheduler_here .dhx_after .dhx_month_head, 
#scheduler_here .dhx_before .dhx_month_body, 
#scheduler_here .dhx_before .dhx_month_head {
    background-color: rgba(23, 53, 85, 0.81);
    color: grey;
}

#scheduler_here .dhx_now .dhx_month_body, 
#scheduler_here .dhx_now .dhx_month_head {
    background-color: #27507d;
    color: white;
    font-weight: bold;
}

.evenement_en_erreur {
    opacity: 0.5 !important;
}

#scheduler_here .dhx_cal_header > .dhx_scale_bar > a span {
    pointer-events: none !important;
}

#scheduler_here .dhx_cal_event div,
#scheduler_here .dhx_cal_event_line {
    background-color: #57b0f9 !important;
    /*border-color: #57b0f9 !important;*/
}

#scheduler_here .dhx_now_time {
    border-bottom: 10px solid yellow;
    margin-top: -6px;
}

.dhtmlXTooltip.tooltip {
    background-color: lightgrey !important;
    color: black !important;
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    z-index: 99999999 !important;
    /*left: auto !important;
    right: auto !important;*/
}

#scheduler_here .dhx_month_link a {
    color: lightgrey;
}

#scheduler_here .dhx_v_border {
    left: 189px !important;
}
#scheduler_here .dhx_agenda_line div.dhx_agenda_event_time {
    width: 190px !important;
}
#scheduler_here.dhx_scheduler_agenda .dhx_cal_header .dhx_agenda_line > div {
    width: 190px !important;
}

.dhx_cal_cover {
    opacity: 0.5 !important;
    z-index: 1000 !important;
}

.dhx_cal_light.dhx_cal_light_wide.dhx_cal_light_rec {
    z-index: 999999;
}

div.dhx_modal_cover,
div.dhtmlx_modal_box.dhtmlx-alert {
    z-index: 9999999 !important;
}

@media screen and (max-width: 991px) {
    #scheduler_here {
        margin-top: 40px;
    }
    #scheduler_here .dhx_cal_date {
        margin-top: 40px;
    }
    #scheduler_here .dhx_cal_navline {
        margin-top: -40px;
    }
    #scheduler_here.dhx_scheduler_month .dhx_month_body {
        height: 20px !important;
    }
    .week_scale_date_date_et_mois_a_masquer {
        display: none;
    }
    /*#scheduler_here.dhx_scheduler_week,
    #scheduler_here.dhx_scheduler_day {
        margin-left: 0px !important;
    }
    #scheduler_here.dhx_scheduler_week > div.dhx_cal_navline,
    #scheduler_here.dhx_scheduler_day > div.dhx_cal_navline {
        margin-left: 0px !important;
    }
    #scheduler_here.dhx_scheduler_week .dhx_cal_data,
    #scheduler_here.dhx_scheduler_day .dhx_cal_data {
        border-right: 1px solid lightgrey !important;
    }*/
}

@media screen and (max-width: 564px) {
    .week_scale_date_jour_et_date_et_mois_a_masquer {
        display: none;
    }
    #scheduler_here .dhx_cal_quick_info {
        left: -30px !important;
        z-index: 999999;
    }
    #scheduler_here .dhx_v_border {
        left: 139px !important;
    }
    #scheduler_here .dhx_agenda_line div.dhx_agenda_event_time {
        width: 140px !important;
    }
    #scheduler_here.dhx_scheduler_agenda .dhx_cal_header .dhx_agenda_line > div {
        width: 140px !important;
    }
    #scheduler_here {
        margin-top: 80px;
    }
    #scheduler_here .dhx_cal_tab[name="day_tab"] {
        top: -26px !important;
    }
    #scheduler_here .dhx_cal_tab[name="week_tab"] {
        top: -26px !important;
    }
    #scheduler_here .dhx_cal_tab[name="month_tab"] {
        top: -26px !important;
    }
    #scheduler_here .dhx_cal_tab[name="agenda_tab"] {
        top: -26px !important;
    }
    /*#scheduler_here .dhx_cal_next_button {
        top: -26px !important;
    }
    #scheduler_here .dhx_cal_prev_button {
        top: -26px !important;
    }
    #scheduler_here .dhx_cal_today_button {
        top: -26px !important;
    }
    #scheduler_here div.dhx_minical_icon {
        top: -26px !important;
    }*/
}