/*
 Theme Name:   GMB Bricks Child
 Theme URI:    https://gmb.digital/
 Description:  Used to extend the Bricks theme.
 Author:       The Team @ Grow My Business
 Author URI:   https://gmb.digital/about
 Template:     bricks
 Version:      1.1
 Text Domain:  gmb
*/


/*
 * Prevent Horizontal Overflow
 */

 html {
	height: 100%;
}

body {
	min-height: 100%;
	overflow-x: hidden;
}

section.brxe-section {
    overflow-x: clip;
}

/*
 * Set Bold font weight to Semi-Bold
 */
strong {
	font-weight: 600;
}

/*
 * Prevent content of elements with ratio class from stretching (e.g. images)
 */
[class*="ratio-"] {
    object-fit: cover;
    object-position: center;
}

/*
 * Prevent buttons inner text and the nav menu items from wrapping
 */
.brxe-button,
.nav-menu {
    white-space: nowrap;
}

/*
 * Set 'scroll to' offset for elements with ids (for in-page linking)
 */
[id] {
    scroll-margin-top: calc(var(--spacing-lrg) * 1.5);
}

/*
 * Set content within .has-bg-image elements to z-index 2
 */
.has-bg-image > *:not(.bg-image) {
    z-index: 2;
}

/*
 * List Styles
 */
.brxe-text ul {
    padding-left: 2em;
}

.brxe-text ul li:not(:last-child) {
    margin-bottom: 0.3em;
}

/*
 * Enable overflow for shadows on table of contents
 */
.brxe-post-toc {
  overflow: visible;
}

/*
 * Gravity Forms Styles
 */

.gform_wrapper form {
    --btn-bg-color: var(--color-primary);
    --btn-text-color: var(--color-light);
    --text-color: var(--color-dark);
    --border-color: var(--color-light-grey);
    --field-bg-color: var(--color-light);
    --border-radius: var(--border-radius-sml);
    --border-width: 0.1rem;
}

.gform_wrapper  form.light,
.light-form .gform_wrapper form {
    --btn-bg-color: var(--color-primary);
    --btn-text-color: var(--color-dark);
    --text-color: var(--color-light);
    --border-color: var(--color-grey);
    --field-bg-color: transparent;
}

/* All Inputs, Textareas (Paragraphs) and Dropdowns (Selects) */
.gform_wrapper input,
.gform_wrapper textarea,
.gform_wrapper select {
    background: var(--field-bg-color);
    color: #fff;
    border: var(--border-width) solid var(--border-color);
    padding: 0.8em 1.2em !important;
    border-radius: var(--border-radius);
    color: var(--text-color);
    line-height: 2rem;
	font-size: 0.9em !important;
	font-weight: 500;
}

/* Form Labels */
.gform_wrapper.gravity-theme label {
    font-size: 2rem !important;
    font-weight: 500;
    color: var(--color-light) !important;
    margin-bottom: 0.4rem;
}
/* Dropdown (Select) Arrow */
.gform_wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-size: 1rem auto;
    background-position: right 1rem top 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xOTVfMTczOCkiPgo8cGF0aCBkPSJNMSAxLjVMNiA2LjVMMTEgMS41IiBzdHJva2U9IiMyMTIxMjEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTk1XzE3MzgiPgo8cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iOCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K);
}

/* Dropdown (Select) Arrow for Light Forms */
.gform_wrapper  form.light select,
.light-form .gform_wrapper form select {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xOTVfMTczOCkiPgo8cGF0aCBkPSJNMSAxLjVMNiA2LjVMMTEgMS41IiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTk1XzE3MzgiPgo8cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iOCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4);
}

/* Button Styles */
.gform_wrapper input[type="submit"],
.gform_wrapper input[type="button"] {
    background: var(--btn-bg-color);
    color: var(--color-dark);
    border: none;
    
    text-align: center;
    padding: 0.8em 1.2em !important;
    
    cursor: pointer;
    transition: background 200ms ease;
	
	font-size: var(--font-size-base) !important;
}

