﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

html, body {
    margin: 0;
    padding: 0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 8px;
    padding-right: 15px;
    margin-top: 8px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/*.navbar-default {
    background: none;
}

.navbar-brand {
    padding: 8px 10px;
}*/

/* this can be used to center a modal vertically
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}
.vertical-align-center {
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    width:inherit;
    max-width:inherit;
    height:inherit;
    margin: 0 auto;
    pointer-events: all;
}*/

.dialog-body {
    width: 100%;
    padding: 0;
}

.dialog-body h4 {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

.dialog-body .dialog-content-container {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.dialog-body .btn-sync-all {
    padding: 2px 8px;
    margin-top: -5px;
    font-weight: normal;
}

.dialog-body .nav > li > a:hover, .nav > li > a:focus {
    background-color: #fff;
}

.dialog-body .mp-content-tabs .nav-tabs > li {
    padding-left: 20px;
}

.dialog-body .mp-content-tabs .nav-tabs > li > a {
    padding-left: 1px;
    padding-right: 1px;
    padding-bottom: 3px;
    color: #555;
    font-weight: normal;
}

.dialog-body .mp-content-tabs .nav-tabs > li.active > a {
    font-weight: bold;
}

.dialog-body .mp-content-tabs .tab-content {
    /*margin-left: 20px;
    margin-right: 20px;*/
    padding-top: 15px;
    background-color: #f2f2f2;
}

.dialog-body .tab-content .tab-pane-content {
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - 95px);
}

.dialog-body .event-item .panel-body {
    padding: 12px;
}

.dialog-body .event-item .subject {
    font-size: 18px;
    font-weight: bold;
}

.event-item .btn-sync-event {
    background-color: #fff;
    color: #10285d;
    border: 1px solid #10285d;
    font-weight: bold;
}

.event-item .btn-sync-event:hover {
    border-color: #2764E8;
    color: #2764E8;
}

.event-item .btn-sync-event:focus {
    background-color: #fff;
    color: #10285d;
    border: 1px solid #10285d;
}


.event-item .btn-dismiss-event {
    margin-top: 4px;
    color: #10285d;
}

.event-item .btn-dismiss-event:hover {
    text-decoration: none;
    color: #2764E8;
}

.event-item .btn-dismiss-event:focus {
    text-decoration: none;
}

/*.dialog-body.body-content {
    padding: 0;
}*/

.color-questel-blue {
    color: #10285d;
}

.login-panel-container {
    width: 400px;
    margin: 0 auto;
}

.login-panel { margin-top: 15px; border: 0; box-shadow: none; -webkit-box-shadow: none; }
/*.login-panel .panel-heading { text-align: center; }
.login-panel .panel-title { font-weight: bold; }*/

.btn-login {
    color: #fff;
    font-size: 18px;
    background: none;
    background-color: #0d4d6a;
    border: none;
    padding: 3px 6px;
    border: 1px solid #033c54;
    border-radius: 4px;
    border-bottom: 5px solid #033c54;
    margin-right: 10px;
    margin-top: -5px;
    cursor: pointer;
    position: relative;
    height: auto;
    font-weight: normal;
    transition: background-color 0.5s;
    margin-top: 3px;
    width: 100%;
}

.btn-login:hover {
    background-color: #35748F;
}

.btn-login:active {
    border: 1px solid #033c54;
    background-color: #35748F;
    margin-top: 7px;
}

.fa.disabled,
.fa[disabled],
.disabled > .fa,
[disabled] > .fa,
.svg-inline--fa.disabled,
.svg-inline--fa[disabled],
.disabled > .svg-inline--fa,
[disabled] > .svg-inline--fa {
  /*opacity: 0.6;*/
  cursor: not-allowed;
}


input[type=text]::-ms-clear {
    display: none;
}


/*
    office-view, outlook-view
*/

.office-view {
    overflow-x: hidden;
}

.office-view .content-wrapper {
    margin-left: 10px;
}


/*
    Topbar
*/

.fixed-header {
    margin-bottom: 10px;
    padding-right: 8px;
}

.topbar {
    margin-right: 8px;
    /*border-bottom: 1px solid #ddd;*/
    padding-bottom: 10px;
}

.office-view .topbar {
    margin-right: 0;
    margin-top: 5px;
}

.topbar .logo {
    display: inline-block;
    padding-left: 8px;
    margin-top: 4px;
}

.topbar .help-block {
    float: right;
}

.topbar .help-block .help-button {
    background-color: #e9e9e9;
    border-radius: 25px;
    font-size: 10px;
    color: #333;
    padding: 5px;
}

.help-button .help-text {
    padding-right: 8px;
    font-size: 11px;
}

.help-block .help-button:hover {
    cursor: pointer;
}

.help-button i:not(.icon-hover),
.help-button:hover i.icon-hover {
    display: inline-block !important;
}

.help-button i.icon-hover,
.help-button:hover i:not(.icon-hover) {
    display: none !important;
}

/*.topbar .menu-options {
    display: inline-block;
    margin-top: 11px;
    margin-left: 15px;
}

.menu-options .menu-item {
    display: inline-block;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 12px;
    margin-bottom: -1px;
}

.menu-item-label {
    padding: 7px 15px;
    border: 1px solid transparent;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.active .menu-item-label {
    border-color: #ddd #ddd transparent !important;
    background-color: #fff;
}*/

.icon-hover-toggle i:not(.icon-hover),
.icon-hover-toggle:hover i.icon-hover {
    display: inline-block !important;
}

.icon-hover-toggle i.icon-hover,
.icon-hover-toggle:hover i:not(.icon-hover) {
    display: none !important;
}

.options-bar {
    padding-top: 8px;
    /*margin-right: 8px;*/
    padding-bottom: 6px;
    border-bottom: 2px solid #e9e9e9;
}

.office-view .options-bar {
    margin-right: 0;
}

.options-bar .option {
    display: inline-block;
    vertical-align: top;
    /*width: 90px;*/
    margin: 0 6px;
}

/*
.options-bar .option:hover i.fa-light {
    font-weight: 900;
}*/

.option .fa-layers-counter {
    top: -8px;
    right: -12px;
}

.options-bar .option:hover {
    cursor: pointer;
}

.option i:not(.icon-hover),
.option:hover i.icon-hover {
    display: block !important;
}

.option i.icon-hover,
.option:hover i:not(.icon-hover) {
    display: none !important;
}

/*.options-bar .far,
.options-bar .fas {
    font-size: 1.75em !important;
}*/



.fa-layers-counter {
    /*font-size: 1.5em !important;*/
    font-family: "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.options-bar .option-text {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 5px;
    color: #333;
}

.office-view .body-content {
    padding-right: 8px;
}


.section-header {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.section-header .section-header-num {
    display: inline-block;
}

.section-header .section-header-num .section-header-num-inner {
    border: 2px solid #e9e9e9;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header .section-header-text {
    margin-left: 5px;
}


.upload-type-select {
    font-size: 12px;
}

.upload-type-select .bootstrap-select > .dropdown-toggle {
    height: 28px;
    padding: 3px 8px;
    font-size: 12px;
}

.bootstrap-select.btn-group .dropdown-menu {
    width: 100% !important;
    min-width: 0;
    font-size: 12px;
}

.dropdown-menu > li > a {
    white-space: normal !important;
    word-wrap: break-word !important;
}

.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
    width: 85%;
}

hr {
    margin-top: 5px;
    margin-bottom: 10px;
}

/* main page - flexbox */

/*html, body {
    height: 100%;
}

body {
    overflow: hidden;
}

.mainpage-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 75vh;
    max-height: 75vh;
    align-items: stretch;
}*/

/*.mainpage-wrapper .body-content {
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.mp-content-tabs {
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.matter-list-group {
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.matter-listz {
    flex: 1 1;
    overflow-y: scroll;
    

    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 12px;
    background-color: #eee;
}*/

/*.matter-list-group {
    flex: 1 1 auto;
}

.matter-listz {
    flex: 1 1 auto;
    height: 0;
    min-height: 0;
    overflow: auto;

    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 12px;
    background-color: #eee;
}*/



/* main page - content tabs */
.mp-content-tabs .nav-tabs > li > a {
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 0;
    color: #555;
}

.mp-content-tabs .nav-tabs > li.active {
    border-bottom: none;
}

.mp-content-tabs .nav-tabs {
    border-bottom: 2px solid #e9e9e9;
}

.mp-content-tabs .nav-tabs > li {
    margin-bottom: -2px;
}

.mp-content-tabs .nav-tabs > li > a {
    padding: 2px 9px;
    font-size: 12px;
    border: none;
    /*border-bottom: 2px solid #ddd;*/
    margin: 0;
    outline: 0;
    color: #333;
    font-weight: bold;
}

/*.office-view .mp-content-tabs .nav-tabs > li > a {
    font-size: 12px;
    padding: 2px 5px;
}*/

/*#matterListTabs.nav-tabs .dropdown li > a {
    font-size: 12px;
}*/

.mp-content-tabs .nav-tabs > li.active > a,
.mp-content-tabs .nav-tabs > li.active > a:hover,
.mp-content-tabs .nav-tabs > li.active > a:focus {
    border: none;
    border-bottom: 2px solid #10285d;
}

/*.mp-content-tabs .tab-content {
    margin-top: 6px;
}*/

.matter-list-group .matter-count {
    padding: 4px 0;
    font-size: 11px;
    font-style: italic;
}

.office-view .matter-count {
    margin-top: 3px;
}


.matter-search-group .input-group-addon {
    /*height: 28px;*/
    padding: 4px 8px;
    background-color: #e9e9e9;
    color: #333;
    border: none;
}

.matter-search-group .matter-search {
    /*height: 28px;*/
    /*border-radius: 0;*/
    padding: 3px 8px;
    /*font-size: 12px;*/
    border-left: none;
    background-color: #e9e9e9;
    color: #333;
    border: none;
    box-shadow: none;
}

#btnCreateMatter:hover {
    text-decoration: none;
}

#btnCreateMatter i:not(.icon-hover),
#btnCreateMatter:hover i.icon-hover {
    display: inline-block !important;
}

