@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

.static-top.navbar .menu-bar>.navbar-nav>li>a {
    font-family: 'Source Sans Pro',Segoe UI, "Segoe UI Web (West European)", -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif !important;
}

.static-top.navbar-dark {
    background-color: #0053a2 !important;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a {
    padding-top: 1px;
}

.form-control {
    border: lightgray 1px solid !important;
    border-bottom: 1px solid !important;
}


*:not(.fa):not(.fas):not(.far):not(.material-icons):not([class*="icon-"]):not(.fa-solid ):not(.ofac-footer-logo):not(h1.ofac-h1):not(.sub-header-ofac .left a){
    font-family: 'Source Sans Pro' !important;
}

@media (max-width: 1200px) {
    .static-top .navbar-brand {
        position: initial;
        height: auto !important;
    }
}

.form-select.picklist{
    /* width: fit-content !important; */
    min-width: 300px;
}

.form-select.picklist.readonly-ofac{
    background-image: none;
}

.crmEntityFormView,
.entitylist {
    border: none !important;
}

.crmEntityFormView .cell {
    padding: 0 5px 0 0 !important;
}

input[type='text'],
input[type='email'] {
    height: 32px;
    border: lightgray 1px solid;
    border-bottom: 1px solid;
}

select,
.msos-container {
    border-radius: 4px !important;
}

textarea,
select,
.msos-container {
    border: lightgray 1px solid !important;
    border-bottom: 1px solid #2a2c2e !important;
}

textarea:focus {
    border: lightgray 1px solid !important;
}

.validation-summary a {
    color: #842029 !important;
}

.crmEntityFormView .validation-summary h2 {
    color: #842029 !important;
}

.crmEntityFormView .tab-title {
    /* border-bottom: 1px solid #005CB9 !important; */
    /* border-bottom: 1px solid #ddd !important;s */
    /* padding-bottom: 5px; */
    border-bottom: 0;
    margin-bottom: 0;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 33px !important;
}

#EntityFormView{
    padding-left: 15px !important;
}

/* .entity-form > div:not(.instructions-container) {
    padding-left: 15px !important;
} */

.actions{
    padding-left: 15px !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: 'Source Sans Pro', sans-serif !important;
}

button, input, optgroup, select, textarea{
    font-family: 'Source Sans Pro', sans-serif !important;
}

legend.section-title h3{
    font-family: 'Source Sans Pro', sans-serif !important;
    /* font-size: 33px !important; */
    font-weight: bold !important;
}

.crmEntityFormView td.cell {
    vertical-align: bottom !important;
}

.form-select {
    height: 32px !important;
    padding: .375rem 2.25rem 0.25rem .75rem !important;
    line-height: 1.3 !important;
    width: 300px;
}

.input-group-addon,
.clearlookupfield,
.launchentitylookup,
.MultiSelectPicklist {
    border-radius: 0 4px 4px 0 !important;
    height: 32px !important;
    left: -3px !important;
}


input[type='text']:not(.msos-container),
input[type='email'],
select {
    height: 32px;
    border: lightgray 1px solid !important;
    border-bottom: 1px solid !important;
}


