html {
  font-size: 62.5%;
}

body {
  font-size: 12px;
  font-size: 1.2rem;
  font-family: Helvetica, Arial, Sans-Serif;
  color: black;
  margin: 0px;
  padding: 0px;
  background-color: #d9d9d9;
}


/* Styles for basic elements
-----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  color: #791214;
  font-size: 18px;
  font-size: 18rem;
}

h1 {
  font-size: 22px;
  font-size: 2.2rem;
  margin: 20px 0;
}

h2 {
  font-size: 18px;
  font-size: 1.8rem;
}

h3 {
  font-size: 14px;
  font-size: 1.4rem;
}

h4 {
  font-size: 13px;
  font-size: 1.3rem;
}

h5, h6 {
  font-size: 12px;
  font-size: 1.2rem;
}

fieldset > h2:first-child {
  margin-top: 0;
}

a, a:hover, a:visited {
  color: inherit;
}

fieldset {
  border: 1px solid #ddd;
  padding: 16px;
  margin: 0 0 20px 0;
  font-size: 14px;
}

.page_text > fieldset:first-child {
  margin-top: 40px;
}

input[type="checkbox"], input[type="radio"] {
  margin-top: 6px;
  margin-right: 4px;
}

legend {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
}

textarea {
  min-height: 75px;
}

a img {
  border: none;
}

/* global styles */

@media screen and (max-width: 600px) {
  ol {
    /* Reset indent on small screens */
    padding: 0 2rem;
  }
}

.left {
  float: left;
}

.right {
  float: right;
}

.centered {
  text-align: center;
}

.alignright {
  text-align: right;
}

.clearfix:after {
  content: " ";
  display: table;
  clear: both;
}

.contact_column_one {
  width: 20%;
}

.contact_column_two {
  width: 28%;
}

.contact_column_three {
  width: 20%;
}

.clickable {
  cursor: pointer;
}

.image_link {
  display: inline-block;
  margin: 40px 0;
}

.blue_button {
  height: 27px;
  padding: 5px;
  font-size: 11px;
  font-size: 1.1rem;
  color: White;
  background-color: #791214;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
}

.accented_letter {
  font-size: 28px;
  font-size: 2.8rem;
  font-weight: bold;
}

.action_item {
  font-size: 18px;
  color: #e52f23;
}

.muted {
  opacity: 0.2;
}

.belowheadercontent
{
    width: 100%;
}

.btn {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 20px;
  background: #791214;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

  .btn:hover {
    background: #9b1719;
    text-decoration: none;
  }

/* HEADER */

#header {
  position: relative;
  margin: 0px;
  padding: 0px;
  background-color: #aeaeaf;
  width: 100%;
  height: 70px;
  color: #791214;
  font-size: 15px;
  font-size: 1.5rem;
}

  #header .wrapper {
    width: 960px;
    margin: 0 auto;
  }

  #header .left, #header .right {
    height: 100%;
  }

    #header .left > *,
    #header .right > * {
      padding-top: 26px;
    }

.header_link {
  display: block;
  float: left;
  height: 44px;
  text-decoration: none;
  padding: 0 27px;
  color: inherit;
}

  .header_link:hover, .header_link.selected {
    background: #a1a1a2;
    border-left: 2px solid #818181;
    border-right: 2px solid #818181;
    padding: 0 25px;
  }

#header .header_login_label {
  float: left;
}

#header .login_form {
  float: left;
  position: relative;
  padding-top: 21px;
  margin-right: 6px;
  z-index: 100;
}

#header .logout_form {
  padding-top: 5px;
}

#header .login_form input {
  padding: 6px;
  color: inherit;
  border: none;
  border-radius: 4px;
}

  #header .login_form input[type="text"] {
    width: 144px;
    margin-left: 14px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  #header .login_form input[type="password"] {
    width: 144px;
    margin-left: 36px;
    font-size: 12px;
    font-size: 1.2rem;
  }

  #header .login_form input[type="submit"] {
    width: 40px;
    position: absolute;
    right: 0;
    color: White;
  }

#header .logout_form .text {
  margin-right: 14px;
}

