form .formbutton {
	margin: 0;
    background: var(--cnb-color-main);
    border-radius: 100px;
    font-size: .9em;
    padding: 0.9em 1.9em;
    letter-spacing: .16em;
    font-weight: 700;
    line-height: 1em;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cnb-color-text);
    display: inline-block;
    margin: 2em 0;
}

form .formbutton:hover {
    background: var(--cnb-color-dark);
    color: var(--cnb-color-text);
}

form input {
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

form label.label {
	min-width: 9em;
    margin-bottom: 0.25em;
}

form label.input input {
	padding: 0 15px;
    font-size: 16px;
    border-radius: calc(38px / 2);
    border: 1px solid #ccc;
    line-height: 38px;
    min-width: 19em;
}

form label.input input:read-only {
  background-color: #EEEEEE;
}

form fieldset section {
	margin-bottom: 1em;
}

form label.select {
	width: 100%;
}

form select {
    display: block;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #212529;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    appearance: none;
    margin-top: 0.2em;
}

form label.radio {
	width: 100%;
	margin-top: 0.75em;
	display: flex;
	align-items: center;
}

form label.checkbox {
    width: 100%;
    margin-top: 0.75em;
    display: flex;
    align-items: center;
}

form label.textarea {
	width: 100%;
}

form label.textarea textarea{
	min-width: 100%;
    height: 100px;
    padding: 15px;
    font-size: 16px;
    border-radius: calc(38px / 2);
    border: 1px solid #ccc;
    line-height: 38px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

form label.textarea textarea:focus { 
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

form select {
	padding: 0 15px;
    padding-right: 40px;
    border-radius: 100px;
    border: 1px solid #ccc;
    background-image: url(../img/icons/chevron-down.svg);
    background-position: right 15px center;
    background-size: auto;
    line-height: 38px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

form select:focus { 
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

form fieldset section.radio {
	margin-bottom: 2em;
}

form fieldset section.select {
	margin-bottom: 2em;
}

form header {
    color: red;
    margin-bottom: 0.25em;
}

form .note-error {
    color: red;
    margin-top: 0.25em;
}

.sky-form form footer {
    display: flex;
}

.btn.btn-primary.formbutton.submitbutton {
    margin-right: 1.5em;
}

@media (max-width: 575px) {
	form label.label {
		margin-bottom: 0.2em;
	}

	form label.input {
		min-width: 100%;
	}

	form label.input input {
	    min-width: 100%;
	}
}

@media (min-width: 576px) {
	form label.textarea {
		min-width: 31em;
	}

	form label.textarea textarea{
		min-width: 31em;
	}
}
