.wcm-calendar, .wcm-calendar *
 {
    font-family: "OpenSans-Regular", OpenSans, "PT Sans", Arial, sans-serif !important;
}

.wcm-calendar .wcm-controls .wcm-week-picker > h3,
.wcm-calendar .wcm-calendar-list > h3
 {
    font-family: "OpenSans-Regular", "OpenSans-SemiBold", OpenSans, "PT Sans", Arial, sans-serif !important;
    font-weight: bold;
}

span.wcm-calendar-list-zero-title,
.wcm-week-picker-month > span {
    font-family: "OpenSans-Light", OpenSans, "PT Sans", Arial, sans-serif !important;
}

.wcm-week-picker-month {
    white-space: nowrap;
}
.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wcm-calendar {
 position:relative;
 top: 0;
 left: 0;
 clear: both;
 min-height: 600px;
 box-sizing: border-box;
 color: #000;
 background: #fff;
}

.wcm-calendar *,
.wcm-calendar *:before,
.wcm-calendar *:after {
 box-sizing: border-box !important;
}

.wcm-calendar .wcm-controls {
    z-index: 10;
    position: relative;
    top: 0;
    color: #000;
    background: #fff;
}

.wcm-calendar .wcm-controls.wcm-stuck {
    overflow: visible;
    }

.wcm-calendar .wcm-controls.wcm-stuck:after,
.wcm-calendar .wcm-controls.wcm-controls-day:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height:5px;
    width: 100%;
    border-top: solid 1px #cdcdcd;
    box-sizing: border-box;
    background: rgba(0,0,0,0.05);
    }

.wcm-calendar .wcm-controls.wcm-controls-day.wcm-calendar-allday:after {
    bottom: 0;
    border-top: none;
    border-bottom: solid 1px #cdcdcd;
    }



.wcm-calendar.wcm-spinner:after {
    top: 300px;
    }

.wcm-calendar::after {
    content: '';
    display: block;
    clear: both;
    }


.wcm-calendar .wcm-calendar-viewpicker {
    position: relative;
    text-align: left;
    margin: 0px 0px 20px;
    width:100%;
}

.wcm-calendar.wcm-SM .wcm-calendar-viewpicker {
    width: auto;
}

.wcm-calendar.wcm-LG .wcm-calendar-viewpicker {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    margin: 0;
    z-index: 1;
    display: block;
}

.wcm-calendar.wcm-LG .wcm-segmented-control-radiogroup {
   
}

.wcm-calendar.wcm-LG .wcm-segmented-control-selectbox {
    display: none;
}

.wcm-calendar-list > ul {
overflow-y: auto;
overflow-x: visible;
list-style: none;
margin: 0 0 25px 0;
padding: 0;
}

.wcm-calendar-list > ul li {
    margin: 0 5px;
    }

.wcm-calendar-list > h3,
.wcm-calendar .wcm-controls .wcm-week-picker > h3 {
    font-size: 14px;
    font-weight: bold;
    color: #262626 !important;
    margin: 0 0 0 5px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcm-calendar .wcm-controls .wcm-week-picker > h3 {
    text-align: left;
    margin: 0 0 5px 0;
}

a.wcm-calendar-event {
    border: solid 1px #cdcdcd;
    border-left: solid 5px #fff;
    background: #fff;
    min-height: 90px;
    display: block;
    width: 100%;
    margin: 20px 0;
    border-radius: 2px;
    text-align: left;
    position: relative;
    top: 0;
    left: 0;
    padding: 10px 10px 20px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 19px;
    color: #262626;
    vertical-align: top;
    overflow: visible;
    text-decoration: none;
}

a.wcm-calendar-event:before {
    content: '';
    border: solid 4px rgba(0,0,0,0.05);
    position: absolute;
    top: -5px;
    left: -9px;
    right: -5px;
    width: auto;
    height: auto;
    bottom: -5px;
    border-radius: 6px;
    z-index: 1;
    }

a.wcm-calendar-event:after {
    content: '';
    width: 5px;
    height: 1px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    margin-left: -2px;
    background: #aaa;
    border-top: groove 2px #fff;
    border-bottom: ridge 2px #fff;
    box-sizing: content-box;
    opacity: 0.8;
    }

.wcm-calendar .wcm-calendar-list-day > h3,
a.wcm-calendar-event > div,
a.wcm-calendar-event > h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height:18px;
    }

.wcm-calendar-event-source {
    font-size: 12px;
    background: #fff;
}

.wcm-calendar-event-title {
    font-weight: 600;
    background: #fff;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.wcm-calendar-event-timespan {
    color: #666666;
    background: #fff;
}