#header .forgot_password_header {
  position: absolute;
  font-size: 11px;
  font-style: italic;
  display: block;
  margin-left: 330px;
  top: 25px;
}

/* style placeholder value */

#header .login_form input::-webkit-input-placeholder {
  color: #3882af;
}

#header .login_form input:-moz-placeholder {
  color: #3882af;
}

#header .login_form input::-moz-placeholder {
  color: #3882af;
}

#header .login_form input:-ms-input-placeholder {
  color: #3882af;
}

#logout {
  margin-right: 14px;
}

#change-password {
  margin-left: 14px;
}

/* MOBILE HEADER */

@media screen and (min-width: 1000px) {
  #mobile-header {
    display: none !important;
  }
}

@media screen and (max-width: 1000px) {
  #mobile-header ~ #header {
    display: none !important;
  }
}

#mobile-header * {
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
}

#mobile-header {
  display: flex;
  justify-content: center;
  background-color: #aeaeaf;
  font-size: medium;
  color: #791214;
}

#mobile-header .header-items {
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
  width: 60rem;
  max-width: 100%;
}

#mobile-header .header-items > a,
#mobile-header .header-items summary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  height: fit-content;
  background-color: #a1a1a200;
  border: 2px solid #81818100;
  transition: all 150ms;
  height: 100%;
}

#mobile-header details {
  display: flex;
  justify-content: end;
  align-items: end;
  flex-direction: column;
  position: relative;
}

#mobile-header .header-items > a:hover,
#mobile-header .header-items summary:hover {
  background-color: #a1a1a2;
  border: 2px solid #818181;
}

#mobile-header summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  aspect-ratio: 1/1;
  width: fit-content;
}

#mobile-header summary .bar {
  width: 3rem;
  border-radius: 0.2rem;
  height: 0.5rem;
  background-color: #791214;
}

#mobile-header .dropdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40rem;
  max-width: 90vw;
  position: absolute;
  z-index: 10000;
  right: 0;
  margin-top: 1rem;
  padding: 2rem;
  background-color: #CECECE;
  border: 2px solid #00000050;
  border-radius: 0.25rem;
}

#mobile-header .dropdown-items {
  display: flex;
  width: 30rem;
  max-width: 100%;
  flex-direction: column;
  gap: 1rem;
}

#mobile-header .dropdown-items > a {
  padding: 1rem;
  background-color: #E2E2E2;
  border-radius: 0.25rem;
  transition: all 150ms;
  text-align: center;
  width: 100%;
}

#mobile-header .dropdown-items > a:active,
#mobile-header .dropdown-items > a:hover {
  background-color: white;
}

#mobile-header .login_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

#mobile-header .logout_form {
    display: flex;
    flex-direction: column;
    gap: 2rem;

}

#mobile-header .logout_form .text {
  color: black;
}

#mobile-header .logout_form a:hover {
    text-decoration: underline;
}

#mobile-header button {
  background-color: #791214;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  color: white;
  width: fit-content;
  border: none;
  transition: all 150ms;
}

#mobile-header button:hover {
  background-color: #963638;
}

#mobile-header input {
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  border: 1px solid #00000040;
}

/* MOBILE CONTENT HEADER */

@media screen and (min-width: 1000px) {
  #mobile_content_header {
    display: none !important;
  }
}

@media screen and (max-width: 1000px) {
  #mobile_content_header ~ #content_header {
    display: none !important;
  }
}

#mobile_content_header * {
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
}

#mobile_content_header {
  position: fixed;
  z-index: 1;
  padding: 1rem;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #791214;
  font-size: medium;
  color: white;
  height: 5rem;
}

#mobile_content_header .header-items {
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
  width: 60rem;
  max-width: 100%;
}

#mobile_content_header .header-items > a,
#mobile_content_header .header-items summary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  height: fit-content;
  background-color: #FFFFFF00;
  transition: all 150ms;
  height: 100%;
  border-radius: 0.5rem;
}

#mobile_content_header details {
  display: flex;
  justify-content: end;
  align-items: end;
  flex-direction: column;
  position: relative;
}

#mobile_content_header .header-items > a:hover,
#mobile_content_header .header-items summary:hover {
  background-color: #FFFFFF40;
}

