﻿/* GLOBALY USED STYLES - START */

.clear {
    clear:both;
}

.row.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

    .row.no-gutter [class*='col-']:not(:first-child),
    .row.no-gutter [class*='col-']:not(:last-child) {
        padding-right: 0;
        padding-left: 0;
    }

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.opacity-hidden {
    -moz-opacity: 0.00;
    -khtml-opacity: 0.00;
    opacity: 0.00;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha"(Opacity=0);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter: alpha(opacity=0);
}

/* GLOBALY USED STYLES - END */


/* UI FIXES - START */

.main-pills {
    margin: 10px 0;
}

    .main-pills li a {
        color: #333;
        font-weight: bold;
        font-size: 1.2em;
        padding: 5px 25px;
    }

    .main-pills li a {
        color: #333;
        font-weight: bold;
        font-size: 1.2em;
        padding: 5px 25px;
    }

        .main-pills li a:hover {
            background: #F0F0F0;
        }

    .main-pills > li.active > a, .main-pills > li.active > a:focus, .main-pills > li.active > a:hover {
        background: #009C58;
    }

    .main-pills > li + li {
        margin-left: 5px;
    }

/* Action links - START */
.actions-links.inactive ul li a, .actions-links.inactive ul li a:hover {
    color: #cfcfcf;
}

/* Action links - END */

/* Header search - START */
.header-search {
    width: 100%;
}

    .header-search input {
        border-radius: 4px !important;
        height: 35px;
    }
/* Header search - END */



/* Folder Workzone - START */
#MySplitter div {
    overflow: auto;
}

.folder-manager {
    border: 2px solid #C8C8C8;
    background: #F2F2F2;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

    .folder-manager .manager-commands {
        min-height: 40px;
        background: #DDDDDD;
        padding: 3px;
        border: 1px solid #C5C5C5;
    }

        .folder-manager .manager-commands .btn-group {
            margin: 2px 0;
        }

    .folder-manager .manager-workzone {
        display: table;
        width: 100%;
        min-height: 400px;
        position: relative;
    }

    .folder-manager .manager-tree {
        overflow: auto;
        display: table-cell;
        height: 100%;
        float: none;
        vertical-align: top;
    }

        .folder-manager .manager-tree #folderTree {
            max-height: 700px;
        }

        .folder-manager .manager-tree ul.fancytree-container {
            min-height: 400px;
            background: #F2F2F2;
            outline: none !important;
            border: none;
        }

    .folder-manager .manager-folders {
        overflow: visible;
        background: white;
        border-left: 2px solid #C8C8C8;
        display: table-cell;
        height: 100%;
        float: none;
        vertical-align: top;
    }

        .folder-manager .manager-folders .folder-items {
            max-height: 700px;
            overflow: auto;
        }

        .folder-manager .manager-folders .table-header {
            background: #DBDBDB;
            padding: 2px 4px;
            font-weight: bold;
            border-bottom: 1px solid #C8C8C8;
        }

            .folder-manager .manager-folders .table-header .sort-by-header {
                color: black;
                cursor: pointer;
            }

    .folder-manager.copy-item .jstree-default .jstree-hovered {
        cursor: copy;
    }

    .folder-manager.move-item .jstree-default .jstree-hovered {
        cursor: move;
    }

    .folder-manager .manager-folders .table-header .sort-by-header .caret-arrow {
        display: none;
    }

    .folder-manager .manager-folders .table-header .sort-by-header.dsc .caret-down {
        display: inline-block;
    }

    .folder-manager .manager-folders .table-header .sort-by-header.asc .caret-up {
        display: inline-block;
    }

    .folder-manager .overlay, .loading-overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: black;
        background: rgba(0,0,0,0.2);
        display: flex; /* add */
        justify-content: center; /* add to align horizontal */
        align-items: center; /* add to align vertical */
        z-index: 2000;
    }

    .folder-manager .manager-folders .folder-items .show-subdirs {
        font-size: 1.3em;
        cursor: pointer;
    }

    .folder-manager .manager-folders .folder-items .hide-subdirs {
        display: none;
        font-size: 1.3em;
        cursor: pointer;
    }

    .folder-manager .manager-folders .folder-items .folder-item.subitem {
        padding-left: 5%;
        background: #F4F4F4;
        font-size: 0.9em;
    }

    .folder-manager .manager-folders .folder-item {
        font-size: 1em;
        border-bottom: 1px solid #C8C8C8;
        padding: 8px 4px;
    }

        .folder-manager .manager-folders .folder-item .actual-title, .folder-manager .manager-folders .folder-item .item-icon {
            cursor: pointer;
        }

        .folder-manager .manager-folders .folder-item .checkbox-icon {
            float: left;
        }

        .folder-manager .manager-folders .folder-item .title-actions .sub-action-wrapper {
            margin: 0;
        }

        .folder-manager .manager-folders .folder-item .title-actions .sub-action-links ul li a {
            font-size: 0.9em;
        }

        .folder-manager .manager-folders .folder-item .title-actions .actual-title {
            font-weight: 900;
        }

        .folder-manager .manager-folders .folder-item .item-modified-date, .folder-manager .manager-folders .folder-item .item-author {
            font-size: 1em;
            color: #6E6E6E;
            font-weight: bold;
            line-height: 40px;
        }

        .folder-manager .manager-folders .folder-item .item-icon {
            color: #DDD;
            font-size: 3em;
            vertical-align: top;
        }

        .folder-manager .manager-folders .folder-item:hover {
            background: #FCFCFC;
        }

            .folder-manager .manager-folders .folder-item:hover .item-icon {
                color: black;
            }

        .folder-manager .manager-folders .folder-item.selected {
            background: #ADADAD;
        }

            .folder-manager .manager-folders .folder-item.selected .item-icon {
                color: black !important;
            }

            .folder-manager .manager-folders .folder-item.selected .title-actions .sub-action-links ul li a {
                color: #5F5F5F;
            }

    .folder-manager .manager-folders table td {
        vertical-align: middle;
    }

    .folder-manager .manager-footer {
        background: #D8D8D8;
    }

