.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* hide when angularjs is loading */ .ng-cloak{display: none;}
/* remove Firefox interactive form validation style */ input:invalid, select:invalid{ box-shadow: none; }
/* remove Chrome number input button */ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* remove jquery-ui dialog clos button */ .no-close .ui-dialog-titlebar-close { display: none; }

.loading-screen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1051;
    background-color: #888;
    opacity: 0.9;
    filter:alpha(opacity=90);
    text-align: center;
    font-size: xx-large;
    padding: 20px; padding-top:40px;
    color: #fff;
}

/* ## Disclaimer ## */
/* GetRate page > Settings.GetRatesPageDisclaimer */
.disclaimer-get-rate {
    color: #b94a48;
    font-size: 85%;
}
/* Select Loan tab > Settings.EligibleProgramDisclaimer */
.disclaimer-eligible-program {
    color: #b94a48;
    font-size: 85%;
}
/* Borrowers tab >  Settings.OnlineApplicationCreditCheck */
.disclaimer-credit-check { }
/* Login page > Settings.OnlineApplicationTerms */
.disclaimer-disclaimer-online-app {  }

/* Borrower Portal */
.new-doc-indicator { color:#009d0e; }
.required-signature { color: #b94a48; }


/* ------- fix Bootstrap3 ---------------------------------------------- */
@media (min-width: 1200px) {
    .container { max-width: 960px; }
}
body { font-size:13px;}

/* forms.less
    - remove bold label
    - make input smaller (take form `input-sm`)
*/
label { font-weight: normal; }
.form-control {
    /*height: 30px;*/
    /*padding: 5px 10px;*/
    height: 24px;
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
select.form-control {
    /*height: 30px;*/
    /*line-height: 30px;*/
    height: 24px;
    line-height: 21px;
}
textarea.form-control {
    height: auto;
}
.form-group { margin-bottom: 5px; }
.input-group-addon {
    /*padding: 5px 10px;*/
    padding: 2px 4px;
    font-size: 12px;
    border-radius: 3px;
}
.form-horizontal .control-label { padding-top: 2px; padding-right:0; }

/* right tab */
.tab-content {
    overflow: hidden;
}
.tabs-below>.nav-tabs,
.tabs-right>.nav-tabs,
.tabs-left>.nav-tabs {
    border-bottom: 0;
}
.tab-content>.tab-pane,
.pill-content>.pill-pane {
    display: none;
}
.tab-content>.active,
.pill-content>.active {
    display: block;
}
.tabs-left>.nav-tabs>li,
.tabs-right>.nav-tabs>li {
    float: none;
}
.tabs-left>.nav-tabs>li>a,
.tabs-right>.nav-tabs>li>a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
}
.tabs-right>.nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
}
.tabs-right>.nav-tabs>li>a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.tabs-right>.nav-tabs>li>a:hover,
.tabs-right>.nav-tabs>li>a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}
.tabs-right>.nav-tabs>li.active>a,
.tabs-right>.nav-tabs>li.active>a:hover,
.tabs-right>.nav-tabs>li.active>a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color:#ffffff;
}
.nav-tabs>li.disabled>a { border:none; } /* remove disabled tab border */

/*.table thead th { vertical-align: middle; }*/
/*th { text-align: center; }*/
table.table-center th { text-align:center; }
table.table-center td  { text-align:center; }
td.currency, td.date, td.number{ text-align: right; }

.modal-backdrop {opacity: 0.8;}
/*-------------------------------------------------------------------------*/

/* helper class */
.vhide { visibility: hidden; }
.help-inline{ padding-left: 3px; }
select.compact{width:auto;}
.header-sm {
    font-size:14px;
    font-weight: bold;
    text-decoration:underline;
}

#loanPipeline table th{vertical-align: middle;}
#loanPipeline table td{vertical-align: middle;}
#loanPipeline td:first-child { text-align:center }
#loanPipeline tr.section-header th {
    border-top: white 1px solid;
    border-left: white 1px solid;
    border-right: white 1px solid;
}
#loanPipeline tr.section-header th:hover{ background:white;}

#getRate .form-horizontal .control-label {
    padding-top: 2px;
    padding-right:0;
}
#getRate select.compact{width:30%;}
#getRate .form-control.middle_twoline { margin-top:8px; }
#getRate .modal[modal="submitModal"] .modal-dialog{ width: 520px; }
#getRate .modal[modal="submitModal"] .modal-header{ font-weight: bold; font-size:14px; line-height: 30px; }
#getRate .modal[modal="submitModal"] .modal-body{ padding-bottom: inherit; }