#mobile_content_header summary {
  display: flex;
  gap: 0.5rem;
  aspect-ratio: 1/1;
  width: fit-content;
}

#mobile_content_header summary .dot {
  width: 0.5rem;
  border-radius: 0.2rem;
  aspect-ratio: 1/1;
  background-color: white;
}

#mobile_content_header .dropdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40rem;
  max-width: 90vw;
  position: absolute;
  bottom: 8rem;
  z-index: 10000;
  right: 0;
  padding: 2rem;
  background-color: #791214;
  border: 2px solid #FFFFFF50;
  border-radius: 0.25rem;
}

#mobile_content_header .dropdown-items {
  display: flex;
  width: 30rem;
  max-width: 100%;
  flex-direction: column;
  gap: 1rem;
}

#mobile_content_header .dropdown-items > a {
  padding: 1rem;
  background-color: #FFFFFF00;
  border-radius: 0.25rem;
  transition: all 150ms;
  text-align: center;
  width: 100%;
}

#mobile_content_header .dropdown-items > a:active,
#mobile_content_header .dropdown-items > a:hover {
  background-color: #FFFFFF40;
}

/* END HEADER */

/* BELOW HEADER */

#below_header {
    box-sizing: border-box;
}

#below_header {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

#below_header img {
    object-fit: contain;
    object-position: center;
}

@media screen and (max-width: 450px) {
    #below_header {
        /*flex-direction: column;*/
    }
    #below_header a img {
        width: 125px;
    }
    #below_header img {
      width: 100px;
    }
}

/* END BELOW HEADER */

/* MAIN CONTENT */

#main {
  margin: 0 auto;
  width: 960px;
  max-width: 100%;
}

/* CONTENT HEADER */

#content_header {
  width: 100%;
  height: 64px;
  margin-bottom: 8px;
  font-size: 16px;
  font-size: 1.6rem;
  background-color: #791214;
  color: white;
  border-radius: 6px;
}

  #content_header a {
    display: inline-block;
    margin: 12px 6px 12px 6px;
    padding: 10px 20px 10px 20px;
    color: inherit;
    text-decoration: none;
  }

  #content_header > a:first-child {
    border-radius: 6px 0 0 6px;
  }

  #content_header a:hover {
    background-color: #A1595B;
  }

  #content_header .right a {
    float: left;
  }

  #content_header .right a:last-child {
    margin-right: 12px;
  }

  #content_header.tige_content_header {
    background-image: linear-gradient(to right, black, #791214);
  }

  #create_link {
    border-radius: 10px;
    background: #bc0606;
    border: none;
  }

  #calculate_link {
    border-radius: 10px;
    background: #bc0606;
    border: none;
  }

  #guide_link {
    border-radius: 10px;
    background: #bc0606;
    border: none;
  }

.tige_logo {
  height: 48px;
  margin-top: -10px;
}

/* END CONTENT HEADER */

/* PAGE CONTENT - GLOBAL */

.content_heading_image {
  margin-bottom: 40px;
}

.content_heading_image img {
    max-width: 100%;
}

@media screen and (max-width: 600px) {
  .page_text {
    margin: 0 14px;
  }
}

.page_text > h1:first-child {
  margin-top: 0;
}

.page_text {
  margin: 0 27px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 24px;
  line-height: 2.4rem;
}

@media screen and (max-width: 600px) {
  .page_text {
    margin: 0 14px;
  }
}


  .page_text ul {
    margin: 0 0 0 16px;
    padding: 0;
    list-style-type: square;
    color: #791214;
  }

    .page_text ul span {
      color: Black;
    }

    .page_text ul ul {
      list-style-type: disc;
      font-size: 13px;
      font-size: 1.3rem;
      margin: 0 0 0 15px;
      padding: 0;
    }

      .page_text ul ul span {
        font-size: 16px;
        font-size: 1.6rem;
        color: Black;
      }

/* END PAGE CONTENT - GLOBAL */

/* END MAIN CONTENT */

/* FOOTER */

#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: fit-content;
  margin-top: 70px;
  font-size: 12px;
  font-size: 1.2rem;
  padding: 12px 27px 8px;
  padding: 1.2rem 2.7rem 0.8rem;
  background-color: #ccc;
  box-sizing: border-box;
}

