/*
 Theme Name:   BTL
 Theme URI:    https://clearwateragency.com.au/
 Description:  Child theme for Hello Biz (Hello Elementor)
 Author:       Clearwater Agency
 Author URI:   https://clearwateragency.com.au/
 Template:     hello-biz
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  btl
 Tags:         hello-elementor, child-theme, lightweight, clean
*/

/* Add your custom styles below */
p a,
.elementor p a { color:#00578e; text-decoration:underline; }
.elementor-button { transition: all 250ms cubic-bezier(0.1, 0.1, 0, 1); }
/* sup { font-size:10px; vertical-align:center; } */
.icon-active .elementor-widget-image:before { content: " "; position:absolute; width:100%; height:0; padding-bottom:100%;
    opacity:0.5; background:#009edb; border-radius:50%; transition:all 0.2s ease; }
#slider_icons_container .elementor-element{ cursor:pointer; }
body { overflow-x:hidden; }
body .gform-theme--framework input,
body .gform-theme--framework select,
body .gform-theme--framework textarea {
/* === INPUTS === */
  --gf-ctrl-padding-x: 15px;
  --gf-ctrl-color: #009edb;
  --gf-ctrl-font-size: 16px;
  --gf-ctrl-bg-color: #fff;
  --gf-ctrl-border-color: #089edb;
  --gf-local-border-color: #089edb;
  --gf-ctrl-border-width: 1px;
  --gf-ctrl-border-style: solid;
	--gf-ctrl-textarea-height: 175px;
}
body .gform-theme--framework label,
body .gform-theme--framework legend{
/* === FIELD LABELS === */
  --gf-ctrl-label-font-weight-primary: 500;
  --gf-ctrl-label-font-size-primary: 18px;
  --gf-ctrl-label-color-primary: #00578e;
}

/* === CHECKBOX / RADIO OPTION LABELS === */
body .gform-theme--framework .gfield_checkbox label,
body .gform-theme--framework .gfield_radio label { font-weight:500; font-size:16px; color:#00578e; }

/* === BUTTONS === */
body .gform-theme--framework input[type="submit"] {
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-bg-color-primary: transparent;
	
	--gf-ctrl-btn-color-hover-primary: #009edb;
	--gf-ctrl-btn-bg-color-hover-primary: #fff;
	
  --gf-ctrl-btn-font-size-md: 28px;
  --gf-ctrl-btn-font-weight: 700;
  --gf-ctrl-btn-size-md: 70px;
  --gf-ctrl-btn-padding-x-md: 40px;
  --gf-ctrl-btn-text-transform: uppercase;
}

/* === REMOVE SHADOWS, OUTLINE, HOVER/FIRST BORDER CHANGES === */
body .gform-theme--framework {
  --gf-ctrl-shadow: none;
  --gf-ctrl-shadow-hover: none;
  --gf-ctrl-shadow-focus: none;
  --gf-ctrl-shadow-disabled: none;

  --gf-ctrl-outline-width: 0;
  --gf-ctrl-outline-width-focus: 0;
  --gf-ctrl-outline-color-focus: transparent;
  --gf-ctrl-outline-style: none;

  --gf-ctrl-border-color-focus: #089edb;
  --gf-ctrl-border-color-hover: #089edb;
	
  --gf-field-choice-gap: 10px;
	--gf-ctrl-textarea-height: 175px;
}
body .gform-theme--framework .gfield--type-choice .gfield_checkbox { flex-direction:row; flex-wrap:wrap; }
body .gform-theme--framework .gfield--type-choice .gfield_checkbox .gchoice { flex-basis:20%; }
body .gform-theme--foundation .gfield textarea.large{ min-block-size:8rem; }
body .gform-theme--foundation .ginput_address_country { inline-size:100%; }
body .gform-theme--foundation .ginput_complex label { display:none; }
.gform_button.button { color:#009edb !important; border:1px solid #009edb !important; padding:20px 55px !important; font-size:24px !important; border-radius:99px !important }

/* header */
#ekit-megamenu-primary-navigation{ height:auto; }
.elementskit-megamenu-panel { left:-120px !important ; max-width:1960px !important; }
.elementskit-menu-hamburger { border:none !important; background:none!important;  }

#btlsearchButton { cursor:pointer; }
#btlcountry,
#btlsearch { position: absolute; left: 0;
  right: 0;  z-index: 99; overflow: hidden;  display: none; max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#btlcountry.open,
#btlsearch.open {
  opacity: 1;
}

.coutry-list li { margin:12px 0 }
.coutry-list li a { display:flex; align-items:center; color:#fff; font-size:15px; }
.coutry-list li a:hover { text-decoration:underline; }
.coutry-list li a img { margin-right:12px; max-width:23px; background:#fff; }
ul.coutry-list { list-style-type:none; padding:0; }


/* Desktop flyout */
.mega-container { display: none;  position: fixed;
  top: 56px;  left: 0; width: 100vw;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #ffffff;
  z-index: 9999;
}

/* Mobile dropdown remains edge-to-edge */
@media (max-width: 1600px) {
	body, p { font-size:16px; line-height:1.5; }	
}
@media (max-width: 1024px) {
.mob-menu .elementor-nav-menu--dropdown { position:fixed; width:100%; height:100vh; left:0; overflow-y:auto; z-index:9999; }
.menu-item.has-mega > a { display:flex; justify-content:space-between; align-items:center; }
.mega-arrow { border:none; background:transparent; cursor:pointer; padding:0px 6px; font-size:24px; }
.mega-mobile { max-height:0; overflow:hidden; transition: max-height 320ms ease; }
.elementor-nav-menu a, .elementor-nav-menu a:focus, .elementor-nav-menu a:hover { line-height:1.2; padding:16px 20px; border-bottom:1px solid #ffffff; color:#ffffff; }
.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-menu-toggle { background:none; }
/* ensure cloned element stacks and absolute-positioned bits are reset */
.mega-mobile .elementor-container,
.mega-mobile .elementor-column,
.mega-mobile .elementor-widget-wrap { width:100% !important; display:block !important; box-sizing:border-box; }
.mega-mobile [style*="position:absolute"] { position: static !important; left:auto !important; top:auto !important; width:100% !important; }
.elementor-nav-menu--dropdown { background: transparent linear-gradient(90deg, #00578e 0%, #009ad7 100%) 0% 0% no-repeat padding-box; color:#fff; }
}
@media (min-width:767px) {
   main#content .page-content,
  .elementor-1416.elementor-location-archive,
  .elementor-1419.elementor-location-archive { padding:0 15px; }
}

@media (max-width:767px) {	
.coutry-list li { margin:12px 0; border-bottom:1px solid #ffffff5c; padding:12px 0; }
}

@media (max-width:640px) {
.mob-col-2 li { width:50%; }
body .gform-theme--framework .gfield--type-choice .gfield_checkbox .gchoice { flex-basis:48%; }
}