/* KIOSK OVERRIDES */

* {
  -webkit-touch-callout: none;
}

body {
  background-image: url('images/white-waves-bg.png');
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}

#dealerID {
  font-size: 16px;
  font-weight: 500;
  color: #3E4850;
}

#pageWrap {
  width: 100%;
  display: flex !important;
  flex-direction: column;
}

.shell {
  width: 90% !important;
}

#refreshSessionBtn {
  margin-bottom: 0 !important;
}

.sectionheader h1 {
  font-size: 2.4em;
}

.errorsection {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92.5vh; /* full page height minus header height */
}

  .errorsection .sectioncontent {
    border-radius: 12px;
  }

  .errorsection .sectionheader h1 {
    font-size: 2em;
    text-align: center;
  }

  .errorsection .innersection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 24px;
  }

    .errorsection .innersection .errornotice {
      margin-bottom: 24px;
    }

    .errorsection .innersection svg {
      align-self: center;
      margin-bottom: 16px;
    }

.errorpagebutton {
  border: none;
  background-color: #B71C1C;
  margin: 0 !important;
  margin-top: 24px !important;
  width: 100%;
  padding: 10px 24px !important;
  font-size: 14px !important;
}

  .errorpagebutton:hover,
  .errorpagebutton:focus {
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 1px 3px 1px rgba(0, 0, 0, 0.15);
  }

  .errorpagebutton:active {
    box-shadow: none;
  }

h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.tile h4 {
  margin: 10px 0;
  font-weight: 600;
  font-size: 1.4em;
}

#dealerNumberLabel {
  margin-bottom: 32px;
}

.starting-section {
  height: 92.5vh;
  padding: 0;
}

@media only screen and (max-height: 800px) {
  .starting-section {
    height: auto;
  }

  #outerShell {
    margin: 24px auto 46px;
  }
}

.resume-buttons-container {
  display: flex;
  justify-content: flex-end;
}

#maincontent {
  background: #ffffff;
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding: 24px;
  border-radius: 12px;
  margin: 32px auto 60px;
}

.starting-container, .submitted-container {
  background: #ffffff;
  max-width: 544px !important;
  margin: auto;
  padding: 24px 32px !important;
}

  .starting-container h1 {
    font-size: 48px;
    line-height: 56px;
  }

@media only screen and (max-width: 600px) {
  .starting-container h1 {
    font-size: 36px;
    line-height: 36px;
  }
}

.starting-container button {
  padding: 10px 24px;
  height: 40px;
}

#linkCodeGeneratorContainer .starting-container {
  padding: 24px 24px 32px !important;
}

#linkCodeGeneratorHeadingContainer h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
}

#linkCodeGeneratorHeadingContainer .input-wrap:last-child {
  margin-bottom: 4px;
}

.submitted-container h1 {
  font-size: 24px;
}

.select-resume-container {
  background: #ffffff;
  max-width: 560px !important;
  margin: auto;
}

#applicationselectcontent {
  background: #ffffff;
  width: 90%;
  max-width: 560px !important;
  border-radius: 12px;
  margin: auto;
  padding: 24px;
}

  #applicationselectcontent h1 {
    color: #171C20;
    font-size: 24px;
    line-height: 32px;
  }

  #applicationselectcontent button {
    width: 100%;
    background: #fff;
    margin-bottom: 16px;
    height: 45px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
    text-align: center;
    line-height: 20px;
  }

    #applicationselectcontent button:nth-last-of-type(0) {
      margin-bottom: 0;
    }

#applicationList {
  margin-top: 40px;
}

  #applicationList .goback {
    padding: 10px;
    color: #1B1C1D !important;
  }

    #applicationList .goback:hover {
      color: #999999 !important;
    }

#header {
  padding: 16px;
}


@media screen and (max-width: 600px) {
  #headerButtons {
    justify-content: center;
    margin: 16px 0 0;
  }
}

#headerNavLinks .icon {
  display: inline-block;
  margin: 0;
  padding: 7px 12px;
  vertical-align: middle;
  text-decoration: none;
  font-size: 1.8em;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 3px;
  box-shadow: none;
  color: black;
  border-color: #e5e5e5;
  background-color: #ffffff;
}

  #headerNavLinks .icon:hover,
  #headerNavLinks .icon:focus {
    background-color: #eeeeee;
  }

  #headerNavLinks .icon.errorbutton,
  .errorbutton {
    color: #b71c1c !important;
    background: #ffebee !important;
    border-color: #b71c1c !important;
  }

    #headerNavLinks .icon.errorbutton:not(.active):hover,
    .errorbutton:hover,
    #headerNavLinks .icon.errorbutton:not(.active):focus,
    .errorbutton:focus {
      color: #b71c1c !important;
      background: #e6c1c7 !important
    }

