/*############################################################################
If there's something here you want to use, feel free - hope it helps you! 
A thanks and a link back to our site somewhere is always appreciated :) 

Or if you're looking for some design and web help, why not come taste the 
Octopi experience for yourself!

The Octopi team
############################################################################*/


/*############################################################################
Set up any default styles needed throughout entire website
############################################################################ */

/*  strip any default margins and paddings from many elements */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input, img { margin:0; padding:0; }

/* remove any image borders */
img {border: 0px;}

/* Give every paragraph a 5px top margin */
p {margin-top: 5px;}

/* Remove all link underlines */
:link,:visited { text-decoration:none; }

/* Remove blue linked image borders */
a img,:link img,:visited img { border:none; border-width: 0px; }

/* avoid browser inconsistent heading font-sizes */
h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }

/* Remove the focus outline from all links.
Note that this is not good for accessibility, so use hyperlink specific ones in the links section below */
a:focus {outline: none;}

/*############################################################################
Standard HTML & Body 
############################################################################ */
html {height: 100%;}
body {
	background-color: #000;
	/*height: 99%;*/
	font-family: arial, verdana, helvetica, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #000;
}

/*############################################################################
Text Styles & Headings 
############################################################################ */
h1 {
	font-family: 'Nixie One', arial, serif;
	font-size: 30px;
	font-weight: normal;
	line-height: 34px;
	color: #1ca5d9;
}
h2 {
	font-family: 'Nixie One', arial, serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 14px;
	color: #00609b;
}
h3 {
	font-family: 'Nixie One', arial, serif;
	font-size: 12px;
	font-weight: normal;
	line-height: 14px;
	color: #00609b;
}
.text_italics {
	font-style:	italic;
}
p {
	font-family: 'Ubuntu', arial, serif;
	color: #646464;
	line-height: 17px;
	margin-bottom: 5px;
}
ul {
	margin: 2px 15px 9px 15px;
	font-family: 'Ubuntu', arial, serif;
	color: #646464;
	line-height: 17px;
}
li {
	padding-top: 3px;
	padding-bottom: 3px;				
}
.footnote_text {
	font-family: 'Ubuntu', arial, serif;
	color: #646464;
	line-height: 10px;
	font-size: 9px;		
}				

/*############################################################################
Main Layout 
############################################################################ */
/* forces the central area to always be centered horizontally, even on browser resize */
div#outer_container {
	margin: 0 auto;
	margin-top: 31px;
	width: 930px;
	min-height: 637px;
	background: #fff url('../images/curve-top.gif') left top no-repeat;
	position: relative;
}
img#water-ripple {
	position: absolute;
	top: 60px;
	left: 0;
}							
div#bottom-curve {
	margin: 0 auto;
	width: 930px;
	height: 13px;
	background: #fff url('../images/curve-bottom.gif') left bottom no-repeat;
}
div#mirror-image, div#mirror-image-xmas, div#mirror-image-xmas-thankyou {
	margin: 0 auto;
	width: 805px;					/* less padding */
	height: 65px;					/* less padding */
	background: #000 url('../images/mirror-image.gif') left bottom no-repeat;
	color: #666;
	font-size: 9px;
	padding: 10px 0 0 125px;
}
div#mirror-image-xmas {
	background: #000 url('../images/mirror-image-xmas.gif') left bottom no-repeat;
}
div#mirror-image-xmas-thankyou {
	background: #000 url('../images/mirror-image-xmas-thankyou.gif') left bottom no-repeat;
}
div#logo {
	float: left;
	margin: 20px 0 0 37px;				
}
div#telephone {
	float: left;
	margin: 32px 0 0 158px;
	font-family: 'EB Garamond', arial, serif;
	font-size: 24px;
	line-height: 30px;
	color: #52a7d5;				
}
div#social-media {
	float: right;
	margin: 40px 64px 0 0;					
}
img.social-media-icon {
	margin-right: 7px;				
}
#searchwrapper {
	position: absolute;
	top: 126px;
	left: 713px;
	width: 146px;
	height: 27px;
	background-image: url(../images/search-background-off.gif);
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
}
#searchwrapper form { 
	display: inline ; 
}
.searchbox {
	border: 0px;
	background-color: transparent;
	width: 100px;
	height: 27px;
	padding-left: 10px;
	padding-top: 0;
	font-family: 'Ubuntu', arial, serif;
	color: #666;
	font-size: 11px;
	outline: none;
}
.searchbox_submit {
	border: 0px;
	background-color: transparent;
	position: absolute;
	top: 1px;
	left: 113px;
	width: 24px;
	height: 23px;
}
div#dynamic_header_area {
	margin-left: 75px; 
	width: 778px; 
	height: 217px;
}
div#main-content {
	min-height: 423px;			
}