/* HEADER START */
.top-bar {
    background-color: #f0f0f0;
    padding: 5px 40px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar img {
    height: 14px;
    margin-right: 5px;
}

.top-bar a {
    color: #005293;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    margin-left: 7px;
}

.header-ofac {
    background-color: #005293;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
}

.header-ofac img {
    height: 30px;
    padding-right: 10px;
}

.header-ofac .title a {
    color: white;
    font-weight: 600 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 12px !important;
}

.header-ofac .title a:hover {
    color: white !important;
    text-decoration: underline !important;
}


.header-ofac .news a {
    color: #F8E71C;
    font-size: 12px !important;
    font-weight: bold;
}

.header-ofac .news a:hover {
    color: #F8E71C !important;
    text-decoration: underline !important;
}

.sub-header-ofac {
    background-color: #1c2936;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-header-ofac .left {
    color: white;
    font-size: 30px !important;
    font-weight: 300; 
    font-family: Merriweather,'Source Sans Pro', serif !important;
}

.sub-header-ofac .right {
    color: white;
    font-size: 14px !important;
    font-weight: normal !important;
    text-align: right;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.footer-ofac {
    background-color: #083C6F;
    padding: 10px 40px;
    text-align: right;
}

.footer-ofac a:hover {
    text-decoration: underline !important;
    color: white !important;
}

.footer-ofac a {
    font-family: 'Source Sans Pro', sans-serif !important;
    color: white;
    /* font-weight: bold; */
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold;
}

/* HEADER END */


.breadcrumbs {
    background-color: #f5f5f5;
    padding: 10px 40px;
    font-size: 14px;
}

.breadcrumb {
    display: flex !important;
    list-style: none!important;
    padding: 0!important;
    margin: 0!important;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.breadcrumb-item a {
    color: #005EA2!important;
    text-decoration: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    
}

.breadcrumb-item{
  text-underline-offset: 3px;
  text-decoration: underline !important;
}


.breadcrumb-item.active {
    color: #005EA2 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\203A" !important;
    color: grey !important;
}

h1.ofac-h1{
    color: black !important;
    font-family: Merriweather,'Source Sans Pro', serif !important;
    font-size: 40px !important;
    font-weight: 300 !important;
    padding-bottom: 10px;
}

.list-group-item.active{
    background-color: #005ea2 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.list-group-item{
   font-size: 20px !important;
    color: #1b1b1b;
}

input, select {
    margin-top: 10px;
    margin-bottom: 20px;
}

td.boolean-radio-cell .control{
    margin-top: 30px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: blue!important;
    outline: 0!important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(0,123,255,0.7)!important;
}

html[dir=ltr] .crmEntityFormView .cell .field-label{
    font-family: 'Source Sans Pro', sans-serif !important;
}

.instructions-container {
    margin-top: 30px;
    border-bottom: 2px solid #f2f2f2; /* Adds the grey line */
    margin-bottom: 16px; /* Spacing between sections */
    width: 100%; /* Ensures it spans full width */
}

.picklist-cell .control{
    width: 100%;
    margin-top: 30px;
}

.input-group-addon.btn{
    margin: 10px !important;
}

html[dir=ltr] .crmEntityFormView .cell .picklist input[type=radio] {
    padding: 1500px !important;
    margin-top: 7px;
}

 body{
    display: block !important;
}
.toolbar-actions{
 float: left !important;   
}


.btn-primary:not(.create-action), #NextButton {
    background-color: #005EA2; /* Default state */
    color: #FFFFFF; /* Text color */
    border: none;
    /* padding: 10px 20px; */
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 120px;
}

/* Hover state */
.btn-primary:not(.create-action):hover, #NextButton:hover {
    background-color: #1A4480;
}

/* Active state */
.btn-primary:not(.create-action):active, #NextButton:active {
    background-color: #162E51;
}

/* Focus state */
.btn-primary:not(.create-action):focus, #NextButton:focus {
    background-color: #005EA2;
    outline: 2px solid #0076D6; /* Focus ring */
    outline-offset: 2px;
}

/* Disabled state */
.btn-primary:not(.create-action):disabled, #NextButton:disabled {
    background-color: #CCCCCC; /* Disabled gray, adjust as needed */
    color: #666666; /* Disabled text color */
    cursor: not-allowed;
}


.btn-default, #PreviousButton, .create-action {
    --create-btn-bg: #FFFFFF;
    --create-btn-color: #005EA2;
    background-color: #FFFFFF !important; /* Default state */
    color: #005EA2; /* Text color */
    /* border: 2px solid !important; */
    border-color: #005EA2 !important;
    /* padding: 10px 20px; */
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 120px;
    font-weight: bold !important;
}

#PreviousButton{
    height: 36px !important;
}
.create-action{
    color: #005EA2 !important;
    font-size: 16px !important;
}

/* Hover state */
.btn-default:hover, #PreviousButton:hover, .create-action:hover {
    --create-btn-bg: #1A4480;
    --create-btn-color: #FFFFFF;
    background-color: #1A4480 !important;
     border-color: #1A4480 !important;
    color: #FFFFFF !important;
}

/* Active state */
.btn-default:active, #PreviousButton:active, .create-action:active {
    --create-btn-bg: #162E51;
    --create-btn-color: #FFFFFF;
    background-color: #162E51 !important;
    border-color: #162E51 !important;
    color: #FFFFFF !important;
}

/* Focus state */
.btn-default:focus, #PreviousButton:focus, .create-action:focus {
    --create-btn-bg: #FFFFFF;
    --create-btn-color: #005EA2;
    background-color: #FFFFFF !important;
    color: #005EA2 !important;
    outline: 2px solid #0076D6 !important; /* Focus ring */
    outline-offset: 2px !important;
}

/* Disabled state */
.btn-default:disabled, #NextButton:disabled, .create-action.disabled {
    --create-btn-bg: #CCCCCC;
    --create-btn-color: #FFFFFF;
    background-color: #CCCCCC !important; /* Disabled gray, adjust as needed */
    color: #FFFFFF !important; /* Disabled text color */
    cursor: not-allowed !important;
     border-color: #CCCCCC !important;
}

.create-action:before{
    content: "+";
    display: inline-block !important;
    width: 16px;
    height: 16px;
    background-color: var(--create-btn-color) !important;
    color: var(--create-btn-bg) !important;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    margin-right: 5px;
}
.entity-grid .table thead th,
.view-grid .table thead th,
div.table-responsive > table.table thead th {
color: #000 !important; /* Make header text black */
}
.entity-grid .table thead th a,
.view-grid .table thead th a,
div.table-responsive > table.table thead th a {
color: #000 !important;
text-decoration: none !important;
}
/* Sort icons (if present) */
.entity-grid .table thead th i,
.view-grid .table thead th i {
color: #000 !important;
}
