/* btns */
.btn {
	margin: 0;
	padding: 0.5rem 1.5rem;
	background: var(--grey-lighter);
	color: var(--grey-dark);
	font-size: 1rem;
	border: none;
	border-radius: 5px;
	min-height: 25px;
	min-width: 15px;
	line-height: 25px;
	vertical-align: middle;

	transition: all 0.15s ease-in-out;

	&.btn-important {
		background: var(--main-first);
		color: var(--white);

		&:hover,
		&:active {
			background: var(--main-first-alt);
		}

		img {
			filter: brightness(3);
		}
	}


	&.btn-attention {
		background: var(--alert-bg);
		color: #fff;

		&:hover,
		&:active {
			background: var(--alert-text);
		}
	}

	&:hover {
		text-decoration: none;
	}
}

/*=== Forms */
legend {
	margin: 2rem 0 1rem 0;
	padding: 0;
	display: inline-block;
	width: auto;
	font-size: 1rem;
	clear: both;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
}

label {
	min-height: 25px;
	padding: 5px 0;
	cursor: pointer;
	color: var(--grey-dark);
}

textarea {
	max-width: 100%;
}

input, select, textarea, button {
	padding: 5px 10px;
	background: var(--white);
	color: var(--grey-dark);
	font-family: "lato", "Helvetica", "Arial", sans-serif;
	font-size: 1rem;
	border: 1px solid var(--grey-light);
	border-radius: 2px;
	min-height: 25px;
	line-height: 25px;
}

select {
	padding-top: 9px;
	padding-bottom: 9px;
}

option {
	padding: 0 .5em;
}

input:focus, select:focus, textarea:focus {
	color: var(--main-font-color);
	border-color: var(--main-first);
}

input:user-invalid, select:user-invalid {
	color: var(--alert-bg);
	border-color: var(--alert-bg);
	box-shadow: none;
}

input:disabled, select:disabled {
	background: var(--grey-light);
}

.form-group {
	padding: 5px;
	border-radius: 3px;

	&::after {
		display: block;
		clear: both;
	}

	.group-name {
		padding: 10px 0;
	}

	.group-controls {
		min-height: 25px;
		padding: 5px 0;
	}

	.group-controls .control {
		line-height: 2.0em;
	}

	&.form-actions {
		margin: 15px 0 25px;
		padding: 5px 0;
	}

	&.form-actions .btn {
		margin: 0 0 0 0.5rem;
	}
}



