@charset "UTF-8";
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.media-modal
{
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1001;
    background: #fff;
    overflow-y: auto;
}
.media-modal .media-modal-content{
    min-width: 1024px;
    position: relative;
    height: 100%;
}
.media-modal-backdrop
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 360px;
    background: #000;
    opacity: .7;
    z-index: 1000;
}
.media-modal-close
{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #666 !important;
    z-index: 1000;
    cursor: pointer;
    outline: 0;
    text-align: center;
    font-size: 1.2rem;
    background: url('../images/btn_close_modal.png') center center no-repeat;
}
.media-modal-close i
{
    position: relative;
    top: 5px;
}
.media-sidebar ul
{
    margin: 0;
    padding: 0;
}
.media-sidebar
{
    position: absolute;
    top: 290px;
    left: 50px;
    bottom: 50px;
    width: 220px;
    z-index: 1002;
    border-right: 6px solid #CC0033;
    overflow-y: auto;
}
.media-sidebar ul li
{
    width: 100%;
    margin-top: 10px;
    padding-right: 10px;
}
.media-sidebar ul li:first-child
{
    margin-top: 0px;
}
.media-sidebar ul li a
{
    padding: 7px 10px;
    display: block;
    color: #000;
    background: #ddd;
    border-radius: 10px;
    text-align: center;
}
.media-sidebar ul li:hover a
{
    background: #CC0033;
    color: #fff;
}
.media-sidebar ul li.active
{
    padding-right: 0px;
}
.media-sidebar ul li.active a
{
    background: #CC0033;
    color: #fff;
    border-radius: 10px 0px 0px 10px;
}
.media-sidebar ul.sidebar-content li a
{
    background: #ccc !important;
    color: #000 !important;
    opacity: 0.4;
    cursor: initial;
}
.media-sidebar ul.sidebar-content li.active a
{
    background: #CC0033 !important;
    color: #fff !important;
    opacity: 1;
    /*cursor: pointer;*/
}
.media-frame-content,
.media-frame-uploader
{
    position: absolute;
    right: 60px;
}
.media-frame-content
{
    left: 270px;
    top: 290px;
    bottom: 50px;
    overflow-y: auto;
    background: #F6F1EB;
    padding: 15px;
}
.media-frame-uploader
{
    left: 320px;
    top: 60px;
    height: 230px;
}
.media-frame-uploader-inner
{
    display: table;
    width: 100%;
}
.media-frame-uploader-inner .row-uploader
{
    display: table-row;
}
.media-frame-uploader .col-uploader
{
    text-align: center;
    /*display: table-cell;*/
    display: inline-block;
    vertical-align: top;
}
.media-frame-uploader .col-separate
{
    width: 15%;
}
.media-frame-uploader .uploader-inline-content
{
    width: 45%;
}
.media-frame-uploader .col-uploader.media-file-info
{
    width: 55%;
}
.media-frame-uploader .media-upload-ui
{
    width: 100%;
    border-radius: 3px;
}
.media-upload-ui .media-upload-ui-inner
{
    padding: 15px;
    background: #E8E8E8;
    height: 160px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    overflow-y: auto;
}
.media-upload-ui p
{
    font-size: 1.25rem;
}
.media-frame-uploader .media-upload-ui .file-selected
{
    text-align: center;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
}
.media-frame-uploader .media-upload-ui .file-selected img
{
    max-width: 150px;
    max-height: 100%;
    position: relative;
    top: 5px;
}
.media-frame-uploader .media-upload-ui span
{
    display: none;
    width: 100%;
    text-align: center;
    line-height: 100%;
}
.media-frame-uploader .btn-browser
{
    margin-top: 15px;
    background: #fff;
    width: 200px;
    height: 40px;
    line-height: 40px;
    background: #FDFDFD;
    border: 1px solid #979797;
    padding: 0px;
    border-radius: 10px;
    color: #000 !important;
    font-size: 1.125rem;
}
/*media file info ================================================*/
.media-frame-uploader .media-file-info
{
    text-align: left;
}
.media-frame-uploader .media-file-info p
{
    display: flex;
    max-height: 60px;
    overflow: hidden;
}
.media-frame-uploader .media-file-info span.label
{
    min-width: 120px;
}
.media-frame-uploader .media-file-info p.file-name span
{
    line-height: 130%;
     word-break:break-all;
}
.media-file-info-inner
{
    padding: 15px 15px 15px 50px;
}
/*End media file info ================================================*/
.media-frame-uploader .media-upload-toolbar
{
    margin-top: 15px;
    display: none;
}
.media-frame-uploader #register-file
{
    width: 200px;
    margin-right: 30px;
    font-size: 1.125rem;
}
.media-frame-uploader #delete-file
{
    background: url('../images/ic_delete_file.png') center center no-repeat;
    background-color: transparent !important;
    border-color: transparent !important;
    min-width: auto;
    border-radius: 0px !important;
    width: 40px;
    height: 40px;
}
.media-frame-content .attachments,
.media-frame-content .uploader-inline
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    outline: 0;
}
.media-frame-content .attachments
{
    padding: 15px 40px;
}
.media-frame-content .attachment
{
    position: relative;
    float: left;
    margin: 0;
    color: #444;
    cursor: pointer;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 20%;
    box-sizing: border-box;
}