.vsplitbar {
    width: 5px;
    background: #aaa;
}

.item-view-actions {
    padding: 5px;
    background: white;
    margin: 5px 10px;
}

    .item-view-actions a {
        color: #cccccc;
        font-size: 13px;
    }
    
    .item-view-actions .item-navigation {
        float:right;
    }


        .item-view-actions .item-navigation .show-item-link {
            margin-left: 10px;
        }

/* Folder Workzone - END */


/* UI FIXES - END */


/* UPLOAD FILES FIXES - START */
#uploadFilesModal .modal-body.upload-modal-body {
    max-height: initial;
    padding: 20px 35px 20px 35px;
}
/* UPLOAD FILES FIXES - END */


/* DRAGGABLE FOLDERS CSS - START */
.folder-container .ui-sortable-placeholder {
    display: none;
}

.folder-container .drag-folder-hover {
    background: #F0F0F0;
}

.folder-container .drag-folder-helper {
    border-color: #009084;
    background: #00Ae9f;
    color: white;
    width: auto !important;
    height: auto !important;
    padding: 3px;
    border-radius: 3px;
    font-size: 0.8em;
}

.folder-container .loader {
    text-align: center;
    font-size: 0.8em;
    margin: 0;
    padding: 2px 0;
    background: #F4F4F4;
    color: black;
}

.validation-error {
    color: #b94a48;
    margin: 0;
    text-align: center;
}

.validation-invalid-field input {
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

.temp-message {
    color: green;
    float:left;
}
/* DRAGGABLE FOLDERS CSS - END */






/* STATS - START */
#divFolderStatsModal .form-control {
    height: auto;
}

