
html {
  font-size: 16px;
}

body {
  font-size: 16px;
}

/* Margin bottom varies by media query. */
.container {
  margin-bottom: 120px;
}

.container-fluid {
  padding-left: 0px;
  padding-right: 10px;
}

.wrapper {
  /* margin: 0px auto 40px auto; */
  width: 95%;
  max-width: 1400px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

h6 {
  font-weight: 600;
}

/* Hollow square */
h5::before,
h6::before {
  content: "\25FB\00a0";
}

/* Solid square */
h4::before,
h5::before,
h6::before {
  color: maroon;
  content: "\25FC\00a0\00a0";
}

h4.no-bullet::before,
h5.no-bullet::before,
h6.no-bullet::before {
  content: "";
}

p {
  line-height: 1.6rem;
}

hr {
  margin-top: 1.7rem;
  margin-bottom: 1.7rem;
}

a {
  color: navy;
  text-decoration: none;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
}

.smaller {
  font-size: 0.75rem;
}

.bg-light-gray {
  background-color: #eeeeee;
}

.scrollable-menu {
  height: auto;
  max-height: 205px;
  overflow-x: hidden;
}

.form-control-border-color {
  border-color: #ced4da;
}

.flash_success_message {
  color: white;
  background-color: green;
}

.btn-white {
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
}

.btn-white:hover {
  background-color: #eeeeee;
}

.btn-dark-blue {
  color: #ffffff;
  background-color: #000055;
  /* border: 1px solid #bbbbbb; */
}

.btn-dark-blue:hover {
  color: #ffffff;
  background-color: #594cac;
}

.btn-primary {
  background-color: #000099;
}


.highlighted-text {
  background-color: yellow;
}

.striped-rows .row:nth-child(odd) {
  background-color: #eeeeee;
}

tr.clickable {
  cursor: pointer;
}

tr.clickable:hover {
  background-color: rgb(177, 233, 177);
  background-color: rgb(220, 255, 220);
}

p.clickable {
  cursor: pointer;
}

p.clickable:hover {
  background-color: rgb(177, 233, 177);
  background-color: rgb(220, 255, 220);
}

td.no-wrap-table-cell 
{
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
}

/*
|
| Text
|
*/

.tip {
  line-height: normal;
}

.tip::before {
  content: 'Testing tip: ';
  color: rgb(220, 53, 69);
  font-weight: bold;
}

.tooltip-question-mark {
  color:blue;
}

/*
|
| Bread crumbs
|
*/

ol.breadcrumb {
  margin-bottom: 5px;
}

.breadcrumb-item a {
  text-decoration: none;
}

/*
|
| Page heading
|
*/

.page-heading {
  border-bottom: 1px solid #aaaaaa;
  /* margin-bottom:30px; */
}

.page-title {
  font-weight: 500;
  /* margin:5px 10px 5px 0px; */
  /* font-size:1.85rem; */
}

/*
|
| Active client/loan chosen by an MLS employee
|
*/

.active-client-and-user {
  color: #bbb;
  ;
  font-size: 0.8rem;
  position: absolute;
  top: 55px;
  right: 15px;
  background-color: white;
}

.active-loan-and-borrower {
  /* color:#999999; */
  background-color:#144172; 
  font-size: 1rem;
  color: white;
  font-size: 0.8rem;
  font-weight:500;
  padding:5px 10px;
  border-radius:5px;
  /* font-weight: 600; */
  /* padding:0px; */
  /* text-align: left; */
}

/*
|
| Corporate colors
|
*/

.bg-mls-blue {
  background-color: #18496b;
}

.text-mls-blue {
  color: #18496b;
}

/*
|
| Details table
|
*/

.details tr td:nth-child(1) {
  padding: 5px 25px 5px 0px;
  vertical-align: top;
  white-space: nowrap;
}

.details tr td:nth-child(2) {
  padding: 5px;
  vertical-align: top;
}

/*
|
| Announcements
|
*/

.announcement-title {
  font-size: 1.3rem;
}

/*
|
| Tooltips
|
*/

/*
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
*/

/*
|
| Recently view loans
|
*/

.recently-viewed-loans {
  background-color: #eeeeee;
  border-radius: 5px;
  border-top: 8px solid navy;
}

/*
|
| Form widths
|
*/

.form-max-width-tight {
  max-width: 300px;
}

.form-max-width-narrow {
  max-width: 400px;
}

.form-max-width-default {
  max-width: 600px;
}

.form-max-width-wide {
  max-width: 800px;
}

/*
|
| Buttons
|
*/

.button-submit-cancel-block {
  /* border-top:1px solid #dddddd; */
  /* margin-top:1.5rem; */
  /* padding-top:0.7rem; */
}

.go-back-block {
  /* border-top:1px solid #dddddd; */
  /* margin-top:1.5rem; */
  /* padding-top:0.7rem; */
}

.back-button,
.basic-button {
  /* padding-bottom:1px; */
}

.cheat-button {
  padding:6px 8px;
  border-radius:7px;
  background-color:white;
  color:maroon;
  border:1px solid #bbbbbb;
  font-weight: 500;
}

.cheat-button:hover {
  background-color:#eeeeee;
}

.cheat-button:active,
.cheat-button:visited {
  color:maroon;
}

/*
|
| Form elements
|
*/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.large-checkbox {
  width: 1.3rem;
  height: 1.3rem;
}

.large-radio-button {
  width: 1.1rem;
  height: 1.1rem;
}

.label-suffix {
  font-size: 0.875rem;
  color: #666666;
  margin-left: 1.0rem;
}

/*
|
| Tables
|
*/

.table-not-fluid {
  width: auto !important;
}

.table-hover tbody tr.clickable-link:hover td {
  background-color: rgb(177, 233, 177);
  /* This is a slightly lighter green: */
  /* background-color: rgb(220, 255, 220); */
  cursor: pointer;
}

.truncate-table-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 
|
| Cards
|
*/

@supports ((display: -ms-grid) or (display: grid)) {
  .cards {
    display: -ms-grid;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding-left: 0px;
  }
}

.card .card-header {
  color: #000000;
  font-size: 1.2rem;
  font-weight: 400;
  background-color: #efefef;
}

.card-header-bullet {
  /* color:maroon; */
  /* color:#333333; */
  margin-right: 5px;
  padding-top: 5px;
  font-size: 1.2rem;
}

.card-text {
  line-height: 1.3rem;
}

/*
|
| Media queries
|
*/

#debug-bootstrap-breakpoint {
  font-size: 0.7em;
  z-index: 9999;
  position: fixed;
  right: 0px;
  bottom: 0px;
  padding: 3px 7px;
  background-color: lightyellow;
  border: 1px solid #dddddd;
  border-radius: 5px;
  /* display:none; */
}