#btnCreateMatter i.icon-hover,
#btnCreateMatter:hover i:not(.icon-hover) {
    display: none !important;
}


/*.matter-list {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 12px;
    background-color: #eee;
    max-height: calc(100vh - 327px);
    overflow-x: hidden;
    overflow-y: auto;
}*/

.mainpage-wrapper {
    height: 100vh;
    min-width: 300px;
    overflow-x: hidden;
}

.mainpage-wrapper .content-wrapper {
    /*padding-left: 8px;*/
    padding-right: 8px;
    margin-bottom: 10px;
}

.mainpage-wrapper.outlook-view .content-wrapper {
    padding-right: 8px;
}

.mainpage-wrapper .flex-container {
    display: flex;
    flex-direction: column;
}

.mainpage-wrapper .flex-item {
    flex: 1 1;
}

.mainpage-wrapper .tab-content > .active {
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.matter-list {
    /*border-left: 1px solid #ccc;*/
    border-top: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    font-size: 12px;
    /*background-color: #eee;*/
}

/* Fix for Edge scrollbar covering content */
@supports (-ms-ime-align:auto) {
    .matter-list {
        margin-right: 15px;
    }
}

/*.matter-list-item,*/
.matter-list-load-more,
.matter-list-no-results,
.matter-list-favorites-empty {
    padding: 6px 6px;
    border-top: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    background-color: #fff;
}

.matter-list-item {
    border-top: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    /*height: 46px;*/
}

.outlook-view .matter-list {
    /*background-color: #eee;*/
}

/*.outlook-view .matter-list-item {
    padding: 6px 6px;
}*/

.matter-list-item .left {
    /*padding: 6px 6px;
    padding-bottom: 4px;*/

    display: flex;
    flex: 1 1;
    align-items: center;

    padding-top: 2px;
    padding-left: 6px;
    padding-right: 6px;
    background-color: #fff;
    color: #333;
    border-right: 1px solid #e9e9e9;
}

.matter-list-item .right {
    display: flex;
    flex: none;
    align-items: center;

    background-color: #fff;
    padding-top: 2px;
    padding-left: 7px;
    padding-right: 5px;
}

.matter-list-item {
    margin-bottom: -1px;
}

.matter-action-menu .icon-more-actions {
    font-size: 2.3rem;
    color: #666;
}

.matter-list-item:first-child {
    border-top: none;
}

.matter-list-item.bottom-border {
    border-bottom: 1px solid #ccc;
}

.outlook-view .matter-list-item .left:hover {
    background-color: #e6edf8 !important;
}

.outlook-view .matter-list-item.selected .left,
.outlook-view .matter-list-item.selected .left:hover {
    background-color: #e6edf8 !important;
}

.office-view .expand-icon {
    font-size: 1.3rem;
    cursor: pointer;
}

.office-view .expand-icon-container {
    width: 11px;
}

.matter-info {
    margin-right: 8px;
    font-weight: bold;
    /*padding: 5px 0;*/
    
    padding-top: 4px;
    padding-bottom: 5px;
    font-size: 1.125rem;
}

.office-view .matter-info {
    margin-left: 8px;
    font-size: 1.125rem;
}

.outlook-view .matter-list .matter-info:hover {
    cursor: pointer;
}

.office-view .matter-documents {
    border-left: 1px solid #ccc;
    margin-left: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: -1px;
    display: none;
}

.office-view .matter-documents .new-document {
    padding-top: 5px;
    padding-bottom: 6px;
    padding-left: 5px;
    font-size: 1.1rem;
    background-color: #ddf7f7;
    border-top: 1px solid #ccc;
    color: #555;
    display: none;
}

.office-view .matter-documents .new-document:not(:last-child) {
    border-bottom: 1px solid #ccc;
    margin-bottom: -1px;
}

.office-view .matter-documents .new-document .new-doc-name {
    height: 20px;
    padding: 2px 2px;
    width: 70%;
    border: 1px solid #888;
    line-height: 1;
}

.office-view .new-document .btn,
.office-view .check-in-message .btn {
    font-size: 1.1rem;
    padding: 2px 6px;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #555;
    border-radius: 2px;
    font-weight: bold;
    width: 65px;
    margin-right: 5px;
    color: #000;
}

.office-view .new-document .btn-new-doc-continue,
.office-view .check-in-message .btn-check-in-continue {
    background-color: forestgreen;
    color: #fff;
}

.office-view .check-in-message {
    background-color: #ddf7f7;
    padding-top: 5px;
    padding-bottom: 6px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.1rem;
    color: #555;
    line-height: normal;
    border-top: 1px solid #ccc;
    display: none;
}

.office-view .matter-documents .document {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 5px;
    /*font-size: 12px;*/
    font-size: 1.1rem;
    color: #555;
}

.office-view .document-name {
    font-size: 1.2rem;
}

.office-view .action-row {
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.office-view .action-row .checked-out {
    font-style: italic;
    margin-left: 10px;
    flex: 1 1;
}

.office-view .action-row .checked-out i {
    color: green;
}

.btn-action {
    width: 75px;
    text-align: left;
}

.btn-action-dropdown {
    margin-left: -2px !important;
}

.btn-action,
.btn-action-dropdown {
    background-color: #10285d;
    color: #fff;
    border-radius: 0;
    font-size: 1.1rem;
    line-height: 1.25;
    padding-top: 2px;
    padding-bottom: 2px;
}

.btn-action:hover,
.btn-action:focus,
.btn-action-dropdown:hover,
.btn-action-dropdown:focus {
    color: #fff;
    background-color: #2764E8;
}

.action-buttons .dropdown-menu {
    /*background-color: #2b579a;
    color: #fff;*/
    top: 89%;
    font-size: 1.1rem;
    /*border-radius: 0 0 4px 4px;*/
    border-radius: 0;
    padding-top: 0;
    /*padding-bottom: 1px;*/
    /*padding-bottom: 1px;*/
    padding-bottom: 0;
    /*background-color: #3368b8;*/
    border: 1px solid #1f4682;
    border-top: 1px solid #fff;
    background-clip: border-box;
    min-width: 96px;
    max-width: 96px;
    line-height: 1.25;
}

.action-buttons .dropdown-menu li {
    background-color: #10285d;
}

.action-buttons .dropdown-menu > li > a {
    color: #fff;
    padding-left: 6px;
    padding-bottom: 2px;
}

.action-buttons .dropdown-menu > li > a:hover {
    background-color: #2764E8;
    color: #fff;
}

.action-buttons .dropdown-menu > li:not(:last-child) {
    border-bottom: 1px solid #fff;
}

.action-buttons .dropdown-menu li.disabled {
    opacity: 0.65;
}

.action-buttons .dropdown-menu > li.disabled,
.action-buttons .dropdown-menu > li.disabled > a:hover {
    background-color: #2b579a !important;
}

/*.action-buttons .dropdown-menu li.disabled,
.action-buttons .dropdown-menu li.disabled > a:hover {
    opacity: 0.65;
    color: #fff;
    background-color: #3368b8;
}*/

.office-view .matter-documents .document-items .document:not(:first-child),
.office-view .checkedout-documents-items .document:not(:first-child) {
    border-top: 1px solid #ccc;
}

.office-view .checkedout-documents-items .document:last-child {
    border-bottom: 1px solid #ccc;
}

/*.office-view .matter-documents .document-items .document:not(:last-child) {
    border-bottom: 1px solid #ccc;
}*/

.office-view .document .status-row {
    display: none;
    margin-top: 5px;
    font-size: 1.1rem;
}

.matter-list .matter-number,
.matter-list .matter-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.matter-list .matter-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/

.matter-list .matter-actions {
    text-align: right;
    font-size: 1.6rem;
    padding-right: 4px;
    white-space: nowrap;
}

/*.outlook-view .matter-list .matter-actions {
    margin-top: 5px;
}*/

.matter-list .matter-actions {
    overflow: hidden;
    white-space: nowrap;
    padding-right: 2px;

    display: inline-block;
    width: 0;
    transition: width 500ms;
}

.matter-list .matter-actions.open {
    width: 99px !important;
    transition: width 500ms;
}

.matter-list .matter-actions .fa {
    display: inline;
}

.matter-list .matter-actions {
    cursor: default;
}

.matter-list-item .icon-upload-new i:hover,
.matter-list .matter-actions i:hover {
    cursor: pointer;
}

.matter-actions i {
    color: #10285d;
}

.matter-actions i:hover {
    color: #3367F5;
}

/*
.matter-actions i.active {
    color: #10285d;
}*/

/*
.matter-list-item .icon-upload-new i { color: #6ebbe6; }
.matter-list-item .icon-view-documents i { color: #222; }
.matter-list-item .icon-favorite i { color: #222; }
.matter-list-item .icon-view-notes i { color: #222; }
.matter-list-item .icon-matter-details i { color: #222; }
.matter-list-item .icon-open-ascent i { color: #222; }

.matter-list-item .icon-view-documents .fill { color: rgb(43, 87, 154); }
.matter-list-item .icon-favorite .fill { color: #A82B0E; }
.matter-list-item .icon-view-notes .fill { color: #CF9D21; }
*/

.matter-list-load-more {
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
}

.matter-list-no-results {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 12px;
    font-size: 12px;
}

.matter-list-favorites-empty {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 12px;
    font-size: 12px;
}

.upload-buttons {
    /*margin-top: 10px;*/
}

.upload-buttons .text-muted {
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.2 !important;
    font-style: italic;
}

/*
.btn-quick-upload, .btn-quick-upload[disabled]:hover {
    background-color: #398e35;
    border-color: darkgreen;
}

.btn-quick-upload:hover {
    background-color: #327f2f;
    border-color: #2b7028;
}*/

.btn-questel-blue {
    background-color: #10285d;
    color: #fff;
    font-weight:bold;
}

.btn-questel-blue:hover {
    background-color: #2764E8;
    color: #fff;
}

#documentTable tr td {
    vertical-align: middle;
}

#documentTable .bootstrap-select > .dropdown-toggle {
    height: 28px;
    padding: 3px 8px;
    font-size: 12px;
}

