html {
    background: #fafaff;
}

body {
    /* width: 90vw;
    right: 0;
    position: absolute;
    font-family: 'Poppins', sans-serif !important; */
    width: 100%;
    right: 0;
    position: relative;
    font-family: 'Poppins', sans-serif !important;
    padding-left: 180px;
    background: #fafaff;
}

.wrap-body {
    width: 100%;
    position: relative;
    font-family: 'Poppins', sans-serif !important;
    margin: 0;
    padding: 0;
    height: 100dvh;
    display: table;
}

.full-body body {
    width: 100vw;
    right: 0;
    position: absolute;
    font-family: 'Poppins', sans-serif !important;
}

INPUT:not(:-webkit-autofill), SELECT:not(:-webkit-autofill), TEXTAREA:not(:-webkit-autofill) {
    border: 1px solid #f1f1f1;
}

/* buttons */
td.actions a.btn {
    color: #3b71ca;
    padding-top: 0;
    padding-bottom: 0;
}

.btn:first-child:hover, .btn:focus-visible, .btn:hover, :not(.btn-check) + .btn:hover {
    box-shadow: none;
    color: lightgrey;
}

.btn {
    border: 0;
    box-shadow: 0 0 0 transparent;
}

.fix-top-btn {
    margin-top: -4px;
    margin-bottom: 4px;
}

/* Login */
.login-box {
    max-width: 840px!important;
}

.login-box .row:last-child {
    /* box-shadow: 0px 0px 15px 0px #e3e3e3; */
}

.login-side-image {
    width: fit-content;
    max-width: 500px;
}

.no-spaces {
    padding-left: 0;
    padding-right: 0;
}

.login-container {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    max-width: 790px!important;
}

.login-logo {
    width: 60px;
}

.footer-login {
    max-width: 840px;
    margin: 0 auto;
}

.error-field {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0 0 7px 11px;
}

/* forms */
.forms {
    padding: 0px 12px 20px;
}

.input-group-text {
    background-color: #f3f3f3;
    padding-top: 0.26rem;
    padding-bottom: 0.26rem;
    border: 0;
    border-radius: 5px 0 0 5px;
}

.input-group .btn {
    border-top: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
}

/* mdigital */
a.mdigital {
    color: #b0b0b0;
    text-decoration: none;
    padding: 0 !important;
}

.mdigital::before {
    content: '</\00a0';
}

.mdigital::after {
    content: '\00a0>';
}

/* Footer */
footer {
    position: fixed !important;
    display: contents;
}

.fixed-bottom {
    bottom: 0;
    position: absolute;
    padding: 20px 0 10px;
    display: block;
}

.navbar .container {
    width: 100%;
    max-width: 100%;
}

