.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label span {
	width: 70%;
    max-width: 80%;
    font-size: 1.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    color: #61a8df;
    padding: 0;
}

.inputfile + label span.placeholder {
	color: #aaa
}

.filebutton svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    margin-right: 0.25em;
}


/* style 6 */

.inputfile + label span,
.filebutton {
    padding: 0.625rem 1.25rem;
}

.inputfile + label span {
    min-height: 2em;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: top;    
}

.filebutton {
    height: 100%;
    color: #f1e5e6;
    background-color: #61a8df;
    display: inline-block;
    box-shadow: 0 4px 0 0 #2f363c;
    font-size: 1.25rem;
    white-space: nowrap;
    cursor: pointer;
    float: right;
}

@media screen and (max-width: 50em) {
	.filebutton {
		display: block;
	}
}
