/* Reviews CSS will go here */

.single__blog-ctas .secondary__cta--link,
.single__blog-ctas .primary__cta--link,
.subscribe .primary__cta--link,
.subscribe .secondary__cta--link {
	padding-left: 0px;
	padding-right: 0px; 
}

.subscribe .primary__cta--link{
	border: solid 2px white; 
}
.single-post__side-bar {
    top: 150px !important; 
}

.blog-home__post--box {
    border: none;
    box-shadow: none;
}

.blog-home__post--box img {
        width: auto;
}

.is-fixed-top{
	position: fixed; 
	top: 77px;
	left: 0px;
}


/* Container for the Table of Contents */
.toc-container {
    position: relative; 
    width: 100%; 
}

.toc-header {
    cursor: pointer;
    background-color: #f9f9f9; 
    color: #333;
    transition: background-color 0.2s ease, border-color 0.2s ease; 
    user-select: none; 
}

.toc-header:hover {
    background-color: var(--secondary-palette-cool-grey-200);  
}

.toc-header.active .dropdown-icon {
   transform: rotateZ(-180deg);
}

.toc-sub-list{
    padding-bottom: 10px
}

.toc-item__level-4 a{
    padding-left: 10px;
}

.toc-item__level-2 {
    padding-bottom: 5px;
    padding-top: 5px;
}

.toc-item__level-3 a{
    padding-left: 5px;
}

.toc__link-level-3 {
    padding-bottom: 2px ;
}

.toc__link-level-4 {
    padding-bottom: 0px;
}

/*  Review List: Initialize the two necessary counters */
.review__list {
  padding-inline-start: 0;
  margin-block-end: 1em;
  counter-reset: section;
}

.review__list li {
  display: block;
  position: relative;
  font-weight: bold; 
}

.review__list > li {
  counter-increment: section;
}

.review__list > li::before {
  content: counter(section) ". ";
  font-weight: bold;
  position: absolute;
  margin-left: -30px;
}

.review__list > li > ol {
  counter-reset: subsection;
  padding-left: 0px; 
}

.review__list > li > ol > li {
  counter-increment: subsection;
}

.review__list > li > ol > li::before {
  content: counter(section) "." counter(subsection) " ";
  margin-inline-end: 0.2em;
}

.review__list > li > ol > li > ol {
  counter-reset: subsubsection;
}

.review__list > li > ol > li > ol > li {
  counter-increment: subsubsection;
}

.review__list > li > ol > li > ol > li::before {
  content: counter(section) "." counter(subsection) "." counter(subsubsection) " ";
}

/* The list of TOC items */
.toc {  
	max-height: 550px;
}

.toc-hidden {
    display: none; 
}

.toc li a {
    transition: color 0.3s ease-in-out;
}
.toc li a:hover {
    transition: color 0.3s ease-in-out;  
    color: var(--primary-palette-blue-100);
}

#bottom-fixed-cta {
    position: fixed;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.bg-grey-gradient{
	background: linear-gradient(to top, #ffffff, #dcdde6);
}

#bottom-fixed-cta.show {
    transform: translateY(0);
}

.blog-home__posts--image {
    object-fit: cover;
    width: 100%;
    min-height: 250px; 
}

@media (min-width: 992px) {
    .blog-home__banner {
        background-image: url("https://efaxunifiedstg.wpengine.com/wp-content/themes/efax-new/assets/images/blog-banner-pattern.png");
        background-repeat: no-repeat;
    }
    
    #bottom-fixed-cta { 
		position: relative;
		transform: initial;
		border-radius: 15px;
    }

	.single-post__toc{
		position: static;
		top: 77px; 
	}

    .blog-home__post--box img {
        object-fit: cover;
        height: 242px;
        max-width: 242px;
    }

    .blog-home__post--box {
        border: 1px solid var(--secondary-palette-warm-grey);
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
        height: 100%;
    }
}
@media (min-width: 1200px) {
 .blog-home__post--box img {
   
        max-width: 350px;
    }
}

#bottom-fixed-cta.show {
    transform: translateY(0); 
}

.single-post__side-bar {
    position: sticky;
   top: 150px; 
}

.single-post__entry-content img.category-icon{
    width: auto; 
    border-radius: initial;
}

