.manage-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.manage-content {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 15rem auto;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
}

.manage-content-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    height: 100%;
}

.manage-footer {
    background-color: #f9f9f9;
    border-top: 1px solid rgb(220 220 220);
}

.manage-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgb(220 220 220);
}

.manage-sidebar-items {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: fit-content;

}

.manage-sidebar h1 {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    padding-left: 0.75rem;
}

.manage-sidebar-items li {
    display: grid;
    grid-template-columns: 32px auto;
    padding: 0.75rem;
    padding-left: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.manage-sidebar-items li .manage-sidebar-item-icon {
    display: flex;
}

.manage-sidebar-item-icon .mm-slds-icon_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.manage-sidebar-items li.mm-slds-is-active {
    background-color: #e8eaec;
}

.manage-sidebar-items li:hover:not(.mm-slds-is-active) {
    background-color: #f4f6f9;
}

.manage-page-tab-panel {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: scroll;
    flex: 1;
}

.manage-footer {
    grid-column-start: 1;
    grid-column-end: 3;
    display: inline-flex;
}

.manage-content-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid rgb(220 220 220);
}

.table-header-sortable {
    display: flex;
    cursor: pointer;
    user-select: none;
}

.sort-icon {
    display: none;
    margin-left: 0.5rem;
}

.manage-content-header-options {
    display: flex;
    flex-direction: row;
    margin-right: 5rem;
}

.html-content-viewer .manage-content-header-options {
    margin-right: 0;
}

.manage-content-header-options .mm-slds-button {
    margin-right: 0.25rem;
}

.manage-content-header .manage-content-header-search {
    width: 220px;
    display: none;
}

.justify-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.manage-document-dropdown {
    display: none;
}

.manage-document-dropdown.mm-slds-is-open {
    position: absolute;
    top: 1rem;
    right: 2.25rem;
    left: unset;
    transform: none;
    -webkit-transform: none;
    width: 200px;
    display: block !important;
}

.manage-document {
    position: relative;
    padding: 0.75rem;
    align-items: center;
    border-bottom: 1px solid rgb(220 220 220);
    background-color: #fff;
    display: grid;
    grid-template-columns: 28px auto 35% 16% 8% 12% 10% 32px;
}

.manage-document a {
    color: #f15e32;
}

.manage-document-envelope-link {
    color: #f15e32 !important;
}

.manage-document .mm-slds-checkbox_faux {
    width: 20px;
    height: 20px;
}

.manage-content-header-filter {
    margin-left: 0rem !important;
}

.manage-content-header-filter.mm-slds-button:focus,
.manage-content-header-filter.mm-slds-button:active {
    border: none;
    box-shadow: none;
    color: #706e6b;
}

.manage-content-header-filter.mm-slds-button.active-button {

    background-color: #e45125;
    border-color: #e45125;
    
}

.manage-content-header-filter.mm-slds-button.active-button svg {

    fill: #ffffff;
    
}

.filter-status-input-container {
    margin-top: 0.25rem;
}

.filter-title:not(:first-child) {
    margin-top: 1rem;
}

.manage-document-table-header {
    height: 2.5rem;
    padding: 0.75rem;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid rgb(220 220 220);
    font-weight: 700;
    display: grid;
    grid-template-columns: 28px auto 35% 16% 8% 12% 10% 32px;
}

.manage-document-table-body {
    overflow-y: scroll;
    height: 100%;
}

.manage-document .mm-slds-button,
.manage-document .mm-slds-button:hover,
.manage-document .mm-slds-button:focus,
.manage-document .mm-slds-button:active {
    border: none;
    box-shadow: none;
}

.mm-slds-grid.manage-document .mm-slds-column,
.mm-slds-grid.manage-document-table-header .mm-slds-column {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.mm-slds-grid.manage-document .mm-slds-column:first-child {
    text-overflow: unset;
    padding: 0;
}

.mm-slds-grid.manage-document .mm-slds-column:last-child {
    text-overflow: unset;
    overflow: visible;
}

.new-envelope-button svg {

    fill: #f15e32;

}

.new-envelope-button:hover svg {

    fill: #e45125;

}

.mm-slds-table .mm-slds-text-color_weak {

    color: #808a9d;

}

.audit-trail-modal-container .mm-slds-modal__content {

    height: 100%;

}

.audit-trail-modal-container .mm-slds-tabs_default__content {
    padding: 0px;
}

.audit-trail-modal-container .mm-slds-tabs_default__content#preview maven-pdf-viewer .pdf-component-header {
    display: none;
}

.audit-trail-modal-container .mm-slds-tabs_default__content#preview maven-pdf-viewer .pdf-download-file-button {
    display: none !important;
}

.audit-trail-grid-info {

    display: flex;
    flex-direction: column;
    padding: 0.75rem;

}

