/*
 Theme Name:     Astra Child
 Theme URI:      https://wpastra.com/
 Description:    Child theme for the Astra theme
 Author:         Cvinfotech
 Author URI:     https://cvinfotech.com/
 Template:       astra
 Version:        1.0.0
*/

/* Import parent theme styles */
@import url("../astra/style.css");

div#ast-scroll-top {
    background-color: #293B51;
}
li#menu-item-1288, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-1288.nav-item.elementskit-mobile-builder-content {
    display: none;
}
ul#menu-main-header-menu {
    align-items: center;
}
#menu-main-header-menu li a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 5px; /* Space for the animated underline */
}
#menu-main-header-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: all 0.4s ease;
  transform: translateX(-50%);
  opacity: 0;
}
#menu-main-header-menu li:hover a::after,
#menu-main-header-menu li.current-menu-item a::after {
  width: 80%;
  opacity: 1;
}
.para-anchor-color p a {
    color: #CEDCE9;
}
.para-anchor-color2 p a {
    color: #888B90;
}
.banner-dashed-box .elementor-widget-text-editor {
    border-style: dashed;
    border-color: #E8DCC6;
    border-radius: 8px;
    border-width: 2px;
}
.elementskit-commentor-content p {
    text-align: center;
    margin:0 !important;
}
span.elementskit-profile-info{
    margin-top:20px !important;
}
.swiper::before {
    content: url(/wp-content/uploads/2025/07/vaadin_quote-right.svg);
    position: relative;
    top: 20px;
    left: 5px;
    z-index: 99;
}
.swiper::after {
    content: url(/wp-content/uploads/2025/07/vaadin_quote-right-1.svg);
    position: absolute;
    bottom: 3%;
    right: 2%;
    z-index: 99;
}
.banner-testimonial-section .swiper::after, .leada-review1 .swiper::after {
    bottom: -8%;
}
.MyLEDA-testimonial-section .swiper::after, .book-review1 .swiper::after {
    bottom: -6%;
}
.leada-review2 .swiper::after, .book-review2 .swiper::after {
    bottom: -7%;
}
.elementskit-commentor-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.elementskit-single-testimonial-slider.ekit_testimonial_style_2{
    box-shadow:unset !important;
}
.elementskit-menu-overlay {
    background-color: unset !important;
}
form.is-search-form.is-form-style.is-form-style-2.is-form-id-680.is-ajax-search {
    width: 500px;
    margin: 0 auto;
}
.is-form-style input.is-search-input {
    border-radius: 2px !important;
    border: 1px solid #ffffff !important;
    font-family: 'Inter' !important;
}
.is-form-id-680 label {
  position: relative;
  display: block;
}
.is-form-id-680 .is-search-input {
  padding-left: 35px; /* Space for the icon */
  height: 40px;
  box-sizing: border-box;
}
.is-form-id-680 label::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 53%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url('https://onmyownsolutions.betacvinfotech.com/wp-content/uploads/2025/07/ic-search.svg');
  background-repeat: no-repeat;
  pointer-events: none;
}
.is-form-id-680 .is-search-input {
  padding-left: 37px !important; /* Increased from 35px to 45px */
}
input#is-search-input-680::placeholder {
    color: #5F82A9;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.post-item a {
    display: flex;
    flex-direction: column;
    gap: 24px !important;
    text-decoration: unset !important;
}
.post-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
h3.post-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin:0;
}
.post-excerpt{
    color: #485B6A;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.read-more {
    font-family: 'Inter';
    font-weight: 500;
    color: #293B51;
    font-size: 16px;
    line-height: 24px;
}
.post-date{
    color: #485B6A; 
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 500; 
    font-family: 'Inter';
}
button#load-more-posts {
    color: #fff;
    background: #293B51;
    padding: 16px 32px;
    border: 1px solid #E8DCC6;
    border-radius: 8px;
}
button#load-more-posts:hover {
    background: #315173;
}
.footer-submit-comment p {
    display: flex;
    flex-direction: row;
}
.footer-submit-comment p {
    display: flex;
    gap: 10px;
    height: 48px;
}
.footer-submit-comment textarea {
    padding: 12px 16px;
    border-radius: 10px;
    background: #2C4660;
    border: 1px solid #E8DCC6;
}
.footer-submit-comment textarea::placeholder{
    color:#E8DCC6;
    font-family:'Inter';
    font-weight:400;
    font-size:16px;
    line-height:24px;
}
button.custom-submit-button {
    border-radius: 8px;
    background: #F6F4E8;
    width: 48px;
    height: 48px;
    padding: 10px 10px;
}
button.custom-submit-button img{
    position: relative;
    top: -14px;
    width: 24px;
    height: 24px;
}
.custom-submit-button span.wpcf7-not-valid-tip {
    display: none;
}
.contact-form-section {
    box-shadow: -6px 6px 50px 0px #0000000F;
}
.contact-get-in-touch input, .contact-get-in-touch textarea {
    background: #F4F7FB;
    padding: 16px 24px !important;
    border-radius: 5px !important;
    border: none !important;
}
.contact-get-in-touch input.wpcf7-form-control.wpcf7-submit {
    background: #293B51;
    border: 1px solid #E8DCC6 !important;
    padding: 16px 32px !important;
    height: 56px;
    font-family: 'Inter';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.contact-get-in-touch input.wpcf7-form-control.wpcf7-submit:hover {
    background: #315173 !important;
}
.contact-get-in-touch input::placeholder, .contact-get-in-touch textarea::placeholder {
    font-size: 16px;
    color: #5F82A9;
    font-weight: 400;
    line-height: 24px;
}
summary.e-n-accordion-item-title {
    justify-content: space-between !important;
}

.myleda-customer-review-section .swiper::before {
    content:unset !important;
}
.myleda-customer-review-section .swiper::after {
    content:unset !important;
}
.myleda-customer-review-section .ekit-wid-con .elementskit-single-testimonial-slider{
    box-shadow:unset !important;
}
.myleda-customer-review-section .ekit-wid-con .ekit_testimonial_style_2:hover {
    border: unset !important;
}
.myleda-customer-review-section .ekit-wid-con .ekit_testimonial_style_2 {
    border-bottom: unset !important;
}
.single-post-navigation a {
	color: #232B44;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}
.single-post-navigation a:hover {
	text-decoration: underline;
}
.single-post .ast-container {
    display: unset;
}
.single-post{
    background:#fff !important;
}
.ast-article-single{
    padding:0 !important;
}
.post-custom-bg-color {
    position: relative;
    background: #F4F7FB;
    padding-top: 376px;
}
.custom-single-post {
    max-width: 1140px;
    margin: -300px auto 60px auto;
    background: transparent;
    padding: 0px 20px;
    position: relative;
    z-index: 1;
}
.single-post .site-content {
    padding-bottom: 0 !important;
}
.single-post .content-area {
    position: static !important;
    top: auto !important;
    max-width: 100%;
}
.single-post-navigation div {
    background: #F4F7FB;
    padding: 24px;
}
h1.single-post-title {
    color: #293B51;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}
.latest-post-grid .post-item{
    display: flex;
    flex-direction: row;
    align-items:center;
    gap:24px;
}
.latest-post-grid .post-thumb {
    width: 50%;
}
.latest-post-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.single-post-thumbnail img {
    width: 740px;
    height: 360px;
    object-fit: cover;
}
.single-post-content p a {
    font-weight: 600;
    color: #485B6A;
    text-decoration: underline;
}
.single-post-navigation div {
    width: 50% !important;
}

/*media query css*/
@media (min-width: 1024px) {
 .custom-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:1000px){
.latest-post-grid .post-thumb {
    width: 100%;
}
}
@media (max-width: 767px) {
  .custom-blog-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .latest-post-grid .post-item {
    flex-direction: column;
}
.latest-post-grid .post-thumb, .latest-post-grid .latest-post-section {
    width: 100%;
}
.single-post-navigation div {
    width: 100% !important;
}
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-1288.nav-item.elementskit-mobile-builder-content {
    display: block;
}
}
@media only screen and (max-width:800px){
.gallery-item {
    padding: 10px !important;
}
.gallery {
    margin: unset !important;
}
}

@media only screen and (max-width:767px){
.elementor-widget-ekit-nav-menu li#menu-item-62 {
    display: none;
}
.single-post-navigation {
    flex-direction: column;
}
}

@media only screen and (max-width:560px){
form.is-search-form.is-form-style.is-form-style-2.is-form-id-680.is-ajax-search {
    width: unset;
}
}
@media only screen and (max-width:500px){
    .MyLEDA-testimonial-section .swiper::after, .leada-review1 .swiper::after, .leada-review2 .swiper::after, .book-review1  .swiper::after, .banner-testimonial-section .swiper::after{
    bottom: -4%;
}
.footer-submit-comment p{
    width:350px;
    margin:0 auto;
}
}
@media only screen and (max-width:375px){
.footer-submit-comment p{
    width:300px;
}
}
@media only screen and (max-width:340px){
.banner-dashed-box {
    display: none;
}
}