span.wcm-calendar-list-zero-title,
span.wcm-calendar-list-zero-desc {
    text-align: center;
    display: block;
    color: #767676;
}

span.wcm-calendar-list-zero-title {
    margin-top: 50px;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.14;
}

span.wcm-calendar-list-zero-desc {
    font-size: 14px;
    line-height: 2.93;
    margin-bottom: 100px;
}


/* ------------- month view -------------- */

/* mobile (SM) */

.wcm-calendar ul.wcm-calendar-month-header {
    display: none;
    }

.wcm-calendar ul.wcm-calendar-month-view li.wcm-calendar-prev-month,
.wcm-calendar ul.wcm-calendar-month-view li.wcm-calendar-next-month {
    display: none;
}

.wcm-calendar ul.wcm-calendar-month-view {
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    clear: both;
    border-bottom: solid 1px #cdcdcd;
    border-left: solid 1px #cdcdcd;
}

 .wcm-calendar ul.wcm-calendar-month-view:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
 }


.wcm-calendar ul.wcm-calendar-month-view > li {
     margin: 0;
     padding: 0;
     border: none;
 }

 .wcm-calendar ul.wcm-calendar-month-view > li > ol {
    list-style: none;  
    margin: 0;
    padding: 0;
    background: #fff;
 }

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li {
    margin: 0; 
    height: 77px;
    border: solid 1px #cdcdcd;
    border-bottom: none;
    border-left: none; 
    list-style: none;
    box-sizing: border-box;
    counter-increment: days_of_month;
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
    cursor: pointer;
    padding: 5px 40px 5px 60px;
    overflow: hidden;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlPSIjNjY2NjY2IiBmaWxsPSJub25lIiBkPSJNMTQuNSAyMi40OTdsOS0xMC41LTktMTAuNSI+PC9wYXRoPjwvc3ZnPg==") right 20px center no-repeat;
}

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li[data-has-more] > div {
    padding-right: 50px;
    }


.wcm-calendar ul.wcm-calendar-month-view > li > ol > li > div:nth-child(5) {
    display: none;
    }

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li > span.wcm-calendar-more:before {
    content: attr(data-narrow-more);
    position: absolute;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666;
    font-size: 10.5px;
    top: 50%;
    margin-top: -7px;
    bottom: 2px;
    left: 0;
    width: 100%;
    padding-right: 40px;
    vertical-align: middle;
    text-align: right;
    }


.wcm-calendar ul.wcm-calendar-month-view >li > ol > li:before {
        /* TODO: simplify this */

     content: attr(data-dow-abbr);
     position: absolute;
     top: 0;
     left: 0;
     width: 55px;
     height: 100%;

     font-size: 14px;
     font-weight: 600;
     text-align: right;
     line-height: 1.4em;

     background: #f1f1f1;
     display: block;
     padding: 7px 10px;
     box-sizing: border-box;
     color: #262626;
     }

.wcm-calendar ul.wcm-calendar-month-view >li > ol > li:after {
        /* TODO: simplify this */

     content: counter(days_of_month) ;
     position: absolute;
     top: 20px;
     left: 0;
     width: 55px;

     font-size: 18px;
     font-weight: 600;
     text-align: right;
     line-height: 1.4em;

     display: block;
     padding: 7px 10px;
     box-sizing: border-box;
     color: #262626;
     }

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected {
    padding: 4px 40px 5px 58px;
    border: solid 2px #c56fd5;
}

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected:before,
.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected:after {
    width: 53px;
    padding-top: 6px;
    }


.wcm-calendar ul.wcm-calendar-month-view > li > ol > li:before:first-line {
    font-size: 14px;
    }

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li > div > span {
    font-weight: bold;
    }

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-month-today:before {
     background: #000;
     color: #fff;
}

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-month-today:after {
     color: #fff;
 }


/* tablet (MD) */

.wcm-calendar.wcm-MD ul.wcm-calendar-month-header {
    display: block;
    list-style: none;
    font-weight: bold; 
    width: auto;
    margin: 0;
    padding: 0;
}

.wcm-calendar.wcm-MD ul.wcm-calendar-month-header > li {
     width: 14.285714% !important;
     display: inline-block;
     text-align: right;
     padding: 5px 10px;
     box-sizing: border-box;
 }

 .wcm-calendar.wcm-MD ul.wcm-calendar-month-header > li abbr {
     text-decoration: none;
     color: #262626;
 }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view li.wcm-calendar-prev-month,
.wcm-calendar.wcm-MD ul.wcm-calendar-month-view li.wcm-calendar-next-month {
    display: block;
}

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li.wcm-calendar-prev-month > ol > li,
.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li.wcm-calendar-next-month > ol > li {
    background: #eee;
}


