﻿/** 
 * SilverStripe Balance Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* DEFAULTS */
  
* {
	margin: 0;
	padding: 0;
}
body {
	background: #6f90b5 url('../images/jonesport.png') no-repeat top;
	font-size: 1em;
	font-family: Verdana, Arial, sans-serif;
}
html {
}
.typography table td {
	border: none;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
.clear {
	clear:both;
}
#Logo {
	margin: 0 auto;
	position: relative;
	width: 800px;	
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 100%;
}
#Container {
	background: url('../images/main-background.png') repeat;
	width: 800px;
	padding-bottom: 15px;
	margin: 100px auto 0 auto;
}
#Layout {
	padding: 15px 15px 0 15px;
	width: 770px;
	clear: both;
	overflow: hidden;
	margin: 0 auto 15px auto;
}
#Content {
	width: 538px;
	float: right; 	
	margin: 0;
	text-align: left;
}

/* HEADER */

#Header { 
 	width: 800px; 
	overflow: hidden;
	background: #58ade1;
	clear: left;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Georgia, 'Times New Roman', Times, serif; 
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}

/* NAVIGATION */

#NavWrapper {
	background: url('../images/nav.png') repeat;
	width: 100%;
	overflow: hidden;
	width:100%;
	margin:0;
	padding:0;
}

#Navigation {
	margin: 0 auto 0 auto;
	width: 100%;
	overflow: hidden;
	font-size: .9em;
}
	
	#Navigation ul {
		clear: left;
		float: left;
		list-style: none;
		margin: 0;
		padding: 0;
		position: relative;
		left: 50%;
		text-align: center;		
	}
		#Navigation ul li { 
			display: block;
			float: left;
			list-style: none;
			margin: 0;
			padding: 0;
			position: relative;
			right: 50%;
		}
			#Navigation ul li.current {
	display: block;
	float: left;
	list-style: none;
	margin: 0;
	position: relative;
	right: 50%;
}
		
  			#Navigation ul li a {
	display: block;
	margin: 0;
	padding: 10px 18px 12px 18px;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 1.3em;
	font-weight: bold;
}
					#Navigation ul li a:hover { 
						color: #000;
	background: url('../images/nav-hover.png') repeat;
					}
					#Navigation ul li a:hover span {
						cursor: pointer;
					}
				#Navigation ul li a.current, #Navigation ul li a.section {
	background: url('../images/nav-hover.png') repeat;
						color: #000;
}
	
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
	color: #000000;
	border: none;
}


/* HOMEPAGE */
#Container-home {
	width: 800px;
	padding-bottom: 15px;
	margin: 90px auto 0 auto;
	position: relative;
}
#Home {
	background: url('../images/main-background.png') repeat;
	padding: 15px 0 15px 0;
	margin-bottom: 10px;
	width: 770px;
	height: 215px;
	display: block;
	overflow: hidden;
}
#Home p {
	padding: 0 15px 0 15px;
	color: #000000;
	line-height: 1.25em;
	font-size: 0.9em;
	margin: 0;
}
#HomePage h1 {
	padding: 10px 0 10px 0;
	line-height: 100%;
	width: 600px;
	margin: 0 auto;
	font-size: 20px;
}
#HomePage h2 {
	margin-top: 0;
	margin: 0 0 10px 0;
	color: #000000;
	font-weight: bold;
	font-size: 12px;
}
#HomePage {
}
#HomePage #Login {
	width: 100%;
	margin-top: 1px;
}
#HomePage #Thanks {
	margin-top: 24px;
}
#Login p {
	text-align: center;
}
div.box1 {
	float: left;
	width: 225px;
	padding: 10px;
	margin-right: 17px;
	background-color: #aac498;
}
div.box2 {
	float: left;
	width: 225px;
	padding: 10px;
	margin-right: 17px;
	background-color: #9da4d3;
}

div.box3 {
	float: left;
	width: 225px;
	padding: 10px;
	margin-right: 0;
	background-color: #c0c59f;
}
.box div {
	width: 100%;
	text-align: center;
}
#box_wrapper {
	float: left;
	clear: both;
	display:block;
}
div.boxes {
	width: 780px;
	width: auto;
	margin: 0 auto;
	font-size: .9em;
}

/* flags for table */
div.flag {
	height: 11px;
	width: 17px;
	background: url(../images/flags.png) 0px 33px;
}
	div#en {
		background: url(../images/flags.png) 0px 55px;
	}
	div#fr {
		background: url(../images/flags.png) 0px 44px;
	}
	div#de {
		background-position: 0 33px;
	}
	div#cn {
		background-position: 0 22px;
	}
	div#es {
		background-position: 0 11px;
	}

#HomePage table {
	margin-top: 1px;
	width: 200px;
}
#HomePage table td {
	border: none;
	font-size: 1.2em;
}
#HomePage table th {
	padding: 5px;
	color: #999;
}

/* SIDEBAR
---------------------------------------- */

#Sidebar {
	border-bottom: 1px #DFDFDF dashed;
	background: url('../images/sidebar.png') repeat-x;
	width: 200px;
	float: left;
	padding: 0;
	margin-bottom: 1em;
	color: #fff;
	font-size: .9em;
}
	#Sidebar ul {
	list-style: none;
	margin: 0;
	padding: 1px 0 0 0;
	border: none;
}
	#Sidebar li {
	border-top: 1px #DFDFDF dashed;
	margin: 0;
	display: block;
}
	#Sidebar li a {
	display: block;
	padding: 7px 5px 7px 10px;
	color: #fff;
	text-decoration: none;
	width: 185px;
	font-weight: bold;
}
 #Sidebar li a:hover,  #Sidebar ul li a.current, #Sidebar ul li a.section  {
	background-color: #B7BCDF;
	color: #333333;
}

	#Sidebar h3 {
	clear: both;
	color: #FFFFFF;
	font-weight: 600;
	line-height: 1.8;
	padding: 10px 0 0 10px;
	font-size: 1em;
	margin-bottom: 10px;
}
		

/* SEARCH RESULTS STYLES */

ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}


/* FOOTER */

#Footer {
	background: url('../images/logo-footer.png') no-repeat left;
	clear: both;
	width: 750px;
	margin: 0 auto;
	text-align: center;
	height: 63px;
}
  	#Footer p {
	padding: 23px 0 20px 70px ;
	font-size: 75%;
	text-align: left;
	margin: 0;
	color: #FFFFFF;
}
  		#Footer a { 
	   		text-decoration: underline;
		}
#FormWrapper {
	width: 100%;
}

#Form_Form {
	width: 306px;
	margin: 0 auto;
}

