/*
 	WordPress Anglicare Theme

 	Theme Name: Anglicare
 	Version: 2.0
*/
*:focus {
  outline: 1px solid #ff8200 !important;
  outline-offset: 4px;
}
body main {
  margin-top: 88px;
}

section.banner-block .hero-banner {
  display: flex !important;
}
header .header-top {
  padding-top: 0;
}
header .header-top .header-left,
header .header-top .header-right {
  height: 30px;
}
header
  .header-top
  .header-right
  .header-search-container
  span.search
  form
  input {
  height: 30px !important;
}
.kd_hero-banner {
  display: flex;
  height: 35vh;
  min-height: clamp(20rem, 10rem + 26vw, 40rem);
}
.kd_hero-banner h2.banner-title {
  padding-right: 40px;
}
.kd_caption {
  padding: 0 40px;
}
.kd_hero-banner .kd_caption .quote-block {
  width: 100%;
  max-width: 650px;
  position: relative;
  display: block;
  text-align: left;
}

.kd_banner {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: -1;
  margin-right: -100%;
}
.kd_banner img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
.kd_homepage-carousel {
  height: 35vh;
  min-height: clamp(20rem, 10rem + 26vw, 40rem);
  overflow: hidden;
  /* margin-top: 40px; */
  position: relative;
}
.kd_homepage-carousel .glide.glide__homepage {
  height: 100%;
}
.kd_homepage-carousel .glide.glide__homepage .glide__track {
  height: 100%;
}
.kd_homepage-carousel .glide.glide__homepage .glide__track .glide__slides {
  height: 100%;
  padding-left: 0;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide {
  height: 100%;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_image {
  width: 100%;
  display: flex;
  position: relative;
  height: 100%;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_image
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-right: -100%;
  position: absolute;
  /* object-position: left center; */
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_image:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide:before {
  display: none;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_caption {
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 50%;
  color: #fff;
  position: relative;
  z-index: 9;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_caption
  h3 {
  font-family: AvenirNext-Bold, Arial;
}
.kd_homepage-carousel
  .glide.glide__homepage
  .glide__track
  .glide__slides
  .glide__slide
  .carousel_caption {
  font-family: AvenirNext-SemiBold, Arial;
}
.kd_homepage-carousel .glide__bullets {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.kd_homepage-carousel .glide__bullets .glide__bullet {
  height: 0.75rem;
  width: 0.75rem;
  box-shadow: inherit;
  border: none;
  border-radius: 50%;
}
.kd_homepage-carousel .glide__bullet--active {
  background: #ff8201;
}
.kd_homepage-carousel .glide__bullets .glide__bullet:only-child {
  display: none;
}
@media screen and (max-width: 48rem) {
  .kd_homepage-carousel
    .glide.glide__homepage
    .glide__track
    .glide__slides
    .glide__slide
    .carousel_caption {
    max-width: 100%;
  }

  .kd_homepage-carousel .glide__bullets {
    bottom: 2rem;
  }
}

.kd_homepage-carousel a.btn,
.event-btn {
  width: max-content;
  padding: 0.25rem 2.5rem;
  font-family: AvenirNext-SemiBold, Arial;
  font-size: 18px;
  color: #fff;
  border-radius: none;
  border-bottom-right-radius: 15px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.kd_homepage-carousel .btn.btn-blue,
.event-btn {
  background: #00c0fc;
}
.kd_homepage-carousel .btn.btn-orange {
  background: #ff8201;
}
.kd_homepage-carousel .btn.btn-sunflower {
  background: #efb71b;
}
.kd_homepage-carousel .btn.btn-charcoal {
  background: #6d656b;
}
.kd_homepage-carousel a.btn:hover,
a:hover .event-btn {
  border-bottom-right-radius: 0;
  box-shadow: 0px 2px 4px rgba(255, 255, 255, 0.42);
}

/* ARVE substitute styles */
.video-container > p {
  position: relative;
  height: 0;
  padding-top: 56.25%;
}

.video-container > p > iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 48rem) {
  .kd_hero-banner {
    flex-direction: column;
  }
  .kd_caption {
    padding: 1rem;
    background-image: linear-gradient(
      90deg,
      rgba(250, 176, 26, 1) 0%,
      rgba(250, 176, 26, 1) 0%,
      rgba(254, 197, 12, 1) 48%,
      rgba(254, 197, 12, 1) 100%
    );
    margin-top: -1px;
  }
  .kd_caption h2 {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 81.25rem) {
  header .header-bottom {
    padding: 20px 0;
  }
}

header ~ main.page .fixed-menu {
  top: 140px !important;
  position: static;
}
header.scrolled ~ main.page .fixed-menu {
  top: 96px !important;
  position: static;
}
@media only screen and (max-width: 1023px) {
  header ~ main.page .fixed-menu {
    top: 88px !important;
    position: static;
  }
}
@media only screen and (min-width: 1023px) and (max-width: 1300px) {
  header ~ main.page .fixed-menu {
    position: static;
    top: 116px !important;
  }
}
@media only screen and (max-width: 767px) {
  section.banner-block .portals-container {
    margin-top: 0;
  }
}
section.navigation.fixed-menu.fixed {
  position: fixed !important;
}
/* steps block */
.steps-block {
  background: #10a1d6;
  color: #fff;
  padding: 5rem 0 2.5rem;
  margin: 4rem 0 2.5rem;
  position: relative;
}
@media screen and (max-width: 48rem) {
  .steps-block {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.steps-block .step_block-title {
  font-weight: 900;
  background: #f58220;
  padding: 1rem 2rem 1rem 4rem;
  max-width: max-content;
  border-radius: 0 50px 50px 0;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, -50%);
  min-width: auto;
  max-width: 90%;
}
.steps-block .step_block-title h2,
h2.step-title {
  font-size: 36px;
  margin-bottom: 0;
}
.steps-block .step-grids {
  display: grid;
  gap: 3.5rem;
}
.steps-block .step-grids .each_step {
  border: 1px solid #fff;
  border-bottom-right-radius: 50px;
  padding: 1rem 3rem 1rem 1rem;
  position: relative;
}
.step-number {
  position: absolute;
  height: 3.5rem;
  width: 3.5rem;
  background: #f58220;
  right: 1rem;
  top: 0;
  transform: translate(0, -50%);
  font-weight: bold;
  border-radius: 50%;
  font-size: 36px;
  font-weight: bold;
  display: table;
  text-align: center;
}
.step-number span {
  display: table-cell;
  vertical-align: middle;
}
.steps-block .step-grids .each_step .step-content {
  word-break: break-word;
  color: #fff;
}
.steps-block .step-grids .each_step .step-content p {
  margin: 0;
}
.steps-block .step-grids .each_step > * + *,
.steps-block .step-grids .each_step .step-content > * + * {
  margin-top: 1rem !important;
}
.steps-block .step-grids .each_step .step-content a {
  color: #fff;
}
/* homepage services block */
.home_services_block {
  /* background: linear-gradient(
    0deg,
    rgba(255, 130, 0, 1) 30%,
    rgba(255, 255, 255, 1) 30%
  ); */
  margin: 4rem 0;
  position: relative;
}
.home_services_block:after {
  content: "";
  height: 4rem;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ff8200;
  z-index: -1;
}
.home_services_block .home_services_grid {
  list-style-type: none;
  margin: 0;
  margin-top: 4rem;
  padding: 0;
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); */
  display: flex;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.home_services_block .home_services_grid .service_wrap h4 {
  /* font-size: 0.75rem; */
  font-weight: bold;
  margin-bottom: 0;
}
.home_services_block .home_services_grid .service_wrap {
  background: #f8f8fa;
  padding: 1rem;
  display: grid;
  align-content: center;
  color: #0fa3d9;
  height: 12rem;
  width: 12rem;
  transition: all 200ms ease-in-out;
}

.home_services_block .home_services_grid .service_wrap:hover {
  background: #0fa3d9;
  color: #f8f8fa;
  transition: all 200ms ease-in-out;
}
.home_services_block .home_services_grid svg {
  fill: #0fa3d9;
  width: 4rem;
  height: 4rem;
}
.home_services_block .home_services_grid .service_wrap:hover svg {
  fill: #f8f8fa;
}
.home_services_block .home_services_grid .service_icons {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.statewide_services_block {
  background: #10a1d6;
  color: #fff;
  padding: 5rem 0 2.5rem;
  margin: 4rem 0 2.5rem;
  position: relative;
}
.state-map {
  text-align: center;
}
.statewide_services {
  display: grid;
  padding: 0 2rem;
  gap: 2rem;
}
.state-service-tab .st-service h4 {
  font-weight: bold;
  font-family: AvenirNext-Bold, Arial;
}
.state-service-tab .st-service {
  border: 0.25rem solid #fff;
  border-bottom-right-radius: 50px;
  padding: 1.5rem;
}
.state-map svg {
  transform: rotate(-8deg);
}
.state-map svg .dot {
  fill: #f58220;
  cursor: pointer;
}
.state-map svg .dot.active {
  fill: #10a1d6;
  stroke: rgba(255, 130, 1, 0.5);
  stroke-width: 0.25rem;
}
.state-service-tab .st-service {
  display: none;
}
.st-service * {
  float: none;
}
.state-service-tab .st-service ul li:before {
  color: #fff;
}
.state-service-tab .st-service:first-child {
  display: block;
}
.block_title-kd {
  font-weight: 900;
  background: #f58220;
  padding: 1rem 2rem 1rem 4rem;
  max-width: max-content;
  border-radius: 0 50px 50px 0;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, -50%);
  min-width: auto;
  max-width: 90%;
}
.block_title-kd h2 {
  margin-bottom: 0;
}
@media screen and (min-width: 64rem) {
  .steps-block .step-grids {
    grid-template-columns: repeat(3, 1fr);
  }
  .state-service-tab .st-service {
    max-width: 80%;
  }
}
@media screen and (min-width: 48rem) {
  .statewide_services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .state-map svg {
    max-height: 30rem;
  }
}
@media screen and (max-width: 48rem) {
  .home_services_block {
    padding: 0 1rem;
  }
  .home_services_block:after {
    bottom: -2rem;
  }
  .state-map svg {
    max-width: 20rem;
  }
}
.footer-bottom span.right.absolute img {
  display: none;
}

.footer-bottom span.right.absolute a:last-of-type img {
  display: block;
}
.kd_news-grid {
  width: 100%;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); */
  gap: 1rem;
}
@media screen and (min-width: 48rem) {
  .kd_news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .kd_news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 960px) {
  .kd_news-grid {
    justify-content: center;
  }
}
.kd_news-grid * {
  float: none !important;
  width: 100% !important;
}

.kd_news-grid .post-container a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-listing-content .kd_news-grid .post-container .image-column {
  padding: 0 !important;
}
.post-listing-content .kd_news-grid .post-container .information-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem !important;
}
.post-listing-content
  .kd_news-grid
  .post-container
  .information-column
  button.text-button {
  position: static !important;
  margin-top: auto !important;
  width: max-content !important;
  padding: 0.5rem 2.5rem;
  font-family: AvenirNext-SemiBold, Arial;
  font-size: 18px;
  color: #fff;
  background: #00c0fc;
  border: none;
  border-radius: none;
  border-bottom-right-radius: 15px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.kd_news-grid .post-container a:hover button.text-button {
  border-bottom-right-radius: 0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.42);
  color: #fff !important;
}
.post-listing-content
  .kd_news-grid
  .post-container
  .information-column
  button.text-button:after {
  display: none;
}
.mobile-select-container {
  display: block;
  padding-right: 0 !important;
}
.desktop-select-container {
  display: none;
}
section.news-listing-block
  .container
  .post-listing-content
  .post_search-field
  h1 {
  margin-bottom: 0;
}
section.news-listing-block .container .post-listing-content .post_search-field {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
section.news-listing-block
  .container
  .post-listing-content
  .post_search-field
  .search-container {
  width: 40%;
  position: relative;
}
section.news-listing-block
  .container
  .post-listing-content
  .post_search-field
  .search-container
  span.search
  input.searchInput {
  width: 100%;
  float: left;
  padding-left: 64px;
  margin-bottom: 0 !important;
  border-color: #6d656b;
  color: #6d656b;
}
section.research-block .container .generic-container .inner {
  max-width: 100%;
}
section.news-listing-block
  .container
  .post-listing-content
  .post_search-field
  .search-container
  span.search
  input.searchButton {
  position: absolute;
  left: 20px;
  top: 0;
  line-height: 58px;
  border: none;
  width: 30px;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.kd_post-grid-layout {
  display: grid;
  gap: 4rem;
}
@media screen and (min-width: 60rem) {
  .kd_post-grid-layout {
    grid-template-columns: 3fr 1.5fr;
  }
}
@media screen and (min-width: 80rem) {
  .kd_post-grid-layout {
    grid-template-columns: 3fr 1fr;
  }
}
.quick-link-group h2 {
  color: #1598cb;
}
.quick-link-group .quick_links {
  overflow: hidden;
  float: none;
  padding-left: 0;
  font-family: AvenirNext-Bold, Arial;
}
section.news-listing-block
  .container
  .post-listing-content
  .post-container
  .information-column
  h4 {
  font-family: AvenirNext-Bold, Arial;
}
.quick-link-group .quick_links li a {
  color: #ff8200;
}
.quick-link-group .quick_links li:before {
  display: none;
}
.quick-link-group {
  padding: 1rem 3rem 1rem 1rem;
  border-bottom-right-radius: 5rem;
}
.quick-link-group.border-blue {
  border: 2px solid #1598cb;
}
.quick-link-group.border-sunflower {
  border: 2px solid #efb71b;
}
.quick-link-group.border-orange {
  border: 2px solid #ff8200;
}
.quick-link-group.border-charcoal {
  border: 2px solid #6d656b;
}
@media screen and (min-width: 48rem) {
  .desktop-select-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 0.5rem;
    width: 100% !important;
    align-items: center;
    justify-content: center;
    padding-right: 0;
  }
  .desktop-select-container a.active {
    font-family: AvenirNext-Bold, Arial !important;
  }
  .mobile-select-container {
    display: none;
  }
}
/* remove on live */
/* ::selection {
  color: blue !important;
} */

/* events block */
.kd_event-grid-wrapper {
  margin: 0 auto;
  padding: 0 2rem;
}

.kd_event-grid {
  width: 100%;
  display: grid;
  gap: 1.5rem;
}
.eb-response-event a {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.eb-response-event a:hover {
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5);
}
.event-thumbnail {
  position: relative;
  padding-top: 55%;
}
.event-thumbnail img {
  position: absolute;
  object-fit: cover;
  object-position: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.event-detail {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.event-btn {
  border-color: #00c0fc;
  margin-top: 1rem;
  cursor: pointer;
}
.event-schedule h5 {
  margin-bottom: 0.25rem;
}
.event-schedule h5:not(:first-child) {
  margin-top: 1rem;
}
.event-schedule p {
  font-size: 0.75rem;
  font-family: AvenirNext-Regular, Arial;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}
.event-schedule {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: auto;
}
@media screen and (min-width: 48rem) {
  .kd_event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-schedule {
    justify-content: space-between;
  }
}
@media screen and (min-width: 64rem) {
  .kd_event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .eb-response-event.border-charcoal {
    border: 2px solid #6d656b;
  }
}