/*COLORS*/
:root {
    --navy: #141E3C;
    --lightgreen: #1EBE91;
    --darkgreen: #00826E;
    --accordion: #145357;
    --grey0: #efefef;
    --grey1: #D8D7DF;
    --grey2: #A0A2B0;
    --grey3: #6E7185;
    --grey4: #484B5D;
    --black: #000000;
    --white: #FFFFFF;
    --lightgrey: #f8f8f8;
    --normalgrey: #cbcbcb;
    --brightblue: rgb(0, 120, 210);
    --redochre: #C63527;
    --orangeochre: #F4633A;
    --yellowochre: #FAA634;

    --text-color: #282828;
    --text-muted-color: #666;
}

:root {
    --color-background-content-final: var(--grey0);
    --color-background-content-panel: var(--white);
}

/*BORDERS*/
:root {
    --border-radius: 3px;
    --border-style: solid;
    --border-width: 1px;
    --default-border-color: var(--grey1);
    --button-default-border-color: transparent;
    --button-primary-border-color: var(--lightgreen);
    --button-secondary-border-color: var(--grey3);
    --alert-border-color: var(--lightgreen);
}

/*PADDING AND MARGIN*/
:root {
    --padding-default: 20px;
    --padding-small: 8px;
    --padding-button: var(--padding-small) var(--padding-default);
    --margin-default: 10px;
    --margin-section-break: 40px;
}

/* FONT */
:root {
    --primary-font: 'Arial', sans-serif;
    --font-global-baseline: 14px;
    --font-size-body: 1.0rem;
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --font-size-h4: 1.1rem;
    --line-height-default: 1.4;
}


/* ADDITIONAL CONTAINER SIZING BY BOOTSTRAP 3*/
@media (min-width: 1440px) {
    .container {
        width: 1380px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1520px;
    }
}

/*OVERRIDES FOR POSSIBLY DUMB MICROSOFT/PLAFORM BUILT IN DECISIONS*/
html[dir="ltr"] li a {
    margin-left: 0px;
}

.breadcrumb>li a {
    padding: 0px;
}

