/*
 * Custom style for Gravity Forms
 */

.gform_wrapper.gform-theme--framework .nodisplay,
.gform_wrapper.gform-theme--framework fieldset.nodisplay > *{
    visibility: hidden;
    height: 0;
    position: absolute;
}

.gform_wrapper.gform-theme--framework .gfield_label,
.gform_wrapper.gform-theme--framework .gfield_radio .gform-field-label{
    color: var(--heuristic-color-white);
    font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
}
.gform_wrapper.gform-theme--framework .legend-no-spacing .gfield_label{
    margin-bottom: 0;
}

.gform_wrapper.gform-theme--framework{
    max-width: var(--heuristic-section-max-width);
}

.gform_wrapper.gform-theme--framework .gsection_title{
    margin-bottom: 0;
}

.gform_wrapper.gform-theme--framework .gsection_description{
    padding-bottom: 0;
}
.gform_wrapper.gform-theme--framework .gsection_description p:first-child{
    margin-top: 0;
}

.gform_wrapper.gform-theme--framework .gfield_label.gform-field-label .gfield_description{
    color: var(--heuristic-color-white);
    padding-top: 0;
}

.gform_wrapper.gform-theme--framework .gfield--has-description .gform-field-label{
    margin-bottom: 0;
}
.gform_wrapper.gform-theme--framework .gfield--has-description .gfield_description{
    padding-bottom: 0.5rem;
}

.gform_wrapper.gform-theme--framework .section-header{
    color: var(--heuristic-color-white);
    font-size: var(--heuristic-font-size-h5);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.gform_wrapper.gform-theme--framework .gfield_required.gfield_required_text{
    margin-left: 0.5rem;
}

/**
 * Phone country selector
 **/
.iti__country-name,
.iti__dial-code,
.iti__selected-dial-code{
    color: var(--heuristic-color-black);
}

#gform_wrapper_1 .section-header-wrapper{
    width: 100%;
}
#gform_wrapper_1 .section-description{
    text-align: center;
}

.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_next_button.button.gform-theme-button,
.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_previous_button.button.gform-theme-button,
.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_button.button,
.gform_save_link.button,
.gform_button_select_files.button,
.page-home .gform_wrapper.gform-theme--framework.heuristic_form_wrapper input[type="submit"].gform_button.button{
    background: linear-gradient( to right, #f26c3b, #ed3774);
    border-radius: 5px;
    box-shadow: 2px 2px 6px var(--heuristic-color-grey);
    color: var(--heuristic-color-white);
    font-size: 1em;
    font-weight: 700;
    padding: 10px 60px;
    text-transform: uppercase;
    transition: all 0.5s;
}
.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_next_button.button:hover,
.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_previous_button.button:hover,
.gform_wrapper.gform-theme--framework.heuristic_form_wrapper .gform_button.button:hover,
.gform_save_link.button:hover,
.gform_button_select_files.button:hover,
.page-home .gform_wrapper.gform-theme--framework.heuristic_form_wrapper input[type="submit"].gform_button.button:hover{
    background: var(--heuristic-color-white);
    box-shadow: none;
    color: var(--heuristic-color-pink);
    cursor: pointer;
}

.gform_confirmation_wrapper p{
    text-align: center;
}
.gform_confirmation_wrapper a{
    color: var(--heuristic-color-grey);
}

.gform_confirmation_wrapper{
    padding: 30px;
}

.gform_confirmation_wrapper .section-header-container{
    text-transform: uppercase;
}
.gform_confirmation_wrapper .section-header-container .section-header-wrapper{
    margin: 0 auto;
}
.gform_confirmation_wrapper .section-header{
    color: var(--heuristic-color-white);
    font-size: var(--heuristic-font-size-h5);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}
.gform_confirmation_wrapper .highlight-text{
    color: var(--heuristic-color-white);
}

/* Overlay */
.overlay{
	background-color: rgba(0,0,0,0.5);
    bottom: 0;
	display: none;
    left: 0;
	margin: 0;
	position: fixed;
    right: 0;
	top: -1.5rem;
	z-index: 200;
}
.overlay .text_wrapper{
	background-color: #fff;
    color: #000;
	border-radius: 0.2em;
	font-weight: 700;
	margin: 30vh auto auto;
	text-align: center;
	font-size: 0.8em;
	padding: 20px;
	width: 70%;
}

/** Animation **/
@keyframes pulse {
	from {
		box-shadow: 0 0 0 0px var(--heuristic-color-pink);
	}
	to {
		box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
	}
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite !important;
  border-color: var(--heuristic-color-pink) transparent transparent transparent;
}
.overlay.event-two .lds-ring div {
	border-color: var(--heuristic-color-pink) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s !important;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s !important;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s !important;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media all and (min-width: 641px){
    .gform_wrapper.gform-theme--framework .ginput_complex .name_first,
    .gform_wrapper.gform-theme--framework .ginput_complex .name_last{
        flex: 2;
    }

    .frm-summary-container .frm-field-wrapper{
        align-items: flex-start;
        display: flex;
        justify-content: flex-start;
    }
    .frm-summary-container .frm-label{
        flex: 1;
    }
    .frm-summary-container .frm-input{
        flex: 1;
    }
}

@media all and (min-width: 1024px){
    .gform_confirmation_wrapper .section-header{
        display: grid;
    }
}