/* footer section */ 
div#footer-section {
	width: 781px;
	height: 55px;
	margin-left: 78px;
	border-top: 1px solid #000;			
}
div.lozenge {
	float: left;
	margin-top: 12px;
	margin-right: 28px;		
}
img#lozenge-blue, img#lozenge-purple, img#lozenge-orange, img#lozenge-green {
	-webkit-transition: .4s ease-in-out;  
	-moz-transition: .4s ease-in-out;
}
img#lozenge-blue:hover, img#lozenge-purple:hover, img#lozenge-orange:hover, img#lozenge-green:hover  {
	-moz-border-radius: 30px;					/* Rounded corners on shadows */
	border-radius: 30px;						/* Rounded corners on shadows */
	-webkit-box-shadow: 0px 0px 6px #007eff;  
	-moz-box-shadow: 0px 0px 5px #007eff;  
	box-shadow: 0px 0px 5px #007eff;
}
div.mirror-image-text {
	float: left;
	margin-right: 30px;				
}
div#left_section, div.left_section {
	float: left;
	width: 360px;
	margin-left: 77px;
	margin-right: 5px; 		
}
div#right_section, div.right_section {
	float: left;
	width: 417px;
	height: 358px;
	background: url('../images/image_background.gif') 0 0 #fff;
}
div#right_section_image, div.right_section_image {
    margin: 20px 0 0 20px;
}
/* portfolio override */ 
div.slide div.left_section {
	margin-left: 0px;
	margin-right: 4px;
}
/* Slidedeck override */ 
div#right_section_slidedeck {
	float: left;
	width: 417px;
	height: 358px;
	margin: 7px 0 0 7px;
}
#random-fades {
	list-style: none; 
	margin: 0;
	visibility: hidden;					/* Hide when JS is off */
	display: none;						/* Hide when JS is off */
	width: 377px; 
	height: 318px;	
}
#random-fades li {
	padding: 0;				
}
div#admin_link {
	text-align: center;
}

/* Xmas page specific style */
#xmassearchwrapper {
	width: 344px;
	height: 27px;
	background-image: url(../images/xmas-email-background.gif);
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
}
#xmassearchwrapper form { 
	display: inline ; 
}
.xmassearchbox {
	border: 0px;
	background-color: transparent;
	width: 320px;
	height: 27px;
	padding-left: 10px;
	padding-top: 0;
	font-family: 'Ubuntu', arial, serif;
	color: #666;
	font-size: 11px;
	outline: none;
}
div.formleft {
	float: left;
	width: 285px;				
}
div.formright {
	float: right;
	width: 16px;
	margin-right: 30px;				
}
div#follow-us {
	margin: 30px 0 0 165px;				
}
div#chart2 {
	height: 300px; 
	color: #fff; 
	font-weight: bold; 
	font-family: 'Ubuntu', arial; 
	margin-top: -4px; 
	margin-left: -9px;
	display: none;				
}
div#piechart {
	display: none;			
}				
div#pie-legend-left {
	float: left; 
	width: 260px;	
}
div#pie-legend-right {
	float: left; 
	width: 90px;				
}
div#dynamic-bars {
	height: 300px; 
	margin-bottom: -4px; 					
}
div#bar-heroes, div#bar-marsden, div#bar-ormond, div#bar-pilotlight, div#bar-gua {
	color: #fff; 
	font-weight: bold; 
	font-family: 'Ubuntu', arial;
	font-size: 14px;
	height: 50px;
	line-height: 44px;
	background-color: #0757ce;
	text-align: right;
	padding-right: 15px;			
}
div#bar-marsden {
	background-color: #8d00de;				
}
div#bar-ormond {
	background-color: #f6a800;				
}
div#bar-pilotlight {
	background-color: #ce0731;				
}
div#bar-gua {
	background-color: #058e0a;				
}