/*Override intended to combat some bootstrap default gutters*/
.removed-gutter {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.removed-block-gutter {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.removed-negative-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.removed-top-margin {
    margin-top: 0 !important;
}

.application-header {
    margin-top: 5px;
    margin-bottom: 10px;
}

/*ELApplicationHeaderLabel*/
.application-header-label {
    /*font-weight: bold !important;*/
    margin-bottom: 15px;
}


/*Correcting for some built in form views*/
.crmEntityFormView .cell {
    padding: 0 5px 0 5px;
}

/* BUTTONS */
/* Everything is important, MS themes dont make sense in this space so lets bully them back*/
/* TODO: See if there is a better solution to override */
.btn,
.button1 {
    font-family: var(--primary-font) !important;
    font-weight: normal !important;
    font-size: var(--font-size-body) !important;
    padding: var(--padding-button) !important;
    height: 40px;
    width: fit-content !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    user-select: none !important;
    line-height: inherit !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;

    border-radius: var(--border-radius) !important;
    border-style: var(--border-style) !important;
    border-width: var(--border-width) !important;
    border-color: var(--button-default-border-color) !important;
}

.btn:hover {
    /*filter: brightness(90%);*/
    background-color: var(--darkgreen) !important;
}

.btn-primary,
.button1 {
    /*border-color: var(--button-primary-border-color) !important;*/
    background-color: var(--lightgreen) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
}

.btn-default,
.btn-secondary {
    border-color: var(--button-secondary-border-color) !important;
    background-color: var(--grey3) !important;
    color: var(--white) !important;
}

.clearlookupfield {
    border-color: var(--redochre) !important;
    background-color: var(--redochre) !important;
}

a.btn {
    /*display: grid;*/
    align-items: center;
}

/* FONT */


html {
    /* This equates to 16px in most browsers */
    font-size: var(--font-global-baseline);
    position: relative;
    min-height: 100%;
}

body {
    font-size: var(--font-size-body);
    font-family: var(--primary-font) !important;
    font-style: normal;
    font-weight: normal;
    line-height: var(--line-height-default);
    /*margin-bottom: 60px;*/
    /*background-color: var(--color-background-content-final) !important;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font) !important;
    font-style: normal;
    font-weight: bold !important;
    color: var(--black) !important;
}

p {
    font-family: var(--primary-font) !important;
    font-style: normal;
    color: var(--text-color) !important;
}

p,
.p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p {
    color: var(--text-color) !important;
}

a,
.a {
    font-family: var(--primary-font) !important;
    color: var(--black) !important;
}

/* FONT SIZING */
p,
a,
.a {
    font-size: var(--font-size-body) !important;
}

h1 {
    font-size: var(--font-size-h1) !important;
}

h2 {
    font-size: var(--font-size-h2) !important;
}

h3 {
    font-size: var(--font-size-h3) !important;
}

h4 {
    font-size: var(--font-size-h4) !important;
}

input.form-control {
    /*border: 1px solid #949494;*/
    /*height: 40px !important;*/
}

/* HEADER STYLES */
.headerLogoMain {
    width: auto;
    height: 40px;
    padding-left: 15px;
}

.headerTitleMain {
    padding: var(--padding-default);
    margin: 0;
    color: var(--white) !important;
    display: inline;
    vertical-align: middle;
    top: 2px;
    position: relative;
    font-weight: normal !important;
}

/* Styles for very small devices */
@media (max-width: 325px) {
    .headerTitleMain {
        font-size: 13px !important;
    }

    .headerLogoMain {
        display: none;
    }

    .headerTitleMain {
        padding-left: var(--padding-small) !important;
    }
}

/* Styles for devices like older iPhones in portrait */
@media (min-width: 326px) and (max-width: 375px) {
    .headerTitleMain {
        font-size: 14px !important;
    }

    .headerLogoMain {
        display: none;
    }

    .headerTitleMain {
        padding-left: var(--padding-small) !important;
    }
}

/* Styles for devices slightly larger than typical mobile sizes */
@media (min-width: 376px) and (max-width: 400px) {
    .headerTitleMain {
        font-size: 15px !important;
    }

    .headerLogoMain {
        display: none;
    }

    .headerTitleMain {
        padding-left: var(--padding-small) !important;
    }
}

/* Styles for most mobile phones in portrait mode */
@media (min-width: 401px) and (max-width: 430px) {
    .headerTitleMain {
        font-size: 16px !important;
    }

    .headerLogoMain {
        display: none;
    }

    .headerTitleMain {
        padding-left: var(--padding-small) !important;
    }
}

/* Styles for larger mobile phones or small tablets in portrait */
@media (min-width: 431px) and (max-width: 540px) {
    .headerTitleMain {
        font-size: 18px !important;
    }
}

@media (min-width: 1200px) {
    .navbar-right {
        padding-top: 12px;
    }
}

.my-navbar {
    background-color: var(--navy);
    margin-bottom: 0;
    border: 0;
    box-shadow: 0px 0px 10px 0px rgba(57, 63, 72, 0.75);
}

.my-navbar a {
    color: var(--white);
    text-decoration: none !important;
}

.mobile-button-nav-wrapper {
    display: flex;
    float: right;
    align-items: center;
    padding-top: var(--padding-small);
    padding-right: var(--padding-small);
}

.no-margin-right {
    margin-right: 0 !important;
}

.curved-corner {
    border-radius: var(--border-radius);
}


li.weblink:focus {
    background-color: transparent;
    transition: border-bottom 0.2s, background-image 0.5s;
}

.weblink a:focus {
    color: var(--white);
    background-color: transparent !important;
}

li.dropdown:focus {
    border-bottom-style: var(--border-style);
    border-bottom-color: var(--default-border-color);
    border-bottom-width: var(--border-width);
    background-color: transparent;
    transition: border-bottom 0.2s, background-image 0.5s;
}

.dropdown a:focus {
    color: var(--white);
    background-color: transparent !important;
}

li.weblink:hover {
    border-bottom-style: var(--border-style);
    border-bottom-color: var(--default-border-color);
    border-bottom-width: var(--border-width);
    background-color: transparent;
    transition: border-bottom 0.2s, background-image 0.5s;
}

.weblink a:hover {
    color: var(--white);
    background-color: transparent !important;
}

li.dropdown:hover {
    border-bottom-style: var(--border-style);
    border-bottom-color: var(--default-border-color);
    border-bottom-width: var(--border-width);
    background-color: transparent;
    transition: border-bottom 0.2s, background-image 0.5s;
}

.dropdown a:hover {
    color: var(--white);
    background-color: transparent !important;
}

.nav>.open>a {
    background-color: transparent !important;
    color: var(--white);
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    background-color: transparent !important;
    color: var(--white);
}

/*Utility Generics*/
.no-side-padding {
    padding-left: 0;
    padding-right: 0;
}

.centre-align-text {
    text-align: center;
}

.white-font-color {
    color: var(--white) !important;
}

/*LHS MENU*/
/* Add styles specific to the 'progress' list */
.progress.list-group.left {
    list-style-type: none;
    counter-reset: step;
    /* initialize counter for list */
    margin-top: 0px;
    background-color: transparent !important;
    box-shadow: none !important;
    margin-left: -15px;
}

.progress .list-group-item {
    background-color: transparent !important;
    border: 0 !important;
    padding-top: 0 !important;
    padding-left: 35px !important;
}

.progress .glyphicon-ok {
    display: none;
}

.progress.list-group.left .list-group-item {
    position: relative;
    padding-left: 40px;
    /* adjust space for circle and line */
    margin-bottom: var(--margin-default);
    color: var(--text-color);
}

.progress.list-group.left .list-group-item:before {
    content: '';
    /* insert counter as content */
    counter-increment: step;
    /* increment counter */
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    /* size of circle */
    height: 24px;
    border: 2px solid var(--black);
    border-radius: 50%;
    background-color: var(--color-background-content-panel);
    text-align: center;
    line-height: 20px;
    /* center number vertically */
    color: var(--black);
}

/* Draw line connecting circles */
.progress.list-group.left .list-group-item:after {
    content: '';
    position: absolute;
    left: 12px;
    /* center line with circle */
    top: 24px;
    width: 2px;
    height: 100%;
    background-color: var(--grey2);
}

/* Remove last connecting line */
.progress.list-group.left .list-group-item:last-child:after {
    content: none;
}

/* Customize circle colors based on 'list-group-item' class */
.progress.list-group.left .list-group-item.active:before {
    border-color: var(--lightgreen);
    /* blue for active */
    /*background-color: var(--brightblue);*/
    color: var(--white);
}

.progress.list-group.left .list-group-item.incomplete:before {
    border-color: var(--grey1);
    /* grey for incomplete */
}

.progress.list-group.left .list-group-item.text-muted.list-group-item-success {
    /*font-weight: 600;*/
    color: var(--text-color);
}

.progress.list-group.left .list-group-item.text-muted.list-group-item-success:before {
    border-color: var(--lightgreen);
    background-color: var(--lightgreen);
    color: var(--white);
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    z-index: 0 !important;
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--black) !important;
    font-weight: 600;
}

/*SUBHEADER STYLES*/
.my-sub-header {
    background-color: var(--darkgreen);
}

.breadcrumb {
    padding: var(--padding-default) 0;
    margin-bottom: 0;
    list-style: none;
    color: var(--white);
    height: 62px;
    align-items: center;
    display: flex;
}

.my-breadcrumb>li+li::before {
    content: "»" !important;
    padding: 0 var(--padding-small);
    color: #d1d1d1 !important;
}

.my-breadcrumb>li a {
    color: var(--white) !important;
    font-size: inherit;
}

.my-breadcrumb>.active {
    color: var(--white) !important;
    font-weight: normal !important;
}

/* FOOTER STYLES */
.footer {
    margin-top: auto;
    background: var(--lightgrey);
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--padding-default);
    padding-right: var(--padding-default);
    line-height: 60px;
    bottom: 0;
    left: 0;
    right: 0
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.footer-links li {
    display: inline-block;
    margin-right: var(--margin-default);
    vertical-align: middle;
}

.footer-links li:last-child {
    margin-right: 0;
}

/* ACCORDIAN STYLES */
.my-panel {
    border-radius: var(--border-radius);
    margin-bottom: var(--margin-default);
    margin-top: var(--margin-default);
}

.my-panel-heading-secondary {
    color: var(--white);
    padding: var(--padding-default);
    background-color: var(--accordion);
    border-radius: var(--border-radius);
    position: relative;
}

.my-panel-heading {
    color: var(--white);
    padding: var(--padding-default);
    background-color: var(--accordion);
    border-radius: var(--border-radius);
    position: relative;
    /* make it look like a clickable*/
    cursor: pointer;
}

.my-opened-panel {
    background-color: var(--accordion);
}

.my-panel-title {
    margin: 0;
    font-weight: bold;
    font-size: var(--font-size-body);
    color: var(--white);
}

.my-panel-body {
    padding-top: var(--padding-default);
    padding-bottom: var(--padding-default);
    transition: all .35s;
}

.my-panel-heading:after {
    content: '\276F';
    font-weight: bold;
    /* right arrow */
    position: absolute;
    right: var(--padding-default);
    top: 50%;
    transform: translateY(-50%);
}

.my-opened-panel:after {
    /* down arrow */
    content: '\276F';
    transform: rotate(90deg);
    top: 1.3em;
}

.my-hover {
    filter: brightness(150%);
}

/* ALERT STYLES */
.alert {
    /*border-radius: var(--border-radius) !important;
    border-style: var(--border-style) !important;
    border-width: var(--border-width) !important;
    border-color: var(--alert-border-color) !important;
    background-color: var(--lightgreen) !important;
    margin-bottom: var(--margin-default) !important;*/

    margin: 0 auto;
    /* Centering Stuff */
    background-color: #FFFFFF;
    /* Default background */
    padding: 15px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.alert-info {
    border-left-color: var(--lightgreen);
    background-color: rgba(30, 190, 145, 0.1);
    color: var(--text-color);
}

.alert-info strong {
    /*color: var(--darkgreen);*/
}

.alert-danger {
    border-left-color: #f0ad4e;
    background-color: rgba(240, 173, 78, 0.1);
    color: var(--text-color);
}

.alert-error {
    border-left-color: #f04e4e;
    background-color: #f5c6cb;
    color: var(--text-color);
}

.alert-question {
    border-left-color: var(--brightblue);
    background-color: rgba(0, 120, 210, 0.1);
    color: var(--text-color);
}

.alert-warning {
    /*border-left-color: rgb(143, 174, 242);
    background-color: rgba(143, 174, 242, 0.1);*/
    color: var(--text-color);
}

.alert-danger strong {
    /*color: var(--darkgreen);*/
}

/* Graph */
.graph-wrapper {
    border-radius: var(--border-radius) !important;
    border-style: var(--border-style) !important;
    border-width: var(--border-width) !important;
    border-color: var(--default-border-color) !important;
    background-color: var(--color-background-content-panel);
}

/* NON DATA TABLES */
.table-striped tbody tr:nth-child(even) {
    background-color: var(--grey1) !important;
}

.table-striped thead {
    background-color: var(--grey1) !important;
}

.table>thead>tr>th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.view-grid>table>thead>tr>th>a {
    color: var(--black);
    font-weight: bold;
}

.sort-enabled>a:not(.btn) {
    text-decoration: none !important;
}

.view-grid>table>tbody>tr>td {
    vertical-align: middle;
}

/* DASHBOARD DATA TABLES */
.my-table-striped tbody tr:nth-child(even) {
    background-color: var(--grey1);
}

.my-table-striped thead {
    background-color: var(--grey1);
}

.my-panel-body .dataTables_wrapper {
    border-radius: var(--border-radius);
    border-style: var(--border-style);
    border-width: var(--border-width);
    border-color: var(--default-border-color);
    padding: var(--padding-default);
    overflow-x: auto;
    background-color: var(--color-background-content-panel);
}

.right-aligned {
    text-align: right;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: var(--padding-small) var(--padding-default);
}

/*Footer FIX*/
#liquid_form {
    /*min-height: calc(100% - 126px);*/
    /*min-height: 100% !important; 
    margin-bottom: 0px;*/
}

.wrapper-body {
    /*min-height: calc(100% - 126px) !important;*/
    /*min-height: 100% !important;
    margin-bottom: 0px;*/
}

/*Seperate Paneling*/
.subsection-panel {
    border-radius: var(--border-radius);
    border-style: var(--border-style);
    border-width: var(--border-width);
    border-color: var(--default-border-color);
    padding: var(--padding-default);
    background-color: var(--color-background-content-panel);
}

/*Non form/dashboard primary content panels, ie Account Registration etc*/
.primary-content-panel {
    margin: 16px;
    padding: var(--padding-default);
    border-radius: var(--border-radius) !important;
    border-style: var(--border-style) !important;
    border-color: var(--default-border-color) !important;
    border-width: var(--border-width) !important;
    background-color: var(--color-background-content-panel) !important;
}

.margin-bottom {
    margin-bottom: var(--margin-section-break);
}

/*Application*/
#WebFormPanel {
    border-radius: var(--border-radius) !important;
    /*border-style: var(--border-style) !important;*/
    border-color: var(--default-border-color) !important;
    border-width: var(--border-width) !important;
    background-color: var(--color-background-content-panel) !important;
    /*padding-top: 15px;*/
    padding-bottom: 15px;
}

h2,
.h2,
.section-landing .row>div .section-landing-sub-heading,
.page_section h2,
.color-inverse h2,
h2 p {
    font-weight: bold !important;
    color: var(--black) !important;
}

.crmEntityFormView .tab-title {
    border-bottom: none;
    margin-bottom: 25px;
    /*var(--margin-default);*/
    margin-top: 12px;
}

.info label.field-label {
    font-weight: bold !important;
    font-size: var(--font-size-h4) !important;
    margin-top: var(--margin-default) !important;
    color: #4c4c4c !important;
}

.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
    border: 0 !important;
}

