   @charset "UTF-8";
/* CSS Document */

body {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 1em; /*16px/16*/
	margin:0;
	padding:0;
}

p {
	font-size: 0.8125em; /*13px/16*/
	line-height: 18px; /*Adjustment to em not needed*/
}

h1, h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
}

h1 {
	color: #ffffff;
	font-size: 1.75em; /*28px/16*/
}

h2 {
	font-size: 1.25em; /*20px/16*/
	margin-bottom: 10px; /*Adjustment to em not needed*/
}

img {max-width:100%;}

#wrapper {
	width: 80%; /*1000px*/
	margin-left: auto;
	margin-right: auto;
}

header {
	width: 96%; /*960px/1000 *100*/
	background: #39F;
	padding: 14px 1.4%; /*14px/1000 *100*/
}

nav ul {
	margin: 6px 0;
	padding-left:0;
	font-size: 0.875em; /*14px/16*/
}

nav li {
	background:#0033FF;
	color: #ffffff;
	display: inline-block;
	list-style:none;
	margin: 0 0.6%; /*6px/1000 *100*/
	padding: 6px 0;
	width: 14.7%; /*147px/1000*100*/
	text-align:center;
}

nav li.home {
	margin-left:0;
}

nav li.contact {
	margin-right:0;
}

main {
	width:100%;
}

section {
	width: 63.5%; /*635/1000*100=*/
	float: left;	
}

aside {
	overflow: hidden;
	width: 28.2%; /*282/1000*100=*/
	background:#6600CC;
	float: right;
	padding: 14px 1.4%; /*14px/1000 *100*/
	min-height: 265px; /*Adjustment to em not needed*/

}

aside h1 {
	margin-bottom: 12px; /*Adjustment to em not needed*/
	
}

aside p {
	color: #ffffff;
}

.column-left,
.column-center,
.column-right {
	width: 28.2%; /*282/1000*100=*/
	background:#FF3;
	min-height:150px; /*Adjustment to em not needed*/
	padding: 14px 1.4%; /*14px/1000 *100*/ 
}

.column-left {
	clear: both;
	float: left;
	margin: 12px 0;
}

.column-center {
	float: left;
	margin: 12px 1.5% 0; /*15px/1000 *100*/ 
}

.column-right {
	float: left;
	margin: 12px 0;
}

footer {
	clear: both;
	width: 100%;
	background:#F00;
	text-align:center;
	padding:6px 0;
}

footer p {
	color: #ffffff;
	font-size:0.625em; } /*10px/16*/


@media only screen and (max-width:1024px) {
	h1 {font-size: 1.375em; } /*22px/16*/
	nav li {margin: 0 0.3%;} /*3px/1000*/
	section {width:100%; margin-bottom: 6px;}
	aside{width: 97.2%; min-height: 72px;} /*100%-2(1.4%)*/
	.column-left {clear: both;}
	.column-left, .column-center, .column-right { min-height: 200px;}
	.column-left p, .column-center p, .column-right p {font-size:0.75em; }  /*12px/16*/
		}

@media only all and (max-width:480px) {
	#wrapper {width: 100%;}
	h1 {font-size: 1.25em; text-align: center;} /*20/16*/
	aside h1 {text-align: left;}
	nav {width: 100%;}
	nav ul {margin: 6px 0;}
	nav li {display: block; width: auto; border-bottom: 1px solid #fff;}
	.column-left, .column-center, .column-right {width: 91.25%; padding: 14px 4.375%; margin: 6px 0; min-height: 72px;}
	
	
	
}
