body {margin: 0 auto; padding: 0; margin-top:0px ; background: #ffffff url(../images/bg.png) repeat-x; font-family: Georgia, "Times New Roman", Times, serif; font-size: 13px; color: #666666;}
h1, h2, h3 {margin: 0;font-weight: normal; color: #0F3252;}
#header {width: 900px; height: 235px; margin: 0 auto; margin-top:0px ; background: #A4C0C8 url(../images/top.jpg) no-repeat; }
#logo {height: 190px;}
#logo h1 {padding:0px; font-size:55px; text-align: center;}
#logo h2 {font-size: 27px; text-align: center; padding-left:200px; font-weight:bold; padding-top:30px;}
#logo a {text-decoration: none;color: #0F3252;}
.clear{clear:both;}
#menu {padding-top: 0; margin-right:70px;}
#menu ul { margin: 0; padding: 10px 0 0 0; list-style: none; line-height: normal; float:right; }
#menu li { display: inline; margin: 0; padding: 0; }
#menu a { padding: 0 21px; text-decoration: none; font-size: 136%; font-weight: bold; color: white;}
#menu a:hover { text-decoration: underline;}
#menu .active a { color: #F07901;}

#footer { height: 32px; padding: 20px; background: #2BC1F0; border-top: 5px solid #0F3252;}
#footer p { margin: 0; text-align: center; line-height: normal; font-size: 12px; color: #0F3252;}
#footer a {color: #0F3252;}
#footer marquee{background: #2BC1F0; color:#25BCEB;}

#content{width:900px; margin:0 auto; height:auto; min-height:500px;}
#content iframe{border:none; float:left; }

#sidebar{width:260px; float:left; padding:20px 10px;}
	.boxed {	margin: 10px 0 10px 0;}
	.boxed .title { width: 240px; height: 35px; margin: 0; padding: 10px 0 0 20px; border-radius: 25px 0; background-color: #0F3252; font-size: 136%; color:white;}
	.boxed .content { padding: 10px; border: 1px solid #0F3252; border-top: none; border-radius: 0 25px; }
	.boxed a { margin: 0; text-decoration:none;}
	.boxed h4 { font-size:16px; margin:0;  color:#0F3252;}
	.boxed ul{margin: 0; padding: 0; list-style: none; line-height: normal;}
	.boxed ul li { padding: 8px 0 8px 10px; background: url(images/bullet.gif) no-repeat 0px 13px; list-style: none;}

#home{float:right; width:600px; padding:10px 10px 10px 0;}
#home h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px;}
#home h2 {font-size: 12px; font-weight:bold; padding-top:10px;}
#home h3 {font-size: 20px; text-align:justify; height:330px; width:600px;}
#home .left{float:left;  padding-left:100px;}
#home .left img{width:110px; height:130px; margin:10px 10px 10px 0; border:3px solid #35507F; float:left;}
#home .left h2{float:left;}
#home .right{float:right;  padding-right:100px;}
#home .right img{width:110px; height:130px; margin:10px 10px 10px 0; border:3px solid #35507F; float:right;}
#home .right h2{float:right;}

#about{float:right; width:600px; padding:10px 10px 10px 0;}
#about h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}
#about h2 {font-size: 15.5px; padding-top:10px;text-align:justify; height:320px;}

#courses{float:right; width:600px; padding:10px 10px 10px 0;}
#courses h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}
#courses h2 {font-size: 17px; padding-top:10px; line-height:22px;}
#courses table{width:90%; border:7px solid #0F3252; text-align:center;}
#courses th {font-size: 17px; border:1px solid #0F3252; color:#0F3252;}
#courses td {font-size: 17px; border:1px solid #0F3252; color:#0F3252;}

#staff{float:right; width:600px; padding:10px 10px 10px 0;}
#staff h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}
#staff table{width:75%; border:7px solid #0F3252; text-align:center;}
#staff th {font-size: 17px; border:1px solid #0F3252; color:#0F3252;}
#staff td {font-size: 15px; border:1px solid #0F3252; color:#0F3252;}

#contact{width:900px; padding:10px 10px 10px 0;}
#contact h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}
#contact table{width:75%; border:7px solid #0F3252; text-align:justify;}
#contact th {font-size: 17px; border:1px solid #0F3252; width:30%;  color:#0F3252;}
#contact td {font-size: 15px; border:1px solid #0F3252;  color:#0F3252;}

#gallery{float:right; width:600px; padding:10px 10px 10px 0;}
#gallery h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}

#error{width:900px; padding:10px 10px 10px 0; }
#error h1{font-size: 25px; text-align:center; font-weight:bold; padding-bottom:10px; text-decoration:underline;}
#error h2 {font-size: 17px; padding-top:10px; line-height:22px;}

#slideshow {
	margin:0;
	padding:0;
	position:relative;
	border:10px solid #0F3252;
	-webkit-box-shadow:0 0px 5px #D5D5D5;
	-moz-box-shadow:0 0px 5px #D5D5D5;
	box-shadow:0 0px 5px #D5D5D5;
	margin-top:0px;
}

nav{	padding-left: 100px; padding-top:8.5px;}
nav ul {padding: 0;	margin: 0;	list-style: none;  	}
nav li{	float: left; padding-right: 15px;}
nav a{
	float: left;
    color: #eee;
    margin: 0 5px;
    padding: 3px;
    text-decoration: none;
	border: 1px solid #831608;
	font: bold 17px Arial, Helvetica; 	
    background-color: #831608;
    background-image: -moz-linear-gradient(#bb413b, #831608);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#bb413b), to(#831608));    
    background-image: -webkit-linear-gradient(#bb413b, #831608);
    background-image: -o-linear-gradient(#bb413b, #831608);
    background-image: -ms-linear-gradient(#bb413b, #831608);
    background-image: linear-gradient(#bb413b, #831608);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-shadow: 0 -1px 0 rgba(0,0,0,.8);    
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 rgba(0, 0, 0, 0.7), 0 2px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 rgba(0, 0, 0, 0.7), 0 2px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 rgba(0, 0, 0, 0.7), 0 2px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.5) inset;	
}
nav a:hover{
    background-color: #bb413b;
    background-image: -moz-linear-gradient(#831608, #bb413b);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#831608), to(#bb413b));      
    background-image: -webkit-linear-gradient(#831608, #bb413b);
    background-image: -o-linear-gradient(#831608, #bb413b);
    background-image: -ms-linear-gradient(#831608, #bb413b);
    background-image: linear-gradient(#831608, #bb413b);
}
nav a:active{
    background: #bb413b;
    position: relative;
    top: 2px;    
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset; 
}
nav span{
	border: 1px dashed #eba1a3;
    display: inline-block;
    padding: 4px 15px;
	cursor: pointer;	
    background-color: #bb413b;
    background-image: -moz-linear-gradient(#d4463c, #aa2618);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d4463c), to(#aa2618));      
    background-image: -webkit-linear-gradient(#d4463c, #aa2618);
    background-image: -o-linear-gradient(#d4463c, #aa2618);
    background-image: -ms-linear-gradient(#d4463c, #aa2618);
    background-image: linear-gradient(#d4463c, #aa2618);
}
nav a:hover span{	
    background-color: #bb413b;
    background-image: -moz-linear-gradient(#aa2618, #d4463c);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#aa2618), to(#d4463c));      
    background-image: -webkit-linear-gradient(#aa2618, #d4463c);
    background-image: -o-linear-gradient(#aa2618, #d4463c);
    background-image: -ms-linear-gradient(#aa2618, #d4463c);
    background-image: linear-gradient(#aa2618, #d4463c);
}
/* END Navigation */


/*Stacks CSS for Gallery ----------------------------------------------------------------------------------------------------------- */

.gallery{
	background-color: #EEEEEE;
	margin-top: 10px;
	height:510px;
	padding: 45px 30px 30px 45px ;
	border:1px solid #0F3252;
}

/*Float clearing goodness from Handcrafted CSS book ------------------------------------------------------------- */
.group:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/* Layout */
.stack { float: left; width: 25%; margin: 0 6% 7% 2%; position: relative; z-index: 10; }

/* Image styles */
.stack img { max-width: 100%; height: auto; vertical-align: bottom; border: 10px solid #fff; border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.stack:last-of-type { margin-right: 0; }

/* Stacks creted by the use of generated content */
.stack:before, .stack:after { content: ""; border-radius: 3px; width: 100%; height: 100%; position: absolute; border: 10px solid #fff; left: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	-webkit-transition: 0.3s all ease-out;
	-moz-transition: 0.3s all ease-out;
	transition: 0.3s all ease-out;
}
.stack:before { top: 4px; z-index: -10; } /* 1st element in stack (behind image) */	
.stack:after { top: 8px; z-index: -20; } /* 2nd element in stack (behind image) */

/* Second stack example (rotated to the right from the bottom left) */
.stack.rotated:before { 
	-webkit-transform-origin: bottom left;
	-moz-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	transform: rotate(2deg);
}
.stack.rotated:after { 
	-webkit-transform-origin: bottom left;
	-moz-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
	transform: rotate(4deg);
}	

/* Third stack example (One stack element rotated in the opposite direction) */
.stack.twisted:before {
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
	transform: rotate(4deg);
}	
.stack.twisted:after {
	-webkit-transform: rotate(-4deg);
	-moz-transform: rotate(-4deg);
	transform: rotate(-4deg);
}	

/* Fourth stack example (Similar to the second but rotated left) */
.stack.rotated-left:before {
	-webkit-transform-origin: bottom left;
	-moz-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	transform: rotate(-3deg);
}
.stack.rotated-left:after {
	-webkit-transform-origin: bottom left;
	-moz-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: rotate(-6deg);
	-moz-transform: rotate(-6deg);
	transform: rotate(-6deg);
}

/* Reset all rotations on hover */
.stack:hover:before, .stack:hover:after {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(0deg);
}