/*
 Theme Name:     Head for Change
 Theme URI:      https://www.detype.com
 Description:    Custom theme
 Author:         DeType
 Author URI:     https://www.detype.com
 Template:       Divi
 Version:        1.0.0
*/
/* =Theme customization starts here
------------------------------------------------------- */
/* =========================================================================== */
/*                                 Blog styles                                 */
/* =========================================================================== */
.blog_page_header {
  background-color: #003057;
  background-position: center top 30%;
  margin-top: 100px;
  background-image: url(https://hfc.detypedev.com/wp-content/uploads/hfc-header-img.png) !important;
  background-repeat: no-repeat;
  background-size: cover;
}

.blog_page_header .title_wrap {
  padding: 60px 0;
}

.blog_page_header .title_wrap h1 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.9em;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.blog_page_header .title_wrap .blog-categories ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog_page_header .title_wrap .blog-categories ul li {
  text-transform: capitalize;
}

.blog_page_header .title_wrap .blog-categories ul li:not(:last-child) {
  margin-right: 15px;
}

.blog_page_header .title_wrap .blog-categories ul li a {
  background-color: #ed40a9;
  border: #ed40a9 solid 1px;
  color: #FFF;
  padding: 12px 12px;
  font-size: 16px;
  line-height: 14px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.blog_page_header .title_wrap .blog-categories ul li a:hover {
  background-color: #fffFFF;
  border: #003057 solid 1px;
  color: #003057;
  text-decoration: none;
}

.posts-listing-section {
  padding: 60px 0;
}

.posts-listing-section .posts-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}

@media (max-width: 1199px) {
  .posts-listing-section .posts-list {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .posts-listing-section .posts-list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.blog-card {
  position: relative;
  background-color: #f4f4f4;
  padding: 20px;
}

@media (min-width: 768px) {
  .blog-card {
    padding-bottom: 80px;
  }
}
.blog-card .blog-thumb {
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-card .blog-thumb {
    margin: -20px -20px 29px;
  }
}
@media (max-width: 767px) {
  .blog-card .blog-thumb {
    margin-bottom: 20px;
  }
}
.blog-card .blog-thumb img {
  display: block;
  width: 100%;
  height: 260px;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.blog-card .blog-thumb:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.blog-card .blog-categories {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #003057;
  line-height: 1;
}

.blog-card .blog-categories a {
  color: #003057;
  text-decoration: none;
}

.blog-card .blog-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.blog-card .blog-title a {
  text-decoration: none;
}

.blog-card .blog-title a:hover {
  text-decoration: none;
}

.blog-card .blog-meta {
  font-size: 15px;
  margin-bottom: 10px;
  color: #1e1e1c;
  margin-top: 3px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.blog-card .blog-meta a {
  color: #1e1e1c;
}

.blog-card .blog-content {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #1e1e1c;
  font-weight: normal;
  font-size: 18px;
}

.blog-card .action {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .blog-card .action {
    position: absolute;
    bottom: 10px;
  }
}
.blog-card .action a {
  background-color: #003057;
  border: #003057 solid 2px;
  color: #FFF;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.5;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}

.blog-card .action a:hover {
  color: #003057;
  background-color: #fff;
  background-color: transparent;
  text-decoration: none;
}

@media (min-width: 1024px) {
  body.sticky-header-blog .blog-sticky-header {
    opacity: 1;
    visibility: visible;
  }
}
.blog-sticky-header {
  position: fixed;
  width: 100%;
  opacity: 0;
  /* top:0;
  left: 0; */
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #FFF;
  padding: 15px 20px;
  border-bottom: #dad5d3 solid 1px;
  z-index: 99;
}

.blog-sticky-header .item-1 {
  position: relative;
  z-index: 99;
}

.blog-sticky-header .item-2 {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  text-align: center;
}

.blog-sticky-header .blog-post-share ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-sticky-header .blog-post-share ul li span {
  font-size: 14px;
  color: #1e1e1c;
}

.blog-sticky-header .blog-post-share ul li:not(:first-child) {
  margin-left: 5px;
}

.blog-sticky-header .blog-post-share ul li img {
  width: 34px;
  display: block;
}

.blog-sticky-header .blog-title {
  padding-bottom: 0;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  font-size: 24px;
}

.single-post-section {
  padding: 60px 0;
  padding-top: 120px;
}

.single-post-section .blog-post-header {
  margin-bottom: 20px;
}

.single-post-section .blog-post-header .blog-title {
  font-size: 46px;
  line-height: 1.4;
  font-weight: 600;
  color: #1e1e1c;
}

@media (max-width: 979px) {
  .single-post-section .blog-post-header .blog-title {
    font-size: 52px;
  }
}
@media (max-width: 767px) {
  .single-post-section .blog-post-header .blog-title {
    font-size: 36px;
  }
}
.single-post-section .blog-post-header .catelist a {
  color: #003057;
}

.single-post-section .blog-post-header .blog-meta {
  padding-bottom: 0px;
  color: #1e1e1c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.single-post-section .blog-post-header .blog-meta a {
  color: #1e1e1c;
}

.single-post-section .blog-post-share {
  margin-bottom: 40px;
}

.single-post-section .blog-post-share ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post-section .blog-post-share ul li span {
  font-size: 14px;
  color: #1e1e1c;
}

.single-post-section .blog-post-share ul li:not(:first-child) {
  margin-left: 5px;
}

.single-post-section .blog-post-share ul li img {
  width: 34px;
  display: block;
}

.single-post-section .blog-featured-image {
  margin-bottom: 40px;
}

.single-post-section .blog-featured-image img {
  min-width: 100%;
  display: block;
}

.single-post-section .blog-content {
  font-size: 18px;
  line-height: 1.7;
  color: #1e1e1c;
}

.single-post-section .blog-content h1,
.single-post-section .blog-content h2,
.single-post-section .blog-content h3,
.single-post-section .blog-content h4,
.single-post-section .blog-content h5,
.single-post-section .blog-content h6 {
  font-weight: 700;
}

.single-post-section .blog-content h1 {
  font-size: 54px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h1 {
    font-size: 48px;
  }
}
.single-post-section .blog-content h2 {
  font-size: 38px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h2 {
    font-size: 42px;
  }
}
.single-post-section .blog-content h3 {
  font-size: 32px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h3 {
    font-size: 36px;
  }
}
.single-post-section .blog-content h4 {
  font-size: 26px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h4 {
    font-size: 30px;
  }
}
.single-post-section .blog-content h5 {
  font-size: 20px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h5 {
    font-size: 24px;
  }
}
.single-post-section .blog-content h6 {
  font-size: 18px;
}

@media (max-width: 767px) {
  .single-post-section .blog-content h6 {
    font-size: 20px;
  }
}
.single-post-section .blog-content ul {
  list-style: disc;
  margin: 20px;
  margin-right: 0;
  margin-left: 40px;
}

.single-post-section .blog-content ol {
  list-style: decimal;
  margin: 20px;
  margin-right: 0;
  margin-left: 40px;
}

.single-post-section .blog-content blockquote {
  border: none;
  padding: 0;
  position: relative;
  font-style: italic !important;
  border: #003057 solid 2px;
  padding: 20px;
  padding-left: 70px;
}

.single-post-section .blog-content blockquote p {
  font-style: italic !important;
}

.single-post-section .blog-content blockquote:before {
  content: "";
  /* background: url(/wp-content/uploads/risk-quote-icon.svg) no-repeat;  */
  width: 50px;
  height: 50px;
  position: absolute;
  left: 10px;
}

.similar-posts-section {
  background-color: #52bbb5;
  padding: 60px 0 120px;
}

@media (max-width: 767px) {
  .similar-posts-section {
    padding: 40px 0;
  }
}
.similar-posts-section .similar-posts-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 30px;
}

@media (max-width: 979px) {
  .similar-posts-section .similar-posts-title {
    font-size: 52px;
  }
}
@media (max-width: 767px) {
  .similar-posts-section .similar-posts-title {
    font-size: 36px;
  }
}
.similar-posts-section .posts-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 30px;
}

@media (max-width: 1199px) {
  .similar-posts-section .posts-list {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .similar-posts-section .posts-list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.post-pagination {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

.post-pagination ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.post-pagination li a:not(.next):not(.prev),
.post-pagination li span {
  display: block;
  width: 40px;
  height: 40px;
  border: #003057 solid 2px;
  text-align: center;
  line-height: 36px;
  text-decoration: none;
  margin: 0 3px;
  color: #003057;
  font-weight: bold;
}

.post-pagination li a:not(.next):not(.prev) {
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.post-pagination li a:not(.next):not(.prev):hover {
  background-color: #003057;
  color: #FFF;
}

.post-pagination li a.prev,
.post-pagination li a.next {
  display: block;
  padding-top: 2px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.post-pagination li a.prev img,
.post-pagination li a.next img {
  height: 24px;
  display: block;
}

.post-pagination li a.prev {
  margin-right: 15px;
}

.post-pagination li a.prev img {
  /* transform: rotate(180deg); */
}

.post-pagination li a.next {
  margin-left: 15px;
}

.post-pagination li .current {
  background-color: #003057;
  color: white;
}

.post-pagination li .dots {
  border-color: transparent;
}

.post-pagination li a.prev,
.post-pagination li a.next {
  border-color: transparent;
}

.section-archive-title {
  padding: 60px 0;
  background-color: #dad5d3;
}

.section-archive-title h1 {
  text-align: center;
  padding-bottom: 0;
  font-size: 36px;
}

.single-container {
  max-width: 800px !important;
}

/* =========================================================================== */
/*                             END -- Blog styles                                 */
/* =========================================================================== */
.testimonials_wrapper {
  position: relative;
  margin-top: 40px;
}

.testimonials_wrapper .top_quote img {
  width: 100px;
  margin-left: -40px;
  display: block;
}

@media (max-width: 767px) {
  .testimonials_wrapper .top_quote img {
    margin-left: 0;
    width: 60px;
  }
}
.testimonials_wrapper .bottom_quote {
  padding-right: 60px;
}

@media (max-width: 767px) {
  .testimonials_wrapper .bottom_quote {
    padding-right: 60px;
  }
}
.testimonials_wrapper .bottom_quote img {
  width: 100px;
  display: block;
  float: right;
}

@media (max-width: 767px) {
  .testimonials_wrapper .bottom_quote img {
    width: 60px;
  }
}
.testimonials_wrapper .testimonial_slider .testimonial blockquote {
  color: #FFF;
  border: none;
  padding: 0;
  font-size: 28px;
  line-height: 1.5;
  padding-right: 60px;
}

.testimonials_wrapper .testimonial_slider .testimonial blockquote a{
  color: #FFFFFF !important;
}


@media (max-width: 767px) {
  .testimonials_wrapper .testimonial_slider .testimonial blockquote {
    padding-right: 0px;
    font-size: 18px;
  }
}
/* ---------------------- ambassadors slider wrapper --------------------*/
.ambassadors_slider_wrapper {
  margin-top: 20px;
}

.ambassadors_slider_wrapper .ambassadors_slider .slick-list {
  margin-left: -15px;
}

.ambassadors_slider_wrapper .ambassadors_slider img {
  display: block;
  margin-left: 15px;
}

/* --------------------- search result page ---------------------- */
.search_page_header {
  background-color: #003057;
  background-position: center top 30%;
  margin-top: 100px;
  background-image: url(/wp-content/uploads/hfc-header-img.png) !important;
  background-repeat: no-repeat;
  background-size: cover;
}

.search_page_header .title_wrap {
  padding: 60px 0;
}

.search_page_header .title_wrap h1 {
  font-weight: 700;
  line-height: 0.9em;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0px;
}

.result-filters {
  margin-top: 20px;
}

.result-filters .filters-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

.result-filters .filters-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  border: #ed40a9 solid 2px;
  background-color: #ed40a9;
  color: #FFF;
  margin-left: 15px;
  margin-bottom: 15px;
}

.result-filters .filters-nav a.active {
  background-color: #fff;
  color: #ed40a9;
}

.search-result-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.search-result-section .search-results {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

@media (max-width: 979px) {
  .search-result-section .search-results {
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .search-result-section .search-results {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.search-result-section .search-card {
  position: relative;
  background: #f4f4f4;
  padding: 15px;
}

@media (min-width: 768px) {
  .search-result-section .search-card {
    padding-bottom: 80px;
  }
}
.search-result-section .search-card .post_type {
  color: #003057;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 10px;
}

.search-result-section .search-card .title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.search-result-section .search-card .action {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .search-result-section .search-card .action {
    position: absolute;
    bottom: 10px;
  }
}
.search-result-section .search-card .action a {
  background-color: #003057;
  border: #003057 solid 2px;
  color: #FFF;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.5;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}

.search-result-section .search-card .action a:hover {
  color: #003057;
  background-color: #fff;
  background-color: transparent;
  text-decoration: none;
}

/* ------------------- Faq style ------------------- */
.eachFaq {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #003057;
}
.eachFaq .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}
.eachFaq .title .icon {
  font-style: normal;
  width: 24px;
  height: 24px;
  background-color: #52bbb5;
  display: block;
  text-align: center;
}
.eachFaq .title .icon:before {
  font-family: "ETMODULES";
  content: "L";
  font-size: 22px;
  line-height: 24px;
  color: #FFF;
}
.eachFaq .title h4 {
  color: #0d1f3b;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px;
  font-size: 22px;
}
.eachFaq .faq-content {
  margin-top: 15px;
  padding-left: 34px;
  font-size: 18px;
  color: #003057;
}
.eachFaq.active .title .icon {
  background-color: #ed40a9;
}
.eachFaq.active .title .icon:before {
  content: "K";
}

/* ------------------------ Ambassador shortcode with filters and sorting optino -------------------- */
.ambassador-filter-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.ambassador-filter-wrapper .filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.ambassador-filter-wrapper .filter label {
  color: #0d1f3b;
  font-weight: bold;
}
.ambassador-filter-wrapper .filter a {
  background-color: #ed40a9;
  padding: 3px 10px 5px;
  font-size: 16px;
  color: #FFF;
  margin-left: 10px;
}
.ambassador-filter-wrapper .filter a:hover {
  background-color: #52bbb5;
}
.ambassador-filter-wrapper .filter a.active {
  background-color: #0d1f3b;
}
.ambassador-filter-wrapper .sort button {
  cursor: pointer;
  background-color: #0d1f3b;
  color: #FFF;
  padding: 5px 10px 7px;
  font-size: 16px;
  border: none;
}

.ambassador-card.blog-card .blog-thumb img {
  display: block;
  width: 100%;
  height: 360px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
     object-position: top;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

/* ------------------ Ambassador Popup ------------------- */
.no-scroll {
  overflow-y: hidden;
}

.ambassador_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  /* opacity: 0;
  visibility: hidden; */
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 48, 87, 0.9);
  z-index: 999999;
  overflow-x: hidden;
  -webkit-backdrop-filter: saturate(180%) blur(5px);
          backdrop-filter: saturate(180%) blur(5px);
  /* .fs-close-button {
      position: relative;
      width: 100%;
      text-align: right;
      padding-top: 60px;
      padding-right: 15px;      
      a {
          img {
              max-width: 43px;
              display: inline-block;
          }
      }
  } */
}
.ambassador_popup_overlay .container {
  position: relative;
  height: 100%;
}
.ambassador_popup_overlay .ambassador_popup_content {
  position: absolute;
  width: 100%;
  max-width: 600px;
  text-align: center;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  padding: 50px 20px 50px 20px;
  background-color: #fff;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.ambassador_popup_overlay .ambassador_popup_content .name {
  margin-bottom: 20px;
}
.ambassador_popup_overlay .ambassador_popup_content .name h3 {
  font-size: 28px;
}
.ambassador_popup_overlay .ambassador_popup_content .content {
  color: #0d1f3b;
  font-size: 18px;
  line-height: 1.5;
}
.ambassador_popup_overlay .ambassador_popup_content .close-popup {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #000;
}