/* --------------------------------------------
* This file (custom.css) is the css file that * 
* handles any overrides you want to do with   *
* joomla or the bootstrap css files, as it is *
* loaded as the last css file in the template *          *
* -------------------------------------------*/

/* Start - Joostrap Template Main Overrides
-----------------------------------------*/ 
body {
  background-color: transparent !important;
}

body.mobile {
    min-height: 100%;
}

#system-message-container {
    display: none;
}

#right_column .well {
  display: inherit;
}

h1 {font-size: 2em;}
h2 {font-size: 1.5em;}
h3 {font-size: 1.25em;}

.container-fluid { 
  max-width:1170px; 
  margin:0 auto; 
  padding-left:0; 
  padding-right:0; 
}
.row-fluid .first {
  margin-left: 0 !important;
}
#content .moduletable,
#sidebar .moduletable,
#sidebar-2 .moduletable {
  margin-bottom:18px;
}
ul.nav.pull-right li.dropdown a.dropdown-toggle {
  padding-top:8px !important;
}
form#form-login div.control-group div.controls a {
  display:block;
}

a.brand:link,
a.brand:visited,
a.brand:hover,
a.brand:active {
  color: #272973;
  font-weight: bold;
  font-family: 'ChatypeB2.1RegularRegular';
}

span.brand_gov {
  color: #5d5c5d;
}

/* Start - iFrame/Embed Responsive Overrides 
 * For things like YouTube & Vimeo
 * embed codes, etc...
------------------------------------------*/
.embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16/9 ratio */
  padding-top: 30px; /* IE6 workaround*/
  height: 0;
  overflow: hidden;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#map_canvas img {
  max-width:none;
}

/* Start - Login Override Menu Dropdown
-------------------------------------*/
#login-dropdown {
  width: 250px;
  padding: 10px;
}
#login-dropdown .input-prepend {
  margin-left: 10px;
}
div.login-remember {
  padding: 5px;
}
.navbar .nav.pull-right {
  float: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top:2px;
}

/* Start - Bootstrap Overrides
----------------------------*/
div.nav-collapse.in.collapse {
  height:auto !important;
}
.form-search input, .form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
  max-width: 170px;
}
.custom {
  background:none;
}

/*Rustoleum Begins*/

/* --- LAYOUT ---*/

#content {background-color: white;}
#sidebar-2 {background: #fafafa;}

#sidebar,#sidebar-2,#content {
  margin: 0px;
  padding: 1em;
}

#photocredit {
  position: fixed;
  bottom: 70px;
  left: 8px;
  background-color: rgba(0, 0, 0, 0.68);
  padding: 0 6px;
  font-size: 11px;
  border-radius: 5px; 
  -moz-border-radius: 5px; 
  -webkit-border-radius: 5px;
  color: #bababa;
}

#photocredit a:link,
#photocredit a:visited,
#photocredit a:hover,
#photocredit a:active {
  color: #bababa;
}

/* --- NAVIGATION OVERRIDES --- */

/*Top Nav*/

/*Sub Nav*/
#sidebar .nav, #search_form {
  background-color: rgba(0,0,0,0.67);
  border-radius: 15px; 
  -moz-border-radius: 15px; 
  -webkit-border-radius: 15px;
  padding: 10px 0px 10px 0px;
}

#sidebar .nav, #embed_form {
  background-color: rgba(0,0,0,0.67);
  border-radius: 15px; 
  -moz-border-radius: 15px; 
  -webkit-border-radius: 15px;
  padding: 10px 0px 10px 0px;
}

#search_form {
  text-align: center;
}

#embed_form {
  padding: 10px 10px 10px 10px;
}

s:link,
#subnav_menu .nav  a:visited,
#subnav_menu .nav  a:hover,
#subnav_menu .nav  a:active {
  color: white;
}

#subnav_menu .nav  a:hover {
  background-color: black;
}

.search_checkbox {
  color: white;
  font-size: 12px;
  line-height: 13px;
}

.search_checkbox input {
  margin: 0px 4px 0px 0px;
}

#content ul.nav , #above-content .moduletable {
  margin: 0px;
}

