﻿#mediathek-outer-box {
    position: relative;
    height: 100%;
}

#mediathek-main-area {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    bottom: 0;
}

body .mediathek .ui-dialog-titlebar-close {
    visibility: visible;
}

#mediathek-content-outer {
    border: 3px solid #3C4349;
    border-radius: 5px;
    width: auto;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#mediathek-upload-background {
    position: absolute;
    z-index: 1;
    opacity: 0.15;
    text-align: center;
    width: 100%;
}

    #mediathek-upload-background .fa {
        display: block;
        text-align: center;
        font-size: 600px;
    }

#mediathek-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#mediathek-main-area {
    margin-bottom: 50px;
}

#mediathek-uploadcontent-noupload {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

#mediathek-tree-outer {
    float: left;
    width: 200px;
    padding-right: 4px;
    margin-left: 4px;
    margin-right: 4px;
    height: 100%;
}

#mediathek-tree {
}
/*
#zoom-mediathek {
    position: relative;
    top: 1%;
    display: inline-table;
}
    */
#mediathek-zoom-slider-container {
    width: 100%;
    height: 25px;
}

    #mediathek-zoom-slider-container > div:last-child {
        width: auto;
        overflow: hidden;
        padding: 1px 16px 0px 4px;
    }

#mediathek-add-file,
#mediathek-url-html5,
#mediathek-url-rss {
    font-size: 12px;
    padding: 2px;
    float: right;
    width: 125px;
}

#mediathek-zoom-slider {
}


#mediathek-upload-bar {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    display: none;
}

    #mediathek-upload-bar .progress {
        height: 20px;
        margin-bottom: 20px;
        overflow: hidden;
        background-color: #f5f5f5;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    }


    #mediathek-upload-bar > div:first-child {
        position: absolute;
        z-index: 999;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        background-color: black;
        opacity: 0.4;
    }

    #mediathek-upload-bar > div.progress {
        background-color: #c0c0c0;
        position: absolute;
        z-index: 1000;
        left: 10%;
        top: 0;
        bottom: 0;
        right: 10%;
        margin: auto;
    }

    #mediathek-upload-bar .progress-bar-title {
        position: absolute;
        text-align: center;
        color: #ffffff;
        height: 20px; /* line-height should be equal to bar height */
        z-index: 1001;
        left: 10%;
        top: 0;
        bottom: 0;
        right: 10%;
        margin: auto;
    }

    #mediathek-upload-bar .progress-bar {
        float: left;
        width: 0;
        height: 100%;
        font-size: 12px;
        line-height: 20px;
        color: #fff;
        text-align: center;
        background-color: #5cb85c;
        -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
        -webkit-transition: width .6s ease;
        -o-transition: width .6s ease;
        transition: width .6s ease;
        -webkit-background-size: 40px 40px;
        background-size: 40px 40px;
        -webkit-animation: progress-bar-stripes 2s linear infinite;
        -o-animation: progress-bar-stripes 2s linear infinite;
        animation: progress-bar-stripes 2s linear infinite;
        background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
        background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
        background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    }


/********************************************************************
    * mediathek
    ***************************************************************************/

.mediathek-item {
    width: 384px;
    border: 2px solid #2e7254;
    float: left;
    margin: 12px;
    height: 266px;
    background-color: #e0ffe0;
    cursor: move;
}

    .mediathek-item.notuploaded {
        cursor: no-drop;
        background-color: #e0e0e0;
    }

    .mediathek-item.ui-draggable-dragging {
        cursor: default;
    }

        .mediathek-item.ui-draggable-dragging.ctrl {
            cursor: copy;
        }

.mediathek-item-header {
    height: 24px;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal !important;
    padding: 2px !important;
    margin: 0px 20px 0px 0px !important;
    border: none !important;
    display: block;
    text-align: left;
}
.mediathek-item > a.btn-edit-region {
    height: 20px !important;
    margin-right: 1px !important;
    padding-top: 2px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left:  10px;
}


.mediathek-item-header-delete-button,
.btn-edit-region {
    float: right;
    width: 18px !important;
    height: 24px;
    margin: 0px 0px 0px 0px !important;
}

.mediathek-item-date {
    font-size: 18px;
    text-align: center;
}

.mediathek-item-image {
    width: 384px;
    height: 216px;
    text-align: center;
}

    .mediathek-item-image > img {
        max-height: 216px;
        max-width: 384px;
    }

    .mediathek-item-image > video {
        max-height: 216px;
        max-width: 384px;
    }

.mediathek-item-select-button {
    float: right;
    padding: 1px;
}

.mediathek-item-button a {
    height: 16px;
}

    .mediathek-item-button a .ui-button-text {
        height: 16px;
        padding-top: 0px;
        font-size: 12px;
    }

.click-region-properties,
.click-region-properties > div {
    float: left;
}

    .click-region-properties > div:last-child {
        float: none;
        display: inline-block;
    }

    .click-region-properties label {
        display: inline-block;
        width: 60px;
        margin: 5px 0px;
    }

    .click-region-properties input {
        display: inline-block;
    }

        .click-region-properties input.int32 {
            width: 50px;
        }

.click-region-backurl {
    float: left;
    display: block;
    margin-top: 20px;
}

.click-region-url {
    width: 400px;
}
