/*
 * Custom style for Gravity Forms
 */

.nodisplay{
    height: 0;
    position: absolute;
    width: 0;
    visibility: hidden;
}

.gform_wrapper.gravity-theme .gf_progressbar_title{
    color: var(--adf2023-color-blue);
    font-size: 1em;
    font-weight: 700;
}
.gf_progressbar{
    border: 3px solid var(--adf2023-color-blue);
}

.registration-wrapper .gform_body{
    background-color: var(--adf2023-color-lightpink);
    padding: 5px;
}

.section-one h1{
    color: var(--adf2023-color-blue);
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.session-wrapper h2,
.workshops-heading-wrapper h2,
.public-talks-wrapper h2 {
    font-size: 1em;
    margin-bottom: 0;
}
.session-wrapper .session-meta{
    font-size: 1rem;
    line-height: 1.3;
}
.session-wrapper .session-meta .presenter{
    font-style: italic;
    font-weight: 700;
}

.session-wrapper .footnote,
.frm-summary-container .footnote {
    font-size: 0.75em;
}
.session-wrapper .footnote .asterisk,
.frm-summary-container .footnote .asterisk {
    color: var(--adf2023-color-red);
}


.frm-summary-container .sub-section-title,
.payment-method-container .payment-label{
    font-weight: 700;
}

.frm-summary-container .frm-field-wrapper{
    border-bottom: 1px solid var(--adf2023-color-lightgrey);
    padding: 15px 0;
}
.frm-summary-container .frm-label{
    font-weight: 700;
}
.frm-summary-container .frm-input{
    line-height: 1.1;
}

.frm-summary-container .sub-section-total {
    color: var(--adf2023-color-blue);
    font-size: 1.25em;
    font-weight: 700;
}

.payment-method-container .fee-item-wrapper,
.payment-method-container .total-payable-wrapper{
    align-items: flex-start;
    column-gap: 30px;
    display: flex;
    justify-content: space-between;
}

.payment-method-container .total-payable-wrapper{
    margin-top: 30px;
}
.payment-method-container .fee-payable{
    color: var(--adf2023-color-blue);
    font-weight: 700;
}
.payment-method-container .remark-wrapper{
    border: 1px solid var(--adf2023-color-red);
    font-style: italic;
    margin-top: 30px;
    padding: 10px 30px;
}

.gform_next_button.button,
.gform_previous_button.button,
.gform_button.button{
    background-color: var(--adf2023-color-blue);
    border-radius: 30px;
    border: 1px solid var(--adf2023-color-blue);
    box-shadow: 2px 2px 6px #666;
    color: var(--adf2023-color-white);
    font-size: 1em;
    font-weight: 700;
    padding: 10px 60px;
    text-transform: uppercase;
    transition: all 0.5s;
}
.gform_next_button.button:hover,
.gform_previous_button.button:hover,
.gform_button.button:hover{
    background-color: transparent;
    box-shadow: none;
    color: var(--adf2023-color-blue);
    cursor: pointer;
}

.gform_confirmation_wrapper .message{
    background-color: var(--adf2023-color-lightpink);
}
.gform_confirmation_wrapper .confirmation-header-wrapper{
    text-align: center;
}
.gform_confirmation_wrapper p{
    text-align: center;
}

#field_1_1 .gfield_label,
#field_1_6 .gfield_label,
#field_1_33 .gfield_label,
#field_1_37 .gfield_label {
    margin-bottom: 0;
}

/* 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;
	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(--adf2023-color-blue);
	}
	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(--adf2023-color-blue) transparent transparent transparent;
}
.overlay.event-two .lds-ring div {
	border-color: var(--adf2023-color-blue) 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){

    .registration-wrapper .gform_body {
        padding: 15px;
    }

    .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;
        line-height: 1.6;
    }
}