/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for the Astra WordPress theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

.nymc-testimonial-carousel .swiper-pagination-fraction
  .swiper-pagination-current::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 120px;                /* adjust length of the line */
  height: 2px;
  margin: 0 12px;
  background: linear-gradient(to right, #1A1A1F 25%, #D1D1D6 25%);
}
/*.nymc-testimonial-carousel .swiper-pagination-fraction::before {
	content: "";
	position: absolute;
	left: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/astra-child/assets/images/arrow-left-bold.svg);
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
}
.nymc-testimonial-carousel .swiper-pagination-fraction::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/wp-content/themes/astra-child/assets/images/arrow-right-bold.svg);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}*/
.nymc-testimonial-carousel .swiper-pagination {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nymc-testimonial-carousel .swiper-pagination-fraction {
  font-size: 0 !important;
}
.nymc-testimonial-carousel .swiper-pagination-fraction
  .swiper-pagination-current,
.nymc-testimonial-carousel .swiper-pagination-fraction
  .swiper-pagination-total {
	  font-size: 12px; /* restore number size */
	  font-weight: 500;
	  color: #1A1A1F;
	  line-height: 20px;
}
.nymc-apply-form span.wpcf7-form-control-wrap {
    display: inline;
}
.nymc-apply-form span.wpcf7-form-control-wrap span.wpcf7-list-item {
    margin: 0;
}
.nymc-apply-form .row .nymc-col-6 {
    width: 50%;
    padding: 0 15px;
}
.nymc-apply-form .row {
	margin-bottom: 0 !important;
}
.nymc-contact-form span.wpcf7-form-control-wrap {
    display: inline;
}
.nymc-contact-form span.wpcf7-form-control-wrap span.wpcf7-list-item {
    margin: 0;
}
/*.nymc-contact-form p.disclaimer {
    margin: 15px 0 0;
}*/
.nymc-contact-form .recaptcha {
    margin: 15px 0 0 !important;
    display: inline-block !important;
}
.nymc-opt-in {
    margin: 15px 0 0 !important;
}
.nymc-testimonial-carousel .swiper-slide.swiper-slide-active {
  background-color: #041C94;  
  color: #ffffff;             
  opacity: 1;                 
}
.nymc-testimonial-carousel .swiper-slide.swiper-slide-active * {
  color: #ffffff !important;
}
.nymc-btn a:hover {
    border-color: #fff !important;
}

/*form css*/
/* Wrapper */
.cf7-two-column {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
}

/* Rows */
.cf7-two-column .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Columns */
.cf7-two-column .form-col {
  flex: 1 1 48%; 
  min-width: 280px; 
}

/* Full width rows */
.cf7-two-column .form-row.full-width {
  flex-direction: column;
}

/* Labels full width */
.cf7-two-column label {
  display: block;
  width: 100%;
}

/* Inputs, selects, textarea */
.cf7-two-column input,
.cf7-two-column select,
.cf7-two-column textarea,
.cf7-two-column .wpcf7-textarea {
  width: 100% !important;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Submit Button */
.cf7-two-column input[type="submit"] {
  background: #0072ff;
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.cf7-two-column input[type="submit"]:hover {
  background: #005cd1;
}

/* Disclaimer */
.cf7-two-column .disclaimer {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  /*margin-top: 15px;*/
}
.nymc-contact-form .wpcf7-spinner {
    /* visibility: hidden; */
    left: calc(50% - 24px);
    right: 50%;
    bottom: 35px;
}
.nymc-contact-form .captcha-form-field {
    margin-top: 0px;
    margin-bottom: 0px;
}

@media (max-width: 600px) {
  .cf7-two-column .form-row {
    flex-direction: column !important;
  }
  .cf7-two-column .form-col {
    flex: 1 1 100% !important;
    min-width: auto !important;
  }
}

@media screen and (max-width: 767px) {
	.nymc-apply-form .row .nymc-col-6 {
	    width: 100%; 
	}
}
@media screen and (min-width: 1025px) and (max-width: 1335px) {
    .cf7-two-column .form-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }
    .cf7-two-column .form-row .form-col {
        flex: 1 1 48%;
        min-width: auto;
        width: 100%;
       
    }
    .cf7-two-column .form-row.full-width {
        flex-direction: column;
        flex-wrap: wrap;
        gap:0;
    }
}

