/*-------------
Accessibility Settings Indicator
-------------*/

#high-contrast-label,
#font-size-label {
    white-space: nowrap;
    display: inline;
}

@media (max-width: 462px) {

#high-contrast-label,
#font-size-label {
    display: block;
}

#accessibility-settings-indicator-separator {
    display: none;
}


}

/*-------------
Featured Search
-------------*/

@media (min-width: 768px) {

.not-front .featured-search {
    top: 161px;
}

}

/*-------------
Ask Bar Buttons Screen Reader Fixes
-------------*/

.ask-group a.btn.collapsed:after,
.ask-group a.btn:after {
    content: "" !important;
}

/*-------------
Side Bar Menu
-------------*/

#block-menu-menu-side-bar-menu .menu {
  padding-left: 5px;
}

#block-menu-menu-side-bar-menu .menu li {
  display: none;
  padding-left: 5px;
}

#block-menu-menu-side-bar-menu .menu .expanded {
  list-style: none;
  display: list-item;
  margin: 0;
  padding: 0;
}

#block-menu-menu-side-bar-menu .menu .expanded > a {
  display: none;
}

#block-menu-menu-side-bar-menu .menu .expanded ul li {
  display: list-item;
}

#side-bar-nav-heading .menu {
  margin: 0;
  padding-left: 0;
  text-align: center;
}

#side-bar-nav-heading .expanded {
  list-style: none;
}

#side-bar-nav-heading .expanded > a {
  color: #FFF;
  background-image: none !important;
  display: block !important;
  cursor: pointer;
}

#side-bar-nav-heading .expanded ul.menu {
  display: none;
}

/*-------------
Admin and 404 Page Styling
-------------*/

.not-logged-in.page-admin #side-bar,
.page-navigation404 #side-bar {
  display: none;
}

.not-logged-in.page-admin.two-column .main-content .main-primary,
.page-navigation404.two-column .main-content .main-primary {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/*-------------
Popup Styling
-------------*/

/*.glossary-term {
  padding: 0px 0px 4px 4px;
  margin: -2px 0px -4px -4px;
}*/

.glossary-term a::after {
  font-family: 'pge' !important;
  speak-as: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e670";
  vertical-align: super;
  font-size: 0.8em;
  color: #005179;
}

.glossary-term:hover,
.glossary-term:focus-within {
  background-color: #07679b;
  border-radius: 6px;
  border-top: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

.glossary-term:hover a,
.glossary-term:focus-within a {
  color: #FFF;
  background-image: linear-gradient(to right, #FFF 50%, #FFF 50%) !important;
  background-position: center bottom 10% !important;
  background-size: 2px 2px !important;
}

.glossary-term:hover a::after,
.glossary-term:focus-within a::after {
  color: #FBBB36;
}

.glossary-popover {
  display: none;
  color: #FFF;
  background: #042037;
  padding: 10px 20px;
  position: absolute;
  z-index: 1;
  border-radius: 24px;
  box-shadow: 0 1px 8px 4px rgba(0,0,0,.25);
  white-space: normal;
  font-weight: bold;
}

.glossary-term:hover .glossary-popover,
.glossary-term:focus-within .glossary-popover {
  display: block;
}

/*-------------
Inline Content Image Styling
-------------*/

.page-node .main-primary #content .region-content #block-system-main .field-name-body .field-items .field-item img {
  max-width: 100%;
  height: auto;
}

/*-------------
Photos Styling
-------------*/

.back-to-photos {
  padding-left: 17px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.back-to-photos span {
  font-size: 15px;
}

div[class*='view-photos-'] .views-row {
  width: 150px;
  text-align: center;
  font-size: 10px;
  display: inline-block;
}

div[class*='view-photos-'] .views-row img {
  box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.5);
}

div[class*='node-photo-'] img {
  max-width: 100%;
  height: auto;
  box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.5);
}

.splash-page-photo-table {
  border: 0;
  border-collapse: separate;
  margin: 0 auto;
}

.splash-page-photo-table td {
  padding: 10px;
}

.splash-page-photo {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  zoom: 1;
  width: 420px;
  text-align: center;
  font-weight: bold;
}

.splash-page-photo img {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}

.flex-control-thumbs {
  overflow: visible !important;
  padding: 4px;
}

.flex-control-thumbs li {
  float: none;
  width: 10%;
}

.flex-control-thumbs img {
  opacity: .5;
}

.flex-active {
  box-shadow: 0px 0px 5px 4px rgba(31, 112, 167, 0.9);
  margin-top: -5px;
  padding: 5px;
  position: relative;
  transition: padding 0.5s ease-out;
}

.flex-direction-nav a {
  top: 290px;
  width: 50px;
  height: 50px;
  margin: 0;
  z-index: 2;
  background: white;
  border-radius: 10px;
}

.flex-direction-nav a::before {
  font-size: 36px;
}

a.flex-prev,
a.flex-next {
  background-image: none !important;
}

@media (max-width: 1279px) {

.flex-direction-nav a {
  top: 255px;
}

}

@media (max-width: 1200px) {

.flex-direction-nav a {
  top: 207px;
}

}

@media (max-width: 991px) {

.splash-page-photo {
  width: 320px;
  font-size: 0.75em;
}

.flex-direction-nav a {
  top: 250px;
}

}

@media (max-width: 767px) {

.splash-page-photo {
  width: 420px;
  margin: 0 auto;
}

table.splash-page-photo-table,
table.splash-page-photo-table tbody,
table.splash-page-photo-table tr,
table.splash-page-photo-table td {
  display: block;
  text-align: center;
}

.flex-direction-nav a {
  top: 175px;
}

}

@media (max-width: 575px) {

.flex-direction-nav a {
  top: 10px;
}

}

@media (max-width: 474px) {

.splash-page-photo {
  width: 320px;
}

}

@media (max-width: 374px) {

.splash-page-photo {
  width: 260px;
}

}

/*-------------
Difficulty Accessing Material Styling
-------------*/

#additional-content.main-content {
  min-height: auto;
}

.ada-helper h4 {
  font-size: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.ada-helper p {
  font-size: 0.75em;
}

.ada-helper table {
  width: 100%;
  table-layout: fixed;
}

.ada-helper table td {
  vertical-align: top;
  padding-top: 10px;
}

@media (max-width: 767px) {

.ada-helper h4 {
  font-size: 0.75em;
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.ada-helper p {
  font-size: 0.5em;
}

.ada-helper table {
  table-layout: auto;
}

}

@media (max-width: 440px) {

.ada-helper table,
.ada-helper table tbody,
.ada-helper table tr,
.ada-helper table td {
  display: block;
  text-align: center;
}

.ada-helper table td:first-child,
.ada-helper table td:last-child {
  display: none;
}

}

/*-------------
California State Template Overrides
-------------*/

h1, .h1 {
  margin-top: 0 !important;
}

h1 span[class^="ca-gov-icon-"]:first-child, .h1 span[class^="ca-gov-icon-"]:first-child {
  display: inline !important;
}

.section {
  overflow: visible !important;
  clear: both;
}

.table-striped td {
  padding: 5px;
}

tbody th {
  border-bottom: none;
}

table caption span.pge-icon-arrow-fill-down {
  display: none;
}

/*-------------
Flexslider Overrides
-------------*/
.flexslider .flex-next,
.flexslider .flex-prev {
  opacity: 1 !important;
  display: block !important;
}

.flexslider .flex-next {
  right: 10px !important;
}

.flexslider .flex-prev {
  left: 10px !important;
}