﻿/* base colors */
#content {
    color: var(--on-light);
}

.body.dark #content {
    color: var(--on-dark);
}


/* loading images */

.k-loading-image
{
    background-image: url(../images/loading-spinner.svg) !important;
}

.k-i-loading
{
    background-image: url(../images/loading-spinner-small.svg) !important;
}


/* styles */

.subheading {
    font-size: 18px;
    padding-top: 0;
    margin-top: 0;
}

#key::-webkit-input-placeholder {
    color: #B8B5BA;
    font-style: italic;
}

#key:-moz-placeholder {
    color: #B8B5BA;
    font-style: italic;
}

#key::-moz-placeholder {
    color: #B8B5BA;
    font-style: italic;
}

#key:-ms-input-placeholder {
    color: #B8B5BA;
    font-style: italic;
}

#key {
    box-shadow: none;
    border-color: transparent;
}

.body.inverted:not(.dark) #key {
    border: 2px solid var(--color-surface-0);
}

.login-button {
    font-weight: 600;
    width: 100%;
    border-radius: 20px;
}

.status-badge .badge {
    background-color: #000;
    font-size: 12px;
    color: #FFF;
    font-weight: normal;
    min-width: 80px;
}

.status-badge .badge.badge-status-1 {
    background-color: #FFFFFF !important;
    border: 1px solid #000000;
    color: #000000;
}

.status-badge .badge.badge-status-2 {
    background-color: #FFD700 !important;
    border: 1px solid #FFD700;
    color: #000000;
}

.status-badge .badge.badge-status-3 {
    background-color: #0000FF !important;
    border: 1px solid #0000FF;
    color: #FFFFFF;
}

.status-badge .badge.badge-status-4 {
    background-color: #008000 !important;
    border: 1px solid #008000;
    color: #FFFFFF;
}

.status-badge .badge.badge-status-5 {
    background-color: #FF0000 !important;
    border: 1px solid #FF0000;
    color: #FFFFFF;
}

.status-badge .badge.badge-status-6 {
    background-color: #000000 !important;
    border: 1px solid #000000;
    color: #FFFFFF;
}

.files .action {
    white-space: nowrap;
}

.files .action form {
    display: initial;
}

.files .action > :not(:last-child) {
    margin-right: 20px;
}

.files.attachments .action {
    text-align: center;
}

#sidebar {
    position: fixed;
    right: -10000px;
    height: calc(100vh - 80px);
    z-index: 1002;
    transition: all 0.3s;
    max-width: 100%;

    div#sidebar-content {
        height: 100%;

        div#drop-zone {
            height: 100%;
            
            .widget-body {
                height: 100%;
                
                .tables {
                    height: 100%;

                    .html-embed-3 {
                        height: 100%;
                        
                        .dz-container {
                            height: 100%;
                            
                            .k-widget.k-upload ul.k-upload-files {
                                max-height: calc(100% - 300px);
                                height: auto;
                            }
                        }
                    }
                }
            }
        }
    }
}

div#docTitle-description-title {
    max-width: calc(100% - 60px)
}

@media(max-width: 450px) {
    #sidebar.active {
        width: 300px;
    }
}

@media(max-width: 1480px) {
    .overlay.active {
        display: block;
        opacity: 1;
    }
}

@media(max-width: 2150px) {
    #sidebar.active {
        width: 550px;
    }

    ._1200-flex-container-active-sidebar {
        margin-right: 35%;
    }
}

@media(min-width: 2151px) {
    #sidebar.active {
        width: 700px;
    }
}

@media(max-width: 2650px) {
    .left-side-wrapper-hideable {
        display: none;
    }
}

#sidebar.active {
    right: 0;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
} 

#content {
    transition: all 0.3s;
    position: absolute;
    right: 0;
}

.widget-wrapper.not-collapsible > .widget-header:after {
    content: '';
}

#attachment-count .badge,
#files-count .badge {
    position: relative;
    bottom: 1px;
    background-color: var(--color-badge);
}

.widget-close {
    position: absolute;
    right: 25px;
}

.widget-close a {
    text-transform: uppercase;
}

.widget-close a:hover,
.widget-close a:focus,
.widget-close a:active {
    text-decoration: none;
}

.widget-hidden {
    display: none;
}

.user-info {
    display: flex;
    margin-bottom: 10px;
}

.user-info .user-details {
    align-self: center;
}

.dz-container {
    text-align: center;
    position: relative;
    height: 205px;
}

