label {
    display: inline;
    margin: 0;
    margin-bottom: 0;
        font-weight:bold;
}

input[type=text], 
input[type=date], 
input[type=tel], 
input[type=email], 
input[type=number], 
input[type=password],
input[type=file],
select, 
textarea {
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
    font-family: inherit;
    outline: none;
    padding: 0.5em;
    margin: 0.4em 0 1.2em;
    font-size: 1em;
    line-height: normal;
    color: #555;
    background: transparent;
    background-image: none;
    border: 0.1em solid #d7d7d7;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: relative;
    width: 100%;
    display: block;
    z-index: 1;
}

select {
    cursor: hand;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 1.3em) calc(0.5em + 0.5em),
        calc(100% - 1em) calc(0.5em + 0.5em),
        calc(100% - 2.5em) 0.5em;
    background-size:
        0.35em 0.35em,
        0.35em 0.35em,
        0.1em 1.2em;
    background-repeat: no-repeat;
}

textarea {
    height: 7em;
}

input[type=submit],
button[type=submit],
button {
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
    font-family: inherit;
    outline: none;
    text-align: center;
    padding: 0.85em 2em;
    margin: 0.35em 0 1em;
    font-size: 1em;
    line-height: normal;
    color: #5f5f5f;
    background: transparent;
    background-image: none;
    border: 0.1em solid #d7d7d7;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: relative;
    display: inline-block;
    cursor: hand;
    cursor: pointer;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

input[type=submit]:hover,
button[type=submit]:hover,
button:hover {
    opacity: 0.7;
    color: #5f5f5f;
}
