﻿/*fonts Declaration*/
@font-face {
    font-family: 'RedditSans';
    src: url('fonts/RedditSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'RedditSans';
    src: url('fonts/RedditSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'RedditSans';
    src: url('fonts/RedditSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'RedditSans';
    src: url('fonts/RedditSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/***Global***/
body {
    font-family: RedditSans;
    font-size: 15px;
    line-height: 150%;
    font-weight: 400;
    color: #4b4b8b;
    letter-spacing: 0px;
    background-color: #EDF2F7;
}

h1, h2 {
    color: #000099;
    margin: 0;
}

h1, h2 {
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
}

    h1.big-title {
        font-weight: 700;
        font-size: 3.25em;
    }

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="file"] > button::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    margin: 0;
    border: 0;
    padding: 0;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"],
input[type="password"],
textarea, select {
    color: #333333;
    letter-spacing: 0px;
    border-radius: 6px;
    border: 1px solid rgba(94, 94, 147, 0.4);
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
}

    input[type="text"]::placeholder,
    input[type="email"]::placeholder,
    input[type="date"]::placeholder,
    input[type="tel"]::placeholder,
    input[type="password"]::placeholder,
    textarea::placeholder, select::placeholder {
        color: rgba(78, 78, 124, 0.3);
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="date"]:focus,
    input[type="tel"]:focus,
    input[type="password"]:focus,
    textarea:focus,
    select:focus {
        border-color: rgba(94, 94, 147, 1);
        position: relative;
        z-index: 1;
    }

input[type="checkbox"],
input[type="radio"] {
    height: 1em;
    aspect-ratio:1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid rgba(94, 94, 147, 0.4);
    background-color: #fff;
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

input[type="checkbox"] {
    border-radius: 0;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type=checkbox]:checked {
    background-color: #3F96D4;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

input:checked[type=radio]:checked {
    background-color: #3F96D4;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

input[type="checkbox"],
input[type="radio"],
input[type="checkbox"] + *,
input[type="radio"] + * {
    vertical-align: middle;
}

input[type="button"], input[type="submit"],
button, .button-1, .button-2 {
    cursor: pointer;
}

select[multiple="false"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    --bs-form-select-bg-img: url(asset/caret-down-fill.svg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-size: 13px;
    background-position: right 0.5rem center;
    padding-right: 30px;
}

button {
    background: none;
    padding: 0;
    border: 0;
}

    button:hover svg {
        fill: #3F96D4;
    }

.btn, .button-1, .button-2, .btn-primary, .tabulator .tabulator-footer .tabulator-page {
    display: inline-block;
    font-size: 15px;
    line-height: 1.5;
    font-weight: bold;
    padding: 10px 20px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.5s ease;
    border: 1px solid transparent;
    border-radius: 6px;
}

.button-1, .btn-primary {
    border-color: #000099;
    background-color: #000099;
    color: #fff;
}

    .button-1:hover, .btn-primary:hover {
        border-color: #4b4b8b;
        background-color: #4b4b8b;
        color: #fff;
    }

.button-2, .tabulator-cell .btn-primary, .tabulator .tabulator-footer .tabulator-page {
    border-color: #3F96D4;
    background-color: #ffffff;
    color: #3F96D4;
}

    .button-2:hover, .tabulator-cell .btn-primary:hover, .tabulator .tabulator-footer .tabulator-page:hover {
        border-color: #3F96D4;
        background-color: #3F96D4;
        color: #fff;
    }

button + button,
input[type=button] + input[type=button],
.btn + .btn{
    margin-left: 4px;
}

.btn-group-custom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabulator-cell .btn, .tabulator-cell .button-1, .tabulator-cell .button-2,
.tabulator-cell .btn-primary, .tabulator .tabulator-footer .tabulator-page {
    font-size: 14px;
    padding: 5px 10px;
    min-width: 60px;
}

.tabulator .tabulator-footer .tabulator-page-size {
    width: auto;
    border-radius: 6px;
    padding: 5px 10px;
    border-color: #3F96D4;
    background-color: #ffffff;
}

.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
    background-color: #3F96D4;
}

.tabulator .tabulator-footer .tabulator-paginator label {
    color: #5E5E93;
}

.field-input {
    margin-bottom: 20px;
}

    .field-input label {
        display: block;
        color: #5E5E93;
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 1.2;
    }

    .field-input.reversed label, .field-input.reversed input {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }

    .field-input.row > * {
        align-content: center;
    }

    .field-input.row label {
        margin-bottom: 0;
    }

.tag-editor {
    line-height: 2.0 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #EDF2F7;
}

.dropdown-item .active {
    background-color: #4b4b8b;
    color:#fff;
}

.nav-tabs .nav-link{
    color:#3F96D4;
}

    .nav-tabs .nav-link.active, .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
        color:#000099;
    }

.global-loading {
    position: fixed;
    top: 20px;
    right: 20px;
}

#alert-modal .modal-header{
    border-bottom:0px;
}

    #alert-modal .modal-footer{
        border-top:0px;
        padding:18px;
    }

    #alert-modal .alert-type {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #alert-modal .alert-type p{
        font-weight:bold;
        font-size:18px;
        margin-bottom:8px;
    }

#alert-modal ul{
    list-style-type:none;
    text-align:center;
    padding:0px;
}

#alert-modal .alert-icon{
    margin-bottom:8px;
    border-radius:100%;
}

    #alert-modal .alert-icon.success {
        background-color: green;
    }

    #alert-modal .alert-icon.warning {
        background-color:orange;
    }

        #alert-modal .alert-icon.error{
            background-color:red;
        }
        /*.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.fs-20 {
    font-size: 20px;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.box-shadow {
    box-shadow: 1px 2px 6px 0px rgba(32, 32, 32, .25);
}

.border-radius-primary {
    border-radius: 6px;
}

.border-color-grey {
    border-bottom: 1px solid rgba(78, 78, 124, 0.3);
}*/
        /***Tabulator***/
        .tabulator, .tabulator .tabulator-header {
            border: none;
            font-size: 15px;
        }

