﻿/*===================================
  smaller than 980
=====================================*/

@media screen and (max-width: 980px) {
#outerWrapper {
	width: 95%;
}
#contentWrapper {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}

#content {
	width: 60%;
	padding: 3% 4%;
}
#leftColumn1 {
	width: 30%;
}
input[type=text], select, textarea {
	width: 100%;
}

}

/* =============================
iPads (portrait) 
================================ */
@media only screen and (min-device-width : 768px) and (orientation : portrait) {

#outerWrapper {
	width: 95%;
}

#contentWrapper {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}

#content {
	width: 63%;
	padding: 3% 4%;
}
#leftColumn1 {
	width: 27%;
}
input[type=text], select, textarea {
	width: 100%;
}

}

/*===========================
smaller than 650
==============================*/
@media screen and (max-width: 650px) {

#contentWrapper {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}

#header {
	height: auto;
	

}


#topNavigation {
	position: static;
}
#content {
	width: auto;
	float: none;
	margin: 20px 0;
}
#leftColumn1 {
	width: auto;
	float: none;
	margin: 0;
}
input[type=text], select, textarea {
	width: 100%;
}

}
/*===============================

  smaller than 480
=================================*/
@media screen and (max-width: 480px) {
html {
	-webkit-text-size-adjust: none;
}
#contentWrapper {
	clear: both;
	background: #FFFFFF url('images/mobile-bg.jpg') repeat-y;
}

#outerWrapper #topNavigation {
	height: 50px;
}

#topNavigation a {
	font-size: 90%;
	padding: 10px 8px;
}
#leftColumn1 {
	width: auto;
	float: none;
	margin: 0;
	height: 100%;
}

input[type=text], select, textarea {
	width: 100%;
}

}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

