/**
 * CSS styles
 * for Forms: base part
 *
 */

.form-section {
}

.form-section .container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.form-section .form-group {
	margin-bottom: 15px;
}
.form-section .form-button-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	align-items: center;
}
.form-section .form-button-group .btn:not(:last-child) {
	margin-right: 10px;
}

.form-section label {
	font-family: RobotoMedium, Arial, sans-serif;
}
.form-section .star-required {
	color: var(--danger); 
}

.form-section form textarea,
.form-section form input {
	background-color: rgba(0, 0, 0, 0.02);
}

.form-section .form-group .form-value-examples {
	display: block;
}
.form-section .form-group .form-value-examples span:not(:first-child) {
	margin-left: 0.5rem;
}
.form-section .form-group .form-value-examples span.value {
	text-decoration: underline;
	text-decoration-style: dashed;
	cursor: pointer;
}
.form-section .form-group .form-value-examples span.value:hover {
	text-decoration: none;
}

.form-section .form-errors {
	color: var(--danger);
}

.form-section .invalid-feedback {
	color: var(--danger);
}
.form-section .is-invalid .invalid-feedback {
	display: block;
}

.form-section .form-control.is-invalid {
	border-color: var(--danger);
}

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

	.form-section .container {
		padding: 0;
	}
	.form-section form {
		width: 100% !important;
	}
	.form-section form textarea,
	.form-section form input {
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	.form-section form label,
	.form-section form small {
		padding: 0 0.75rem;
		display: inline-block;
	}
	.form-section .form-errors,
	.form-section .invalid-feedback,
	.form-section .form-comment-group,
	.form-section .form-button-group {
		padding: 0 0.75rem;
	}
	.form-section .form-check {
		padding: 0 2.25rem;
	}
	.form-section .form-control:focus {
		box-shadow: 0 0 0 .10rem rgba(13,110,253,.25)
	}

}