.tabulator {
    margin-bottom: 5px;
}

    .tabulator .tabulator-footer .tabulator-page.active {
        color: #000099;
    }

    .tabulator .tabulator-header .tabulator-col {
        background-color: #D2E3F4;
        color: #5E5E93;
        padding: 10px 15px;
        text-transform: uppercase;
        border-top: 1px solid #B4C4D4;
    }

.tabulator-col-content {
    padding: 0px !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
    color: #333333 !important;
}

    .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
        border-bottom-color: #333333 !important;
    }

.tabulator-row.tabulator-row-even {
    background-color: #EDF2F7;
}

.tabulator-footer-contents {
    background-color: #D2E3F4;
}

.tabulator-row.tabulator-selectable:hover, .tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
    background-color: #e2e8ed;
}

.tabulator-row .tabulator-cell {
    padding: 6px 15px;
    align-content: center;
}

.tabulator .tabulator-header .tabulator-col, .tabulator-row .tabulator-cell {
    border-right: 1px solid #B4C4D4;
}

    .tabulator .tabulator-header .tabulator-col:first-child,
    .tabulator .tabulator-row .tabulator-cell:first-child {
        border-left: 1px solid #B4C4D4;
    }

.tabulator-col, .tabulator .tabulator-footer {
    border: none;
}

.tabulator-editable {
    border: 1px solid;
}

