/* Stylesheet */
body {
	background-color:#e9e9e9;
	color: #000305;
	font-size: 87.5%; /* Base font size is 14px */
	font-family: Arial, 'Lucida Sans Unicode';
	line-height: 1.5;
	text-align: left;
}

a {
	text-decoration: none;
}

a:link, a:visited {
	color: #CF5C3F;
}

.mainContent a:hover, aside a:hover, .mainFooter a:hover, a:active {
	background-color: #CF5C3F;
	color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
	
}

.body {
	margin: 0 auto;
	width: 70%;
	clear: both;
}

.mainheader img {
	width: 15%;
	height: auto;
	margin: 2% 0;
}

.mainheader nav {
	background-color:#666;
	height: 40px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.mainheader nav ul {
	list-style: none;
	margin: 0 auto;
}

.mainheader nav ul li {
	float: left;
	display: inline;
}

.mainheader nav a:link, .mainheader nav a:visited {
	color: #FFF;
	display: inline-block;
	padding: 10px 25px;
	height: 20px;
}

/*.mainheader nav a:hover, */.mainheader nav a:active, 
.mainheader nav .active a:link, .mainheader nav .active a:visited {
	background-color: #CF5C3F;
	text-shadow: none;
}

.mainheader nav ul li a {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;

	position: relative;
	z-index: 1;
}

 .mainheader nav ul li a::before {
 border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0;
	background-color: #CF5C3F;
	transition:all 300ms;
	-moz-transition: all 300ms;
	-o-transition: all 300ms;
	-webkit-transition: all 300ms;
	-ms-transition: all 300ms;
	z-index: -1;
}

.mainheader nav ul li a:hover::before {
	height: 100%;
}


.mainContent {
	line-height: 25px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	/* overflow: hidden; */
}

.mybutton {
	padding: 5px 20px 5px 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: #CF5C3F;
	color: #FFF;
	text-shadow: none;
	border:0;
	cursor: pointer;
	background: linear-gradient (to bottom, #DF775D 5%, #CF5C3F 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #DF775D), color-stop(1, #CF5C3F));
	background:-moz-linear-gradient(top, #DF775D 5%, #CF5C3F 100%);
	background:-webkit-linear-gradient(top, #DF775D 5%, #CF5C3F 100%);
	background:-o-linear-gradient(top, #DF775D 5%, #CF5C3F 100%);
	background:-ms-linear-gradient(top, #DF775D 5%, #CF5C3F 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#DF775D', endColorstr='#CF5C3F',GradientType=0);
}

.mybutton:hover {
	background: linear-gradient (to bottom, #CF5C3F 5%, #DF775D 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #CF5C3F), color-stop(1, #DF775D));
	background:-moz-linear-gradient(top, #CF5C3F 5%, #DF775D 100%);
	background:-webkit-linear-gradient(top, #CF5C3F 5%, #DF775D 100%);
	background:-o-linear-gradient(top, #CF5C3F 5%, #DF775D 100%);
	background:-ms-linear-gradient(top, #CF5C3F 5%, #DF775D 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CF5C3F', endColorstr='#DF775D',GradientType=0);
}

.content {
	width: 70%;
	float: left;
}

.completecontent {
	width: 100%;
	float: left;
}

.topcontent {
	background-color:#C2C2C2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 3% 5%;
	margin-top: 2%;
}

.bottomcontent {
	background-color:#C2C2C2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 3% 5%;
	margin-top: 2%;
}

.post-info {
	font-style: italic;
	color: #999;
	font-size: 90%;
}

.post-info-none {
		display: none;
	}

.top-sidebar {
	width: 21%;
	float: left;
	background-color: #C2C2C2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 1.4% 0 2% 3%;
	padding: 2% 3%;
}

.middle-sidebar {
	width: 21%;
	float: left;
	background-color: #C2C2C2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-left: 3%;
	margin-bottom: 2%;
	padding: 2% 3%;
}

.bottom-sidebar {
	width: 21%;
	float: left;
	background-color: #C2C2C2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-left: 3%;
	margin-bottom: 0;
	padding: 2% 3%;
}

.mainFooter {
	width: 100%;
	height: 40px;
	float: left;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: #666;
	margin: 2% 0;
}

.mainFooter p {
	width: 92%;
	margin: 10px auto;
	color: #FFF;
}

@media only screen and (min-width: 150px) and (max-width: 757px) {
	
	.body {
		width: 90%;
		font-size: 95%;
	}
	
	.mainheader img {
		width: 30%;
	}
	
	.mainheader nav {
		height: 160px;
	}

	.mainheader nav ul {
		padding-left: 0;
	}

	.mainheader nav ul li {
		width: 100%;
		text-align: center;
	}

	.mainheader nav a:link, .mainheader nav a:visited {
		padding: 10px 25px;
		height: 20px;
		display: block;
	}

	.content {
		width: 100%;
		float: left;
		margin-top: 2%;
	}
	
	.post-info {
		display: none;
	}

	.topcontent {
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		padding: 3% 5%;
		margin-top: 2%;
		margin-bottom: 4%;
	}

	.bottomcontent {
		margin-top: 3%;
		margin-bottom: 3%;
	}
	
	.top-sidebar , .middle-sidebar, .bottom-sidebar{
		width: 94%;
		margin: 1.4% 0 2% 0;
		padding: 2% 3%;
	}
	
}

@media only screen and (min-width: 150px) and (max-width: 310px) {

	.mainheader img {
		width: 100%;
	}

	.mainFooter {
		height: 60px;
	}
	
}