@media screen and (max-width: 1000px) {
  #footer {
    flex-direction: column;
    text-align: center;
  }
  #footer.secondary-nav-present {
    margin-bottom: 7rem;
  }
}

/* END FOOTER */

/* PAGE-SPECIFIC */

/* WELCOME/HOME PAGE */

#home_slider {
  margin-bottom: 20px !important;
}

#home_categories {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 2rem;
  text-align: center;
  width: 100%;
}

#home_categories h2 {
  margin: 0;
}
#home_categories .caption_col {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    font-size: 1.6rem;
}

#home_categories li {
  list-style: none;
  white-space: nowrap;
}

#home_categories ul {
  padding: 0;
}

#home_categories .card {
  position: relative;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  background-color: #f1eff0;
  border-radius: 25px;
  width: 45rem;
  max-width: 100%;
  cursor: pointer;
  padding: 2rem;
  text-decoration: none;
}

#home_categories img {
    height: 5rem;
    width: fit-content;
}

#home_categories .img_container {
  width: 50%;
  display: flex;
  flex-shrink: 1;
  justify-content: center;
  align-items: center;
}

#home_categories .tiny {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem 2rem;
    font-size: 1rem;
}

@media screen and (max-width: 900px) {
    #home_categories .card {
        gap: 1rem;
        flex-direction: column;
        width: 30rem;
    }
    #home_categories .caption_col {
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
  #home_categories {
    grid-template-columns: 1fr;
  }
}

/* END WELCOME/HOME PAGE */

/* CUSTOMER HOME PAGE */

#main_content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 36rem)
}

#main_content,
#main_content * {
    box-sizing: border-box;
}

#custhome_slider {
  margin-bottom: 40px !important;
}

.custhome_section {
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 1.5rem;
  padding: 2rem;
}

@media screen and (max-width: 800px) {
    .custhome_section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (min-width: 801px){
.custhome_value {
        margin-left: 20px;
    }
}

.custhome_dealer_section {
  text-align: center;
  border-top: 1px solid lightgray;
  padding-top: 40px;
  font-size: 1.5rem;
  padding: 1rem;
}

.custhome_input {
  width: 400px;
  max-width: 100%;
  text-align: right;
  line-height: 65px;
}

.custhome_input input {
  width: 100%;
  padding: 6px;
  border: 1px;
  border-style: solid;
  border-color: lightgray;
  border-radius: 4px;
}

.custhome_value {
  text-align: left;
}

.custhome_button {
  cursor: pointer;
}

/* END CUSTOMER HOME PAGE */

/* DEALER DASHBOARD */

.content_heading_image.dashboard {
  margin-bottom: 20px;
}

h2.dashboard_heading {
  margin-left: 40px;
  margin-bottom: 30px;
  font-size: 16px;
  font-size: 1.6rem;
}

@media screen and (max-width: 800px) {
  h2.dashboard_heading {
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
}

p.new_user_link {
  margin-right: 40px;
}

.applications_top {
  width: 100%;
  margin-bottom: 10px;
  color: White;
  font-weight: bold;
  background-color: #791214;
  border-radius: 6px;
}

  .applications_top > div {
    margin: 10px;
  }

  .applications_top input, .applications_top select {
    color: Black;
    background-color: #e2e2e2;
  }

  .applications_top .buttons button {
    background-color: #5c85ff;
    border: none;
    padding: 3px 20px;
    border-radius: 6px;
  }

  .applications_top .buttons #refresh {
    background-color: #5c85ff;
  }

  .applications_top .buttons #historical {
    background-color: #bc0606;
  }

#emailme {
  background-color: #5c85ff;
  border: none;
  padding: 3px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  color: white;
}

#applink {
  font-size: 2rem;
  width: 100%;
  padding: 4px;
}

#external-apply {
  font-size: 1.5rem;
  width: 100%;
  padding: 4px;
}

#applications_filter {
  float: left;
}

#applications_length {
  float: right;
}