.media-frame-content .attachment div
{
    padding: 15px;
    display: block;
    width: 100%;
    height: 100%;
}
.media-frame-content .attachment div div
{
    background: #E8E8E8;
    padding: 25px;
    padding-bottom: 33px;
    border: 1px solid #BCBCBC;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.media-frame-content .attachment div div p
{
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.media-frame-content .attachment p img
{
    max-width: 100%;
    max-height: 100%;
}
.media-frame-content .attachment.selected .attachment-inner
{
    border: 1px solid #FF3C00;
    box-shadow: inset 0 0 0 1px #FF3C00;
}
.media-frame-content .attachment div p span.attachment-file-name
{
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: block;
    height: 32px;
    line-height: 32px;
    border-top: 1px solid #BCBCBC;
    background: #E8E8E8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0px 5px;
}
.media-frame-content .attachment.selected p span.attachment-file-name
{
    border-left: 1px solid #FF3C00;
    border-right: 1px solid #FF3C00;
    border-bottom: 1px solid #FF3C00;
}
.media-sidebar-menu
{
    display: none;
}
.media-file-input
{
    display: none !important;
}
.media-modal .modal-sidebar-backdrop
{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: .4;
    z-index: 1001;
    display: block;
}
.media-title
{
    position: absolute;
    left: 320px;
    right: 50px;
    top: 15px;
    display: inline-block;
}
.media-file-info-inner .file-info-txt span {
    max-width: 500px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/* @media(min-width: 768px)
{
    .media-modal .modal-sidebar-backdrop
    {
        display: none !important;
    }
    .media-modal
    {
        left: 20px !important;
    }
    .media-sidebar
    {
        left: 50px !important;
    }
}  */
@media(max-width: 1024px)
{
    /* .media-frame-uploader #register-file
    {
        width: 160px;
    } */
    .media-frame-content .attachment
    {
        width: 25%;
    }
    .media-frame-content .attachment div p
    {
        padding: 10px;
    }
}
/* @media(max-width: 980px)
{
    .media-frame-content .attachment
    {
        width: 33.33%;
    }
} */
@media(max-width: 768px)
{
    /* .media-modal
    {
        overflow-y: auto;
    } */
    /* .media-sidebar
    {
        left: -100%;
        border-right: none;
        width: 230px;
    }
    .media-sidebar ul li
    {
        padding-left: 10px;
    }
    .media-sidebar ul li.active
    {
        padding-right: 10px;
    }
    .media-sidebar ul li.active a
    {
        border-radius: 10px;
    }
    .media-frame-content,
    .media-frame-uploader
    {
        left: 0;
        width: 100%;
    }
    .media-frame-content
    {
        position: unset;
        margin-top: 50px;
    }
    .media-frame-uploader
    {
        position: relative;
        height: auto;
    }
    .media-sidebar-menu
    {
        display: block;
        position: absolute;
        left: 20px;
        top: 14px;
        height: 40px;
        line-height: 40px;
        z-index: 1000;
        font-size: 2rem;
    }
    .media-sidebar-menu i
    {
        position: relative;
        bottom: 2px;
    }
    .media-frame-uploader .col-uploader
    {
        display: inline-block;
        width: 100%;
    }
    .media-frame-uploader .col-separate
    {
        display: none !important;
    }
    .media-frame-content
    {
        overflow-y: hidden;
        bottom: 0 !important;
    }
    .media-frame-content .attachments
    {
        position: relative;
        max-height: 500px;
    }
    .media-frame-uploader
    {
        margin-top: 15px;
    }
    .media-title
    {
        left: 65px;
        top: 19px;
        right: 50px;
    } */
}
@media(max-width: 480px)
{
    /* .media-modal
    {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    } */
    /* .media-frame-content .attachment
    {
        width: 50%;
    }
    .media-frame-content .attachments
    {
        padding: 0;
    } */
}