@import url('https://fonts.googleapis.com/css?family=Architects+Daughter');

html
{
	overflow-y: scroll;
}

html, body
{ 
	background-color: #B6CEE7;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	height: 100%;
}

div#centred
{
	background-color: white;
	margin-left: auto;
	margin-right: auto;
	max-width: 960px;
	min-height: 100%;
	box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.25);
	position: relative;
}

div#banner
{
	background-image: url(/images/banner-background.jpg);
	background-position: top left;
	background-size: cover;
	padding-bottom: 13.5%;
	position: relative;
}

img#logo
{
	width: 25%;
	height: auto;
	position: absolute;
	left: 10px;
	top: 10%;
}

img#wording
{
	width: 75%;
	height: auto;
	position: absolute;
	right: 5px;
	top: 30%;
}

div#menu_bar
{
	border-top: 1px solid white;
	background-color: #336699;
	height: 32px;
	font-size: 13pt;
}

@media screen and (min-width: 900px), print
{
	div#main_menu
	{
		float: right;
		display: block !important;
	}

	div#hamburger
	{
		display: none;
	}
	
	div.main_menu_item
	{
		float: left;
		padding-left: 0px;
		padding-right: 0px;
		position: relative;
		height: 32px;
	}

	a.main_menu_item
	{
		display: block;
		padding-left: 10px;
		padding-right: 10px;
		color: white;
		text-decoration: none;
		line-height: 32px;
		height: 32px;
	}

	a.main_menu_item:hover, a.menu_hover, div.sub_menu
	{
		background-color: #4382C0;
	}

	div.sub_menu
	{
		display: inline-block;
		position: absolute;
		z-index: 1;
		padding: 10px;
		padding-top: 0;
		padding-bottom: 5px;
		left: 0px;
		top: 100%;
		border-radius: 10px;
		border-top-right-radius: 0;
		border-top-left-radius: 0;
		border: 1px solid #4382C0;
	}
		
	a.sub_menu_item
	{
		display: block;
		color: white;
		text-decoration: none;
		white-space: nowrap;
		line-height: 32px;
	}
}

@media screen and (max-width: 899px)
{

	img#logo
	{
		width: 28%;
	}
	
	div#hamburger
	{
		float: right;
		display: block;
		padding-right: 10px;
		padding-top: 1px;
	}
	
	div.highlit
	{
		background-color: #4382C0;
	}

	div#hamburger img
	{
		vertical-align: middle;
	}
	
	div#hamburger a
	{
		color: white;
		text-decoration: none;
		font-variant: small-caps;
	}
	
	div#main_menu
	{
		display: none;
		position: absolute;
		right: 40px;
		background-color: #4382C0;
		padding: 10px;
		padding-bottom: 5px;
		padding-top: 5px;
		width: 150px;
		border-radius: 10px;
		border-top-right-radius: 0;
		border-top-left-radius: 0;
		border: 1px solid #4382C0;
		z-index: 1;
		font-size: 15pt;
	}
	
	div#main_menu a
	{
		display: block;
		color: white;
		text-decoration: none;
		padding: 5px;
	}
	
	a.sub_menu_item
	{
		border-left: 5px solid #B6CEE7;
		padding-left: 10px !important;
		margin-left: 6px;
		padding-top: 1px !important;
		padding-bottom: 1px !important;
		margin-bottom: 2px;
	}
}


div#content
{
	padding-top: 10px;
	padding-bottom: 10px;
}

div#content img.inline
{
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 10px;
}

div#content img.right
{
	display: block;
	float: right;
	margin-right: 10px;
	margin-left: 10px;
	max-width: 40%;
}

div#content p, div#content h2, div#content h3, div#content table
{
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-top: 0;
	padding: 0;
	overflow: hidden;
}

h2
{
}

p.indented
{
	padding-left: 30px !important;
}

div#content a
{
	color: #333333;
}

.centred
{
	text-align: center;
}
	
div#footer
{
	background-color: #4382C0;
	padding: 10px;
	font-size: 10pt;
	color: white;
	text-align: center;
}

div#footer p
{
	padding: 0;
	margin: 0;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}

div#footer a
{
	color: white;
}

h1
{
	padding: 0;
	margin: 0;
}

div.gallery_container_outer
{
	max-width: 640px; 
	width: 100%; 
	margin-left: auto; 
	margin-right: auto;
}

div.gallery_container_inner
{
	position: relative; 
	overflow: hidden;
}

div.gallery_canvas
{
	background-color: white; /* was #CCCCCC */
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	right: 0;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

div.gallery_info
{
	padding: 0.25em;
	padding-bottom: 0.5em;
	overflow: hidden;
}

div.gallery_controls
{
	float: left;
}

div.gallery_counter
{
	float: right;
}

div.gallery_caption
{
	text-align: center;
	padding-left: 60px;
	padding-right: 60px;
	font-weight: bold;
}

table
{
}

td
{
	padding-right: 15px;
	vertical-align: top;
}

td:first-child
{
	font-weight: bold;
}

td:first-child:before
{
	content: "\2022  ";
}

td:last-child:before
{
	content: "- ";
}

div#content p a img
{
	padding-right: 10px;
	width: 50%;
	max-width: 320px;
	float: left;
}

/* for GA cookie warning */

div#google_analytics_warning
{
	z-index: 1000000;
	position: fixed;
	bottom: 0;
	right: 0;
	width: 250px;
	padding: 4px;
	padding-left: 56px;
	background-image: url(/_system/ga/google_analytics_warning_bg.png);
	color: black;
	text-align: left;
	font: 10pt Verdana, Arial, sans-serif;
}

div#google_analytics_warning_text
{
	padding-bottom: 4px;
	border-bottom: 1px solid #999999;
}

div#google_analytics_warning_buttons
{
	padding-top: 4px;
}

div#google_analytics_warning button
{
	border: 0;
	background-color: #999999;
	color: white;
	border-radius: 5px;
}

div#google_analytics_warning button:hover
{
	background-color: #666666;
}

p.cta
{
	text-align: center;
}

p.cta img
{
	padding-right: 0 !important;
	width: 75% !important;
	max-width: 244px !important;
	float: none !important;
}

div.associate
{
	overflow: hidden;
	border-bottom: 1px solid #CCC;
	padding-bottom: 8px;
	margin-bottom: 8px;
}

p.contacts
{
	color: #5282C8;
}

p.contacts a
{
	color: #5282C8 !important;
	text-decoration: none;
}

span.fixed
{
	font-family: monospace;
}

div.testimonial
{
	border: 1px solid #CCC;
	margin: 8px;
}

p.testimonial_body
{
	font-size: larger;
	font-family: 'Architects Daughter', cursive;
}

a.back-to-top {
	color: #5282C8 !important;
	text-decoration: none;
}