html body {
    font-family: "Lato", "Open Sans", "sans-serif";
}

.wrapper-body {
    /* margin-top: 69px; */
    min-height: calc(100% - 126px);
}

.km-base-content {
    padding-top: 32px;
}

footer .footer-bottom {
    padding: unset;
}

footer .footer-bottom .row {
    min-height: 68px;
}

footer .container,
footer .container .row {
    height: 100%;
}

@media (max-width: 1024px) {

    .container,
    .container-sm {
        max-width: unset;
    }
}

.private-mode-banner {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    border-radius: 5px;
    padding: 0 10px 0 10px;
}

.private-mode-signin-text {
    margin-left: 5px;
}

@media(max-width:1350px) {

    .private-mode-text *:not(img),
    .private-mode-signin-text {
        display: none;
    }
}

#mainContent {
    width: 100%;
}

:not(#liquid_form)>#mainContent {
    min-height: calc(100vh - 126px);
}

#liquid_form {
    min-height: calc(100vh - 126px);
}

#liquid_form>#mainContent {
    height: 100%;
    min-height: inherit;
}

#mainContent .mainContentContainer {
    height: 100%;
    min-height: inherit;
}

#mainContent .mainContentContainer>.row {
    height: 100%;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

/* Navbar - START */
.navbar {
    font-family: "Lato", "Open Sans", "sans-serif";
    position: sticky;
    top: 0;
    z-index: 100;
}

