td{
    vertical-align: middle !important;
    text-align: center;
    cursor: pointer;
}
.fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    float: none;
}

.calendar-wrapper{
    display: flex;
    padding: 30px 30px 60px;
    align-items: center;
}

#calendar
{
    width: 50%;
    /* margin-bottom: 30px; */
    margin-left: 30px;
}
#calendar .fc-view-container .fc-head{
    font-weight: 600;
}

#calendar .fc-view-container tr {
    /* height:46px; */
}
#calendar .fc-center h2{
    font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 1.3em;
    margin-top: -40px;
}
#calendar .fc-toolbar{
    position: relative;
    text-transform: uppercase;
    text-align: center;
    /* background-color: #efefef; */
    margin: 0 0 1em;
    border: none;
}
#calendar .fc-toolbar .fc-left button
{
    position: absolute;
    left: 20px;
    top: -18px;
    margin-top: 0;
    width: 36px;
    height: 36px;
    text-indent: -4000px;
    background:none;
    border:none;
    box-shadow: 0 0 0 transparent;
}
#calendar .fc-toolbar .fc-right button{
    position: absolute;
    right: 20px;
    top: -18px;
    width: 36px;
    height: 36px;
    margin-top: 0;
    text-indent: -4000px;
    background:none;
    border:none;
    box-shadow: 0px 0px 0px transparent;
}
#calendar .fc-toolbar .fc-left button span{
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 0;
    width: 36px;
    height: 36px;
    text-indent: -4000px;
    border-radius: 50%;
    background: #0eb0f1 url('../images/calendar-left-arrow.png') no-repeat left 4px center;
    background-size: 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
#calendar .fc-toolbar .fc-right button span{
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0;
    width: 36px;
    height: 36px;
    text-indent: -4000px;
    border-radius: 50%;
    background: #0eb0f1 url("../images/calendar-right-arrow.png") no-repeat center;
    background-size: 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    box-sizing: border-box;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0;
}
.fc .fc-toolbar>*>* {
    float:none;
}
#content h2 {
    font-size:30px;
}
.fc-basic-view .fc-body .fc-row {
    min-height: 1.6em;
}
.fc td, .fc th{
    color: #fff;
    border-width: 0;
}
.fc td.fc-day-top{
    padding: 12px 20px;
    border: 2px solid #fff;
}
.fc th{
    padding-bottom: 15px;
    vertical-align: middle;
    font-weight: 600;
    font-size: 24px;
}

.fc td.fc-today{
    background: #0eb0f1;
    color: #000;
}
.calendar-wrapper .event-details {
    display: none;
    width: 45%;
    margin-left: auto;
    /* margin-right: auto; */
    background: #eaeaea;
    /* padding: 40px 20px; */
}
#content .calendar-wrapper .event-details .event-description {
    height:auto;
}
.event-header{
    cursor: pointer;
    margin-bottom: 15px;
}
.block-title{
    margin-bottom: 0;
    margin-top: 30px;
    text-align: center;
}

#event-details
{
    display:none;
}


#event-details .nearestevent-header{
    padding: 15px 40px;
    font-weight: 500;
    font-size: 18px;
    background: #fff;
}

#event-details .nearestevent-header + div{
    padding: 20px 40px;
}

#layout .event-title{
    position: relative;
    font-weight: 500;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#layout .event-title:after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 40px;
    height: 1px;
    background: #222;
}

#layout .event-date,
#layout .event-location{
    color:#01a6e8;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 5px;
}

#layout td.has-event:not(.fc-today) span{
    color: #0eb0f1;
}

.alert-container{
    width:60%;
    text-align: center;
    margin: 1% auto 0 auto;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

/* UI DATEPICKER */

#ui-datepicker-div .ui-state-active {background-color: #dd1b1b;}

#ui-datepicker-div .ui-state-hover{background-color: #dd1b1b;}

#ui-datepicker-div .ui-state-highlight {background-color: #dd1b1b;}

#calendar .fc-toolbar button:focus{
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: 2px;
}