@charset "UTF-8";
/* CSS Document */
/*desktop freindly (made flexible to accomodate the tablet size and the mobile size)*/
body {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 1em; /*16px/16*/
	margin:0;/*adjustment not needed on height*/
	padding:0;
}

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

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;}
img {max-width:100%;}

#wrapper{
	width: 80%;/*started with 1000 px Divide all widths by wrapper starting width (in px)*/
	margin-left: auto;
	margin-right: auto;
}

header {
	width: 96%; /*960px/1000px=96%*/
	background: #39F;
	padding:14px 1.4%; /*based on the container it is in (this is in the wrapper so we divide by 1000px); you do not want to affect the top or bottom so you must leave the 14px before your final percentage.  */
}

nav ul {
	margin: 6px 0;/* don't have to adjust because the first is top and bottom and the second (0) is left and right*/
	padding-left:0;
	font-size: 0.875em; /*14px/16*/
}

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

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

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

main {
	width:100%;/*100%=1000px would normally divide all contents in main by main width*/
}

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

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

}

aside h1 {
	margin-bottom: 12px;
	
}

aside p {
	color: #ffffff;
}

.column-left,
.column-center,
.column-right {
	width: 28.2%; /*282px/1000px=28.2%(falls within the main section: check where the class or id falls within the source code)*/
	background:#FF3;
	min-height:150px;
	padding: 14px 1.4%; /* 14px/1000px=1.4px */
}

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

.column-center {
	float: left;
	margin: 12px 1.5% 0; /*15px/1000px=1.5%; others do not need to be adjusted*/
}

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

footer {
	clear: both;
	width: 100%;/*equal to 1000px or 100% of the wrapper*/
	background:#F00;
	text-align:center;
	padding:6px 0;
}

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

/* tablet freindly*/
@media only screen and (max-width: 1024px) {
	h1{font-size: 1.375em;}/*22px/16 (for text size)*/
	nav li {margin:0 0.3%;} /* 3px/1000px(for wrapper)*/
	section{width:100%; margin-bottom:6px; }

aside {width:97.2%;min-height: 72px; }/*100%-2(1.4%)=97.2%*/
	
	.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/16px*/
}
/* end of tablet freindly*/

/* start of mobile freindly*/
@media only all and (max-width: 480px) {
	#wrapper {width:100%; }
	h1{font-size: 1.25em;}/*20px/16 (for text size)*/
	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%; /*14px/320=4.375%*/ margin: 6px 0; min-height: 72px;}



}
/*end of mobile freindly */