.km-bg-light {
    background-color: var(--portalThemeColor7);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.navbar-brand a {
    display: block;
}

/* Navbar - END */

/* Hamburger - START */
.canvas-nav h4.signOutLink a {
    color: var(--portalThemeColor7);
}

.canvas-nav h4.signOutLink a:after {
    content: "\f08b";
}

.navbar .hamburger {
    width: 106px;
    padding: 33px 0 2px;
    position: relative;
    float: right;
    /* margin: 10px 0 0; */
}

.navbar .hamburger-box {
    top: 5px;
    right: 0;
    position: absolute;
    height: 23px;
}

@media (max-width: 767px) {
    .navbar .hamburger em {
        display: none;
    }
}

.navbar .hamburger.is-active:hover em,
.navbar .hamburger:hover em {
    color: var(--portalThemeColor2);
}

span.hamburger-inner,
span.hamburger-inner:before,
span.hamburger-inner:after {
    background-color: var(--portalThemeColor1);
}

.navbar button em {
    color: var(--portalThemeColor1);
    font-size: 18px;
    margin: 0;
    font-style: normal;
    line-height: 20px;
    display: inline-block;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 6px;
}

.hamburger.is-active:hover .hamburger-inner:after,
.navbar .hamburger:hover .hamburger-inner,
.navbar .hamburger:hover .hamburger-inner:before,
.navbar .hamburger:hover .hamburger-inner:after {
    background-color: var(--portalThemeColor2);
}

.navbar .hamburger-inner,
.navbar .hamburger-inner:before,
.navbar .hamburger-inner:after {
    width: 26px;
}

/* Hamburger - END */

/* Hamburger Navigation - START */
.canvas-nav {
    position: fixed;
    top: 0;
    right: calc(-100vw/2);
    z-index: 125;
    width: 50%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    background: var(--portalThemeColor1);
    padding: 116px 100px 60px 58px;
    transition: all 0.6s;
    z-index: 1300
}


.canvas-nav .link-visible {
    margin-right: calc(100% - 674px);
}

@media (max-width: 1023px) {
    .canvas-nav {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 767px) {
    .canvas-nav {
        padding: 70px 15px;
        font-size: 0.75em;
    }
}

.canvas-nav.open {
    right: 0px;
}

.canvas-nav h4 a {
    color: var(--portalThemeColor9);
    font-weight: 400;
    display: block;
    position: relative;
    transition: all 0.4s;
}

.canvas-nav h4 a:after {
    content: '\f054';
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 0;
    transition: all 0.4s;
    font-weight: 600;
}

.canvas-nav h4 a:hover {
    color: var(--portalThemeColor2);
    text-decoration: none;
}

.canvas-nav h4 a.open {
    color: #fff;
}

.canvas-nav h4 a.open:after {
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

.canvas-nav ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.canvas-nav ul li {
    font-size: 1.2em;
    padding: 0 0 8px;
}

.canvas-nav ul li a:hover {
    color: #fff;
    text-decoration: none;
}

/* .canvas-nav ul li a:hover:after {
            content: '\f054';
            font-family: "Font Awesome 6 Free";
            padding: 0 0 0 10px; } */
.canvas-nav .close-nav {
    position: absolute;
    top: 32px;
    right: 50px;
    color: var(--portalThemeColor9);
    font-size: 1.1em;
    padding: 0 44px 0 0;
    line-height: 30px;
}

@media (max-width: 1024px) {
    .canvas-nav .close-nav {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .canvas-nav .close-nav {
        top: 20px;
        right: 17px;
    }
}

@media (min-width: 1480px) {
    .canvas-nav .close-nav {
        right: 0;
        margin-right: calc(100% - 674px);
    }
}

.canvas-nav .close-nav:hover {
    text-decoration: none;
    color: #fff;
}

.canvas-nav .close-nav i {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
}

div.canvas-nav {
    z-index: 1300;
}

.canvas-nav h4 {
    padding: 0 0 20px;
    margin: 0;
}

.canvas-nav h4 a {
    font-size: 1.6em;
}

.canvas-nav ul li a {
    font-size: 1em;
    color: var(--portalThemeColor9);
}

.canvas-nav ul li span {
    color: var(--portalThemeColor9);
    padding-left: 5px;
    display: none;
}

.canvas-nav ul li:hover span {
    display: inline;
}

div.columnBlockLayout {
    margin-top: unset;
}

.link-visible {
    display: block;
}

.link-invisible {
    display: none;
}

/* Hamburger Navigation - END */

/* Form Modifications - START */
h2.tab-title {
    display: none;
}

div.crmEntityFormView {
    border: none;
}

/* Form Modifications - END */

/* Base Template Navigation - START */
.km-base-nav-col {
    background: var(--portalThemeColor1);
    position: sticky;
}

#mainContent .km-base-nav-col {
    min-height: calc(100vh - 126px);
}

.km-base-nav {
    padding-top: 50px;
    padding-right: 50px;
    /* background: var(--portalThemeColor1);
    height: calc(100vh - 69px);
    position: fixed;
    z-index: 100;
    right: 46%;
    margin: 0 404px 0 0;
    width: calc(1500px / 4); */
}

.km-base-nav h1 {
    padding-top: 21px;
    margin-top: unset;
}

/* @media (max-width: 1655px) {
    .km-base-nav {
        width: 25%;
        margin: 0 25% 0 0;
        padding: 32px 25px 0 32px;
    }
} */


.km-base-nav-col:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100vw;
    left: -100vw;
    top: 0;
    background: var(--portalThemeColor1);
    z-index: -1;
}

footer .km-base-nav-col:before {
    z-index: inherit;
}

.km-base-nav * {
    color: #fff;
}

.km-base-nav .welcome {
    font-weight: 300;
    line-height: 1em;
}

@media (max-width: 1200px) {
    .km-base-nav .welcome {
        font-size: 2.4em;
    }
}

.km-base-nav .welcome strong {
    font-weight: 600;
}

.km-base-nav .logout a {
    display: block;
    text-align: center;
    border-radius: 13px;
    border: 1px solid #fff;
    font-size: 1.5em;
    font-weight: 300;
    height: 49px;
    line-height: 46px;
    text-decoration: none;
    transition: all 0.4s;
}

.km-base-nav .logout a:hover {
    background: #fff;
    color: var(--portalThemeColor1);
}

.km-base-nav ul {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    font-size: 1em;
}

.km-base-nav ul li {
    margin: 6px 0;
    border-bottom: 1px solid #5a6b96;
}

/* @media (max-width: 1360px) {
    .km-base-nav ul li {
        font-size: 2em;
    }
}

@media (max-width: 1200px) {
    .km-base-nav ul li {
        font-size: 1.8em;
    }
}

@media (max-width: 1100px) {
    .km-base-nav ul li {
        font-size: 1.6em;
    }
} */

.km-base-nav ul li:last-child {
    border: none;
}

.km-base-nav ul li a {
    font-size: 1.3em;
    color: #fff;
    padding: 5px 0 10px 5px;
    position: relative;
    font-weight: 300;
    display: inline-block;
}

.km-base-nav ul li span {
    width: 42px;
    font-size: 1.5em;
}

@media (max-width: 1200px) {
    .km-base-nav ul li a {
        font-size: 1em;
    }
}

.km-base-nav ul li a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 4px;
}

.km-base-nav ul li a:hover {
    text-decoration: none;
}

.km-base-nav ul li.home a:before {
    content: '\f015';
}

.km-base-nav ul li.settings a:before {
    content: '\f013';
}

.km-base-nav ul li.journey a:before {
    content: '\f024';
}

.km-base-nav ul li.documents a:before {
    content: '\f15b';
}

.km-base-nav ul li.care a:before {
    content: '\f4be';
}

.km-base-nav ul li.current a,
.km-base-nav ul li.current span {
    color: var(--portalThemeColor2);
    font-weight: 600;
}

.km-base-nav ul li.current a:before {
    color: var(--portalThemeColor2);
}

/* Base Template Navigation - END */

/* Mobile Nav - START */
.mobile-nav {
    background: var(--portalThemeColor1);
    padding: 30px 15px;
    display: none;
}

@media (max-width: 1024px) {
    .mobile-nav {
        display: block;
    }
}

.mobile-nav>a {
    display: block;
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #707070;
    font-size: 1.1em;
    color: #707070;
    background: #fff;
    line-height: 44px;
    padding: 0 30px;
    position: relative;
}

.mobile-nav>a:after {
    content: '\f0d7';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 30px;
    top: 0;
}

.mobile-nav>a:hover {
    text-decoration: none;
    color: var(--portalThemeColor2);
}

.mobile-nav ul {
    position: absolute;
    width: calc(100% - 30px);
    z-index: 10;
    display: none;
    list-style: none;
    padding: 0;
    background: #fff;
    border: 1px solid #707070;
    border-top: none;
    margin: -8px 0 0;
    border-radius: 0 0 8px 8px;
    padding: 8px;
    font-size: 1.8em;
}

.mobile-nav ul.open {
    display: block;
}

.mobile-nav ul li a {
    color: var(--portalThemeColor1);
    display: block;
    border-top: 1px solid #ccc;
    padding: 5px 22px;
}

.mobile-nav ul li a:hover {
    color: var(--portalThemeColor2);
    text-decoration: none;
}

/* Mobile Nav - END */

/* Base Template Content - START */
.km-base-content h1.base-template-head:before {
    content: '';
    position: absolute;
    top: 23px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    z-index: 5;
}

.km-base-content .base-template-head {
    padding-bottom: 25px;
}

.km-base-content h1 {
    display: block;
    font-size: 37px;
    font-weight: 300;
    text-align: center;
    position: relative;
    margin: 0;
}

.km-base-content h1 span {
    padding: 0 16px;
    background: #fff;
    display: inline-block;
    font-weight: 300;
    position: relative;
    z-index: 6;
}

/* Base Template Content - END */

/* Dashboard Tiles - START */
.dash-tile {
    display: block;
    width: 100%;
    height: 90%;
    background: #e4eeff;
    margin: 30px 0 0;
    font-size: 1.6em;
    font-weight: 300;
    color: var(--portalThemeColor1);
    text-align: center;
    border-radius: 25px;
    position: relative;
    padding: 120px 0 65px;
    transition: all 0.4s;
}

@media (max-width: 767px) {
    .dash-tile {
        font-size: 1.3em;
        padding: 76px 0 42px;
        margin: 0 0 10px;
    }
}

.dash-tile:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    font-size: 2em;
}

