/*core*/
#mainContent{
    background-color: #f4f4f4;
}

.mpxFormHeader {
    width: auto;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    /*padding-bottom: 20px;*/
}

.mpxBackToGalleryListTemplate a{
    padding: 5px;
    font-weight: bold;
    text-decoration: underline;
}

.mpxBackToGalleryListTemplate {
    padding-left: 40px;;
}

.mpxFormContainer .field-label{
    font-size: 10pt;
}

.mpxFormContainer textarea{
    font-size: 10pt;
}

.mpxFormContainer input{
    font-size: 10pt;
}

.mpxFormContainer select{
    font-size: 10pt;
}

.mpxFormContainer .boolean-radio-cell{
    font-size: 10pt;
}

.mpxFormContainer .mpxFinalContractGrid .view-grid{
    overflow-x:visible;
}

.mpxFormContainer .subgrid-cell {
    border-top: 1px solid black;
    padding-top: 20px;
}

.mpxFormContainer .list-group-item.active{
    background-color: white;
    border-bottom: 3px solid black;
    color: black;
    border-top: none;
    border-left: none;
    border-right: none;
    text-decoration: underline;
}

.mpxFormContainer .list-group-item {
    background-color: white;
    color: black;
    border: none;
}

.mpxFormContainer .list-group-item .text-muted .list-group-item-success {
    background-color: white;
    color: black;
    border: none;
}

.mpxFormContainer .list-group-item .incomplete {
    background-color: white;
    color: black;
    border: none;
}

.mpxFormContainer .progress {
    margin-bottom: 0px;
    background-color: white;
    padding-top: 2px;
    font-size: 20px;
}

.mpxFormContainer ol.progress {
    font-size: 16px;
}

.mpxFormContainer .crmEntityFormView {
    padding-top: 15px;
}

.mpxFormContainer .form-readonly .entity-form .form-control.text [readonly="readonly"] {
    border: none !important;
}

.mpxFormContainer .entity-form .form-control.text {
    /*border: 1px solid #949494;*/
    border-radius: 10pt;
    height: 45px;
}



