/* keynav accessibility */
#google_language_translator select.goog-te-combo:focus,
header a:focus
{
  outline: 2px dotted #fff !important;
  outline-offset: 5px;
}

#skip_to_content:focus
{
  outline-offset: 0;
}

.camera_pag li
{
  width: 22px;
}

nav a:focus,
footer a:focus,
#toTop:focus,
.section-dark a:focus,
.camera_pag li:focus
{
  outline: 2px dotted #fff !important;
}

.section-light a:focus
{
  outline: 2px dotted #2D7ABE !important;
}

#header_search_link a:focus,
#header_slider_toggle a:focus
{
  outline-offset: 5px;
}

nav .submenu a:focus,
footer a:focus
{
  outline-offset: 2px;
}

.section-dark a:focus,
.section-light a:focus
{
  outline-offset: 1px;
}

footer .follow_icon a:focus
{
  outline-offset: -2px;
}

.btn-default.btn2:focus
{
  background-color: #293028;
}

.btn-default.btn1
{
  margin-top: 0;
  padding-top: 21px;
}

.list2 a:focus
{
  color: #fff !important;
  background-color: #293028 !important;
  outline: none !important;
}

body.mousenav #google_language_translator select.goog-te-combo:focus,
body.mousenav header a:focus,
body.mousenav nav a:focus,
body.mousenav footer a:focus,
body.mousenav #toTop:focus,
body.mousenav .section-dark a:focus,
body.mousenav .section-light a:focus,
body.mousenav .camera_pag li:focus
{
  outline: none !important;
}

/* skip to main content */
#skip_to_content
{
  opacity: 0;
  position: absolute;
  top: 8px;
  left: -1000px;
  width: 300px;  
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  display: block;
  z-index: 9999;
}

#skip_to_content:focus
{
  opacity: 1; 
  left: 50%;
  margin-left: -150px;
  text-align: center;

}