.sitedrop-files.left-border .dz-sitedrop {
    height: 60vh !important;
}

.dz-container .k-dropzone-hovered {
    background-color: initial;
}

.dz-container .dz-title {
    font-size: 26px;
}

.body.dark .dz-container .dz-title {
    font-size: 26px;
}

.dz-container .dz-upload {
    color: var(--color-link-500);
    font-size: 16px;
}

.dz-container .k-widget.k-upload {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
}

.dz-container .k-widget.k-upload .k-dropzone {
    padding: 0;
    height: 175px;
    opacity: 0;
}

.dz-container .k-widget.k-upload ul.k-upload-files {
    text-align: initial;
    border: none;
    overflow-y: auto;
    max-height: 35vh;
    height: calc(100% - 160px);
}

.dz-container .k-widget.k-upload ul.k-upload-files li {
    border: none;
    margin: 0;
    padding: 0;
}

.dz-container .k-widget.k-upload .k-dropzone .k-button.k-upload-button {
    height: 100%;
    width: 100%;
    margin: 0;
}

.file-template {
    display: flex;
}

.file-template .custom-file-icon {
    display: grid;
    align-items: center;
    margin-left: .5rem;
    max-width: 26px;
    margin-right: 20px;
    font-size: 26px;
}

.file-template .file-heading {
    font-weight: normal;
    font-size: 14px;
    flex-grow: 1;
    margin: 0;
    padding: 0;
}

.file-template .btn-delete-file {
    margin-right: .5rem;
    align-self: flex-end;
}

.body.dark .file-template .btn-delete-file > i {
    font-weight: 100;
}

.file-template.doc-title {
    padding-left: 5px;
    padding-right: 5px;
}

.file-template.doc-title .file-heading {
    margin-right: 10px;
}

.inline-upload .k-widget.k-upload {
    width: auto;
    display: inline-block;
    background-color: var(--color-surface-50);
    padding: 2px 5px 5px 5px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--color-surface-900);
}

td.inline-upload > .k-widget.k-upload {
    border-color: var(--color-surface-200);
}

.body.dark td.inline-upload > .k-widget.k-upload {
    border-color: var(--color-surface-900);
}

.body.inverted:not(.dark) td.inline-upload > .k-widget.k-upload {
    border-color: var(--color-surface-300);
}

.body.dark .inline-upload .k-widget.k-upload {
    background-color: var(--color-surface-900);
}


.inline-upload .k-widget.k-upload .upload-document {
    height: 100%;
}

.inline-upload .k-widget.k-upload .upload-document + span {
    color: var(--on-light);
}

.body.dark .inline-upload .k-widget.k-upload .upload-document + span {
    color: var(--on-dark);
}

.inline-upload .k-widget.k-upload .k-dropzone {
    padding: 0;
}

.inline-upload .k-widget.k-upload .k-dropzone.k-dropzone-active {
    padding-right: 1em;
}

.inline-upload .k-widget.k-upload .k-dropzone .k-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    min-width: 15px;
}

.inline-upload .k-widget.k-upload .k-upload-files {
    margin-top: 5px;
    padding-bottom: 0;
    border: 0;
}

.inline-upload .k-widget.k-upload .k-upload-files .k-file {
    padding: 0;
}

.inline-upload .k-widget.k-upload .k-dropzone .k-upload-status {
    color: var(--on-light);
}

.body.dark .inline-upload .k-widget.k-upload .k-dropzone .k-upload-status {
    color: var(--on-dark);
}

.action-header {
    text-align: center;
    width: 1%;
}

.doctitle-dz {
    display: inline-block;
}

.sitedrop-container {
    padding: 20px;
}

.sitedrop-container h1 {
    margin-top: 0;
}

.sitedrop-container h2 {
    margin-top: 0;
}

.sitedrop-container .row {
    display: block;
    margin-left: initial;
    margin-right: initial;
}

.sitedrop-container .row .sitedrop-info {
    padding-right: 20px;
}

.sitedrop-container .left-border {
    border-left-width: 2px;
    border-left-style: solid;
}

.body.dark .sitedrop-container .left-border {
    border-left-width: 2px;
    border-left-style: solid;
}