#applications {
}

  #applications th {
    padding: 10px;
  }

  #applications td {
    padding: 10px 5px;
    text-align: center;
  }

    #applications td div.actions a {
      text-decoration: none;
    }

    #applications td div.actions .button-wrapper {
      margin-bottom: 5px;
    }

    #applications td div.actions img {
      vertical-align: middle;
    }

    #applications td div.actions {
      text-align: left;
    }

      #applications td div.actions img {
        height: auto;
        width: 24px;
        margin-right: 2px;
      }

  #applications .non-action-column {
    line-height: 1.5em;
  }

  #applications td div.notes {
    text-align: center;
  }

    #applications td div.notes img {
      width: 24px;
      height: auto;
    }

  #applications .application-status-image {
    margin-right: 4px;
  }

  #applications tr.odd {
    background-color: #ebecf3;
  }

.applications_bottom {
  margin-top: 20px;
}

#applications_info {
  width: 100%;
  padding: 6px 0px;
  text-align: center;
  font-weight: bold;
}

#applications_paginate {
  width: 100%;
  padding: 6px 0px;
  text-align: center;
}

  #applications_paginate a {
    text-decoration: underline;
    cursor: pointer;
  }

#applications_previous, #applications_next {
  margin: 0px 10px;
}

#applications_paginate span > a {
  margin: 0px 5px;
}

  #applications_paginate span > a.paginate_active {
    text-decoration: none;
    cursor: auto;
  }

.paginate_disabled_previous, .paginate_disabled_next, .paginate_button_disabled {
  display: none;
}

img.selected {
  border: 4px solid blue;
}
#user-guide {
    margin-bottom: 40px;
}

/* END DEALER DASHBOARD */

/* BROWSE DEALERS */

.browse-header {
  margin-bottom: 40px;
  overflow: hidden;
  padding: 2rem;
}

  .browse-header h1 {
    margin-bottom: 30px;
  }

.browse-description {
  margin-bottom: 40px;
  font-size: 1.6rem;
}

.browse-filter {
  color: #791214;
  font-size: 2.2rem;
  margin-bottom: 10px;
  clear: both;
}

.browse-label {
  width: 300px;
  float: left;
  clear: both;
}

.browse-value {
  float: left;
}

.browse-value, .browse-value input, .browse-value select {
  max-width: 100%;
}

  .browse-value input {
    width: 300px;
    padding: 6px;
    border: 1px;
    border-style: solid;
    border-color: lightgray;
    border-radius: 4px;
  }

  .browse-value select {
    width: 312px;
    padding: 6px;
    border: 1px;
    border-style: solid;
    border-color: lightgray;
    border-radius: 4px;
  }

.browse-conjunction {
  color: #791214;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-style: italic;
  clear: both;
}

.browse-body {
  min-height: 640px;
  clear: both;
  padding: 1rem;
}

.browse-body tr {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.browse-body td {
  border: none !important;
  padding: 0 !important;
}

@media screen and (max-width: 600px) {
  .browse-body td:nth-child(1) {
    text-align: center;
  }
  .browse-filter, .browse-conjunction {
      display: flex;
      flex-direction: column;
      align-items: center;
  }
}

.browse-body td:nth-child(1) {
  width: 100%;
  max-width: 300px;
}

.browse-body td:nth-child(2) {
  width: 100%;
  text-align: center;
  max-width: 300px;
}

.browse-address {
  color: #737373;
  font-size: 1.75rem;
  margin-top: 5px;
}

.browse-apply {
  text-decoration: none;
}

.browse-map-link {
  font-size: 1.75rem;
  margin-top: 5px;
  text-decoration: none;
}

#companies_wrapper {
    width: 100%;
}

#companies_filter {
  float: left;
}

#companies_length {
  float: right;
}

#hide {
  min-height: 640px;
}

#companies {
  clear: both;
}

  #companies thead > tr {
    display: none;
  }

  #companies td {
    padding: 20px 5px;
    border: none;
    border-left: none;
    border-bottom: 1px solid #ccc;
    font-size: 2.0rem;
  }

    #companies td:first-child {
      border-left: none;
    }

    #companies td.browse-apply-cell {
      text-align: center;
    }

.companies_bottom {
  margin-top: 20px;
}