.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li {
    width: 14.285714% !important;
    height: 126px;
    float:left; 
    padding: 29px 1px 2px 2px;
    background: #fff;
}

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li[data-has-more] > div {
    padding-right: 0;
    }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected {
     padding: 28px 0 0 0;
 }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li > div:nth-child(5) {
        display: block;
    }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li > span.wcm-calendar-more:before {
    content: attr(data-wide-more);
    top: auto;
    padding-right: 0;
    vertical-align: bottom;
    text-align: center;
}

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view >li > ol > li:before {
    /* TODO: simplify this */
     content: counter(days_of_month);
     position: absolute;
     top: 2px;
     right: 2px;
     left: auto;
     font-size: 18px;
     font-weight: 600;
     background: none;
     width: 30px;
     height: 30px;
     line-height: 30px;
     text-align: center;
     vertical-align: middle;
     z-index: 100;
     padding: 0;
 }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected:before {
    top: 1px;
    right: 1px;
    }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li:after {
    display: none;
}

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-month-today:before {
     border-radius: 50%;
     background: #000;
 }




/* screen (LG) */

.wcm-calendar ul.wcm-calendar-month-view > li > ol > li > div {
    font-size: 12px;
    white-space: nowrap;
    padding: 0 0 0 8px;
    margin: 0 1px;
    color: #262626;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    top: 0;
    left: 0;
    -ms-user-select: none;
    user-select: none;
    -moz-user-select: none;
}

.wcm-calendar.wcm-LG ul.wcm-calendar-month-view > li > ol > li > div {
    margin: 0 5px;
    
}


.wcm-calendar ul.wcm-calendar-month-view > li > ol > li > div:before {
    content: '';
    border-left-style: solid;
    border-left-width: 4px;
    border-left-color: inherit;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 4px;
    height: 10px;
}



.wcm-calendar ul.wcm-calendar-month-view > li > ol > li.wcm-calendar-selected:after {
    bottom: 0;
    }

.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li.wcm-calendar-prev-month > ol > li:before,
.wcm-calendar.wcm-MD ul.wcm-calendar-month-view > li.wcm-calendar-next-month > ol > li:before {
    color: #cdcdcd;
}


/* day view */
.wcm-calendar .wcm-calendar-day-allday {
    border-bottom: solid 1px #cdcdcd;
    position: relative;
    top: 0;
    left: 0;
    padding: 4px 0 0 80px;
    margin-top: -1px;
}

.wcm-calendar .wcm-calendar-day-allday > div {
    padding: 20px 5px;
    margin-left: -5px;
    overflow-y: auto;
    overflow-x: visible;
    max-height: 235px;
    transition: max-height .2s, padding .2s;
    }

.wcm-calendar .wcm-stuck .wcm-calendar-day-allday > div {
    padding: 5px 5px;
    max-height: 105px;
    transition: max-height .2s, padding .2s;
    }


.wcm-calendar .wcm-calendar-day-allday:before {
    content: 'Today';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: solid 1px #cdcdcd;
    color: #262626;
}

.wcm-calendar .wcm-calendar-day-allday:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    content: '';
    height:5px;
    background: rgba(0,0,0,0.05);
    border-top: solid 1px #cdcdcd;
    }

.wcm-calendar .wcm-calendar-day-allday a.wcm-calendar-event {
    min-height: 27px;
    height: 27px;
    padding: 2px 10px;
    margin: 10px 0;
    }

.wcm-calendar .wcm-calendar-day-allday a.wcm-calendar-event:after {
    display: none;
    }


.wcm-calendar .wcm-calendar-day-allday a.wcm-calendar-event > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }

.wcm-calendar .wcm-calendar-day-allday .wcm-calendar-event-source {
    display: none;
}

.wcm-calendar .wcm-calendar-day-allday .wcm-calendar-event-title {
}

.wcm-calendar .wcm-calendar-day-allday .wcm-calendar-event-timespan {
    display: none;
}

.wcm-calendar .wcm-calendar-day {
    overflow-y: auto;
}

.wcm-calendar .wcm-calendar-day:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    content: '';
    height:5px;
    background: rgba(0,0,0,0.05);
    border-bottom: solid 1px #cdcdcd;
    }



.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > span {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
    top: 0;
    left: 0;
}

.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > span:before {
    content: attr(data-time);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-right: solid 1px #cdcdcd;
    padding-right: 15px;
    color: #262626;
}

/*SCB 7805 - Changed color of the element*/
    .wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > span.wcm-past:before {
        color: #666666;
    }

