body {
    overflow: hidden;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
h2 {
    font-weight: 300;
    font-size: 16px;
    margin-top: 0;
}
h2 .path {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
h1 i.fa, h2 i.fa {
    font-size: 80%;
    margin-top: 2px;
    vertical-align: text-top;
}
.header {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    z-index: 20;
}
.meta {
    max-width: 50%;
    height: 55px;
}
.navigation {
    text-align: right;
    margin-top: 4px;
}
.navigation span {
    display: inline-block;
    border-radius: 25px;
    opacity: 0.25;
}
.navigation span.left {
    padding: 8px 9px 8px 6px;
}
.navigation span.right {
    padding: 8px 6px 8px 9px;
}
.navigation span.enabled {
    opacity: 1;
}
.navigation span.enabled:hover {
    background-color: #EEE;
    cursor: pointer;
}
.navigation i {
    font-size: 24px;
    width: 28px;
    text-align: center;
}
.navigation span.enabled i {
    color: blue;
}

.buttons span {
    display: inline-block;
    padding: 12px 7px 12px 13px;
    border-radius: 25px;
}
.buttons span:hover {
    background-color: #EEE;
    cursor: pointer;
}
.buttons i.primary {
    font-size: 22px;
    color: #C5C5C5;
    width: 28px;
}
.buttons i.sub {
    font-size: 14px;
    margin-left: -15px;
    vertical-align: sub;
}
.buttons i.fa-arrow-circle-down {
    background-color: #FFF;
    border-radius: 10px;
}
.title {
    font-weight: 300;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    border-bottom: 1px solid transparent;
    line-height: 1.15;
    color: #292b2c;
}
.title span {
    display: inline-block;
    max-width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.title:hover {
    cursor: pointer;
    border-bottom: 1px dashed;
}
/*.folder:hover {*/
    /*cursor: pointer;*/
    /*border-bottom: 1px dashed ;*/
/*}*/
.sep {
    display: inline-block;
    color: #CCC;
    margin: 0 10px;
}
.viewer-loading {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    bottom: 0;
    top: 120px;
    text-align: center;
}
.viewer {
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
    top: 60px;
}
h1.hidden-md-up {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    white-space: nowrap;
    z-index: 20;
    padding-top: 2px;
    width: 70%;
}
h1.hidden-md-up:hover {
    border: none;
    cursor: default;
}
.navigation.hidden-md-up {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    z-index: 21;
    padding-top: 2px;
}
.navigation.hidden-md-up i {
    font-size: 20px;
    width: 20px;
    text-align: center;
}
.navigation.hidden-md-up span {
    padding: 0 5px;
}
.dropdown {
    line-height: 1;
}
.dropdown-toggle::after {
    margin-top: -10px;
}
.dropdown-menu {
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 400px;
    overflow-y: auto;
    max-width: 500px;
    overflow-x: hidden;
}
.dropdown-item.selected {
    font-weight: bold;
}
.spinner {
    margin: auto;
    height: 40px;
    width: 40px;
    animation: rotate 0.8s infinite linear;
    border: 8px solid #CCC;
    border-right-color: transparent;
    border-radius: 50%;
}

.toolbar-bottom {
    height: 10px;
    background: linear-gradient(to bottom,#FFF 0,#F6F6F6 100%);
    z-index: 1000;
    text-align: center;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.3);
}
.backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #d2dbdb 0%, #e8efef 100%);
}
.container.message {
    margin-top: 80px;
    max-width: 600px;
}
.container.message i {
    font-size: 300%;
    margin: 10px 20px;
}
.container.message .spinner {
    margin: 10px 20px;
}

#overlay {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    z-index: 2000;
    opacity: 0.5;
}
#overlay .loading {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #fff;
    margin-top: 120px;
}
.jq-dropdown .jq-dropdown-menu li>a, .jq-dropdown .jq-dropdown-menu li.disabled {
    overflow: hidden;
    text-overflow: ellipsis;
}
.jq-dropdown .jq-dropdown-menu li.disabled {
    color: #CCC;
    padding: 3px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jq-dropdown .jq-dropdown-menu li.disabled>a:hover {
    background-color: inherit;
    cursor: default;
}

@keyframes  rotate {
    0%    { transform: rotate(0deg); }
    100%  { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .viewer {
        top: 35px;
    }

    .viewer.ready {
        top: 0;
    }

    h1.visible-xs {
        width: 30%;
    }

    .jq-dropdown-menu {
        max-width: 100% !important;
    }

    .container.message {
        text-align: center;
    }
    .container.message i, .container.message .spinner {
        margin: 0 auto;
    }
    .visible-xs-landscape {
        display: block!important;
    }
    .visible-xs-portrait {
        display: none!important;
    }
}
@media (max-width: 450px) {
    h1.visible-xs {
        width: 70%;
    }
    .viewer.ready {
        top: 35px;
    }
    .visible-xs-landscape {
        display: none!important;
    }
    .visible-xs-portrait {
        display: block!important;
    }
}
