/*
Theme Name: FosterPC Child
Template: fosterpc
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


.archive_title {
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  text-align: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.archive_title h1 {
  color: rgb(68, 68, 68);
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 767.9px) {
  .archive_title {
    padding: 32px 15px;
  }
  .archive_title h1 {
    font-size: 26px;
  }
}

.archive-blog h2, .archive-blog h3, .archive-blog h4, .archive-blog h5,.archive-blog h6{
  font-family: 'Montserrat', sans-serif;
  line-height: 1.4em;
}
.archive-blog h3{
  font-size: 20px;
  font-weight: 400;
 color: #000;
}
@media (min-width: 768px) {
  .archive_title {
    min-height: 179px;
  }
}

.archive-blog {
  padding: 60px 0 0px;
  max-width: 100%;
}

@media (max-width: 767.9px) {
  .archive-blog {
    padding: 0px 12px 10 12px !important;
  }
}

.archive-blog article {
  border-left: 1px solid rgba(97, 161, 211, 0.4);
  color: rgb(33, 37, 41);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  padding-left: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.archive-blog article h2 a {
  color: rgb(87, 87, 87);
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
  text-decoration: none;
}

.archive-blog article h2 a:hover,
.archive-blog article h2 a:active,
.archive-blog article h2 a:focus {
  color: rgb(0, 0, 0);
  text-decoration: none !important;
}

.archive-blog article small {
  color: rgb(90, 90, 90);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  display: block;
  margin-bottom: 10px;
}

small a {
  color: rgb(0, 114, 202);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

small a:hover,
small a:active {
  background-color: #0072ca;
  color: #fff;
  text-decoration: none;
}

.custom-pagination {
  display: flex;
  justify-content: flex-end;
  margin: 40px 5px 40px 0px;
}

@media (min-width: 768px) {
  .custom-pagination {
    margin: 40px 5px 0px 0px;
  }
}

.custom-pagination ul {
  display: flex;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-pagination li {
  margin: 0;
  padding: 0;
}

.custom-pagination a,
.custom-pagination span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(0, 114, 202);
  text-decoration: none;
  background-color: transparent;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.custom-pagination a:hover,
.custom-pagination a:active {
  background-color: #0072ca;
  color: #fff;
  text-decoration: none;
}

.custom-pagination .current {
  background-color: #0072ca;
  color: #fff;
  font-weight: 500;
  pointer-events: none;
}

.custom-pagination .dots {
  color: #999;
  cursor: default;
  pointer-events: none;
}

.custom-pagination .disabled-link {
  color: rgb(68, 68, 68);
  cursor: default;
  pointer-events: none;
  background-color: #f0f0f0;
  border-radius: 4px;
  padding: 8px 12px;
}



.clearfix.blog-container {
min-height: auto !important;
}



.blog-search {
  box-sizing: border-box;
  padding: 30px 0;
  background-color: rgb(244, 244, 244);
}

.blog-search form {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  padding: 0px 15px;
}
@media (min-width: 768px) {
.blog-search form {
  padding: 0px 30px;
  width: 80%;
}
}

.blog-search label {
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  cursor: default;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}
@media (max-width: 767.9px) {
.blog-search label {
display: none;
}
}

.blog-search input {
  box-sizing: border-box;
  color: rgb(102, 102, 102);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 12px;
  border: 1px solid rgb(230, 230, 230);
  outline: none;
  width: 100%;
  font-style: italic;

}

.blog-search button {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 16px;
  background-color: #0072ca;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.blog-search button:hover,
.blog-search button:active {
  background-color: #005ea8;
}


.blog-search button::after {
    background-color: #fff !important;
    content: "";
        order: 1;
    -webkit-mask: url(./hero-chevron-right.svg) no-repeat center;
    mask: url(./hero-chevron-right.svg) no-repeat center;
    background-color: #444;
    width: 13px;
    height: 10px;
    line-height: inherit;
    -webkit-transform-origin: right;
    transform-origin: right;
    content: "";
    display: inline-block;
}
.blog-search button::after {
    transition: all 500ms cubic-bezier(0.64,0.04,0.35,1);
    -webkit-animation-name: arrow-unwrap;
    animation-name: arrow-unwrap;
    -webkit-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-animation-timing-function: cubic-bezier(0.64,0.04,0.35,1);
    animation-timing-function: cubic-bezier(0.64,0.04,0.35,1);
    line-height: inherit;
}

@media (min-width: 767.9px) {
.blog-sidebar.clearfix{
  padding: 5px 20px 0px 30px;
}
}

.blog_categories ul,
.recent_blogs ul {
  list-style: none;
  padding: 0px 0px 0px 5px;
  margin: 0;
}


.blog_categories ul li
{
  padding-bottom: 5px;
}


.recent_blogs ul li
{
  padding-bottom: 10px;
}

.recent_blogs time{
  padding-bottom: 10px;
}



.recent_blogs ul li a,
.blog_categories ul li a
{
  color: #222;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
}


.blog_categories ul li a:hover, 
.blog_categories ul li a:active,

.recent_blogs ul li a:hover, 
.recent_blogs ul li a:active

{
  color: #005ea8;
  text-decoration: none;

}


@media (max-width: 768px){

  .single-post-banner{
    border-bottom: 1px solid #e4e4e4;
  }
.single_post .blog-list{
  margin-top: 0px !important;
}.single_post .contents{
  margin-top: 20px;
}
}


@media (max-width: 767.99px) {

.blog-container{
padding: 0px !important;
margin: 0px !important;
}
.single_post .blog-list{
padding: 0px 10px !important;
margin: 0px !important;
}
   .single-post-banner h1,
  .single-post-banner h1 a
   {
  color: #000;
}

.single-post-thumbnail img 
{
  width: 100%;
  height: 100%;
  margin-top: 20px;
}
}

@media (min-width: 768px) {
  .single-post-thumbnail
{
  display: none;
}
  .single-post-banner {
  position: relative;
    background: #005ea8;
    min-height: 250px;
    padding: 0px 15%;
    display: flex;
    justify-content: center;  
    align-items: center;     
    text-align: center;
  background: url('./cover.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  overflow: hidden;
  }
.single_post .blog-list{
padding-left: 5% !important;
}

  .single-post-banner h1,
  .single-post-banner h1 a
   {
    margin: 0;
    color: #fff;
    text-shadow: rgb(0, 0, 0) 0px 0px 20px;
  }
  .single_post .blog-container{
  padding-top: 40px;
}
}
  .single-post-banner h1,
  .single-post-banner h1 a
   {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4em;
    text-decoration: none;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;

  }

  .single-post-banner h2{

  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
  }



.single_post h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.6em;
  color: #000;

}

.single_post .contents{
  margin-top: 15px;
}
.single_post .contents p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6em;
  color: #000;
}


.single_post .contents h1{

  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6em;
  color: #000;
}
.single_post .contents h2{

  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6em;
  color: #000;
}
.single_post .contents h3{

  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6em;
  color: #000;
}

.post-related-articles {
  margin-top: 40px;
  margin-bottom: 40px;
}

.post-related-articles h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #000;
}
h3{
  color: #333;
  font-family: 'Montserrat', sans-serif;
}
.post-related-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .post-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-related-item {
  background-color: rgba(250,250,250);
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;
}

.post-related-item h3 {
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 5px;
}

.post-related-item h3 a {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  margin: 0px;
  padding: 0px;
}

.post-related-item h3 a:hover,
.post-related-item h3 a:active,
.post-related-item h3 a:focus
 {
  color: #0072ca;
  text-decoration: none;
}

.post-related-item small {
  font-size: 14px;
  color: #666;
}









/**** Homepage *****/
.hero-banner {
  text-align: center;
  background-color: #333;
}

