/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

a img {
    border:none;
}

img {
    max-width:100%;
}

.flash {
    margin:10px 0;
    padding:6px;
    list-style-type:none;
    border-radius:4px;
}

.flash-success {
    background-color:#eeffee;
    border:solid 1px #00ff00;
}

.wrapper {
    padding-bottom:20px;
}

.templates {
    display:none;
}

.modal-progress {
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:9999;
    display:none;
}

.modal-progress .spinner {
    display:block;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-26px;
    margin-top:-26px;
    outline:none;
    cursor:default;
    padding:10px;
    border-radius:5px;
    background-color:#eee;
}

.login-container {
    margin-top:50px;
}

.nav-bar {
    background-color:#3b6984;
    color:#fff;
    padding:10px 20px;
}

.nav-site-name {
    padding-right:20px;
    display:inline-block;
}

.nav-site-name a {
    color:#ccc;
    text-decoration:none;
}

.nav-bar-inner {
    margin:0 auto;
}

.nav-bar-main {
    float:left;
}

.nav-bar-right {
    float:right;
}

ul.main-nav {
    list-style-type:none;
    margin:0;
    padding:0;
    display:inline-block;
}

ul.main-nav > li {
    display:inline-block;
    padding:0 10px;
}

ul.main-nav > li > a {
    color:#fff;
    text-decoration:none;
}

.main-content {
    margin:0 auto;
    padding:10px 20px;
}

body.explorer .main-content {
    padding-left:0;
    padding-right:0;
}

.subnav {
    padding-bottom:10px;
}

.subnav a {
    text-decoration:none;
}

.content-spinner {
    padding:20px;
    text-align:center;
}

.explorer-spinner {

}

.explorer-list-table {
    width:100%;
    padding:0;
    border-collapse: collapse;
}

.explorer-list-table thead tr {
    background: #eeeeee; /* Old browsers */
    background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}

.explorer-list-table thead th {
    font-weight:normal;
    border-left:solid 1px #eee;
}

.explorer-list-table thead th:first-child {
    border-left:none;
}

.explorer-list-table thead th,
.explorer-list-table tbody td {
    padding:4px 10px;
}

.explorer-list-table tbody td a {
    text-decoration:none;
}

.explorer-list-table tbody tr:nth-child(even) {
    background-color:#eee;
}

.explorer-list-table tbody tr {
    cursor:pointer;
}

.explorer-list-table tbody tr:hover {
    background-color:#EAEBFC;
}

.file-list-table .icon img {
    margin-top:-3px;
}

.content-header {
    display: table;
    width:100%;
    margin-bottom:10px;
}
.content-header-buttons {
    display:table-cell;
    vertical-align: bottom;
    text-align:right;

}
.content-header-title {
    vertical-align: bottom;
    margin:0;
}

.form-buttons {
    text-align:right;
}

.explorer-header-actions > a {
    margin-right:20px;
    display:inline-block;
    padding-left:20px;
    background-position:left center;
    background-repeat:no-repeat;
    font-size:13px;
    height:16px;
    line-height:16px;
}

.create-workspace-link {
    background-image:url('../img/workspace_add.png');
}

.create-folder-link {
    background-image:url('../img/folder_add.png');
}

.upload-files-link {
    background-image:url('../img/file_upload.png');
}