html[dir="ltr"] .crmEntityFormView .cell.crmquickform-cell:first-child {
    border-right: 0 !important;
}

/* Add right margin to every button except the last one */
.input-group-btn .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group-btn .btn:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.form-control {
    /*height: 40px !important;*/
    margin-bottom: var(--margin-default);
    border-radius: var(--border-radius);
    font-size: var(--font-size-body) !important;
}

.form-control[type=email] {
    height: 40px !important;
}

select.form-control {
    height: 40px !important;
}

.below {
    margin-top: var(--margin-default) !important;
}

.actions .col-sm-6 {
    padding-left: 0;
}

/* the style overlay of the dropdowns in applications
.clearfix.cell.picklist-cell .control::before {
    content: '\276F';
    color: #fff;
    position: absolute;
    right: 16px;
    background-color: var(--grey3);
    padding: 10px 16px;
    height: 40px;
    line-height: normal;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    pointer-events: none;
    z-index: 2;
    transform: rotate(90deg);
    font-weight: bold;
}*/

/*Homepage*/
h1>p {
    font-weight: bold !important;
}

.home-wrapper {
    border-radius: var(--border-radius) !important;
    border-style: var(--border-style) !important;
    border-color: var(--default-border-color) !important;
    border-width: var(--border-width) !important;
    margin: var(--margin-default);
    padding: var(--padding-default);
    background-color: var(--color-background-content-panel);
}

