/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://ashtech.site/
 Description:  Child Theme for Divi
 Author:       Ash Md
 Author URI:   https://ashtech.site/
 Template:     Divi
 Version:      2.0.0
*/

/*-------------------Add any custom CSS below this line-------------------*/



/* blog-page */
.c-post-items-grid {
    transition: all .2s ease-in-out;
	margin-bottom: 55px;
}
.loading-spinner {
	display: none;
	transition: unset !important;
}
.loading-spinner:after {
    content: '';
    height: 30px;
    width: 30px;
    position: absolute;
    left: 50%;
    top: calc(50% - 60px);
    transform: translate(-50%, -50%);
    border: 8px solid #01ADFF;
    border-radius: 50px;
    border-right: 8px solid transparent;
    animation: loadingiconspin 1s linear infinite;
	opacity: 1 !important;
	z-index: 999;
}
@keyframes loadingiconspin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}




.et_pb_column.blog-section-col-one {
    width: 72% !important;
    margin-right: 3% !important;
}
.et_pb_column.blog-section-col-two {
    width: 25% !important;
}
.c-post-items-grid article {
    display: grid;
    grid-template-columns: 50% 47%;
    column-gap: 3%;
    margin-bottom: 45px;
    border-radius: 10px;
}
.c-post-featured-image {
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,.15);
	border-radius: 15px;
	overflow: hidden;
}
.new-posts-paginations {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
	gap: 20px;
}
.c-author-wrap {
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: fit-content;
}
.c-author-wrap img,
.inner-author-wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50px;
}
.author-and-read-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 25px;
	flex-wrap: wrap;
}
.c-post-featured-image a {
    display: flex;
	height: 100%;
	overflow: hidden;
}
.c-post-featured-image a img {
    width: -webkit-fill-available;
    height: 100%;
    object-fit: cover;
    max-height: unset !important;
    transition: all .2s ease-in-out;
    aspect-ratio: 16 / 9;
	border-radius: 15px;
}
.c-post-featured-image a img:hover {
    transform: scale(1.05);
}
h2.c-post-title a {
    display: block;
    line-height: 1.4em;
	transition: all .2s ease-in-out;
}
h2.c-post-title {
	transition: unset !important;
}
.author-and-read-more a {
    color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 30px;
    font-weight: 700 !important;
	background-color: #01adff;
    padding: 10px 18px;
    line-height: 1em;
	margin-left: auto;
	transition: all .2s ease-in-out;
}
.author-and-read-more a:hover {
    background-color: #0c71c3;
}
.c-post-excerpt {
    margin-bottom: 25px;
}
a.category-item {
	color: #01adff;
    font-weight: 600;
    line-height: 1.6em;
	font-size: 15px
}
.post-categories {
    margin-bottom: 8px;
    display: flex;
    gap: 5px;
    align-items: center;
}
h2.c-post-title {
    margin-bottom: 12px;
    padding: 0;
}
span.post-pagination-item.post-pagination-not-clickable-item {
    font-size: 20px;
    display: flex;
    align-items: flex-end;
    width: 40px;
    justify-content: center;
    color: #000;
    font-weight: 600;
}
a.category-item:hover {
    color: #0c71c3;
}
.c-post-contents {
    padding-right: 20px;
}
.pagination-items-wrap {
    display: flex;
    column-gap: 7px;
}
span.inner-post-pagination-item a,
span.post-pagination-item a {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #01adff;
    line-height: 1;
    color: #fff;
	transition: all .2s ease-in-out;
	font-weight: 500;
	border-radius: 100%;
}
span.inner-post-pagination-item a:hover,
span.post-pagination-item.active-item a,
span.post-pagination-item a:hover {
	background: #0c71c3;
}
.paginations-dynamic-preview {
    font-weight: 500;
    color: #000;
}
@media screen and (min-width: 981px) {
	h2.c-post-title a {
		font-size: clamp(18px, 1.09vw, 20px) !important;
	}
    .author-and-read-more a {
      font-size: clamp(13px, 1vw, 16px);
	}
}
.c-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
	margin-bottom: 10px;
}
.c-post-items-grid article:last-child {
    margin-bottom: 0;
}
.inner-pagination-items-wrap span,
span.post-pagination-item.post-p-right-arrow,
span.post-pagination-item.post-p-left-arrow {
	position: relative;
}
span.inner-left-arrow:after,
span.post-pagination-item.post-p-left-arrow:after {
    content: "\34";
}
span.inner-right-arrow:after,
span.post-pagination-item.post-p-right-arrow:after {
    content: "\35";
}

.inner-pagination-items-wrap span:after,
span.post-pagination-item.post-p-left-arrow:after,
span.post-pagination-item.post-p-right-arrow:after {
    font-family: "ETmodules";
	color: #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-weight:600;
	pointer-events: none;
}
span.post-pagination-item.post-p-left-arrow font,
span.post-pagination-item.post-p-right-arrow font {
    color: transparent;
}