.single-post__meta-box {
    border-top: 1px solid var(--bs-cool--200);
    border-bottom: 1px solid var(--bs-cool--200);
}

.single-post_breadcrumb--button{
	color: var(--secondary-palette-dark-grey-300);
	font-size: calc(16px + (16 - 16) * ((100vw - 320px) / (1920 - 320)));
	line-height: calc(24px + (24 - 24) * ((100vw - 320px) / (1920 - 320)));
	font-family: var(--primary-font-family);
}

.single-post-bottom__category a {
    box-shadow: 0 4px 4px 0 rgb(0 0 0 / 15%);
    min-height: 44px;
    background: var(--bs-blue--200);
}

.single-post-bottom__category a:hover {
    background: var(--bs-blue);
}

.single-post-bottom__category img {
    filter: brightness(0) invert(1);
	height: 25px !important;
}

.related-blog-post--bottom-pattern::after {
    content: "";
    background-image: url('/wp-content/themes/efax-new/assets/images/bottom-left-sand-dune.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.blog-post__img {
    width: 100%;
    height: 270px;
}

.blog-post__img img {
    border-bottom-right-radius: 100px;
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top;
}

.single-post__image img {
    border: 1px solid #eee;
}

.related-blog-post__swiper-container .swiper-button-next:after,
.related-blog-post__swiper-container .swiper-button-prev:after {
    content: "" !important;
}

.related-blog-post__swiper-container .swiper-button-next,
.related-blog-post__swiper-container .swiper-button-prev {
    content: "" !important;
    background: var(--primary-palette-blue);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    top: 40%;
}

.related-blog-post__swiper-container .swiper-button-next:hover,
.related-blog-post__swiper-container .swiper-button-prev:hover {
    background-color: var(--primary-palette-blue-100) !important;
}

.related-blog-post__swiper-container .swiper-button-next {
    right: -80px;
}

.related-blog-post__swiper-container .swiper-button-prev {
    left: -80px;
}

.single-post__entry-content h2,
.single-post__entry-content h3,
.single-post__entry-content h4,
.single-post__entry-content h5,
.single-post__entry-content h6 {
    margin: 30px 0 10px; 
}

.single-post__entry-content hr {
    border: 1px solid var(--bs-cool--300);
    width: 270px;
    margin: 2rem 0;
    opacity: 1;
}

.single-post .custom-hr {
    border: 1px solid var(--bs-cool--300);
    width: 270px;
    margin: 2rem 0;
}

.related-blog-post__slide .blog-post {
    background: var(--bs-dark--400);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.related-blog-post__slide .blog-post:hover {
    background: var(--bs-dark--200);
}

.author-meta__image {
    width: 72px;
    height: 72px;
    box-shadow: 1px 1px 9px #8080807d;
    padding-left: 3px;
    padding-right: 3px; 
}

.author-meta__image img {
    width: 72px;
    height: 72px;
    border-bottom-right-radius: initial !important; 
}

.author-meta__content {
    width: calc(100% - 100px);
}

.single-post_breadcrumb--button>span:hover {
	text-decoration: underline;
}

.single-post__mobile-breadcrumb{
	width: fit-content;
}

@media only screen and (width <=1440px) {
    .related-blog-post__swiper-container {
        width: 90%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1199.98px) {
    .related-blog-post__swiper-container {
        width: 100%;
    }

    .related-blog-post__swiper-container .swiper-button-next,
    .related-blog-post__swiper-container .swiper-button-prev {
        display: none;
    }
}

@media only screen and (min-width: 992px) {
  

    .single-post__entry-content .pricing-table img {
        width: auto;
    }
}

@media only screen and (max-width: 991.98px) {
    .related-blog-post--bottom-pattern::after {
        background-size: auto;
    }
}

@media only screen and (max-width: 575.98px) {
    .related-blog-post__slide:first-child {
        padding-left: 0;
    }

    .related-blog-post__slide:last-child {
        padding-right: 0;
    }

    .author-meta__name {
        word-break: break-all;
    }
    .related-blog-post__swiper-container {
        padding-right: 0;
    }

    .single-post__read-time {
        font-size: 18px;
        line-height: 28.8px;
    }
}
/* Set images to 100% width on mobile */
@media only screen and (max-width:576px) {
    .single-post__entry-content .w-m-100 {
        width: 100%;
    }
}