﻿.box1 {
    font-size: 1em; /* 20 */
    position: relative;
    padding: 15px 15px;
}

    .box1.has-advanced-upload1 {
        outline: 2px dashed #92b0b3;
        outline-offset: -10px;
        -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
        transition: outline-offset .15s ease-in-out, background-color .15s linear;
        width: 100%;
        height: 100%
    }

    .box1.is-dragover {
        outline-offset: -10px;
        outline-color: #000;
        background-color: #fff;
    }

.box1__dragndrop,
.box1__icon {
    display: none;
}

.box1__files {
    list-style: none;
    display: grid;
    grid-template-columns: 16px auto 16px;
    grid-row-gap: 5px;
}

    .box1__files span {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.box1.has-advanced-upload .box1__dragndrop {
    display: inline;
}

.box1.has-advanced-upload .box1__icon {
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
    margin-bottom: 40px;
}

.box1.is-uploading .box1__input,
.box1.is-success .box1__input,
.box1.is-error .box1__input {
    visibility: hidden;
}

.box1__uploading,
.box1__success,
.box1__error {
    display: none;
}

.box1.is-uploading .box1__uploading,
.box1.is-success .box1__success,
.box1.is-error .box1__error {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    -webkit-transform: translateY( -50% );
    transform: translateY( -50% );
}

.box1__uploading {
    font-style: italic;
}

.box1__success {
    -webkit-animation: appear-from-inside .25s ease-in-out;
    animation: appear-from-inside .25s ease-in-out;
}

.itHtmlImage .box1__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    .itHtmlImage .box1__file + label {
        max-width: 80%;
        text-overflow: ellipsis;
        white-space: nowrap;
        cursor: pointer;
        display: inline-block;
        overflow: hidden;
    }

        .itHtmlImage .box1__file + label:hover strong,
        .box1__file:focus + label strong,
        .box1__file.has-focus + label strong {
/*            color: #ffffff;*/
        }

    .itHtmlImage .box1__file:focus + label,
    .itHtmlImage .box1__file.has-focus + label {
        outline: 1px dotted #000;
        outline: -webkit-focus-ring-color auto 5px;
    }

    .itHtmlImage .box1__file + label * {
        /* pointer-events: none; */ /* in case of FastClick lib use */
    }

.no-js .box1__file + label {
    display: none;
}

.no-js .box1__button {
    display: block;
}

.box1__button {
    font-weight: 700;
    color: #e5edf1;
    background-color: #39bfd3;
    display: none;
    padding: 8px 16px;
    margin: 40px auto 0;
}

    .box1__button:hover,
    .box1__button:focus {
        background-color: #0f3c4b;
    }
