
@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;
}


/* Admin override */
:root:root:root:root:root .sf-backend-wrp .modal-body .k-editor-widget .k-editable-area iframe {
  min-height: none !important;
}

.gtranslate select {
    color: black;
    padding: 4px;
    margin-top: 3px;
    margin-right: 20px;
}

img.full-width{
  width: 100%
}

main {
  padding-bottom: 0;
}

a { text-decoration: underline; }

.callout {
  padding: 0;
  margin: 0 0 1.5em 0;
  border: 0;
}

.callout__info {  padding: 30px 10px 30px 15px !important; }

.callout__accent::before { color: white !important; }

.callout--info, .callout--info-icon {
  padding: 0 !important;
  border: none !important;
}

.callout--info-icon .callout__accent { background: #3e73b3 !important;
}

.accordion__content div { padding: 0 20px; }

.accordion__content > div { padding: 25px 20px; }

.phs-table {
  background: #f5f8fa;
  border: 1px solid #EDF3F5;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.phs-table thead {
    background: #1f4d66;
    color: white;
    font-weight: bold;
 }

.phs-table th { padding: 8px; }

.phs-table td {
  padding: 12px 8px;
  vertical-align: top;
}

table {
  width: 100%;
  margin-bottom: 25px;
}

table .row { padding: 0; }

table tr { margin-bottom: 15px; }

table td {
  vertical-align: top;
  padding: 15px;
}

.sidebar-navigation {
  background-color: #EFF3F5;
  border-radius: 8px;
  margin-bottom: 35px;
  padding: 30px;
}

.sidebar-navigation ul {
  list-style: none;
    margin: 0;
    padding: 20px 0 0 0;
}

.main-content { padding-top: 0 !important; }

.bg-gray { background-color: #EFF3F5; }

.bg-beige { background-color: #F7F2ED; }

.container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.advisory-details h2 { font-size: 1.4rem; }

.accordion input:checked ~ .accordion__content { max-height: none; }

.callout--info-icon .callout__accent { background: transparent; }

.callout__accent::before {
    color: #ec431c;
    font-size: 34px;
}

.callout--info, .callout--info-icon {
    background: #eff3f4;
    border: none;
    padding: 1em;
    border-left: 8px solid #ec431c;
}

.offcanvas-collapse.search {
  top: 0 !important;
  z-index: 100000 !important;
}

.offcanvas-collapse.search[aria-expanded="true"]{
  visibility: visible;
}


.search-results ul {
  list-style: none;
    margin: 2em 0 0 0;
    padding: 0;
}

.search-results li a { text-decoration: none; }

.search-results li a .path { text-decoration: underline; }

.search-results h2, .news-list h3, .advisory-details h2, .sf-event-title {
  margin-bottom: 0;
  font-size: 24px;
  text-decoration: underline;
}

.advisory-details h2, .event-details .sf-event-title {
    text-decoration: none;
}

.news-list .news-meta {
    margin-bottom: 15px;
}

.search-results h2:after,
.advisory-details h2:after,
.news-list h3:after { display: none; }

.button--secondary:hover { background: #f0f5f6; }

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 > .navigation__menu-list {
  width: 350px !important;
  background-color: #edf2f3;

}

.navigation .navigation__menu-list li:hover { background-color: #edf2f3; }

.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; }

.events-list h2 + div, .news-list h2 + div { font-weight: bold !important; }

.events-list ul, .news-list ul { list-style: none; }

.events-list li,
.news-list li,
.advisory-details div,
.search-results li  { margin-bottom: 35px !important; }

.header { box-shadow: none; }

#breadcrumb {
    background: #EDF3F5;
    border-bottom: none;
}

.breadcrumb-item { margin-bottom: 0; }

.offcanvas-collapse.search {
  transform: translateX(0);
}

.sidebar-menu {
  background-color: #EDF3F5;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1.5em;
}

.sidebar-menu h3 {
  font-weight: bold;
  margin-top: 0 !important;
}

.sidebar-menu a {
  color: #487C84;
  margin-bottom: .75em;
  display: block;
}

.sidebar-menu a:last-of-type {
  margin-bottom: 0;
}

/* --- Cards --*/

.link-list-card {
  background: #f2f7f8;
  border-radius: 17px;
  padding: 35px 25px;
  height: auto;
  box-shadow: 0 0 6px 4px rgba(0, 0, 0, .1);
  min-height: 286px;
}

.bg-light .link-list-card,
.bg-beige .link-list-card,
.bg-gray .link-list-card {
  background: white;
}

.sub-footer a { color: white; }

.sub-footer .container { padding: 1rem 0; }

footer ul.footer-list li { line-height: 20px; }

ol, ul {
  margin-bottom: 3rem;
}

ol li, ul li {
  margin-bottom: 1rem;
}

.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: 0;
  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.3rem;
}

.container .container {
  padding-right: 0;
    padding-left: 0;
}

.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;
}

