/*!
Theme Name: Presto
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: presto
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.

Presto 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
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */



/* =========================================
   EMAIL SUBSCRIBERS – FINAL EXACT DESIGN
========================================= */



/* --- Wrapper and Form Container --- */
/* Container to create the white pill shape */
form.es_subscription_form.wysiwyg-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background-color: #ffffff !important;
    border-radius: 50px !important;
    padding: 6px 6px 6px 20px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hide the "Email address*" label text but keep the inner input visible */
form.es_subscription_form.wysiwyg-form .es-field-label {
    font-size: 0 !important;
    color: transparent !important;
    margin: 0 !important;
    display: flex !important;
    width: 100% !important;
}

/* Hide the line break inside the label */
form.es_subscription_form.wysiwyg-form .es-field-label br {
    display: none !important;
}

form.es_subscription_form.wysiwyg-form .ig-es-form-field {
    flex-grow: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Seamless, borderless input field */
form.es_subscription_form.wysiwyg-form .ig-es-form-input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    color: #333333 !important;
    padding: 0 10px 0 0 !important;
    height: 44px !important;
    line-height: 44px !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

form.es_subscription_form.wysiwyg-form .ig-es-form-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

form.es_subscription_form.wysiwyg-form .ig-es-form-input::placeholder {
    color: #999999 !important;
}

/* Button Wrapper */
form.es_subscription_form.wysiwyg-form .es-submit-container {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

/* Subscribe Button based on the provided reference */
form.es_subscription_form.wysiwyg-form input.es-subscribe-btn {
    height: 44px !important;
    min-width: 110px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 40px !important;
    /* background: var(--sd-primary-blue, #7b61ff) !important; */
    background: var(--blue-grad-bg) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    transition: 0.35s ease !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    line-height: 44px !important;
    text-align: center !important;
    -webkit-appearance: none !important;
}

form.es_subscription_form.wysiwyg-form input.es-subscribe-btn:hover {
        background-color: #f3e8ff !important;
    background-image: radial-gradient(at 10% 90%, hsla(252, 100%, 85%, 1) 0px, transparent 50%), radial-gradient(at 90% 20%, hsla(276, 85%, 90%, 1) 0px, transparent 50%), radial-gradient(at 50% 50%, hsla(315, 60%, 95%, 1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(230, 50%, 92%, 1) 0px, transparent 50%) !important;
    color: var(--ppg-title-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 0.9 !important;
}

/* Hide loading spinner as it disrupts the pill layout */
form.es_subscription_form.wysiwyg-form .es_spinner_image {
    display: none !important;
}