/**
Theme Name: Astra Child
Author: Kevin Bourke
Author URI: https://create.ie/
Description: A child theme for use with Astra parent theme. Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
:root {
    --global-color-primary: #3366F2;
    --global-color-secondary: #44B8F3;
    --global-color-text: #001D67;
    --global-color-accent: #E87928;
    --global-color-warm-red: #F0533F;
    --global-color-rubine-red: #CE0060;
    --global-color-offwhite: #F7f7fa;
    --global-color-darker-primary: #161D2B;
}
/* To be used with DT type elementor header with 2 buttons.
For example, the links in the menu should use following classes:
Blue button: btn blue hide-desktop hide-xl hide-xxl
Green button: btn green hide-desktop hide-xl hide-xxl
/* MENU BUTTONS */
/* uncomment to use
 */
.menu-item.btn {
    margin-left: 20px;
}
.btn a.menu-link {
    background-color: var(--global-color-primary);
    display: inline-block!important;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase!important;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    transition: all .3s;
    line-height: 1em;
    letter-spacing: 0px;
    word-spacing: 0em;
    fill: #FFFFFF!important;
    color: #FFFFFF!important;
    box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--global-color-primary);
    border-radius: 100px 100px 100px 100px;
    padding: 11px 55px 11px 55px;
}
.menu-item.btn a.menu-link {
    text-transform: uppercase!important;
    padding: 11px 55px 11px 55px !important;
    margin-bottom: 10px;
    min-width: 180px;
}
.e--pointer-double-line .menu-item.btn a.menu-link.elementor-item:after,
.e--pointer-underline .menu-item.btn a.menu-link.elementor-item:after {
    display: none;
}
.btn a.menu-link:hover {
    background-color: var(--global-color-accent);
    border-color: var(--global-color-accent);
}
.btn.blue a.menu-link {
    color: white;
    background-color: var(--global-color-secondary);
    border-color: var(--global-color-secondary);
}
.btn.blue a.menu-link:hover {
    color: var(--global-color-secondary)!important;
    background-color: var(--global-color-offwhite);
}
.btn.green a.menu-link {
    color: white;
    background-color: var(--global-color-accent);
    border-color: var(--global-color-accent);
}
.btn.green a.menu-link:hover {
    color: var(--global-color-accent)!important;
    background-color: var(--global-color-offwhite);
}

.elementor-acceptance-field + label {
    font-size: 85%;
}
/* ============================================================
   ARROW SUBMIT BUTTON — Reusable custom class system
   Add  .arrow-submit-form  to the Elementor Form widget CSS Classes field
   Add  .arrow-submit       to the Elementor Button CSS Classes field
   Paste into: child theme style.css  (or Additional CSS)
   ============================================================ */


/* 1. MAKE THE EMAIL FIELD GROUP THE POSITIONING PARENT
   Targets the email field inside any form that has the
   .arrow-submit-form class applied at the widget level. */
.arrow-submit-form .elementor-field-group-email {
  position: relative;
}


/* 2. PULL THE SUBMIT GROUP OUT OF FLEX FLOW
   Overlays it on the right side of the email field row. */
.arrow-submit-form .elementor-field-type-submit {
  position: absolute;
  top: 10px;
  right: 0;
  width: auto;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2;
    align-items: flex-start;
}


/* 3. STRIP ALL BUTTON CHROME
   Removes every visual property that Astra + Elementor
   apply to the button element itself. */
.arrow-submit-form .elementor-button,
.arrow-submit-form .elementor-button[type="submit"] {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: unset !important;
  width: 30px;
  height: 100%;
  display: flex;
  align-items: flex-start;
    justify-content: flex-end;
  cursor: pointer;
  transition: opacity 0.2s ease; /* subtle hover feedback */
}

/* Strip hover/focus backgrounds from Astra kit overrides */
.arrow-submit-form .elementor-button:hover,
.arrow-submit-form .elementor-button:focus {
  background-color: transparent !important;
  border-color: transparent !important;
  color: transparent !important;
  opacity: 0.7; /* gentle hover feedback without any fill */
}


/* 4. HIDE BUTTON TEXT — visually only, stays accessible
   Screen readers still announce the button via its
   surrounding form context. */
.arrow-submit-form .elementor-button .elementor-button-text {
  font-size: 0 !important;
  line-height: 0;
  visibility: hidden; /* belt-and-braces with font-size:0 */
}


/* 5. INJECT THE DIAGONAL ARROW ICON
   White ↗ arrow via inline SVG data-URI — no file upload needed.
   Tweak stroke colour, width/height, or margin-bottom to taste. */
.arrow-submit-form .elementor-button .elementor-button-content-wrapper::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 2px; /* nudges arrow just above the bottom border line */
}


/* 6. PAD THE EMAIL INPUT SO TEXT DOESN'T HIDE UNDER THE ARROW */
.arrow-submit-form .elementor-field-group-email input[type="email"] {
  padding-right: 50px !important;
  padding-left: 0px !important;
}


/* 7. KEEP THE EMAIL FIELD'S FOCUS RING VISIBLE
   z-index ensures the focus outline isn't clipped by the
   absolutely positioned button wrapper. */
.arrow-submit-form .elementor-field-group-email input[type="email"]:focus {
  position: relative;
  z-index: 1;
}


/* 8. SAFETY: ENSURE THE FORM WRAPPER IS A POSITIONED ANCESTOR */
.arrow-submit-form .elementor-form-fields-wrapper {
  position: relative;
}
.arrow-submit-form .elementor-button-content-wrapper {
    gap: 0px;
}
/* ============================================================
   END ARROW SUBMIT BUTTON — 
   ============================================================ */

/* DISPLAY Base: general utility */
.hide { display: none !important; }
.show { display: block !important; }

/* MOBILE: under 768px */
@media (max-width: 767px) {
  .show-mobile { display: block !important; }
  .hide-mobile { display: none !important; }
}

/* TABLET: 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .show-tablet { display: block !important; }
  .hide-tablet { display: none !important; }
}

/* DESKTOP: 1025px to 1199px */
@media (min-width: 1025px) and (max-width: 1199px) {
  .show-desktop { display: block !important; }
  .hide-desktop { display: none !important; }
}

/* XL: 1200px to 1440px */
@media (min-width: 1200px) and (max-width: 1440px) {
  .show-xl { display: block !important; }
  .hide-xl { display: none !important; }
}

/* XXL: 1441px and up */
@media (min-width: 1441px) {
  .show-xxl { display: block !important; }
  .hide-xxl { display: none !important; }
}