/*
Theme Name: Clean
Theme URI: neil-black.co.uk
Author: Neil Black
Author URI: neil-black.co.uk
*/

/* Main body */
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #303030;
	background-color: #C0C0C0;
	text-align: left;
	height: 100%;
}

	
/* Layout */
#wrapper {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	padding: 5px;
	background-color: #ffffff;
	border: solid 1px #000000;
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	#wrapper {
		width: 96%;
	}
}

#header{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	height: 80px;
	width: 100%;
	background-image:url('/images/bg2.png');
	background-repeat:no-repeat;
	background-position: right center;
}

#menu{
	position: relative;
	top: 5px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 30px;
	background-color: #0000A8;
	border: solid 1px #A8A8A8;
	border-radius: 5px;
}

#win_start{
	position: relative;
	top: 5px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 100%;
	height: 40px;
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	#win_start{
		height: 15px;
    }
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	#menu{
		height: auto;
		margin-bottom: 5px;
	}
}

#content{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	border: none;
	margin-top: 15px;
}

#footer{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	width: 100%;
	font-size: 10px;
	text-align: center;
	border-top: dotted 1px #477c2c;
	border-bottom: dotted 1px #477c2c;
	padding-top: 5px;
	padding-bottom: 5px;
}


/* Header Formatting */
#header h1, #header h2, #header h3, #win_start h1, #win_start h2, #win_start h3 {
	left: 5px;
	font-size: 24px;
	font-family: 'VT323', monospace;
	font-weight: 400;
	color: #000000;
	margin-top: 0px;
}

#header h1 {
	top: 5px;
}

#header h2 {
	top: 35px;
}

#header h3 {
	top: 65px;
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	#header h1, #header h2, #header h3, #win_start h1, #win_start h2, #win_start h3 {
		font-size: 14px;
	}
}

/* Menu Formatting */

.nav-menu {
	padding: 0px;
	margin: 0px;
}

#menu ul{
	list-style-type: none;
}

#menu a {
	display: block;
	text-decoration: none;
	float:left;
	font-family: 'VT323', monospace;
	font-weight: 400;
	font-size: 18px;
	color: #A8A8A8;
	border-right: solid 1px #A8A8A8;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 20px;
	padding-right: 20px;
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	#menu a {
		font-size: 14px;
		float: none;
		padding: 0px;
		border: none;
	}
}

#menu li a:hover {
	background-color: #A8A8A8;
	color: #000000;
}

#menu a.active {
	background-color: #A8A8A8;
	color: #000000;
}

 
/* Content Formatting */

#content h1, #content h2 {
	display: block;
	height: 20px;
    background-image: url(/images/formatting/win31_left.png), url(/images/formatting/win31_right.png), url(/images/formatting/win31_border_top.png), url(/images/formatting/win31_border_bottom.png);
    background-position: left top, right top, left top, left bottom;
    background-repeat: no-repeat, no-repeat, repeat-x, repeat-x;
	margin-bottom: 5px;
	margin-top: 15px;
	font-family: 'VT323', monospace;
	font-size: 20px;
	text-align: center;
	padding-top: 3px;
	color: #000000;
	background-color: #ffffff;
	font-weight: 400;
}


#content h1 {
	color: #ffffff;
	background-color: #000080;
}

#content h2 {
	color: #000000;
	background-color: #ffffff;
}

#content h3 {
	display: block;
	margin-bottom: 5px;
	font-size: 22px;
	font-family: 'VT323', monospace;
	font-weight: 400;
	color: #000000;
}

#content hr {
	border: 0px;
}

#content .toptip_header {
	font-size: 14px;
	color: #bb0000;
	text-align: center;
	display: block;
	padding: 8px;
	text-decoration: underline;
	background-color: #ffffff;
	font-weight: 700;
	background-image:url("/images/template/thumb_up_left.png");
	background-repeat:no-repeat;
	background-position:left top;
}

#content .toptip_box {
	border: 1px dashed #000000;
	background-color: #ffffff;
	color: #bb0000;
	display: block;
	width: 150px;
	float: right;
	margin: 5px;
	padding: 5px;
}

#content pre {
	color: #bb0000;
}

#content pre.code {
	background-color: #ede8e2;
	color: #303030;
	font-size: 11px;
	width: 550px;
	overflow:scroll;
	border-top: 1px solid #bb0000;
	border-right: 1px solid #bb0000;
	border-bottom: 1px solid #bb0000;
	border-left: 4px solid #bb0000;
	padding: 10px;
}

#content .float_right {
	float: right;
	padding-left: 5px;
}

#content .float_left {
	float: left;
	padding-right: 25px;
}

#content .contact_submit{
	display: inline-block;
	background-image: url('/images/template/email.png');
	background-repeat: no-repeat;
	background-position: 5px 5px;
	background-color: #d3f0b7;
	padding-left: 30px;
	padding-right: 20px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-bottom: 1px;
	vertical-align: top;
	border-bottom: solid 1px #477c2c;
}

#content .contact_submit:hover{
	text-decoration: none;
	background-color: #bde099;
}

#content table {
 font-size: 12px;
 font-family: inherit;
}

/* Links */
a {
	text-decoration: none;
	color: #477c2c;
}

a:visited {
	text-decoration: none;
	color: #477c2c;
}

a:active {
	text-decoration: none;
	color: #477c2c;
}

a:hover {
	text-decoration: underline;
	color: #477c2c;
}

h2 a, h2 a:visited, h2 a:active, h2 a:hover, h3 a, h3 a:visited, h3 a:active, h3 a:hover{
	color: #000000;
	text-decoration: none;
	font-size: inherit;
}

/* Mobile Changes */
@media screen and (max-device-width: 800px) {
	img {
		max-width: 90%;
		height: auto;
	}
}