.explorer-breadcrumbs {
    margin-bottom: 5px;
    line-height: 30px;
    color: #aaa;
    padding: 1px;
    border: 1px solid #F0F0F0;
    display:none;
}
.explorer-breadcrumbs img {
    padding-right:4px;
}
.explorer-breadcrumbs a {
    display: block;
    float: left;
    background: #F0F0F0;
    padding-right: 10px;
    height: 30px;
    margin-right: 31px;
    position: relative;
    text-decoration: none;
    color: #aaa;
}
.explorer-breadcrumbs a:last-of-type {
    margin-right: 25px;
    color:#333;
}
.explorer-breadcrumbs a:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: -30px;
    border: 15px solid transparent;
    border-color: #F0F0F0;
    border-left-color: transparent;
}
.explorer-breadcrumbs a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: -30px;
    border: 15px solid transparent;
    border-left-color: #F0F0F0;
}
.explorer-breadcrumbs a:first-of-type {
    padding-left: 15px;
}
.explorer-breadcrumbs a:first-of-type:before {
    display: none;
}
.explorer-breadcrumbs a:hover {
    background: #00b0ec;
    color: #fff;
    text-decoration: none;
}
.explorer-breadcrumbs a:hover:before {
    border-color: #00b0ec;
    border-left-color: transparent;
}
.explorer-breadcrumbs a:hover:after {
    border-left-color: #00b0ec;
}

.upload-files-drop {

}

.upload-files-drop .dz-message {
    text-align:center;
    cursor:pointer;
}

.upload-files-drop .dz-message i.fa-upload {
    font-size:120px;
    color:#aaa;
}

.upload-files-text {
    text-align:center;
    font-size:30px;
    color:#aaa;
}

.upload-files-drop.dz-browser-not-supported .upload-files-text {
    display:none;
}

.upload-files-button {
    margin-top:20px;
}

.dz-preview {
    display:none;
}

.file-list {
    min-height:100px;
    background-color:#eee;
}

.form-group {
    position:relative;
}

.form-group-errors {
    background: #d9534f;
    color: #ffffff;
    z-index: 5;
    position: absolute;
    left: 5px;
    bottom: -38px;
    display: inline-block;
    margin-bottom: 5px;
    width: auto;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 5px 10px;
    line-height: 1.4;
    cursor: default;
    box-shadow: 4px 4px 2px rgba(53, 53, 53, 0.3);
    border-radius: 5px;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-right: 30px;
}

.form-group-errors .fa-times {
    position:absolute;;
    right:4px;
    top:4px;
    cursor:pointer;
}

.form-group-errors .fa-caret-up {
    color:#d9534f;
    position:absolute;
    left:5px;
    top:-20px;
    font-size:36px;
    line-height:1;
}

.explorer-header-actions-container {
    padding:0 20px;
}

.explorer-header-actions {
    display:none;
}

.explorer-list-message {
    padding:0 20px;
    font-style:italic;
}

.user-groups-list .label {
    margin-right:10px;
    margin-bottom:10px;
}

.user-groups-list .label .glyphicon-remove {
    cursor:pointer;
}

.user-groups-list-title {
    display:none;
}

.user-workspaces-list {
    width:100%;
}

.user-workspaces-list label {
    font-weight:normal;
}

.user-workspaces-list-title {
    display:none;
}

.group-workspaces-list {
    width:100%;
}

.group-workspaces-list label {
    font-weight:normal;
}

.group-workspaces-list-title {
    display:none;
}

.rename-prompt {
    font-weight:normal;
}

.share-form .share-form-group {
    margin-bottom:10px;
}

.share-form select {
    display:inline-block;
    width:200px;
}

.tree-node-icon {
    display:inline-block;
    margin-right:6px;
}

.tree-node-text {
    cursor:pointer;
    display:inline-block;
    padding:1px 4px;
}

.tree-node-text:hover {
    background-color:#EAEBFC;
}

.tree-node  > .tree-node {
    margin-left:20px;
}

.tree-node-toggle {
    margin-right: 6px;
    border: solid 1px #999;
    color: #999;
    font-size: 8px;
    padding: 1px;
    cursor:pointer;
}

.tree-node > .glyphicon-minus {
    display:none;
}

.tree-node > .glyphicon-plus {
    display:inline-block;
}

.tree-node.expanded > .glyphicon-minus {
    display:inline-block;
}

.tree-node.expanded > .glyphicon-plus {
    display:none;
}

.welcome-messages-container {
    padding:0 20px;
}

.admin-only {
    display: none;
}

.cannot-access {
    color: red;
    text-decoration: line-through;
}