.approvals-list {
    height: calc(100vh - 80px);
    overflow-x: hidden;
    overflow-y: auto;
}

.approvals-list > .approval-item {
    /*background-color: #ddd;
    border-left: 7px solid #084763;*/
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 12px;
    min-height: 72px;
}

.approvals-list > .approval-item:not(:last-child) {
    margin-bottom: 10px;
}

.approvals-list > .approval-item .info-row {
    padding-bottom: 15px;
    font-size: 12px;
}

.approvals-list > .approval-item .action-row {
    
}

.approvals-list > .approval-item .action-row .btn {
    font-size: 12px;

    border: 1px solid #10285d;
    color: #10285d;
    font-weight: bold;
}

.approvals-list > .approval-item .action-row .dropdown-menu {
    font-size: 13px;
}

.approvals-list > .approval-item .status-row {
    padding-left: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.approvals-list > .approval-item .status-row .status-text {
    padding-left: 5px;
}

.approvals-list > .approval-item .success-row {
    padding-left: 15px;
    display: none;
}

.approvals-list > .approval-item .success-row .icon {
    display: inline-block;
    font-size: 18pt;
    margin-top: 10px;
}

.approvals-list > .approval-item .success-row .text {
    display: inline-block;
    font-size: 16pt;
    vertical-align: top;
    margin-top: 12px;
}

.slide-off-approval {
    opacity: 1;
    transition: 1s ease-out;
    transform: translateX(100%);
}

.fade-out {
    opacity: 0;
    transition: opacity 500ms ease-in-out;
}

h4.dialog-header {
    border-bottom: 6px solid #084763;
    font-size: 24px;
    padding-bottom: 8px;
    margin-bottom: 0;
}



.dialog-content > .scrollable-list {
    height: calc(100vh - 82px);
    overflow-x: hidden;
    overflow-y: auto;
}

.scrollable-list > .list-item {
    padding: 6px 8px 5px;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #bbb;
}

.note-list {
    margin-top: 10px;
    height: calc(100vh - 92px);
    overflow-x: hidden;
    overflow-y: auto;
}

.note-list > .note {
    background-color: #ddd;
    border-left: 7px solid #084763;
    padding: 10px 10px;
}

.note-list > .note .row:not(:last-child) {
    margin-bottom: 15px;
}

.note-list > .note p {
    margin-bottom: 0;
}

.note-list > .note:not(:last-child) {
    margin-bottom: 10px;
}

#addNoteModal span.error {
    color: darkred;
}