.signin-register-button-wrapper {
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    min-width: 50px;
    width: fit-content;
}

/* This is only needed for the power pages private mode, which is likley just development only*/
.private-mode-signin-text>b>u>a {
    color: var(--white) !important;
}

.private-mode-text>u>a {
    color: var(--white) !important;
}

/* Specific/unique alignment fixes */

/* Personnel Table */
.view-grid table td[data-attribute='mers_yearsofexperience'] {
    text-align: right;
}


/* Previous MERSPortalStyle.css */
/* ---------------------------- */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVV */


.social-icons,
.logo-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.social-icons li,
.logo-icons li {
    margin-right: 18px;
    list-style: none
}

.social-icons li:last-child,
.logo-icons li:last-child {
    margin-right: 0
}

.social-icons a,
.logo-icons a {
    display: block
}

.social-icons img {
    height: 26px;
    width: auto;
}

.borderAfterLogo {
    padding: 0;
    border-right: 2px solid #eee;
    color: #fff;
    padding: 10px;
}

.headerLogo {
    width: auto;
    height: 40px;
    margin: 0 10px;
}

.headerTitle {
    font-size: 26px !important;
    padding: 10px;
}

.view-grid>table>thead>tr>th>a {
    color: var(--portalThemeColor7);
    font-size: 1em;
}