.gform_wrapper input[type="submit"]:hover,
.gform_wrapper input[type="button"]:hover {
    background: color-mix(in srgb, var(--btn-bg-color), var(--color-dark) 10%);
}

.ginput_complex span {
    display: block !important;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select:not(:focus) {
    color: color-mix(in srgb, var(--text-color), transparent 40%);
}

body .gform_wrapper input:not([type="submit"]):not([type="button"]):focus,
body .gform_wrapper textarea:focus {
    border-color: rgba(0, 0, 0, 0.1);
	color: var(--color-light) !important;
    outline: none;
}

.gform_required_legend,
.gform_wrapper .gform_heading {
	display: none;
}

.gform_wrapper .gform_footer {
    padding: 0 !important;
}

.gform_wrapper .gform_footer input {
    margin-bottom: 0 !important;
}

.gform_wrapper .gfield--type-html {
    font-size: 0.85em;
}

.gform_ajax_spinner {
    margin-left: 2rem;
}

.gfield_validation_message {
    display: none;
}

select.light option,
.light-form select option {
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
}


/* Custom Field Styling */
.wcpa_field_label {
	color: #fff !important;
	font-size: 2rem !important;
}

.wcpa_field {
	background-color: rgba(0,0,0,0) !important;
	border-radius: 0 !important;
	border: 0.1rem solid #fff !important;
	color: #fff !important;
	font-size: 1.8rem !important;
}

.wcpa_file_style .awpca_custom_file {
	background-color: rgba(0,0,0,0) !important;
	border: 0 !important;
}

.wcpa_file_style .wcpa_choose_button {
	background-color: rgba(0,0,0,0) !important;
}

/*
 * List Items
 */ 
.brxe-text ul {
  padding-left: 1em;
  margin: 0;
}

.brxe-text li::marker {
  color: var(--color-primary);
}


/* Form Styling */
body.page-id-572 {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body.page-id-572 input {
	color: var(--color-light);
	font-size: 2rem !important;
    border-radius: 0.8rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
/*     background-blend-mode: plus-darker; */
    box-shadow: 0 1.2rem 4.8rem 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(1.2rem);
}

body.page-id-572 .gform_wrapper.gravity-theme .gform_fields {
	grid-column-gap: 5%;
}

body.page-id-572 input::placeholder {
	color: var(--color-light);
}

.page-id-572 .gform_wrapper .gf_progressbar_wrapper {
    display: none;
}

.highlight {
    color: #b9fd50;
}

.gfield_radio .gchoice,
.gfield_checkbox .gchoice {
    border-radius: 0.8rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.08);
    background-blend-mode: plus-darker;
    box-shadow: 0 1.2rem 4.8rem 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(1.2rem);
    padding: 0;
    margin-bottom: 1.6rem;
    color: #fff;
	position: relative;
	transition: background-color var(--default-transition), transform var(--default-transition);
}

.gfield_radio .gchoice:hover,
.gfield_checkbox .gchoice:hover {
    background-color: rgba(0, 0, 0, 0.16);
    transform: scale(1.015);
}

.gfield_radio .gchoice label,
.gfield_checkbox .gchoice label {
    padding: 1.6rem 1.6rem 1.6rem 4.4rem;
    width: 100%;
	max-width: none !important;
}

.gfield_radio .gchoice input,
.gfield_checkbox .gchoice input {
    position: absolute;
	top: 50% !important;
	left: 1.6rem;
	transform: translateY(-50%) !important;
}

input[type="radio"]:not([data-mode="button"] input[type="radio"]):checked,
input[type="checkbox"]:not([data-mode="button"] input[type="checkbox"]):checked {
  color: var(--color-tertiary) !important;
}

input[type="radio"]:not(ul[data-mode="button"] input[type="radio"]),
input[type="checkbox"]:not(ul[data-mode="button"] input[type="checkbox"]) {
    appearance: none !important;
    background-color: transparent !important;
    margin: 0 !important;
    font: inherit !important;
    color: var(--color-grey) !important;
    width: 1.6rem !important;
    height: 1.6rem !important;
    border: 0.2rem solid var(--color-light) !important;
    border-radius: 0.3rem !important;
    display: grid !important;
    place-content: center !important;
    padding: 0 !important;
}

input[type="radio"]:not(ul[data-mode="button"] input[type="radio"])::before,
input[type="checkbox"]:not(ul[data-mode="button"] input[type="checkbox"])::before {
  content: "" !important;
  width: 1rem !important;
  height: 1rem !important;
  border-radius: 0.1rem; !important;
  
  opacity: 0 !important;
  transition: 120ms opacity ease-in-out !important;
  box-shadow: inset 1em 1em currentColor !important;
}

input[type="radio"]:not(ul[data-mode="button"] input[type="radio"]):checked::before,
input[type="checkbox"]:not(ul[data-mode="button"] input[type="checkbox"]):checked::before {
  opacity: 1 !important;
}

.gchoice {
    display: flex;
    align-items: center;
/*     grid-gap: 1.2rem; */
}

.gchoice label {
	cursor: pointer;
}

.gchoice label p {
    font-size: 0.85em;
    margin-top: -0.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.gfield--type-html {
    display: flex;
	flex-direction: column;
	justify-content: center;
}

.gfield--type-html p {
	font-size: 2rem;
}

.page-id-572 input[type="button"] {
    color: #111204 !important;
}

.gchoice.gchoice--selected,
.gchoice.gchoice--selected:hover {
    background-color: color-mix(in srgb, var(--color-secondary), transparent 40%);
    border: 0.2rem solid var(--color-secondary);
}

/*
 * Form Step Indicator
 */
.gf-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    padding: 2rem 0;
    gap: 0;
}

.gf-step-indicator .step {
    display: flex;
    align-items: center;
    position: relative;
}

.gf-step-indicator .step-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 0.2rem solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.gf-step-indicator .step.active .step-circle {
    background: #b9fd50;
    border-color: #b9fd50;
    box-shadow: 0 0 1.2rem rgba(185, 253, 80, 0.4);
}

.gf-step-indicator .step.completed .step-circle {
    background: #b9fd50;
    border-color: #b9fd50;
}

.gf-step-indicator .step-line {
    width: 6rem;
    height: 0.2rem;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.gf-step-indicator .step-line.completed {
    background: #b9fd50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gf-step-indicator .step-circle {
        width: 1.6rem;
        height: 1.6rem;
    }
    
    .gf-step-indicator .step-line {
        width: 4rem;
    }
}

/*
 * Industry Autocomplete Dropdown
 */
.industry-autocomplete-dropdown {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    max-height: 30rem;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.4rem;
    box-shadow: 0 1.2rem 4.8rem 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1.2rem);
    display: none;
    width: 100%;
}

.industry-autocomplete-dropdown .autocomplete-item {
    padding: 1.2rem 1.6rem;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s ease;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.05);
}

.industry-autocomplete-dropdown .autocomplete-item:last-child {
    border-bottom: none;
}

.industry-autocomplete-dropdown .autocomplete-item:hover,
.industry-autocomplete-dropdown .autocomplete-item.selected {
    background: rgba(185, 253, 80, 0.1);
    color: #b9fd50;
}

.industry-autocomplete-dropdown .autocomplete-item strong {
    color: #b9fd50;
    font-weight: 600;
}

/* Position the parent container for proper dropdown placement */
.page-id-572 .ginput_container {
    position: relative;
}

/* Custom scrollbar for dropdown */
.industry-autocomplete-dropdown::-webkit-scrollbar {
    width: 0.8rem;
}

.industry-autocomplete-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.4rem;
}

.industry-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: rgba(185, 253, 80, 0.3);
    border-radius: 0.4rem;
}

.industry-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(185, 253, 80, 0.5);
}

.gform-page-footer {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1.2rem;
    align-items: center;
    justify-content: center;
}