#companies_info {
  width: 100%;
  padding: 6px 0px;
  text-align: center;
  font-weight: bold;
}

#companies_paginate {
  width: 100%;
  padding: 6px 0px;
  text-align: center;
}

  #companies_paginate a {
    text-decoration: underline;
    cursor: pointer;
  }

#companies_previous, #companies_next {
  margin: 0px 10px;
}

#companies_paginate span > a {
  margin: 0px 5px;
}

  #companies_paginate span > a.paginate_active {
    text-decoration: none;
    cursor: auto;
  }

.paginate_disabled_previous, .paginate_disabled_next, .paginate_button_disabled {
  display: none;
}

/* END BROWSE DEALERS */

/* CREATE APPLICATION */
#amount_ucc_filing_fee input[readonly] {
  background-color: #E6E6E6;
}

#amount_total input[readonly] {
  background-color: #E6E6E6;
}

#amount_vehicle_tradein_total input[readonly] {
  background-color: #E6E6E6;
}

#create_success_block {
  margin-top: 40px;
}

/* END CREATE APPLICATION */

/* CREATE INDIVIDUAL */

#create_individual_button {
  display: block;
  width: 184px;
  height: 53px;
  margin: 0 auto;
  background-image: url('../images/buttons/create_red.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* END CREATE INDIVIDUAL */

/* CALCULATE PAYMENTS PAGE */

#results_blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: white;
}

.results_block {
  width: auto;
  height: 105px;
  padding: 6px;
  position: relative;
  outline: 1px solid black;
}

.results_amount {
  position: absolute;
  bottom: 0;
  right: 6px;
}

.results_amount_top {
  text-align: right;
}

#results_payment_info {
  margin-top: 20px;
}

#loan_changing_warning {
  color: Red;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 10px;
  display: none;
}

.points-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 75%;
  height: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

  .points-slider:hover {
    opacity: 1;
  }

  .points-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #791214;
    cursor: pointer;
    border-radius: 2px;
  }

  .points-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #791214;
    cursor: pointer;
    border-radius: 2px;
  }

/* END CALCULATE PAYMENTS PAGE */

/* CONTRACT FORMS */

.joint_intent {
  width: 80%;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid black;
  max-width: 400px;
}

.joint_intent p:first-child {
  margin-top: 0;
}

#primary_joint_intent {
  margin-top: 60px;
  margin-bottom: 1rem;
  display: none;
}

#joint {
  padding-top: 10px;
  display: none;
  clear: both;
}

.gmi {
  width: 100%;
  padding-top: 30px;
  clear: both;
}

#create_application_button {
  display: block;
  width: 184px;
  height: 53px;
  margin: 0 auto;
  background-image: url('../images/buttons/create_red.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.disclaimer {
  float: left;
  font-size: 10px;
  line-height: normal;
  max-width: 400px;
  text-align: left;
  width: 100%;
}

/* END CONTRACT FORMS */

/* CONTRACT RESULTS */

.results {
  margin-top: 15px;
}

  .results p {
    margin: 4px 0;
    font-size: 15px;
    font-size: 1.5rem;
  }

    .results p:first-child {
      margin-top: 0;
    }

    .results p label {
      display: inline-block;
      width: 200px;
    }


.print_noemail {
  margin-bottom: 40px;
}

.print_conditions {
  text-align: left;
  font-size: 10pt;
  margin-top: 10px;
}

/* END CONTRACT RESULTS */

/* ADMIN DEALER DASH */

#toggle_wrapper {
  float: right;
  margin: 5px;
}

label.warning {
  color: White;
  background: Red;
}

/* END ADMIN DEALER DASH */

/* APPLICATION DETAILS PAGE */

.application_details {
  display: inline-block;
  float: left;
  width: 370px;
}

#update-email-form {
  margin-bottom: 20px;
}

#force-status-form {
  margin-bottom: 20px;
}

#main_content .flex {
  display: flex;
  flex-direction: column;
}

#force-status-form label {
  display: flex;
  gap: 1rem;
}

#updatelosid-form {
  margin-bottom: 20px;
}

#application-detail-header {
  margin-top: 20px;
  margin-bottom: 0px;
}

#application-detail-primary-applicant {
  padding: 0;
}