.sitedrop-container .row .sitedrop-files {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
      
.sitedrop-container .row .sitedrop-actions {
    text-align: center;
    margin-top: 20px;
    z-index: 99 !important;
}

@media (max-width: 991px)
{
    .sitedrop-container .row .sitedrop-actions {
        position: fixed;
        left: 50%;
        bottom: 50px;
        padding: 0;
        margin: 0;
    }
}

.sitedrop-container .row .sitedrop-actions button {
    min-width: 200px;
    text-transform: uppercase;
    padding: 10px;
    font-weight: bold;
    border-radius: 20px;
}

.sitedrop-container .row .sitedrop-actions button[disabled] {
    color: lightgrey;
}
        
.fixed-submit {
    position: fixed;
}

.sitedrop-container .row #btn-actions{
    bottom: 4%;
    left: 45%;
}

@media(max-width: 991px) {
    .sitedrop-container .row #btn-actions{
        left: 35%
    }
}

.container-content-fullscreen {
    position: fixed !important;
    z-index: 1000;
    width: 100% !important;
    height: calc(100% - 80px) !important;
    left: 0;
    top: 80px;
    overflow: scroll;
}

.container-content-fullscreen-toggle {
    position: absolute;
    right: 2.5rem;
    z-index: 1001;
}

.cursor-pointer {
    cursor: pointer;
}

.landingForm {
    max-width: 80%;
    margin: 0 auto;
}

.landingForm input {
    text-align: center;
}

.checkbox input {
    width: auto !important;
}

.center-captcha {
    display: flex;
    justify-content: center;
}

#authForm .forget-links {
    margin: 10px auto;
}

#authForm .forget-links a {
    display: block;
}

#sdForm {
    margin-top: 30px;
}

#sdForm label, #startForm label, #changePasswordForm label {
    display: inline-block;
    font-weight: normal;
}

#sdForm input, #sdForm textarea, .landingForm input, #verifyCodeForm input {
    width: 100%;
    border: none;
}

#sdForm input[type=radio] {
    width: auto !important;
}

#sdForm select {
    width: 100%;
    border-width: 0 0 1px 0;
    outline: 0;
    border-style: solid;
}

#sdForm input, .landingForm input, #verifyCodeForm input {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

#sdForm input:focus {
    outline-width: 1px;
    outline-style: solid;
}

#sdForm textarea {
    border-width: 1px;
    border-style: solid;
}

.body.dark #sdForm textarea {
    border-width: 1px;
    border-style: solid;
}

textarea:focus {
    outline-width: 1px;
    outline-style: solid;
}

#sdForm input:focus,
#verifyCodeForm input,
.landingForm input:focus {
    outline-width: 0;
}

#sdForm .form-group:nth-last-child(2) {
    margin-bottom: 0;
}

#sdForm .form-group-inline {
    display: inline-block;
}

#sdForm .btn-group-vertical {
    color: white !important;
    margin: 5px;
}

#sdForm .btn-group-vertical label {
    color: white !important;
}

#sdForm .help-text {
    font-size: 12px;
}

#sdForm .field-error-message {
    height: 1em;
}

#sdForm .form-group .k-dropzone, #sdForm .form-group-inline .k-dropzone {
    padding: 0 !important;
}

#sdForm .info-panel > .panel-heading {
    color: #fff;
    border-color: #ddd;
}

#sdForm .field-help-text,
#setupMfaForm .help-text {
    padding: 5px;
    color: gray;
    font-style: italic;
    font-weight: bold;
    font-size: 12px;
}

.start-select {
    text-align: center;
}

