﻿.template-form-upload__filename,
.template-form-upload__progress_block,
.template-form-upload__btn-cancel,
.template-form-upload_processing > .template-form-upload__picker {
    display: none;
}

dt.upload_lable {
    margin-top: 20px;
    margin-bottom: 10px !important;
}

.template-form-upload_processing > .template-form-upload__btn-cancel,
.template-form-upload__id[value]:not([value=""]) ~ .template-form-upload__filename {
    display: inline-block;
}

.template-form-upload_processing > .template-form-upload__progress {
    display: block;
}

.template-form-upload__picker {
    position: relative;
    display: inline-block;
    min-width: 45%;
    padding: 2px 10px;
    background: none #746f6a;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 30px;
    outline: 0;
    text-align: center;
}

    .template-form-upload__picker:hover {
        background-color: #544f4b;
    }

    .template-form-upload__picker input[type="file"] {
        display: none;
    }

.template-form-upload__filename {
    float: right;
    width: 190px;
    display: block;
    word-break: break-all;
    height: 30px;
    align-items: center;
    display: flex;
}

.template-form-upload__progress {
    width: 100%;
    height: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    -webkit-animation: progress30 2s linear infinite;
    -moz-animation: progress30 2s linear infinite;
    animation: progress30 2s linear infinite;
    background: -webkit-repeating-linear-gradient(135deg, #2c9ba0, #2c9ba0 25%, #18858a 25%, #18858a 50%) top left fixed;
    background: repeating-linear-gradient(135deg, #2c9ba0, #2c9ba0 25%, #18858a 25%, #18858a 50%) top left fixed;
    background-size: 30px 30px;
    border-left: 1px solid #2c9ba0;
    border-right: 1px solid #d4d4d3;
    overflow: hidden;
}

    .template-form-upload__progress::after {
        content: '';
        display: inline-block;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background: #efefef;
        border-top: 1px solid #d4d4d3;
        border-bottom: 1px solid #d4d4d3;
        vertical-align: top;
    }

.throbber.import_form {
    position: absolute;
    background: rgba(0,0,0,.1);
    overflow-y: hidden;
}

    .throbber.import_form::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: block;
        width: 44px;
        height: 44px;
        margin: auto;
        -webkit-animation: rotate360 2s linear infinite;
        -moz-animation: rotate360 2s linear infinite;
        animation: rotate360 2s linear infinite;
        background: url(../../Content/throbber.png);
    }

.close.icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-image: url(../../Content/images/front/icon-close.svg);
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