.mpxFormContainer .integer .form-control {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .text .form-control [readonly="readonly"] {
    border: none;    
}

.mpxFormContainer .form-control.readonly {
    border: none;    
}

.mpxFormContainer .integer .form-control.readonly {
    border: none;    
}

.mpxFormContainer .textarea.form-control.readonly {
    border: none;    
}



.mpxFormContainer .text .form-control input:focus {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .textarea .form-control {
    /*border: 1px solid #949494;*/
    border-radius: 10pt;
    height: 90px;
}



.mpxFormContainer .input-append .input-group .datetimepicker .input-group-addon {
    border: none;
}

.mpxFormContainer .form-control .input-text-box {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
}

/*
.mpxFormContainer .input-group .form-control:first-child {
    border-radius: 10pt;
    height: 45px;
}*/

.mpxFormContainer .input-append.input-group.datetimepicker .form-control.input-text-box{
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .input-group .form-control .lookup {
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .input-group-addon {
    border: none;
}

.mpxFormContainer .msos-container {
    border-radius: 10pt;
    min-height: 45px !important;
}

.mpxFormContainer .btn-group>.btn:first-child{
    border-radius: 10pt;
    height: 40px;
    min-width: 100px;
}

.mpxFormContainer .form-control:focus {
    border: 1px solid #949494 !important;
}

.mpxFormContainer .btn.btn-default.button.previous.previous-btn:hover{
    border-radius: 10pt;
    height: 40px;
    min-width: 100px;
    background-color: white;
    border-color:black;
    color: black;
}

.mpxFormContainer .btn.btn-default.btn-xs.aria-exp:hover {
    background-color: white;
    border-color:black;
    color: black;
}

.mpxFormContainer .btn-default {
    border-radius: 10pt;
    height: 40px;    
}

.mpxFormContainer .view-grid .btn-default {
    border-radius: 10pt;
    height: 30px;
    width: 40px;
}

.mpxFormContainer .btn-primary {
    border-radius: 10pt;
    height: 40px;    
}

.mpxFormContainer .section-title h3 {
    color: white;
    background-color: black;
    text-align: center;
    padding: 10px;
    margin-right: 15px;
    margin-left: 15px;
    font-size: 20px;
}


.mpxFormContainer .grid-actions a.btn-primary {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
    padding-top: 12px;
}

.mpxFormContainer .dropdown .action .btn-default input.btn-xs {
    border-radius: 10pt;
}

/*CSS for modal*/



.mpxFormContainer .modal-body input.form-control {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .modal-body #cr487_name {
    border: 1px solid #949494;
    border-radius: 10pt;
    height: 45px;
}

.mpxFormContainer .modal-header {
    background-color: black;
}

.mpxFormContainer .modal-title{
    color: white;
}

.mpxFormContainer button.form-close{
    color: white;
}

.mpxFormContainer button.form-close :hover{
    color: white;
}

.mpxFormContainer .modal-body {
    background-color: white;
    padding-bottom: 30px;
}


.mpxFormContainer .modal-body iframe .actions {
    border: none;
    padding-left: 10px;
}

.mpxFormContainer #EntityFormControl .actions input{
    border-radius: 10pt;
}

.mpxFormContainer .crmEntityFormView .actions{
    border: none;
    padding-left: 10px;
    padding-top: 0px;
}

.mpxFormContainer .crmEntityFormView .input-group .text.form-control.lookup {
    border-bottom-left-radius: 10pt;
    border-top-left-radius: 10pt;
    height: 45px;
} 

.mpxFormContainer .crmEntityFormView .btn.btn-default.launchentitylookup {
    height: 45px;
}

.mpxFormContainer .crmEntityFormView .btn.btn-default.clearlookupfield {
    height: 45px;
}

.mpxFormContainer .crmEntityFormView .form-control.picklist  {
    height: 45px;
    border-radius: 10pt;
}

.mpxFormContainer .crmEntityFormView .form-control.picklist {
    height: 45px;
    border-radius: 10pt;
}

.mpxFormContainer select {
    height: 45px;
    border-radius: 10pt;
}

.mpxFormContainer div.description.above {
    font-size: 18px;
    padding-bottom: 10px;
}

.mpxFormContainer .customControl .ui-radio label {
    font-size: 20px;
}

/*overwrite existing style due to button overlap issue */
.mpxFormContainer .mpxLiqDamages .view-grid{
    overflow-x: visible;  
    height: 260px !important;
}

.mpxFormContainer .mpxMPXPersonnel .view-grid{
    overflow-x: visible;  
    height: 260px !important;
} 

.mpxFormContainer .mpxCreditApplications{
    font-size: 10pt;
}

/*
.mpxFormContainer .view-grid.has-pagination{
    overflow-x: visible;
    height: 270px !important;
}
*/

/* TODO: look into adding this in the JS, add this depending on how many rows */
.mpxFormContainer .pagination{
    margin-top: 40px;
}

.mpxFormContainer .view-pagination{
    padding-top: 30px;
}


@media (max-width: 767px) {
    .mpxFormContainer .crmEntityFormView table.section {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .progress.list-group.top {
        display: none;
    }
}



.mpxFormContainer2 label#cr487_stopheretext_label {
    color: red;
}

.mpxFormContainer .msos-viewmode-text{
    white-space: break-spaces;
}

.mpxFormContainer .checkbox-cell{
    padding: 15px 0px 15px 20px !important;
}

.mpxFormContainer .checkbox-cell span.checkbox input[type=checkbox] {
    width: 20px;
    height: 20px;
}

.mpxFormContainer .checkbox-cell div.info {
    padding-top: 4px;
    padding-left: 30px !important;
}

.mpxFormContainer .drawCanvas {
    height: 300px !important;
    border: 1px solid darkgray;
}

.mpxFormContainer .container .columnBlockLayout{
    margin-top: 0px !important;
}

.mpxFormContainer .day.disabled > button {
    text-decoration: line-through;
    cursor: not-allowed;
    color: lightgrey;
 }

 .mpxFormContainer .form-action-container-left{
    padding-left: 10px;
 }

 .mpxListContainer{
    font-size: 10pt;
 }

 .mpxListContainer a{
    font-size: 10pt;
 }

.mpxListContainer .btn-primary {
    border-radius: 10pt;    
    min-width: 100px;
}

.mpxListContainer .toolbar-actions {
    padding-top: 10px;
    padding-right: 10px;
}

.mpxListContainer .input-group .form-control:first-child {
    border: 1px solid #949494;    
    width: 200px;
    border-bottom-left-radius: 10pt;
    border-top-left-radius: 10px;
}

.mpxListContainer [title="Search Results"] {
    border-radius: 10pt;
}

.mpxListContainer .btn.btn-default.btn-xs.aria-exp:hover{
    background-color: white;
    border-color:black;
    color: black;
}

.mpxListContainer .btn-default:not(.gjs-selected):hover{
    background-color: white;
    border-color:black;
    color: black;
}

.mpxListContainer .btn-default {
    border-radius: 10pt;
    /*width: 40px;*/
}

.mpxListContainer .view-grid .btn-default {
    border-radius: 10pt;
    width: 50px;
}

.mpxListContainer .view-grid th a {
    font-size: 12px;
}

.mpxFormContainer .view-grid{
    font-size: 10pt;
}

.mpxListContainer .container .columnBlockLayout{
    margin-top: 0px !important;
}

.mpxListContainer h4.panel-body.entitylist-filter-option-group-label{
    font-size: 15px;;
}

.mpxListContainer .dropdown-menu > li > a:hover {
    background-color: lightgray; /*lightblue*/
}

.mpxFormContainer .view-grid .dropdown-menu > li > a:hover {
    background-color: lightgray; /*lightblue*/
}

.mpxFormContainer .image-inline img{
    max-height: 300px;
}

.mpxListContainer .pagination > li > a, .pagination > li > span{
    width: 45px;
}

/*end of core */

/* error message */
.mpxSpanFormError{
	font-size: 8pt;
    color: red;
    padding-left: 5px;
}
/* end error message */

/* print button */
.mpxPrintBtnContainer {
    width: auto; 
    padding-bottom: 10px;
    padding-right: 30px;
    padding-top: 10px;
    text-align: right;
    margin-right: 18%;
}

.mpxPrintBtnContainer input{
    background-color: black;
}

#PrintButton{
    margin-left: 10px;
}

/* end of print button */

/*  */
#spnCurrency{
    height: 45px;    
    padding-top: 15px;
}

.spnCurrency{
    height: 45px;    
    padding-top: 15px;
}

.mpxLinkToAddDropdown{
    font-size: 8pt;
    padding-left: 10px;
}

#fade-wrapper {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}
/*
.footer{
    margin-top: 50px;
}
*/

@media (min-width: 1200px) {
    .col-lg-9 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-3.filter-vertical {
        flex: 0 0 auto;
        width: 100%;
    }
}

.smallText{
    color: white;
}

.mpxFooter{
    text-align: center;
}

.mpxFooter a{
    color: white;
}

.mpxFooter a:hover{
    color: white;
}

.mpxCreditAttachmentLabel{
    padding-left: 30px;
    font-size: 10pt;
}

.mpxCreditTblHeader{
    font-weight: bold;
    font-size: 10pt;
}

.mpxCreditTblHeaderCRC{
    font-weight: bold;
    padding-top: 20px;
}

.mpxCreditSubTable > tbody > tr{
    border-bottom: 1px solid black;
}

.mpxCreditTd{
    text-align: center;
    font-weight: bold;
}

.mpxCreditTblCellCrC {
    text-align: center;
    padding-top: 20px;
}
.mpxListContainer .view-grid {
    padding-bottom: 150px;
}
.mpxTblAttach{
    width: 100%;
}

.mpxTblAttach td{
    padding: 5px;
}

.mpxTblAttach th{
    padding: 5px;
}

.mpx-home-linklabel{
    text-align: center;
    font-weight: bold;
}

.mpx-br-linklabel{
    text-align: center;
    padding-top: 10px;
    font-weight: bold;
}

/*
.mpxListContainer .entitylist-filter-option-group.list-inline-item{
    width: 90%;
}
*/

.mpxListContainer .entitylist-filter-option-group.list-inline-item{
    width: 25%;
}

.mpxListContainer .input-group.entitylist-filter-option-text{
    width: 100%;
}

.mpxListContainer .card-body .float-end{
    margin-top: -40pt;
}

.mpxListContainer .card-body h4{
    font-size: 18px !important;
}

/* Main Section */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
}