#content ul.nav a:link,
#content ul.nav a:visited,
#content ul.nav a:hover,
#content ul.nav a:active {
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #f3f3f3;
  padding-left: 5px;
  padding-right: 5px;
}

#content li.current a{
  background-color: #a6a6a6;
  color: white !important;
  text-shadow: 1px 1px 1px rgba(8, 8, 8, 0.26);
}

#search_form .input-append {
  width: 90%;
}

#search_form .btn {
  background: url(../images/sidebar-icon-search.png) no-repeat center center #a22e19;
  width: 20%;
  max-width: 50px;
  height: 30px;
  border-color: #bb351d;
}

.navbar .btn-navbar .icon-bar{
  background-color:#272973;
}

/* --- HOME --- */
html.frontpage #search_form h5 {
  text-align: left;
  padding-left: 13px;
}

html.frontpage #embed_form h5 {
  text-align: left;
  padding-left: 13px;
}

html.frontpage .nav-stacked {
  margin-bottom: 0px !important;
}

/* --- DEPARTMENT PAGES ---*/

.department_logo {
  height: 130px;
}

.department_content_title {
  margin: -8px -8px 10px;
  font-weight: normal;
  font-size: 1.5em;
  color: white;
  background-color: #888;
  padding-left: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.department_sidebar_title {
  color: #fff;
  text-align: center;
  overflow: hidden;
  line-height: 23px;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px black;
}

/*Prevent underline in department title link*/
#sidebar a:link,
#sidebar a:visited,
#sidebar a:hover,
#sidebar a:active {
  text-decoration: none;
}

#department_back_link{
  margin-left: -6px;
  margin-top: -7px;
  margin-right: 9px;
}
div.navbar-inner {
  padding-left: 0px;
  padding-right: 0px;
  font-size: 13px;
}

/*--- BUTTON COLORS ---*/

