@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:wght@400;500&family=Roboto:wght@400;500;700&display=swap');

.show-on-mobile { display: block; }
.hide-on-mobile { display: none; }

.header .search-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  border-color: transparent;
    position: absolute !important;
    right: 45px !important;
    top: 3px !important;
}

.header .search-toggler .fa-search {
  font-size: 1.15rem;
  color: white;
  top: 4px;
}

/* override default behavior */
.collapse:not(.show){
  display: block;
}

.mission.mobile { 
  position: relative;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 0;
  box-shadow: none;
  background: #babc34;
  padding: 15px;
}

.mission.mobile h2 {
  font-size: 1.25em;
  color: black;
}

.mission.mobile p {
  font-size: 1em;
  color: black;
  margin-bottom: 0;
}

.sub-footer a { color: white; }

a { text-decoration: underline; }

/*---- Search ----*/

/* -- Home search box --*/
.phs-hero .search_autocomplete {
  position:absolute;
  left: 50%;
  top: 65px;
  margin-left: -46% !important;
  width: 92%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.phs-hero .search_autocomplete li {
  color: black;
  text-align: left;
  font-size: 1.1em;
  padding: .5em 1em;
  font-weight: bold;
}

.phs-hero .search_autocomplete li:hover {
  background-color: #EFF3F5;
}

.search .search_autocomplete li { padding-left: 20px; }



.gtranslate select {
    color: black;
    padding: 4px;
    margin-top: 3px;
    margin-right: 20px;
}

.home-search {
  position: relative;
    width: 100%;
    display: flex;
  margin: 30px auto;
  max-width: 800px;
}

.resource-grid {
  display: grid;
  grid-gap: 25px;
   grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
}

.search-button {
  width: 150px;
  border-radius: 0 80px 80px 0;
  padding-bottom: 1em;
    font-size: 1.1em;
  font-weight: 600;
  text-transform: none;
}

.search .search-button {
  padding: 10px 8px;
}

.search-button span {
  position: relative;
  top: 3px;
  font-size: 18px;
}

.search-input {
  flex: 1;
  border-radius: 80px 0 0 80px;
  height: calc(1.5em + 0.75rem + 15px);
}

.offcanvas-collapse.search {
  top: 0 !important;
  z-index: 100000 !important;
}

.offcanvas-collapse.search[aria-expanded="true"]{
  visibility: visible;
}

.button--secondary:hover {
    background: #f0f5f6;
}

h1.page-title {
  margin-bottom: 1.25rem;
}

ul.nav li.dropdown:hover ul.dropdown-menu{
    display: block;
    margin: 0
}

a.menu:after, .dropdown-toggle:after {
  content: none;
}

.navigation .navigation__menu-list {
  background: transparent;
}

.navigation .navigation__menu-list li > .navigation__menu-list li a {
    padding: 7px 6px 7px;
  font-size: 1.3em;
}

.navigation .navigation__menu-list li:hover a, 
.navigation .navigation__menu-list li > .navigation__menu-list li a:hover {
  color: #2b698e;
}

.navigation .navigation__menu-list li > .navigation__menu-list li a {
  color: black;
}

.header {
  box-shadow: none;
}

#breadcrumb {
    background: #EDF3F5;
    border-bottom: none;
}

.breadcrumb-item { margin-bottom: 0; }

@media (min-width: 992px) {
    .primary-navbar {
        padding: 1.5rem 0;
    }
}

.offcanvas-collapse.search {
  transform: translateX(0);
}

.button--secondary {
    color: #315470;
    background: #E1ECEE;
}

.button {
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 6px;
}

.navigation .navigation__menu-list .navigation__link .material-icons {
    position: relative;
    top: 3px;
}

.advanced {
  height: 101px;
  width: 101px;
  float: right;
  margin-right: 35px;
}

.accredited {
  height: 185px;
  width: 185px;
  float: right;
  margin-right: 50px;
}

/*---  Hero ----*/

.phs-hero .inner {
  /* height: 450px; */
  max-height: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.phs-hero .inner img {
  width: 100%;
}

.phs-hero .inner::after {
  display: block;
  clear: both;
  content: "";
}

.phs-hero .caption {
  text-align: left;
  padding-top: 20px;
  padding-bottom: 20px;
  top: 10%;
  position: absolute;
  right: 15%;
  left: 15%;
  z-index: 1000;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}

.phs-hero .mission.desktop {
    position: absolute;
    right: 18%;
    bottom: 20px;
    left: 11%;
    z-index: 10;
    padding: 20px;
    border-radius: 20px;
    background: rgba(0,0,0,.3);
    box-shadow: 2px 2px 2px rgba(140,103,67, .3);
    display: none;
}

.mission.mobile { display: block; }

.phs-hero .mission h2,
.phs-hero .mission p { color: white; }

.phs-hero .mission p { margin-bottom: 0; }

.mission.desktop h2 { font-size: 1.4rem; }

.phs-hero .caption h1 {
  position: relative;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, .2);
  color: white;
  text-align: center;
  font-size: 2.5rem;
}

