/*
Theme Name: Astra Child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Set Baseline Font for Rems to Standard */

:root {
  font-size: 16px;
}

/* Add Missing Alignfull styles for Narrow layout */

.ast-narrow-container.ast-no-sidebar .entry-content > .alignfull,
.ast-narrow-container.ast-no-sidebar .is-root-container > .alignfull,
[class^="astra-advanced-hook"] > .alignfull {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw;
}

/* Add Missing Border Style for Secondary Theme Buttons */

.wp-block-buttons
  .wp-block-button.is-style-outline
  .wp-block-button__link.wp-element-button,
.ast-outline-button,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button {
  border-style: solid;
}

/* Spectra Button Transitions to Match Elementor */

.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
.wp-block-button .ast-outline-button {
  transition: 0.4s;
}

/* Remove Testimonial Carousel Padding so it can go full width */

.wp-block-uagb-testimonial.uagb-slick-carousel {
  padding: 0;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev {
  left: 25px !important;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next {
  right: 25px !important;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev,
.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0.3;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev:hover,
.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next:hover {
  opacity: 1 !important;
}

/* Align Testimonial Logos below name */

.wp-block-uagb-testimonial.uagb-slick-carousel .uagb-tm__meta-inner {
  display: inline-flex;
  flex-direction: column-reverse;
  gap: 5px;
}

/* Custom Testimonial Colors and Icon */

.wp-block-uagb-testimonial .slick-slide:nth-child(3n + 2) .uagb-tm__content {
  border-top-color: var(--ast-global-color-1) !important;
}

.wp-block-uagb-testimonial .slick-slide:nth-child(3n + 3) .uagb-tm__content {
  border-top-color: #e53e30 !important;
}

.wp-block-uagb-testimonial .uagb-tm__text-wrap::before {
  content: "\201c";
  display: block;
  font-size: 100px;
  font-family: "Georgia";
  color: var(--ast-global-color-0);
  margin-top: 32px;
  margin-bottom: -16px;
}

/* Override Customizer Typography in Block Editor Pages */

/* .ast-plain-container h1,
.ast-plain-container h2,
.ast-plain-container h3,
.ast-plain-container h4,
.ast-plain-container h5,
.ast-plain-container h6,
body.ast-plain-container
{
	font-family: "Source Sans 3";
}
 */

/* .ast-plain-container h1,
.ast-plain-container h2,
.ast-plain-container h3 {
	font-weight: 700;
}

.ast-plain-container h1 {
	font-size: 2.7em;
	color: var(--ast-global-color-0);
} */

/* Add Balance */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

h1,
h2 {
  line-height: 1.2 !important;
}

h3,
h4 {
  line-height: 1.1 !important;
}

h5,
h6 {
  line-height: 1 !important;
}

/* Style Entry Headers */

.ast-plain-container .entry-header {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--ast-global-color-4);
}

.ast-plain-container .entry-header h1 {
  text-align: center;
  margin-bottom: 0;
}

/* .ast-plain-container h2 {
	font-size: 2.1em;
}

body.ast-plain-container {
	font-size: 18px;
} */

/* Hero Image That Bleeds off the Right Side */

@media screen and (min-width: 977px) {
  .off-screen-img {
    transform: scale(1.5);
    margin-right: -160px;
  }
}

/* Icon Link Hover Animation */

.icon-hover a svg {
  transition: transform 200ms ease-in-out;
  position: relative;
}

.icon-hover a:hover svg {
  transform: translateX(5px);
}

/* Post Grid Tweaks */

.wp-block-uagb-post-grid .uagb-post__image a img {
  transition: all 200ms ease-out;
}

.wp-block-uagb-post-grid .uagb-post__image a:hover img {
  transform: scale(1.05);
}

/* Fix Post Carousel + Tweaks */

.wp-block-uagb-post-carousel .slick-list.draggable {
  padding: 0 !important;
}

.wp-block-uagb-post-carousel article {
  border-radius: 14px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-clip: border-box;
  border-style: solid;
  border-color: var(--ast-global-color-7);
}

.wp-block-uagb-post-carousel .uagb-post__image {
  margin: 8px;
  overflow: hidden;
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .uagb-post__image a {
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .slick-slide img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .uagb-post__image a img {
  transition: all 200ms ease-out;
}

.wp-block-uagb-post-carousel .uagb-post__image a:hover img {
  transform: scale(1.05);
}

.wp-block-uagb-post-carousel .slick-track,
.wp-block-uagb-post-carousel:not(:has(.slick-track)) {
  display: flex;
  gap: 16px;
}

.wp-block-uagb-post-carousel:not(:has(.slick-track)) article {
  width: calc(33.33% - 11px) !important;
}

@media screen and (max-width: 767px) {
  .wp-block-uagb-post-carousel:not(:has(.slick-track)) article {
    width: 100% !important;
  }
}

/* Text Underlines */

.wp-block-uagb-post-carousel .uagb-post__text.uagb-post__title a,
.tertiary-cta a,
.uagb-post__cta a {
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  transition: all 200ms ease-out;
  text-underline-offset: 5px;
}

.wp-block-uagb-post-carousel .uagb-post__text.uagb-post__title a:hover,
.tertiary-cta a:hover,
.uagb-post__cta a:hover {
  text-decoration-color: var(--ast-global-color-0) !important;
  text-underline-offset: 6px;
}

.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration-color: var(--ast-global-color-0) !important;
  text-underline-offset: 5px;
  transition: all 200ms ease-out;
}

.ast-single-post .entry-content a:hover,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a):hover {
  text-underline-offset: 6px;
}

/* Custom Tab Styles */

@media screen and (min-width: 767px) {
  .uagb-tabs__panel {
    padding-left: 40px !important;
    min-height: 66.7px;
  }
}

@media screen and (max-width: 767px) {
  ul.uagb-tabs__panel li.uagb-tab {
    border-bottom-width: 1px !important;
    transition: all 200ms ease-out;
  }

  ul.uagb-tabs__panel li.uagb-tab:hover {
    background-color: var(--ast-global-color-1) !important;
    border-color: var(--ast-global-color-1) !important;
    color: #fff !important;
  }
}

.uagb-tabs__body-wrap {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a {
  transition: all 200ms ease-out;
}

.uagb-tabs__wrap ul.uagb-tabs__panel {
  align-items: flex-end !important;
}

.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a:hover {
  padding-bottom: 10px !important;
}

/* Custom Counter Styles */

.wp-block-uagb-counter--number {
  width: auto !important;
}

.numbers-bar .number-wrap p,
.numbers-bar .number-wrap .wp-block-uagb-counter__title {
  text-wrap: balance;
}

@media (min-width: 977px) and (max-width: 1200px) {
  .numbers-bar > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
    align-items: flex-start;
  }
  .numbers-bar .number-wrap {
    flex-direction: column;
  }
  .numbers-bar .number-wrap p {
    text-align: center;
  }
}

/*Gravity Form*/

div .gf_browser_chrome gform_wrapper gf_simple_horizontal_wrapper {
  text-align: center;
}
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_first,
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_middle,
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_last {
  padding-top: 0 !important;
}
.gf_simple_horizontal_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  input[type="text"],
.gf_simple_horizontal_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  select {
  margin-bottom: 0 !important;
}
.gf_simple_horizontal_wrapper li.hidden_label input {
  margin-top: 0 !important;
}
body .gf_simple_horizontal_wrapper .top_label div.ginput_container {
  margin-top: 0 !important;
}
.gf_simple_horizontal div.gform_footer.top_label {
  width: auto !important;
  vertical-align: top !important;
}
.gf_simple_horizontal div.gform_body {
  width: auto !important;
}
.gf_simple_horizontal div.gform_footer.top_label input[type="submit"] {
  line-height: 26px;
  font-size: 13px;
  padding: 0 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gform_button button {
  padding: 5px 24px;
}
@media only screen and (min-width: 641px) {
  .gform_wrapper form {
    max-width: 50%;
    margin: 0 auto;
  }
}
/* Center Gravity Forms */
.cent-form {
  text-align: center;
}
.why-chose_col > div {
  max-width: 535px !important;
}
/* Form styling Contact Us Hubspot Starts */
.general-form .hs-input {
  background-color: #ffffff;
  border-color: #c9c9c9;
  border-width: 2px 2px 2px 2px;
  border-radius: 8px 8px 8px 8px;
  color: #000000;
  font-size: 15px;
  min-height: 50px;
  padding: 8px 15px;
  width: 100% !important;
  box-shadow: none;
  box-sizing: border-box;
  transition: all 0.2s linear;
  line-height: 1.4;
  margin: 0 0;
}
.general-form select.hs-input {
  padding: 8px 12px;
}
.general-form fieldset {
  max-width: 100% !important;
}
.general-form .hs-inputt::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #b3b3b3;
}
.general-form .hs-input::-moz-placeholder {
  /* Firefox 19+ */
  color: #b3b3b3;
}
.general-form .hs-input:-ms-input-placeholder {
  /* IE 10+ */
  color: #b3b3b3;
}
.general-form .hs-input:-moz-placeholder {
  /* Firefox 18- */
  color: #b3b3b3;
}
.general-form .hs-input :focus {
  box-shadow: none;
  outline: none;
  border-color: #888888;
}
.general-form textarea.hs-input {
  min-height: 132px;
}
.general-form .hs-error-msgs {
  list-style: none;
  margin-left: 5px;
}
.general-form .hs-error-msg,
.hs-error-msgs {
  color: red;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
}
.general-form .hs_submit {
  padding: 0 15px 0 7px;
}
.general-form .hs-button {
  font-size: 17px;
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 35px 35px 35px 35px;
  padding: 10px 40px;
  min-height: 59px;
  background-color: #0a77bc;
  color: #ffffff;
  transition: 0.5s;
  opacity: 1;
  width: 100%;
}
.general-form .hs-button:hover {
  background-color: #3eb489;
}
.general-form .hs-form-field label:first-child {
  font-family: "Source Sans Pro", raleway;
  font-weight: 400;
  font-size: 15px;
  padding-bottom: 10px;
  color: #4a4949;
  cursor: pointer;
  margin: 0 0;
  display: block;
}
.general-form .hs-form-field label:first-child span {
  text-transform: uppercase;
}
.general-form .hs-form-field {
  padding-right: calc(14px / 2);
  padding-left: calc(14px / 2);
  margin-bottom: 25px;
}
.general-form .hs-form-required,
.hs-error-msg {
  color: red !important;
}
/* Form styling Contact Us Hubspot Ends */
/* bottom to top */
#ast-scroll-top {
  width: 1.3em !important;
  height: 1.4em !important;
  line-height: 1.3 !important;
}
.ast-scroll-top-icon::before {
  font-size: 18px;
}
/* bottom to top */
#homeBannerImg {
  background-position: left;
}
.hide-item {
  display: none !important;
}
/* footer  */
li.elementor-icon-list-item:hover a:after {
  display: none;
}
/* header */
.header_menuu i.elementor-menu-toggle__icon--open.eicon-menu-bar {
  margin-top: -1px;
}
.header_menuu i.elementor-menu-toggle__icon--close {
  margin-top: -1px;
}
/* request form wrap  */
.request-form-wrap .elementor-row {
  justify-content: center;
}
/* // for testimonial section */
.testimonial h3.elementor-post__title {
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0px 35px;
}
/* ui floating social  */
.hustle-ui.hustle-float[data-desktop="true"][data-desktop-offset="screen"] {
  z-index: 999 !important;
}
/* search modal  */
.elementor-search-form--skin-full_screen .elementor-search-form__container {
  z-index: 9999 !important;
}
@media (max-width: 991px) {
  .hustle-ui {
    display: none;
  }
  .request-demo-form-wrap .elementor-row {
    justify-content: center;
  }
  .header_menuu .elementor-nav-menu--dropdown {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item .elementor-item {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item .menu-item a {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item.req_btn a {
    border-radius: 25px !important;
  }
}
@media (max-width: 767px) {
  /* 	nav menu */
  .solutions ul.sub-menu {
    border-radius: 0px !important;
  }
  .solutions ul.sub-menu li.menu-item a {
    border-radius: 0px !important;
  }
  .new-header .elementor-nav-menu--dropdown {
    border-radius: 0px !important;
  }
}
.tst-slider .elementor-testimonial__content {
  background-color: transparent;
}
.tst-slider .elementor-testimonial__content {
  background-color: transparent !important;
}
.tst-slider .elementor-testimonial__content:after {
  display: none !important;
}
.tst-slider .elementor-testimonial__footer {
  margin-bottom: 0 !important;
}
@media screen and (max-width: 1024px) {
  .request_col {
    margin: 0 auto;
  }
  .request-demo-form-wrap {
    background-image: none !important;
  }
  .banner-sec {
    background-image: none !important;
  }
}
@media screen and (max-width: 768px) {
  header.elementor-location-header {
    position: initial !important;
  }
  .header-menu {
    width: 75%;
  }
  .keyoffer_box img {
    max-width: 120px !important;
  }
}
.card-box .elementor-widget-container {
  overflow: hidden;
}
.card-box a.eael-infobox-button {
  text-decoration: none;
}
.resources-sec p {
  margin-bottom: 0;
}
.resources-sec .elementor-widget-container {
  padding-bottom: 0 !important;
}
.resources-sec .elementor-element {
  margin-bottom: 0 !important;
}
.card-box .infobox-button {
  padding-bottom: 20px;
}
.card-box a.eael-infobox-button {
  text-decoration: underline;
  color: #0077c0 !important;
  background-color: transparent !important;
  padding: 0 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}
.card-box a.eael-infobox-button:after {
  position: relative;
  content: "";
  padding-left: 26px;
  font-size: 17px;
  background: url(/wp-content/uploads/2022/08/arrow-blue-1.png);
  height: 8px;
  margin-left: 12px;
  margin-top: 7px;
}
.card-box a.eael-infobox-button:hover {
  text-decoration: none;
}

/* Post and News Single Templates */

/* Title Banner */

.single-post .ast-single-entry-banner .ast-container {
  max-width: 1240px !important;
  display: flex;
  flex-direction: column;
}

.single-news .ast-single-entry-banner .ast-container {
  max-width: 1240px !important;
  display: flex;
  flex-direction: column;
}

.single-post .site-content > .ast-container {
  margin: 0 auto;
  padding: 0px 15px;
}

.single-news .site-content > .ast-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0px 15px;
}

.single-news .ast-single-entry-banner .ast-container h1,
.single-post .ast-single-entry-banner .ast-container h1 {
  margin-bottom: 0 !important;
  order: 2;
}

.single-news .ast-single-entry-banner .ast-container .subtitle,
.single-post .ast-single-entry-banner .ast-container .subtitle {
  font-size: 2rem;
  order: 3;
}

.single-news .ast-single-entry-banner .ast-container .entry-meta,
.single-post .ast-single-entry-banner .ast-container .entry-meta {
  order: 1;
  margin-bottom: 1rem;
}

/* Content */
.single-news #primary,
.single-post #primary {
  margin-top: 60px !important;
}

.single-post #primary .site-main .ast-single-post-featured-section {
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (max-width: 1023px) {
  .single-news #primary,
  .single-post #primary {
    margin-top: 15px !important;
  }
  .single-post #primary .site-main {
    flex-direction: column;
  }
  .single-post #primary .site-main .ast-single-post-featured-section {
    flex-basis: 100%;
  }
}