.table-data-length {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.tabulator-wrapper {
    background-color: #ffffff;
}

/***Header***/
header {
    box-shadow: 0px 2px 10px 0px rgba(32, 32, 32, .05);
    background-color: #ffffff;
}

.header {
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
    gap: 48px;
}

    .header .navbar {
        margin: 0px;
        padding: 0px;
    }

    .header .nav-item {
        list-style: none;
        text-transform: uppercase;
        font-weight: 500;
    }

    .header .dropdown-item, .header .dropdown-header {
        font-weight: initial;
        text-transform: uppercase;
    }

    .header .menu-bar a, .header .dropdown-menu button, .header .user-dropdown a {
        text-decoration: none;
        color: #000099;
    }

        .header .menu-bar a:hover, .header .dropdown-menu button:hover, .header .user-dropdown a:hover {
            color: #3F96D4 !important;
        }

.menu-bar{
    justify-content:end;
}

.menu-bar ul {
    margin-left: auto;
}

.header ul li.active a {
    color: #3F96D4;
}

nav {
    margin-left: auto;
}

.navbar {
    justify-content: space-between;
    gap: 48px;
}

.header .icon {
    color: #000099;
    width: 32px;
    height: 32px;
}

.navbar-toggler {
    padding: 0px;
}

.log-icon {
    padding: 0px;
}

.content-wrap {
    padding: 100px 0px;
}

.table-container, .small-container {
    box-shadow: 1px 2px 6px 0px rgba(32, 32, 32, .25);
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    margin: auto;
}

/*.table-container + .table-container {
        margin-top: 40px;
    }*/

.small-container {
    margin: auto;
}

    .small-container > *:not(.row), .table-container > * {
        padding-left: 40px;
        padding-right: 40px;
    }

.preview-container {
    height: 800px;
    margin-bottom: 10px;
}

    .preview-container .btn-group-custom .btn,
    .preview-container .btn-group-custom .button-1 {
        font-size: 12px !important;
    }

.document-container {
    max-height: 800px;
}

.multiScreen .document-container {
    max-height: 400px;
}

#documentContainer2{
    display:none;
}

.multiScreen #documentContainer2 {
    display: block;
}

    .document-container .token-section {
        border: 1px dotted #3F96D4;
        color: brown;
        background-color: antiquewhite;
    }

    .document-container .token-section-option {
        border: 1px dotted #870000;
        color: darkcyan;
        background-color: lightgray;
    }

    .document-container .token-section-empty {
        color: red !important;
        font-weight: bold;
    }

    .document-container .token-section-option-disabled {
        opacity: 0.5;
    }

    .document-container.hideMode .token-section-option-disabled {
        display:none;
    }

    .document-container .docx_a{
        width:100%;
        table-layout:fixed;
    }

        .document-container .docx_a tr td, .document-container .docx_a tr th{
            border:none;
        }

    .document-container img{
        height:auto!important;
    }

    .docx-wrapper header {
        box-shadow: 0 0 #0000;
    }

.token-container {
    height:800px;
    box-shadow: 1px 2px 6px 0px rgba(32, 32, 32, .25);
    border-radius: 6px;
    background-color: #ffffff;
}

    .token-container .form-container {
        overflow-y: scroll;
        /*background-color: #edf2f7;*/
        padding: 15px 15px;
        height: 735px;
    }

       /* .token-container .form-container label {
            color: #000;
            font-size: 15px;
        }

        .token-container .form-container input[type="text"]{
            width:100%;
        }

        .token-container .form-container input {
            border-radius: 6px;
        }*/

    .token-container .token-field:not(:has(.token-field)){
        border:none;
    }

    .token-container .token-field {
        margin-bottom: 10px;
        border: 1px solid #edf2f7;
        padding:5px;
        /*background: #fff;*/
        /*border-radius: 6px;*/
        /*margin-left: 5px;*/
    }

        .token-container .token-input textarea {
            min-height: 100px;
        }

    .token-container .token-input label{
        margin-right:5px;
    }

    .token-container .token-input {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

        .token-container .token-input:has(input[type=checkbox]),
        .token-container .token-input:has(input[type=checkbox]),
        .token-container .token-input:has(button) {
            flex-direction: row;
            justify-content: space-between;
        }

#preview-report-loading{
    min-height:600px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

.token-dropdown {
    padding-top: 20px;
    padding-bottom: 10px;
}

.form-section {
    padding: 100px 60px;
    background-color: #ffffff;
}

.input-field {
    padding: 10px 20px;
    border-color: #dee2e6;
    border-radius: .25rem;
}

form {
    gap: 20px;
}

.important {
    color: #870000;
}

.checkbox {
    align-self: center;
}

.remember-me {
    gap: 5px;
    margin-bottom: 20px;
}

.error-message {
    color: #870000;
}

.form-title {
    align-items: center;
    display: flex;
    padding: 10px 40px;
    border-bottom: 1px solid rgba(78, 78, 124, 0.3);
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 65px;
}

    .form-title a {
        text-decoration: none;
    }

.form-container {
    width: 100%;
    padding: 40px;
}

.form-group {
    margin-bottom: 10px;
}

/***Modal Popup***/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    display: flex;
    z-index: 1000;
}

