/*==============================
smaller than 980
=================================*/
@media screen and (max-width: 980px) {
#wrapper {
	width: 95%;
}
#content {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}
#content {
	width: 60%;
	padding: 3% 4%;
}
#rightside {
	width: 30%;
}
input[type=text], select, textarea {
	width: 100%;
}
}
/* ===============================
 iPads (portrait) 
 ============================== */
@media only screen and (min-device-width : 768px) and (orientation : portrait) {
#wrapper {
	width: 95%;
}
#content {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}
#content {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}

#content {
	width: 63%;
	padding: 3% 4%;
}
#rightside {
	width: 27%;
}
input[type=text], select, textarea {
	width: 100%;
}
}
/*=====================================
less than 650
========================================*/
@media screen and (max-width: 650px) {
#top {
	height: auto;
}
#topnav {
	position: static;
}
#content {
	width: auto;
	float: none;
	margin: 20px 0;
}
#rightside {
	width: auto;
	float: none;
	margin: 0;
}
input[type=text], select, textarea {
	width: 100%;
}
}
/*========================================
less than 480
=========================================*/

@media screen and (max-width: 480px) {
html {
	-webkit-text-size-adjust: none;
}
#wrapper {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}
#wrapper #topnavn {
	height: 50px;
}
#topnav a {
	font-size: 90%;
	padding: 10px 8px;
}
#content {
	width: auto;
	float: none;
	margin: 0;
}
input[type=text], select, textarea {
	width: 100%;
}
}
