/*!
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.3.14
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Yourland
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body{
    position: relative;
}

.form-section .gform_wrapper.gform_confirmation_wrapper .gform_confirmation_message{
text-align: center;
color: #000000 !important;
}


/* 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 #00263d!important;
    border-block-start: 1.1em solid #fff;
    border-inline-end: 1.1em solid #fff;
    border-inline-start: 1.1em solid #00263d !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;
}

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