.tableModal {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /*width: 800px;*/
    max-width: 90%;
}

    .tableModal > .headerModal {
        padding: 20px 40px;
        border-bottom: 1px solid rgba(78, 78, 124, 0.3);
        justify-content: space-between;
        align-items: center;
        display: flex;
    }

    .tableModal > .bodyModal {
        max-height:80vh;
        overflow:auto;
        padding: 40px 40px;
        border-bottom: 1px solid rgba(78, 78, 124, 0.3);
        overflow: auto;
    }

    .tableModal > .footerModal {
        padding: 20px 40px;
    }

.headerModal > btn-group-custom {
    justify-content: space-between;
}

.footerModal {
    display: flex;
    justify-content: end;
}

    .footerModal > * {
        align-items: center;
    }

    .footerModal > btn-group-custom {
        justify-content: space-between;
    }

/***Login Form***/
.login-content {
    background-image: url("asset/Graphics.png");
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    align-content: center;
}

    .login-content p, .login-content h1, .login-content h2 {
        margin-bottom: 15px;
        color: #fff;
    }

.search-section {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .search-section .field-input {
        margin: 0;
    }

/*.search-section .input-field{*/
/*border: 1px solid #dee2e6;
    border-radius: .25rem;*/
/*padding: 0 .25rem;
}*/

/*.search-section .input-field input{
    border-color: #dee2e6;
}*/

.search-btn {
    border: 1px solid #3F96D4;
    background-color: #ffffff;
    color: #3F96D4 !important;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 18px;
    font-size: 14px;
    font-weight: 700;
    align-content: center;
    text-transform: uppercase;
    width: fit-content;
}

    .search-btn:hover {
        border: 1px solid #3F96D4;
        background-color: #3F96D4;
        color: #ffffff !important;
    }

/***project-offcanvas-container***/
#project-offcanvas-container .icon-button{
    min-width:auto;
    display:flex;
    justify-content:center;
    align-items:center;
    position:fixed;
    top:50%;
    left:10px;
    padding:10px;
}

#project-offcanvas-container .list-group{
    border-radius:0px;
}

#project-offcanvas-container .list-group-item {
    border:none;
    position:relative;
}

    #project-offcanvas-container .list-group-item.list-group-item-collapse {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #000099;
        color: #fff;
        border-bottom: 1px solid #3F96D4;
    }


    #project-offcanvas-container .list-group-item.list-group-item-collapse.collapsed svg{
        transform: rotate(90deg);
    }

    #project-offcanvas-container .list-group-item-action:not(.list-group-item-collapse):hover {
        background-color: #EDF2F7;
    }

#project-offcanvas-container .list-group-item-action-target {
    position: absolute;
    right: 0px;
    height: 100%;
    top: 0px;
    width: 40px;
}

/***Footer***/
footer {
    border-top: 1px solid rgba(94, 94, 147, 0.4);
}

.footer-content {
    padding: 19px 0px;
    justify-content: space-between;
    color: #5E5E93;
}

    .footer-content p {
        margin: 0px;
    }



/***region reportBuilderStyles***/

[x-cloak] {
    display: none !important;
}