#leftheader {
  cursor: default;
}

.hugeinput {
  padding: 16px;
  border-width: 1px;
  font-size: 1.6em;
}

.quickbutton {
  margin: 0 1px !important;
  padding: 2px 4px;
  min-width: 25px;
}

.application-container {
  max-width: 750px !important;
  margin: 32px auto 48px !important;
}

.smalltxt {
  font-size: 9px;
}

.tipsContent.smalltxt {
  font-size: 8px;
}

#errorSummary a {
  font-size: 1.4em;
}

.anchor-offset {
  margin-top: -112px;
  padding-top: 112px;
}

/* BRANCH SELECTION */

.branches {
  display: block;
}

.branches__branch {
  will-change: border-left-width;
  -webkit-transition: border-left-width 170ms ease-out;
  -o-transition: border-left-width 170ms ease-out;
  transition: border-left-width 170ms ease-out;
  font-size: 10px;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #FFFFFF;
  border-left: 5px solid #757575;
  border-radius: 4px;
  border: 1px solid #424242;
  border-left-width: 5px;
  cursor: pointer;
}

  .branches__branch:hover,
  .branches__branch:focus {
    border-left-width: 15px;
  }

  .branches__branch.branches__branch--selected {
    border-left-width: 15px;
    border-color: #000000;
    background-color: #EEEEEE;
  }

.branches__branch-header {
  display: block;
  margin: 0;
  font-size: 2.5em;
  font-weight: 500;
}

.branches__branch-detail {
  margin: 0;
  font-size: 1.4em;
  color: rgba(0, 0, 0, 0.7);
}

#submittedContent .fakelabel {
  color: #43474E;
  font-size: 16px;
}

  #submittedContent .fakelabel label {
    font-weight: 600;
  }

#saveLaterButton {
  margin-right: 32px;
}

@supports (display: grid) {
  .branches {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
    -ms-grid-columns: (1fr)[3];
    grid-template: auto / repeat(3, 1fr);
    grid-gap: 20px;
  }

  .branches__branch {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0;
    width: unset;
  }
}

/* Tables ---------*/
th.large {
  width: 190px !important;
  padding: 3px 10px;
}

/* Disclosure checkboxes — consistent spacing and inline layout */
.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 4px 0;
	margin-top: 16px;
}

.checkbox-label .rc__input-fake--checkbox {
	flex-shrink: 0;
	margin: 0;
}


/* Shared Tablet Portrait and Mobile Views ----------- */
@media only screen and (max-width: 989px) {
  .branches {
    -ms-grid-rows: auto;
    -ms-grid-columns: (1fr)[2];
    grid-template: auto / repeat(2, 1fr);
  }
}

/* Account for navigation buttons for hiding */
@media only screen and (max-width: 767px) {
  #mobileNavButtons {
    display: block;
  }

    #mobileNavButtons .errorbutton {
      position: relative;
      top: 6px;
      font-size: .72em;
    }

  #rightheadercontent, #headerNavLinks {
    display: none;
  }
}

/* Smartphone ----------- */
@media only screen and (max-width: 500px) {
  .branches {
    -ms-grid-rows: auto;
    -ms-grid-columns: 1fr;
    grid-template: auto / 1fr;
  }
}

@media only screen and (max-width : 599px) {
  .branchtile {
    margin: 10px 0;
    width: 100%;
  }

  #dealerID {
    display: none;
  }

  #topLinks {
    display: block;
  }

  #SubmitButtons .left, #SubmitButtons .right {
    width: 100%;
  }

  button.button--new, button.button--kiosk, #newTileCheckBtn, #saveLaterButton {
    min-width: 230px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  button.button--discard {
    width: 100%;
    margin-bottom: 8px;
  }

  button.button--header {
    width: 100%;
  }

  #leftheader img {
    height: 24px;
  }

  /* Hide Save for Later and Discard Application buttons in header on mobile */
  #applicationActionLinks {
    display: none !important;
  }
}

/* Hide Mobile Nav Again on Resize */
@media only screen and (min-width : 700px) {
  #mobileNav {
    display: none !important;
  }
}
