.upload
{
display: inline-block;
position: relative;
overflow: hidden;
padding: 0;
margin: 0;
vertical-align: bottom;
}

.upload input[type="file"]
{
display: block;
overflow: hidden;
opacity: 0;
position: absolute;
top: auto;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 0;
}

.upload input[type="file"] + label
{
color: #6d7379;
cursor: default;
display: inline-block;
font-weight: normal;
padding: 1px 6px;
line-height: 23px;
text-align: center;
text-decoration: none;

-webkit-appearance: button;
   -moz-appearance: button;
        appearance: button;
}

.upload input[type="file"]:disabled + label
{
color: #808080;
text-decoration: line-through;
pointer-events: none;
}