.panel-default>.panel-body,
.list-group-item {
    display: flex;
}


#EntityFormView .btn-info {

    background-color: #1ebe91;
    border-color: #1ebe91;
    border-radius: 2px;
    font-family: Arial;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 20px;
    width: fit-content;
    border-style: solid;
    color: #fff !important;

}

#EntityFormView .btn-info:hover {
    color: #d8d7df;
    background-color: #faa634;
    border-color: #faa634;
}

#EntityFormView .btn-info:active,
#EntityFormView .btn-info.active {
    color: #141e3c;
    background-color: #faa634;
    border-color: #faa634;
}

/* subgrid header background */

div>div>div>div.view-grid>table>thead {
    background-color: var(--grey1);
}

.crmEntityFormView fieldset[aria-label="System Values"] {
    margin-bottom: 0px;
    display: none;
}

/* Multi Step Form Ends*/
/* ------------------------------------------------------------------------------------*/


/* Print Css */

.printDiv fieldset[aria-label="System Values"] {

    display: none;
}

.printDiv .section {
    table-layout: fixed;
    width: 100%;
}

.printDiv .actions,
.printDiv .mtr-cancel-button,
.printDiv #antAddBtn,
.printDiv .mtr-left-container,
.printDiv .mtr-controls-container,
.printDiv .mtr-right-container {

    display: none;
}