/* typography updates */
body, h1, h2, h3, h4, h5, h6, p,  `
.btn-default.btn1
{
  color: #404040;
}

a, a:hover, a:focus, a:visited, a[href^="tel:"]
{
  color: #2D7ABE;
}

.section-dark a, 
.section-dark a:hover, 
.section-dark a:focus, 
.section-dark a:visited, 
.section-dark a[href^="tel:"]
{
  color: #569BD7;
}

a:hover, a[href^="tel:"]:hover
{
  text-decoration: underline;
}

.section p a, .section li a, .search-container a
{
  text-decoration: underline;
}

.section .list2 a, .section .list2-1 a
{
  text-decoration: none;
}

p, ul, #google_translate_disclaimer hr
{
  margin-bottom: 15px;
}

#google_translate_disclaimer p:last-child
{
  margin-bottom: 0;
}

h1, h2
{
  font-weight: normal;
  font-family:"FaktLight";
  margin-bottom: 44px;
}

h3, h4, h5, h6
{
  font-weight: bold;
  font-family: "Fakt";
  margin-bottom: 15px;
  margin-top: 29px;
}

.who-box h3:first-child
{
  margin-top: 0px;
}


/*
h3:first-child, 
h4:first-child,
h5:first-child,
h6:first-child
{
  margin-top: 0;
}
*/

/*
.more-info
{
  margin-top: 19px;
}
*/

.list2-1 li a:hover
{
  text-decoration: none;
}

.thumb-box3 p,
/* .thumb-box3 span, */
.thumb-box3 div,
.thumb-box3 h1,
.thumb-box3 h2,
.thumb-box3 h3,
.thumb-box3 h4,
.thumb-box3 h5,
.thumb-box3 h6,
.thumb-box3 strong,
.thumb-box3 .badge,
.thumb-pad3 .thumbnail .badge span,
.thumb-box7 p,
/* .thumb-box7 span, */
.thumb-box7 div,
.thumb-box7 h1,
.thumb-box7 h2,
.thumb-box7 h3,
/* .thumb-box7 h4, */
.thumb-box7 h5,
.thumb-box7 h6,
.thumb-box7 strong,
.thumb-box7 .badge,
footer, footer p, footer span
{
  color: #e9eae7 !important;
}

footer .row a {
	color: #cfd0ce;
}

.thumbnail .caption
{
  color: #6f6f6f;
}

nav.tm_navbar li a
{
  font-size: 15px;
}

nav.tm_navbar .sub-menu ul > li a:hover
{
/*  color: #d1dee8 !important; */
  color: #fff !important;
  border-bottom: 1px solid #d1dee8;
}

nav.tm_navbar .sub-menu ul > li a:focus
{
  color: #fff !important;
}

body.mousenav nav.tm_navbar .sub-menu ul > li a:focus
{
  color: #fff !important;
/*  color: #d1dee8 !important; */
}

/* subscribe to newsletter icon/label */
#newsletter input
{
  border: 1px solid transparent;
  transition: unset !important;
}

#newsletter input:focus
{
  border: 1px solid #2D7ABE;
}

.thumb-box5 p
{
  font-size: 18px;
  margin-top: 17px;
}
.thumb-box5 p span
{
  position: relative;
  top: -8px;
}

@media (max-width: 626px)
{
  .thumb-box5 p span
  {
    top: 3px;
  }
}

.btn-default.btn1,
.btn-default.btn2,
.list2-1 li a,
.list2 li a,
footer .row a
{
  transition: unset !important;
}




/* adjust logo container padding */
header .box
{
  background-color: transparent;
}

header .box
{
  padding-top: 29px;
  /padding-bottom: 0;
  /* padding-left: 44px; */
  padding-left: 0px;
}

header.interior-page .box
{
  padding-bottom: 34px;
}

@media (max-width: 767px)
{
  header .box
  {
    padding-left: 0;
  }
}

/* adjust logo size (2x image file) */
.navbar-brand
{
  display: flex;
  padding-left: 0;
  align-items: flex-end;
  justify-content: center;
  float: none;
  height: auto;
  z-index: 2000 !important;
  position: relative;
}

  #header_logo
  {
    max-width: 250px;f
  }

/*
  .withdepartment #header_logo
  {
    padding-right: 36px;
    margin-right: 36px;
    border-right: 2px solid #fff;
  }
*/
  
  #header_logo a
  {
    display: block;
  }
  
  #header_logo img
  {
    display: block;
    width: 100%;
  }
  
  #header_department
  {
    display: none;
  } 
  
/*
  .withdepartment #header_department
  {
    display: block;
    color: #fff; 
    font-size: 32px;
    font-family: 'FaktSlab';
    line-height: 1em;
    margin-bottom: -7px;
    white-space: nowrap;
  }
*/
  
@media (min-width: 768px)
{
  .navbar-brand
  {
    justify-content: flex-start;
  }
}

/*
@media (max-width: 550px)
{
  .withdepartment #header_department
  {
    font-size: 5.8vw;
  }
}
*/

/* google translate */
header .container
{
  position: relative;
}

header .google_translate
{
  position: absolute;
  right: 0;
  top: 34px;
  z-index: 2000;
}

header .google_translate select
{
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767px)
{
  header .google_translate
  {
    position: relative;
    top: 18px;
    right: 0;
  }
}

/* site search */
#header_site_search
{
  display: none;
  position: absolute;
  right: 145px;
  top: 34px;
  height: 25px;
  z-index: 3000;
}

@media (max-width: 767px)
{
  #header_site_search
  {
    position: absolute;
    bottom: -172px;
    right: 0;
    top: auto;
    width: 100%;
    text-align: center;
  }
}

#header_site_search input {
    background: none;
    box-shadow: none;
    border: none;
    font: 300 14px/18px 'FaktLight';
    color: #3e454c;
    background: #f8f8f8;
    height: 25px;
    width: 195px;
    border-radius: 0;
    padding: 0 5px;
    margin: 0 9px 0 0;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

/* slider image overlay */
.slider .camera_target::after,
header.interior-page::after
{
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1000;
}

.slider .cameraContents
{
  top: 90px;
}

.slider .cameraContents .title
{
  margin-bottom: 10px;
}

@media (min-width: 768px)
{
  .slider .cameraContents .title
  {
    margin-top: 10px;
  }
}

@media (min-width: 992px)
{
  .slider .cameraContents
  {
    width: 940px;
  }
}

@media (min-width: 1200px)
{
  .slider .cameraContents
  {
    width: 1140px;
  }

  .slider .cameraContents .description
  {
    font-weight: bold;
    margin-left: 5px;
  }
}

@media (min-width: 1220px)
{
  .slider .cameraContents
  {
    width: 1170px;
  }
}

@media (min-width: 1350px)
{
  .slider .cameraContents .title
  {
    margin-top: 0;
  }
}

.camera_pag
{
  top: auto;
  bottom: 62px;
  z-index: 3000;
}

@media (min-width: 768px)
{
  .slider .cameraContents
  {
    top: 25px;
  }
  
  .camera_pag
  {
    top: calc(50% + 25px);
    bottom: auto;
  }
}

@media (min-width: 768px)
{
  .slider .cameraContents
  {
    top: 25px;
  }
}

@media (min-width: 1200px)
{
  .camera_pag
  {
    width: 1110px;
    margin-left: -555px;
  }
}

@media (min-width: 1220px)
{
  .camera_pag
  {
    width: 1140px;
    margin-left: -570px;
  }
}

/* interior header image position */
/*
@media (min-width: 768px)
{
  header.interior-page
  {
    background-position: center top !important;
  }
}

@media (min-width: 992px)
{
  header.interior-page
  {
    background-position: center calc(-17.5vw + 147px) !important;
  }
}
*/

/* make main nav support 6 items instead of 5 */
header.home-page .box
{
  padding-bottom: 0;
}

header.home-page .navbar-brand
{
  padding-bottom: 0;
}

header.interior-page
{
  padding-bottom: 52px;
}

nav.tm_navbar li:after,
nav.tm_navbar li:before
{
  display: none;
}

nav.tm_navbar
{
  margin-top: -52px;
}


nav.tm_navbar li a
{
  font-size: 13px;
  width: 120px;
}

nav.tm_navbar .sub-menu > ul li a
{
  font-size: 12px;
}

@media (min-width: 992px)
{
  nav.tm_navbar li a
  {
    width: 157px;
    font-size: 14px;
  }
  
  nav.tm_navbar li:first-child a,  
  nav.tm_navbar li:last-child a
  {
    width: 156px;
  }
  

  nav.tm_navbar .sub-menu > ul li a
  {
    font-size: 12px;
  }
}

@media (min-width: 1200px)
{
  nav.tm_navbar li a,
  nav.tm_navbar li:first-child a,  
  nav.tm_navbar li:last-child a
  {
    width: 190px;
    font-size: 15px;
  }
  
  nav.tm_navbar .sub-menu > ul li a
  {
    font-size: 14px;
  }
}

@media (min-width: 1220px)
{
  nav.tm_navbar li a,
  nav.tm_navbar li:first-child a,  
  nav.tm_navbar li:last-child a
  {
    width: 195px;
  }
}

/* disable nav transition */
nav.tm_navbar li span,
nav.tm_navbar li a
{
  transition: unset !important;
}

/* search form */
body.interior-page #header_slider_toggle
{
  display: none;
}

#header_search_link,
#header_slider_toggle
{
  position: absolute;
  top: -10px;
  right: 5px;
}

#header_slider_toggle .fa
{
  font-size: 0.8em;
  position: relative;
  top: -1px;
}

#header_slider_toggle
{
  left: 5px;
  right: auto;
}

#header_search_link a,
#header_slider_toggle a
{
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

#header_search_link a:hover,
#header_slider_toggle a:hover
{
  text-decoration: none;
}

@media (min-width: 768px)
{
  #header_search_link,
  #header_slider_toggle
  {
    right: 5px;
    top: -34px;
  }
  
  #header_slider_toggle
  {
    left: 5px;
    right: auto;
  }
  
  #header_search_link a,
  #header_slider_toggle a
  {
    font-size: 15px;
  }
}

#search-404 input[type=text]
{
  position: relative;
  top: 2px;
  margin-bottom: 19px;
}

#search-404 input[type=text]:focus
{
  border-color: #2D7ABE;
}

.section-search h4
{
  margin-bottom: 5px;
  margin-top: 35px;
}


/* wordpress images */
.alignleft,
.alignright,
.wp-caption.alignleft,
.wp-caption.alignright
{
  clear: both;
  max-width: 100%;
  height: auto;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  float: none;
  display: block;
}

@media (min-width: 992px)
{
  .alignleft,
  .alignright,
  .wp-caption.alignleft,
  .wp-caption.alignright
  {
    max-width: 540px !important;
    height: auto;  
  }
  
  .alignleft,
  .wp-caption.alignleft
  {
    float: left;
    margin-right: 25px;
  }
  
  .alignright,
  .wp-caption.alignright
  {
    float: right;
    margin-left: 20px;
  }
}

.wp-caption
{
  border: 0;
  padding: 0;
}

.wp-caption img
{
  max-width: 100%;
  padding-bottom: 3px;
}

.aligncenter
{
  max-width: 100%;
  height: auto;
}

/* section boxes padding+margin tweaks */
.section
{
  clear: both;
}

.section-light:first-child
{
  padding-top: 60px !important;
}

.section-light
{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.section-light + .section-dark,
.section-dark + .section-light
{
  margin-top: 60px !important;
}


@media (min-width: 768px)
{
  .thumb-box7 h2
  {
    font-size: 30px;
  }
}

@media (min-width: 992px)
{
  .thumb-box7 h2
  {
    font-size: 40px;
  }
}

@media (min-width: 1200px)
{
  .thumb-box7 h2
  {
    font-size: 50px;
  }
}


.thumb-box7 h3
{
  margin-top: 0 !important;
}

/* reports by type */
.reports_by_type_icon
{
  height: 175px;
  line-height: 175px;
  font-size: 60px;
  text-align: center;
  background-color: #e9eae7;
}

@media (min-width: 992px)
{
  .reports_by_type_icon
  {
    height: 275px;
    line-height: 275px;
  }
}

/*
@media (min-width: 1200px)
{
  .reports_by_type_icon
  {
    height: 275px;
    line-height: 275px;
  }
}
*/

/* columns with icons or images, flexbox needed */
.icon-col, .image-col
{
  float: none;
  width: auto;
  margin-bottom: 29px;
}

  .icon-col .icon
  {
    text-align: center;
    font-size: 60px;
    height: 175px;
    line-height: 175px;
    background-color: #e9eae7;
  }
  
  .image-col .image img
  {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

@media (min-width: 992px)
{
  .icon-row, .image-row
  {
    display: flex;
    align-items: stretch;
  }

    .icon-col, .image-col
    {
      display: flex;
      flex-direction: column;
      width: 25%;
    }
    
    .image-col
    {
      width: 33.3%;
    }
      
      .image-col .image img
      {
        display: block;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
      }

      .icon-col h3
      {
        height: 64px;
      }

      .icon-col .content, .image-col .content
      {
        flex: 1 0 auto;
      }

      .icon-col .more-info, .image-col .more-info
      {
        height: 49px;
      }
}

.thumb-box18
{
  padding-bottom: 60px;
}

.thumb-pad1 .caption .title
{
  font-size: 26px;
}

.who-box:first-child
{
  padding-top: 77px;
}

#contact-form textarea:focus,
#contact-form input[type=text]:focus,
#contact-form input[type=email]:focus
{
  border-color: #2D7ABE;
}

#contact-form .message .empty-message, #contact-form .message .error-message
{
  bottom: 2px;
}

#contact-form .btns p
{
  margin-top: -4px;
}

/* staff template */
.oakland-staff
{
  margin-bottom: 50px;
}

.oakland-staff-photo
{
  width: 100%;
  margin-bottom: 25px;
}

.oakland-staff-photo img
{
  width: 100%;
}

.oakland-staff-bio p
{
  height: auto !important;
}

.oakland-staff-title
{
  margin-top: 0;
  margin-bottom: 5px;
  line-height: 24px;
}

.oakland-staff-position
{
  margin-top: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  font-size: 1.65rem;
} 

@media (min-width: 540px)
{

    .oakland-staff-photo
    {
      float: left;
      width: 50%;
      box-sizing: border-box;
      padding-right: 25px;

    }
    
    .oakland-staff-bio
    {
      clear: both;
    }
    
}


@media (min-width: 992px)
{

  .oakland-staff-container
  {
    display: flex;
    flex-wrap: wrap;
    margin-left: -25px;
    margin-right: -25px;
  }
  
  .oakland-staff
  {
    box-sizing: border-box;
    padding: 0 25px;
    width: 50%;
  }
}

@media (min-width: 1200px)
{
  .oakland-staff-photo
  {
    width: 33%;
  }

}

/* contact form */
#contact-form button.btn2,
.thumb-box5 button.btn2
{
  border: 0;
  outline: 0;
}

#contact-form span.wpcf7-not-valid-tip
{
  color: #d9332b;
}

#contact-form div.wpcf7-validation-errors, #contact-form div.wpcf7-acceptance-missing
{
  border-color: #d9332b;
  color: #d9332b;
}

#contact-form div.wpcf7-mail-sent-ok
{
  border-color: #2D7ABE;
  color: #2D7ABE;
}

#contact-form div.wpcf7-response-output
{
  border: 0 !important;
  margin-top: -34px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* sitemap page hide title */
.wsp-pages-title
{
  display: none;
}

/* footer tagline */
footer .tagline
{
  float: left;
}

footer .tagline span
{
  font-weight: inherit;
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 767px)
{
  footer .tagline
  {
    float: none;
    margin-bottom: 25px;
  }
}

/* follow us */
.follow_icon li:last-child
{
  margin-right: 0;
}

.follow_icon a
{
  display: block;
  height: 100%;
}

@media (max-width: 1219px) and (min-width: 992px)
{
  .follow_icon li {
      margin-right: 12px;
  }
}