/* Form */

input, input, input, textarea, select {

@include vendor('transition', ('background-color 0.2s ease-in-out', 'border-color 0.2s ease-in-out'));
@include vendor('appearance', 'none');
position: relative;
background: none;
border: solid 1px _palette(border);
border-radius: 0;
color: inherit;
display: block;
padding: 0.75em;
text-decoration: none;
width: 100%;
outline: 0;

&:focus {
    border-color: _palette(one, bg);
}

}

input, input, input, select {

line-height: 1em;

}

select {

background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
background-size: 1.25rem;
background-repeat: no-repeat;
background-position: calc(100% - 1rem) center;
height: _size(element-height);
padding-right: _size(element-height);
text-overflow: ellipsis;

option {
    color: _palette(fg);
    background: _palette(bg);
}

&:focus {
    &::-ms-value {
        background-color: transparent;
    }
}

&::-ms-expand {
    display: none;
}

}

::-webkit-input-placeholder {

color: inherit;
opacity: 0.5;
position: relative;
top: 3px;

}

:-moz-placeholder {

color: inherit;
opacity: 0.5;

}

::-moz-placeholder {

color: inherit;
opacity: 0.5;

}

:-ms-input-placeholder {

color: inherit;
opacity: 0.5;

}

.required::after {

height: 100%;
box-sizing: border-box;
backgroud-color: blue;
content: '*';
position: relative;
color: red;
top: -16px;
left: calc(50% + 4px);
font-size: 26px;

}