@media (max-width: 767px) {
    .dash-tile:before {
        top: 36px;
        font-size: 1.3em;
    }
}

.dash-tile:hover {
    text-decoration: none;
    background: #cadeff;
    color: var(--portalThemeColor1);
}

a.dash-tile {
    font-family: 'Lato', 'Open Sans', 'sans-serif';
}

/* Dashboard Tiles - END */

/* Basic Form Modifications - START */
select.lookup.form-control {
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    /* background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); */
}

.entity-form .section-title {
    border-bottom: 1px solid #e5e5e5;
    margin-left: 25px;
}

.section-title+p {
    margin-left: 25px;
}

@media (max-width: 450px) {
    .entity-form .section-title {
        border-bottom: 1px solid #e5e5e5;
        margin-left: 25px !important;
    }

    .section-title+p {
        margin-left: 25px !important;
        margin-bottom: 25px !important;
    }

    .section-title+ tbody{
        margin-left: 0px !important;
    }

    .tab-column {
        padding-left: 0px !important;
        margin-left: 0px !important;
    }
}


div.columnBlockLayout,
div.sectionBlockLayout {
    padding: 0;
}

.crmEntityFormView .cell {
    padding: 0 5px 20px;
}

.crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .subgrid-cell, .table) div.table-info {
    display: inline-flex;
    width: 27%;
}

.crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .subgrid-cell, .table) .control {
    display: inline-flex;
    float: right;
    width: 70%;
}

.crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .subgrid-cell, .table) .control div.control {
    width: 100%;
    height: 56px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px 10px;
    align-items: center;
}

.crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .subgrid-cell, .table) .control .text-muted {
    padding: 5px 10px;
}

.crmEntityFormView table:not(.table) .cell.custom-toggle-spacing:not(.table) div.table-info {
    width: 60%;
}

.crmEntityFormView table:not(.table) .cell.custom-toggle-spacing:not(.table) .control {
    width: 40%;
    justify-content: center;
}

.crmEntityFormView table:not(.table) .cell div.table-info .validators {
    display: none;
}

.crmEntityFormView table:not(.table) div.table-info label {
    font-weight: 400;
    font-size: 0.9em;
    font-weight: 600;
}

/* Form Table formatting */
table.section {
    border-collapse: collapse;
    border-spacing: 0;
    margin-left: 20px;
    /* No unnecessary gaps */
}

/* General input formatting */
.crmEntityFormView .cell .control input,
.crmEntityFormView .cell .control select {
    float: right;
    font-size: 15px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 56px;
}

.crmEntityFormView .cell .control input[type="radio"] {

    float: none;

    height: 17px;

}

/* Aligns radio buttons and labels properly */

.crmEntityFormView .cell .control .picklist.horizontal,

.crmEntityFormView .cell .control .boolean-radio {

    display: flex;

    justify-content: flex-start;
    /* Align elements to the left */

    width: 100%;

    align-items: center;

    gap: 15px;
    /* Adjust spacing */

    flex-wrap: wrap;

}

/* Ensures each option (label + radio) is aligned */

.crmEntityFormView .cell .control .picklist.horizontal div,

.crmEntityFormView .cell .control .boolean-radio div {

    display: flex;

    align-items: center;

    gap: 8px;
    /* Reduces excessive spacing */

}

/* Provides consistent spacing for radio buttons */

.crmEntityFormView .cell .control .picklist.horizontal input[type="radio"],

.crmEntityFormView .cell .control .boolean-radio input[type="radio"] {

    margin: 0 5px 0 0;
    /* Small spacing between radio and text */

}

/* Fixes read-only input colors */