.hero-banner.has-bg {
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-content {
  padding: 80px 20px;
  color: #fff;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-content h1, .hero-content h1 strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 700 !important;
  line-height: 1.4em;
  color: #fff;
}
@media (max-width: 767.99px) {
.hero-content h1, .hero-content h1 strong {
  font-size: 28px;
  font-weight: 600 !important;
} 
}

.hero-btn {
  background: #0073aa;
  color: #fff;
  padding: 12px 32px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 767.99px) {
.hero-btn {
  font-size: 17px;
  padding: 10px 20px;
  margin-top: 15px;
} 
}


.hero-btn:hover,
.hero-btn:active,
.hero-btn:focus {
  background: #fff;
  color: #555;
  text-decoration: none;
}

.home-wrap {
  max-width: 1140px;
  margin: 30px auto;
  padding: 0 4%;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 120px 20px;
  }
}



/****/
.review-grid {
  width: 100%;
  max-width: 1155px;
  margin: 40px auto 60px auto;
  background: #f2f2f2;
  border-collapse: collapse;
  table-layout: fixed;
}

.review-content,
.review-image {
  vertical-align: middle;
  padding: 20px;
  box-sizing: border-box;
}


@media (min-width: 768px) {
.review-content {
  padding-top: 60px;
}
}
.review-content {
  font-size: 16px;
  width: 65%;
}@media (max-width: 767.99px) {
.review-content {
  width: 62%;
}
}