.categories-wrap.open-categories {
    padding: 15px 0 15px;
}
.categories-wrap a.category-item {
  text-align: left;
  line-height: 1em;
  padding: 10px 15px;
  color: #0c71c3;
  width: 100%;
  transition: all 0.2s ease-in-out;
  margin-bottom: 5px;
}
.categories-wrap a.category-item.active-category {
    pointer-events: none;
}
.category-dropdown {
    position: relative;
    display: inline-block;
	width: 100%;
}
.category-dropdown-inner {
    display: inline-block;
	width: 100%;
}
.category-placeholder {
    padding: 10px 15px;
    cursor: pointer;
    width: 100%;
    display: block;
    border: 1px solid #e7e7e7;
    font-weight: 500;
    color: #000;
	user-select: none;
	-webkit-user-select: none;
}
span.category-item.category-placeholder:before {
    content: "\33";
    font-family: 'ETmodules';
    position: absolute;
    right: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #000;
    transition: all .2s ease-in-out;
}
span.category-item.category-placeholder.open-placeholder:before {
	transform: rotate(-180deg);
}
.categories-wrap {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e7e7e7;
    z-index: 1000;
    width: 100%;
    flex-wrap: wrap;
    height: 0;
    overflow: hidden;
	opacity: 0;
	transition: height .3s ease-in-out, opacity .2s ease;
	border-top: 0;
}


.category-dropdown[data-toggle="false"] .categories-wrap {
    height: max-content;
    overflow: hidden;
	opacity: 1;
}

.category-dropdown[data-toggle="true"] .categories-wrap.open-categories {
    display: flex;
    height: fit-content;
    opacity: 1;
	flex-direction: column;
}
.category-dropdown .category-item:hover {
    background: #f2faff;
}
form.post-search-form input.post-search-input {
    width: 100%;
    border-radius: 50px;
    border: 2px solid #01adff !important;
    padding: 10px 20px;
    font-size: 16px;
    color: #000;
}
.c-recent-posts a {
    display: inline-block;
    line-height: 1.3;
    margin-bottom: 15px;
	padding-left: 12px;
}
.c-recent-posts {
    margin-top: 10px;
}
.c-recent-posts a:before {
    content: "- ";
    position: absolute;
    left: 0;
}
@media screen and (max-width: 1024px){
    .c-post-items-grid article {
      grid-template-columns: 100%;
  }
}
@media screen and (max-width: 1024px){
  .c-post-contents {
    padding: 20px 0 0;
  }
}
@media screen and (max-width: 767px){
  .et_pb_column.blog-section-col-one {
    width: 100% !important;
    margin-right: 0% !important;
  }
  .et_pb_column.blog-section-col-two {
    width: 100% !important;
  }
  .blog-page-Spc-sec > .et_pb_row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}
.c-post-featured-image.no-image:after {
    content: "No image to show";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    background: rgba(0,0,0,.04);
}
.c-post-featured-image.no-image {
    position: relative;
	min-height: 180px;
}
/* blog-page */


/* Blog Inner page */

.post-grid-inner-page .c-post-items-grid article {
  grid-template-columns: 100%;
}

