/* TODO: Not sure if these are needed, because the form is completely rewritten */
.gchoice_1_12_1,
.gchoice_1_12_2 {
	display: flex;
	justify-content: space-between;
	width: 50%;
}

.tpx-subfield {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-right: 10px;
}

.tpx-subfield label,
.tpx-subfield .ginput_container {
	flex: 1;
}

.tpx-subfield .ginput_container select {
	width: 99% !important;
}

.tpx-color-picker input[type="color"] {
	padding: 0 !important;
	width: 35px !important;
	height: 35px !important;
}

/* end initial version */

.tpx-field-xxxsmall input {
	width: 10% !important;
}

.tpx-field-package.image-choices-field .image-choices-choice-image-wrap {
	width: 150px;
	height: 150px;
	margin: 0 auto;
}

.tpx-field-package .gfield_radio {
	display: flex;
	flex-direction: column;
}

.tpx-field-package .gfield_radio li.image-choices-choice {
	flex: 1;
}

.tpx-sub-header h5 {
	color: #000;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

@media screen and (min-width: 550px) {

	.tpx-field-package .gfield_radio {
		flex-direction: row;
	}
}

@media screen and (max-width: 549px) {

	.gform_wrapper .gfield_checkbox li,
	.gform_wrapper .gfield_radio li {
		margin: 0 !important;
	}
}

.tpx-field-package .gfield_description {
	display: flex;
}

.tpx-field-package .gfield_description div {
	font-size: 1.1rem;
	padding: 0 10px 0 0;
}

.gform_wrapper .tpx-event-step-with-help ul.gform_fields {
	display: grid;
	grid-template-columns: 25% 25% 50%;
}

ul.gform_fields li.tpx-single-form-header-container {
	grid-column: 1 / span 4;
}

.tpx-single-form-header {
	width: inherit;
	height: 50px;
	text-align: center;
	background-color: #999;
	background-repeat: repeat;
	padding: 13px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.tpx-single-form-header span {
	color: white;
	text-transform: uppercase;
	font-style: italic;
}

.tpx-event-step-with-help li.gfield {
	grid-column: 1 / span 2;
}

.tpx-event-step-with-help li.tpx-event-field-left {
	grid-column: 1;
}

.tpx-event-step-with-help li.tpx-event-field-right {

	/*here is where it gets interesting*/
	grid-column: 2;
}

.tpx-event-step-with-help li.tpx-event-field-more-left {
	grid-column: 3;
}

.tpx-event-step-with-help li.tpx-event-field-more-right {
	grid-column: 4;
}

.tpx-event-step-with-help li.tpx-grid-horizontal-rectangle {
	grid-area: span 1 / span 2;
}

.tpx-event-step-with-help li.tpx-grid-square {
	grid-area: span 2 / span 2;
}

.tpx-event-step-with-help li.tpx-grid-right-square {
	grid-column: 3 / span 2;
	grid-row: span 2;
}

.tpx-event-step-with-help li.tpx-grid-right-horizontal-rectangle {
	grid-column: 3 / span 2;
	grid-row: span 1;
}

.tpx-event-step-with-help li.tpx-event-help {
	grid-column: 3;
	grid-row: 1 / 10;
}

.tpx-event-help img {
	width: 100%;
}

.tpx-uploaded-image input {
	height: auto !important;
	padding: 0 2px !important;
	margin: 0 !important;
}

.tpx-uploaded-image-remove label.gfield_label {
	display: none !important;
}

.tpx-uploaded-image-remove .gfield_description {
	margin: 0 !important;
	padding: 0 !important;
}

.tpx-uploaded-image-remove .ginput_container.ginput_container_checkbox {
	margin: 0 !important;
	padding: 0 !important;
}

.tpx-uploaded-image-remove ul.gfield_checkbox li {
	line-height: 1.4;
}

table.tpx-event-details td {
	vertical-align: top;
}

.tpx-table-header {
	font-weight: 900;
}

.tpx-center {
	text-align: center;
}

.tpx-no-padding {
	padding: 0;
}

.tpx-actions {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.tpx-action .fa-download,
.tpx-action .fa-qrcode {
	cursor: pointer;
}

.tpx-action i {
	color: #4d7179;
}

.tpx-action-manage i {
	color: #fff;
	padding: 5px;
}

.tpx-action i:hover {
	color: #000;
}

.tpx-action-manage {
	padding: 5px 10px;
}

.tpx-action-event-manage {
	padding: 0;
	margin: 0;
}

.tippy-tooltip.tpx-theme {
	background-color: #4d7179;
	color: #000;
}

.tippy-tooltip.tpx-theme[data-placement^="top"] .tippy-arrow {
	border-top-color: #4d7179;
}

.tippy-tooltip.tpx-theme[data-placement^="bottom"] .tippy-arrow {
	border-bottom-color: #4d7179;
}

.tippy-tooltip.tpx-theme[data-placement^="left"] .tippy-arrow {
	border-left-color: #4d7179;
}

.tippy-tooltip.tpx-theme[data-placement^="right"] .tippy-arrow {
	border-right-color: #4d7179;
}

.status-disabled,
.tpx-action-manage i.status-disabled {
	color: #ccc;
	cursor: not-allowed;
}

.fade {
	opacity: 1;
	animation: fade 5s infinite;
}

.tpx-action .fa-trash {
	cursor: pointer;
}

.tpx-popup .tingle-modal-box {
	width: auto;
}

.tpx-popup h1 {
	text-align: center;
}

.tpx-popup svg {
	display: block;
	margin: 0 auto;
}

@keyframes fade {

	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

.tpx-hide {
	display: none !important;
}

.tpx-preset-list-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 550px) {

	.tpx-preset-list-wrapper {
		grid-template-columns: repeat(3, 1fr);
	}
}

.tpx-preset-list-wrapper input[type="radio"] {
	opacity: 0;
	position: absolute;
}

.tpx-preset-preview {
	position: relative;
}

label.tpx-preset-selector {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 120px;
	height: 35px;
	margin: 0 15px 15px;
	background-color: #fff;
	border-radius: 2px;
	color: #000;
	cursor: pointer;
}

.tpx-preset-preview input[type="radio"]:focus + label {
	outline: rgba(77, 97, 171, 0.5) auto 3px;
}

label.tpx-preset-selector span {
	display: block;
	height: 35px;
	text-align: center;
	vertical-align: middle;
	line-height: 2.5;
	text-transform: uppercase;
}

.tpx-preset-preview input[type="radio"]:checked + label.tpx-preset-selector {
	background-color: #000;
	color: #fff;
}

.tpx-preset-video-link {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	padding: 10px 15px;
	color: #fff;
	background: rgba(153, 153, 153, 0.9);
}

.tpx-country .address_country {
	width: 101.7% !important;
}

.tpx-custom-list-container label {
	width: fit-content;
	height: fit-content;
	float: right;
	margin-left: 7px;
}

.tpx-custom-list-container label span {
	float: right;
	padding: 3px 10px;
	text-align: center;
}

.tpx-custom-list-container label input {
	display: none;
}

.tpx-custom-dropdown {
	float: left;
	width: 41%;
	height: 32px;
	cursor: pointer;
}

.tpx-upload-item {
	border: 1px solid #00a523;
}

.tpx-remove-item {
	border: 1px solid #9c0f17;
}

.tpx-custom-list-container ul.tpx-item-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	width: 100%;
	height: auto;
	max-height: 525px;
	overflow-y: auto;
	margin: 0 !important;
}

.tpx-sticker-image {
	flex-direction: column;
	align-self: stretch;
	justify-content: center;
	padding: 5px;
	width: 110px;
	height: 110px;
	margin-bottom: 5px;
	margin-right: 5px;
	background-color: #aaa;
}

.tpx-sticker-image:hover {
	background-color: #888;
	cursor: pointer;
}

.tpx-sticker-image.tpx-sticker-image-selected {
	background-color: #0080ff;
}

.tpx-sticker-image img {
	width: auto;
	height: auto;
}

select.tpx-custom-dropdown {
	text-transform: capitalize;
}

.tpx-remove-item,
.tpx-upload-item,
.tpx-confirm-items {
	cursor: pointer;
}

.tpx-instruction {
	margin-bottom: 10px;
}

.tpx-select-multiple select {
	overflow: auto;
}

@media screen and (max-width: 550px) {

	.tpx-custom-dropdown {
		float: left;
		width: 65%;
		height: 32px;
		cursor: pointer;
	}

	.tpx-custom-list-container ul.tpx-item-list {
		width: 100%;
		max-height: 525px;
		margin-left: auto !important;
		overflow-y: auto;
	}

	.tpx-custom-list-container {
		grid-column: 1 / span 2;
	}

	.tpx-event-step-with-help li.tpx-grid-right-square {
		grid-column: 1 / span 2;
		grid-row: span 2;
	}

	.tpx-event-step-with-help li.tpx-grid-right-horizontal-rectangle {
		grid-column: 1 / span 2;
		grid-row: span 1;
	}

	.tpx-event-step-with-help li.tpx-event-field-more-left {
		grid-column: 1;
	}

	.tpx-event-step-with-help li.tpx-event-field-more-right {
		grid-column: 2;
	}

	ul.gform_fields li.tpx-single-form-header-container {
		grid-column: 1 / span 2;
	}
}

.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
	line-height: 1.5 !important;
}

.gform_wrapper .tpx-event-functions .gfield_checkbox li,
.gform_wrapper .tpx-event-functions .gfield_radio li {
	line-height: 1.8 !important;
}

.gform_wrapper table.gfield_list td {
	padding: 0 !important;
}

.gform_wrapper table.gfield_list tr:first-child td input {
	margin-top: 0;
}

.woocommerce-simple-registration-login-link {
	display: none;
}

.tpx-overlay-preview img {
	margin: 10px 0;
	max-height: 400px;
	border: 1px solid #293133;
}

.my-account h4 {
	font-size: 1.1em;
	color: #555;
	padding-top: 15px;
	padding-bottom: 5px;
}

legend {
	width: auto;
	text-transform: none;
	color: #222;
}

.tpx-dashboard-message {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid rgb(173 136 18);
	color: #555;
	font-weight: 600;
	background-color: rgb(233, 183, 21);
}