.orb-container.icon .orb.green {
    background-color: #ADB537;
    color: #102534;
}

/* --- Documents ---- */
.document {
  background: #eff3f4;
  border-radius: 8px;
  box-shadow: 3px 4px 4px rgba(0,0,0,.05);
  position: relative;
  display: block;
  padding-right: 100px;
  font-weight: bold;
  width: 100%;
  transition: all 500ms ease-in;
  cursor: pointer;
}

.document:hover {
  box-shadow: 4px 4px 5px rgba(0,0,0,.2);
}

.bg-light .document,
.bg-beige .document,
.bg-gray .document {
  background: white;
}
 
.sf_colsIn .document, .sf_colsIn.col-md-4 .button {
  margin-bottom: 15px;
  width: 100%;
  display: flex;
}

.sf-Long-text ul {
  margin-bottom: 1.25em;
}

.sf-Long-text h3 {
    margin-top: 0;
}

a[href$=".com"]::after, a[target="_blank"]::after {
  font-family: 'Material Icons Round';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  content: '\e89e';
  position: relative;
  top: 2px;
  left: 2px;
}

.document.gray, .button-resource.gray {
  background-color: #EDF3F5 !important;
  box-shadow: none !important;
  padding-right: 20px !important;
}

.button-resource{
  background: white;
  border-radius: 8px;
  box-shadow: 3px 4px 4px rgba(0,0,0,.05);
  position: relative;
  padding-right: 100px;
  font-weight: bold;
  color: #102840;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  margin: 0;
  font-size: 1.1em;
  padding-top: 1.3em;
  padding-bottom:1.3em;
  transition: all 500ms ease-in;
  cursor: pointer;
}

.button-resource:hover { box-shadow: 4px 4px 5px rgba(0,0,0,.2); }

.resource-grid {
  display: grid;
  grid-gap: 25px;
   grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
   margin-top: 25px;
   margin-bottom: 25px;
}

.resource-grid .link-list-card h3 {
    margin-bottom: 25px;
}

.sf_colsIn.page-content .resource-grid{
  grid-template-columns: repeat(auto-fill, minmax(49%, 1fr));
}

.sf_colsIn.page-content .resource-grid.small,
.resource-grid.small {
  grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
}

@media screen and (max-width: 640px) {
  .navigation .navigation__menu-list {
      display: block;
  }
}


.resource-grid.small .link-list-card {
  min-height: 171px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.resource-grid.small .link-list-card a {
  text-transform: none;
  color: #315470;
}

.button-resource.external, .button-resource.internal, .button-resource.video {
  background-repeat: no-repeat;
  background-position: right 28px bottom 45%;
  text-decoration: underline;  
}

.button-resource.internal {
  background-image: url('/images/default-source/phs/link-icon-2.png');
  color: #8c6743;
}

.button-resource.external {
 background-image: url('/images/default-source/phs/external-icon-2.png');
  color: #8c6743;
}

.button-resource.video {
 background-image: url('/images/default-source/phs/video-icon.png');
  color: #b7bb33;
}

.document .sfpdf {
  color: #102840;
  height: 100%;
  padding: 1.2em;
  display: block;
  position: relative;
  max-width: 80%;
}

h2, h3 {
  margin-bottom: 1rem;
}

h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: .75em;
}

.link-list-card h3:after, .sf-event-title:after {
  display: none;
}

img.-align-left {
  margin-bottom: 20px;
}

.document .sf-document-extension {
  position: absolute;
  bottom: 28%;
  right: 24px;
    content: '';
    height: 44px;
    width: 44px;
    background-size: contain;
    font-size: 0pt;
}

.document .sf-document-extension {
  background: transparent url('/images/default-source/phs/pdf-icon.png') no-repeat top left;
}

.document .sfpdf[href*=".pdf"] {
  color: #8B453C;
}

.document .sf-document-size {
  display: none;
}

/*--- Accordions ---*/
.accordion {
  border-top: none;
  border-bottom: none;
  margin-bottom: 1.75rem;
  overflow: visible;
}

.accordion:first-child {
  margin-top: 0 !important;
}

.accordion__label {
  border-radius: 8px;
     box-shadow: 2px 3px 3px rgba(0, 0, 0, .1);
  color: #222222; 
  background: #EDF3F5;
}

.accordion input:checked + label {
  background: #E9EAD6;
}

.accordion:first-child {
  margin-top: 1.75rem;
}

.accordion:last-child{
  margin-bottom: 1.75rem;
}

h1.page-title, .advisory-details h1 {
  position: relative;
    padding-left: 40px;
  font-weight: bold;
  margin-bottom: 2rem;
}

.short-advisory { display: none; }

.advisory-carousel .short-advisory,
.advisory-details .short-advisory { 
    display: block;
}

.advisory-carousel .full-advisory,
.advisory-details .full-advisory {
    display: none;
}

.advisory-carousel .sf-Long-text a {
    display: none;
}

