body {
	margin:0;
	padding:0;
	font-size:14px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	background:#ffffff; url(../images/bg.jpg) top center;
	color:#515E6C;
	border-top:10px solid #000000;
}
a {
	color: #c77000;
	text-decoration: none;
	outline:none;
}
img {
	outline:none;
	border:none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-size:36px;
	margin:0;
	padding:0;
	font-style:normal;
	font-weight:bold;
}
h1, h2, h3, h4, h5, h6 {
	color:#c77000;
	font-style:normal;
	font-weight:bold;
}
/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	list-style:disc;
    padding: 0;
}
p {
	margin:10px;
	line-height:20px;
}
/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
.logo {
	margin:10px 0 20px 0;
	padding:0;
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrapmain {
	padding: 5px;
	width: 960px;
	margin:20px auto;
}
#pagewrap {
	padding:5px 15px 15px 15px;
	width: 910px;
	margin:5px auto;
}
#header {
	height:100px;
}
#content {
	padding-top:10px;
}
#sidebar {
	width: 300px;
	float: right;
}
#footer {
	clear: both;
	border-top:solid 1px #CCC;
	text-align:center;
}
nav {
	display: block;
 width:;
	margin:0 auto 20px auto;
	float:right
}
nav ul {
	list-style: none;
}
nav li {
	display: inline-block;
}
nav a {
	display: inline-block;
	background:#093;
	color: white;
	padding: 5px 15px;
	text-decoration: none;
}
nav a:hover {
	background:#000;
	text-decoration: none;
}
nav a:active {
	background:#000;
}
nav select {
	display: none;
}
select {
	border:0;
	color:#EEE;
	background:#c77000;
	font-size:14px;
	font-weight: 500;
	padding:10px 50px;
	width:100%;
*width:100%;
*background:#58B14C;
	-webkit-appearance: none;
}
.buttons {
	width:100%;
	overflow:hidden;
	text-align:center;
	margin:0;
}
.buttons > span {
	display:inline-block;
	font-size:14px;
	line-height:3em;
	padding:1em 0.25em;
	margin:0 -1px 0 -2px;
	background: none;
}
* +html .buttons > span {
	margin:0 20px;
}
.buttons > span em {
	font-style:normal;
	display:block;
}
.btn:hover {
	background:#dedede;
	background:#000000;
	text-decoration:none;
}
.btn {
	position:relative;
	display:inline-block;
	padding:0.278em;
	font-size:14px;
	line-height:30px;
	background:#dedede;
	text-decoration:none;
	font-weight:bold;
	cursor:pointer;
	width:auto;
	margin:0 -2px;
	overflow:visible;
	-webkit-border-radius: 1.67em;
	-moz-border-radius: 1.67em;
	border-radius: 1.67em;
	-webkit-transition: background 0.5s ease;
	-moz-transition: background 0.5s ease;
	-o-transition: background 0.5s ease;
	transition: background 0.5s ease;
}
* +html .btn {
	margin:0;
}
.btn span {
	color:#fff;
	padding:0 3em;
	display:block;
	-moz-box-shadow:   	inset 0 0px 3px rgba(255, 255, 255, 255.75);
	-webkit-box-shadow: inset 0 0px 3px rgba(255, 255, 255, 0.75);
	box-shadow:         inset 0 0px 3px rgba(255, 255, 255, 0.75);
	-webkit-border-radius: 1.25em;
	-moz-border-radius: 1.25em;
	border-radius: 1.25em;
}
.btn:active {
	top:1px;
}
.btn:hover span, .btn:active span {
	color:#fff;
	text-decoration:none;
}
.btnGreen span {
	border:1px solid #5e9048;
	background:#63a700;
}
.btnBlue span {
	border:1px solid #67a2b4;
	color:#fff;
	background:#52b3d3;
	background-image: linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
	background-image: -o-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
	background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(66,153,179)), color-stop(1, rgb(82,179,211)) );
}
	
	
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
#pagewrapmain {
 width:90%;
}
 #pagewrap {
 width:94%;
}
 #content {
 width:;
}
 #sidebar {
 width: 30%;
}
 nav ul {
display: none;
}
 nav select {
display: inline-block;
}
}

/* for 700px or less */
@media screen and (max-width: 700px) {
 #content {
 width: auto;
 float: none;
}
 #sidebar {
 width: auto;
 float: none;
}
 #pagewrap {
 width:90%;
}
 .buttons .btn {
margin-top:0.2em;
}
 .buttons {
margin-top:0;
}
 .buttons {
font-size:9px;
}
}


/* for 480px or less */
@media screen and (max-width: 480px) {
 #header {
 height: auto;
}
 h1 {
 font-size: 24px;
}
 #sidebar {
 display: none;
}
 #pagewrap {
padding:5px 15px 15px 10px;
border: solid 0px #f00 !important;
}
 header[role="banner"] nav {
 width: 100%;
}
.js header[role="banner"] nav ul {
 display: none;
}
 .js header[role="banner"] nav ul {
    /* overrides the hiding of the menu */
    display: block;
}
 .js header[role="banner"] nav ul li {
 display: inline;
}
 .js header[role="banner"] .menu {
 display: none;
}
 .buttons .btn {
margin-top:0.5em;
}
 .buttons {
margin-top:2em;
}
 .btn span {
color:#fff;
padding:0 0.5em;
font-size:14px;
}
 .buttons em {
font-size:10px
}
}
/* border & guideline (you can ignore these) */

#header, #content, #sidebar {
	margin-bottom: 5px;
}
#pagewrap {
	border: solid 5px #ffcc00;
	background: #fff;
}
#pagewrapmain {
	border: solid 10px #090;
	background: #fff;
}
