/* Copyright (c) 2012-2015 The TagSpaces Authors. All rights reserved. Use of this source code
 * is governed by a AGPL3 license that can be found in the LICENSE file. */

.appbody {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

#logo {
    padding: 0;
    font-size: 1.5em;
    margin: 3px;
    color: #616577;
    font-weight: bold;
    padding-left: 32px;
    padding-top: 4px;
    background: url("icon.svg") no-repeat left center;
    background-size: 28px 28px;
    background-position: 0 0;
    height: 31px;
    display: inline-block;
}

#appVersion {
    font-size: 1.3em;
    color: #616577;
    margin-left: -7px;
}

#startNewInstanceBack {
    cursor: pointer;
}

#currentLocation {
    padding: 0;
    font-size: 1.3em;
    color: lightgray;
    display: inline-block;
    margin: 6px;
}

#locationName {
    padding-left: 0;
}

#statusBar {
    margin-top: 12px;
    font-size: 14px;
    font-size: 12px;
    text-align: center;
}

#fileDropArea {
    width: 100%;
    height: 100%;
    background-color: rgba(29, 209, 159, 0.72);
    z-index: 1001;
    position: absolute;
    top: 80px;
    left: 0;
}

#fileDropExplanation {
    top: 45%;
    width: 100%;
    text-align: center;
    position: absolute;
    color: white;
    font-size: 20px;
}

#iframeViewer {
    width: 100%;
    border-width: 0;
}

#fileMenuButton, #fileMenuButton:active, #fileMenuButton:focus, #fileMenuButton:hover {
    margin-right: 4px;
    margin-top: 4px;
    height: 28px;
    color: white;
    border-radius: 3px;
    background-color: #515151;
    opacity: 0.8 !important;
    text-transform: uppercase;
    font-size: 12px;
    padding: 4px;
}

#fileMenuButton:hover {
    opacity: 1 !important;
}

#fileTitle {
    margin-top: 5px;
    height: 30px;
    padding-right: 3px;
    padding-left: 3px;
    font-size: 16px;
    font-weight: 300;
    border: 0;
    background-color: transparent;
    color: #333333;
    word-break: break-all;
    overflow: hidden;
}

#fileTitle:hover {
    text-decoration: none;
    background-color: rgba(97, 255, 0, 0.23);
}

#viewsRadio {
    margin: 3px 3px 3px 0;
    display: inline-block;
}

#viewsRadio input {
    display: inline-block;
}

#fileSortRadio {
    display: inline-block;
}

#fileSortRadio input {
    display: inline-block;
}

#dialogAbout {
    width: 600px;
}

#container {
    height: 100%;
    margin: 0 auto;
    width: 100%;
    min-width: 700px;
}

/* Layout */
#locationContent, #tagGroupsContent {
    background-color: transparent;
}

#tagGroupsContent {
    min-height: 50px;
}

#clearFilterButton {
    padding-left: 8px;
    padding-right: 10px;
}

#searchButton {
    padding-left: 10px;
    padding-right: 10px;
}

#clearSearchButton {
    padding-left: 10px;
    padding-right: 10px;
}

#showSearchOptionsButton {
    padding-left: 10px;
    padding-right: 10px;
}

#searchToolbar {
    border-radius: 4px;
    width: 300px;
    background-color: #DBDBDB;
    display: none;
    margin-left: 4px;
    margin-right: 4px;
    margin-bottom: 4px;
    z-index: 1;
    box-shadow: -20px 0px 28px -7px rgba(244, 244, 244, 1);
}

#searchBox {
    margin-top: 4px;
    border: 0;
    background-color: transparent;
    border-bottom: 0;
    font-size: 14px;
    min-width: 30px;
    width: 100%;
}

.searchFormElements {
    font-size: 14px !important;
}

#viewToolbars {
    min-height: 40px;
}

#viewContainers {
    background-color: white;
    padding: 0;
}

#viewer {
    background-color: white;
    width: 100%;
    /*height: 100%;*/
}

/* Directory Navigation */

.dirButton {
    font-size: 13px;
    background-color: #E5E5E5;
    color: #444444;
    background-image: none;
    margin: 1px;
    text-align: left;
    text-transform: none !important;
    flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
}

.dirButton div {
    max-width: 265px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dirButtonContainer {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;

    flex-wrap: wrap;
}

.dirAltNavMenu {
     margin-top: 7px;
}

.dirAltNavMenu .dirButton {
    max-width: 265px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dirButton:hover, .dirButton:active, .dirButton:focus {
    background-color: #ddd;
}

.dropOnFolder {
    background-color: #F6A828 !important;
}

.dirButtonActive {
    background-color: #E2E2E2 !important;
}

#location .selectedDirectory {
    background-color: #EBD5AA;
}

#locationContent {
    overflow-x: hidden;
    overflow-y: auto;
}

