@import url("reset.css");
@import url("grid.css");

@import url(http://fonts.googleapis.com/css?family=Antic+Slab);

/* Colour & Texture */

	/* General */

		body, #borderLeft, #borderRight, #footer {
			background-color: #f2f2f2;
		}
		
		#wrapper {
			background-color:#fff;
		}
		
		a {
			color: black;
		}
		
		a:hover {
			border-bottom: 1px dotted #666;	
		}
		
		.toggleLink {
			color:#666;
		}
		
		table {
			border-top: 1px #ccc solid;
			border-left: 1px #ccc solid;
		}
		
		td, th {
			border-bottom: 1px solid #ccc;
			border-right: 1px solid #ccc;
			padding: 0.5em;
		}
		
		hr {
			border: none;
			background: none;
		}

/* Typo */

	/* General */
	
			body {
				font-family: "Antic Slab",sans-serif;
				font-size: 12px;
			}
			
			a {
				text-decoration: none;
				font-style: italic;
			}
			
			.toggleLink {
				font-size: .8em;
				font-style: normal;
			}
			
			pre {
				font-family: monospace;
			}
			
			
			em {
				font-weight: bold;
				font-style: normal;
			}
			
			table {
				margin: 1em 0;
			}
			
			th {
				font-weight: bold;
				text-align: left;
			}
			
			td {
				text-align: center;
			}
			
			
			h1 a, h2 a, h3 a,  #mainNav a, #headNav a, #footerNav a {
				text-decoration: none;
			}
			
			h1 {
				font-weight: 100;
			}
			
			h1 {
				font-size: 3em;
			}
			
			h2 {
				font-size: 2em;
				font-weight: 100;
			}
			
			h3 {
				font-size: 1.16em;
			}
			
			p {
				line-height: 1.4em;
				margin-bottom: 1em;
			}
			
			p {
				font-size:1.2em;
			}
			
			p.introduction {
				font-size: 1.4em;
				line-height: 1.6em;
			}
			
			thead {
				font-size: 1.2em;
				font-weight: bold;
				text-align: left;
			}
			
			iframe {
				margin: 2em 0;
			}
			


/* Layout */

	/* General */

		html, body {
			height:100%;
		}
		
		body {
			margin:0;
			padding:0;
			min-width: 60em;
		}
		
		
		h1 a {
			display: block;
			height: 100%;
		}
		
		h1,h2,h3,h4,h5,h6 {
			margin-top:0;
			padding-top:1.5em;
		}
		
		h2 {
			margin-top: 1.5em;
		}
		
		#wrapper > div, #wrapper > h1, #wrapper > h2, #wrapper > h3, #nav li:first-child, #wrapper > p, #wrapper > pre,  #wrapper > ul.thumbnails {
			margin-left: 108px;
		}
		
		
		ul {
			margin-bottom: 1em;
		}
		
		.toggleLink {
			padding-left: 1em;
		}
		
	/* Nav */
	
	#nav {
		width:100%;
		background: #ccc;
		overflow: hidden;
		background: white;
		border-bottom:1px solid #ccc;
		z-index: 100;
	}
	
	#nav li {
		float: left;
		margin-right: 2em;
		padding: 1em 0;
	}
	
		

	/* Frame */
		
		#wrapper {
			position: relative;
			margin: 0 auto;
			min-height: 100%;
			width: 800px;
		}
		
		
		#wrapper #borderLeft {
			width:7px;
			height:100%;
			position: absolute;
			background: url('images/gr7-f2-e0.gif') repeat-y;
			top:0;
			left:-7px;
			margin: 0;
		}
		
		#wrapper #borderRight {
			width:7px;
			height:100%;
			position: absolute;
			background: url('images/gr7-e0-f2.gif') repeat-y;
			top:0;
			right:-7px;
			margin: 0;
		}


/* Mobile */

	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 1024px) {
		#footer {
			bottom:-2em;
		}
		 #wrapper {
			margin: 0;
		}
		
		#borderLeft, #borderRight {
			display: none;
		}		
	}
	
	@media only screen
	and (max-device-width : 480px) {
		#nav li a {
			font-size: 2em;
		}
		
		p {
			font-size: 2em;
		}
		
		h2 {
			font-size: 4em;
		}
	} 

	
/* Clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */