/* Custom calendar elements */
body {
	overflow:hidden;
}

img {max-width:90%; height:auto; max-height:90%; border: 0px;}


}

.fitscale {font-size:54px; } /* comment this out for custom reveal to take over full screen */


.custom-calendar-wrap {
	margin: 10px auto;
	position: relative;
	overflow: hidden;

}

.custom-inner {
	background: rgba(43,54,71, .5);
}

.custom-inner:before,
.custom-inner:after  {

	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	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 {

	width: 220px;
	margin-left: 35%;
	margin-right: 35%;
	
	padding: 6px 0px 0px 0px;
	height: 60px;
	
	border-top: 0px solid #fff; /*line border above title month an year with arrows either dise*/
	border-bottom: 0px dotted #0a2356;  /*line border below  title month an year with arrows either dise*/
}

.custom-header h2,
.custom-header h3 {
	text-align: right;
	text-transform: uppercase;
}

.custom-header h2 {
	color: #fff;
	font-weight: 700;
	font-size: 24px;
	margin-top: 10px;
}

.custom-header h3 {
	font-size: 10px;
	font-weight: 700;
	color: #5ba2af;
}

.custom-header nav span {

	position: absolute;
	top: 17px;
	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;
}

.custom-header nav span:first-child {
	left: 0px;
	font-size: 1.5em;
	font-weight: bold;

}

.custom-header nav span:last-child {
	right: 0px;
	font-size: 1.5em;
	font-weight: bold;
}

.custom-header nav span:before {
	font-family: 'fontawesome-selected';
	color: #fff;
	position: absolute;
	text-align: center;
	width: 80%;

}

.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: #006;
}

/*MATHS STARTERS - CONTENT within sliding window*/

