﻿/* ===========================
   ======= Body Style ======== 
   =========================== */
body {
	color: #000305; /* Base font colour */
	font-size: 87.5%; /* Base font size: 14px */
	font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	line-height: 1.429;
	margin: 0;
	padding: 0;
	text-align: left;
	}
.wrapper {
	clear: both; /* this stops items floating around container */
	margin: 0 auto; /* this centres the whole page container */
	width: 90%; /* this controls the amount of margin on the left and right side of the whole page container */
}
/* ===========================
   === Font h class styles ===
   =========================== */
h1 {font-size: 1.857em}	/* 26px divided by 14 */
h2 {font-size: 1.571em}	/* 22px divided by 14 */
h3 {font-size: 1.429em}	/* 20px divided by 14 */
h4 {font-size: 1.286em}	/* 18px divided by 14 */
h5 {font-size: 1.143em}	/* 16px divided by 14 */
h6 {font-size: 1em}		/* 14px */
h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}
h1, h2, h3, h4, h5, h6 {color: #000080;} /* text colour navy */

/* ===========================
   ==== Hyperlink Style ====== 
   =========================== */
a {
	outline: ;
	}
a img {
	border: 0px; 
	text-decoration: none; /* this removes the underline from hyperlinks */
}
a:link, a:visited {
	color: #bebebe;
}
a:hover, a:active {
	background-color: #bebebe;
}
/* ==========================
   === Main Header Style ====
   ========================== */ 
.mainHeader nav {
	height: 40px; /* this controls the height of the Nav bar */
	line-height: 30px; /* this controls the height of the Text in the Nav bar */
	margin: 0 auto 30px auto;
	text-align: right;
}
.mainHeader nav h1 {
	display: inline; /* this makes the Nav text appear in one line not in a list */
	margin: 0 0 30px 0;
}
/* ===========================
   ======= Content Area ====== 
   =========================== */
img.photo-1 {
    display: block; /* this allows you define how you deal with an image */
 	margin: 0 auto; /* this centres the image */
	max-width: 100%;
	height: auto; 
	box-shadow: 5px 5px 7px #777;  /* this adds a shadow around the image */
	-webkit-box-shadow: 5px 5px 7px #777; 
	-moz-box-shadow: 5px 5px 7px #777; 
	}
img.photo-2 {
    display: block; /* this allows you define how you deal with an image */
 	margin: 0 auto; /* this centres the image */
 	max-width: 100%;
	height: auto;
	box-shadow: 5px 5px 7px #777;  /* this adds a shadow around the image */
	-webkit-box-shadow: 5px 5px 7px #777; 
	-moz-box-shadow: 5px 5px 7px #777; 
	}
@media \0screen {
  img .photo-1, .photo-2 { 
  	width: auto; /* for ie 8 */
  }
}
.topcontent {
	background-color: #FFF;	/* box background colour #fff is white */
	border-radius: 5px; /* box rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 1% 5%; /* top and bottom padding is 1% left and right is 5% */
	margin-bottom: 3%; /* 3% gap on the bottom outside of the box  */
}
.content {
	overflow: hidden; /* stops other content floating over this box */
	line-height: 25px;
	width: 74%; /* width of main content box */
	float: left;
	border-radius: 5px; /* box rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
.content h1 {
		color: #4169e1;
		font-size: 2.14em;
		line-height: 1.00em;

}
.photo-info {
	text-align: center; /* this centers text under a photo */
	font-style: italic; /* this makes text italic */
	color: #999; /* this makes the text light grey */
	font-size: 85%; /* this makes the text smaller than the main body text */
}
.video {
 	margin: 0 auto; /* this centres the video */
	}
}
/* ===========================
   ======== Sidebar ========== 
   =========================== */
.top-sidebar {
	width: 18%; /* width size of the box  */
	float: left;
	margin-left: 2%; /* this makes the 2% gap coloumn to the left outside of the box  */
	border-radius: 5px; /* box rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #COCOCO; /* box background colour #fff is white */	
	padding: 2% 3%; /* top and bottom padding is 2% left and right is 3% */
}
.middle-sidebar {
	width: 18%; /* width size of the box  */
	float: left;
	margin-left: 2%; /* this makes the 2% gap coloumn to the left outside of the box  */
	border-radius: 5px; /* box rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	/* box background colour #fff is white */
	padding: 2% 3%; /* top and bottom padding is 2% left and right is 3% */
	margin-bottom: 2%; /* 2% gap on the bottom outside of the box  */
}
.bottom-sidebar {
	width: 18%; /* width size of the box  */
	float: left;
	margin-left: 2%; /* this makes the 2% gap coloumn to the left outside of the box  */
	border-radius: 5px; /* box rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF; /* box background colour #fff is white */
	padding: 2% 3%; /* top and bottom padding is 2% left and right is 3% */
}
/*----------------------------------------
------------FOOTER-----------------------
----------------------------------------*/
footer {
	float: none;
	clear: both;
	overflow: auto;
	background: #000080; /*--- footer background colour ---*/
	color: #FFF; /*--- footer font colour ---*/
}
	footer a:hover, footer a:active {
		color: #FFF; /*--- Links footer font colour ---*/
	}

	footer div {
		margin: 0 auto;
		width: 95%;
	}

		footer h2 {
			text-transform: uppercase;
			color: #FFF; /*--- H2 footer font colour ---*/
		}

		footer a {
			font-weight: bold;
			text-decoration: none;
			line-height: 2.5;
		}

		footer #more-links , footer #contact {
			margin: 0 1%;
			width: 47%;
		}

		footer #more-links {
			float: left;
		}
		footer #more-links .links a{
				text-decoration: none;
				color: #FFF;
			}
		footer #more-links .links a:hover {
					color: #FFF;
				}
		footer #contact {
			float: right;
		}
		
			footer #sucontact bmit hgroup h2, footer #contact hgroup h3Â {
				float: left;
			}
			
			footer #contact hgroup h2 {
				display: block;
				clear: both;
				float: none; /* PROBLEM: NOT FLOATING PROPERLY IN FF */
				margin-right: 10px;
			}
			
			footer #contact hgroup h3 {
				display: none; /* PROBLEM: NOT FLOATING PROPERLY IN FF */
				font-weight: bold;
				font-size: 14px;
				line-height: 54px;
				color: #FFF;
			}
footer nav {
	background: #000080;   /* background colour Navy */
	width: 100%;
	height: 150px;
	clear: both;
}
img.photo-nav {
	float: right;
 	margin: 0 auto; /* this centres the image */
	}

/* ===========================
   ====== Media Queries ====== 
   =========================== */ 
@media only screen and (min-width : 50px) and (max-width : 750px)
{
	body {
	color: #353535; /* Base font colour now grey for iPhone */
	font-size: 99%;  /* for iPhone increase the font size */
	}
	.wrapper {
		width: 95%; /* for iPhone increase the whole page container width */		
	}
	.mainHeader img.header-image {
		width: 100%; /* for iPhone increase width of the image to fill the screen */
	}
	.mainHeader h1 { 
	font-size: 1.00em; /* for iPhone decreases the title font size to size 12 (12 divided by 14) so it fits the screen */
	}
	.content {
		width: 100%; /* for iPhone now 100% to fill screen*/
		float: left;
	}	
	.post-info {
		display: none; /* this is the command not to display an object*/
	}
.top-sidebar, .bottom-sidebar {
	width: 90%;
}
footer #more-links , footer #contact {
	margin: 4% 15%;
	width: 70%;
}
}
