.fc-calendar-container {
    position: relative;
    height: 400px;
    width: 400px;
}

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

.fc-calendar .fc-head {
    height: 34px;
    line-height: 34px;
    background: #ccc;
    color: #fff;
}

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

.fc-calendar .fc-row {
    width: 100%;

}

.fc-four-rows .fc-row  {
    height: 30px;
}

.fc-five-rows .fc-row  {
    height: 30px;
}

.fc-six-rows .fc-row {
    height: 43px;
}
.fc-six-rows .fc-row:after {
    content:"";
    display: block;
    clear: both;
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
    float: left;
    height: 100%;
    width:  14.28%; /* 100% / 7 */
    position: relative;
    font-size: 14px;
    text-align: center;
    font-weight: normal;
    line-height: 34px;
    color: #333;
    text-shadow: 1px 1px 0 #e9e9e9;


}

/* 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 {
    overflow: hidden;
    position: relative;
}

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

.fc-calendar .fc-row > div .fc-date {
    position: absolute;
    width:100%;
    height: 42px;
    font-size: 16px;
    line-height: 42px;
    font-weight: 700;
    bottom: 5px;
    right: 5px;
    text-align: right;

}

.fc-calendar .fc-content .fc-date {color: #fff;
    text-shadow: 1px 1px 0 #833613; text-decoration:none;}


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

.fc-calendar .fc-row > div.fc-today {
    background: #fff4c3;
}

.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 calendar elements */

.custom-calendar-wrap {
    margin:0 auto 25px;
    position: relative;
    overflow: hidden;
}

.custom-inner {

}

.custom-inner:before,
.custom-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);
}

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

.custom-header {
    background:url(../img/cal-hd.png) 0 0 repeat-x;
    text-align: center;
    position: relative;
}

.custom-header #custom-month,
.custom-header #custom-year {
    text-align: center;
    line-height: 48px;
    height: 48px;
    font-size: 18px;
}

.custom-header #custom-month {
    font-weight: 300;
    text-align: center;
    color: #fff;
    display: inline-block;
}

.custom-header #custom-year {
    font-weight: normal;
    color:#fff;
    display: inline-block;
}

.custom-header .arw {

}
.custom-header .arw span {
    position: absolute;
    top: 14px;
    cursor: pointer;
    margin: 0;
    -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 .arw #custom-prev {
    left: 12px;
}

.custom-header .arw #custom-next {
    right: 26px;
}

.custom-header .arw span:before {
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
}

.custom-header .arw #custom-prev:before {
    content:"";
    display: block;
    background: url("../img/sprite.png") no-repeat -104px 0;
    width: 11px;
    height: 18px;
}

.custom-header .arw #custom-next:before {
    content:"";
    display: block;
    background: url("../img/sprite.png") no-repeat -118px 0;
    width: 11px;
    height: 18px;
}

.custom-header .arw span:hover:before {
    color: #fff;
}

.custom-content-reveal {
    background: #f6f6f6;
    background: rgba(246, 246, 246, 0.9);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    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;
}

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

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

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

.custom-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 #ef4f69;
    box-shadow: 0 1px rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

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

.custom-content-reveal a {
    color: #ef4f69;
}

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

/* Modifications */

.fc-calendar-container {
    height:175px;
    width: auto;
    padding:0;

}

.fc-calendar .fc-head {
    background:url(../img/dp_grad.png) 0 0 repeat-x;
    color: #ef4f69;
    font-weight: bold;
    font-size: 12px;
    overflow: hidden;
    border-bottom: 1px solid #444c50;
}

.fc-calendar .fc-row > div {
    background:url(../img/date_td_bg.png) 0 0 repeat-x;
    color: #333;
    display: block;
    padding: 0;
    width: 13.98%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #444c50;
    border-left: 1px solid #444c50;
    text-shadow:none;
}

.fc-row > div:first-child  {
    border-left:none;
}

.fc-calendar .fc-row > div:empty {
    background:url(../img/date_td_pas_bg.png) 0 0 no-repeat;
}

.fc-calendar .fc-row > div  .fc-date {
    top: 0;
    left: 0;
    text-align: center;
    font-weight: normal;
    right: 0;
    margin: 0 auto;
    font-family: 'PT Sans', sans-serif;
}

.fc-calendar .fc-row > div.fc-today {
    background: url(../img/date_td_a_bg2.png) 0 0 no-repeat;
}

.fc-calendar .fc-row > div.fc-today  .fc-date {
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.fc-calendar .fc-row > div.fc-content {
    background:url(../img/date_td_a_bg.png) 0 0 no-repeat;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
    color: #b02c42;
}

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

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

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