.crmEntityFormView .cell .control input[readonly] {

    color: #757575;

}

/* Ensures radio buttons in boolean fields are properly aligned */

.crmEntityFormView .cell.boolean-radio-cell .control input {

    float: unset;

    height: unset;

}

/* Ensures vertical alignment of radio buttons */

.crmEntityFormView .cell.boolean-radio-cell .control input[type=radio] {

    vertical-align: middle;

}

/* Ensures labels are aligned with left padding */

.crmEntityFormView .cell .control label {

    min-width: 250px;
    /* Adjust width as needed */

    text-align: left;

    display: block;

}


/* Lookup formatting */
.lookup-modal .toolbar-actions .entitylist-search {
    border-collapse: collapse;
}

.crmEntityFormView .cell button.launchentitylookup,
.crmEntityFormView .cell button.clearlookupfield {
    height: 56px;
    border: 1px solid #ddd;
}

.view-toolbar .view-search.entitylist-search .btn-default {
    border: 1px solid #ddd;
    height: 56px;
    border-radius: 0 7px 7px 0 !important;
}

.pagination>li>a,
.pagination>li>span {
    min-width: 40px;
    width: unset;
}

/* Checkbox formatting */
html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child {
    padding: 5px 5px;
    background-color: var(--portalThemeColor5);
    border-radius: 5px;
}

html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child label {
    background-color: transparent;
}

.crmEntityFormView .cell.checkbox-cell .control {
    width: unset;
}

.crmEntityFormView .cell.checkbox-cell .control input {
    height: unset;
}

/* Date TimePicker formatting */

.cell.datetime .datetimepicker .input-group-addon {
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0 5px 5px 0;
    color: var(--portalThemeColor1);
    background: transparent;
}

/* Quick View Formatting */

.crmEntityFormView .crmquickform-cell .table-info {
    display: none;
}

#EntityFormView .cell.crmquickform-cell:first-child {
    border-right: unset;
}

/* Buttons */
/* button.button2:not(.gjs-selected):hover, button.btn-secondary:not(.gjs-selected):hover, button.btn-default:not(.gjs-selected):hover,
a.button2:not(.gjs-selected):hover, a.btn-secondary:not(.gjs-selected):hover, a.btn-default:not(.gjs-selected):hover {
    background-color: var(--portalThemeColor2);
} */

.actions .btn {
    font-weight: 600;
   
}

@media (min-width: 405px) {
    .actions .btn {
       
        padding: 10px 34px;
    }

}

.actions .btn-default {
    border: 1px solid var(--portalThemeColor1);
}

.actions input.btn-default:hover,
.actions input.btn-default:focus {
    background-color: var(--portalThemeColor1);
}

/* Buttons End */

h3:empty {
    display: none;
}

#EntityFormPanel .btn.btn-primary,
#EntityFormPanel .btn.btn-default {
    min-width: 105px;
    min-height: 38px;
    align-content: center;
}

div#MessagePanel.success {
    background: #10a73315;
    border: unset;
    border-radius: 7px;
    padding-right: 14px;
}

div#MessagePanel.success span {
    color: var(--portalThemeColor2) !important;
    padding-left: 25px;
}

div#MessagePanel.success span:before {
    font-family: "Font Awesome 6 Free";
    content: '\f00c';
    font-weight: 900;
    font-size: 1.8em;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 5px;
    text-align: center;
}


@media (max-width: 992px) {
    .km-base-nav {
        display: none;
    }

    .km-base-nav-col {
        display: none;
    }

    #mainContent .mainContentContainer>.row {
        height: unset;
    }

    .crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .table) .control {
        display: flex;
        float: unset;
        width: 100%;
    }

    .crmEntityFormView table:not(.table) .cell:not(.checkbox-cell, .crmquickform-cell, .table) div.table-info {
        display: flex;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Basic Form Modifications - END */

/* More Toggles Customisations - START */
.mt-custom input {
    width: 45px;
    height: 35px !important;
    margin: -6px -2px;
}

.mt-custom input:focus {
    outline: auto;
}

/* More Toggles Customisations - END */

/* Reserve your home - START */
div#mainContent .km-base-content div.reservation-confirm-details {
    padding-right: 12px;
    padding-left: 8px;
}

