.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;
	
	height:100%;
}

.fc-calendar .fc-row {
	width: 100%;
	border-bottom: 1px solid #ddd;
	float:left;
}

.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.189%; /* 100% / 7 */
	width: -moz-calc(100%/7 - 1px);
	width: -webkit-calc(100%/7 - 1px);
	width: calc(100%/7 - 1px);
	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-row > div::after {
	content:'';
	width: 1px;
	height: 100%;
	background-color: #ddd;
	position: absolute;
	right: -1px;
	top: 0;
}*/

.fc-calendar .fc-head > div {
	text-align: center;
}

.fc-calendar .fc-row > div > span.fc-date {
	position: absolute;
	width: 30px;
	height: 20px;
	font-size: 2rem;
	line-height: 20px;
	font-weight: 700;
	color: #ddd;
	bottom: 5px;
	right: 5px;
	text-align: right;
}

.fc-calendar .fc-row > div > span.fc-weekday {
	padding-left: 5px;
	display: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #efefef;
}

.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-full {
	position:relative;
	width: 100%;
	height: 100%;
	float:left;
	margin-bottom:40px;
}

.fc-calendar-container {
	height: 100%;
	width: 100%;
	position:relative;
}

.custom-header {
	padding: 20px 20px 10px 0;
	position: relative;
}

.custom-header h2,
.custom-header h3 {
	float: left;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 4px;
}

.custom-header h2 {
	color: #fff;
	width: 60%;
}

.custom-header h2 a, 
.custom-header h2 span {
	color: rgba(255,255,255,0.3);
	font-size: 1.8rem;
	letter-spacing: 3px;
	white-space: nowrap;
}

.custom-header h2 a {
	color: rgba(255,255,255,0.5);
}

.no-touch .custom-header h2 a:hover {
	color: rgba(255,255,255,0.9);
}

.custom-header h3 {
	color:#000000;
	font-weight: 300;
	margin-bottom:0;
}

.custom-header nav {
	position: absolute;
	right: -1px;
	bottom: 10px;
	-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 {
	float: left;
	width: 30px;
	height: 30px;
	position: relative;
	color: transparent;
	cursor: pointer;
	background:#999999;
	margin: 0 1px;
	font-size: 2.4rem;
	line-height: 30px;
}

.custom-header nav span:first-child {
}

.custom-header nav span:hover {
	background:#000000;
}

.custom-header span:before {
	color: #ffffff;
	display: inline-block;
	text-align: center;
	width: 100%;
	text-indent: 4px;
}

.custom-header nav span.custom-prev:before {
	content: '\25c2';
}

.custom-header nav span.custom-next:before {
	content: '\25b8';
}

.custom-header nav span:last-child {
	margin-left: 10px;
}

.custom-header nav span.custom-current:before {
	content: '\27a6';
}


.fc-calendar {
	width: 100%;
	height: 100%;
	position:relative;
	float:left;
	border:1px solid #dedede;
}

.fc-calendar .fc-head { 
	background:#f9f9f9;
	color:#454545;
	height: 40px;
	line-height: 40px;
	padding: 0 ;
}

.fc-calendar .fc-head > div {
	font-weight: 300;
	text-transform: uppercase;
	font-size: 1.4rem;
	letter-spacing: 3px;
}

.fc-calendar .fc-row > div > span.fc-date {
	color:#999999;
	font-size: 1.4rem;
	font-weight: 300;
	bottom: auto;
	right: auto;
	top: 5px;
	left: 5px;
	text-align: left;
}

.fc-calendar .fc-body {
	border: none;
	padding: 20px;
	padding:0;
	display: flex;
	flex-wrap: wrap;
}

.fc-calendar .fc-row {
	border-bottom:1px solid #dddddd;
	/*float:left;*/
	display: flex;
	align-items: stretch;
}

.fc-calendar .fc-row:last-child {
	box-shadow: none;
}

.fc-calendar .fc-row:first-child > div:first-child {

}

.fc-calendar .fc-row:first-child > div:last-child {

}

.fc-calendar .fc-row:last-child > div:first-child {

}

.fc-calendar .fc-row:last-child > div:last-child {

}

.fc-calendar .fc-row > div {
	/*border: none;*/
	padding: 10px;
	cursor: pointer;
	padding: 45px 0;
	width: 100%;
	/*min-height:110px;*/
}

.fc-calendar .fc-row > div.fc-content {
	padding: 10px 0;
}

.fc-calendar .fc-row > div:first-child{
	box-shadow: none;
}

.fc-calendar .fc-row > div.fc-today {
	/*background: transparent;*/
}

.fc-calendar .fc-row > div.fc-today:after { 
	content: ''; 
	display: block;
	position: absolute;
	top: 0; 
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.2;
	background:#efefef;
}

.fc-calendar .fc-row > div > div {
	margin-top: 25px;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
	color:#454545;
	font-size: 1.2rem;
	text-transform: uppercase;
	display:block;
	padding: 3px 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	margin-bottom: 2px;
	background:#efefef;
}

.no-touch .fc-calendar .fc-row > div > div a:hover {
	background:#999999;
	color:#ffffff;
}

@media screen and (max-width: 880px) , screen and (max-height: 450px) {
	html, body, .container {
		/*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;*/
		width: 100%;
	}

	.fc-calendar {
		/*margin: 0 20px 20px;*/
		border-bottom: 0;
	}

	.custom-header h2,
	.custom-header h3 {
		float: none;
		width: auto;
		text-align: left;
		padding-right: 100px;
	}

	.fc-calendar .fc-row,
	.ie9 .fc-calendar .fc-row > div,
	.fc-calendar .fc-row > div {
		height: auto;
		width: 100%;
		border: none;
	}

	.fc-calendar .fc-row > div {
		float: none;
		/*min-height: 50px;*/
		padding: 20px 0;
		box-shadow: inset 0 -1px rgba(0,0,0,0.2) !important;
		border-radius: 0px !important;
	}

	.fc-calendar .fc-row > div.fc-content {
		padding: 5px 0 0;
	}

	.fc-calendar .fc-row > div:empty{
		min-height: 0;
		height: 0;
		box-shadow: none !important;
		padding: 0;
	}

	.fc-calendar .fc-row {
		box-shadow: none;
		flex-direction:column;
	}

	.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;
		vertical-align: top;
	}

	.fc-calendar .fc-row > div > span.fc-weekday {
		display: inline-block;
		width: 40px;
		color: #333;
		/*color: rgba(255,255,255,0.7);*/
		font-size: 1rem;
		text-transform: uppercase;
		vertical-align: top;
	}
}