.attachments-field-wrapper {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    width: 100%;
    -webkit-box-flex: 0;
            flex: none;
}

.attachments-field-wrapper[readonly] .attachments-item-box .lego-delete {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.attachments-field-wrapper[readonly] .attachments-item-box .lego-browse__suffix-label,
.attachments-field-wrapper[readonly] .attachments-item-box .lego-browse-btn {
    pointer-events: none !important;
    display: none !important;
}

[dir] .attachments-field-wrapper[readonly] .attachments-item-box .lego-browse__suffix-label, [dir] .attachments-field-wrapper[readonly] .attachments-item-box .lego-browse-btn {
    cursor: default !important;
}

.attachments-field-wrapper .attachments-item-box {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    width: 100%;
    -webkit-box-flex: 0;
            flex: none;
    position: relative;
    grid-row-gap: 5px;
}

.attachments-field-wrapper .attachments-item-box .attachments-item-box__label-outer {
    color: #A9AFBA;
    font-size: 14px;
    font-weight: bold;
}

[dir] .attachments-field-wrapper .attachments-item-box + .attachments-item-box {
    margin-top: 20px;
}

.attachments-field-wrapper .attachments-item__wrapper {
    display: -webkit-box;
    display: flex;
    width: 100%;
    -webkit-box-flex: 0;
            flex: none;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
            justify-content: space-between;
    height: 47px;
    position: relative;

}

[dir] .attachments-field-wrapper .attachments-item__wrapper {
    border-radius: 33px;
    background: #fff;
    border: 1px solid #707070;

}

.attachments-field-wrapper .attachments-item-box .lego-browse-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0;
    z-index: 999;
}

[dir] .attachments-field-wrapper .attachments-item-box .lego-browse-btn {
    cursor: pointer;
}

[dir=ltr] .attachments-field-wrapper .attachments-item-box .lego-browse-btn {
    left: 0;
    right: 0;
}

[dir=rtl] .attachments-field-wrapper .attachments-item-box .lego-browse-btn {
    right: 0;
    left: 0;
}

.attachments-field-wrapper .attachments-item-box .lego-browse__prefix-label {
    /*position: absolute;*/
    /*left: 10px;*/
    font-size: 16px;
    color: #545454;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.3;
}

[dir] .attachments-field-wrapper .attachments-item-box .lego-browse__prefix-label {
    cursor: default;
}

[dir=ltr] .attachments-field-wrapper .attachments-item-box .lego-browse__prefix-label {
    margin-left: 20px;
}

[dir=rtl] .attachments-field-wrapper .attachments-item-box .lego-browse__prefix-label {
    margin-right: 20px;
}

.attachments-field-wrapper .attachments-item-box .lego-browse__suffix-label {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    font-size: 14px;
    font-weight: 600;

    width: 115px;
    color: #fff;


    position: absolute;
    top: -1px;
    bottom: -1px;
    height: auto;
    height: initial;
    -webkit-box-flex: 0;
            flex: none;
}

[dir] .attachments-field-wrapper .attachments-item-box .lego-browse__suffix-label {
    border-radius: 33px;
    background: #b4b4b4;
    padding: 0;
    cursor: pointer;
}

[dir=ltr] .attachments-field-wrapper .attachments-item-box .lego-browse__suffix-label {
    right: -2px;
}

[dir=rtl] .attachments-field-wrapper .attachments-item-box .lego-browse__suffix-label {
    left: -2px;
}

.attachments-field-wrapper .attachments-item-box .lego-files-preview {
    /*width: 70%;*/
    /*flex: none;*/
    width: auto;
    width: initial;
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: end;
            justify-content: flex-end;
}

[dir=ltr] .attachments-field-wrapper .attachments-item-box .lego-files-preview {
    left: 20px;
    right: 20px;
}

[dir=rtl] .attachments-field-wrapper .attachments-item-box .lego-files-preview {
    right: 20px;
    left: 20px;
}

[dir] .attachments-item__wrapper .lego-files-preview .lego-progress-wrapper .lego-progress-bar .lego-progress-bar-percent {
    background-color: #ED1D24;
}

.attachments-item__wrapper.is-sending .lego-browse__suffix-label {
    display: none;
}

.attachments-item__wrapper.is-sending .lego-files-preview .lego-msg.error {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
}

[dir] .attachments-item__wrapper.is-sending .lego-files-preview .lego-msg.error {
    text-align: center;
}

.attachments-item__wrapper.has-files .lego-browse__prefix-label {
    color: #000;
}

.attachments-item__wrapper.has-files .lego-browse-btn,
.attachments-item__wrapper.is-sending .lego-browse-btn {
    pointer-events: none;
    display: none;
}

.attachments-item__wrapper .lego-files-preview .lego-file-preview {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: end;
            justify-content: flex-end;
}

[dir] .attachments-item__wrapper .lego-files-preview .lego-file-preview {
    background: transparent;
    margin-top: 0;
    padding: 0;
    border-radius: 5px;
}

.attachments-item__wrapper .lego-files-preview .lego-progress-wrapper.completed {
    display: none;
}

.attachments-item__wrapper.has-files .lego-files-preview .lego-msg {
    display: none;
}

.attachments-item__wrapper.has-files .lego-files-preview .lego-preview-img-wrapper .lego-preview-img {
    display: none;
}

.attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
}

[dir] .attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions {
    padding: 0;
}

.attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions .lego-view {
    /*display: none;*/
    width: 28px;
    height: 28px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    text-decoration: none;
}

[dir] .attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions .lego-view {
    background-color: #FFA5A5;
    border-radius: 100%;
    padding: 0;
    text-align: center;
    margin: 0 5px;
}

.attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions .lego-delete {
    width: 28px;
    height: 28px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    text-decoration: none;
}

[dir] .attachments-item__wrapper .lego-files-preview .lego-preview-img-wrapper .lego-preview-actions .lego-delete {
    background-color: #FFA5A5;
    border-radius: 100%;
    padding: 0;
    text-align: center;
}

.attachments-item__wrapper.has-files .lego-browse__suffix-label {
    display: none;
}

.attachments-item__wrapper.has-files .lego-files-preview {
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
}

[dir=ltr] .attachments-item__wrapper.has-files .lego-files-preview {
    left: auto;
    left: initial;
    right: 10px;
}

[dir=rtl] .attachments-item__wrapper.has-files .lego-files-preview {
    right: auto;
    right: initial;
    left: 10px;
}

.attachments-item__wrapper .is-error.input-feedback {
    position: absolute;
    bottom: -25px;
}

[dir=ltr] .attachments-item__wrapper .is-error.input-feedback {
    left: 0;
}

[dir=rtl] .attachments-item__wrapper .is-error.input-feedback {
    right: 0;
}

[dir] .attachments-field-wrapper .attachments-item__wrapper.has-error {
    border-color: #ed1d24 !important;
}

/*
<div class="lego-files-preview"><div class="lego-file-preview"><div class="lego-progress-wrapper"><div class="lego-progress-bar-text">57%</div><div class="lego-progress-bar"><div class="lego-progress-bar-percent" style="width: 57%;"></div></div></div></div></div>
<div class="lego-files-preview"><div class="lego-file-preview"><div class="lego-msg error"><p>Check your connection and try again!</p></div></div></div>
<div class="attachments-field-wrapper">

            <div class="attachments-item-box">
            <div class="attachments-item__wrapper has-files"><div class="lego-browse__prefix-label">كمبيالة الضمان</div><button type="button" class="lego-browse-btn" data-toggle-browse="browse-542-customer-attachments-promissory">تحميل</button><input style="display: none;" data-name="customer_attachments[promissory]" class="lego-browse" type="file" accept=".png,.jpg,.jpeg,.pdf" id="browse-542-customer-attachments-promissory"><div class="lego-browse__suffix-label">تحميل</div><div class="lego-files-preview"><div class="lego-file-preview"><div class="lego-progress-wrapper completed"><div class="lego-progress-bar-text">100%</div><div class="lego-progress-bar"><div class="lego-progress-bar-percent" style="width: 100%;"></div></div></div><div class="lego-preview-img-wrapper"><div class="lego-preview-img"><img src="http://ods-dev.ooredoo.ps/cached_uploads/fit/200/200/2020/12/08/abstract-1850417-1607446905.jpg" alt="file"></div><div class="lego-preview-actions"><a class="lego-view" target="_blank" href="/cached_uploads/resize/400/200/2020/12/08/abstract-1850417-1607446905.jpg">عرض</a><a href="#" class="lego-delete lego-js-delete-file">حذف</a></div></div><input style="display: none;" type="hidden" name="customer_attachments[promissory]" value="2020/12/08/abstract-1850417-1607446905.jpg"><div class="lego-msg"><p>تم التحميل بنجاح</p></div></div></div></div>        </div>
            <div class="attachments-item-box">
            <div class="attachments-item__wrapper"><div class="lego-browse__prefix-label">شيك الضمان</div><button type="button" class="lego-browse-btn" data-toggle-browse="browse-774-customer-attachments-cheque">تحميل</button><input style="display: none;" data-name="customer_attachments[cheque]" class="lego-browse" type="file" accept=".png,.jpg,.jpeg,.pdf" id="browse-774-customer-attachments-cheque"><div class="lego-browse__suffix-label">تحميل</div></div>        </div>
            <div class="attachments-item-box">
            <div class="attachments-item__wrapper"><div class="lego-browse__prefix-label">إثبات الدخل</div><button type="button" class="lego-browse-btn" data-toggle-browse="browse-579-customer-attachments-income-proof">تحميل</button><input style="display: none;" data-name="customer_attachments[income proof]" class="lego-browse" type="file" accept=".png,.jpg,.jpeg,.pdf" id="browse-579-customer-attachments-income-proof"><div class="lego-browse__suffix-label">تحميل</div></div>        </div>
            <div class="attachments-item-box">
            <div class="attachments-item__wrapper"><div class="lego-browse__prefix-label">استعلام سلطة النقد</div><button type="button" class="lego-browse-btn" data-toggle-browse="browse-250-customer-attachments-pma-inquiry">تحميل</button><input style="display: none;" data-name="customer_attachments[pma_inquiry]" class="lego-browse" type="file" accept=".png,.jpg,.jpeg,.pdf" id="browse-250-customer-attachments-pma-inquiry"><div class="lego-browse__suffix-label">تحميل</div></div>        </div>

</div>
 */


/*# sourceMappingURL=ods_attachments_build.css.map*/