select,
input,
input[type="text"],
input[type="email"],
textarea {
    background: #fff;
    border: 1px solid #c9c8c5;
    border-radius: 0.25rem;
    font-family: 'Maven Pro', Verdana, sans-serif;
    line-height: 40px;
    outline: none;
    padding: 0 10px;
}

textarea {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.6em;
    min-height: 150px;
}

input[type="text"]:hover,
input[type="text"]:focus,
input[type="email"]:hover,
input[type="email"]:focus,
input[type="password"]:hover,
input[type="password"]:focus,
select:hover,
select:focus,
textarea:hover,
textarea:focus {
    border-color: #a9a8a5;
}

.quiqqer-simple-contact label {
    margin: 10px 0;
}

.quiqqer-simple-contact input[type="checkbox"],
.quiqqer-simple-contact input[type="radio"] {
    margin-bottom: 0;
}

.quiqqer-simple-contact label > * {
    vertical-align: middle;
}

.quiqqer-simple-contact button {
    margin-top: 1rem;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #99a6b5;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #99a6b5;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #99a6b5;
}

:-moz-placeholder { /* Firefox 18- */
    color: #99a6b5;
}

::-moz-placeholder {
    opacity: 1;
}

/* height of qui select */
div.qui-select {
    height: 40px;
    line-height: 40px;
}

div.qui-select .text {
    height: inherit;
    line-height: inherit;
}

div.qui-select .text {
    height: inherit;
    line-height: inherit;
}

div.qui-select .drop-icon {
    height: inherit;
}

select {
    padding: 10px;
}

/** checkbox
 ===================================== */
input[type="checkbox"] {
    -webkit-appearance: none;
    background-color: #e5e5e5;
    border: none;
    border-radius: 0.25rem;
    display: inline-block;
    height: 12px;
    line-height: initial;
    margin-bottom: 0;
    margin-right: 10px;
    outline: none;
    padding: 9px;
    position: relative;
}

input[type="checkbox"]:checked {
    background: #d5d5d5;
}

input[type="checkbox"]:active,
input[type="checkbox"]:checked:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"]:checked:after {
    content: '\2713';
    font-size: 14px;
    left: 5px;
    position: absolute;
    top: -1px;
}

@supports (-ms-ime-align:auto) {
    input[type="checkbox"]:checked,
    input[type="checkbox"]:checked:active {
        border: none;
        padding: 3px 2px 4px;
    }
}

/** radio buttons
 ===================================== */

input[type="radio"] {
    -webkit-appearance: none;
    background-color: #fafafa;
    border: 1px solid #cacece;
    border-radius: 50px;
    display: inline-block;
    height: 12px;
    margin-bottom: 0;
    margin-right: 10px;
    outline: none;
    padding: 9px;
    position: relative;
}

input[type="radio"]:after {
    background: #99a1a7;
    border-radius: 50px;
    content: ' ';
    font-size: 32px;
    height: 12px;
    left: 3px;
    position: absolute;
    text-shadow: none;
    top: 3px;
    transform: scale(0);
    transition: 0.3s all;
    width: 12px;
}


input[type="radio"]:checked:after {
    transform: scale(1);
}

input[type="radio"]:checked {
    background-color: #e9ecee;
    border: 1px solid #adb8c0;
    color: #99a1a7;
}

@supports (-ms-ime-align:auto) {
    input[type="radio"] {
        padding: 9px 9px 10px 10px;
    }

    input[type="radio"]:checked {
        padding: 3px;
        background: #e9ecee;
    }
}

input[type="radio"]:active,
input[type="radio"]:checked:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
}

.form-group {
    margin-bottom: 1rem;
    width: 100%;
}

/*******************/
/* quiqqer/contact */
/*******************/
fieldset {
    border: none;
}

.qui-formfield {
    margin-bottom: 1.5rem;
}

.qui-form legend {
    background: none;
    font-size: 1rem;
}

.qui-formfield-body {
    padding: 0;
}

.qui-formfield-body label > * {
    vertical-align: middle;
}

.qui-formfield-body > input {
    margin-bottom: 0;
}

.qui-formfield-body label {
    margin-right: 1rem;
}

.qui-form input[type="submit"] {
    margin: 1rem 0 0 0;
    width: auto;
}