.input-validation-error,
.input-validation-error:focus {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

.no-text-transform {
    text-transform: none !important;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:not(:checked) ~ .checkmark {
    border: 1px solid var(--color-primary-500);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary-600);
}

.checkbox-container input:checked ~ .checkmark.readonly {
    background-color: grey;
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

table.recipients {
    width: 100%;
}

table.recipients tr td {
    padding: 10px 0;
}

table.recipients tr:first-child {
    width: 1%;
}

table.recipients .recipient-check {
    width: 20px;
    vertical-align: top;
}

table.recipients .recipient-check .checkbox-container {
    top: 4px;
    position: relative;
}

table.recipients .recipient-info .recipient-name {
    font-weight: bold;
}

table.recipients tr {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.confirmation-container {
    padding-top: 50px;
}

.confirmation-container .cc-header {
    text-align: center;
}

.confirmation-container .cc-header h1 {
    margin-top: 10px;
}

.confirmation-container .cc-content {
    padding: 20px 100px 30px 100px;
}

.error-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.error-container .ec-header {
    text-align: center;
}

.error-container .ec-header h1 {
    margin-top: 10px;
}

.error-container .ec-content {
    text-align: center;
    padding: 20px 100px 0 100px;
}

.content-page-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.content-page-container .content-page-header {
    text-align: center;
}

.content-page-container .content-page-header h1 {
    margin-top: 10px;
}

.content-page-container .content-page-content {
    padding: 20px 100px 0 100px;
}

.disabled {
    pointer-events: none;
}

.wrapper {
    margin-top: 80px;
}

.task-done {
    text-decoration: line-through;
}
.task-late {
    color: var(--color-error-500);
}
.task-closed {
    color: var(--color-success-500);
}
.update-task-status {
    display: none;
}
.task-status-visible {
    display: block;
}

.checklist-nav {
    position: fixed;
}

.table.files td.k-dropzone-hovered {
    background-color: initial;
}

.table.files td.k-dropzone-hovered .k-dropzone-hovered {
    background-color: initial;
}

.table.files tr.k-dropzone-hovered {
    background-color: #85868f !important;
}

.tables .scrollable {
    overflow-y: auto;
    height: 80vh;
    overflow-x: hidden;
}

.modal-dialog-center {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.modal-dialog-center > .modal-center {
    display: table-cell;
    vertical-align: middle;
}

.modal-dialog-center > .modal-center > .modal-content {
    margin: 0 auto;
}

.modal-center .alert-danger {
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    background: none;
}

.modal-backdrop.in {
    opacity: 0.98
}

.full-flex {
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 100% !important;
    -ms-flex: 0 100% !important;
    flex: 0 100% !important;
}

.accept-policy {
    background: white;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.token-expiration, .cookie-expiration {
    position: fixed;
    left: 0;
    top: auto;
    right: 0;
    bottom: 0;
    z-index: 9999;
    text-align: center;
    border-radius: 0;
    margin-bottom: 0;
    display: none;
}

.token-expiration h1, .cookie-expiration h1 {
    padding: 0;
    margin: 5px 0;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
}

.continue-working, .continue-cookie-working {
    cursor: pointer;
}

.k-header {
    background-color: var(--color-surface-700);
}

.k-numerictextbox {
    border: none !important;
    display: block;
    width: 100%;
}

.k-numerictextbox > .k-numeric-wrap {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

input.whole-number::-webkit-outer-spin-button,
input.whole-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.whole-number[type=number] {
    -moz-appearance: textfield;
}

.k-file .submit-loader {
    margin-right: .5rem;
}

.input-obfustication-wrapper {
    position: relative;
    width: 100%;
}

.input-obfustication-wrapper > .input-dummy {
    padding-right: 20px;
}

.input-obfustication-wrapper > i {
    position: absolute;
    right: 0px;
    top: 2px;
}

.sitedrop-section-breadcrumb {
    text-align: center;
}

.section-header-visited {
    text-decoration: underline;
    cursor: pointer;
}

.section-header-notvisited {
    font-style: italic;
}

a i.cs-icon {
    display: inline-block;
    text-decoration: none !important;
}

a:hover i.cs-icon {
    display: inline-block;
    text-decoration: none !important;
}

.cs-icon-large {
    font-size: 100px;
}

.review-answer {
    text-align: right;
}

.review-password-field {
    text-align: right;
    border-bottom: 0px !important;
    background: none;
}

.review-content {
}

.docRequest-submit-button {
    border-color: transparent;
    font-weight: 600;
    border-radius: 20px;
}

.docRequest-header-content {
    padding-top: 2px;
    padding-bottom: 2px;
}

.CheckBox-wrapper .row {
    display: flex;
}

.freetext-field, .wholenumber-field, .SelectBox, .email-field, .currency-field, .ssn-field, .phone-field, .percentage-field {
    height: 35px;
}

.nav-container nav .dropdown-menu > li > a {
    font-family: 'Open Sans', sans-serif;
    color: #181818;
}

.inbox-container {
    padding: 20px;
    height: 100vh;
}

.inbox-container h1 {
    margin-top: 0;
}

.inbox-container h2 {
    margin-top: 0;
}

.inbox-container .row {
    display: block;
    margin-left: initial;
    margin-right: initial;
}

.inbox-container .row .inbox-info {
    padding-right: 20px;
}

.inbox-container .left-border {
    border-left: 2px solid #EAEAEA;
}

.inbox-container .row .inbox-files {
    padding: 0 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inbox-container .row .inbox-actions {
    text-align: center;
    margin-top: 20px;
}

.inbox-container .row .inbox-actions button {
    min-width: 200px;
    text-transform: uppercase;
    background-color: #0099DA;
    padding: 10px;
    color: #FFFFFF;
    font-weight: bold;
    border-radius: 20px;
}

.inbox-container .row .inbox-actions button[disabled] {
    color: lightgrey;
}

.message {
    list-style: none;
    margin: 0;
    padding: 0;
}

.message li {
    margin-top: 10px;
    padding-bottom: 40px;
    border-bottom: 1px dotted var(--color-surface-800);
    min-height: 100px;
}

.body.dark .message li {
    border-bottom: 1px dotted var(--color-surface-400);
}

.message li.left .message-body {
    margin-left: 60px;
}

.time-icon {
    margin-right: 5px;
}

.message-viewer-body {
    overflow-y: auto;
    height: 30%;
}

.message-viewer-footer {
    position: relative;
    margin-top: -150px;
    height: 150px;
    clear: both;
    padding-top: 20px;
}

.message li.right .message-body {
    margin-right: 60px;
}

.message li .message-body p {
    margin: 0;
}

::-webkit-scrollbar-track {
    background-color: var(--color-surface-50);
    border-radius: 100px;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: var(--color-surface-50);
    opacity: 50%;
}

.body.inverted ::-webkit-scrollbar-track {
    background-color: var(--color-surface-0);
}

.body.inverted ::-webkit-scrollbar {
    background-color: var(--color-surface-0);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-surface-300);
    border-radius: 100px;
    opacity: 50%;
}

.body.dark  ::-webkit-scrollbar-track {
    background-color: var(--color-surface-300);
}

.body.dark ::-webkit-scrollbar {
    background-color: var(--color-surface-300);
}

.body.dark ::-webkit-scrollbar-thumb {
    background-color: var(--color-surface-600);
}

.question-line-btn {
    max-width: fit-content;
    font-size: small;
}

.calculation-success {
    color: #97C941;
}

.inline-flex {
    display: flex !important;
}

.preview-list {
    margin-left: 10px;
}

i.far.fa-question-circle.page-instruction-icon {
    float: right;
    color: gray;
}

i.far.fa-question-circle.page-instruction-icon:hover {
    color: lightgray;
}

i.far.fa-question-circle.question-help-icon {
    color: gray;
    margin-left: auto;
}

i.far.fa-question-circle.question-help-icon:hover {
    color: lightgray;
}

.perfect-scrollbar-container {
    height: 75vh;
    position: relative;
    overflow: auto;
}

.msg-unread {
    background: #DEECF9;
}

.inbox-counter {
    background-color: #D9534f;
}

#inbox .panel {
    box-shadow: none;
    margin-bottom: 2px;
}

#inbox .widget-header::after {
    display: none;
}

#inbox .header {
    padding-bottom: 5px;
    box-shadow: 0 12px 10px -10px rgb(112 112 113 / 25%);
}

span.k-dropdown {
    width: 100%
}

.folder {
    background: #F5F5F5;
}

.folder td {
    font-weight: bold;
    color: black;
}

#verifyCodeForm input {
    height: 6rem;
    text-align: center;
    font-size: x-large;
    letter-spacing: 1rem;
}

.btn-reply {
    display: none;
}

.note-toolbar {
    display: none;
}

.note-editable {
    height: 50px;
}

.note-resizebar {
    display: none;
}

.note-editor {
    position: relative;
    width: 100%;
}

.message-viewer-container {
    height: calc(100vh - 270px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
}

.message-viewer-container .message-viewer-body {
    margin-bottom: 20px;
    height: auto;
}

.message-viewer-container .message-viewer-body .message-body p {
    word-wrap: break-word;
}

.message-viewer-wrapper {
    height: calc(100vh - 270px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.message-viewer-wrapper .message-viewer-body {
    margin-bottom: 20px;
    height: auto;
}

.message-viewer-wrapper .message-viewer-body .message-body p {
    word-wrap: break-word;
}

.widget-sizing {
    position: absolute;
    right: 120px;
}

.widget-sizing a {
    text-transform: uppercase;
}

.widget-sizing a:hover,
.widget-sizing a:focus,
.widget-sizing a:active {
    text-decoration: none;
}

.modal-content .btn-primary,
.modal-content .btn-primary.focus,
.modal-content .btn-primary:focus {
    border: 0;
    outline: 0;
}

#changePasswordForm input {
    border-width: 0 0 1px 0;
    outline: 0;
    box-shadow: unset;
}

#attachments {
    height: 100vh;
    display: block;
}

#attachments.widget-hidden {
    display: none;
}

.k-autocomplete.k-state-default,
.k-dropdown-wrap.k-state-default,
.k-numeric-wrap.k-state-default,
.k-picker-wrap.k-state-default {
    background-color: var(--color-surface-200);
    color: var(--color-surface-800);
    border-color: var(--color-surface-300);
}

.k-state-default>.k-select,
.k-picker-wrap.k-state-default>.k-select {
    border-color: var(--color-surface-200);
}

/* variable colors */
a {
    color: var(--color-link-500);
}

a:focus,
a:hover {
    color: var(--color-link-600);
}

.login-button {
    background-color: var(--color-primary-500);
    border-color: var(--color-primary-500);
}

.login-button:hover,
.login-button.active,
.login-button.focus,
.login-button:active,
.login-button:focus {
    background-color: var(--color-primary-300);
    border-color: var(--color-primary-300);
}

table.recipients .recipient-info .recipient-name {
    color: var(--on-light);
}

.body.dark table.recipients .recipient-info .recipient-name {
    color: var(--on-dark);
}

table.recipients .recipient-info .recipient-title {
    color: var(--on-light);
}

.body.dark table.recipients .recipient-info .recipient-title {
    color: var(--on-dark);
}

table.recipients tr {
    border-bottom-color: var(--color-surface-300);
}

.dz-container .dz-title {
    color: var(--on-light);
}

.body.dark .dz-container .dz-title {
    color: var(--on-dark);
}

.file-template .file-heading {
    color: var(--on-light);
}

.body.dark .file-template .file-heading {
    color: var(--on-dark);
}

.file-template .btn-delete-file {
    color: var(--color-error-500);
}

.sitedrop-container .left-border {
    border-left-color: var(--color-surface-50);
}

.body.dark .sitedrop-container .left-border {
    border-left-color: var(--color-surface-700);
}

.sitedrop-container .row .sitedrop-actions button {
    background-color: var(--color-primary-500);
    color: var(--on-primary);
}

#sdForm label, #startForm label, #changePasswordForm label {
    color: var(--on-light);
}

.body.dark #sdForm label, .body.dark #startForm label, .body.dark #changePasswordForm label {
    color: var(--on-dark);
}

