/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/



/* SITE WIDE CONTAINER
 * 
 * Force zero top and bottom margin(spacing should be controlled via padding within a container)
 * 
 * Must use 100% width container, NOT site width
 * 
*/
.container-fullwidth{
  margin: 0 auto !important;
}



/* Container for anything smaller than 1500
 * 
 * keep 100% width, ensure 30px of padding
 * 
*/
@media(max-width: 1500px){
  .container-fullwidth{
    /*padding-left: 30px !important;
    padding-right: 30px !important;
  */}
}

/* 125% display zoom / laptop width */
@media(min-width:1500px) and (max-width: 1700px){
  .container-fullwidth{
    max-width: 1360px !important;
  }
}

/* desktop and larger displays */
@media(min-width:1700px){
  .container-fullwidth{
    max-width: 1580px !important;
  }
}



/* Class for painting backgrounds and images full width behind container system
 * 
 * For background colors, Use gradients rather than background color
 * 
 */
.background-fullwidth {
  position: relative !important;
  isolation: isolate;
}

.background-fullwidth::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}



/* Global Button Helper Classes
 * 
 * Adds Shadow and minor animations for every button site wide.
 * You do not need to add this class. It targets all buttons automatically via native .fusion-button class
*/

.fusion-button{
  overflow: visible !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.06) !important;
  
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease !important;
}

.fusion-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18) !important;
}

/* === Heritage Facility Services (scripts/heritage/setup-site.php) === */
/* Heritage buttons are flat at rest with a 1px lift and soft shadow on hover (site.css .btn). */
.fusion-button{box-shadow:none !important;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease !important}
.fusion-button:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(8,37,57,.07),0 14px 32px rgba(8,37,57,.09) !important}
/* Card hover (site.css .card / .tile): a 3px lift, soft shadow and border tint, no photo zoom; replaces Avada's
   liftup hover, which scales the whole card. Columns carry hfs-card (photo cards) or hfs-tile (photo-background tiles). */
/* Avada's own column transition (transform, filter, colours at .3s, no box-shadow) outranks a plain class rule, so the
   shadow snapped on with no animation (2026-11-13 review): these rules carry !important and ease everything together. */
.hfs-card.fusion-layout-column,.hfs-tile.fusion-layout-column{transition:transform .35s cubic-bezier(.2,.7,.2,1) !important}
.hfs-card>.fusion-column-wrapper,.hfs-tile>.fusion-column-wrapper{transition:box-shadow .35s ease,border-color .35s ease !important}
.hfs-card:hover,.hfs-tile:hover{transform:translateY(-2px)}
.hfs-card:hover>.fusion-column-wrapper,.hfs-tile:hover>.fusion-column-wrapper{box-shadow:0 2px 6px rgba(8,37,57,.05),0 10px 24px rgba(8,37,57,.07)}
.hfs-card:hover>.fusion-column-wrapper{border-color:#E7EDF3 !important}
.hfs-card .fusion-text a svg,.hfs-tile .fusion-text svg{transition:transform .3s ease}
.hfs-card:hover .fusion-text a svg,.hfs-tile:hover .fusion-text svg{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){.hfs-card,.hfs-tile,.hfs-card svg,.hfs-tile svg{transition:none !important;transform:none !important}}
/* Form step navigation: Back and Continue share one row (create-forms.php); Avada's submit-field wrapper is full width
   by default, which pushed Continue onto its own line. */
.fusion-form .fusion-content-layout-row>.fusion-form-submit-field{width:auto;flex:0 0 auto}