.btn-blue,.btn-blue:hover {
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#1882A9;
*background-color:#1882A9;
background-image:-moz-linear-gradient(top,#1882A9,#1882A9);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#1882A9),to(#1882A9));
background-image:-webkit-linear-gradient(top,#1882A9,#1882A9);
background-image:-o-linear-gradient(top,#1882A9,#1882A9);
background-image:linear-gradient(to bottom,#1882A9,#1882A9);
background-repeat:repeat-x;border-color:#1882A9 #1882A9 #002a80;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1882A9',endColorstr='#1882A9',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}

.btn-lgtblue,.btn-lgtblue:hover {
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#7795B6;
*background-color:#7795B6;
background-image:-moz-linear-gradient(top,#7795B6,#7795B6);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#7795B6),to(#7795B6));
background-image:-webkit-linear-gradient(top,#7795B6,#7795B6);
background-image:-o-linear-gradient(top,#7795B6,#7795B6);
background-image:linear-gradient(to bottom,#7795B6,#7795B6);
background-repeat:repeat-x;border-color:#7795B6 #7795B6 #002a80;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7795B6',endColorstr='#7795B6',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}

.btn-drkblue,.btn-drkblue:hover {
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#00264F;
*background-color:#00264F;
background-image:-moz-linear-gradient(top,#00264F,#00264F);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#00264F),to(#00264F));
background-image:-webkit-linear-gradient(top,#00264F,#00264F);
background-image:-o-linear-gradient(top,#00264F,#00264F);
background-image:linear-gradient(to bottom,#00264F,#00264F);
background-repeat:repeat-x;border-color:#00264F #00264F #002a80;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00264F',endColorstr='#00264F',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}

.btn-green,.btn-green:hover {
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#517C10;
*background-color:#517C10;
background-image:-moz-linear-gradient(top,#517C10,#53760C);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#517C10),to(#53760C));
background-image:-webkit-linear-gradient(top,#517C10,#53760C);
background-image:-o-linear-gradient(top,#517C10,#53760C);
background-image:linear-gradient(to bottom,#517C10,#53760C);
background-repeat:repeat-x;border-color:#517C10 #517C10 #53760C;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1882A9',endColorstr='#53760C',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}
.btn-yellow,.btn-yellow:hover{
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#CCA800;
*background-color:#CCA800;
background-image:-moz-linear-gradient(top,#CCA800,#9E7E07);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#CCA800),to(#9E7E07));
background-image:-webkit-linear-gradient(top,#CCA800,#9E7E07);
background-image:-o-linear-gradient(top,#CCA800,#9E7E07);
background-image:linear-gradient(to bottom,#CCA800,#9E7E07);
background-repeat:repeat-x;border-color:#CCA800 #CCA800 #9E7E07;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCA800',endColorstr='#9E7E07',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}
.btn-red,.btn-red:hover{
color:#fff;
text-shadow:0 -1px 0 rgba(0,0,0,0.25);
background-color:#CE3E17;
*background-color:#CE3E17;
background-image:-moz-linear-gradient(top,#CE3E17,#B5330D);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#CE3E17),to(#B5330D));
background-image:-webkit-linear-gradient(top,#CE3E17,#B5330D);
background-image:-o-linear-gradient(top,#CE3E17,#B5330D);
background-image:linear-gradient(to bottom,#CE3E17,#B5330D);
background-repeat:repeat-x;border-color:#CE3E17 #CE3E17 #B5330D;
border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CE3E17',endColorstr='#B5330D',GradientType=0);
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-align: left;
background-position:0;
}

/*--- BUTTONS 311 ---*/

.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.button1 {
    background-color: white; 
    color: black; 
    border: 2px solid #61C46E;
    width: 150px;
    border-radius: 15px;
}

/*--- DASHBOARD ---*/

#dashboard {
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.84);
  color: white;
  z-index: 99;
}

.dash-feed-item, .feed-link a {
  display: block;
  font-size: 12px !important;
  line-height: 16px;
  margin-top: 9px;
  margin-left: 10px;
  margin-right: 10px;
}

#dashboard > div {float: left;min-height: 60px;}
.dash25{width: 22%;}
.dash20{width: 18%;
}
.dash10 {width: 14%;text-align: center;
}

#dash-services button, #dash-contact button {
  min-height: 60px;
}

/* GEA Additions - 6/24/13 */
.dash25 a:link, .dash25 a:visited {
  color: #fff;
  font-weight: normal;
  font-size: small;
  line-height: 14px;
}

.dash10 a:link, .dash10 a:visited {
  color: #fff;
  font-weight: normal;
  font-size: small;
  line-height: 14px;
  vertical-alight: center;
}

/*Online Services*/
#online-services-modal .btn {
  padding-left: 7px;
}

/*Contact*/

#contact_department_content ul {
  margin: 0px;
  font-weight: bold;
}

#contact_department_content .nav-stacked a {
  padding: 3px 10px;
}

span.contact_description {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  color: #7f7f7f;
  display: block;
  margin-top: -3px;
}

#contact_department_content li.active span.contact_description{
  color: white;
}

#contact_department_content li.active a{
  background-color: #1881a8;
  color: white;
}

#contact_department_content .nav-stacked a {
  color: #303030;
}

.contact-departments a {
  color: #3e3d3d;
  font-weight: bold;
}

#contact-back {
  float: left;
  margin-right: 13px;
}

#contact_form
 {
   background: url(../images/loading.gif) no-repeat center center;
 }

/*Desktop Dashboard Styles*/
#dash-services,#dash-contact {
  -moz-box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.29);
  -webkit-box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.29);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.29);
  opacity: 1;
  margin-top: 2px;
}
#dash-services:hover,#dash-contact:hover {
  cursor: pointer;
  opacity: .94;
}
#dash-services {
  background-color: #698f23;
  background-image: -o-linear-gradient(-90deg , rgb(77,112,20) 0%, rgb(132,171,50) 100%);
  background-image: -moz-linear-gradient(-90deg , rgb(77,112,20) 0%, rgb(132,171,50) 100%);
  background-image: -webkit-linear-gradient(-90deg , rgb(77,112,20) 0%, rgb(132,171,50) 100%);
  background-image: -ms-linear-gradient(-90deg , rgb(77,112,20) 0%, rgb(132,171,50) 100%);
  background-image: linear-gradient(-90deg , rgb(77,112,20) 0%, rgb(132,171,50) 100%);
}
#dash-contact {
  background-color: #2EC0FE;
  background-image: -o-linear-gradient(-90deg , rgb(12,87,137) 0%, rgb(28,159,208) 100%);
  background-image: -moz-linear-gradient(-90deg , rgb(12,87,137) 0%, rgb(28,159,208) 100%);
  background-image: -webkit-linear-gradient(-90deg , rgb(12,87,137) 0%, rgb(28,159,208) 100%);
  background-image: -ms-linear-gradient(-90deg , rgb(12,87,137) 0%, rgb(28,159,208) 100%);
  background-image: linear-gradient(-90deg , rgb(12,87,137) 0%, rgb(28,159,208) 100%);
}
#dash-latest-tweet {
  color: white !important;
}

.dashboard-icon {
  float: left;
  margin: 7px 8px 18px 10px;
}

.dashboard-label {
  text-transform: uppercase;
  display: block;
  line-height: 15px;
  margin: 7px 10px 4px;
}

.dashboard-description {
  font-size: 11px;
  display: block;
  line-height: 14px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
}

#search_form input.search_field{
  background-color: #ffffff;
}

/* Media Query Overrides Below
----------------------------*/
/* Desktops
---------*/
@media (min-width: 1200px)  {
  a.brand {
    width: 245px;
    text-align: center;
    font-size: 1.8em !important;
    text-shadow: none !important;
    margin-top: 11px;
  }
  span.brand_gov {
    position: relative;
    top: 15px;
    left: -17px;
    font-size: 0.8em;
  }
  
  /*Adjust search field*/
  #search_form .span8 {width: 168px;}
  #content {background: url(../images/right_column_bg.png) repeat-y right white;}
}
@media (min-width: 980px)  {
  
  /*Top Nav Overrides*/
  .navbar-inner {
    background-image: none;
    background-color: transparent !important;
    border: none;
    -moz-box-shadow: 0px 0px 0px;
    -webkit-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;
  }
  .nav-collapse > ul.nav {
    background-color: rgba(254,255,255,0.74);
    background-image: -o-linear-gradient(90deg , rgb(221,228,242) 0%, rgb(244,246,255) 100%);
    background-image: -moz-linear-gradient(90deg , rgb(221,228,242) 0%, rgb(244,246,255) 100%);
    background-image: -webkit-linear-gradient(90deg , rgb(221,228,242) 0%, rgb(244,246,255) 100%);
    background-image: -ms-linear-gradient(90deg , rgb(221,228,242) 0%, rgb(244,246,255) 100%);
    background-image: linear-gradient(90deg , rgb(221,228,242) 0%, rgb(244,246,255) 100%);
    -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.24), inset 0px -1px 0px rgba(255,255,255,1);
    -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.24), inset 0px -1px 0px rgba(255,255,255,1);
    box-shadow: 0px 2px 2px rgba(0,0,0,0.24), inset 0px -1px 0px rgba(255,255,255,1);
  }
  .nav-collapse > ul.nav > li >a:link,
  .nav-collapse > ul.nav > li >a:visited,
  .nav-collapse > ul.nav > li >a:hover,
  .nav-collapse > ul.nav > li >a:active {
    border-right: 1px solid #c2c7d5;
    color: #313131;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
  }
  .nav-collapse > ul.nav > li >a:hover {
    background-color: white;
  }
  div.body_wrapper{
    background: url(../images/bg_highlight.png) repeat-x;
    min-height: 220px;
  }
  #content {
    padding-right: 0;
    padding-bottom: 0;
  }
  #main {
    margin-top: 29px;
    margin-bottom: 90px;
  }
  #right_column {
    padding-right: 0;
    margin-top: -14px;
    padding: 16px;
  }
  
  /* Make Departments drop down align right */
  li.item-756 ul.dropdown-menu::before, 
  li.item-756 ul.dropdown-menu::after {
      content: none !important;
  }
  
  li.item-756 ul.dropdown-menu {
    margin-left: -87px;
  }
  #content {background: url(../images/right_column_bg.png) repeat-y 480px white;}
  html.frontpage #subnav_menu a{
      padding-top: 5px;
      padding-bottom: 5px;
    }
  html.frontpage #search_form {
      position: fixed;
      width: 230px;
      top: 20%;
    }
    
  html.frontpage #embed_form {
      position: fixed;
      width: 600px;
      margin-left:25%;
      top: 20%;
      color:White;
    }
    
}
@media (min-width: 1200px)  {#content {background: url(../images/right_column_bg.png) repeat-y right white;

}}

@media (min-width: 768px)  {
  /*Covers everything with desktop nav*/
  
  /* Home search results */
  html.frontpage #content {
    margin-left: 266px;
    background-image: none;
    width: 65%;
    padding: 8px;
  }
  html.frontpage .department_content_title,body.no_column .department_content_title {
    margin: 0px;
  }
  html.frontpage #content .span8, body.no_column  #content .span8 {
    background-color: white;
    width: 100%;
  }
  body.no_column  #content {
    padding: 5px;
    background-image: none;
  }
  html.frontpage #main {
    margin: 0px;
  }
  html.frontpage #department_back_link {
      display: none;
  }
}
/* Portrait tablet to landscape and desktop
This covers everthing before the single column break
-----------------------------------------*/
@media (min-width: 768px) and (max-width: 979px) {
  .dashboard-icon {display: none;}
  
  ul.dropdown-menu a {
    border-right: 1px solid #e4e4e4;
  }
  
  /*Undo well class in right column because it causes text to expand past border.*/
  #right_column .well {
    padding: 0px;
    border: 0;
    background: transparent;
  }
  
  /*Adjust search field*/
  #search_form .span8 {width: 98px;}
  html.frontpage #search_form .span8 {width: 168px;}
  #right_column {
    padding-right: 0;
    margin-top: -14px;
    padding: 16px;
  }
  #content {padding-right: 0px;}
  #content {background: url(../images/right_column_bg.png) repeat-y 372px white;}
  html.frontpage #subnav_menu a{
      padding-top: 5px;
      padding-bottom: 5px;
    }
  html.frontpage #search_form {
      position: fixed;
      width: 230px;
      top: 28%;
      margin-top:30%;
    }div.navbar-inner {
    z-index: 1;
    position: relative;
  }
  html.frontpage #embed_form {
      width: 600px;
      color:White;    
    }div.navbar-inner {
    z-index: 2;
    position: relative;
  }
}   
/* Landscape phone to portrait tablet
-----------------------------------*/
@media (max-width: 767px) {
  #content .moduletable,#sidebar .moduletable,#sidebar-2 .moduletable {margin-bottom:18px;margin-left:0px;}
  .custom {padding:0;}
  #sidebar,#sidebar-2,#content {width: auto;}
  body {padding: 0px;}
  .dash30,.dash13 {
    width: 20%;
    margin: 0px;
  }
  .phone-dashboard {
    background-color: rgba(93, 92, 92, 0.08);
    text-align: center;
    padding-bottom: 5px;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.21);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.21);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.21);
    margin-bottom: 7px;
  }
  
  .phone-dashboard a {
    margin-left: 2px;
    margin-right: 2px;
  }
  
  .phone-twitter-link,.phone-facebook-link,.phone-311 {
    width: 12px;
    height: 20px;
  }
  .phone-twitter-link,.phone-twitter-link:hover {background: url(../images/dash_mobile_twitter.png) no-repeat center center;}
  .phone-facebook-link,.phone-facebook-link:hover {background: url(../images/dash_mobile_facebook.png) no-repeat center center;}
  .navbar-inner .nav > li > a{
    border-bottom: 1px solid #e3e3e3;
  }
  #photocredit {display: none;}
  html.frontpage #search_form {
    margin-left: 5%;
    margin-right: 5%;
    width: 90% !important;
    background-color: transparent;
  }
  html.frontpage #embed_form {
    margin-left: 5%;
    margin-right: 5%;
    width: 90% !important;
    background-color: white;
  }
  html.frontpage #search_form h5 {
    background-color: rgba(254,255,255,0.57);
    color: #272a6f;
    font-size: 14px;
    padding-left: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: -5%;
    margin-right: -5%;
  }
  html.frontpage #embed_form h5 {
    background-color: rgba(254,255,255,0.57);
    color: #272a6f;
    font-size: 14px;
    padding-left: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: -5%;
    margin-right: -5%;
  }
  html.frontpage #search_form  a:link,
  html.frontpage #search_form  a:visited,
  html.frontpage #search_form  a:hover,
  html.frontpage #search_form  a:active {
    display: inline-block;
        background-color: black;
    }
  html.frontpage #embed_form  a:link,
  html.frontpage #embed_form  a:visited,
  html.frontpage #embed_form  a:hover,
  html.frontpage #embed_form  a:active {
    display: inline-block;
        background-color: black;
    }  
}
/* Landscape phones and down
--------------------------*/
@media (max-width: 480px) {  
  .department_logo {
    float: left;
    width: 50px;
    background-size: 50px;
    height: 50px;
  }
  .department_sidebar_title {
    line-height: 50px;
    margin-top: 0;
    text-align: left;
    margin-left: 60px;
    text-shadow: 0 0 9px #000000;
  }
  .services-label {
    background-color: #f4f5f4;
    padding: 3px 10px 3px 10px;
    
    margin-left: -15px;
    margin-right: -15px;
  }
  
  body.mobile{
    background-size: 100%;
    background-position: top !important;
  }
  html.frontpage #search_form {width: 100%;}
  html.frontpage #embed_form {width: 100%;}
}  
  