.document-list {
    height: calc(100vh - 82px);
    overflow-x: hidden;
    overflow-y: auto;
}

.document-list .document-item {
    margin-bottom: 5px;
}

.document-list .document-info {
    padding: 6px 8px 5px;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #bbb;
}

.document-list .document-info .document-name {
    font-size: 1.1em;
    font-weight: bold;
}

.document-list .document-info > .title-row {
    font-size: 15px;
}

.document-list .document-info .uploaded-date {
    text-align: right;
    font-size: 12px;
    color: #777;
}

.document-list .document-info .details-row {
    margin-top: 8px;
}

.document-list .document-info .details-row,
.document-list .document-info .matter-row {
    font-size: 12px;
    color: #666;
    padding-left: 10px;
}

.document-list .document-item .details-row .document-type,
.document-list .document-item .details-row .document-description,
.document-list .document-item .matter-row .matter-info {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px !important;
}

.document-list .document-info .details-row .document-type,
.document-list .document-info .details-row .document-description,
.document-list .document-info .details-row .view-ascent {
    display: inline-block;
    margin-right: 16px;
    vertical-align: bottom;
}

.document-info > .details-row label {
    margin-bottom: 2px;
    
}

.document-list .document-info .details-row i {
    font-size: 1.15rem;
}

.document-list .document-info .details-row .active {
    color: #167ecb;
}

