input[type=file] {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1.5em;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 9em;
}

label.fileButton {
	padding: 4px !important;
    color: var(--main-color) !important;
    background: var(--main-bg-color);
    border-color: #ccc!important;
	border-style: solid!important;
	border-width: 1px!important;
	border-radius: 4px !important;
	margin: 0;
	font-size: 12px!important;
	cursor: pointer;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal!important;
    width: 9em!important;
    text-align: center;
    transition: 0.5s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
label.selectedFile {
	color: blue !important;
	width: 15em !important;
}
input[type=file]:hover ~ label {
	opacity: 0.75;
	background: #080808 !important;
	color: var(--main-bg-color) !important;
}
input[type=file]:focus:hover ~ label {
	opacity: 0.75;
	background: #080808 !important;
	color: var(--main-bg-color) !important;
}
input[type=file]:focus ~ label{
	background: #ccc !important;
}