#sdForm input, .landingForm input,
#verifyCodeForm input,
#changePasswordForm input {
    border-bottom-color: var(--color-surface-900);
}

#sdForm input:focus,
.landingForm input:focus,
#verifyCodeForm input:focus,
#changePasswordForm input:focus,
#sdForm select:focus {
    border-bottom-color: var(--color-surface-300) !important;
}

.body.dark #sdForm input,
.body.dark .landingForm input,
.body.dark #changePasswordForm input {
    background-color: var(--color-surface-700);
    color: var(--on-dark);
}

#sdForm input:focus,
.landingForm input:focus,
.body.dark #changePasswordForm input:focus {
    outline-color: var(--color-surface-400);
}

#sdForm textarea,
.landingForm textarea,
#changePasswordForm textarea {
    border-color: var(--color-surface-300);
}

.body.dark #sdForm textarea,
.body.dark .landingForm textarea,
.body.dark #changePasswordForm textarea {
    border-color: var(--color-surface-900);
}

.body.dark #sdForm textarea,
.body.dark .landingForm textarea,
.body.dark #changePasswordForm textarea {
    background-color: var(--color-surface-700);
    color: var(--on-dark);
}

textarea:focus {
    outline-color: var(--color-surface-400);
}

#sdForm .info-panel > .panel-heading,
.landingForm .info-panel > .panel-heading {
    background-color: var(--color-secondary-500);
}