.phs-hero .caption h1:before {
  content: "";
    position: absolute;
    left: 50%;
    top: -29px;
    background: transparent url(/images/default-source/phs/leaflet.png) no-repeat center;
    width: 30px;
    height: 30px;
    background-size: contain;
}

/* --- Orbs --- */

.orb-container.icon .orb.green {
    background-color: #ADB537;
    color: #102534;
}

/* --- Advisory Carousel --- */

.advisory-carousel {
      padding: 8px 0 14px;
  background: #1E6287;
  color: white;
}

.advisory-carousel p { color: white; }

.advisory-carousel .carousel-item .sf-Long-text p:last-child {
  margin-bottom: 0;
}

.carousel-control-prev, .carousel-control-next {
  display: none;
}

.short-advisory { display: none; }

.advisory-carousel .short-advisory { display: block; }

.advisory-carousel .full-advisory,
.advisory-details .full-advisory {
    display: none;
}

.advisory-carousel .sf-Long-text a {
    display: none;
}

.advisory-carousel .carousel-inner { display: block; }

.advisory-carousel .carousel-inner a {
    position: absolute;
    bottom: 8px;
    color: white;
    text-decoration: underline;
    font-size: 1.1rem;
    left: 7%;
    z-index: 10000;
}

.advisory-carousel .carousel-caption {
  position: relative;
  right: 7%;
  top: 0;
  left: 7%;
  z-index: 10;
  color: #fff;
  text-align: left;
  padding-bottom: 55px;
  width: 86%;
}

.advisory-carousel .carousel-item .sf-Long-text {
  font-size: 1.2rem;
  font-weight: 300;
}

.advisory-carousel h1 {
  display: none;
}

.advisory-carousel .carousel-control-prev, 
.advisory-carousel .carousel-control-next {
  background: none;
  border: none;
  width: 8%;
}

.advisory-carousel .carousel-item h2 {
  font-size: 1.25rem;
    font-weight: 900;
    color: white
}

.advisory-carousel .carousel-item p { font-size: .95rem; }

.advisory-carousel .carousel-item .sf-Long-text p:last-of-type {
  margin-bottom: 0;
}

.news-events .list-item {
    margin-bottom: 1.6em;
    display: block;
}

.news-events .event-info p {
    margin-bottom: 0 !important;
}

.link-list-card {
  background: white;
  border-radius: 17px;
  padding: 25px;
  height: auto;
  /* margin-bottom: 1.75rem; */
    box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, .1);
  min-height: 286px;
}

.link-list-card img {
   margin: 0 auto;
   display: block;
}

.link-list-card .link-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: .5em;
}

.link-list-card .link-list li {
  margin-bottom: 0;
}

.link-list-card h3 {
    margin-top: 10px;
  margin-bottom: 25px;
  display: block;
  text-align: center;
  width: 100%;
}

.link-list-card h3 a {
    color: #315470;
    text-decoration: underline;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.4rem;
}

.bg-light {
  background-color: #EFF3F5 !important;
  padding: 1em 0;
}

/* -- Navigation -- */
.navigation .navigation__menu-list li a {
    padding: 7px 0 7px 17px;
    font-size: 1.2rem;
    color: black;
    font-weight: 600;
    width: auto;
}

.navigation .navigation__menu-list li a.dropdown-toggle {
  padding: 7px 0;
  text-decoration: none;
}

.navigation .navigation__menu-list .navigation__link .material-icons {
  color: #196891;
}

/* -- Seaarch -- */

.phs-search { position: absolute; }

/* -- Footer -- */

.department-footer .col-md-3:nth-child(3) img {
  float: right;
}

.department-footer .social-icons {
  justify-content: flex-start;
}

.department-footer .social.nextdoor img {
  height: 15px;
  vertical-align: middle;
}

.department-footer .social {
  background: #1B3040;
  margin-right: 1rem;
}

.department-footer .social img {
  margin-bottom: 0;
}

.county-footer {
    background: #EFF3F4 !important;
  padding-bottom: 51px !important;
}

footer .sub-footer { margin-top: 0 !important; }

.sub-footer .container { padding: 1rem 0; }

footer ul.footer-list li { line-height: 20px; }

/* -- Content -- */

.page-title h1:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: transparent url(/images/default-source/treasurer---tax-collector/leaf.png) no-repeat 0 0;
    width: 20px;
    height: 25px;
}

.w-divider:after {
  content: "";
  height: 1px;
  width: 100px;
  border-bottom: solid 1px #ccc;
  margin-top: 1.25rem;
  margin-bottom: 1.15rem;
  display: block;
}

.centered { text-align: center; }

.w-divider.centered:after {
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
}

.media-container .button {
  display: block;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .navigation .navigation__menu-list {
      display: block;
  }
}

@media (min-width: 480px) {
  .department-footer, .media-container  {
    padding-top: 2.5em !important;
    padding-bottom: 2.5em !important;
  }

  .navigation .navigation__menu-list li:hover {
    background-color: #edf2f3;
   }
}