#application-detail-primary-applicant .application_details {
  padding: 0;
  display: grid;
  gap: 0.5rem;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

#application-detail-primary-applicant .detail-item {
  display: flex;
  max-width: 100%;
}

#application-detail-primary-applicant h2 {
  max-width: 100%;
}

@media screen and (max-width: 500px) {
  #application-detail-primary-applicant .detail-item {
    flex-direction: column;
  }

  #application-detail-primary-applicant .display-label {
    width: unset;
  }

  #force-status-form label {
    flex-direction: column;
    gap: 0;
  }

  #main_content .flex {
    gap: 1rem;
  }
}

@media screen and (max-width: 900px) {
  #application-detail-primary-applicant .application_details {
    grid-template-columns: repeat(1, 1fr);
  }
}

.display-label,
.display-field,
.editor-label,
.editor-field {
  max-width: 100%;
}

#internalNotes {
  max-width: 800px;
  max-height: 250px;
}

/* END APPLICATION DETAILS PAGE */

/* END PAGE-SPECIFIC */

/* FORMS FORMATTING */

.title {
  display: block;
  float: left;
  text-align: left;
  width: auto;
  height: 80px;
}

.display-label {
  float: left;
  font-weight: bold;
  width: 200px;
}

.display-label-wider {
  float: left;
  width: 300px;
  width: 210px;
  margin: 2px 0;
  clear: both;
}

.display-field {
  display: inline;
}

.editor-label {
  float: left;
  width: 200px;
  margin: 2px 0;
  clear: both;
}

  .editor-label.required:after, .required_element:after {
    content: "*";
    color: Red;
  }

.editor-field {
  float: left;
  display: inline;
  width: 200px;
  padding-top: 2px;
}

  .editor-field input[type="text"], .editor-field input[type="password"] {
    width: 100%;
  }

.error-label {
  float: left;
  font-weight: bold;
  color: Red;
  width: 200px;
  margin: 5px 0 10px 0;
  clear: both;
}

.hide-conditional {
  display: none;
}

label.toggle-label {
  padding: 2px;
}

/* END FORMS FORMATTING */

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
  color: #ff0000;
}

.field-validation-valid {
  display: none;
}

.input-validation-error {
  border: 1px solid #ff0000;
  background-color: #ffeeee;
}

.validation-summary-errors {
  font-weight: bold;
  color: #ff0000;
}

.validation-summary-valid {
  display: none;
}

/* END VALIDATION */

/* MATRICES */

.matrix_menutable {
  margin: 40px auto 10px;
  max-width: 100%;
}

.matrix_menutable tr {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

#divmatrix {
  overflow-x: scroll;
}

td.matrix_menuoption, td.matrix_menuoption_selected {
  padding-left: 20px;
  font-size: 13px;
  vertical-align: top;
}

.matrix_description {
  max-width: 140px;
  margin-top: 4px;
  line-height: 18px;
  cursor: pointer;
}

td.matrix_menuoption:first-child, td.matrix_menuoption_selected:first-child {
  padding-left: 0;
}

.matrix_menutable button {
  font-size: 16px;
}

td.matrix_menuoption_selected button {
  color: Gray;
  border: inset;
  border-radius: 3px;
  border-width: 2px;
}

.table_matrix {
  margin: 0 auto 20px;
  text-align: center;
}

  .table_matrix td {
    padding: 5px 10px;
  }

    /* THIS IS HORRIBLE YET I STILL DID IT */
    .table_matrix td:empty {
      border: none;
      padding: 0;
    }

.td_matrix_row_header {
  color: white;
  background-color: #791214;
  border: 1px solid #791214;
}

.td_matrix_column_header {
  background-color: #CCC;
  border: 1px solid #AAA;
}

.td_matrix_cell, .td_matrix_cell_selected {
  min-width: 80px;
  font-size: 11px;
  font-size: 1.1rem;
  background-color: #E9E9E9;
  border: 1px solid #BBB;
  cursor: pointer;
}

.span_matrix_cell {
  font-size: 18px;
  font-weight: bold;
}

.td_matrix_cell:hover, .td_matrix_cell_selected {
  color: #E52F20;
  background-color: #DDD;
}