h2.inner-post-title a{
	display: inline-block;
	line-height: 1.4em;
}
.inner-post-items-grid article {
    margin-bottom: 30px;
    border: 1px solid #e7e7e7;
	border-radius: 10px;
	overflow: hidden;
}
.inner-post-contents {
    padding: 15px;
}
.inner-post-featured-image a {
    display: flex;
}
.inner-post-featured-image a img {
    width: 100%;
}
.inner-pagination-items-wrap {
    display: flex;
    gap: 8px;
}
.inner-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
/*   border-radius: 15px 15px 0 0; */
}
.inner-post-featured-image a {
	overflow: hidden;
}
.inner-post-featured-image img:hover {
    transform: scale(1.05);
}
.c-post-f-img img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
}
/* @media screen and (min-width: 981px) {
  .et_pb_module.cutom-post-content h3 {
    font-size: clamp(26px, 1.67vw, 32px) !important;
  }
  .et_pb_module.cutom-post-content h4 {
    font-size: clamp(24px, 1.56vw, 30px) !important;
  }
  .et_pb_module.cutom-post-content h5 {
    font-size: clamp(22px, 1.46vw, 28px) !important;
  }
  .et_pb_module.cutom-post-content h6 {
    font-size: clamp(20px, 1.35vw, 26px) !important;
  }
  .c-dm-text-style h3 {
    font-size: clamp(20px, 1.35vw, 26px) !important;
  }
  .heading-anchors h3,
	.dm-size-1 h3 {
    font-size: clamp(18px, 1.25vw, 24px) !important;
  }
  .inner-post-grid h2.inner-post-title a {
    font-size: clamp(14px, 0.934vw, 18px) !important;
  }
  .inner-post-grid .inner-post-excerpt {
    font-size: clamp(14px, 0.9375vw, 18px) !important;
  }
  span.category-item.category-placeholder {
    font-size: clamp(15px, 0.885vw, 17px) !important;
  }
} */
.innerposts-meta-items form.post-search-form {
    margin-bottom: 50px;
}
@media screen and (max-width: 980px) {
	.inner-post-items-grid {
    	display: grid;
    	grid-template-columns: 32% 32% 32%;
    	column-gap: 2%;
	}
	  .inner-post-featured-image img {
    	height: auto;
	}
	.et_section_specialty .et_pb_row .et_pb_column.column-2 {
    	width: 100% !important;
	}
	.et_section_specialty .et_pb_row .et_pb_column.column-1 {
    	width: 100% !important;
    	margin-right: 0 !important;
	  }
	.innerposts-meta-items form.post-search-form {
    	margin-bottom: 30px;
	}
}
@media screen and (max-width: 750px) {
  .inner-post-items-grid {
    display: grid;
    grid-template-columns: 48% 48%;
    column-gap: 4%;
  }
}
@media screen and (max-width: 500px) {
  .inner-post-items-grid {
    display: grid;
    grid-template-columns: 100%;
    column-gap: 0;
  }
}
body .et_pb_row_inner.post-content-row.no-heading-on-contents .et_pb_column {
  width: 100% !important;
}
body
  .et_pb_row_inner.post-content-row.no-heading-on-contents
  .et_pb_column.post-content-column {
  display: none;
}
.et_pb_row .et_pb_column.column-2 {
  width: 20% !important;
}
.et_pb_row .et_pb_column.column-1 {
  width: 77% !important;
  margin-right: 3% !important;
}
h2.inner-post-title a {
  line-height: 1.2 !important;
}
li.anchor-item {
 padding-bottom: 8px;
 line-height: 1.2em;
}
li.anchor-item a {
  font-size: 14px !important;
  line-height: 1.2em !important;
}
li.anchor-item.current-anchor a {
    color: #0c71c3 !important;
}
.heading-anchors ol {
  padding: 0 !important;
}
.heading-anchors {
  padding: 15px 0 15px 15px;
  border: 1px solid #e7e7e7;
  border: 15px;
}
.inner-post-grid {
    margin-top: 10px;
}
body #page-container .et_pb_module .c-recent-posts a {
	font-size: clamp(14px, 0.9375vw, 18px) !important;
	color: #01ADFF !important;
	font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 500;
}
body #page-container .et_pb_module .c-recent-posts a:hover {
	font-size: clamp(14px, 0.9375vw, 18px) !important;
	color: #0050AA !important;
}

.inner-post-grid h3 {
    margin-bottom: 10px;
}
.c-post-content .wp-video {
    margin-bottom: 30px;
}
.c-post-content img {
    margin-bottom: 20px;
}
.inner-post-grid {
    position: relative;
}
.c-recent-posts a {
    width: 100%;
}
@media screen and (min-width: 981px) {
	.et_pb_module .c-recent-posts a {
		font-size: clamp(14px, 0.9375vw, 18px) !important;
	}
	.innerpostspage-sticky-items .c-recent-posts {
    	margin-bottom: 35px;
	}
}
.inner-category-dropdown .category-dropdown {
  margin-bottom: 30px;
}
.et_pb_blog_grid.clearfix article#post-4323 {
    display: none;
}
.c-post-content ul li:before {
    content: "\4e";
    font-family: 'ETMODULES';
    font-size: 16px;
    font-weight: 800;
    margin-right: 10px;
    color: #0C71C3;
    background-color: #E8F3F9;
    border-radius: 100%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}
.c-post-content ul {
    padding-left: 0;
    list-style-type: none;
}
.c-post-content ul li {
    position: relative;
    padding-left: 35px;
    padding-bottom: 10px;
}
.c-br-date span.published:before{
    content: "";
    background-image: url(/wp-content/uploads/2025/03/calendar-check-regular-1.png);
    background-repeat: no-repeat;
    height: 25px;
    width: 18px;
    display: inline-block;
    background-size: 100%;
}
.c-br-date span.published {
    display: flex;
    align-items: center;
    column-gap: 10px;
    border-radius: 50px;
    border: 2px solid #fff !important;
    padding: 6px 18px 3px 18px;
}
.inner-author-wrap {
    display: flex;
    column-gap: 10px;
    align-items: center;
}
a.inner-author-link-wrap {
    display: flex;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #01ADFF;
    border-radius: 10px;
	transition: all 0.2s ease-in-out;
}
a.inner-author-link-wrap:hover {
    background-color: #0C71C3;
}
p.inner-author-name,
.post-date-wrap p {
    color: #fff;
}
.post-date-wrap {
    display: flex;
    column-gap: 10px;
    align-items: center;
}
.post-date-wrap:before {
    content: "";
    background-image: url(/wp-content/uploads/2025/03/calendar-check-regular-1.png);
    background-repeat: no-repeat;
    height: 25px;
    width: 18px;
    display: inline-block;
    background-size: 100%;
}
@media screen and (max-width: 250px) {
  a.inner-author-link-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
}
/* Blog Inner page */
@media screen and (min-width: 981px) {
  li.single-column-menu ul.sub-menu {
    width: fit-content;
  }
  li.single-column-menu ul.sub-menu li.menu-item {
    width: fit-content;
    display: block;
  }
  li.single-column-menu ul.sub-menu li.menu-item a {
    width: 100%;
  }
  li.single-column-menu {
    position: static !important;
  }
}