/* Portrait phone
---------------*/
@media (max-width: 320px) {
  
}

/* GEA Popular Searches */
#subnav_menu ul {text-align: left;}
#subnav_menu li {list-style: none;
}
#subnav_menu a {color: #fff;}
#subnav_menu h5 {color: #17B7F3; font-size: large;}
.homesearch {margin-top: 200px;}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

/* CSS-Based Accordion Styling Added By Nfryar */
.accordion-wrapper {
  margin: 10px;
  border-radius: 8px;
  overflow: hidden;
}
div.accordion-wrapper > h2 {
  color: #0f2a4a;
  margin: 0;
  line-height: 2;
  text-align: center;
}
div.accordion-section > input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
div.accordion-section > label {
  display: flex;
  padding: 1em;
  margin: 0px 0px 4px 0px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  align-items: center;
  max-height: 2em;
  cursor: pointer;
  border: 1px solid #0f2a4a;
  color: #0f2a4a;
  border-radius: 8px;
  overflow: hidden;
  overflow-wrap: break-word;
  box-shadow: 0 4px 4px -2px rgba(0,0,0,0.5);
}    
div.accordion-section > label:hover {
   background: rgb(0,129,194);
   color: white;
   border: 1px solid #0f2a4a;
   overflow-wrap: break-word;
    }
