/*!
Theme Name: wellmax
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wellmax
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

wellmax is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */


/* Container for the loader */
.case-study-list-sec {
    position: relative; /* Essential for positioning the overlay */
}

/* Styles for the loading overlay */
.case-study-list-sec.loading-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7); /* Light white overlay */
    z-index: 10; /* Ensure it covers the content */
    cursor: wait;
}

/* Styles for the spinner */
.case-study-list-sec.loading-content::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    /* Adjust these lines to position the spinner */
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FE6500; /* Use your brand color */
    border-radius: 50%;
    z-index: 11;
    animation: spin 1s linear infinite; /* Apply the animation */
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.case-study-list-sec.loading-content {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* basic loader and suggestion styling */
#news-loader {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(255,255,255,0.6);
    z-index: 9999;
    display:flex; align-items:center; justify-content:center;
  }
  #news-loader .loader-inner {
    width:48px; height:48px; border-radius:50%;
    border:5px solid #eee; border-top-color:#FE6500;
    animation: spin 1s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .news-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    z-index: 999;
    display:none;
  }
  .news-suggestions ul { list-style:none; margin:0; padding:8px 0;}
  .news-suggestions li { padding:8px 16px; cursor:pointer; }
  .news-suggestions li:hover { background:#f7f7f7; }
  .news-suggestions a { color:#111; text-decoration:none; display:block; }
  .news-suggestions .sugg-date { color:#777; font-size:12px; margin-left:6px; }