.reservation-info-tile {
    background-color: var(--portalThemeColor5);
    border-radius: 11px;
    min-height: 173px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.reservation-info-img img {
    width: 100%;
    height: 100%;
    border-radius: 11px;
}

.reservation-info {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media screen and (max-width: 991px) {
    div.container.reservation-info .col-lg-8 {
        margin-bottom: 20px;
    }

    .reservation-info-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .reservation-info-img img {
        border-radius: 11px 11px 0px 0px;
    }

    .reservation-info-tile {
        border-radius: 0px 0px 11px 11px;
    }
}

/* Reserve your home - END */

/* My Home - START */
.home-details-tile {
    background-color: #e4eeff;
    line-height: 18px;
    border-radius: 15px;
    color: var(--portalThemeColor1);
    flex: 1;
    min-width: 200px;
}

.features-container {
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 0;
}

.features-list li {
    position: relative;
    padding: 0 0 16px 30px;
}

.features-list li:before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-size: 1.5em;
    color: #449233;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: -4px;
}

.plot-info-container {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.plot-info-container .plot-info-tile {
    margin: 0 10px 0 10px;
    width: 150px;
}

.plot-info-container h4 {
    margin-bottom: 5px;
}

.plot-info-container span {
    font-size: 3em;
    color: #212f50;
}

.min-width-300 {
    min-width: 300px;
}

.flex-1 {
    flex: 1 !important;
}

/* My Home - END */

/* Subgrid - START */
.view-toolbar.grid-actions {
    width: 100%;
}

.view-toolbar.grid-actions .btn {
    font-weight: 600;
}

.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    /* margin: 5px 0; */
}

.divider-container::before,
.divider-container::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 0px;
}

.divider-text {
    display: block;
    font-size: 37px;
    font-weight: 300;
    text-align: center;
    position: relative;
    margin: 0 15px;
    color: #233a74;
    /* padding-bottom: 25px; */
    /* font-size: 24px; 
    font-weight: bold;
    color: #2a4473; */
}

.km-base-content .entitylist,
.km-base-content .subgrid {
    border: unset;
}

