﻿/*  ~/Extensions/Fullcalendar.css
    
    Jenzabar extensions to the fullcalendar framework.

    Index:
        Widget standards
        General slots
        Available slots
        Unavailable slots
        Toolbar and buttons
        Grid
        Timeslot item
        Popover
        Agenda List

 */


/******************************************
     Widget standards
 ******************************************/
.fc-widget-header,
.fc-widget-content {
    border: 1px solid #cbcbcb;
}

.fc-view-container {
    margin-bottom: 1em;
}

/******************************************
     General slots
 ******************************************/
.fc-agenda-slots tr.fc-minor th,
.fc-agenda-slots tr.fc-minor td {
    border-top-style: dashed;
}

.fc-ltr .fc-basic-view .fc-day-number {
    text-align: left;
    padding-left: 3px;
}

/******************************************
     Available slots
 ******************************************/
.fc-available {
    background: #fff;
    border-right: 0px solid #cbcbcb;
    border-left: 0px solid #cbcbcb;
}

.fc-today.fc-available {
    background: #fcf8e3;
    border-right: 0px solid #cbcbcb;
    border-left: 0px solid #cbcbcb;
}

/******************************************
     Unavailable slots
 ******************************************/
.fc-unavailable {
    background: -webkit-repeating-linear-gradient(135deg, rgba(245,245,245,.96), rgba(245,245,245,.96) 7px, 
                                                  rgba(236,236,236,.93) 7px, rgba(236,236,236,.93) 14px, rgba(245,245,245,.96) 14px) top left;

    background: repeating-linear-gradient(135deg, rgba(245,245,245,.96), rgba(245,245,245,.96) 7px, 
                                          rgba(236,236,236,.93) 7px, rgba(236,236,236,.93) 14px, rgba(245,245,245,.96) 14px) top left;

    background-clip: padding-box;

    border-color: #cbcbcb;
    margin-right: -1px;
}

.fc-today.fc-unavailable,
.fc-today-jzb.fc-unavailable {
    background: -webkit-repeating-linear-gradient(135deg, rgba(250,246,230,.5), rgba(250,246,230,.5) 7px, rgba(233,229,211,.5) 7px, rgba(233,229,211,.5) 14px, rgba(250,246,230,.5) 14px) top left;
    background: repeating-linear-gradient(135deg, rgba(250,246,230,.5), rgba(250,246,230,.5) 7px, rgba(233,229,211,.5) 7px, rgba(233,229,211,.5) 14px, rgba(250,246,230,.5) 14px) top left;
}

.fc-unavailable-partial {
    background-image: url("../../images/bg-partially-available.svg");
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 2em;
}

.fc-today.fc-unavailable-partial {
    background-image: url("../../images/bg-partially-available.svg");
    background-color: #fcf8e3;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 2em;
}

/******************************************
     Toolbar and buttons
 ******************************************/
.fc-toolbar h2 {
    display: inline-block;
    padding-top: .4em;
    font-size: medium;
    font-weight: bold;
}

    .fc:not(#HeaderCalendarSection) .fc-toolbar h2 {
        width: 12.9em;
    }

    .fc#HeaderCalendarSection .fc-toolbar h2 {
        width: 7.7em;
    }

.fc-toolbar {
    position: relative;
    background-color: #f2f2f2;
    padding: 0.5em 0 0.5em 0;
    margin-top: 1em;
}

    /* Display default icon for disabled look, to show it's not clickable.
       Also, set its color transparent to hide it.
    */
    .fc-toolbar button[disabled] {
        cursor: default;
        color: transparent;
    }

.fc-button {
    border: 0;
    background-image: none;
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

.fc-button.dropdown-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.fc-button.dropdown-toggle span.caret {
    border-top-color: #000;
    display: inline-block !important;
}

.fc-button.dropdown-toggle:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

.fc-prev-button,
.fc-next-button {
    padding: 0 !important;
}

.fc-prev-button .fc-icon-left-single-arrow,
.fc-next-button .fc-icon-right-single-arrow {
    color: #428bca;
    font-size: 1.2em;
    font-weight: bold;
}

.fc-icon-left-single-arrow:after {
    margin: 0; 
}

.fc-icon-right-single-arrow:after {
    margin: 0; 
}

.fc-today-button {
    color: #428bca;
}

.fc-selectView-button,
.fc-selectTimelineView-button {
    padding-left: 0.5em;
}

    .fc-selectView-button .caret,
    .fc-selectTimelineView-button .caret {
        border-top-color: black;
    }

    .fc-selectView-button button {
        width: 5.8em;
    }

.fc-actions-button {
    padding-right: 0.5em;
}

@media screen and (max-width: 960px) {
    .fc:not(#UserHomeCalendarCenter) .fc-toolbar h2 {
        padding-top: .6em;
        font-size: small;
    }
}

@media screen and (max-width: 550px) {
    .fc-toolbar {
        min-height: 5em;
        max-height: 5em;
    }

    .fc-toolbar h2 {
        padding-top: .3em;
        font-size: smaller;
    }

    .fc-left, .fc-right {
        position: relative;
        top: 2em;
        z-index: 5;
    }

    .fc-center {
        max-width: 18em;
    }
}

@media screen and (max-width: 452px) {
    .fc-center {
        bottom: 2em;
        position: relative;
    }
    .jzb-fullcallendar-scheduler .fc-center {
        bottom: -1em;
    }
}

/******************************************
     Grid
 ******************************************/

/* Disable the padding at the bottom of the day grid section displaying items, because it interferes with hover behavior. */
.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
    padding-bottom: 0em;
}

.fc-allday-available {
    background-color: white;
}