/*#file-upload {
    overflow-x: scroll;
}
*/
.edit-button {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.notes-input {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.dropzone {
    padding: 0 40px !important;
}

    .dropzone .dz-message {
        margin: 20px 0 !important;
    }

.afs-list {
    padding: 40px;
}

    .afs-list .sheet-label {
        display: inline-block;
        font-size: 16px;
        font-weight: 700;
        color: #4B4B8B;
        margin-right: 10px;
    }

    .afs-list .sheet-name {
        border-color: #3F96D4;
        border-style: solid;
        border-width: 1px;
        background-color: #ffffff;
        display: inline-block;
        color: #3F96D4;
        border-radius: 6px;
        text-transform: uppercase;
        font-weight: bold;
        padding: 5px 10px;
        margin: 0 10px 10px 0;
        font-size: 15px;
    }

tr:nth-child(odd) {
    background-color: #EDF2F7;
}

thead tr:last-child {
    background-color: #D2E3F4;
}

tr td,
tr th {
    border: 1px solid #ffffff;
    border-collapse: collapse;
    font-weight: 400;
    min-width: 100px;
    justify-content: left;
    text-align: left;
}

.center-container {
    vertical-align: middle;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 10px 15px;
    border-radius: 0px;
}

#paper-edit-table th textarea,
#paper-edit-table td textarea {
    border: none;
    background-color: transparent;
    text-align: left;
    outline: none;
    resize: none;
    display: flex;
    overflow-y: hidden;
    box-sizing: border-box;
    height: auto;
    min-height: 42.5px;
}

    #paper-edit-table th textarea::-webkit-scrollbar,
    #paper-edit-table td textarea::-webkit-scrollbar{
        display:none;
    }

    th, td {
        padding: 10px 15px;
        text-align: left;
    }

thead tr {
    background-color: #D2E3F4;
    color: #5E5E93;
}

th {
    font-weight: 700 !important;
}

.overflow-horizontal {
    overflow-x: scroll;
}

.right-column-bar {
    border-radius: 1px;
    width: 16px;
    align-items: center;
    justify-content: center;
    background-color: #dfdfdf;
    border-radius: 2px;
    display: none;
    user-select: none;
    text-align: left;
    position: absolute;
    left: 100%;
    cursor: pointer;
}

    .right-column-bar:hover {
        background-color: #bfbfbf;
    }

.bottom-row-bar {
    user-select: none;
    display: none;
    cursor: pointer;
    text-align: left;
    height: 16px;
    border-radius: 1px;
    align-items: center;
    justify-content: center;
    background-color: #dfdfdf;
    border-radius: 2px;
    display: none;
    position: absolute;
    top: 100%;
    cursor: pointer;
}

    .bottom-row-bar:hover {
        background-color: #bfbfbf;
    }

#paper-edit-table-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button-row-top {
    position: absolute;
    left: -36px;
    bottom: 80%;
    user-select: none;
    padding: 1px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    font-size: 24px;
    margin-right: 2px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

    .button-row-top:hover {
        background-color: #def4ff;
    }