/*############################################################################
Dynamic image display system 
############################################################################ */
#image_rotate_header {
	list-style: none; 
	margin: 0; 
	visibility: hidden;		
}
/* This is the header image that only shows when Javascript is disabled */
#imagedisplay_header {
	position: absolute; 
	left: 75px; 
	top: 165px;
}
img.header {
	-webkit-transition: .2s ease-in-out;  
	-moz-transition: .2s ease-in-out;
}
img.header:hover  {
	-moz-border-radius: 12px;					/* Rounded corners on shadows */
	border-radius: 12px;						/* Rounded corners on shadows */
	-webkit-box-shadow: 0px 0px 6px #007eff;  
	-moz-box-shadow: 0px 0px 5px #007eff;  
	box-shadow: 0px 0px 5px #007eff;
}

/*############################################################################
News layout
############################################################################ */
div.resources_row {
	height: 20px;
	padding: 5px;
	border-bottom: 1px solid #bebebe;
	margin-bottom: 2px;
}
div.resource_date {
	float: left; 
	width: 75px; 			
}
div.resource_title {
	 width: 275px; 
	 float: left;				
}
div#back_link {
	margin-left: 77px; 		
}

/*############################################################################
Documents layout
############################################################################ */
div#document_content_area {
	background: url('../images/document_header_bar.gif') no-repeat;
	width: 360px;
	height: 48px;
	margin-top: 10px;				
}
div#document_type {
	float: left;
	width: 27px;
	margin-top: 4px;
	margin-left: 2px;
	height: 27px;				
}
div#document_title {
	float: left;				
	width: 250px;
	margin-left: 5px;
	line-height: 27px;	
}
div#document_size {
	float: left;				
	width: 60px;
	margin-left: 5px;
	line-height: 27px;					
}

/*############################################################################
SlideDeck styles 
############################################################################ */
#slidedeck_frame {
	height: 320px;
}
div#slidedeck_noscript {
	visibility: visible;		/* Show by default and turn off using javascript, so doesn't show if Javascript is enabled */
	background-color: #fff;
	padding: 5px;
	margin-right: 6px;
	height: 308px;
}	


/*############################################################################
Main site hyperlinks 
############################################################################ */
a:link, a:visited {
	font-size: 12px;
	text-decoration: none;
	color: #646464;
	font-style: italic;
}
a:hover {
	color: #646464;
	text-decoration: underline;
}

a.highlight:link, a.highlight:visited, a.popup-highlight:link, a.popup-highlight:visited {
	font-size: 12px;
	text-decoration: none;
	color: #52a7d5;
	font-style: italic;
}
a.highlight:hover, a.popup-highlight:hover {
	text-decoration: underline;
}

.footnote_text a:link, .footnote_text a:visited, .footnote_text a:hover  {
	font-size: 9px;
}

#admin_link a:link, #admin_link a:visited {
	font-size: 10px;
	text-decoration: none;
	color: #646464;
	font-style: normal;
}
#admin_link a:hover {
	color: #57b7df;
	text-decoration: underline;
}