@media (min-width: 768px) {
  .navigation .navigation__menu-list li:hover > .navigation__menu-list {
    width: 350px !important;
    background-color: #edf2f3;
  }

  .show-on-mobile { display: none; }

  .hide-on-mobile { display: block;}

  .navbar-expand-md .search-toggler { display: none; }
}

@media (min-width: 992px){
  /*
  .phs-hero .inner {
       height: auto;
   }
   */
  /*
  .link-list-card {
    height: 320px;
  }
    */
/*
  .phs-hero .inner {
    height: 550px;
  }
    */

  .phs-hero .caption {
    top: 25%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .phs-hero .mission.desktop { display: block;}

  .mission.mobile { display: none; }

}


/*----- Extra Large Screens -----*/
@media (min-width: 1600px) {
  /*
  .phs-hero .inner {
    height: 750px;
  }
    */

    .bg-light {
      padding: 2.5em 0;
    }

    .advisory-carousel .carousel-item h2 { font-size: 1.5rem; }
    
    .advisory-carousel .carousel-item p { font-size: 1.1rem; }

    .phs-hero .caption {
      top: 30%;
      padding-top: 40px;
      padding-bottom: 40px;
    }

    .phs-hero .caption h1 { font-size: 3.5rem; }

    .phs-hero .mission.desktop {
      padding: 40px;
      left: 18%;
    }

    .phs-hero .mission.desktop h2 { font-size: 1.8rem; }

    .phs-hero .mission.desktop p { font-size: 1.25rem; }

}



@media (max-width: 720px) {
  .phs-hero .caption { 
    top: 15%;
    padding-top: 20px;
    padding-bottom: 20px;
  }
    
    .mission { padding: 18px; }

    .offcanvas-collapse.search .container .col {
      max-width: none;
      padding: 1rem .5em;
    }

    .offcanvas-collapse {
      background: transparent;
    }

    .offcanvas-collapse.search .container h3 {
      font-size: 1.5rem;
    }

    .offcanvas-collapse.search .search-button {
      width: 50px;
    }

    .offcanvas-collapse.search .primary-search {
      width: 70%;
    }

    .offcanvas-collapse.search .form-control {
      padding: .3rem 1.1em .35rem;
    }
  }

  @media (max-width: 480px) {
    .search .search-button {
      padding: 3.5px 8px;
    }

    .mission.mobile p {
      font-size: .85em;
          line-height: 1.5;
    }
  
    .phs-hero .caption {
      top: 2%;
      right: 15px;
      left: 15px;
    }
  
    .sub-footer .container {
      padding: 1rem;
    }
  
    .collapse:not(.in){
      display: none !important;
    }
    
      .phs-menu {
        background-color: #ecf0f1;
        padding: 1rem 0;
      }
  
    .phs-menu .navigation__menu-list li {
      position: relative;
      width: 100%;
    }
  
    .phs-menu .navigation__menu-list li .navigation__link {
      padding: 2px 100px 2px 17px;
      font-size: 1.1rem;
    }
  
    .phs-menu .navigation__menu-list li .dropdown-toggle {
      position: absolute;
      top: 0;
      left: 84%;
      z-index: 10000;
      width: 50px;
      text-decoration: none;
    }
  
    .phs-menu .navigation__menu-list li:hover > .navigation__menu-list {
      position: static;
      background-color: white;
      border: none;
    }
  
    footer .footer__logos {
      margin-top: 25px;
    }
  
    .accredited {
      float: none;
      margin-right: 0;
    }
  
    .media-container {
      .col-md-4 {
        margin-bottom: 25px;
      }
    }
  
    .media-container .button {
      display: block;
      text-align: center;
    }
  
    .navbar-brand {
      width: 235px !important;
    }
  
    .link-list-card { margin-bottom: 0; }
  
    .department-footer {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
  
    .department-footer .col-md-3,
    .county-footer .col-md-3 {
      margin-bottom: 1.5em;
    }
  
    .department-footer .col-md-3:nth-child(4) {
      text-align: center;
    }
    
    .resource-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)) !important;
    }
  
    /* Menu */
    .phs-menu ul {
      padding-left: 0;
    }
  
    .phs-menu .secondary-navigation li {
      padding: 5px 8px;
      margin-bottom: 0;
    }
  
      .phs-menu .secondary-navigation li a {
        padding: 7px 17px;
      }
  
      .phs-menu .secondary-navigation .gtranslate {
        padding-left: 25px;
      }
  
    /* Hero */
    .phs-hero .caption h1 { font-size: 1.4rem; }
  
    .phs-hero .caption h1:before {
      width: 15px;
      height: 15px;
      top: -15px;
    }
  
    .phs-hero .inner {
      height: auto;
    }
  
    .home-search {
      margin-top: 0;
      margin-bottom: 0;
    }
  
    .search-input {
      border-radius: 5px 0 0 5px;
      height: calc(.25em + 0.75rem + 15px);
    }
  
    .search-button {
      width: 108px;
      border-radius: 0 5px 5px 0;
      font-size: 1em;
    }
  
    .advisory-carousel .carousel-inner { text-align: center; }
  
    .advisory-carousel .carousel-inner a { position: static; }
  
    .advisory-carousel .carousel-item { display: none; }
  
  }