.main-content a{
    text-decoration: none;
}

.main-content a:hover{
    text-decoration: none;
}

.main-content a:visited{
    text-decoration: none;
}

.tile {
    background-color: #000;
    color: #FFF;
    border: none;
    border-radius: 12px; /* Rounded corners */
    padding: 30px; /* Increased padding */
    text-align: center;
    font-size: 20px; /* Increased font size */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px; /* Increased height */
    width: 200px; /* Increased width */
}
/*
.tile {
    background-color: #000;
    color: #FFF;
    border: none;
    border-radius: 12px; 
    padding: 20px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: 150px;
}
*/

.tile:hover {
    background-color: #00A3E0; /* Blue highlight */
    transform: scale(1.05);
    text-decoration: inherit;
}

.tile:hover a{    
    text-decoration: inherit;
}

.tile:hover span{    
    text-decoration: none;
}

.tile a {
    text-decoration: none;
    color: inherit;
    margin-top: 15px; /* Increased margin */
    font-weight: bold; /* Made text bold for better visibility */
    text-decoration: none;
}

.tile span{
    font-size: 14px;
    font-weight: bold;
    padding-top: 10px;
    text-decoration: none;
}

.tile img {
    width: 70px; /* Increased icon size */
    height: 70px; /* Increased icon size */
    margin-bottom: 10px; /* Added space between icon and text */
}

