/*updates font-size of any a tag that is in a p tag */
p > a {
    font-size: 20px;
}
/*updates font-size of any a tag that is in th and td tags */
th > a {
    font-size: 16px;
}

td > a {
    font-size: inherit;
}

/*adds padding-left to empty table message info */
.view-empty.message {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0px;
}

/*OSFI Form Styling web template components below*/

.text.form-control, .textarea.form-control{
    width:100%;
}

/*transparent borders*/
.crmEntityFormView h2.tab-title, div.crmEntityFormView, .crmEntityFormView div.actions{
    border-color: transparent;
}

/*align submit button to the right*/
.submit-btn.btn.btn-primary.form-action-container-left{
    float:right;
}

/*remove the right hand border for quick view forms*/
.clearfix.cell.crmquickform-cell{
    border-right: none !important;
}

/*title of the modal to be solid white*/
section>div>div>div.modal-header{
    background:white;
}

.crmEntityFormView .form-control.readonly, .crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control{
    padding-left:10px;
    padding-right:10px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #333!important;
    font-size: 0.7em;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 7px;
}

.pagesBreadcrumb > li + li:before {
    font-family: 'Glyphicons Halflings'; /* Ensure Glyphicons font is used */
    content: "\e080"!important; /* Unicode for glyphicon-chevron-right */
    color: "#333"!important;
}

.breadcrumb>li+li:before {
    padding: 0px !important;
    margin-right: 7px;
}

.breadcrumb > li a {
    padding: 0px !important;
}

.pagesBreadcrumb {
    padding: 0px !important;
}

.anchor-inherit-styles {
    margin-left: 0px !important;
}

/* Default link color */
.pagesBreadcrumb .anchor-inherit-styles {
    color: #284162 !important;
}

/* Selected link color (on hover or focus) */
.pagesBreadcrumb .anchor-inherit-styles:hover,
.pagesBreadcrumb .anchor-inherit-styles:focus {
    color: #0535d2 !important;
}

/* Visited link color */
.pagesBreadcrumb .anchor-inherit-styles:visited, td > a:visited {
    color: #7532B8 !important;
}

td, .crmEntityFormView label,.list-group-item.incomplete, .alert-danger, .alert-info, .alert-success, .alert-warning, h1, h2, h3, h4, h5, h6, p {
  color: #333 !important;
}

.fa-info-circle:before {
    content: "" !important;
}

/* The overlay styles */
.loading-overlay {
    position: fixed; /* Fixes the overlay to the viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Use viewport width */
    height: 100vh; /* Use viewport height */
    background-color: rgba(255, 255, 0255, 0.7); /* Semi-transparent white background */
    display: flex; /* Use flexbox for centering content */
    justify-content: center; /* Center horizontally */
    align-items: center !important; /* Center vertically */
    z-index: 9999; /* Higher than most Bootstrap components like modals */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
    border-radius: 0; /* No rounded corners for full screen overlay */
}

.loading-overlay.show {
    opacity: 1; /* Fade in */
    visibility: visible; /* Make visible */
}

/* Spinner specifications */
.spinner-border {
    width: 5rem !important; /* Make spinner a bit larger */
    height: 5rem !important;
    color: #4D4D4D;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
    position: fixed;
    align-self: anchor-center;
    justify-self: anchor-center;
}

.progress {
    border-radius: 4px !important;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    background-color: #286090 !important;
    border-color: #286090 !important;
}

.list-group-item-success {
    background-color: #E6F6EC !important;
}

.fa-spinner:before {
    content: "\f1ce" !important;
    color: #4D4D4D;
}

.fa-4x {
    font-size: 5rem !important;
}

.file-info > .custom-button {
    height:3em;
}

.file-cell.cell {
    margin-top: 0.5em;
}

.ContainerForFile {
    margin-top: 1em;
}

input[type=checkbox] {
    transform: scale(2);
}

.checkbox-cell > .table-info.required{
    margin-left: 0.35em;
}

/*updates the position of the checkbox controls*/
#osfi_isauthorizedforsubmission {
    margin-top: 0.6em !important;
}

#osfi_isportaltermsaccepted {
    margin-top: 0.6em !important;
}

.crmEntityFormView .cell div.table-info.required label:after {
    color: #A62A1E !important;
}

td.clearfix.cell.checkbox-cell {
    padding: 0px !important;
}

.crmEntityFormView textarea.form-control.readonly {
    border: 1px solid #ccc !important;    
}

.textarea.form-control {
    resize: vertical;
    min-height: fit-content;
}