
/*Base styles*/

.fc-calendar-container {
        position: relative;
        height: 400px;
        width: 400px;
        background-color: var(--ice-blue);
}

.fc-calendar {
        width: 100%;
        height: 100%;
}

.fc-calendar .fc-head {
        height: 30px;
        line-height: 30px;
        background: var(--blue);
        color: var(--white);
}

.fc-calendar .fc-body {
        position: relative;
        width: 100%;
        height: 100%;
        height: -moz-calc(100% - 30px);
        height: -webkit-calc(100% - 30px);
        height: calc(100% - 30px);
        border: 2px solid var(--ice-blue);
        background-color: var(--ice-blue);
}

.fc-calendar .fc-row {
        width: 100%;
        border-bottom: 2px solid var(--ice-blue);
}

.fc-four-rows .fc-row  {
        height: 25%;
}

.fc-five-rows .fc-row  {
        height: 20%;
}

.fc-six-rows .fc-row {
        height: 16.66%;
        height: -moz-calc(100%/6);
        height: -webkit-calc(100%/6);
        height: calc(100%/6);
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
        float: left;
        height: 100%;
        width:  14.28%; /* 100% / 7 */
        /*width: -moz-calc(100%/7);
        width: -webkit-calc(100%/7);
        width: calc(100%/7);*/
        position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div {
        width:  14.2%;
}

.fc-calendar .fc-row > div {
        border-right: 2px solid var(--ice-blue);
        padding: 4px;
        overflow: hidden;
        position: relative;
}

.fc-calendar .fc-head > div {
        text-align: center;
}

.fc-calendar .fc-row > div > span.fc-date {
        position: absolute;
        width: 30px;
        height: 20px;
        font-size: 15px;
        line-height: 20px;
        font-weight: 600;
        color: var(--ice-blue);
        bottom: 5px;
        right: 5px;
        text-align: right;
}

.fc-calendar .fc-row > div time {
        display: none;
}

.fc-calendar .fc-row > div > span.fc-weekday {
        padding-left: 5px;
        display: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: var(--ice-blue);
}

.fc-calendar .fc-row > div.fc-out {
        opacity: 0.6;
}

.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
        border-right: none;
}

.fc-calendar .fc-row:last-child {
        border-bottom: none;
}


/*Custom Styles*/

/* Custom calendar elements */

.custom-calendar-wrap {
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        background-color: var(--ice-blue);
}

.custom-inner {
        background-color: var(--white);
        border: 0;
}

.custom-inner:before,
.custom-inner:after  {
        content: '';
        width: 99%;
        height: 50%;
        position: absolute;
        /*background: var(--white);*/
        bottom: -4px;
        left: 0.5%;
        z-index: -1;
}

.custom-inner:after {
        content: '';
        width: 98%;
        bottom: -7px;
        left: 1%;
        z-index: -2;
}

.custom-header {
        padding:10px 20px;
        height: 70px;
        position: relative;
        background-color: var(--blue);
}

.custom-month {
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.2;
}

.custom-header h3,
.custom-header p {
        text-align: center;
}

.custom-header h3 {
        color: var(--white);
        font-weight: 700;
        margin:0;
        padding-bottom:0;
}

.custom-header p {
        color: var(--white);
}

.custom-header nav span {
        position: absolute;
        top: 20px;
        width: 30px;
        height: 30px;
        color: transparent;
        cursor: pointer;
        margin: 0 1px;
        font-size: 20px;
        line-height: 30px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
}

.custom-header nav span:first-child {
        left: 5px;
}

.custom-header nav span:last-child {
        right: 5px;
}

.custom-header nav span.custom-prev {
        background: url(../../images/arrow-left-white.svg) no-repeat center;
        background-size: 12px;
        }

.custom-header nav span.custom-next {
        background: url(../../images/arrow-right-white.svg) no-repeat center;
        background-size: 12px;
        }

.custom-content-reveal {
        background: var(--white);
        /*border: 2px solid var(--ice-blue);*/
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 100;
        top: 100%;
        left: 0px;
        text-align: left;
        overflow-y: auto;
        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition: all 0.6s ease-in-out;
        -o-transition: all 0.6s ease-in-out;
        -ms-transition: all 0.6s ease-in-out;
        transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
        position: absolute;
        top: 20px;
        right: 10px;
        width: 20px;
        height: 20px;
        text-align: center;
        cursor: pointer;
        line-height: 13px;
        padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
        content: 'x';
        font-size: 18px;
        color: var(--white);
}

.custom-content-reveal a,
.custom-content-reveal span {
    display: block;
}

.custom-content-reveal span {
    padding: .5rem 1.5rem;
    text-align: left;
    line-height: 1.4;
}


.custom-content-reveal h4 {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 300;
        /*letter-spacing: 3px;*/
        padding: 1.25rem 1.5rem;
        background: var(--blue);
       	color: var(--white);
        margin-top: 0;
        margin-bottom: 10px;
}

.custom-content-reveal span {
        color: var(--black);
}

.custom-content-reveal a {
    color: var(--blue);
    text-decoration:none;
    display: inline-block;
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.375rem;
}

.custom-content-reveal time{
        display: none;
}

.custom-content-reveal a:hover {
        color: var(--black);
}

/* Modifications */

.fc-calendar-container {
        height: 300px;
        width: auto;
        padding: 6px;
}

.fc-calendar .fc-head {
        background: transparent;
        color: var(--white);
        font-weight: bold;
        text-transform: uppercase;
        font-size: 12px;
}

.fc-calendar .fc-row > div {
        background: var(--white);
        /*cursor: pointer;*/
}

.fc-calendar .fc-row > div:empty {
        background: transparent;
        cursor: default;
}

.fc-calendar .fc-row > div > span.fc-date {
        top: 50%;
        left: 50%;
        text-align: center;
        margin: -10px 0 0 -15px;
        color: var(--black);
        font-weight: 400;
        pointer-events: none;
}

.fc-calendar .fc-row > div > span.fc-emptydate {
        color: var(--ice-blue);
}

.fc-calendar .fc-row > div.fc-content { cursor: pointer; }

.fc-calendar .fc-row > div.fc-content:after {
        content: "";
        text-align: center;
        width: 20px;
        height: 2px;
        margin-left: -10px;
        position: absolute;
        background-color: var(--blue);
        font-size: 70px;
        line-height: 20px;
        left: 50%;
        bottom: 8px;
}

/*.fc-calendar .fc-row > div.fc-today.fc-content:after {*/
/*        background-color: var(--blue-dk);*/
/*}*/

.fc-calendar .fc-row > div.fc-content:hover {background-color: var(--ice-blue);}


.fc-calendar .fc-row > div.fc-content:hover:after {
        background-color: var(--blue);
}

/*.fc-calendar .fc-row > div.fc-today.fc-content:hover:after{
        color: var(--white);
}*/

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
        display: none;
        font-size: 22px;
}

