/* Custom calendar elements */

.calendario-calendar-wrap {
    margin: 10px auto 50px auto;
    position: relative;
    overflow: hidden;
}

.calendario-inner {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.calendario-inner:before,
.calendario-inner:after  {
    content: '';
    width: 99%;
    height: 50%;
    position: absolute;
    background: #f6f6f6;
    bottom: -4px;
    left: 0.5%;
    z-index: -1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

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

.calendario-header {
    background: #fff;
    padding: 5px 10px 10px 20px;
    height: 70px;
    position: relative;
    border-top: 5px solid #686a6e;
    border-bottom: 1px solid #ddd;
}

.calendario-header h2,
.calendario-header h3 {
    text-align: center;
    text-transform: uppercase;
}

.calendario-header h2 {
    color: #495468;
    font-weight: 300;
    font-size: 18px;
    margin-top: 10px;
}

.calendario-header h3 {
    font-size: 10px;
    font-weight: 700;
    color: #b7bbc2;
}

.calendario-header nav span {
    position: absolute;
    top: 17px;
    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;
}

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

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

.calendario-header nav span:before {
    font-family: 'fontawesome-selected';
    color: #686a6e;
    position: absolute;
    text-align: center;
    width: 100%;
}

.calendario-header nav span.calendario-prev:before {
    content: '\25c2';
}

.calendario-header nav span.calendario-next:before {
    content: '\25b8';
}

.calendario-header nav span:hover:before {
    color: #495468;
}

.calendario-content-reveal {
    background: #f6f6f6;
    background: rgba(246, 246, 246, 0.9);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 90;
    top: 100%;
    left: 0px;
    text-align: center;
    -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;
}

.calendario-content-reveal .events {
    overflow-y: auto;
    height: calc(100% - 80px);
}

.calendario-content-reveal .events > section {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
}

.calendario-content-reveal span.calendario-content-close {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #686a6e;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    cursor: pointer;
    line-height: 13px;
    padding: 0;
}

.calendario-content-reveal span.calendario-content-close:after {
    content: 'x';
    font-size: 18px;
    color: #fff;
    line-height: 20px;
}

.calendario-content-reveal a,
.calendario-content-reveal span {
    font-size: 22px;
    padding: 10px 30px;
    display: block;
    text-align: left;
}

.calendario-content-reveal h4 {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #777;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    border-top: 5px solid #686a6e;
    box-shadow: 0 1px rgba(255,255,255,0.9);
    margin-bottom: 10px;
    margin-top: 0;
}

.calendario-content-reveal span {
    color: #888;
}

.calendario-content-reveal a {
    color: #00d052;
    cursor: pointer;
}
.calendario-content-reveal a.closed {
    color: #eb1a21;
}
.calendario-content-reveal a.corporate {
    color: orangered;
}

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

.calendario-content-reveal a:hover {
    color: #333;
}

/* Modifications */

.fc-calendar-container {
    height: 400px;
    width: auto;
    padding: 30px;
    background: #f6f6f6;
    box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.fc-calendar .fc-head {
    background: transparent;
    color: #686a6e;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.fc-calendar .fc-row > div {
    background: #fff;
    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: #686a6e;
    font-weight: 400;
    pointer-events: none;
}

.fc-calendar .fc-row > div > span.fc-emptydate {
    color: #ccc;
}

.fc-calendar .fc-row > div.fc-today {
    background: #e20612;
    box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
    color: #fff;
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fc-calendar-container.private .fc-calendar .fc-row > div.fc-future {
    cursor: pointer;
}

.fc-calendar .fc-row > div.fc-content:hover:after {
    color: #00b949;
}

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

@media screen and (max-width: 400px) {
    .fc-calendar-container {
        height: 300px;
    }
    .fc-calendar .fc-row > div > span.fc-date {
        font-size: 15px;
    }
}
