/* --- Style by J.Matthew Lawrence --- */

@media all and (max-width: 1016px) {
    body #inner { max-width: 100%; }

    #nav .menu-primary { width: auto; }
    body #header { width: auto; }
   #title-area #description { margin-top: 0; padding: 31px 0 31px 28px; }
   
   #content-sidebar-wrap #content { width: 60%; background: #fff; padding-bottom: 40px; }
   #content-sidebar-wrap #sidebar { width: 36%; background: #4BBDBD; padding: 20px 2%; overflow: hidden; }
   
   #content .navigation { margin: 20px 0; }
   
   #af-form-1356866132 .af-body input.text { max-width: 95% !important; }
   
   .content-sidebar #inner #content-sidebar-wrap { background: none; }
   
   #text-4 .textwidget { padding: 0; }
   #af-form-1356866132, #af-form-1356866132 .quirksMode { width: 255px !important; }
   #af-form-1356866132 .af-standards .af-element { padding-left: 15px !important;    padding-right: 15px !important; }
   #cse-search-box input { max-width: 100%; }
   .header-full-width #title-area, .header-full-width #title, .header-full-width #title a { max-width: 100%; }
   #footer .creds { max-width: 100%; }
    
}
@media all and (max-width: 768px) {
    #header #title { font-size: 52px; line-height: 2.3; }
    #content-sidebar-wrap #content { width: 100%;  }
   #content-sidebar-wrap #sidebar { width: 96%;  }
}
@media all and (max-width: 480px) {
    
    #nav .responsiveMenuSelect { font-size: 14px; text-transform: uppercase; color: #51A5A5; padding: 10px; border: none; -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: ''; background: url(images/mobile_menu_icon.png) no-repeat right center #C4EAE8; }
    
    #header #title { line-height: 1.3; display: block; }
    #title-area #description { position: relative; background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    margin: 0;
    padding: 0; }
}