.input-validation-error,
.input-validation-error:focus {
    border-bottom-color: var(--color-error-500) !important;
}

.confirmation-container .cc-content {
    color: var(--on-light);
}

.body.dark .confirmation-container .cc-content {
    color: var(--on-dark);
}

.error-container .ec-content {
    color: var(--on-light);
}

.body.dark .error-container .ec-content {
    color: var(--on-dark);
}

.content-page-container .content-page-content {
    color: var(--on-light);
}

.body.dark .content-page-container .content-page-content {
    color: var(--on-dark);
}

.modal-backdrop {
    background-color: var(--color-surface-800) !important;
}

.body.dark .modal-backdrop {
    background-color: var(--color-surface-900) !important;
}

.cs-icon-color {
    color: var(--color-secondary-500);
}

.k-calendar .k-header .k-state-hover {
    background-color: var(--color-surface-500);
}

.k-calendar .k-today {
    background-color: var(--color-surface-1000);
}

.k-calendar .k-today:active {
    box-shadow: inset 0 0 0 1px var(--color-surface-500);
}

.k-calendar .k-today.k-state-hover {
    background-color: var(--color-surface-1000);
}

.k-calendar td.k-state-selected {
    background-color: var(--color-primary-500);
}

.k-calendar td.k-state-selected.k-state-hover {
    background-color: var(--color-primary-600);
}

