:root {
    --portalThemeColor9: #34623e !important;
}

.entitylist {
    border: none;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800&display=swap');

/* ------------------------------------------
Initial Styles
--------------------------------------------- */

body {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    color: #000;
}

/*.wrapper-body {
    background-color: #F7F8FD !important;
}*/

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Inter', sans-serif !important;
}

h2 {
    /*color: #09296c !important;*/
    font-weight: 600 !important;
}

/*h3 {
    color: #09296c !important;
}*/

p {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
}


.entity-grid.entitylist {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px;
}

.view-grid table {
    max-width: 100%;
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    font-size: 15px;
    color: #212529;
    margin-bottom: 0;
}

.view-grid table>tbody>tr>td,
.view-grid table>tbody>tr>th,
.view-grid table>tfoot>tr>td,
.view-grid table>tfoot>tr>th,
.view-grid table>thead>tr>td,
.view-grid table>thead>tr>th {
    vertical-align: top;
    padding: 8px 10px;
}

.view-grid table>thead>tr>th {
    vertical-align: bottom;
    text-align: left;
    border-bottom: 1px solid #d9d9d9;
    font-weight: 700
}

.view-grid table>thead>tr>th>a {
    font-weight: 700;
    color: #212529;
}

.view-empty.message {
    margin: 20px;
    text-align: center;
}

.view-grid .table-striped>tbody>tr:nth-of-type(2n+1) {
    background-color: #f0ffee;
}