/* Print Css Ends*/

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.btn-link {
    font-weight: 400;
    color: #00826e;
    background-color: transparent;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-header .btn-link {
    width: 100%;
    text-align: left;
}

.card-header .btn-link:hover,
.card-header .btn-link:focus {
    color: #1ebe91;
    text-decoration: underline;
    background-color: transparent;
}

.card-header .btn:focus,
.card-header .btn.focus,
.card-header .btn:active:focus,
.card-header .btn:active.focus,
.card-header .btn.active:focus,
.card-header .btn.active.focus {
    outline: none;
    outline-offset: -2px;
}

.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 1.1px;
    margin-top: 30px;
    background: conic-gradient(#0000 10%, #00826E) content-box;
    -webkit-mask: repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
        radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 calc(100% - 9px));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: spinner-d55elj 1s infinite steps(10);
}

@keyframes spinner-d55elj {
    to {
        transform: rotate(1turn);
    }
}

.private-mode-banner {
    display: none;
}

/* File Uploader Styles */

.file-upload-container {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 10px;
}

.file-upload-container.highlight {
    border-color: black;
}

.file-table {
    margin-top: 1.5em;
}

.file-upload-container .upload-icon {
    width: 100%;
    height: 50px;
    fill: black;
    display: none;
    margin-bottom: 20px;
}

.file-upload-container .upload-button {
    margin-bottom: 7px;
    margin-top: 4px;
}

.file-upload-container .formats {
    margin-top: 10px;
    margin-bottom: 10px;
    color: gray;
    display: none;
}

.file-upload-help {
    margin-bottom: 10px;
}

.file-upload-container .upload-status {
    color: gray;
}

.file-upload-expand-link {
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px dotted #393939;
    text-decoration: none;
}

textarea {

    resize: vertical;
}

.popover {
    max-width: 600px;
}

.table>thead>tr>th:first-child {
    /*width: 50% !important;*/
}

.table thead tr th a {
    font-weight: bold
}

.inside-iframe-body {
    background-color: #ffffff !important
}

html[dir=ltr] .crmEntityFormView .cell input[type=text],
html[dir=ltr] .crmEntityFormView .cell select,
html[dir=ltr] .crmEntityFormView .cell textarea {
    float: none !important;
}

.crmEntityFormView .actions {
    border-top: none !important;
    margin: 0px !important;
    padding: 0px !important;
}

.modal-form .modal-body iframe {
    width: 100%;
    border: none;
    height: 600px;
}

.columnBlockLayout {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 16px;
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    padding: 7px 20px !important;
    border: 0px !important;
    background-color: var(--grey1);
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    padding: 7px 20px !important;
    text-decoration: none;
    color: #262626;
    background-color: var(--grey1) !important;
}

.dropdown-menu>li>a {
    display: block;
    padding: 7px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857;
    color: #333;
    white-space: nowrap;
    font-style: normal;
    text-decoration: none !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0px 0 !important;
    /* margin: 2px 0 0; */
    list-style: none;
    font-size: 15px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ccc;
    /* border: 1px solid rgba(0, 0, 0, .15); */
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    /* box-shadow: 0 6px 12px rgba(0, 0, 0, .175); */
    background-clip: padding-box;
}

.grid-actions {
    border-bottom: 0px !important;
    margin-bottom: 9px;
    padding-bottom: 9px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: var(--lightgreen) !important;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    z-index: 3;
    color: #fff;
    background-color: #232222;
    border-color: var(--darkgreen) !important;
    cursor: default;
}

.mainSeparator {
    margin-top: 15px;
    margin-right: 0px;
    background-color: var(--lightgreen);
    border-color: var(--lightgreen);
    height: 4px;
}

html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio] {
    margin: 2px 5px 5px 10px;
    accent-color: var(--darkgreen);
}

.flex-wrapper {
    display: flex;
    min-height: calc(100vh - 60px);
    ;
    flex-direction: column;
    justify-content: space-between;
}

.entity-associate .selected-records .item:hover {
    background-color: gray !important;
    cursor: default;
}