.custom-content-reveal {

	background: #374656; /* Old browsers */
	background: -moz-linear-gradient(top, #374656 0%, #242e3b 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#374656), color-stop(100%,#242e3b)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #374656 0%,#242e3b 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #374656 0%,#242e3b 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #374656 0%,#242e3b 100%); /* IE10+ */
	background: linear-gradient(to bottom, #374656 0%,#242e3b 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#374656', endColorstr='#242e3b',GradientType=0 ); /* IE6-9 */  /*#0a2356 colour change for background will be in white*/
	/*background: rgba(246, 246, 246, 0.9);*//*This was the light grey transparent background for content reveal*/
	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: 25px;
	right: 25px;
	width: 30px;
	height: 30px;

	text-align: center;

	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	cursor: pointer;
	line-height: 18px;
	padding: 0;

	   font-size: 24px;
		font-weight: 600;
		display: block;


		background: #5BA2AF;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
	
		color: #FFFFFF;
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
}


.custom-content-reveal span.custom-content-close:after {
	content: 'x';
	font-size: 17px;
	color: #fff;
}

/*show answer button for Desktop*/
.custom-content-reveal span.custom-content-showanswer{
	font-family: 'Open Sans', sans-serif;
	position: absolute;
	/*width: 100%;*/
	top: 15px;
	left:25px;
	font-size: 18px;
    margin:0 7px 0 0;
   	font-size: 24px;
	display: block;
	margin: 10px 0;
	padding: 10px 20px;
	background: #5BA2AF;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
		font-size: 12px;
		color: #FFFFFF;
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 


}

.custom-content-reveal span.custom-content-showanswer:after {
	/*content: 'Show Answer';*/

	font-size: 18px;
	color: #fff;
}


span.showAns:after{
	content: attr(data-content) 'Show Answer';
}

span.showAns:hover{ background-color:#5ba2af;}

span.hideAns:after{
	content: attr(data-content) 'Hide Answer';
}

span.hideAns:hover{ background-color:#5ba2af;}


.custom-content-reveal a,
.custom-content-reveal span {
	font-size: 45px;
	padding: 10px 30px;
	text-align: center; /*content centre and postioning*/
	display: block;
		cursor: pointer;
}



.custom-content-reveal h4 {
	
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 22px;
	letter-spacing: 3px;
	color: #fff;
	padding: 20px;
	cursor: pointer;
}


.custom-content-reveal p {
	color: #000;
	padding: 10px 30px;
	font-size: 22px;

}


.questioncontainer {
				height:61%;
				background-color: #fff;
				cursor: default;
			}

			.questioncontainer p {
				padding-top: 60px;
				font-size:  38px;
			}

			.questiontext{
				background-color: #5BA2AF;
				height:39%;
				overflow:auto;
			}

			.questiontext p {
				font-size: 32px;
				line-height: 1.2;
				color:#FFF;
				
				padding-left: 20px;
				text-align: center;
				cursor: default;
			}

			.answercontainer {
				height:61%;
				background-color: #fff;
				cursor: default;
			}

			.answercontainer  p {
				padding-top: 60px;
				font-size:  38px;
			}

		
			.answertext{
				background-color: #3ba84b;
				height:39%;
				overflow:auto;
			}

			.answertext p {
				font-size: 32px;
				line-height: 1.2;
				color:#fff;
				
				padding-left: 20px;
				text-align: centre;
				cursor: default;
			}
			
			



		@media (max-width : 1900px) {

			.custom-inner {
			height:650px;
			}
		
			.question{
			height:550px;	
			}
			
			.answer{
			height:550px;	
			}
			
			


		}


		 
/*GENERAL IPAD*****************************************************************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
{
	

	}

		  /* LANDSCAPE *******************************************************************************************************************/
    @media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.custom-inner {
			height:530px;
			}
		
			.question{
			height:440px;	
			}
			
			.answer{
			height:440px;	
			}
			
			
			.questioncontainer {
			height:61%	
			}
			
			.questiontext{
				height:39%;
			}

			

			.answercontainer {
				height:61%;
			}

			.answertext{
				height:39%	
			}
			
			
			/*font size****************************************/
			
			.questiontext p, .answertext p{
			font-size:26px;	
			}
		}

/*PORTRAIT**************************************************************************************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 

.custom-inner {
			height:740px;
			}
		
			.question{
			height:640px;	
			}
			
			.answer{
			height:640px;	
			}
			
			/*font size****************************************/
			
			.questiontext p, .answertext p{
			font-size:25px;	
			}

}

		




.mshighlight {
	font-weight: bold;
	color: #E05114;
	white-space:nowrap;

}








/*END OF MATHS STARTERS - CONTENT within sliding window*/


/* Modifications */

.fc-calendar-container {
	height: 90%;
	width: auto;
	padding: 20px;
	
	box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.fc-calendar .fc-head {
	background: transparent;
	color: #fff; /* DAYS COLOUR*/
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}

.fc-calendar .fc-row > div {
	background: #5BA2AF; /*this too colour blank numbered cells*/
		/*border:  0.08em #0a2356 solid;
		margin: 0.05em;*/
	cursor: pointer;
}

.fc-calendar .fc-row > div:empty {
	background: rgba(202,220,204,.5)

}


/*below calendar text */
.fc-calendar .fc-row > div > span.fc-date {
	top: 50%;
	left: 50%;
	text-align: center;
	margin: -10px 0 0 -15px;
	color: #fff;
	font-weight: 400;
	pointer-events: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #fff;
	border: 0.1em #5BA2AF solid;

	/*box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);*/
}


.fc-calendar .fc-row > div.fc-today > span.fc-date {
	color: #5BA2AF;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-content:after {
	/*content: '\00B7';*/
	text-align: center;
	width: 15px;
	margin-left: -10px;
	position: absolute;
	color: #DDD;
	font-size: 70px;
	line-height: 20px;
	left: 50%;
	bottom: 3px;
}


.no-touch .fc-calendar .fc-row > div:hover {
background: rgba(202,202,202,0.7);
/*magic*/
-webkit-transition:	all 0.2s ease-out;
-moz-transition:	all 0.2s ease-out;
-o-transition:	 all 0.2s ease-out;
transition:	 all 0.2s ease-out;
}



.fc-calendar .fc-row > div.fc-today.fc-content:after {
	color: #fff;
}

.fc-calendar .fc-row > div.fc-content:hover:after{
	color: #00f;
}

.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;
}




.answer{
	display: none;

}

@media screen and (min-width: 1024px) and (max-height:768px) {
                                                .custom-inner {
                                                height:500px;
                                                }
                                
                                                .question{
                                                height:400px;    
                                                }
                                                
                                                .answer{
                                                height:400px;    
                                                }
                                                
                                                /*font size****************************************/
                                                
                                                .questiontext p, .answertext p{
                                                font-size:22px;  
                                                }

}

* ADDED ON 04/12/2014*/

@media screen and (min-width: 1024px) and (min-height:768px) {
                                                .custom-inner {
                                                height:700px;
                                                }
                                
                                                .question{
                                                height:600px;    
                                                }
                                                
                                                .answer{
                                                height:500px;    
                                                }
                                                
                                                /*font size****************************************/
                                                
                                                .questiontext p, .answertext p{
                                                font-size:22px;  
                                                }

}






	

