﻿#file-browser {
    overflow: auto;
    height: 435px;
    border-bottom: 1px solid #DDDDDD;
}

#location-bar {
    background: #eee;
    border-width: 1px;
    border-style: solid;
    border-color: #f5f5f5 #e5e5e5 #ccc;
    box-shadow: 0 0 2px rgba(0,0,0,.2);
    overflow: hidden;
    width: 100%;
    margin: 7px 0 0 0;
}

    #location-bar li {
        float: left;
    }

    #location-bar a {
        padding: .7em 1em .7em 2em;
        float: left;
        text-decoration: none;
        color: #444;
        position: relative;
        text-shadow: 0 1px 0 rgba(255,255,255,.5);
        background-color: #ddd;
        background-image: linear-gradient(to right, #f5f5f5, #ddd);
    }

    #location-bar li:first-child a {
        padding-left: 1em;
        border-radius: 5px 0 0 5px;
    }

    #location-bar a:hover {
        background: #fff;
    }

    #location-bar a::after,
    #location-bar a::before {
        content: "";
        position: absolute;
        top: 50%;
        margin-top: -1.5em;
        border-top: 1.5em solid transparent;
        border-bottom: 1.5em solid transparent;
        border-left: 1em solid;
        right: -1em;
    }

    #location-bar a::after {
        z-index: 2;
        border-left-color: #ddd;
    }

    #location-bar a::before {
        border-left-color: #ccc;
        right: -1.1em;
        z-index: 1;
    }

    #location-bar a:hover::after {
        border-left-color: #fff;
    }

    #location-bar .current,
    #location-bar .current:hover {
        font-weight: bold;
        background: none;
    }

        #location-bar .current::after,
        #location-bar .current::before {
            content: normal;
        }

.preview-box {
    height: 433px;
    padding: 5px;
    text-align: center;
}

    .preview-box .file-preview {
        height: 100%;
        width: 100%;
    }

        .preview-box .file-preview .file-preview-inner {
            height: 100%;
            width: 55%;
            float: left;
        }

            .preview-box .file-preview .file-preview-inner #file-picker-loading {
                width: 200px;
                margin-top: 100px;
            }

            .preview-box .file-preview .file-preview-inner img {
                max-height: 100%;
                max-width: 100%;
            }

        .preview-box .file-preview ul#file-info {
            list-style: none;
            text-align: left;
            margin-left: 5%;
            width: 40%;
            float: left;
        }

            .preview-box .file-preview ul#file-info li {
                width: 100%;
            }

                .preview-box .file-preview ul#file-info li span.title {
                    font-weight: bold;
                }

                .preview-box .file-preview ul#file-info li span.info {
                    float: left;
                }

ul#file-list {
    margin: 0;
    list-style: none;
    max-height: 100%;
    overflow: auto;
}

ul#file-list li {
border: 1px #fff solid;
position: relative;
width: 22%;
height: 150px;
display: inline-block;
margin: 1%;
padding: 2%;
float: left;
cursor: pointer;
vertical-align: middle;
}

ul#file-list li:hover {
    border: 1px #e0eee0 solid;
    border-radius: 4px;
    background: rgb(240, 255, 240); /* Fall-back for browsers that don't support rgba */
    background: rgba(240, 255, 240, .5);
}

ul#file-list li img {
    overflow: hidden;
    max-height: 85%;
    max-width: 100%;
}

ul#file-list li span {
    border-radius: 0 0 4px 4px;
    clear: both;
    height: 15%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}


.cssmenu {
    width: auto;
    border-radius: 2px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    background: #eee;
    margin-top: 6px !important;
    margin-left: 5px !important;
    margin-bottom: 5px !important;
}

.cssmenu #menu-button {
    display: none;
}

.cssmenu > ul > li {
    float: left;
}

.cssmenu, .cssmenu ul, .cssmenu ul li, .cssmenu ul li a, .cssmenu #menu-button {
    margin: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cssmenu:after, .cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.cssmenu > ul > li.has-sub > a {
    padding-right: 40px;
}

.cssmenu > ul > li > a {
    padding: 5px 10px;
    font-size: 13px;
    color: #444;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}

.cssmenu ul > li.has-sub > a:before {
    content: '';
    position: absolute;
    right: 11px;
    top: 25.5px;
    display: block;
    width: 0;
    height: 0;
    border: 3px solid transparent;
    border-top-color: #ffffff;
    z-index: 99;
}

.cssmenu ul > li.has-sub > a:after {
    content: '';
    position: absolute;
    right: 5px;
    top: 2px;
    display: block;
    width: 18px;
    height: 18px;
    background-size: 36px 36px;
    background-position: 0 0;
    background-repeat: no-repeat;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.cssmenu > ul > li > ul {
    top: 30px;
    left: -9999px;
    padding-top: 7px;
    border-radius: 5px;
    height: 1px;
}

.cssmenu ul ul {
    position: absolute;
    right: 20px;
    opacity: 0;
    width: 75px;
    -webkit-transition: top .2s ease, opacity .2s ease;
    -moz-transition: top .2s ease, opacity .2s ease;
    -ms-transition: top .2s ease, opacity .2s ease;
    -o-transition: top .2s ease, opacity .2s ease;
    transition: top .2s ease, opacity .2s ease;
    z-index: 0;
}

.cssmenu li > a:hover { 
    font-weight: bolder;
    color: #333;
}

.cssmenu li:hover > ul{
    display: block;
    opacity: 1;
    left: 0;
}

.sub-item{
    padding: 5px !important;
    background-color: #eee;
    border-bottom-style: solid !important;
    border-bottom-width: 1px !important;
    border-bottom-color: #fff !important;
}

.sub-item a {
    color: #333;
}

.submenu-button {
    padding-top: 5px;
}