.uael-events-inner-new {
    padding: 20px;
}
i.fa.fa-map-marker {
    font-size: 24px;
}

.wpcf7 input[type=file] {
    color: #666;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: #a23d22!important;
    border-radius: 2px;
    background: transparent!important;
    box-shadow: none;
    box-sizing: border-box;
    transition: all .2s linear;
}
/* ✅ Scoped to the demo-reser form only */
.demo-reser .cf7-checkbox-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-reser .cf7-checkbox-agree a {
  color: #9a321d;
  text-decoration: underline;
}

/* Optional: hide CF7’s internal label text (like "agree") */
.demo-reser .cf7-checkbox-agree .wpcf7-list-item-label {
  display: none;
}

.tour-reser label { 
/*   color: #111827; */
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.tour-reser input[type="date"] {
 background-color: #E5D6C0;
  border: 1px solid #a23d22;
/*   color: #000 !important; */
}
/* Form input styles only inside .tour-reser container */
.tour-reser input[type=email],
.tour-reser input[type=number],
.tour-reser input[type=password],
.tour-reser input[type=reset],
.tour-reser input[type=search],
.tour-reser input[type=tel],
.tour-reser input[type=text],
.tour-reser input[type=url],
.tour-reser select,
.tour-reser textarea {
  padding: .75em;
  height: auto;
  background-color: #E5D6C0;
  border: 1px solid #a23d22;
/*   color: #000 !important; */
}


.slider{height:550px;}

.swiper-button-prev,
.swiper-button-next {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.testimonial_slider {
  position: relative; /* container relative for absolute arrows */
}

/* Base styles for both arrows */
.testimonial_slider i.eicon-arrow-left,
.testimonial_slider i.eicon-arrow-right {
  position: absolute;
  bottom: 40px;
  width: 44px;         /* fixed width */
  height: 44px;        /* fixed height */
  line-height: 40px;   /* vertically center arrow icon */
  text-align: center;  /* horizontally center icon */
  font-size: 24px;     /* icon size */
  color: #a23d22 !important;
  border: 2px solid #a23d22;
  border-radius: 50%;
/*   background-color: #fff; */
  cursor: pointer;
  padding: 0;          /* reset padding to avoid stretching */
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  z-index: 10;
}

/* Left arrow */
.testimonial_slider i.eicon-arrow-left {
  left: 15px;
}

/* Right arrow */
.testimonial_slider i.eicon-arrow-right {
  right: 15px;
}

/* Hover effect */
.testimonial_slider i.eicon-arrow-left:hover,
.testimonial_slider i.eicon-arrow-right:hover {
  background-color: #a23d22;
  color: #fff !important;
}






/* Mobile responsiveness */

/* @media only screen and (max-width: 767px) {
    .testimonial_slider i.eicon-arrow-left {
        position: absolute;
        bottom: -427px;
        margin: 0px!important;
        margin-right: 20px!important;
    }
}


@media only screen and (max-width: 767px) {
    .testimonial_slider i.eicon-arrow-right {
        position: absolute;
        bottom: -427px;
        right: 0;
        margin: 0px!important;
        margin-right: 20;
    }
} */


@media (max-width: 767px) {
  .testimonial_slider {
    position: relative;
    overflow: visible !important; /* Ensure arrows are not clipped */
  }

  .testimonial_slider i.eicon-arrow-left,
  .testimonial_slider i.eicon-arrow-right {
    display: inline-block !important;
    position: absolute;
    bottom: -60px!important;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    font-size: 20px;
    color: #a23d22 !important;
    border: 2px solid #a23d22;
    border-radius: 50%;
/*     background-color: #fff; */
    z-index: 9999;
    padding: 0;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
  }

  .testimonial_slider i.eicon-arrow-left {
/* 		margin-top:150px!important; */
    left: -40px;
  }

  .testimonial_slider i.eicon-arrow-right {
/* 		margin-top:150px!important; */
    right: 40px!important;
  }
}


.ast-post-social-sharing {
/* 	margin-top:-50px; */
  display: flex !important;
  justify-content: left !important;
  align-items: center !important;
}
/* Override for mobile devices */
@media screen and (max-width: 768px) {
  .ast-post-social-sharing {
    justify-content: flex-start !important;
    padding-left: 20px; /* optional, to add left spacing */
  }

  .ast-post-social-sharing .ast-social-inner-wrap {
    justify-content: flex-start !important;
  }
}
.ast-post-social-sharing .ast-social-inner-wrap {
  display: flex;
  justify-content: center;
  gap: 10px; /* Add space between icons */
}

.ast-post-social-sharing .ast-social-sharing-heading {
  margin-right: 10px; /* Optional: adjust spacing between "Share :" and icons */
}


.site .ast-single-related-posts-container {
    padding-top: 5.5em;
    padding-bottom: 5.5em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    margin-top: 2em;
}

@media (max-width: 921px) {
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    color: #42261B!important;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
	.main-header-menu>.menu-item {
    padding-bottom: 0px!important;
    padding-top: 13px;
}
}

@media (max-width: 921px) {
  .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link,
  .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link,
  .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link,
  .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link,
  .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link,
  .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link {
    border-bottom-width: 2px;
    border-color: #ffffff;
    border-style: solid;
  }
}




/* mobile footer css */
/* Two-column logo layout for mobile */
@media (max-width: 768px) {
  /* Target the first footer section that has both logos */
  .site-footer-section-1 .footer-widget-area-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* two equal columns */
    align-items: center;
    text-align: center;
    gap: 10px; /* spacing between columns */
  }

  /* Ensure each image scales properly */
  .site-footer-section-1 .widget_media_image img {
    max-width: 100%;
    height: auto;
  }

  /* Optional: center the section horizontally */
  .site-footer-section-1 {
    display: flex;
    justify-content: center;
  }
}


/* ---- Mobile: Make Africa Tours + South Asia Tours side by side ---- */
@media (max-width: 768px) {

  /* Force Astra footer wrapper to allow side-by-side layout */
  .site-above-footer-inner-wrap.ast-builder-grid-row {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  /* Keep Section 1 (logos) + Section 2 (main menu) full width */
  .site-footer-above-section-1,
  .site-footer-above-section-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Africa Tours (left) + South Asia Tours (right) 50% each */
  .site-footer-above-section-3,
  .site-footer-above-section-4 {
    flex: 0 0 40% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  /* Text alignment for clean look */
  .site-footer-above-section-3 {
    text-align: left !important;
  }
  .site-footer-above-section-4 {
    text-align: right !important;
  }

  /* List cleanup */
  .site-footer-above-section-3 ul,
  .site-footer-above-section-4 ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
}


/* ===== Below-footer (mobile) ===== */
@media (max-width: 768px) {
  /* Make the below-footer a simple vertical flex stack so we can re-order */
  .site-below-footer-inner-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  /* Put the pages/links ABOVE the social icons */
  .site-footer-below-section-2 { order: 1; }  /* links */
  .site-footer-below-section-1 { order: 2; }  /* social */

  /* Make the footer links inline, centered, and wrap on small screens */
  #menu-footer-menu1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;            /* row/column gaps */
    justify-content: center;   /* center them */
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #menu-footer-menu1 li {
    margin: 0;                 /* remove theme bottom margins */
  }
  #menu-footer-menu1 a {
    display: inline-block;
    padding: 0;                /* keep tight spacing */
  }

  /* Optional: center social icons row */
  .ast-footer-social-wrap .footer-social-inner-wrap {
    justify-content: center;
  }
}













/* Target the specific table */
#uael-table-id-2c2751f,
#uael-table-id-2c2751f th,
#uael-table-id-2c2751f td,
#uael-table-id-2c2751f tr {
  border: 1px solid #9A321D !important;
  border-collapse: collapse !important;
}

/* Optional: apply consistent color to text and headers */
#uael-table-id-2c2751f th,
#uael-table-id-2c2751f td {
  color: #000;
  padding: 8px 12px;
}