.control .input-group .form-control.lookup {
    /*height: 40px !important;*/
    float: none;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child>.btn,
.input-group-btn:first-child>.btn-group>.btn,
.input-group-btn:first-child>.dropdown-toggle,
.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child>.btn-group:not(:last-child)>.btn {
    height: 40px !important;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

html[dir=ltr] .crmEntityFormView .cell input[type=text] {
    float: none !important;
    height: 40px !important;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group>.btn,
.input-group-btn:last-child>.dropdown-toggle,
.input-group-btn:first-child>.btn:not(:first-child),
.input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    height: 40px !important;
}

html[dir=ltr] .crmEntityFormView .cell .field-label {
    float: none !important;
}

html[dir=ltr] .crmEntityFormView .cell div.info div.validators {
    margin: 0 0 0 3px;
    float: none !important;
    /* display: inline-block !important;    */
    display: none !important;
}

.entity-grid .message {
    /* display: none; */
    margin: 0px 0 20px 0 !important;
}

table.dataTable tr.dtrg-start td {
    font-weight: bold;
    background-color: #e0e0e0;
}

table.dataTable tr.dtrg-end td {
    border-top: rgba(0, 0, 0, 0.3) 1px solid;
    font-weight: bold;
}

.royalty-return-footer {
    background-color: #e0e0e0;
    border-top: #000000 2px solid;
    font-weight: bold;
}

.royalty-return-group-title {
    cursor: pointer;
    border-bottom: 1px dotted #000;
    text-decoration: none;
}

.required-field:after {
    content: ' *';
    color: #a94442;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #000
    }

    33% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #0002
    }

    100% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #000
    }
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 14px;
}

.table-empty-message {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding-bottom: 8px;
}

.crmEntityFormView .section-title {
    border-bottom-width: 0;
    margin-bottom: 15px !important;
}

input[type='radio'] {
    accent-color: #00826E;
}

table.dataTable tfoot th:not(:first-child) {
    text-align: right !important;
}

.btn:hover {
    background-color: var(--darkgreen) !important;
    color: white !important;
    text-decoration: none !important;
}

.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    background: 0 0;
    /* border: none; */
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    cursor: auto;
    /* padding-left: 0; */
    /* padding-right: 0; */
}

.error-download {
    margin-top: 10px;
}

input.query.form-control {
    border-radius: 0 !important;
    width: 228px;
    height: 40px;
    color: rgb(42, 44, 46);
    padding: 10px;
    gap: 10px;
    border: var(--portalThemeColor1) 1px solid !important;
    font-size: 15px;
    margin-right: 0 !important;
}

.dataTables_wrapper {
    margin-bottom: 10px;
}

.cke_reset {
    margin-bottom: -10px;
}

.input-group {
    margin-bottom: 10px;
}

.MscrmControls\.RichTextEditor\.RichTextEditorControl {
    margin-bottom: 10px;
}

/*css to move footer to bottom of page even when page content is short */
html,
body {
    height: 100%;
    margin: 0;
}

.container {
    flex: 1;
}

.crmEntityFormView table.table td:first-child {
    padding: 4px !important;
}

table.dataTable.compact thead th,
table.dataTable.compact thead td,
table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td,
table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
    padding: 4px !important;
}

/* Print styles */
@media print {
    /* Hide the left nav panel */    
    div[id*="_ProgressIndicator"]{ 
        display: none !important; 
    }

    .mersFormContainer,
    .container,
    .flex-wrapper {
        width: 100% !important;
        margin: 0 auto !important;
    }

    body {
        background: white;
        color: black;
    }

    .no-print {
        display: none !important;
        /* Hide this element when printing */
    }

    .print-only {
        display: block !important;
        /* Show this only when printing */
    }

    #Subgrid_activeoutcomes table {
        transform: scale(0.85);           /* Scale table to 85% size */
        transform-origin: top left;       /* Keep aligned at top left */
        width: auto;                      /* Let table size itself */
    }
    
}



.even .mers-table-card {
    border: 1px solid #ffffff;
    padding: 1rem;
    border-radius: 4px;
    /* background-color: #f9f9f9; */
}

.mers-table-card {
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 4px;
    /*background-color: #f9f9f9;*/
}

.mers-table-card .card-field {
    margin-bottom: 0.5rem;
}

.mers-table-card .card-label {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.mers-table-card .card-value {
    margin-left: 0.5rem;
}