/*########################################################################################
Form styles - note some of these elements are overwritten in the javascript only CSS file
####################################################################################### */
#contact_form, #contact_form_message {
	position: absolute;
	top: 193px;
	left: 442px;
	margin-left: 0px;	
}
div#formleft {
	float: left;
	margin: 124px 0 0 40px;
	width: 160px;				
}				
div#formright {
	float: right;
	margin: 181px 10px 0 57px;
	width: 133px;
	height: 130px;
	border: 0px solid red;			
}
textarea#message {
	font-family: 'Architects Daughter', 'Ubuntu', arial, serif;
	font-size: 12px;
	line-height: 16px;
	color: #333;
	width: 160px;
	height: 175px;
	padding: 3px;
	overflow:hidden;
	overflow-y: hidden;
	overflow-x: hidden; 
	opacity: 0.80;
    -moz-opacity: 0.80;
    -webkit-opacity: 0.80;
    -khtml-opacity: 0.80;
    -ms-filter: "Alpha(opacity=80)";
    filter: Alpha(opacity=80);
	outline: none;  
	-webkit-border-radius: 3px;  
	-moz-border-radius: 3px;  
	border-radius: 3px;  
	border: 1px solid #ccc;  
	-webkit-transition: .3s ease-in-out;  
	-moz-transition: .3s ease-in-out;
}
textarea#message:focus {
	border: 1px solid #fafafa;  
	-webkit-box-shadow: 0px 0px 6px #007eff;  
	-moz-box-shadow: 0px 0px 5px #007eff;  
	box-shadow: 0px 0px 5px #007eff;
}
form#contact_form #contactname, form#contact_form #number, form#contact_form #email  {
	font-family: 'Architects Daughter', 'Ubuntu', arial, serif;
	font-size: 12px;
	line-height: 11px;
	color: #333;
	width: 123px;
	height: 15px;
	padding: 2px;
	opacity: 0.80;
	-moz-opacity: 0.80;
	-webkit-opacity: 0.80;
	-khtml-opacity: 0.80;
	-ms-filter: "Alpha(opacity=80)";
	filter: Alpha(opacity=80);
	outline: none;  
	-webkit-border-radius: 3px;  
	-moz-border-radius: 3px;  
	border-radius: 3px;  
	border: 1px solid #ccc;  
	-webkit-transition: .3s ease-in-out;  
	-moz-transition: .3s ease-in-out;
}
form#contact_form #contactname:focus, form#contact_form #number:focus, form#contact_form #email:focus  {
	border: 1px solid #fafafa;  
	-webkit-box-shadow: 0px 0px 6px #007eff;  
	-moz-box-shadow: 0px 0px 5px #007eff;  
	box-shadow: 0px 0px 5px #007eff;
}
input#submit_contact  {
	margin-left: 27px;
	margin-top: 5px;
	outline: none;  
	-webkit-border-radius: 3px;  
	-moz-border-radius: 3px;  
	border-radius: 3px;  
	-webkit-transition: .3s ease-in-out;  
	-moz-transition: .3s ease-in-out; 
}
input#submit_contact:hover  {
	-webkit-box-shadow: 0px 0px 6px #007eff;  
	-moz-box-shadow: 0px 0px 5px #007eff;  
	box-shadow: 0px 0px 5px #007eff;
}
.clearForm{
	clear:both;
	height: 7px;
}
div#error {
	position: absolute;
	top: 20px;
	left: 100px;
	color: #b80000;
}
p#message  {
	font-family: 'Ubuntu', arial, serif;
	font-size: 11px;
	line-height: 14px;
	color: #333;
}

/*############################################################################
Javascript specific styles
############################################################################ */
img#photo_no_js {
	visibility: visible;			/* Show by default and turn off using javascript, so doesn't show if Javascript is enabled */	
}
.hide_when_no_js {
	display: none;
	visibility: hidden;			/* hide by default and only show when javascript is enabled */
}


/*############################################################################
Tooltip styles
############################################################################ */
/* tooltip styling */
.tooltip {
	display:none;
	background:url('../images/black_arrow_big.png');
	height:163px;
	padding:40px 30px 10px 30px;
	width:310px;
	font-size:11px;
	color:#fff;
}
.tooltip a {
	color: #52a7d5;
	font-size: 11px;
	font-weight: bold;
}


/*############################################################################
Miscellaneous 
############################################################################ */
.left {
	float: left;				
}				
.right {
	float: right;				
}
.clear {
	clear: both;
}
.clear1 {
	clear: both;
	height: 1px;
}
.clear2 {
	clear: both;
	height: 2px;
}
.clear3 {
	clear: both;
	height: 3px;
}
.clear5 {
	clear: both;
	height: 5px;
}
.clear10 {
	clear: both;
	height: 10px;
}
.clear20 {
	clear: both;
	height: 20px;
}
.clear30 {
	clear: both;
	height: 30px;
}
.clear40 {
	clear: both;
	height: 40px;
}

/*############################################################################
Clearfix from: http://www.positioniseverything.net/easyclearing.html 
############################################################################ */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}

