/*
Theme Name: Hello Elementor Child
Theme URI: https://welldesignstudio.com/
Description: Child theme of Hello Elementor, by Well Design Studio
Author: Well Design Studio
Author URI: https://welldesignstudio.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Global Defaults */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: antialiased;
}

body {
  overflow-x: hidden;
}

/* List Styles */
body ul, body ol {
  margin-top: 0;
}

ul li:last-child {
  margin-bottom: 20px;
}

/* Header Styles */
h1, h2, h3, h4, h5, h6 {
  color: unset;
}

/* Elementor Widget Defaults */
.elementor-widget-text-editor a, .elementor-widget-text-editor a:hover,
.elementor-widget-container p a, .elementor-widget-container p a:hover {
  color: inherit;
}

.elementor-widget-divider .elementor-divider,
.elementor-widget-spacer,
.elementor-widget-divider {
  margin-bottom: 0 !important;
  overflow: hidden;
}

.elementor-widget-icon {
  line-height: 1em;
}

.elementor-widget p:last-child {
  margin: 0;
}

.elementor-widget-wrap > aside.elementor-section {
  width: auto;
}

.elementor-widget-nav-menu li.menu-item > a.elementor-item > span.hidden {
  display: none;
}

.elementor a, .elementor a:hover {
  color: unset;
}

/* Video Banners */
.elementor-background-video-container iframe {
  opacity: 1;
  animation: fadeInOpacity 2s ease-in 1;
}

@keyframes fadeInOpacity {
  0%, 80% { opacity: 0; }
  100% { opacity: 1; }
}

/* Custom Utility Classes */
.no-margin {
  margin: none;
}

.no-wrap {
  white-space: nowrap;
}

/* Apply an underline effect to all links within paragraphs. */
p a{
  text-decoration: underline !important;
}

/* Additional Styles */
/* (Place additional custom styles here) */

/* Footer Styles */
/* (Define footer styles here) */

/* Miscellaneous Styles */
/* (Define miscellaneous styles here) */

/*---------------------------*/
/*--- Gravity Form Tweaks ---*/
	

/* Global Form Styles */
.gform_wrapper.gravity-theme .gfield_label {
  color: #000000 !important;
  border-bottom: none !important;
  text-transform: none !important; /* removes uppercase */
  font-variant: normal !important;
}

/* Input background styles */
.gform_body input[type="text"],
.gform_body input[type="email"],
.gform_body input[type="tel"],
.gform_body textarea,
.gform_body input[type="checkbox"],
.gform_body input[type="radio"] {
  background: #ffffff !important; /* ensures filled white */
  border: 1px solid #ccc !important;
}

/* Checkbox/Radio specific tweaks */
.gform_wrapper form .gform_body .gfield input[type="checkbox"],
.gform_wrapper form .gform_body .gfield input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 18px;
  height: 18px;
  border: 2px solid #555 !important;
  border-radius: 3px;
  background: #ffffff !important; /* filled white */
  cursor: pointer;
  position: relative;
}

/* Checked state (adds checkmark or fill) */
.gform_wrapper form .gform_body .gfield input[type="checkbox"]:checked,
.gform_wrapper form .gform_body .gfield input[type="radio"]:checked {
  background-color: #e527d4 !important; /* pink fill to match submit button */
  border-color: #e527d4 !important;
}

/* Submit button styles */
body .gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
  font-family: "Nunito Sans", Sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-style: normal !important;
  text-decoration: none !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: none !important;
  background: #E527D4 !important;
  color: #fff !important;
}

/* ===== Fix GF label casing (sentence case) ===== */
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .gform-field-label,
.gform_wrapper.gravity-theme .gform-field-label--type-sub,
.gform_wrapper.gravity-theme .gform-field-label--type-inline,
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label,
.gform_wrapper.gravity-theme legend {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* If your theme uppercases field descriptions/sublabels too */
.gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .ginput_complex label {
  text-transform: none !important;
}

/* ===== Kill button rounding (and any theme carryover) ===== */
.gform_wrapper.gravity-theme .gform_footer .gform_button,
.gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.gform_wrapper.gravity-theme .gform_page_footer .gform_button,
.gform_wrapper.gravity-theme .gform_page_footer input[type="submit"] {
  border-radius: 0 !important;          /* use 0, not 'none' */
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
}

/* If a global .button rule is still winning, add this safety net */
.gform_wrapper.gravity-theme .gform_footer .button,
.gform_wrapper.gravity-theme .gform_page_footer .button {
  border-radius: 0 !important;
}

/* Optional: keep the submit text uppercase while labels are sentence case */
.gform_wrapper.gravity-theme .gform_footer .gform_button,
.gform_wrapper.gravity-theme .gform_page_footer .gform_button {
  text-transform: uppercase !important;
}
/*--- End Gravity Form Tweaks ---*/