.legend em {
    font-size: 16px;
}

.legend .legend-placeholder {
    width: 16px;
    height: 16px;
    background: grey;
    display: inline-block;
    margin-right: 10px;
}

.legend .legend-users .legend-placeholder {
    background: rgba(220,220,220,0.5);
    border: 2px solid rgba(220,220,220,0.8);
}

.legend .legend-views .legend-placeholder {
    background: rgba(151,187,205,0.5);
    border: 2px solid rgba(151,187,205,0.8);
}
/* STATS - END */


/* BOOKMARKS - START */
.validation-error {
    color: #b94a48;
    margin: 0;
    text-align: center;
}

.validation-invalid-field input {
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}
/* BOOKMARKS - END */


/* WEBSITE - START */
.modal-wide .modal-body {
    max-height: none !important;
    padding: 20px;
}

select.form-control {
    height: 45px;
}
/* WEBSITE - END */


/* EMBED VIDEO - START */
.control-label-small {
    font-size: 12px !important;
    color: #009C58;
}
/* EMBED VIDEO - END */


/* AUTOCOMPLETE STYLE - START */
.ui-autocomplete {
    position: absolute;
    list-style: none;
    border: 1px solid #aaaaaa;
    border-top: 0px;
    background: #ffffff;
    color: #222222;
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: none;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

    .ui-autocomplete.ui-widget-content {
        background: white;
        border-top: none;
    }

    .ui-autocomplete li {
        position: relative;
        margin: 0;
        padding: 3px 1em 3px .4em;
        cursor: pointer;
        min-height: 0;
    }

        .ui-autocomplete li.ui-state-focus {
            background: #E5E5E5;
            font-weight: normal;
            color: #212121;
        }
/* AUTOCOMPLETE STYLE - END */



/* Move and copy item alerts - START */
.item-alert {
    background: #3CBE86;
    color: white;
    padding: 4px;
    cursor: default;
    width: 100%;
    clear: both;
    display: none;
}

    .item-alert em {
        font-weight: bold;
        font-size: 1.3em;
    }

    .item-alert a {
        color: #333;
        text-decoration: none;
    }

.folder-manager.move-item {
    cursor: move;
}

.folder-manager.copy-item {
    cursor: copy;
}
/* Move and copy item alerts - END */



/* Modal comments - START */
.modal-comments {
    overflow-y:auto!important;
    min-height: 200px;
}

.modal-comments .no-comments {
    padding: 90px 0;
}

.modal-comments .single-comment {
    border-bottom: 1px solid #e5e5e5;
    margin-top: 10px;
    padding-bottom: 10px;
    float:left; 
    width: 100%;
}

.modal-comments .user-icon {
    font-size: 3em;
    color: #00Ae9f;
}

.modal-comments .comment-header .count {
    font-weight: bold;
}

.modal-comments .comment-delete {
    float:right;
    margin-left: 5px;
}


.modal-comments .comment-delete a {
    color:red;
}

.modal-comments .user-name {
    font-weight: bold;
}

.modal-comments .comment-date {
    float:right;
    font-weight:bold;
    color:grey;
}

.modal-comments .comment-text {
    font-style:italic;
    margin-top: 5px;
}
/* Modal comments - END */


/* Lock folder - START */
.middle-dialogue {
    padding: 50px;
}

.middle-dialogue .folder-icon {
    font-size: 5em;
    line-height: 0.5em;
}


.middle-dialogue .unlock-folder-form {
    max-width: 300px;
    margin:auto;
}

    .middle-dialogue .unlock-folder-form button {
        margin-top: 10px;
    }
/* Lock folder - END */

    
/* Show document - START */
#pnlItemDisplay_Content iframe {
    width: 100%;
    min-height:600px;
}
/* Show document - END */