.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > span:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 80px;
    right: 0;
    height: 0;
    border-bottom: solid 1px #cdcdcd;
    }

    /*SCB 7805 - Changed color of the element*/
    .wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > span.wcm-past:after {
        border-bottom-style: dashed;
        border-bottom-color: #666666;
    }


.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > .wcm-current-time-marker {
    position: absolute;
    height: 20px;
    top: -100px;
    margin-top: 10px;
    z-index: 1;
    border-bottom: solid 2px #000;
}

.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > .wcm-current-time-marker:before {
    background: #000;
    color: #fff;
    font-size: 12px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 65px;
    padding: 0 5px;
    top: 9px;
    height: 20px;
    text-align: center;
    overflow: ellipsis;
    white-space: nowrap;
    border-right: none;
    }

.wcm-calendar .wcm-calendar-day span.wcm-calendar-timeline > .wcm-current-time-marker:after {
    content: '';
    width: 20px;
    height: 20px;
    background: #000;
    transform: translate(-10px, -10px) rotate(45deg) scale(0.7);
    top: 19px;
    left: 65px;
    border: none;
    z-index: -1;
    }

.wcm-calendar .wcm-calendar-day-eventbox {
    border: none;
    position: absolute;
    top: 30px;
    left: 80px;
    right: 0;
    bottom: 0;
    overflow: visible;
}

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event {
    position: absolute;
    margin: 0;
    min-height: 30px;
    vertical-align: top;
    padding: 4px;
    padding-top: 8px;
    }

.wcm-calendar.wcm-MD .wcm-calendar-day-eventbox > a.wcm-calendar-event {
    padding-left: 8px;
}

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event .wcm-calendar-event-source {
    display: none;
    }

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event > div {
    text-overflow: clip;
    }

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-short {
    padding-top: 4px;
}

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-short:after {
    display: none;
    }

    .wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-short .wcm-calendar-event-timespan {
        display: inline-block;
        right: 5px;
        position: absolute;
        width: 50%;
        text-align: right;
    }

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-medium .wcm-calendar-event-timespan,
.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-long .wcm-calendar-event-timespan {
    white-space: normal;
    }

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-long .wcm-calendar-event-source {
    display: block;
    white-space: normal;
    max-height: 60px;
    }

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-short .wcm-calendar-event-title {
    display: inline-block;
    width: 50%;
}

.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-medium .wcm-calendar-event-title,
.wcm-calendar .wcm-calendar-day-eventbox > a.wcm-calendar-event-long .wcm-calendar-event-title {
    white-space: normal;
    max-height: 120px;
    }

/* calendar decorations */

.wcm-calendar-titlebar {
    border-bottom: 2px solid #EAEAEA;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 10px;
    align-items: baseline;
}

.wcm-calendar-titlebar-buttons {
    padding-top: 5px;
}

.wcm-calendar-titlebar-buttons button {
    text-indent: -100em;
    overflow: hidden;
    height: 16px;
    width: 16px;
    border:  none;
    cursor: pointer;
    float: left;
    margin-right: 13px;
    background-repeat: no-repeat;
}

    .wcm-calendar-titlebar-buttons button:last-child {
        margin-right: 0;
    }

.wcm-calendar-printbtn {
    background: url(../../../../GlobalAssets/Images/Ultra/print-default.svg);
}

.wcm-calendar-exportbtn {
    background: url(../../../../GlobalAssets/Images/Ultra/export-default.svg);
}

.wcm-calendar-myeventsbtn {
    background: url(../../../../GlobalAssets/Images/Ultra/calendar-default.svg);
}

.wcm-calendar-rssbtn {
    background: url(../../../../GlobalAssets/Images/Ultra/connection-default.svg);
}

.wcm-calendar-icalbtn {
    background: url(../../../../GlobalAssets/Images/Ultra/linked-default.svg);
}

.wcm-calendar-customize {
    margin-top: 10px;
}

.wcm-calendar-customize-btn[aria-expanded="false"] {
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 15px;
    background-repeat: no-repeat;
    background-image: url(../../../../GlobalAssets/Images/Icons/16/toggle-closed.png);
    background-position: center left;
}

.wcm-calendar-customize-btn[aria-expanded="true"] {
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 15px;
    background-repeat: no-repeat;
    background-image: url(../../../../GlobalAssets/Images/Icons/16/toggle-open.png);
    background-position: center left;
}


/* temporarily target override of calendar font for AF button, should remove !important from calendar font declarations to allow natural cascade of styles*/
.wcm-alternative-formats {
    font-family: 'Schoolwires-Icon-Font' !important;
}