.button-row-bottom {
    position: absolute;
    left: -36px;
    top: 80%;
    user-select: none;
    width: 24px;
    height: 24px;
    padding: 1px;
    margin-right: 2px;
    cursor: pointer;
    font-size: 24px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

    .button-row-bottom:hover {
        background-color: #def4ff;
    }

.button-row-middle {
    position: absolute;
    left: -36px;
    bottom: 50%;
    transform: translateY(50%);
    user-select: none;
    width: 24px;
    height: 24px;
    padding: 1px;
    margin-right: 2px;
    cursor: pointer;
    font-size: 24px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

    .button-row-middle:hover {
        background-color: #def4ff;
    }

.button-col-left {
    position: absolute;
    bottom: 130%;
    right: 90%;
    user-select: none;
    width: 24px;
    height: 24px;
    padding: 1px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 24px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

.button-col-middle {
    position: absolute;
    bottom: 130%;
    right: 50%;
    transform: translateX(50%);
    user-select: none;
    width: 24px;
    height: 24px;
    padding: 1px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 24px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

    .button-col-middle:hover {
        background-color: #def4ff;
    }

.button-col-left:hover {
    background-color: #def4ff;
}

.button-col-right {
    position: absolute;
    bottom: 130%;
    left: 90%;
    user-select: none;
    width: 24px;
    height: 24px;
    padding: 1px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 24px;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
}

    .button-col-right:hover {
        background-color: #def4ff;
    }

.button-overlay-row {
    position: absolute;
    right: 100%;
    bottom: 0;
    height: 50px;
    width: 50px;
}

.button-overlay-col {
    position: absolute;
    bottom: 100%;
    height: 50px;
    width: 100%;
}

.top-bar {
    z-index: 999;
    background-color: #dfdfdf;
    border: 1px solid #333;
    border-radius: 8px;
    position: absolute;
    top: -24px;
    right: 50%;
    transform: translateX(50%);
    padding:0px 8px;
    justify-content: center;
    align-items: center;
    height: 24px;
    user-select: none;
    cursor: pointer;
    display: none;
}

    .top-bar button {
        background: none;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .top-bar:hover {
        background-color: #def4ff;
    }

#paper-edit-table * {
    color: #000;
}

#paper-edit-table .selection-box {
    border: 2px dashed #000099;
    position: absolute;
    pointer-events: none;
    z-index:1;
}

#paper-edit-table .alto-cell.selected {
    background-color: rgb(222 244 255)!important;
}

#paper-edit-table tr, #paper-edit-table th, #paper-edit-table td {
    padding: 0px;
    background-color: #fff;
    border: 1px solid rgba(128,128,128,0.3);
}

#paper-edit-table textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 0px;
    outline: none;
}

.paragraph-input {
    border: none;
    width: 100%;
    background-color: transparent;
}

.pdf-inner-container {
    width: fit-content;
    position: relative;
}

/*report builder accordion*/
.accordion-no-component {
    border-radius: 6px;
    background: rgb(255, 255, 255);
}

.accordion-component {
    border-radius: 6px;
    background: rgb(224, 230, 237);
}

.accordion-toggle {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
    margin-left: auto;
}

.accordion-parent {
    border-radius: 6px;
}

.accordion-child h6 {
    color: rgb(94, 94, 147);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0px;
    text-align: left;
}

.accordion-no-component h5, .accordion-parent h5 {
    text-transform: uppercase;
    color: rgb(94, 94, 147);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0px;
    text-align: left;
}

.accordion-root h5 {
    color: rgb(51, 51, 51);
    font-size: 18px;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: 0px;
    text-align: left;
    text-transform: uppercase;
}

#directorSelect {
    min-width: 400px;
}

/***Trial Balance***/
.button-2-sm {
    border: solid 1px #3F96D4;
    background-color: #ffffff;
    color: #3F96D4 !important;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 18px;
    font-size: 14px;
    font-weight: 700;
    align-content: center;
    text-transform: uppercase;
    width: fit-content;
    cursor: pointer;
}

    .button-2-sm:hover {
        border: solid 1px #3F96D4;
        background-color: #3F96D4;
        color: #ffffff !important
    }

    .button-2-sm svg:hover{
        fill:#fff;
    }

    .tick-checkbox + label {
        display: flex;
        cursor: pointer;
        border-radius: 6px;
        width: 18px;
        height: 18px;
        border: 2px solid #000099;
    }

    .tick-checkbox + label svg {
        display: none;
        fill: #000099;
    }

.tick-checkbox:checked + label svg {
    display: block;
}

