/*!
Theme Name: Attractor Yourland Theme
Theme URI: https://attractor.com.au/
Author: Attractor Dev Team
Author URI: https://attractor.com.au/
Description: Proudly Build by Attractor
Version: 1.4.11
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: inmyPrime
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body{
    position: relative;
}

.custom-list-style {
    list-style: lower-alpha;
    padding-left: 30px;
	font-family: "OldschoolGrotesk_W";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.page-template-default .elementor-widget:not(:last-child) {
    margin-block-end: 0px;
}

.custom-list-style-2 {
    list-style: disc;
    padding-left: 30px;
	font-family: "OldschoolGrotesk_W";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.custom-list-style li, .custom-list-style-2 li{
	font-size :17px;
	font-family: "OldschoolGrotesk_W";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}


.p-uppercase {
  text-transform: uppercase;
}

.footer-widget-register-interest .gform_confirmation_message{
    text-align: center;
    color: white;
    font-family: Poppins, sans-serif;
}
.footer-widget-register-interest .gform_confirmation_message h2{
    font-size: 2rem;
    font-family: Butler;
}


/* Custom CSS starts here */
.main-widget-two-column .text-block {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    gap: 30px !important;
    align-items: left;
    text-align: left;
    padding: 75px 160px;
}

 
 /* add custom CSS for adding the form spinner */

/* Ensure form wrapper is positioned */
.gravity-theme {
  position: relative;
}

/* Overlay add */
.gravity-theme::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.5); /* semi-transparent gray */
  z-index: 5;
  display: none;
  pointer-events: none; /* allow interaction through the overlay if needed */
}

/* Show overlay when spinner is visible */
.gravity-theme:has(.gform-loader:not([style*="display: none"]))::before {
  display: block;
}

/* gray overlay added */
.gravity-theme .gform-loader {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* style the loader */
.gform_wrapper.gravity-theme .gform-loader {
    align-self: center;
    animation: gformLoader 1.1s infinite linear;
    block-size: 8em !important;
    border-block-end: 1.1em solid #2b613d!important;
    border-block-start: 1.1em solid #fff;
    border-inline-end: 1.1em solid #fff;
    border-inline-start: 1.1em solid #2b613d !important;
    border-radius: 50%;
    display: inline-block;
    font-size: 6px !important;
    inline-size: 8em !important;
    margin-inline-start: 2em;
    position: relative;
    transform: translateZ(0);
    vertical-align: middle;
}


/* over riding scss header */


.hero-carousel {
    background-color: #fff7e3;
  }
  
  .hero-carousel .active .item {
    opacity: 1;
  }
  
  .hero-carousel .item {
    height: calc(100vh - 140px);
    overflow: hidden;
    position: relative;
    opacity: 0;
    min-height: 650px;
  }
  
  @media screen and (max-width: 768px) {
    .hero-carousel .item {
      height: auto;
      min-height: auto;
    }
  }
  
  .hero-carousel .item img {
    width: 100%;
    height: calc(100vh - 140px);
   object-fit: unset !important;  /* removed to display images with text */
    min-height: 650px;
  }
  
  @media screen and (max-width: 992px) {
    .hero-carousel .item img {
      height: auto;
      aspect-ratio: 2/3;
    }
  }
  

  .att-news-button{
    margin-bottom: 60px;
}