/* Loan officer tab */
div.loan-officer-row {
    margin-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

#assetInfo table { text-align: center}
#assetInfo .btn.btn-link { padding: 0; }

.mbt_declarations_info_li{ margin-bottom:5px;}
.declarations_info_select{ width:95%; height:20px;}
#declarations .header{ margin-bottom:10px;}
#declarations .header span{ display:inline-block; width:19%; text-align:left; padding-left:7px; font-weight:bold;}
#declarations .header span:first-child{ width:58%; font-weight:bold; text-decoration:underline; }
#declarations ol li span.description{display:inline-block; width: 56%; vertical-align: text-top;}
#declarations ol li span{display:inline-block; width: 21%;}
#declarations ol li ol li span.description{width: 54%; vertical-align: text-top;}
#declarations ol li select{display:inline-block;}
#declarations li {margin-bottom: 3px; margin-top: 2px;}

#selectLoan .third { width: 33% }

.uppercase { text-transform: uppercase; }
#borrowerPortal .description { font-weight:bold; }
#borrowerPortal .loan-summary{
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #eaf1fa;/**/
    border: 1px solid #e0e8f3;/**/
    border-radius: 10px;/**/
}

.bp-frame {
    border: 1px #ccc solid;
    border-radius: 25px;
}
.bp-frame .frame-header {
    text-align: center;
    background: #b7d3fa;
    padding: 5px;
    border-radius: 20px;
    border: 1px solid #bbcbe0;
    margin-top: -1px;
    font-weight: bold;
}
.bp-frame .frame-body {
    margin: 5px 15px;
    min-height: 100px;
}
.bp-frame .frame-body.border {
    border: 1px #bbb solid;
    margin-bottom: 11px;
    padding: 5px;
}
.modal-setting .frame-header { text-align:left; text-decoration:none; padding-left:10px; padding-right:10px;}
.modal-setting form{ padding:10px;}
.modal-setting form label{ float:left; margin-right:10%;}
.modal-setting form label input{ margin-top:0;}
.modal-setting form .label_setting_bp{ width:100%; }
.modal-setting form .label_setting_bp .input_setting_bp{ width:30%;}
.modal-setting .close{ font-size:14px; color:#000; text-decoration:none; text-align:right; float:right;}

.signature_setting_bp{ padding:10px; border:#ccc 1px solid; margin-bottom:20px;}
.signature_setting_bp p{ overflow:hidden; margin:0; padding:0;}
.signature_setting_bp .checkbox{ width:20px !important; height:20px !important; float:left; padding:0; margin:0; margin-right:7px;}
.none_underline_bp{ text-decoration:none !important;}

.ul_signdoc_bp{ margin:0; padding:0; list-style-type:none; margin-bottom:20px;}
.ul_signdoc_bp li{ padding:5px 0;}
.ul_signdoc_bp > li:nth-child(odd) { background-color : #f9f9f9; padding:5px 0; }
.mbt_p_bp{ padding:5px 0 10px 0 !important; }


.bwp_loanofficer_popup{ padding:2%; overflow:hidden;}
.bwp_loanofficer_popup .img_bwp_loanofficer_popup{ width:17.3%; float:left; margin-right:2%;}
.bwp_loanofficer_popup .img_bwp_loanofficer_popup img{ width:100%; height:auto;}
.bwp_loanofficer_popup .text_bwp_loanofficer_popup{ width:38%; float:left; margin-right:2%; padding-top:8px; margin-bottom:10px;}


/*estimate-cost modal*/
.modal.estimate-cost .modal-dialog { width: 440px; }
.estimate-cost .header{
    /*TODO: use .header-sm instead*/
    font-size:14px;
    font-weight: bold;
    text-decoration:underline;
    text-align:center;
    margin-bottom:10px;
}
.estimate-cost thead { background:#e2e2e2; }
.estimate-cost td{
    text-align:right;
    padding:3px 8px 2px 8px;
}
.estimate-cost td:nth-child(odd){ text-align:left; }
.estimate-cost tbody>tr{ background:#f3f9ff;}
.estimate-cost tbody>tr:nth-child(odd){ background:#fff;}
.estimate-cost .modal-body { padding-bottom: 7px; }
.estimate-cost .modal-footer { margin-top: 0; padding-top: 7px; }

/*table-scenario*/
table.table-scenario thead th { text-align:center; }
table.table-scenario thead th.program-name{
    text-align: left; text-transform:uppercase;
    font-size:14px;
    font-weight: normal;
    line-height:24px;
}
table.table-scenario tbody td { text-align:center; }

/* --- Start Application ----  */
p.intro {
    font-weight: bold;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 5px;
    margin-bottom: 20px;
    /*overflow: hidden;*/
}
p.employment-intro { font-weight: bold; }
div.fields-group {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 5px;
}

.modal[modal="RelationshipModal"] .modal-dialog{ width:740px; }

.col-sm-2-4 {
    width : 20%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-sm-3-6 {
    width : 30%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/*fix all the checked of radio is the same on IE8*/
.radio-inline input[type="radio"]{ width:12px; height:12px;}

/* Fix the horizontal scroll bar appears at the bottom when using class ".form-group" or ".row */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}