/*===================================
  smaller than 980
=====================================*/

@media screen and (max-width: 980px) {
#container {
   width: 95%;
}
#contentWrapper {
   clear: both;
}

img {
   max-width: 100%;j
   height: auto;
   width: auto\9; /*( ie8 */
}

#content {
   width: 60%;
   padding: 3% 4%;
}
#leftnav {
   width: 30%;
}
input[type=text], select, textarea {
   width: 100%;
}

}

/* =============================
iPads (portrait)
================================ */
@media only screen and (min-device-width : 768px) and (orientation : portrait) {

#container {
   width: 95%;
}

#contentWrapper {
   clear: both;
}

img {
   max-width: 100%;
   height: auto;
   width: auto\9; /*( ie8 */
}

#content {
   width: 63%;
   padding: 3% 4%;
}
#leftnav {
   width: 27%;
}
input[type=text], select, textarea {
   width: 100%;
}

}

/*===========================
smaller than 650
==============================*/
@media screen and (max-width: 650px) {

#container {
   clear: both;
}

img {
   max-width: 100%;
   height: auto;
   width: auto\9; /*( ie8 */
}

#content {
   width: auto;
   float: none;
   margin: 20px 0;
}
#leftnav {
   width: auto;
   float: none;
   margin: 0;
}
input[type=text], select, textarea {
   width: 100%;
}

}
/*===============================
  smaller than 480
=================================*/
@media only screen and (max-width: 480px) {
html {
   -webkit-text-size-adjust: none;
}
#container {
   clear: both;
}
img {
   max-width: 100%;
   height: auto;
   width: auto\9; /*( ie8 */
}

#banner {
   height: 80px;
   image: url('images/1FBKLogo-small.jpg');
}

#container #topmenu {
   height: 50px;
}

#leftnav {
   width: auto;
   float: none;
   margin: 0;
   height: 100%;
}

input[type=text], select, textarea {
   width: 100%;
}

}
