﻿.form-attachment
{
    background: #F2F2F2;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
    text-indent: 16px;
}

.list-content-attachment .form-attachment
{
    min-height: 245px;
}

.attachment-title
{
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    text-indent: 120px;
}

    .attachment-title span, .attachment-title label
    {
        color: #B3B3B3;
        font-size: 12px !important;
    }

    .attachment-title span
    {
        font-family: ClearSans-Italic;
    }

    .attachment-title label
    {
        float: right;
        margin-right: 10px;
    }


#title_files_label
{
    color: #8DA5A3;
    font-size: 16px;
    margin-top: 10px;
}

#title-files
{
    height: 34px;
    line-height: 36px;
    position: relative;
}

.content-attachment
{
    display: inline-block;
    width: 100%;
}

    .content-attachment.files
    {
        position: relative;
        margin: 0px;
    }

.file
{
    background-color: inherit;
    background-position: 0px 2px !important;
    font-size: 13px;
    min-height: 20px;
    height: 28px;
    width: auto;
    max-width: 320px;
    min-width: 280px;
    line-height: 26px;
    position: relative;
    overflow: hidden;
    text-indent: 26px;
}

    .file a:hover
    {
        color: #818F99 !important;
    }

.file
{
    font-family: ClearSans-Bold, Arial, Verdana, Helvetica, sans-serif;
}

    .file a
    {
        cursor: pointer;
        text-decoration: none;
        color: #4B5F6D;
        background-position: -128px -16px;
        opacity: 0.7;
        font-size: 12px;
    }

    .file label
    {
        color: #B3B3B3;
        cursor: pointer;
        font-family: ClearSans-Italic;
    }

.remove-file
{
    background: url('../../Images/Actions/remove.png') no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    float: right;
    margin-top: 2px;
}

#file_Template
{
    display: none;
}


.add-file
{
    cursor: pointer;
    display: inline-block;
    text-indent: 0px;
}

#add_files span
{
    color: #F5846F !important;
    text-decoration: underline;
    font-size: 12px;
    font-family: ClearSans-Bold;
}

#files_background
{
    background: url('../../Images/Svg/icons_32.svg') no-repeat -992px -116px;
    display: none;
    position: absolute;
    opacity: 0.2;
    filter: alpha(opacity=0.6);
    height: 122px;
    width: 118px;
    background-size: 1400px 1400px;
    top: 30%;
    left: 36%;
}

    #files_background.inForm
    {
        display: none;
    }

    #files_background label
    {
        line-height: 256px;
        white-space: nowrap;
        margin-left: -8px;
    }

#tab_attachment
{
    width: 100%;
    margin: 0;
    bottom: 0;
    right: 0; /* height: calc(100% - 544px); */ /* min-height: calc(100% - 544px); */
}

#files_content
{
    display: inline-block;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0;
    text-indent: 16px;
    min-height: 130px;
    max-height: 254px;
}

.file-upload
{
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

    .file-upload span
    {
        color: #F5846F !important;
        text-decoration: underline !important;
    }

    .file-upload input[type="file"]
    {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
        z-index: 99999;
    }

    .file-upload.file-selected
    {
        position: absolute;
        top: 110px;
        left: 30px;
        width: 60px;
        overflow: visible;
    }

    .file-upload > div
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 120px;
    }

    .file-upload .RadUploadTable
    {
        background: transparent;
        border: none;
    }


.add-file-manager
{
    height: 250px;
    width: 380px;
}

.add-file-content
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .add-file-content .hc-switch-status
    {
        top: 0px !important;
    }

    .add-file-content .file-subtitle
    {
        align-items: normal;
    }

.add-file-row
{
    width: 100%;
    align-self: flex-start;
    height: 25px;
    align-items: center;
    display: flex;
}

    .add-file-row.title-public
    {
        height: 40px;
        justify-content: flex-start;
    }

    .add-file-row.buttons
    {
        height: 40px;
        justify-content: flex-end;
    }

        .add-file-row.buttons > .button-content.secondary
        {
            margin-right: 4px;
        }

.add-file-row--first
{
    width: 74px;
    align-self: flex-start;
    height: 26px;
    align-items: center;
    display: flex;
}

.add-file-row--offset
{
    width: calc(100% - 88px);
    align-self: flex-end;
    border: 1px solid #e0e0e0;
    padding: 4px 6px;
    border-radius: 3px;
    height: 150px;
    max-height: 150px;
    overflow: auto;
}

.task-detail-form-file-input--case
{
    top: 36px !important;
}

.add-file-choose
{
    background-color: #666666;
    color: #ffffff;
    padding: 4px 6px;
    border-radius: 3px;
    display: inline-flex;
}

.add-file-choose--title
{
    color: #b7b7b7;
}