.km-base-content .entity-grid.entitylist,
.km-base-content .entity-grid.subgrid {
    background-color: var(--portalThemeColor5);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.km-base-content .entitylist .table>:not(caption)>*>*,
.km-base-content .subgrid .table>:not(caption)>*>* {
    box-shadow: unset;
}

.km-base-content .entitylist .table thead th,
.km-base-content .subgrid .table thead th {
    border: unset;
}

.km-base-content .entitylist .table thead th a,
.km-base-content .subgrid .table thead th a {
    color: var(--portalThemeColor1);
    font-weight: 600;
}

.km-base-content .entitylist .view-grid.table-responsive,
.km-base-content .subgrid .view-grid.table-responsive {
    width: 95%;
}

.km-base-content .entitylist tbody td:first-child,
.km-base-content .entitylist tbody td:first-child a {
    font-weight: 600;
    color: var(--portalThemeColor1)
}

.km-base-content .entitylist tbody tr td,
.km-base-content .subgrid tbody tr td {
    border-bottom-width: 2px;
}

.km-base-content .entitylist tbody tr:last-child td,
.km-base-content .subgrid tbody tr:last-child td {
    border: unset;
}

.km-base-content .subgrid td {
    border-bottom: unset;
}

@media (max-width: 767px) {
    .table thead {
        display: none
    }

    .table td,
    .table tr {
        display: block;
        width: 100% !important
    }

    .table tr {
        overflow: hidden;
        border-top: solid #ddd .3rem
    }

    .table tr:first-child {
        border-top: unset;
    }

    .table td {
        vertical-align: top;
        word-break: break-all;
        text-align: center;
    }

    html[dir=rtl] .table:not(.sharepoint-documents) td {
        padding-right: 6rem
    }

    html[dir=ltr] .table td {
        padding-left: 6rem
    }

    .table td:before {
        content: attr(data-th);
        font-weight: 700;
        display: inline-block;
        width: 7rem;
        margin-left: -6rem;
        float: left;
        padding-right: 1rem;
        word-break: normal;
        text-align: left;
    }

    .table td .fa-check:before {
        position: relative;
        top: -1.3rem;
    }

    .table td:after {
        content: "";
        display: table;
        clear: both
    }

    .table .dropdown.action>a {
        width: 10rem
    }
}


/* Subgrid - END */

/* Render Grid Action Menu as Buttons */
.renderActionsAsButtons .dropdown.action>button {
    display: none;
}

.renderActionsAsButtons .dropdown.action>.dropdown-menu {
    position: unset !important;
    display: block;
    background-color: unset;
    border: unset;
    border-radius: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    background-clip: unset;
}

.renderActionsAsButtons .dropdown-menu>li>a {
    color: #fff;
    background-color: var(--portalThemeColor2);
    border: solid 1px;
    border-color: var(--portalThemeColor2);
    border-radius: 5px;
    display: inline-block;
    width: 98%;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.renderActionsAsButtons .dropdown-menu>li>a:focus,
.renderActionsAsButtons .dropdown-menu>li>a:hover {
    color: var(--portalThemeColor2);
    background-color: var(--portalThemeColor5);
    border-color: var(--portalThemeColor2);
}

/*.renderActionsAsButtons .dropdown-menu > li > a:focus {
  color: #fff;
    background-color: #a70a28;
    border-color: #e30613;
  }
  */

.renderActionsAsButtons .dropdown-menu>li {
    padding: 2px;
}

.renderActionsAsButtons .action-menu {
    padding-top: 0px;
}

.renderActionsAsButtons td[aria-label="action menu"] {
    padding: 0px !important;
}

/* Render Grid Action Menu as Buttons END */

/* Grid - Hide First Column - START */
.hideFirstColumn th:first-child,
.hideFirstColumn td:first-child {
    display: none;
}

/* Grid - Hide First Column - END */

/* tel modifications */
.iti {
    width: 100%;
}

#mainContent .iti input[type=text] {
    padding-left: 55px;
}

/* SharePoint Grid - Start */
.sharepoint-grid .sharepoint-data td {
    vertical-align: middle;
}


/* SharePoint Grid - End */

/* Document Links - Start*/
.km-doc-links {
    justify-content: flex-start;
}

.km-doc-links div {
    width: 50%;
    padding: 12.5px 10px;
    min-height: 60px;
}

.km-doc-links a {
    display: inline-flex;
    justify-content: left;
    position: relative;
    text-align: left;
    text-decoration: underline !important;
    height: 100%;
    line-height: normal;
    width: 100%;
    padding-right: 110px;
}

.km-doc-links a::before {
    font-size: 25px;
    content: '\f15b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    display: inline-block;
    color: var(--portalThemeColor1);
    position: relative;
    padding: 5px;
    padding-right: 15px;
}

.km-doc-links a::after {
    content: 'View';
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background-color: var(--portalThemeColor2);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
}

@media (max-width: 600px) {
    .km-doc-links {
        justify-content: flex-start;
    }

    .km-doc-links div {
        width: 100%;
        padding: 10px;
        min-height: 50px;
    }

    .km-doc-links a {
        display: flex;
        justify-content: flex-start;
        text-align: left;
        text-decoration: underline !important;
        width: 100%;
        padding-right: 80px;
    }

    .km-doc-links a::before {
        font-size: 20px;
        padding-right: 10px;
    }

    .km-doc-links a::after {
        padding: 8px 16px;
        font-size: 12px;
        width: 80px;
    }
}

/* Document Links - End*/