.k-calendar .k-footer .k-nav-today {
    color: var(--color-surface-700);
}

.k-block, .k-content, .k-dropdown .k-input, .k-popup, .k-toolbar, .k-widget {
    color: var(--on-light);
}

.k-content, .k-editable-area, .k-panel>li.k-item, .k-panelbar>li.k-item, .k-tiles {
    background-color: var(--color-surface-50)
}

.k-calendar td:not(.k-state-selected, .k-today):hover {
    background-color: var(--color-surface-0);
}

.k-calendar-container td .k-link {
    border-radius: 50%;
}

.k-calendar-container.k-popup {
    background-color: var(--color-surface-50);
}

.k-calendar .k-content th {
    background-color: var(--color-surface-50);
}

.k-calendar .k-link {
    color: var(--on-light);
}

.k-calendar .k-footer {
    background-color: var(--color-surface-50);
}

.k-calendar .k-footer .k-nav-today {
    background-color: var(--color-surface-50);
}

.docRequest-submit-button {
    background-color: var(--color-primary-500);
}

.docRequest-header-content {
    color: var(--on-light);
}

.body.dark .docRequest-header-content {
    color: var(--on-dark);
}

.icon-color {
    color: var(--color-icon);
}

.k-file
{
    background-color: var(--color-surface-0);
    border-color: var(--color-surface-0);
}

.body.dark .k-file
{
    background-color: var(--color-surface-800);
    border-color: var(--color-surface-900);
}

.k-file-progress
{
    color: var(--color-secondary-500);
}

.k-file-progress .k-progress
{
    background-color: var(--color-secondary-300)
}

.k-file-success .k-file-name,.k-file-success .k-upload-pct
{
    color: var(--color-success-500)
}

.k-file-success .k-progress
{
    background-color: var(--color-success-300)
}

.k-file-error, .error-text
{
    color: var(--color-error-500)
}

.k-file-error .k-progress
{
    background-color: var(--color-error-300)
}

.k-file-invalid .k-file-name-invalid
{
    color: var(--color-error-500)
}

.k-loading-color
{
    background-color: var(--color-surface-300)
}

.body.dark .k-loading-color
{
    background-color: var(--color-surface-700)
}

.k-loading-image
{
    filter: var(--filter-primary);
}

.k-i-loading
{
    filter: var(--filter-primary);
}

.body.dark ::-ms-reveal {
    filter: invert(100%);
}

.modal-content {
    background-color: var(--color-surface-50);
}

.body.dark .modal-content {
    background-color: var(--color-surface-900);
}

.btn-primary,
.btn-primary:focus,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
    background-color: var(--color-primary-500);
    color: var(--on-primary);
    border-color: var(--color-primary-500);
}

.btn-primary:hover {
    background-color: var(--color-primary-600);
    color: var(--on-primary);
    border-color: var(--color-primary-600);
}

.btn-default {
    background-color: var(--color-surface-50);
    color: var(--on-light);
    border-color: var(--color-surface-50);
}

.btn-default:focus,
.btn-default:active,
.btn-default:hover,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    background-color: var(--color-surface-200);
    color: var(--on-light);
    border-color: var(--color-surface-200);
}

.body.dark .btn-default {
    background-color: var(--color-surface-700);
    color: var(--on-dark);
    border-color: var(--color-surface-700);
}   

.body.dark .btn-default:focus,
.body.dark .btn-default:active,
.body.dark .btn-default:hover,
.body.dark .btn-default.active,
.body.dark .open>.dropdown-toggle.btn-default {
    background-color: var(--color-surface-900);
    color: var(--on-dark);
    border-color: var(--color-surface-900);
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}

.modal-header {
    border-bottom-color: var(--color-surface-50);
}

.modal-footer {
    border-top-color: var(--color-surface-50);
}