/* Extra-small devices (portrait phones) */
#debug-bootstrap-breakpoint::before {
  content: 'XS';
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  #debug-bootstrap-breakpoint::before {
    content: 'SM';
  }
  html {
    font-size: 16px;
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
  #debug-bootstrap-breakpoint::before {
    content: 'MD';
  }
  .pre-line-max-width {
    width: 700px;

  }
  .container {
    margin-bottom: 80px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  #debug-bootstrap-breakpoint::before {
    content: 'LG';
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #debug-bootstrap-breakpoint::before {
    content: 'XL';
  }
}

/* Extra-extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
  #debug-bootstrap-breakpoint::before {
    content: 'XXL';
  }
}

/* 
| 
| Call-out alert messages
|
*/

.callout {
  position: fixed;
  bottom: 50px;
  right: 10px;
  max-width: 300px;
  z-index:99999;
  border:1px solid #999999;
  border-radius:5px;
}

.callout-header {
  padding: 8px 16px;
  /* background: lime; */
  /* font-size: 30px; */
  /* font-size: 0.8rem; */
  color: white;
  /* font-weight: bold; */
  border-radius:5px 5px 0px 0px;
}

.callout-text {
  padding: 20px 25px;
  /* background-color: pink; */
  /* color: black */
  border-radius:0px 0px 5px 5px;
}

.callout-close-button {
  position: absolute;
  /* top: 5px; */
  right: 20px;
  /* color: black; */
  /* font-size: 30px; */
  cursor: pointer;
}

.callout-close-button:hover {
  color: lightgrey;
}

.callout-header {
  color:white;
  font-weight: bold;
}

.callout-success .callout-header {
  background-color:darkgreen;
}

.callout-danger .callout-header {
  background-color:maroon;
}

.callout-warning .callout-header {
  background-color:darkorange;
}

.callout-success .callout-text {
  background-color:#eeffee;
}

.callout-danger .callout-text {
  background-color:#ffeeee;
}

.callout-warning .callout-text {
  background-color:white ;
}

/* 
| 
| Pagination
|
*/

.pagination .page-item.active .page-link {
  background-color: navy;
  border-color: navy;
}