.content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.amount-input {
    color: #333;
    border: 1px solid rgba(94, 94, 147, 0.4);
/*    max-width: 120px;*/
    text-align:right;
    border-radius:6px;
    padding:5px;
}

    .tb-table .icon-button {
        min-width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.tb-table tr td,
.tb-table tr th {
    vertical-align:middle;
    border-left: 1px solid #B4C4D4;
    border-right: 1px solid #B4C4D4;
    border-top: none;
    border-bottom: none;
}

        .tb-table tbody tr:nth-of-type(even) {
            background-color: #fff;
        }

        .tb-table tbody tr:nth-of-type(odd) {
            background-color: #EDF2F7;
        }

            .tb-table tr td:first-of-type,
            .tb-table tr th:first-of-type {
                border-left: none;
            }

            .tb-table tr td:last-of-type,
            .tb-table tr th:last-of-type {
                border-right: none;
            }

    .tb-table .total-row {
        background-color: #D2E3F4!important;
    }

        .tb-table .total-row td {
            font-weight: bold;
        }

.tb-table .sub-total-td {
    border-top: 1px solid #4b4b8b;
}

.tb-table .group-total-td{
    border-top:1px solid #4b4b8b;
    border-bottom: 1px solid #4b4b8b;
}

.tb-table .total-td {
    border-top: 1px solid #4b4b8b;
    border-bottom: 3px double #4b4b8b;
}


.materiality-page{
    color:#333;
}

    .materiality-page .bold-text {
        font-size: 20px;
        color: #000099;
        text-transform: uppercase;
        font-weight: 600;
    }

.materiality-page input[type="text"]{
    padding:5px;
}

.account-adjust-table {
    border-collapse: collapse;
    border-spacing: 0px;
    color: #333;
}

    .account-adjust-table thead {
        background-color: rgb(210, 227, 244);
        color: #5E5E93;
        text-transform: uppercase;
    }

        .account-adjust-table thead th {
            padding: 15px;
            border-right: solid 1px rgba(94, 94, 147, 0.4);
        }

            .account-adjust-table thead th:last-child {
                border-right: none;
            }

    .account-adjust-table tbody td {
        padding: 15px;
    }

    .account-adjust-table tr {
        position: relative;
        background-color: #ffffff;
    }

    .account-adjust-table .remove-row-btn {
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translate(-50%,-50%);
        display: none;
        cursor: pointer;
        z-index: 1;
    }

    .account-adjust-table tr:hover .remove-row-btn {
        display: block;
    }

    .account-adjust-table .remove-adjustment-btn {
        position: absolute;
        top: -10px;
        right: -10px;
        display: none;
        cursor: pointer;
    }

    .account-adjust-table tbody:hover .remove-adjustment-btn {
        display: block;
    }

    .account-adjust-table .add-adjustment-btn {
        cursor: pointer;
    }

        .account-adjust-table .add-adjustment-btn svg {
            fill: #fff;
        }

    .account-adjust-table tr:has(.add-adjustment-btn) {
        text-align: center;
        border: none;
    }

        .account-adjust-table tr:has(.add-adjustment-btn):hover {
            background-color: rgba(223, 223, 223);
        }

    .account-adjust-table tr td:has(.add-adjustment-btn) {
        background-color: rgba(223, 223, 223,0.7);
        padding: 2px;
        text-align: center;
    }

    .account-adjust-table input {
        border: 1px solid rgba(94, 94, 147, 0.4);
        max-width: 120px;
    }

    .account-adjust-table td:has(textarea) {
        height: inherit;
    }

    .account-adjust-table tr:has(textarea) {
        height: 1px;
    }

    .account-adjust-table textarea {
        width: 100%;
        border: 1px solid rgba(94, 94, 147, 0.4);
        padding: 10px;
        border-radius: 6px;
        height: 100%;
        margin-top: 10px;
    }

    .account-adjust-table tbody {
        position: relative;
    }

        .account-adjust-table tbody td {
            border: 1px solid rgba(94, 94, 147, 0.4);
        }

        .account-adjust-table tbody:before {
            content: '';
            display: block;
            height: 30px;
        }

    .account-adjust-table .account-adjust-info {
        background-color: #F8F8F8;
    }

    .account-adjust-table .select1-trigger .select1-text {
        padding: 15px !important;
    }

    .account-adjust-table .adjNo {
        position: relative;
    }

        .account-adjust-table .adjNo:after {
            content: '';
            position: absolute;
            top: -15px;
            right: 0px;
            border-right: 1px solid rgba(94, 94, 147, 0.4);
            height: calc(100% + 30px);
        }

    .account-adjust-table .account-adjust-info [class^=col-] {
        padding: 0px 15px;
    }

    .list-group-item.active{
        background-color:#3f96D4;
        border-color:#3f96D4;
    }


/*additional*/
.editable-row{
    position:relative;
}
.editable-row .remove-row-btn, .editable-row .add-row-btn {
    position: absolute;
    top: 50%;
    display: none;
    cursor: pointer;
    z-index: 1;
}

    .editable-row .remove-row-btn {
        transform: translate(-50%,-50%);
        left: 0px;
    }

    .editable-row .add-row-btn {
        right: 0px;
        transform: translate(50%,-50%);
    }

    .editable-row:hover .remove-row-btn, .editable-row:hover .add-row-btn {
        display: block;
    }

    /*.editable-row .add-row-btn {
        cursor: pointer;
    }

        .editable-row .add-row-btn svg {
            fill: #fff;
        }

    .editable-row :has(.add-row-btn) {
        text-align: center;
        border: none;
    }

        .editable-row:has(.add-row-btn):hover {
            background-color: rgba(223, 223, 223);
        }

    .editable-row td:has(.add-row-btn) {
        background-color: rgba(223, 223, 223,0.7);
        padding: 2px;
        text-align: center;
    }*/

/*template builder*/
.template-source-container {
    padding:10px;
    box-shadow: 1px 2px 6px 0px rgba(32, 32, 32, .25);
    border-radius: 6px;
    background-color: #ffffff;
}

.template-group-item {
    cursor:pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #3F96D4;
    border-radius:6px;
    padding:10px;
    margin-bottom:10px;
    min-height:44.5px;
}

.item-source-card table{
    width:100%;
}

    .item-source-card table tr td, .item-source-card table tr th{
        min-width: auto;
    }

#imagePreview {
    max-width: 180px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid rgba(94, 94, 147, 0.4);
}


