/* ==================================================
   CSS Imports
================================================== */

@import url("reset.css");
@import url("gridsystem.css");
@import url("animate.css");
@import url("buttons.css");

/* ==================================================
   Icon Fonts
================================================== */

@import url("fonts/fontawesome/font-awesome.css");

/* ==================================================
   Google Fonts
================================================== */

@import url("//fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic");

/* ==================================================
   Global Styles
================================================== */

*, *:after, *:before
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html
{
	height: 100%;
	overflow: auto;
	overflow-x: hidden;
	
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body
{
	font-family: "PT Serif", Constantia, Lucida Bright, DejaVu Serif, Georgia, serif;
	font-size: 18px;
	line-height: 26px;
	color: #444;
	background: #FFF;
	padding-bottom: 40px;
	
	text-rendering: optimizeLegibility;
	vertical-align: baseline;
}

::selection
{
	background: #5F96CF;
	color: #FFF;
}

::-moz-selection
{
	background: #5F96CF;
	color: #FFF;
}

a
{
	color: #5F96CF;
	text-decoration: none;
}

a:hover
{
	color: #222;
}

.textcentre
{
	text-align: center;
}

/* ==================================================
   Images
================================================== */

img
{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	
	outline: 1px solid transparent;
}

/* ==================================================
   Responsive YouTube
================================================== */

.youtubevid
{
	display: block;
	width: 100%;
	max-width: 500px;
	margin: 30px auto;
}

	.embed-container
	{
		position: relative;
		padding-bottom: 56.25%; /* 16/9 ratio */
		padding-top: 30px; /* IE6 workaround*/
		height: 0;
		overflow: hidden;
	}
	
	.embed-container iframe, .embed-container object, .embed-container embed
	{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/* ==================================================
   Layout Styles
================================================== */

.container
{
	width: 100%;
	padding: 0 30px;
	min-width: 280px;
}

	.container .bodycontainer
	{
		margin: 0 auto;
		width: 100%;
		max-width: 1040px;
	}

/* ==================================================
   Sections
================================================== */

#maincont
{
	padding: 30px 0 0 0;
	background: url("../images/bg-maincont.gif") repeat-y 70% 0;
}

	#maincont p
	{
		margin: 0 0 20px 0;
	}
	
	#maincont strong
	{
		font-weight: 800;
		font-size: 20px;
	}
	
	#maincont em
	{
		font-style: italic;
		color: #888;
	}
	
		#maincont em span
		{
			vertical-align: baseline;
			margin: 0 10px 0 0;
			color: #5F96CF;
		}
	
	#maincont h1, #maincont h2, #maincont h3
	{
		margin: 0 0 20px 0;
		font-weight: 600;
	}
	
		#maincont h1
		{
			font-size: 34px;
			line-height: 34px;
			color: #5F96CF;
		}
		
		#maincont h2
		{
			font-size: 30px;
			line-height: 30px;
		}
		
		#maincont #mainright h3,
		#maincont #mainleft #mobform h3
		{
			font-size: 28px;
			line-height: 28px;
		}
	
	#maincont img.bookimg
	{
		width: 100%;
		max-width: 340px;
	}
	
	#maincont blockquote
	{
		margin: 0 0 10px 0;
		font-style: italic;
	}
	
	#maincont hr
	{
		clear: both;
		border: 0;
		height: 0;
		margin: 0 0 20px 0;
		border-top: 1px dotted #CCC;
	}
	
		#maincont #mainleft
		{
			float: left;
			width: 70%;
			padding: 0 20px 20px 0;
		}
		
			#maincont #mainleft #mobform
			{
				display: none;
			}
		
		#maincont #mainright
		{
			float: left;
			width: 30%;
			padding: 0 20px 20px 20px;
			color: #FFF;
			text-align: center;
		}
		
			#maincont form
			{
				
			}
			
				#maincont form table
				{
					width: 100%;
				}
				
					#maincont form table tr td
					{
						position: relative;
					}
					
					#maincont form table tr td span
					{
						position: absolute;
						top: 0;
						left: 0;
						background: #F58020;
						width: 44px;
						height: 44px;
						text-align: center;
						line-height: 44px;
					}
			
					#maincont form table tr td input
					{
						padding: 0 10px 0 50px;
						line-height: 44px;
						width: 100%;
						border: 0;
						border-left: 4px solid #FFF;
						background: #FFF;
						text-align: left;
						margin: 0 0 10px 0;
						font-family: inherit;
						font-size: 15px;
						color: #333;
						font-weight: 400;
						
						-webkit-border-radius: 0;
						-moz-border-radius: 0;
						border-radius: 0;
						
						-webkit-appearance: none;
					}
			
			#maincont ul#tabs
			{
				float: left;
				width: 100%;
				list-style-type: none;
				margin: 0 0 20px 0;
				padding: 0;
			}
			
				#maincont ul#tabs li
				{
					display: inline-block;
					float: left;
					width: 100%;
					cursor: pointer;
					margin: 0 0 5px 0;
					font-size: 22px;
					line-height: 23px;
					font-weight: 600;
					letter-spacing: -0.4px;
					text-align: center;
					padding: 15px;
					color: #FFF;
					
					background: #7CA8D8;
					background-image: -webkit-linear-gradient(top, #7CA8D8, #3F80C7);
					background-image: -moz-linear-gradient(top, #7CA8D8, #3F80C7);
					background-image: -ms-linear-gradient(top, #7CA8D8, #3F80C7);
					background-image: -o-linear-gradient(top, #7CA8D8, #3F80C7);
					background-image: linear-gradient(to bottom, #7CA8D8, #3F80C7);
				}
				
				#maincont ul#tabs p
				{
					margin: 0;
				}
				
					#maincont ul#tabs li:hover
					{
						background: #F58020;
						background-image: -webkit-linear-gradient(top, #F79748, #E66D0B);
						background-image: -moz-linear-gradient(top, #F79748, #E66D0B);
						background-image: -ms-linear-gradient(top, #F79748, #E66D0B);
						background-image: -o-linear-gradient(top, #F79748, #E66D0B);
						background-image: linear-gradient(to bottom, #F79748, #E66D0B);
					}
				
					#maincont ul#tabs li.active
					{
						background: #F58020;
						background-image: -webkit-linear-gradient(top, #F79748, #E66D0B);
						background-image: -moz-linear-gradient(top, #F79748, #E66D0B);
						background-image: -ms-linear-gradient(top, #F79748, #E66D0B);
						background-image: -o-linear-gradient(top, #F79748, #E66D0B);
						background-image: linear-gradient(to bottom, #F79748, #E66D0B);
					}
			
			#maincont ul#tab
			{
				list-style-type: none;
				margin: 0 0 20px 0;
				padding: 0;
			}
			
				#maincont ul#tab li
				{
					display: none;
				}
				
					#maincont ul#tab li.active
					{
						display: block;
						clear: both;
					}

#threeboxes
{
	width: 100%;
	background: #5D95D0;
	text-align: center;
	font-size: 14px;
	margin-top: 20px;
	padding: 20px;
}

	#threeboxes .dwdgrid-4:nth-child(1),
	#threeboxes .dwdgrid-4:nth-child(3)
	{
		padding-top: 70px;
	}
		
#bottombox
{
	width: 100%;
	background: #5D95D0;
	text-align: left;
	font-size: 14px;
	margin-top: 20px;
	
	min-height: 450px;
	height: auto !important;
	height: 450px;
}

	#bottombox #left
	{
		float: left;
		width: 65%;
		border-right: 2px dashed #FFF;
		
		min-height: 450px;
		height: auto !important;
		height: 450px;
	}
	
		#bottombox #left ul
		{
			float: left;
			margin: 0;
			padding: 30px 30px 0px 30px;
		}
		
			#bottombox #left ul li
			{
				padding: 5px;
				color: #FFF;
				font-size: 34px;
				line-height: 34px;
				font-style: italic;
				font-weight: 600;
				letter-spacing: -0.5px;
			}
	
	#bottombox #right
	{
		float: left;
		width: 35%;
		font-style: italic;
	}

		#bottombox	#right ul
		{
			margin: 0;
			padding: 30px 0px 0px 30px;
		}
		
			#bottombox	#right ul li
			{
				color: #FFF;
			}
			
		#bottombox #right img
		{
			display: block;
			width: 100%;
			max-width: 237px;
			padding: 30px 0px 0px 30px;
		}

#footercont
{
	width: 100%;
	text-align: center;
	margin: 0 auto;
	font-size: 13px;
	font-style: italic;
	line-height: 20px;
	color: #F58020;
	font-weight: 400;
	padding: 20px 0 0 0;
}

	#footercont a
	{
		color: #5D95D0;
		text-decoration: none;
	}

/* ==================================================
   Media Queries - Small Desktop
================================================== */

@media only screen and (max-width: 1200px)
{

	body
	{
		line-height: 28px;
	}

}

/* ==================================================
   Media Queries - Tablet - Landscape
================================================== */

@media only screen and (max-width: 1048px)
{
	
	body
	{
		line-height: 27px;
	}
	
}

/* ==================================================
   Media Queries - Mobile - Landscape
================================================== */

@media only screen and (max-width: 960px)
{
	
	body
	{
		line-height: 26px;
	}
	
	.textcentre
	{
		text-align: left;
	}
	
	.youtubevid
	{
		margin: 30px 0;
	}
	
	.container
	{
		padding: 0 20px;
	}
	
		#maincont
		{
			background-image: none;
		}

			#maincont #mainleft
			{
				width: 100%;
				padding: 20px 0;
			}
			
				#maincont #mainleft #mobform
				{
					display: block;
					background: #5F96CF;
					padding: 20px;
					margin: 0 0 20px 0;
					color: #FFF;
				}
				
					#maincont #mainleft #mobform p:last-child
					{
						margin: 0;
					}
					
				#maincont ul#tabs li
				{
					text-align: left;
				}

			#maincont #mainright
			{
				display: none;
			}
			
	#bottombox
	{
		width: 100%;
		background: #5D95D0;
		text-align: left;
		font-size: 14px;
		
		min-height: 0px;
		height: auto !important;
		height: 0px;
	}
	
		#bottombox #left
		{
			float: left;
			width: 100%;
			border-right: 0;
			
			min-height: 0px;
			height: auto !important;
			height: 0px;
		}
		
		#bottombox #right
		{
			float: left;
			width: 100%;
			padding-bottom: 30px;
		}
		
	#threeboxes
	{
		text-align: left;
	}
	
		#threeboxes .dwdgrid-4:nth-child(2)
		{
			padding-top: 20px;
			padding-bottom: 20px;
		}
	
	#footercont
	{
		text-align: left;
	}
	
}

/* ==================================================
   Media Queries - Mobile - Small Landscape
================================================== */

@media only screen and (max-width: 768px)
{
	
	body
	{
		line-height: 26px;
	}
	
}

/* ==================================================
   Media Queries - Mobile - Portrait
================================================== */

@media only screen and (max-width: 480px)
{
	
	body
	{
		line-height: 25px;
	}
	
}

