.form-line {
	clear: both;
	padding-bottom: 1rem;
}

.form-line label {
	display: block;
}

.form-line input, .form-line select, .form-line textarea {
	width: 100%;
}

.form-line input[type="checkbox"] {
	width: auto;
	height: auto;
	margin: 0 12px 0 0;
}

.hidden {
	display: none !important;
}

.re-form {
	width: 100%;
	max-width: 100%;
}

.re-form input, .re-form select, .re-form textarea {
	width: 100%;
}

.errors {
	border: 1px solid #f00;
	border-radius: 5px;
	margin: 0 0 1rem 0;
	padding: 1rem;
	color: #f00;
}

.success {
	border: 1px solid rgb(36, 121, 69);
	border-radius: 5px;
	margin: 0 0 1rem 0;
	padding: 1rem;
	color: rgb(36, 121, 69);
}

.re-columns {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 10px;
	margin-bottom: 1rem;
}

.re-group {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

.orline {
	line-height: 41px;
}

#commentform input#submit {
	color: #fff !important;
}

.buttons {
	display: flex;
	gap: 10px;
}

.button-back {
	float: none !important;
	margin: 0 0 20px auto;
	display: block;
    width: fit-content;
}

.btn-small {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: 13px !important;
}

.btn-white {
	background-color: #fff !important;
	color: #0061B0 !important;
	border: 1px solid #0061B0 !important;
}

.btn-blue,
button[name="register_event"],
#add-vehicle-button,
.delete-vehicle-btn,
input[name="update_profile"],
input[name="add_vehicle"],
input[name="register_racer"],
.edit-vehicle-btn {
	background-color: #0061B0 !important;
	color: #fff !important;
	white-space: nowrap;
	outline: none;
	border-color: #0061B0 !important;
}

.btn-blue:hover,
button[name="register_event"]:hover,
#add-vehicle-button:hover,
.delete-vehicle-btn:hover,
.btn-blue-border:hover,
input[name="update_profile"]:hover,
input[name="add_vehicle"]:hover,
input[name="register_racer"]:hover,
.edit-vehicle-btn:hover {
	background-color: #004E8D !important;
	color: #fff !important;
}

.btn-blue-border {
	border: 1px solid #0061B0 !important;
	background-color: #fff !important;
	color: #0061B0 !important;
	float: right;
}

#vehicle-form.loading {
	opacity: 0.4;
}

.select2-container { min-width: 100%; }
.select2-container--default .select2-selection--multiple { padding: 0; }
.select2-container--default .select2-selection--multiple textarea { margin: 0 !important; padding: var(--formfieldpadding); padding-left: 10px !important; height: 26px !important; }

.double {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.triple {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

.price_estimates {
	width: max-content;
	margin: 30px 0 30px 0;
}

.price_estimates .line {
	display: grid;
	grid-template-columns: auto 70px 90px;
	text-align: right;
}

.price_estimates .amount {
	text-align: center;
}

.price_estimates label {
	font-weight: bold;
}

.price_estimates .total {
	font-size: 18px;
	border-top: 1px solid #ccc;
	font-weight: bold;
	padding-top: 10px;
	margin-top: 10px;
}

.accordion h2 {
	background-color: #111827;
	padding: 5px 10px;
	margin: 0 !important;
	cursor: pointer;
	font-size: 30px;
	color: #fff;
}

.accordion form {
	padding: 0 10px !important;
	height: auto;
	max-height: 0;
	overflow: hidden;
	transition: all 1s;
	border: 1px solid #ddd;
	border-top: none;
}

.accordion form.opened {
	padding: 10px !important;
	max-height: 2000px;
}

.crew-member {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 10px;
	align-items: center;
	margin-bottom: 5px;
}

.crew-member input {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-size: 13px !important;
}

.tropen td {
	border: none !important;
}

tr.event_details_row {
	background-color: #eee;
}

.events-table tr th {
	border-bottom: 3px solid #d5d8dc;
}

.events-table tr td {
	border-bottom: 1px solid #d5d8dc;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	margin-top: 5px;
	margin-bottom: 5px;
}

.events-table .double {
	align-items: flex-end;
}

.events-table .button, .event-table .btn-blue {
	display: inline-block !important;
	font-size: 14px !important;
	padding: 7px 12px !important;
	line-height: 21px !important;
	min-width: 80px;
	text-align: center;
}

#vehicle-list table:has(tbody:empty) thead {
    display: none;
}

@media screen and (max-width: 900px) {
	.re-columns { grid-template-columns: 1fr; }
	.re-group { grid-template-columns: 1fr; }
	.triple { grid-template-columns: 1fr; }
	.btn-blue-border { width: 100%; float: none; margin: 20px 0 0 0; }
}