:root {
	--teal-color: #36dcbf;
	--body-color: #091e49;

	--heading-font: var(--h4_typography-font-size);
	--text-font: var(--tec-font-family-sans-serif);
}

#tabbedsection .ui-tabs-nav a {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	color: black;
}

.crm-container {
	--font-family: var(--h4_typography-font-size);
	--border-color: #f1e6d7;
	--tab-bg: #e8edf1;
	--tab-bg--current: #444b98;
	--text-color: #091e49;

	--button-bg: #c0392b;
	--button-bg--hover: #63717f;
}

#tab-preProfileTab .crm-section, #tab-postProfileTab .crm-section {
	max-width: 1100px;
}

textarea {
	background: var(--tab-bg);
	border: none;
}

.crm-container:not(.select2-drop) {
	background: none;
	/*border-radius: 64px;
    border: solid 1px var(--border-color);
    padding: 48px;*/
	margin-bottom: 100px;

	/* TABS */
	.ui-tabs {
		padding: 0;
	}
	.ui-helper-clearfix:before,
	.ui-helper-clearfix:after {
		display: none;
	}

	.ui-widget.ui-widget-content {
		border: none;
	}

	.ui-tabs .ui-tabs-nav {
		background: none;
		display: flex;
		/*  gap: 8px; */
		padding: 0;
		border: none;
	}

	.ui-tabs .ui-tabs-nav li {
		text-align: center;
	}

	.ui-tabs .ui-tabs-nav li a {
		display: inline-block;
		float: none;
		padding: 5px;
		text-decoration: none;
		width: 100%;
	}

	.ui-tabs .ui-tabs-nav {
		padding: 0;
		margin: 0;
	}
	.ui-tabs-nav li.ui-tabs-tab {
		font-size: 12px;
		border-radius: 24px 24px 0 0;
		border: none;
		background: var(--tab-bg);
		padding: 16px 26px;
		margin: 0;
	}
	#tabbedsection li.ui-tabs-tab a {
		color: var(--text-color);
		font-weight: 500;
		font-family: var(--font-family);
		opacity: 0.6;
		padding: 0;
	}
	.ui-tabs-nav li.ui-tabs-active {
		background: var(--tab-bg--current);
		color: white;
	}
	#tabbedsection li.ui-tabs-active a {
		color: white;
		opacity: 1;
	}

	/* BODY */
	.ui-tabs .ui-tabs-panel {
		border: solid 1px var(--tab-bg);
		border-bottom: none;
		padding: 24px 24px 0;
	}

	label,
	.label,
	.ui-widget {
		font: var(--font-family);
		font-family: var(--font-family);
		font-size: 15px;
		color: var(--text-color);
		margin-bottom: 5px;
	}

	label.crm-inline-error {
		font-size: 12px;
		font-family: var(--font-family);
		color: #ef4122;
	}

	.crm-error {
		color: #ef4122;
		font-size: 16px;
	}

	.crm-marker {
		color: #ef4122;
	}

	fieldset {
		border: none;
		padding: 0;
		margin: 0;
	}
	legend {
		display: none;
	}
	br:has(+ .description) {
		display: none;
	}
	.description {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 32px;
		margin-top: 12px;
	}
	.helprow-pre .description {
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
	.ui-widget {
		input,
		select {
			/*border-radius: 100px;*/
			background: var(--tab-bg);
			border: none;
			font-family: Arial, sans-serif;
			font-weight: 500;
			font-size: 15px;
			color: var(--text-color);
			padding: 11px 16px;
		}
	}

	.crm-section {
		margin-bottom: 16px;
	}

	.ui-widget-content .crm-form-submit {
		font-size: 15px;
		background: var(--button-bg);
		padding: 12px 44px;
		transition: all 0.4s ease;

		&:hover {
			background: var(--button-bg--hover);
		}
	}
	.ui-widget-content .crm-form-submit .crm-i {
		color: #fff;
		font-weight: 700;
		font-family: var(--font-family);
		display: inline-flex;
		gap: 12px;
		align-items: center;
	}

	.ui-widget-content .crm-form-submit .crm-i.fa-spinner.fa-pulse {
		font: normal normal normal 14px / 1 FontAwesome;
	}

	.tab-navigation {
		border: solid 1px var(--tab-bg);
		border-top: none;
		padding: 24px 24px 32px;
		background: none;
		border-radius: 0 0 24px 24px;
	}
	.tab-navigation a {
		display: inline-block;
	}
	.ui-widget-content #next .crm-i {
		flex-direction: row-reverse;
	}

	.ui-widget-content #prev .crm-i::before {
		font-family: FontAwesome;
		font-weight: 400;
		content: "\f061";
		rotate: 180deg;
	}
	.ui-widget-content #next .crm-i::before {
		font-family: FontAwesome;
		font-weight: 400;
		content: "\f061";
	}

	.crm-public-footer {
		display: none;
	}

	/***********
     * STEP 2
     **/

	/*   Ticket Count  */
	/*.price-set-row {
		position: relative;
		padding-left: 0;
		padding-bottom: 0.5em;
	}*/
	/*.price-set-row input {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 35px;
		opacity: 0;
	}*/

	/*.price-set-row label:before,
	.price-set-row label:after {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		translate: 0 -50%;
		width: 25px;
		height: 25px;
		display: block;
		border-radius: 50%;
		border: 1px solid #30626d;
	}*/

	/*.price-set-row :checked + label:before {
		background: var(--text-color);
		border: solid 4px white;
		opacity: 0.6;
	}*/

	.price-set-option-content {
		font-family: var(--font-family);
	}

	.price-set-option-content label {
		margin: 10px;
	}

	/*   Ticket Total  */
	.section-pricesetTotal {
		display: flex;
		align-items: center;
		gap: 16px;
		margin-bottom: 30px;
	}
	.section-pricesetTotal .label {
		font-family: var(--font-family);
		font-weight: 700;
		text-transform: uppercase;
	}
	.section-pricesetTotal .calc-value {
		font-family: var(--font-family);
		font-size: 20px;
	}

	/* The Fields  */
	.credit_card_info-section {
		display: grid;
		gap: 12px;
		grid-template-columns: 1fr 1fr;
		margin-bottom: 50px;
	}
	.credit_card_info-section select.crm-form-select {
		grid-row: 1;
	}
	.credit_card_info-section .crm-inline-error {
		grid-row: 2;
	}
	.credit_card_exp_date-section .content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 12px;
	}
	.credit_card_number-section {
		grid-column: 1/3;
	}

	/*   Credit Card Icons/tabs  */
	.credit_card_type-section {
		grid-column: 1/3;
	}
	.crm-credit_card_type-icons a {
		font-family: FontAwesome;
		font-size: 40px;
		opacity: 0.25;
	}

	.crm-credit_card_type-icons a:hover {
		color: var(--tab-bg--current);
	}

	.crm-credit_card_type-icons span {
		display: none;
	}

	.crm-credit_card_type-icons {
		display: inline-flex;
		gap: 12px;
	}
	.crm-credit_card_type-icons .crm-credit_card_type-icon-visa:before {
		content: "\f1f0";
	}
	.crm-credit_card_type-icons .crm-credit_card_type-icon-mastercard:before {
		content: "\f1f1";
	}

	.crm-credit_card_type-icons .crm-credit_card_type-icon-amex:before {
		content: "\f1f3";
	}

	.crm-credit_card_type-icons .crm-credit_card_type-icon-discover:before {
		content: "\f1f2";
	}

	.crm-credit_card_type-icons .crm-credit_card_type-icon-jcb:before {
		content: "\f24b";
	}

	/* Select 2 */
	.select2-container {
		width: 100% !important;
	}
	.select2-results {
		font-family: "Manrope";
		font-size: 15px !important;
	}
	.select2-container .select2-choice {
		background: var(--tab-bg);
		/*border-radius: 100px;*/
		height: 45px;
		display: flex;
		align-items: center;
		border: none;
		padding: 11px 16px;
	}
	.select2-container.select2-container-disabled {
		opacity: 0.5;
	}
	.select2-container .select2-choice .select2-arrow {
		background: none;
		border: none;
		width: auto;
		height: auto;
		top: 50%;
		right: 15px;
		translate: 0 -50%;
	}
	.select2-container .select2-arrow b {
		font-family: FontAwesome;
		background: none;
	}
	.select2-container .select2-arrow b:before {
		content: "\f107";
		font-size: 20px;
	}
	.select2-container.select2-allowclear .select2-choice abbr,
	.select2-search-choice-close {
		display: none;
	}
	.select2-container .select2-choice .select2-arrow b,
	.select2-container .select2-choice abbr,
	.select2-search input,
	.select2-search-choice-close {
		background-image: none !important;
	}
	.select2-container .select2-chosen {
		font-family: var(--font-family);
		font-size: 15px;
		color: var(--text-color);
	}

	/* .billing_last_name-section{
        margin-bottom: 66px;
    } */

	/* SUBMIT */
	.crm-submit-buttons {
		/* height: auto; */
		display: inline;
	}
	.crm-submit-buttons .crm-form-submit {
		outline: none;
		border: none;
		font-family: var(--text-font);
		font-size: 15px;
		font-weight: 800;
		text-transform: none;
		letter-spacing: 0.36px;
		color: #fff;
		background-color: var(--primary_color);
		padding: 16px 44px;
		display: inline-block;
		float: none;
		cursor: pointer;
	}

	.crm-submit-buttons .crm-form-submit:hover {
		background: var(--button-bg--hover);
	}
	.crm-submit-buttons .crm-form-submit .crm-i {
		display: none;
	}
	.crm-submit-buttons .crm-form-submit .crm-i.fa-pulse.fa-spinner {
		display: inline-block;
	}
	.help,
	.status {
		background: none;
		border: solid 1px var(--tab-bg);
		border-radius: 24px;
		padding: 24px;
		font-size: 16px;
		margin: 0 0 24px;
	}
	.help[class] p,
	.status[class] p {
		font-size: 16px !important;
		margin: 0;
	}
	.crm-submit-buttons button {
		display: inline-block;
	}

	.crm-group.event_fees-group,
	.crm-group.event_info-group,
	.crm-group.participant_info-group {
		margin-top: 24px;
	}

	.crm-group.event_fees-group .header-dark,
	.crm-group.event_info-group .header-dark,
	.crm-group.participant_info-group .header-dark {
		background: var(--tab-bg--current);
		padding: 10px 12px;
		font-family: var(--font-family);
	}

	.crm-profile-view-title {
		font-family: var(--font-family);
		margin: 24px 0 6px;
	}

	.crm-public-form-item {
		font-family: var(--font-family);
		margin-bottom: 15px !important;
	}

	.label-left.no-border {
		.crm-public-form-item .label {
			font-weight: 700;
			font-size: 12px;
			width: 25%;
		}

		.crm-public-form-item .content {
			margin-left: 25%;
		}
	}

	.crm-group.event_fees-group .content {
		font-family: var(--font-family);
		font-size: 18px !important;
	}

	.crm-group.event_info-group {
		margin-bottom: 24px;

		.display-block {
			margin: 12px 0;
		}

		table.form-layout tbody > tr:hover {
			background: none;
		}
		table.form-layout tbody > tr:nth-of-type(even) td {
			font-family: var(--font-family);
			font-size: 16px;
			background: none;
		}
		table.form-layout tbody > tr:nth-of-type(odd) td {
			font-family: var(--font-family);
			font-size: 18px;
			background: none;
		}
	}

	.action-link {
		margin-top: 15px;

		a {
			display: block;
			margin: 10px 0;
		}
	}

	.event_info_link-section {
		a {
			outline: none;
			border: none;
			font-family: "Manrope", Sans-serif;
			font-size: 15px;
			font-weight: 800;
			text-transform: none;
			letter-spacing: 0.36px;
			color: var(--e-global-color-text);
			background-color: var(--e-global-color-ec4c15d);
			border-radius: 0px 20px 0px 20px;
			padding: 16px 44px;
			display: inline-block;
			float: none;
		}

		i {
			display: none;
		}
	}
}