.body.dark .modal-header {
    border-bottom-color: var(--color-surface-700);
}

.body.dark .modal-footer {
    border-top-color: var(--color-surface-700);
}

#sdForm select {
    border-bottom-color: var(--color-surface-900);
}

.body.dark #sdForm select {
    background-color: var(--color-surface-700);
}

.k-window.k-dialog {
    background-color: var(--color-surface-0);
    border: 1px solid var(--color-surface-400);
    border-radius: 5px;
}

.k-dialog .k-content {
    background-color: var(--color-surface-0);
    color: var(--on-light);
}

.k-dialog .k-button {
    color: var(--on-light);
    background-color: var(--color-surface-50);
    width: 50%;
    border-color: var(--color-surface-400);
    border: none;
}

.k-dialog .k-button.k-primary {
    color: var(--on-primary);
    background-color: var(--color-primary-500);
}

.k-dialog .k-button:hover {
    background-color: var(--color-surface-100);
}

.k-dialog .k-button.k-primary:hover {
    background-color: var(--color-primary-400);
}

.k-dialog-title {
    color: var(--on-light) !important;
}

.body.dark .k-window.k-dialog {
    background-color: var(--color-surface-800);
    border: 1px solid var(--color-surface-900);
}

.body.dark .k-dialog .k-content {
    background-color: var(--color-surface-800);
    color: var(--on-dark);
}

.body.dark .k-dialog .k-button {
    color: var(--on-dark);
    background-color: var(--color-surface-700);
    width: 50%;
    border-color: var(--color-surface-500);
    border: none;
}

.body.dark .k-dialog .k-button.k-primary {
    color: var(--on-primary);
    background-color: var(--color-primary-500);
}

.body.dark .k-dialog .k-button:hover {
    background-color: var(--color-surface-600);
}

.body.dark .k-dialog .k-button.k-primary:hover {
    background-color: var(--color-primary-400);
}

.body.dark .k-dialog-title {
    color: var(--on-dark) !important;
}

#sidebar {
    background-color: var(--color-surface-50);
}

.body.dark #sidebar {
    background-color: var(--color-surface-900);
}

.subheading {
    color: var(--on-light);
}

.body.dark .subheading {
    color: var(--on-dark);
}

#inbox .panel {
    background-color: var(--color-surface-0);
    color: var(--on-light);
}

.body.dark #inbox .panel {
    background-color: var(--color-surface-800);
    color: var(--on-dark);
}

.text-muted {
    color: var(--on-light);
    opacity: .5;
}

.body.dark .text-muted {
    color: var(--on-dark);
}

.note-editor .note-editing-area {
    background-color: var(--color-surface-0);
    color: var(--on-light);
}

.body.dark .note-editor .note-editing-area {
    background-color: var(--color-surface-700);
    color: var(--on-dark);
}

.note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
    background-color: var(--color-surface-0);
}

.body.dark .note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
    background-color: var(--color-surface-700);
}

.note-placeholder {
    color: var(--on-light);
    opacity: .5;
}

.body.dark .note-placeholder {
    color: var(--on-dark);
    opacity: 1;
}

.panel-default>.panel-heading {
    background-color: var(--color-surface-50);
    border-color: var(--color-surface-100);
}

.body.dark .panel-default>.panel-heading {
    background-color: var(--color-surface-600);
    border-color: var(--color-surface-700);
}

.note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
    background-color: var(--color-surface-50);
    border-top-color: var(--color-surface-100);
}

.body.dark .note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
    border-top-color: var(--color-surface-600);
}

.body.inverted:not(.dark) .note-editing-area {
    background-color: var(--color-surface-50);
}

.body.inverted:not(.dark) .note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
    background-color: var(--color-surface-50);
}

.body.dark .note-resizebar {
    background-color: var(--color-surface-600);
}

input[type=file],
input[type=file]::-webkit-file-upload-button {
    cursor: pointer;
}

.btn-success,
.btn-success.active.focus,
.btn-success.active:focus,
.btn-success.active:hover,
.btn-success:active.focus,
.btn-success:active:focus,
.btn-success:active:hover,
.open>.dropdown-toggle.btn-success.focus,
.open>.dropdown-toggle.btn-success:focus,
.open>.dropdown-toggle.btn-success:hover {
    color: var(--on-primary);
    background-color: var(--color-primary-500);
    border-color: var(--color-primary-600);
}

.dropzone-borderless-when-empty .k-upload-empty {
    border: none !important;
    background-color: inherit !important;
}