.document-list .document-info .details-row .icon-edit i:hover {
    cursor: pointer;
    color: #167ecb;
}

.document-list .document-info .details-row .description-text {
    width: 200px;
    display: inline-block;
    vertical-align: bottom;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-list .document-info .last-edit {
    text-align: right;
    font-size: 11px;
    margin-top: 8px;
    color: #666;
}

.document-list .document-info .edit-document {
    text-align: right;
    font-size: 11px;
    color: #666;
}

.document-list .document-edit {
    padding: 6px 8px;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    background-color: #eee;
    margin-left: 5px;
    display: none;
}

.document-list .document-item:last-child .document-edit{
    border-bottom: 1px solid #bbb;
}

.document-list .document-edit label {
    font-weight: normal;
    font-size: 13px;
}

.document-list .document-edit .bootstrap-select {
    width: 200px;
    height: 30px;
}

.document-list .document-edit .dropdown-toggle {
    height: 30px;
    padding: 4px 12px;
}

.document-list .document-edit .buttons {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.6rem;
}

.document-list .document-edit .buttons i {
    color: #167ecb;
}

.document-list .document-edit .buttons i:hover {
    cursor: pointer;
}

.edit-document-ascent:hover, .edit-document-ascent2:hover {
    /*text-decoration: underline;*/
    cursor: pointer;
}

.document-info .edit-document-ascent {
    font-size: 12px;
    font-weight: bold;
}

.help-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

#plugin-help .glossary {
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    float: left;
    /* top, right, bottom, left */
    padding: 15px 15px 0px 0px;
    background-color: #eee;
}

#plugin-help .help-information {
    overflow-y: auto;
    height: 100vh;
    /* top, right, bottom, left 
    padding: 15px 15px 0px 25px;*/
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #222;
    line-height: 24px;
}

#plugin-help h1, #plugin-help h2 {
    font-weight: normal;
    line-height: 1.3em;
}

#plugin-help h1 {
    margin-left: 10px;
}

#plugin-help img {
    vertical-align: baseline;
}

#plugin-help h1 .sub-heading {
    font-size: 25px;
    position: relative;
    top: 4px;
    display: block;
}

#plugin-help h2 {
    color: #811518;
}

#plugin-help a {color:#0d4d6a; opacity:1.0; transition:opacity 0.2s;}
#plugin-help a:hover {opacity:0.6;}
#plugin-help section{border-top: 3px solid #0d4d6a; margin-left: 10px; margin-right: 10px;}
#plugin-help .ascent-logo {width:125px; height:auto;}
#plugin-help footer {background:#ebebeb; padding:20px; text-align:center;}