.audit-trail-grid-info .mm-slds-grid {
    width: 100%;
    margin-bottom: 0.75rem;
}

.audit-trail-grid-info h1 {
    margin-bottom: 0.5rem;
}

.audit-trail-grid-info .mm-slds-grid .mm-slds-col {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    width: 50%;
}

.manage-document-table-loader {
    height: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f15e32;
    font-size: 40px;
    line-height: 10px;
}

.audit-trail-grid-info .mm-slds-grid .mm-slds-col .mm-slds-form-element__static {
    border-bottom: 1px solid rgb(220 220 220);
}

.audit-trail-modal-container .mm-slds-tabs_default__content#preview {
    height: calc(100% - 40px);
}

.create-envelope-modal-container .pdf-url-file-input {
    width: 84.5%;
}

.create-envelope-modal-container .pdf-url-file-button {
    width: 15%;
}

.create-envelope-modal, .audit-trail-modal, .settings-modal {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    max-width: none;
}

.create-envelope-modal .mm-slds-modal__header,
.audit-trail-modal .mm-slds-modal__header,
.settings-modal .mm-slds-modal__header {
    padding: 0;
    border-bottom: 1px solid rgb(220 220 220);
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-modal .mm-slds-modal__content {
    height: 100%;
}

.create-envelope-modal .mm-slds-modal__content {
    padding: 1rem 25% 3rem 25%;
    background-color: #f8f8f8;
}

.expire-date {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.repeat-reminders-container {
    margin-top: 0.25rem;
}

.audit-trail-modal-container .mm-slds-tabs_default__content#details {
    padding: 1rem 30%;
}

.add-recipient-button, .add-self-button, .add-group-button {
    margin-left: 0px !important;
    margin-top: 0.75rem;
    width: 100%;
    height: 32px;
    border: 1px solid rgb(220 220 220);
}

.create-envelope-recipients {
    min-height: 200px;
}

.create-envelope-message {
    min-height: 200px;
}

.create-envelope-message .mm-slds-textarea {
    min-height: 100px;
}

.create-envelope-modal-container hr {
    border-width: 2px;
    margin: 3rem 0;
}

.create-envelope-modal-container .mm-slds-text-heading_medium {
    margin-bottom: 0.5rem;
}

.create-envelope-modal-container .mm-slds-file-selector__dropzone {
    background-color: #ffffff;
}

.recipient-form, .group-form {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto;

    padding: 1.5rem;
    border: 1px solid rgb(220 220 220);
    border-radius: 4px;
    background-color: #ffffff;
    margin-top: 0.5rem;
    padding-bottom: 3rem;
}

.group-form {
    padding-bottom: 2.5rem;
}

.recipient-form .mm-slds-form-element,
.group-form .mm-slds-form-element {
    padding: 0.25rem 0.75rem;
}

.recipient-form .mm-slds-form-element.mandatory-container,
.group-form .mm-slds-form-element.mandatory-container,
.recipient-form .mm-slds-form-element.mfa-container,
.group-form .mm-slds-form-element.mfa-container {
    padding-top: 0.5rem;
    display: flex;
    align-items: center;

}

.group-form-labels {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.group-form-labels label {
    width: 50%;
    padding: 0.25rem 0.75rem 0rem 0.75rem;
}

.group-recipient .mm-slds-form-element {
    padding: 0rem 0.75rem;
}

.add-group-modal-container .group-form-labels label {
    padding: 0.25rem 0.75rem 0rem 0rem;
}

.add-group-modal-container .group-recipient .mm-slds-form-element {
    padding: 0rem 0.75rem 0rem 0rem;
}

.group-emails-container {
    grid-column: span 2;
}

.group-emails {
    display: flex;
    flex-direction: column;
}

.add-group-email-button {
    width: 100%;
    height: 32px;
}

.group-form-email {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    margin-bottom: 0.5rem;
}

.group-form-button {
    position: absolute;
    right: -0.5rem;
    top: 0.75rem;
}

.create-envelope-form [role=combobox] input[readonly] {
    padding: 0 1rem 0 0.75rem;
}

.add-group-email-container {
    padding: 0rem 0.75rem;
}

.delete-recipient {
    height: 16px;
    width: 16px;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.up-recipient {
    height: 16px;
    width: 16px;
    position: absolute;
    right: -0.5rem;

}

.down-recipient {
    height: 16px;
    width: 16px;
    position: absolute;
    right: -2rem;

}

.sign-order-container {
    height: 16px;
    width: 100px;
    position: absolute;
    right: 5.5rem;
    bottom: 1rem;
}

.sign-order-number {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    text-align: right;
}

.action-button-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.audit-trail-modal-container>section {
    z-index: 99999999;
}

.envelope-preview-modal-container .mm-slds-modal__content {
    flex-direction: row;
    display: flex;
    padding: 1rem 25%;
    justify-content: space-between;
}

.envelope-preview-canvas {
    height: 300px !important;
    width: 240px !important;
    border: 1px solid rgb(220 220 220);
}

.smart-table {
    height: 100% !important;
}

.smart-table>.smart-container {
    border: 0px !important;
}

.smart-table td.freeze-far {
    overflow: visible;
    background-color: unset !important;
}

.smart-table .freeze-far .mm-slds-button_icon-border-filled {
    background-color: unset !important;
}

.smart-table .no-filter div {
    display: none !important;
}

.template-preview-modal {
    height: 100%;
    margin: 0px;
}

.template-preview-modal-container .mm-slds-modal__content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 1rem 10%;
    height: 100%;
}

.template-preview-modal-container form {
    padding: 16px;
}

.template-preview-modal-container form input,
.template-preview-modal-container form textarea {
    font-size: .8125rem !important;
}

.template-id {
    padding-left: 16px;
    color: #706e6b;
}

@media only screen and (max-width: 768px) {

    .manage-content-header-options {
        margin-right: 0;
    }
    
    .manage-content {
        display: flex;
        flex-direction: column;
        max-height: 100%;
        height: 100%;
        overflow: hidden;
    }

    .manage-sidebar-items {
        display: flex;
        flex-direction: row;
        height: fit-content;
    }

    .manage-link,
    .manage-sidebar h1,
    .manage-content-header .module-header-subtitle,
    .manage-content-header .module-header-title,
    .manage-content-header .module-header-icon-container {
        display: none;
    }

    .manage-sidebar {
        flex-direction: row;
        border-bottom: 1px solid rgb(220 220 220);
        border-right: none;
        height: 2.5rem;
    }
    
    .manage-sidebar-items li {
        cursor: pointer;
        padding: 0.5rem;
        width: 3.75rem;
        display: flex;
        justify-content: center;
        margin: 0px;
    }

    .dashboard-wrapper .manage-content-header {
        display: none;
    }

    .manage-content-header .manage-content-header-options {
        width: 100%;
    }

    .module-header .manage-content-header-search {
        width: 100%;
    }

    .manage-document {
        grid-template-columns: 40px auto 0 0 0 0 120px;
    }

    .manage-document-dropdown {
        max-height: calc(((1rem * 1.5) + 1rem) * 5);
    }

    .mm-slds-grid.manage-document .mm-slds-column {
        padding-left: 0;
        padding-right: 0;
    }

    .manage-document-table-header {
        display: none;
    }
    
    .create-envelope-modal .mm-slds-modal__content {
        padding: 1rem;
    }

    .recipient-form, .group-form {
        grid-template-rows: auto auto auto;
        grid-template-columns: auto;
        padding-bottom: 2rem;
    }

    .sign-order-container {
        bottom: 0.5rem;
    }

    .up-recipient {
        right: -1.5rem;
    }

    .down-recipient {
        right: -3rem;
    }

    .group-recipient-role-form-element {
        grid-column: span 2;
    }

    .group-name-form-element {
        grid-column: span 2;
    }

    .delete-recipient {
        right: 0.5rem;
        bottom: 0.5rem;
    }

    .create-envelope-modal-container .pdf-url-file-input {
        width: 59%;
    }
    
    .create-envelope-modal-container .pdf-url-file-button {
        width: 40%;
    }

    .recipient-role-form-element {
        order: 3;
    }

    .recipient-form .mm-slds-form-element.mandatory-container {
        order: 4
    }    

    .envelope-preview-modal-container .mm-slds-modal__content {
        flex-direction: column;
        display: flex;
        padding: 1rem;
        justify-content: flex-start;
    }

    .envelope-preview-canvas-container {
        display: flex;
        justify-content: center;
    }

    .audit-trail-grid-info .mm-slds-grid .mm-slds-col .mm-slds-form-element__static {
        height: 100%;
    }    

    .audit-trail-modal-container .mm-slds-tabs_default__content#details {
        padding: 0rem;
    }

    .audit-trail-modal-container .mm-slds-tabs_default__content#preview maven-pdf-viewer .pdf-center-area {
        height: 100%;
    }    
    
    .mm-slds-table--cell-buffer tr>td:first-child, .mm-slds-table--cell-buffer tr>th:first-child, .mm-slds-table_cell-buffer tr>td:first-child, .mm-slds-table_cell-buffer tr>th:first-child {
        padding-left: 1rem;
    }

    .dashboard-recent-item .mm-slds-column {
        padding-right: 0.5rem;
    }

    .audit-trail-table {
        overflow-x: auto;
    }

    .audit-trail-grid-info .mm-slds-form-element__label {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: block;
    }
}