/* Hero Section */
.hero {
    background-color: #000;
    color: #FFF;
    text-align: center;
    padding: 40px 20px;
    margin-top: -8px;    
    border-top: 2px solid #00A3E0;
}

.hero img{
    width: 400px;
}

/*margin-left: -273pt;
    margin-right: -273pt;*/

.hero h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.hero p {
    font-size: 18px;
    margin: 10px 0 0;
    color: white;
}

/* News Section */
.news-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 40px 40px;
}

.news-tile {
    flex: 1 1 calc(33.33% - 20px);
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: #000;
}

.news-tile h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.news-tile p {
    font-size: 14px;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background-color: #FFF;
    border-radius: 20px;
    padding: 30px 20px;
    margin-top: 40px; /* Space between tiles and FAQ */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 1200px; /* To limit the width */
    margin-left: auto;
    margin-right: auto;
}

.faq-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #00A3E0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #00A3E0;
}

.faq-item p {
    font-size: 16px;
    color: #333;
}

.mpxHomeContainer .main-content{
    justify-content: center;
}

.mpxSpanInfo{
    font-size: 8pt;
    padding: 10px;
}

.ms-Toggle-background .pill-126{
    background-color: gray;
}

.mpxCreditReadonly{
    text-align: center;
    color: red;
}

#mpx_otherconsultants::placeholder {
    color: gray !important;    
    font-size: 10pt;
}

#printList{
    background-color: white;    
}

.printList{
    background-color: white;    
}

.mpxCreditTblCellCCPCol1{
    float: left;
    width: 30%;
    padding-top: 10px;
    font-weight: bold;

}
.mpxDesignCell1{            
    font-weight: bold;
    padding-left: 40px;  
}

.mpxCreditTblCellCCPHeader{
    float: right;
    font-weight: bold;
}

.mpxCreditTblCellCCPHeaderL{
    font-weight: bold;
    text-align: center;
}

.mpcCCPTblHeader{
    font-weight: bold;
    text-decoration: underline;
}

#WebResource_mpxcredit_addnewconsultant{
    height: 35px;
}

.mpxLinkToAddConsultant{
    font-size: 12pt;
    padding-left: 10px;
    color:blue;
    font-weight: bold;
    font-style: italic;
}

.mpxMainLinkContainer{
    float: right;    
}

.footer-bottom{
    padding: 0px;
}

.footer .footer-bottom{
    min-height: 65px;
}

.mpxSpanPerc{
    display: flex;        
    padding-top: 10px;
    padding-left: 5px;
}



/*override otb styles*/
.crmEntityFormView, .entitylist, .modal-content, .popover-content{
    border: none;
}

.crmEntityFormView, .entitylist{
    border: none;
}

.crmEntityFormView .actions{
    border: none;
}

.css-6q0nyr-Svg{
    display: none;
}

/*print classes*/
  .tblPrintMain {
      width: 100%;
  }

  .tblPrintMain h3 {
      background-color: black;
      color: white;
      padding: 10px;
      text-align: center;
  }

  .tdPrintCell {
    padding: 10px;
    vertical-align: top;
  }

  .tdInner45 {
      width: 44.5%;
      padding-left: 10px;
      font-weight: bold;
  }

/*end of print classes*/

.mpxFormContainer .mpx-editablegrid .ag-theme-balham .ag-row:not(.ag-row-selected){
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid .ag-theme-balham .ag-row.ag-row-selected{
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid .ag-theme-balham .ag-cell:hover{
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid .ag-theme-balham .ag-row-focus .ag-row-hover {
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid .ag-theme-balham .ag-cell:not(ag-cell-focus):not(.ag-cell-range-selected){
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid div[class^='basicPaging'], div[class*=' basicPaging']{
    background-color: white !important;
}

.mpxFormContainer .mpx-editablegrid .ag-cell .ag-cell-normal-height .ag-cell-value .ag-cell-not-inline-editing .editable-cell .ag-cell-focus .ag-cell-range-selected .ag-cell-range-selected-1 .ag-cell-range-single-cell{
    background-color: white !important;
}