div.accordion-section > p {
  max-height: 0;
  margin: 0;
  visibility: hidden;
  padding: 0 1em;
  transition: all 0.35s;
  color: transparent;
}
div.accordion-section > input:checked ~ p {
  max-height: 100vh;
  visibility: visible;
  padding: 1em;
  color: rgb(51, 51, 51);
  }
div.accordion-section > ul {
  max-height: 0;
  margin:0 0 10px 25px;
  visibility: hidden;
  padding: 0 1em;
  transition: all 0.35s;
  color: transparent;
}
div.accordion-section > input:checked ~ ul {
  max-height: 100vh;
  visibility: visible;
  padding: 1em;
  color: rgb(51, 51, 51);
  }
div.accordion-section > label::before {
  content: '+\2003';
  font-size: 30px;
  line-height: 0.8;
  width: 1em;
  height: 1em;
  position: relative;
  display: inline-block;
  transition: transform 0.35s;
}
input:checked ~ label::before {
  content: '\2212\2003';
  font-size: 30px;
  line-height: 0.8;
  width: 1em;
  height: 1em;
  position: relative;
  display: inline-block;
  transform: rotate(360deg);
}
input:checked ~ label {
  background: rgb(0,129,194);
  color: white;
  border: 1px solid #0f2a4a;
  box-shadow: 0 4px 4px -2px rgba(0,0,0,0.5);
  padding-bottom: 20px;
}