.btn, button {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.dropdown.action .btn.btn-default {
    color: #4b8343;
    font-family: 'Inter', sans-serif !important;
    border: 1px solid #4b8343;
    background-color: transparent;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    line-height: 1;
    padding: 10px 15px;
    /*box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);*/
}

button.button1, .btn.btn-primary {
    color: #fff;
    font-family: 'Inter', sans-serif !important;
    border: 1px solid #4b8343 !important;
    background-color: #4b8343 !important;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    line-height: 2;
    padding: 6px 12px;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}

a.btn-default, .btn-for-file-input {
    color: #4b8343 !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px!important;
    font-weight: 500!important;
    border: 1px solid #4b8343 !important;
    padding: 6px 12px!important;
    line-height: 2;
    background-color: transparent;
}

.btn-for-file-input {
    line-height: 1;
}

.input-group-btn > .btn{
    height: 48px;
    border: 1px solid #4b8343 !important;
    color: #4b8343 !important;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.input-group-btn > .btn[type="submit"]{ 
    color: #fff !important;
}

.input-group-btn > .btn:hover, .input-group-btn > .btn:focus{
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    /*border-bottom-right-radius:12px !important;
    border-top-right-radius:12px !important;*/
}

.dropdown.action .btn.btn-default:hover, .button1:not(.gjs-selected):hover, .btn.btn-primary:hover, .button2, .btn-default:hover,
.dropdown.action .btn.btn-default:focus, .button1:not(.gjs-selected):focus, .btn.btn-primary:focus, .button2, .btn-default:focus {
    color: #fff!important;
    background-color: #1A4A0A !important;
    border: 1px solid #1A4A0A !important;
    box-shadow: none;
}

.pagination>li>a {
    width: auto;
    height: auto;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    color: #000;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: #bbb !important;
    border: none;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    border-radius: 0;
}

.crmEntityFormView {
    border: none !important;
}

.modal-title {
    color: #000;
}

.dropdown-menu.dropdown-search > .form-search > .input-group input.form-control,
.input-group input.form-control {
    height: 48px;
}

.dropdown-menu.dropdown-search > .form-search > .input-group input.form-control:focus, .form-control:focus {
    border: 2px solid #4b8343 !important;
    outline: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.page_section .form-search .btn {
    padding: 6px 12px !important;
}

.navbar-inverse .navbar-nav > li > a:hover {
        color: #fff;
        background-color: transparent !important;
}

    .navbar-inverse .navbar-nav > li > a:after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: 1px;
        content: '.';
        color: transparent;
        background: #4b8343;
        visibility: none;
        opacity: 0;
        z-index: -1;
        transition: all .3s;
    }

    .navbar-inverse .navbar-nav > li > a:hover:after {
        opacity: 1;
        visibility: visible;
        height: 100%;
        border-radius: 4px;
    }

    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > li > a:focus {
        border-radius: 4px;
        background: #4b8343 !important;
        color: #fff;
    }

    input.form-control {
        border: 1px solid #c1c1c1;
        color: #333;
        font-size: 16px;
        padding: 10px 28px 10px 10px;
        display: block;
        width: 100%;
        border: 1px solid #c1c1c1;
        border-radius: 0.25rem;
        height: calc(1.5em + 1rem + 5px);
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu {
        background-color: #fff !important;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #000 !important;
    }

    .navbar-static-top.navbar-inverse, .footer .footer-bottom {
        background-color: #fff !important;
    }

    .spacer, .colorBackground {
        background-color: #277493 !important;
    }

    .colorBackground h2, .colorBackground p {
        color: #fff !important;
    }

    a[role="tab"] {
        color: #165cc9;
    }


    h2.siteTitle {
        font-weight: 700 !important;
        margin-top: 0 !important;;
        color: #37393B !important;
    }

    .columnBlockLayout > h3 {
        font-weight: 600 !important;
        margin-top: 0 !important;;
        color: #37393B !important;
    }

    [data-component-theme="portalThemeColor3"] {
        background-color:  #b9ddb4 !important;
    }

    .grid-actions {
        padding: 8px !important;
    }

    input {
        font-family: 'Inter', sans-serif !important;
    }


.form-control.picklist {
    color: #333;
    font-size: 16px;
    padding: 10px 28px 10px 10px;
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    height: calc(1.5em + 1rem + 5px);
}

.customControl .msos-container {
    justify-content: center;
    min-height: 42px !important;
}

.customControl .msos-container:not(.msos-disabled), .customControl .msos-container:not(.msos-disabled).msos-active {
    border: 1px solid #ccc !important;
    border-radius: 0.25rem;
}

.customControl  .msos-container:not(.msos-disabled).msos-focused {
    border: 2px solid #4b8343 !important;
    box-shadow: none;
}



.msos-input-container {
    color: #333;
    font-size: 16px;
    padding: 10px 28px 10px 10px;
    display: block;
    width: 100%;
    border-radius: 0.25rem;
    height: calc(1.5em + 1rem + 5px);
}

.textarea.form-control.readonly {
    border: none !important;
}

.customControl .msos-selected-display-item, .customControl .msos-quick-delete {
    background: #4b8343 !important;
    border-radius: 0.5rem;
    color: #fff;
}

.customControl .msos-quick-delete{
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    color: #fff !important; 
}

.customControl .msos-quick-delete:hover {
    color: #fff !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    background-color: #1A4A0A !important;
}

.info {
    padding-bottom: 0; 
}

.info > label{
    margin-bottom: 0;
}

.control > textarea.form-control {
    padding: 0;
}

.crmEntityFormView .actions {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.crmEntityFormView .cell {
    padding: 0 0px 18px;
}

table > tbody tr > .tdLastQuestion {
    padding-top: 20px !important;
    border-top: 2px solid #cdcdcd;
}

.rgsp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;          /* vertical gap = row spacing, horizontal = between tabs */
  margin-bottom: 12px;   /* space below the whole tab row */
}

/* Individual tabs */
.rgsp-tab {
  border-radius: 6px;    /* softer corners (not pill, not sharp) */
  padding: 8px 14px;     /* tighter than before */
  margin-right: 0;       /* remove old spacing (gap handles it now) */
  box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* subtle depth */
}

/* Active tab */
.rgsp-tab.active {
  background-color: #2f5d2a !important;
 