.tagGroupIcon {
    width: 40px;
    padding-left: 5px;
}

.tagGroupTitle {
    text-align: left;
    padding: 10px 0 0 2px;
    font-size: 14px !important;
    max-width: 280px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tagGroupActions {
    width: 40px;
}

.directoryIcon {
    width: 40px;
    padding-left: 5px;
}

.tagButton {
    padding: 2px 4px 2px 4px !important;
    background: #008000 !important;
    color: white !important;
    margin: 1px;
    border: 0;
    z-index: 9999;
    border-radius: 5px !important;
    text-decoration: none !important;
    max-width: 150px;
    text-overflow: ellipsis;
    text-transform: none;
    overflow: hidden;
}

.tagButton:hover {
    opacity: 0.8 !important;
    border: 0;
}

.directoryTitle {
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 14px !important;
    max-width: 280px;
    text-overflow: ellipsis;
    text-transform: none;
    overflow: hidden;
}

.directoryActions {
    width: 40px;
}

input a.resetFilter {
    text-indent: -1000em;
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    left: -20px;
    top: 3px;
}

/* Hiding the OOTB filter box */
.dataTables_filter {
    display: none;
}

/* Full screen workaround for webkit browser*/
:-webkit-full-screen #viewer {
    width: 100%;
    height: 100%;
}

/* Used in welcome dialog */
.carousel-inner > .item > img {
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.icon-leaf:hover {
    color: green;
}

.groupTitle {
    color: #444444;
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
}

#dialogOptions .modal-header {
    height: 97px;
}

#dialogOptions .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 400px;
    max-height: 400px;
}

.optionsTitle {
    text-transform: uppercase;
    font-weight: normal;
    color: gray;
    padding: 5px 10px 5px 10px !important;
    font-size: 12px;
}

#welcomeScreen {
    background: url(welcome-logo.png) no-repeat center;
    background-size: auto auto;
    width: 100%;
    height: 100%;
}

#newVersionAvailable {
    padding-left: 10px;
    color: #7bd148;
    display: none;
}

#sideBarButtonGroup {
    margin-right: 3px;
    white-space: nowrap;
}

#showTagGroups, #showLocations, #contactUs {
    width: 50px;
}

#contactUsContent {
    display: none;
}

#contactUsContent a {
    height: 45px;
    color: #404040;
    width: 100%;
    text-align: left;
}

#alternativeNavigator .btn-link {
    padding-left: 0px;
    padding-right: 0px;
}

#alternativeNavigator {
    margin: 0px 5px 5px 0;
    height: 30px;
    min-width: 100px;
    max-width: 150px
}

.dirAltNavMenu ul {
    overflow-y: auto;
    max-height: 430px;
    width: 250px;
    padding: 5px;
    display: block;
}

.dirAltNavMenu li {
    max-width: 240px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.altNavFolderTitle {
    max-width: 200px;
    text-overflow: ellipsis;
    text-transform: none;
    overflow: hidden;
    margin-left: 0;
    padding-left: 4px;
    padding-right: 4px;
}

/*.altNavFolderTitle:hover {
  background-color: lightgray;
}*/

#closeOpenedFile {
    position: fixed;
    top: 1px;
    right: -3px;
    height: 37px;
    box-shadow: -11px 1px 24px -1px #F2F2F2;
    background-color: #F2F2F2;
}

#perspectiveSwitcher {
    top: 7px;
    right: 7px;
    min-width: 200px;
}

.keyShortcut {
    margin-top: 15px;
    display: none;
}

#addTagFileViewer {
    height: 22px;
    width: 35px;
    margin-right: 4px;
    padding-top: 0px;
}

.contactUsSeparator {
    margin: 0 15px 0 15px;
    border-top: 1px solid #ddd
}

.appBackgroundTile {
    background-image: url('background.png');
    background-repeat: repeat;
    margin: 0;
}

/* Setting the background of every perspective to white */
.col2 > .row2 > div {
    background-color: white;
}

#exitFullScreen {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    background-color: rgba(173, 173, 173, 0.5);
    display: none;
    z-index: 99999;
}

#exitFullScreen span {
    padding-left: 0;
}

#openLeftPanel {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 2px;
}

#perspectiveSwitcherButton {
    background-color: #F2F2F2;
}

.betaTag {
    color: red;
    margin-left: 5px;
}

.parentDirectoryButton {
    max-width: 30px !important;
}

.top-align-5 {
    margin-top: 5px;
}

.flatpickr-input {
    min-width: 40%;
}

.date-time-calendar {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 15px;
}

#showNewFileDialog {
    padding-left: 13px;
}