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

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

.fc-calendar .fc-head {
    height: 24px;
    line-height: 24px;
    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%;
    
}

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

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

.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: 24px;
    width: 26px; /* 100% / 7 */
    width: 26px;/*-moz-calc(100%/7);*/
    /* width: -webkit-calc(100%/7); */
    /* width: calc(100%/8); */
    position: relative;
    font-size: 11px;
	
	text-align: center;

    font-weight: normal;

    /* line-height: 24px; */

    color: #FFF;

    /* text-shadow: 1px 1px 0 #e9e9e9; */
	
	
    border-left: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}

/* 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;
    /* margin: 0; */
    /* padding: 0; */
}

.fc-calendar .fc-row > div .fc-date {
    position: absolute;
width: 30px;
height: 20px;
font-size: 10px;
line-height: 16px;
font-weight: 700;

    bottom: 5px;
right: 5px;
text-align: right;

}

.fc-calendar .fc-content .fc-date {color: #fff;
 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;
    border-right: 1px solid #FFF;
}

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


/* Custom calendar elements */

.custom-calendar-wrap {
    margin: 0 auto;
    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: #99CC00;
}

.custom-header h2,
.custom-header h3 {
    text-align: center;
    /* text-transform: uppercase; */
}

.custom-header h2 {
    /* font-weight: 300; */

    /* font-size: 18px; */

    /* background: #96b33d; */

    /* font-family: 'HelveticaNeueCyr-Roman'; */

    /* line-height: 10px; */
text-align: center;
color: #fff;

    font-size: 16px;

    /* padding: 7px 0 0; */
    margin: 0;
    border: 1px solid #FFF;
    border-top: none;
}

.custom-header h3 {
    font-size: 10px;
    font-weight: normal;
    color: #b7bbc2;
	
    /* background:#96b33d; */
	color:#fff;
font-size:15px;
    margin: 0;
    padding: 0;
}

.custom-header div span {
    position: absolute;
    top: 2px;
    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;
	
    right: 0;
}

.custom-header div span:first-child {
    left: 0;
}

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

.custom-header div span:before {
    font-family: 'fontawesome-selected';
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
}

.custom-header div span.custom-prev:before {
    content: '\005F';
    background: url(/layout/dt_arws.png) 0 0 no-repeat;
}

.custom-header div span.custom-next:before {
    content: '\005F';
    background: url(/layout/dt_arws.png) -15px 0 no-repeat;
}

.custom-header div 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: 1px;
    width: auto;
    padding:0;
   
}

.fc-calendar .fc-head {
    font-weight: bold;
    font-size: 10px;
    background: #99CC00;
}

.fc-calendar .fc-row > div {
    background: #dce3e7;
    cursor: pointer;
	
	color: #252525;
	display: block;
padding: 0;

    width: 26px;

    height: 26px;

    /* line-height: 30px; */
text-align: center;
text-decoration: none;
    /* margin: 0; */
}

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

.fc-calendar .fc-row > div  .fc-date {
    top: 50%; 
left: 50%;
text-align: center;
margin: -8px 0 0 -15px;
font-weight: normal;
}

.fc-calendar .fc-row > div.fc-today {
    background: #941C81;

}

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

}

.fc-calendar .fc-row > div.fc-content {
    background: #99CC00; 

    /* box-shadow: 1px 1px 0 #833613; */
}

.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;
}

