﻿.inputfile {
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0.1px;
    z-index: -1;
}

.inputfile + label {
    cursor: pointer;
    display: inline-block;
    font-size: 1.00rem;
    max-width: 80%;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    /* 20px */
    text-overflow: ellipsis;
    white-space: nowrap;
    /* 10px 20px */
}

.no-js .inputfile + label { display: none; }

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    fill: currentColor;
    height: 1em;
    /* 4px */
    margin-right: 0.25em;
    margin-top: -0.25em;
    vertical-align: middle;
    width: 1em;
    /* 4px */
}


.inputfile-6 + label { color: #799B00; }

.inputfile-6 + label {
    background-color: #f1e5e6;
    border: 1px solid #799B00;
    padding: 0;
}

.inputfile-6:focus + label,
.inputfile-6.has-focus + label,
.inputfile-6 + label:hover { border-color: #3b6600; }

.inputfile-6 + label span,
.inputfile-6 + label strong {
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
}

.inputfile-6 + label span {
    display: inline-block;
    min-height: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    white-space: nowrap;
    width: 220px;
}

.inputfile-6 + label strong {
    background-color: #799B00;
    color: #f1e5e6;
    display: inline-block;
    height: 100%;
}

.inputfile-6:focus + label strong,
.inputfile-6.has-focus + label strong,
.inputfile-6 + label:hover strong { background-color: #3b6600; }