/* _________ Layout _________ */
.calendar{
	background: #fff;
	height: 870px;
	position: relative;
}
.custom-calendar-full {
    bottom: 0;
    height: auto;
    left: 0;
    position: absolute;
    top: 24px;
    width: 100%;
}
.fc-calendar-container {
    bottom: 0;
    height: 700px;
    position: absolute;
    top: 50px;
    width: 100%;
}
.fc-calendar {
    background: #fff;
   /* -webkit-border-radius: 20px;
    border-radius: 20px;*/
    bottom: 20px;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 10px;
    width: auto;
}
.fc-calendar .fc-body {
    border: medium none;
    padding: 20px;
    height: calc(100% - 30px);
    position: relative;
    width: 100%;
}
.fc-calendar .fc-row {
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2) inset;
    height: 20%;
    border-bottom: 1px solid #ddd;
    width: 100%;
}
.fc-calendar .fc-row:last-child {
    border-bottom: medium none;
    box-shadow: none;
}
.fc-calendar .fc-row > div {
    cursor: pointer;
    padding: 10px;
    border-right: 1px solid #ddd;
    overflow: hidden;
}
.fc-calendar .fc-row > div, 
.fc-calendar .fc-head > div {
    float: left;
    height: 100%;
    width: calc(100% / 7);
}
.fc-calendar .fc-row > div:last-child, 
.fc-calendar .fc-head > div:last-child{
	border-right: none;
}

/* _________ Month Header _________ */
.custom-header {
    height: 80px;
    padding: 20px 0 30px;
    position: relative;
}
.custom-header h3 {
    color: #00965D;
    font-size: 25px;
    font-weight: 300;
    line-height: 30px;
    width: 40%;
}
.custom-header span:before {
    color: #00965D;
    display: inline-block;
    text-align: center;
    text-indent: 4px;
    width: 100%;
}

/* _________ Month Navigation Prev & Next _________ */
.custom-header nav {
    -moz-user-select: none;
    position: absolute;
    right: 0;
    top: 20px;
}
.custom-header nav span:first-child {
    border-radius: 3px 0 0 3px;
}
.custom-header nav span {
    cursor: pointer;
    float: left;
    font-size: 20px;
    height: 30px;
    margin: 0 1px;
    position: relative;
    width: 30px;
}
.custom-header nav span.custom-prev:before {
    content: url("arrow2.png");
}
.custom-header nav span.custom-next:before {
    content: url("arrow.png");
}

/* _________ Day Headers _________ */
.fc-calendar .fc-head {
    /*border-radius: 20px 20px 0 0;*/
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    color: #333;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background-color: #B2C9E9;
}
.fc-calendar .fc-head > div {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}
.fc-calendar .fc-row > div, .fc-calendar .fc-head > div {
    float: left;
    height: 100%;
    position: relative;
    width: calc(100% / 7);
}

/* _________ Day Numbers _________ */
.fc-calendar .fc-row > div > span.fc-date {
    bottom: auto;
    color: #333;
    font-size: 26px;
    line-height: 26px;
    font-weight: 300;
    left: 10px;
    right: auto;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    top: 10px;
    position: absolute;
    width: 30px;
}
.fc-calendar .fc-row > div > span.fc-weekday {
    display: none;
    padding-left: 5px;
}

/* _________ Current Date _________ */
.fc-calendar .fc-row > div.fc-today {
    background-color: #E5F4EF;
    box-shadow: 0 0 100px rgba(255, 255, 255, 0.1) inset;
}

/* _________ Events _________ */
.fc-calendar .fc-row > div > div {
    margin-top: 35px;
    position: relative;
    z-index: 999;
}
.fc-calendar .fc-row > div > div a, 
.fc-calendar .fc-row > div > div span {
    background-color: #01538b;
  /*  -webkit-border-radius: 3px;
    border-radius: 3px;*/
    color: #fff;
    display: inline-block;
    font-size: 12px;
    margin-bottom: 1px;
    overflow: hidden;
    padding: 3px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-decoration: none;
}
.no-touch .fc-calendar .fc-row > div > div a:hover {
    background-color: #00965d;
}
.fc-content{
    overflow-y: scroll !important;
}
.fc-content div{
    color: #fff;
    font-size: 1px;
    line-height: 1px;
}
.fc-content div a {
    float: left;
    line-height: 18px;
}

/* _________ Mobile Calendar View _________ */
@media screen and (max-width: 880px) , screen and (max-height: 450px) {
	html, body, .container {
		height: auto;
	}
	.calendar{
		height: auto;
	}
	.custom-header,
	.custom-header nav,
	.custom-calendar-full,
	.fc-calendar-container, 
	.fc-calendar,
	.fc-calendar .fc-head,
	.fc-calendar .fc-row > div > span.fc-date {
		position: relative;
		top: auto;
		left: auto;
		bottom: auto;
		right: auto;
		height: auto;
		width: auto;
	}
	.fc-calendar .fc-body{
		padding: 0px;
	}
	.custom-header h2,
	.custom-header h3 {
		float: none;
		width: auto;
		text-align: center;
	}
	.custom-header{
		padding: 0px;
	}
	.fc-calendar .fc-row,
	.ie9 .fc-calendar .fc-row > div,
	.fc-calendar .fc-row > div {
		height: auto;
		width: 100%;
		border: none;
	}
	.fc-calendar{
		padding-right: 0px;
	}
	.custom-header nav{
		width: 87px !important;
		margin: 0 auto;
		height: 30px !important;
		padding-top: 10px;
	}
	.fc-calendar .fc-row > div {
		float: none;
		min-height: 50px;
		box-shadow: inset 0 -1px #ddd !important;
		border-radius: 0px !important;
	}
	.fc-calendar .fc-row > div:empty{
		min-height: 0;
		height: 0;
		box-shadow: none !important;
		padding: 0;
	}
	.fc-calendar .fc-row {
		box-shadow: none;
	}

	.fc-calendar .fc-head {
		display: none;
	}
	.fc-calendar .fc-row > div > div {
		margin-top: 0px;
		padding-left: 10px;
		max-width: 70%;
		display: inline-block;
	}

	.fc-calendar .fc-row > div.fc-today {
		background: rgba(255, 255, 255, 0.2);
	}
	.fc-calendar .fc-row > div.fc-today:after { 
		display: none;
	}

	.fc-calendar .fc-row > div > span.fc-date {
		width: 30px;
		display: inline-block;
		text-align: right;
	}
	.fc-calendar .fc-row > div > span.fc-weekday {
		display: inline-block;
		width: 40px;
		color: #333;
		font-size: 10px;
		text-transform: uppercase;
	}
}	