.fc-time-grid-event .fc-bg {
    opacity: 0;
}

.fc-show-plus-sign {
    position: relative;
}

.fc-month-view .simulate-hover,
.fc-month-view .fc-day-grid .fc-bg td.fc-show-plus-sign:hover {
    background: url("../../images/plus-sign-hover-success.svg") no-repeat scroll 97% 97% / 1.1em rgba(0, 0, 0, 0);
}

/******************************************
     Timeslot item
 ******************************************/
.fc-event {
    background-color: #6aa4c1;
    border: 1px solid #fff;
    cursor: pointer;
    min-height: 0;
}

    .fc-event,
    .fc-event:hover,
    .ui-widget .fc-event {
        color: black;
        text-decoration: none; /* if <a> has an href */
    }

.fc-event {
    border-radius: 0px;
}

.fc-day-grid-event {
    margin: 0px 1px 1px 1px; /* spacing between events and edges */
    padding: 0 1px;
}

.jzb-chevron-right {
    padding-left: 0.3em;
    padding-right: 0.1em;
}

.jzb-chevron-left {
    padding-left: 0.1em;
    padding-right: 0.3em;
}

.triangle-topright {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 2em solid white;
    border-right: 2em solid transparent;
    background: -webkit-repeating-linear-gradient(135deg, #f5f5f5, #f5f5f5 25%, #e4e4e4 25%, #e4e4e4 50%, #f5f5f5 50%) top left fixed;
    background: repeating-linear-gradient(-45deg, #f5f5f5, #f5f5f5 25%, #e4e4e4 25%, #e4e4e4 50%, #f5f5f5 50%) top left fixed;
    -webkit-background-size: 8px 8px;
    background-size: 8px 8px;
}

.triangle-topright-today {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 2em solid #fcf8e3;
    border-right: 2em solid transparent;
    background: -webkit-repeating-linear-gradient(135deg, #fffbeb, #fffbeb 25%, #e9e5d3 25%, #e9e5d3 50%, #fffbeb 50%) top left fixed;
    background: repeating-linear-gradient(-45deg, #fffbeb, #fffbeb 25%, #e9e5d3 25%, #e9e5d3 50%, #fffbeb 50%) top left fixed;
    -webkit-background-size: 8px 8px;
    background-size: 8px 8px;
}

/******************************************
     Popover
 ******************************************/
.fc-unthemed .fc-popover {
    background-color: #eceef1;
    background: #eceef1;
}

.fc-popover .fc-widget-header {
    border-bottom: none;
    border-top-left-radius: .4em;
    border-top-right-radius: .4em;
    font-weight: bold;
}

.fc-unthemed .fc-popover .fc-header .fc-close {
    font-weight: normal;
}

.fc-popover .fc-widget-content {
    border-top: none;
    border-bottom-left-radius: .4em;
    border-bottom-right-radius: .4em;
}

.popover.top > .arrow:after {
    border-top-color: #eceef1;
}

/******************************************
     Agenda List
 ******************************************/
.fc-agendaList {
    list-style: none;
    padding-left:0;
}

.fc-no-calander {
    color: #846e90;
    text-align: center;
    font-size: 1.2em;
}

.fc-agendaList-dayHeader a:hover,
.fc-agendaList-dayHeader {
    text-decoration: none;
}

.fc-agendaList-date-hidden {
    display: none;
}

.fc-event-time {
    width: 32%;
    vertical-align: top;
    display: inline-block;
}

.fc-agendaList-eventDetails {
    vertical-align: top;
    display: inline-block;
}

.fc-eventlist-title:hover,
.fc-eventlist-title {
    width: 66%;
    vertical-align: top;
    display: inline-block;
    padding: 4px;
    text-decoration: none;
    position: absolute;
}

.fc-agendaList-item {
    padding-top: 7px;
    padding-bottom: 7px;
}

.fc-list-view {
    overflow-y: auto;
    overflow-x: hidden;
}

.TimeIndicatorPosition:hover,
.TimeIndicatorPosition {
    right: .2%;
    width: 81%
}


.fc-view {
    vertical-align: middle;
}

.fc-head .fc-time-area .fc-scroller-clip .fc-scroller .fc-scroller-canvas .fc-content .fc-chrono th {
    text-align: center !important;
}

.timeline-cell {
    display: table-cell;
    height: 37px;
    border-collapse: collapse;
    width: 40px;
}

.fc-time-area .fc-scroller .fc-content tr:last-child .timeline-cell {
    border-bottom: 1px solid #ddd;
}

.fc-time-area .fc-scroller .fc-content tr .timeline-cell[data-date$=":00:00"] {
    border-left: 1px solid #ddd;
}

.fc-time-area .fc-scroller .fc-content tr .timeline-cell[data-date$=":30:00"] {
    border-left: 1px dotted #ddd;
}

.fc-view-container tr{
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.fc-time-area .fc-scroller .fc-content .fc-rows table tbody tr[data-resource-id] td.fc-widget-content div:first-child:not(.time-line-cell) {
    float: left;
}

.fc-timeline-event {
    overflow: hidden;
}

.fc-resource-area .fc-content table th:not(:first-child):not(:nth-child(2)) {
    white-space: normal;
    text-align: center;
}

.fc-resource-area .fc-content table .timeline-select-col {
    width: 56px;
    min-width: 56px;
}

.fc-resource-area .fc-content table .timeline-select-button {
    padding:6px;
    text-align:center;
}

.locationTitle {
    font-size: 1em;
    color: #428BCA;
    cursor: pointer;
}

.fc-time-area .fc-content table tbody tr:last-child td .time-line-cell {
    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(203, 203, 203);
}