.td_matrix_cell_no_hover {
  font-size: 12px;
  font-size: 1.2rem;
  border: 1px solid #BBB;
}

#matrix_details_button {
  font-size: 12px;
  font-style: italic;
  cursor: pointer;
  text-decoration: underline;
}

/* END MATRICES */

/* FUNDING */

.funding_required {
  font-weight: bold;
}

.funding_docusigned {
  color: green;
}

/* END FUNDING */

/* TEST APPLICATIONS */

.test_app_header {
  background-color: #f4b642;
  color: white;
  padding: 5px;
  text-align: center;
}

/* END TEST APPLICATIONS*/

/* LOGIN PAGE */

.login_error_label {
  color: Red;
  width: 200px;
  margin: 5px 0 10px 0;
  clear: both;
}

.forgot_password_link {
  display: block;
}

/* END LOGIN PAGE */

/* FORGOT PASSWORD PAGE */

.forgot_username_link {
  display: flex;
  font-style: italic;
  gap: 1rem;
}

@media screen and (max-width: 600px) {
  .forgot_username_link {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* END FORGOT PASSWORD PAGE */

/* HELP PAGE */

.help_wrapper p {
  margin-top: 30px;
}

/* END HELP PAGE */

/* INDIVIDUAL INDEX PAGE */

.action-wrapper {
  margin-bottom: 10px;
}

/* END INDIVIDUAL INDEX PAGE */

/* STYLE OVERRIDES */

.no_top_margin {
  margin-top: 0;
}

.no_margin {
  margin: 0;
}

.top_margin_plus {
  margin-top: 40px !important;
}

.top_margin_no_bottom {
  margin-top: 40px;
  margin-bottom: 0;
}

  .top_margin_no_bottom + * {
    margin-top: 0;
  }

.plain_list {
  list-style-type: none;
  padding: 0;
}

.nobullet {
  list-style-type: none;
}

.page_text .page_text {
  margin: 0;
}

.ui-widget-header {
  border-color: #791214 !important;
  background: #791214 !important;
}

  .ui-widget-header .ui-icon {
    background-image: url(../ui-lightness/images/ui-icons_222222_256x240.png) !important;
  }

.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
  background-image: url(../ui-lightness/images/ui-icons_222222_256x240.png) !important;
  border: none !important;
}

/* END STYLE OVERRIDES */


/* /home/signup page */

.department_line {
    display: grid;
    width: 100%;
    justify-content: space-between;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 600px) {
  .department_line {
    gap: 0;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
  }
}

/* /home/welcomedlr page */

#dealer_signup img {
    max-width: 100%;
}

.password-set {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.password-set label {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.password-set label span:nth-child(1) {
    max-width: 20rem;
    width: 100%;
}

.password-set input {
    padding: 0.35rem;
    max-width: 30rem;
    width: 100%;
}

.password-set input[type='submit'] {
    width: fit-content;
}

@media screen and (max-width: 600px) {
    .password-set label {
        flex-direction: column;
        gap: 0;
    }
}

.income-section {
  margin-bottom: 20px;
}

.income-other {
  margin-bottom: 20px;
}

.annual-income-section {
  background-color: #fcc97c;
  padding: 10px;
  margin-top: 20px;
  max-width: 400px;
  float: left;
  text-align: left;
  width: 100%;
}

.annual-income-section .row {
  font-weight: bold;
  margin-bottom: 5px;
}

.annual-income-section .editor-field {
  padding: 5px;
  background-color: white;
}

.create-application-set {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.column-two-padding {
    padding-top: 248px;
}

@media screen and (max-width: 900px) {
    .column-two-padding {
        padding-top: 0px;
    }
}

@media screen and (max-width: 800px) {
  .create-application-set {
    flex-direction: column;
  }
  .disclaimer {
    max-width: 350px;
    clear: both;
  }
  .annual-income-section {
    clear:both;
  }
}

@media screen and (max-width: 400px) {
  .create-application-set {
    flex-direction: column;
  }
  .create-application-set label {
    flex-direction: column;
  }
  .disclaimer {
      max-width: 200px;
      text-align: left;
  }
}