/* Inbox styles - START */
 .messages-container {
        background: #E4E4E4;
        border-top: 2px solid #00AE9F;
    }
   .messages-container .checkbox  {
        margin: 0;
   }

   .messages-container .checkbox input {
        position: static;
        margin-top: 0;
        margin-bottom: 0;
   }
   

   .messages-container hr {
        margin: 10px 0;
        border: 0px;
   }

   .messages-container .mailbox-messages-row {   
        background: #F9F9F9;
        border-left: 2px solid #B3B3B3;
        padding: 0;
        min-height: 600px;
   }
   
   .messages-container .mailbox-actions {
        padding: 5px;
        background: #BABABA;
        border-bottom: 2px solid grey;
   }

   .messages-container .mailbox-messages-row .list-group-item {
        border-radius: 0px;
        border-left: 0px;
        border-right: 0px;
   }

   .messages-container .mailbox-messages-row .mail-content {
       width:95%; 
       display:inline-block;
   }

   .messages-container .mailbox-messages-row .mail-content .mail-text {
       text-align:justify;
       font-size: 0.9em;
   }

   .messages-container .mailbox-messages-row .mail-content .mail-subject {
        margin: 3px 0;
        font-weight: bold;
   }

   .messages-container .mailbox-folders-row {
        padding: 0px;
   }

    .messages-container .mailbox-folders-row .mailbox-header {
        margin: 4px;
    }

   .messages-container .mailbox-folders-row .mailbox-item {
       margin: 10px 0 20px 0;
   }

   .messages-container .mailbox-folders-row .mailbox-item .mailbox-name {
       padding: 5px;
       min-height: 30px;
       background: #595959;
       color: white;
   }


    .messages-container .mailbox-folders-row .mailbox-item ul {
        margin-left: 20px;
    }
   
   .messages-container .mailbox-folders-row .mailboxes-title { 
        text-transform: uppercase;
        font-weight: bold;
        color: #595959;
   }

   .messages-container .mailbox-messages-row .mailbox-message .name {
       font-size: 1.3em;
       font-weight: bold;
   }
   
   .messages-container .nav-pills > li.active > a {
       background-color: #00Ae9f;
       color: white;
   }
   
   .messages-container .nav-pills > li > a {
       color: #000000;
   }

   .messages-container .nav-pills > li:hover {
       background-color: #BEBEBE;
   }

   .messages-container .nav-pills> .active > a > .badge {
       color: #777777;
   }

   .messages-container .nav-tabs .glyphicon:not(.no-margin) { margin-right:10px; }
   .messages-container .tab-pane .list-group-item:first-child {border-top-right-radius: 0px;border-top-left-radius: 0px;}
   .messages-container .tab-pane .list-group-item:last-child {border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;}
   .messages-container .tab-pane .list-group .checkbox { display: inline-block;margin: 0px; }
   .messages-container .tab-pane .list-group input[type="checkbox"]{ margin-top: 2px; }
   .messages-container .tab-pane .list-group .glyphicon { margin-right:5px; }
   .messages-container .tab-pane .list-group .glyphicon:hover { color:#FFBC00; }
   .messages-container a.list-group-item.read { color: #222;background-color: #F3F3F3; }
   .messages-container .nav-pills>li>a {padding: 5px 10px;}
   .messages-container .ad { padding: 5px;background: #F5F5F5;color: #222;font-size: 80%;border: 1px solid #E5E5E5; }
   .messages-container .ad a.title {color: #15C;text-decoration: none;font-weight: bold;font-size: 110%;}
   .messages-container .ad a.url {color: #093;text-decoration: none;}
/* Inbox styles - END */


iframe.viewer-iframe {
}

iframe.viewer-iframe.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
}


#divShareFolder .permission-boxes {
    clear:left;
    float:left;
    width: 100%;
    margin-bottom: 10px;
}

#divShareFolder .permission-boxes .permission-box {
    float:left;
    margin: 0 5px;
}

#divShareFolder .permission-boxes .permission-box label {
    font-size: 11px;
    font-weight: bold;
}