/* Select2 Dropdown */

.select2-drop.crm-container {
	background: var(--tab-bg);
	border: none;
	padding: 12px;
	border-radius: 24px;

	.select2-results .select2-highlighted {
		background: var(--tab-bg--current);
	}
}

/* Radio buttons */
/*
.editrow_custom_90-section label {
	padding-left: 0.5em;
}

.crm-form-radio + label {
	position: relative;
	padding-left: 2em;
}

.crm-form-radio {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 35px;
	opacity: 0;
}

.crm-form-radio:checked + label:before {
	background: var(--text-color);
	border: solid 4px white;
	opacity: 0.6;
}

.crm-form-radio + label:before,
.crm-form-radio + label:after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	translate: 0 -50%;
	width: 25px;
	height: 25px;
	display: block;
	border-radius: 50%;
	border: 1px solid #30626d;
}

/*.price-set-row.Registration_Fee_non_refundable-row1,
.price-set-row.Client_Fees-row2 {
	padding-left: 0 !important;
}*/


@media screen and (max-width: 400px) {
	#pricesetTotal {
		flex-wrap: wrap;
	}

	.tab-navigation {
		text-align: center;
	}

	.tab-navigation a.crm-button {
		display: block;
		text-align: center;
	}

	.tab-navigation a.crm-button:first-child {
		margin-bottom: 10px;
	}
}

.crm-section.helprow-pre * {
	overflow-wrap: anywhere;
}

.crm-section.helprow-pre ul {
	-moz-column-count: 1 !important;
	-webkit-column-count: 1 !important;
	column-count: 1 !important;
}

.swal2-header .swal2-icon .swal2-icon-content {
	color: var(--teal-color);
}

.swal2-header .swal2-icon.swal2-info {
	border-color: var(--teal-color) !important;
}

.swal2-content .swal2-html-container {
	font-family: var(--text-font);
	color: var(--body-color);
}

.swal2-actions .swal2-confirm.swal2-styled {
	font-family: var(--heading-font);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.36px;
	color: var(--body-color);
	background-color: var(--teal-color) !important;
	border-radius: 0px 20px 0px 20px;
	padding: 12px 24px 12px 24px;
}

/* Help text */

.crm-price-amount-help-post ul {
	margin-left: 15px;
	font-style: italic;
}

/* END Help text */

/* Percentage Price Field customisations */
.crm-container .price-set-row .price-set-option-content label.percentage-label {
 pointer-events: none;
 font-weight: var(--tec-font-weight-bold);
}