h1.page-title:before, .advisory-details h1:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    background: transparent url(/images/default-source/phs/leaflet.png) no-repeat 0 0;
    width: 33px;
    height: 34px;
  background-size: contain;
  display: block;
}

.alert {
  background: #EFF3F4;
  font-weight: bold;
  border-left: 8px solid #EC431C;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.alert p:last-of-type {
  margin-bottom: 0;
}

/* Advisory Carousel */

.advisory-carousel {
  padding: 20px 0;
}

.advisory-carousel, .advisory-carousel h2 {
  background: #1E6287;
  color: white;
}

.advisory-carousel h1 {
  display: none;
}

.advisory-carousel .advisory-list .sf-Long-text {
  font-size: 1.2rem;
  font-weight: 300;
}

.advisory-carousel .advisory-list h2 {
  font-size: 1.2rem;
  font-weight: 900;
}

/* -- List cards -- */

.list-card {
  background: white;
  border-radius: 17px;
  padding: 25px;
  height: 320px;
  margin-bottom: 1.75rem;
    box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, .1);
}

.list-card img {
   margin: 0 auto;
   display: block;
}

.list-card .link-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: .5em;
}

.list-card .link-list li {
  margin-bottom: 0;
}

.list-card h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 25px;
}

.list-card a {
  text-decoration: underline;
}

.list-card h3 a {
  color: #2B2B2B;
  text-decoration: none;
}

.callout--warning-icon {
  background: #ebe7e4 !important;
}

.bg-light {
  background-color: #EFF3F5 !important;
  padding: 0;
}

.bg-light:after {
  display: none;
}

.bg-beige {
  background-color: #F7F2ED !important;
  padding: 0;
}

/* Hero */

.carousel .carousel-inner {
  height: 450px;
  max-height: none;
}

.carousel .carousel-caption {
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
  top: 40%;
}

.carousel .mission {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding: 40px;
    border-radius: 20px;
    background: rgba(0,0,0,.3);
  box-shadow: 2px 2px 2px rgba(140,103,67, .3);
}

.carousel .mission h2, .carousel .mission p {
  color: white;
}

.carousel .mission h2 { font-size: 1.8rem; }
.carousel .mission p {
  font-size: 1.25rem;
	margin-bottom: 0;
}

.carousel .carousel-caption h1 {
  position: relative;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, .2);
  color: white;
  text-align: center;
  font-size: 3rem;
}

.carousel .carousel-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;
}

/* -- 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;
}

/* -- Search -- */

.phs-search { position: absolute; }

.search .search_autocomplete li { padding-left: 20px; }

/* -- Footer Icons -- */

.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, .social-media .social {
  background: #1B3040;
  margin-right: 1rem;
}

.social-media .social {
    height: 38px;
    width: 38px;
    display: inline-block;
    border-radius: 100%;
    line-height: 38px;
    text-align: center;
    color: #fff;
}

.department-footer .social img, .social-media .social img {
  margin-bottom: 0;
}

.county-footer {
    background: #EFF3F4 !important;
  padding-bottom: 51px !important;
}

footer .sub-footer {
  margin-top: 0 !important ;
}

.w-divider:after, .col-md-4 h4: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 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* 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 .gtranslate {
    padding-left: 25px;
  }

@media (max-width: 480px) {

  .sub-footer .container {
    padding: 1rem;
  }

  .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;
  }

  .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;
  }

  .phs-menu {
    background-color: #ecf0f1;
  }

  .resource-grid {
      grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)) !important;
  }

  .department-footer .col-md-3 {
    margin-bottom: 2.5em;
  }

  .navbar-brand {
    width: 235px !important;
  }

  .phs-menu .secondary-navigation .gtranslate {
    padding-left: 25px;
  }
}

@media (min-width: 480px) {
  .department-footer {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
  }

  .news-list, .news-detail, .events-list, .event-details {
    max-width: 800px;
    margin: 0 auto;
  }

  .navigation .navigation__menu-list li:hover {
    background-color: #edf2f3;
   }

   .navbar-expand-md .search-toggler {
    display: none;
  }
}

@media (max-width: 720px) {

    .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 (min-width: 768px) {
  .show-on-mobile {
    display: none;
  }

  .hide-on-mobile {
    display: block;
  }

  .mission.desktop {
    display: block;
  }

  .mission.mobile {
    display: none;
  }
}


@media (min-width: 992px) {
    .carousel.home .carousel-inner {
        max-height: none;
      }

      .primary-navbar {
        padding: 1.5rem 0;
    }

    img.-align-left {
      margin: 20px 20px 20px 0;
  }

  img.-align-right {
    margin: 20px 0 20px 20px;
}
}

@media (min-width: 1200px) {
  .carousel .carousel-inner {
    height: 650px;
  }
}

@media (min-width: 1600px) {
  .carousel .carousel-inner {
    height: 850px;
  }
}