/* Related Posts */

.ast-single-related-posts-container .ast-related-post {
  border: 1px solid var(--ast-global-color-0, #0a77bc);
  border-radius: 16px;
  overflow: hidden;
}

.ast-single-related-posts-container .ast-related-post .entry-header {
  padding: 0 32px;
  background: transparent;
  text-align: center;
}

.ast-single-related-posts-container .ast-related-post .post-thumb {
  overflow: hidden;
}

.ast-single-related-posts-container .ast-related-post .post-thumb img {
  transition: transform 200ms ease-in-out;
  width: 100%;
}

.ast-single-related-posts-container
  .ast-related-post:hover
  .post-thumb
  a:hover
  img {
  transform: scale(1.05);
}

/* Author Box Tweaks */

.single .ast-single-author-box {
  border-top: 0 !important;
}

.single .ast-author-meta .ast-author-details {
  align-items: flex-start !important;
}

.single .ast-author-meta .about-author-title-wrapper {
  display: none;
}

.single .ast-author-meta .post-author-bio::before {
  content: "About the Author";
  color: var(--ast-global-color-8);
  font-family:
    var(--e-global-typography-primary-font-family), ui-sans-serif, system-ui,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: var(--wp--preset--font-size--medium);
  line-height: 35.2px;
  font-weight: 700;
  text-transform: uppercase;
}

.single .ast-author-meta .ast-author-details .author-title {
  color: var(--ast-global-color-8);
}

.single .ast-author-meta .ast-author-details .author-title:hover {
  color: var(--ast-global-color-0);
}

.single .ast-author-meta {
  position: relative;
}

.single .ast-author-meta::before {
  content: "";
  min-height: 32px;
  background-image: linear-gradient(
    to left,
    #e63d2f 0%,
    #e63d2f 33.333%,
    #00964c 33.333%,
    #00964c 66.666%,
    #00b7b7 66.666%,
    #0a77bc 60%,
    #0a77bc 60%
  );
  display: block;
  position: absolute;
  left: -1px;
  right: -1px;
  top: -32px;
  border-radius: 16px 16px 0 0;
}

.single
  .ast-author-meta
  .ast-author-box-sharing
  .ast-social-icon-a
  .ast-social-element {
  --color: var(--ast-global-color-8) !important;
}

.single
  .ast-author-meta
  .ast-author-box-sharing
  .ast-social-icon-a:hover
  .ast-social-element {
  --color: var(--ast-global-color-0) !important;
}

.single .ast-author-meta .post-author-avatar img {
  min-width: 120px !important;
}

@media screen and (max-width: 921px) {
  .single .ast-author-meta .ast-author-details .ast-author-box-sharing {
    align-items: center !important;
  }
}

.single .ast-author-meta .ast-author-box-sharing .ast-social-icon-a[href=""] {
  display: none;
}

/* Bullet Overrides */

/* List Padding */

.entry-content ul,
.entry-content ol {
  padding-left: 18px;
  margin-left: 0;
}

ul li::marker {
  color: var(--ast-global-color-0);
}

/* Caption Styling */

.wp-block-image figcaption,
.wp-block-uagb-image figcaption {
  font-size: 0.875rem;
}

/* Blockquote Styling */

blockquote {
  font-style: normal;
}

.accordion-dark .uagb-faq-content a:hover {
  color: var(--ast-global-color-7);
}

.hbspt-form fieldset {
  max-width: 100% !important;
  margin-bottom: 10px !important;
}

.hbspt-form fieldset input,
.hbspt-form fieldset select {
  width: 100% !important;
}

.hbspt-form .hs_submit .actions {
  text-align: center;
}

/* Force image container height */
.uagb-post__image {
  height: 250px; /* adjust to whatever height you want */
  overflow: hidden;
}

/* Make image fill container without distortion */
.uagb-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove extra spacing inside UAGB post cards */
.uagb-post__image {
  margin-bottom: 0;
  height: auto;
}

.wp-block-uagb-post-grid .uagb-post__inner-wrap {
  padding: 0 !important;
}

.uagb-post__title {
  padding-left: 18px;
  padding-right: 18px;
  margin-bottom: 0; /* adjust smaller if needed */
}

.uagb-post__excerpt {
  margin-bottom: 0; /* adjust or set to 0 */
}

.uagb-post__cta {
  margin-top: 0;
}

.insights-block.uagb-post-grid.is-grid.uagb-equal_height_inline-read-more-buttons.uagb-post__image-position-top
  .uagb-post__text:nth-last-child(2) {
  padding-bottom: 75px;
}

.uagb-post__content-wrap,
.uagb-post__inner-wrap {
  padding-bottom: 0 !important;
}
