.fc-calendar-container {

    position: relative;

    height: 400px;

    width: 400px;

}

.fc-calendar {

    width: 100%;

    height: 100%;

}

.fc-calendar .fc-head {

    height: 30px;

    line-height: 30px;

    background: #ccc;

    color: #fff;

}

.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: 1px solid #ddd;

}

.fc-calendar .fc-row {

    width: 100%;

    border-bottom: 1px solid #ddd;

}

.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.01);

    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: 1px solid #ddd;

    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: 14px;

    line-height: 20px;

    font-weight: 600;

    color: #ddd;

    text-shadow: 0 -1px 0 rgba(255,255,255,0.8);

    bottom: 5px;

    right: 5px;

    text-align: right;

}

.fc-calendar .fc-row > div time, .fc-calendar .fc-row > div note {

    display: 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;

}

/*****************************style*****************************/



.custom-calendar-wrap {

    margin: 0px auto;

    position: relative;

    overflow: hidden;

}

.custom-inner {

    background: #fff;

    box-shadow: 0 1px 3px rgba(0,0,0,0.2);

}

.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: #fff;

    padding: 6px 10px;

    height: auto;

    position: relative;

    border-bottom: 1px solid #af6a7f;

}

.custom-header h2, .custom-header h3 {

    text-align: center;

    text-transform: uppercase;

}

.custom-month-year {

    font-family: 'Open Sans', sans-serif;

    color: #000;

    font-weight: 600;

    font-size: 16px;

    margin: 0;

    padding: 0;

    background: none;

    text-align: center;

}

.custom-header h3 {

    font-size: 10px;

    font-weight: 600;

    color: #b7bbc2;

}

.custom-header nav span {

    position: absolute;

    top: 0;

    width: 30px;

    height: 30px;

    color: transparent;

    cursor: pointer;

    margin: 0 1px;

    font-size: 25px;

    -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 {

    right: 30px;

}

.custom-header nav span:nth-child(2) {

    right: 0;

}

.custom-header nav span:last-child {

    left: 5px;

}

.custom-header nav span:before {

    font-family: 'Open Sans', sans-serif;

    color: #e31e24;

    position: absolute;

    text-align: center;

    width: 100%;

    -webkit-transition: all .3s ease-in-out;

    -moz-transition: all .3s ease-in-out;

    -ms-transition: all .3s ease-in-out;

    -o-transition: all .3s ease-in-out;

    transition: all .3s ease-in-out;

}

.custom-header nav span.custom-current::before {

    content: '\27a6';

}

.custom-header nav span.custom-prev:before {

    content: '\25c2';

}

.custom-header nav span.custom-next:before {

    content: '\25b8';

}

.custom-header nav span:hover:before {

    color: #8e1f40;

}

.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: #8e1f40;

    box-shadow: 0 1px 1px rgba(0,0,0,0.1);

    cursor: pointer;

    line-height: 15px;

    padding: 0;/*  border-radius: 50%; */

}

.custom-content-reveal span.custom-content-close:after {

    content: 'x';

    font-size: 17px;

    color: #fff;

    float: left;

    padding: 1px 6px;

}

.custom-content-reveal a, .custom-content-reveal span {

    font-size: 16px;

    padding: 10px 30px;

    display: block;

}

.custom-content-reveal h4 {

    font-size: 14px;

    font-weight: 600;

    color: #000;

    padding: 10px;

    background: #fff;

    border-bottom: 1px solid #ddd;

    border-top: 5px solid #af6a7f;

    box-shadow: 0 1px rgba(255,255,255,0.9);

    margin-bottom: 30px;

    text-align: center;

}

.custom-content-reveal span {

    color: #000;

}

.custom-content-reveal a {

    color: #f00;

}

.custom-content-reveal time {

    display: none;

}

.custom-content-reveal a:hover {

    color: #000;

}

/* Modifications */



.fc-calendar-container {

    height: 250px;

    width: auto;

    padding: 10px 0 0 0;

    background: #fff;

    box-shadow: inset 0 1px rgba(255,255,255,0.8);

}

.fc-calendar .fc-head {

    background: #fff;

    color: #000;

    font-weight: 600;

    text-transform: uppercase;

    font-size: 13px;

}

.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: #000;

    font-weight: 400;

    pointer-events: none;

}

.fc-calendar .fc-row > div > span.fc-emptydate {

    color: #ccc;

}

.fc-calendar .fc-row > div.fc-today {

    background: black;

    box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);

}

.fc-calendar .fc-row > div.fc-today > span.fc-date {

    color: #fff !important;

}

.fc-calendar .fc-row > div.fc-today > span.fc-date {

    color: #fff;

    text-shadow: 0 1px 1px rgba(0,0,0,0.1);

}

.fc-calendar .fc-row > div.fc-content span.fc-date {

    color: #F00;

}

.fc-calendar .fc-row > div > div a, .fc-calendar .fc-row > div > div span {

    display: none;

    font-size: 22px;

}



.fc-calendar .fc-row > .fc-past.fc-content{

    background: #e31e24;

}



.fc-calendar .fc-row > .fc-future.fc-content{

   background: green;

}



.fc-calendar .fc-row > div.fc-future.fc-content > span.fc-date {

   color: #fff;

}



.fc-calendar .fc-row > div.fc-past.fc-content > span.fc-date {

    color: #fff;

}

@media screen and (max-width: 400px) {

.fc-calendar-container {

    height: 300px;

}

.fc-calendar .fc-row > div > span.fc-date {

    font-size: 15px;

}

}