/***Responsive***/
@media (max-width: 767.98px) {
    .small-container .row {
        margin: 0px;
    }

    .content-wrap {
        padding: 50px 0px;
    }

    .navbar {
        gap: 0px;
    }

    .menu-bar .nav-item a{
        color: #ffffff!important;
        text-align:center;
    }

    .menu-bar .dropdown-menu{
        background-color:initial;
        padding:0px;
        border:none;
    }

        .menu-bar .dropdown-menu .dropdown-item {
            padding: .5rem 0px;
        }

            .menu-bar .dropdown-menu .dropdown-item:hover,
            .menu-bar .dropdown-menu .dropdown-item:focus{
                background-color: initial;
            }

        .footer-content {
            flex-wrap: wrap;
            justify-content: center;
        }

    .form-section {
        padding: 50px 30px;
    }

    .navbar img {
        order: 2;
    }

    .menu-bar {
        order: 1;
        position: absolute;
        top: 76px;
        background: rgba(0, 0, 153, 0.95);
        width: 100%;
        padding: 20px 0px;
        z-index:1;
    }


        .menu-bar .active a {
            color: #3F96D4;
        }

    .navbar .button-2 {
        display: none;
    }

    .navbar .button-1 {
        display: none;
    }

    .log-icon {
        color: #000099;
        order: 3;
        background: #fff;
    }

    .header form {
        order: 3;
    }

    .header button {
        box-shadow: none !important;
        border-radius: 6px;
        /*border: 2px solid rgba(94, 94, 147, 0.4);*/
    }

    /***Create Company***/
    .form-title {
        padding: 20px 30px;
    }

    .form-container {
        padding: 20px 30px;
    }
}


@media (max-width: 991.98px) {
    .navbar {
        gap: 0px;
    }

    .menu-bar ul {
        gap: 0px;
    }

    /*.footerModal .btn-primary {
        padding: 0px 10px;
    }*/
}

@media (min-width: 768px) {

    .menu-bar ul {
        gap: 0px;
    }

    .log-icon {
        display: none;
    }
}

@media (min-width: 992px) {
    .menu-bar ul {
        gap: 20px;
    }
}