.review-image {
  width: 30%;
  text-align: center;
}

.review-image img {
  max-width: 100px;
  min-width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.review-content .sp-testimonial-free-2816 {
  margin: auto;
}

@media (min-width: 768px) {
  .sp-testimonial-client-name {
    font-size: 19px !important;
  }

}
@media (max-width: 767.99px) {
  .review-grid {
    display: table;
    width: 100%;
  }

  .review-content,
  .review-image {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
  }

  .review-image img{
    width: 100%;
  }
  .review-image img{
  padding-right: 20px;
}

  .review-image img {
    padding: 0;
  }

  .sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
    font-weight: 500 !important;
    font-size: 22px !important;
  }

  .sp-testimonial-free div,
  .sp-testimonial-free h4 {
    text-align: left !important;
  }

  .sp-testimonial-client-testimonial .sp-testimonial-content div {
    font-size: 20px !important;
  }

  .sp-testimonial-client-name {
    font-size: 18px !important;
  }

  #sp-testimonial-free-2816 {
    margin: 0px;
  }
}
.sp-testimonial-client-name {
margin-top: 40px !important;
  }

  @media (max-width: 767.99px) {
.sp-testimonial-client-name {
    margin-top: 20px !important;
  }
}

/****/
@media (max-width: 767.99px) {
  .homepage_blog .blog-list {
    margin-top: 0px;
  }
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
  font-family: 'Lato', sans-serif;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.4em !important;
}

.sp-testimonial-client-rating {
  display: none !important;
}


.sp-testimonial-free .sp-testimonial-client-designation{
    font-family: 'Lato', sans-serif;
  font-size: 18px;
}

.site-footer .post-carousel{
  display: none;
}
.footer_link,
.footer_link:hover,
.footer_link:active,
.footer_link:focus{
  text-decoration: none;
  color: rgb(127, 127, 127);
}

.footer_social_icon {
  margin: 10px 0px;
}
.footer_social_icon a img{
height: 32px;
width: auto;
}

.footer_social_icon a,
.footer_social_icon a:hover,
.footer_social_icon a:active,
.footer_social_icon a:focus
{

  text-decoration: none;
}

.mobile-block {
  display: block;
}

.hero-content h1 strong{
  display: block;
}


@media (min-width: 768px) {
.hero-content h1 strong{
  display: inline;
}.hero-content h1 strong:after{
  content: ' ';
}
}