/* Navbar */
@media (min-width: 989px) {

    .body-container {
        margin-top: 25px;
    }

    .navbar .logo-top {
        height: 30px;
    }

    .navbar .nav-item a.nav-link:hover {
        color: #adadad !important;
    }

    .navbar {
        width: 180px;
        height: 100vh;
        display: flex !important;
        position: fixed;
        display: inline-block !important;
    }

    .navbar .logo-top {
        height: 40px;
    }

    .navbar-expand-sm, .navbar-collapse {
        display: inline-block !important;
        flex-direction: column !important;
    }

    header .navbar div.container {
        display: block;
    }

    .navbar-expand-sm .navbar-collapse {
        display: inline-block !important;
    }

    header .navbar div div ul:first-child {
        flex-direction: column !important;
        width: 100%;
        align-items: flex-start !important;
    }

    header .navbar div div ul:first-child li {
        margin: 5px 0;
    }

    header .navbar div div ul:first-child li a i {
        opacity: 0.3;
        margin-right: 10px;
    }

    header .navbar div div ul:last-child {
        flex-direction: column !important;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .dropdown-expanded {
        margin-top: 0px !important;
        padding-left: 10px;
        list-style-type: none;
    }

    .dropdown-expanded li a {
        color: grey!important;
    }

}

.reset-search {
    font-size: 20px !important;
    margin-top: 6px;
    position: absolute;
    margin-left: 5px;
}

.account::before {
    content: url('../images/account.png');
    display: inline-flex;
    position: absolute;
    margin-left: -18px;
}

.account {
    padding-left: 20px !important;
}

.logout::before {
    content: url('../images/logout.png');
    display: inline-flex;
    position: absolute;
    margin-left: -18px;
}

.logout {
    padding-left: 20px !important;
}


/* Landing */
.indexCard .card-title {
    font-size: 28px;
    line-height: 25px;
}

.medium-text {
    font-size: 18px;
}

.registerBtn {
    border: 1px solid #1DCCB1;
    padding: 8px 13px 6px;
    font-size: 16px;
    border-radius: 20px;
    background: transparent;
    display: inline-block;
    margin-top: 10px;
    color: #1DCCB1;
    font-weight: bold;
}

.registerBtn:hover {
    border: 1px solid #FFF;
    background: #1DCCB1;
    color: #FFF;
}
.home-bigFont {
    font-size: 32px;
}
.home-mediumFont {
    font-size: 24px;
}
.home-smallFont {
    font-size: 18px;
}
.home-tinyFont {
    font-size: 14px;
}
.CRM-card {
    width: 18rem;
    margin: 0 auto;
    background: #027B8C!important;
}
.ERP-card {
    width: 18rem;
    margin: 0 auto;
    background: #5757E6!important;
    width: 22rem;
}


/* Login */
.login-box {
    max-width: 840px;
    box-shadow: 0px 0px 15px 0px #e3e3e3;
}

.login-side-image {
    width: fit-content;
    max-width: 500px;
}

.no-spaces {
    padding-left: 0;
    padding-right: 0;
}

.login-container {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.login-logo {
    width: 60px;
}

.footer-login {
    max-width: 840px;
    margin: 0 auto;
}


/* table */
.table {
    margin-top: 0px;
}

.table-responsive {
    margin-bottom: 20px;
}

.table-responsive .table {
    background: white;
    margin-bottom: 0;
}

.table tbody tr {
    border-color: whitesmoke;
}

.edit-section {
    background: white;
    padding: 10px 20px;
}

i {
    font-size: 1.1rem;
}

tr td span {
    color: #ccc;
}

.table thead th {
    /* color: #fbfbfb !important; */
    color: #000000 !important;
}

thead {
    background: #eee;
    border: 0;
}

thead th, .table thead th {
    border: 0 !important;
}

tbody tr:hover {
    background: #f9f9f9;
}

.table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.table thead tr td:last-child, .table tbody tr td:last-child {
    width: 120px;
}

.table-small thead tr td:last-child, .table-small tbody tr td:last-child {
    width: 60px;
}

.table-medium thead tr td:last-child, .table-medium tbody tr td:last-child {
    width: 90px;
}

.table-big thead tr td:last-child, .table-big tbody tr td:last-child {
    width: 140px;
}

.table thead th a:link, .table thead th a:visited {
    color: black;
}

.table thead th a:hover {
    color: #adadad;
}

.table thead th .sortable::after {
    content: url('../images/sort.png');
    transform: scale(0.5);
    padding-left: 4px;
    display: inline-flex;
    margin-top: -9px;
    position: absolute;
    opacity: 0.2;
}

.table-detailed thead tr th {
    color: black!important;
}

.table-detailed thead tr th:first-child {
    width: 8%;
}

.table-detailed thead tr th:nth-child(2) {
    width: 30%;
}

/* Delete */
.fix-delete-btn {
    margin-top: -15px;
}


/* section header */
.body-container main h1 {
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 1.8rem;
}

.body-container main p {
    float: right;
}

.body-container main h4 {
    background: #f4f4f4;
    color: #555555;
    clear: both;
    display: inline;
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 1rem;
}

.body-container main h3 {
    font-size: 1rem;
    margin: 0;
}

.body-container main hr {
    margin-top: 7px;
    margin-bottom: 30px;
}

.body-container main .form-inline {
    clear: both;
    margin-bottom: 10px;
    /* display: none; */
}

/* edit section */
.edit-section form div:last-child {
    width: 100%;
    float: left;
    clear: both;
    padding: 5px;
}

.actions-individual a {
    margin: 0 5px;
}

.user-details {
    margin: 0 5px 60px 5px;
}

.user-details dt {
    padding-left: 20px;
}

.user-details dt, .user-details dd {
    border-bottom: 1px solid #f3f3f3;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.two-columns dt, .two-columns dd {
    display: table-cell;
}
.two-columns dt {
    padding-left: 10px;
}

.table thead tr th:first-child, .table tbody tr td:first-child {
    padding-left: 10px;
    padding-right: 10px;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.4rem
}

.edit-section form div:last-child {
    width: 100%;
    float: left;
    clear: both;
    padding: 5px;
}

@media (max-width: 799px) {

    body {
        width: 100%;
        right: unset;
        position: relative;
        padding-left: 0px;
    }

    .login-box {
        max-width: 90%;
        box-shadow: 0px 0px 15px 0px #e3e3e3;
    }

    .login-container {
        display: inline-table;
    }

    .footer {
        position: relative;
    }

        .footer .container {
            max-width: 1060px;
        }

    .fixed-bottom {
        bottom: 0;
        position: absolute;
        padding: 20px 0 10px;
    }

    .table tbody tr td {
        width: 100%;
        display: inline-block;
    }

    .table > :not(caption) > * > * {
        border: 0;
    }

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }
}

@media (max-width: 799px) {

    .table tbody tr td {
        width: 100%;
        display: inline-block;
    }

    .table > :not(caption) > * > * {
        border: 0;
    }

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }
}

@media (max-width: 991px) {
    .container {
        max-width: 95%;
    }
}