/* =========================================================
   QUOTE FORM
   ========================================================= */

:host {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}


.quote-section,
.quote-section *,
.quote-section *::before,
.quote-section *::after {
  box-sizing: border-box;
}


/* =========================================================
   SECTION
   ========================================================= */

.quote-section {
  --blue: #2A52BE;
  --text: #0b0d10;
  --body: #414952;
  --border: #cbd1d8;
  --field-border: #b9c1ca;
  --page-bg: #f0f3f7;
  --card-bg: #ffffff;

  /*
   * Keeps sticky Selected Service card
   * underneath the main website navbar.
   */
  --sticky-top: 112px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;

  padding:
    100px
    40px
    70px;

  background:
    var(--page-bg);

  color:
    var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  overflow: visible;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.quote-container {
  width: 100%;
  max-width: 1530px;
  min-width: 0;

  margin: 0 auto;

  overflow: visible;
}


/* =========================================================
   DESKTOP LAYOUT
   ========================================================= */

.quote-layout {
  width: 100%;
  min-width: 0;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(320px, 425px);

  gap: 50px;

  align-items: start;

  overflow: visible;
}


/* =========================================================
   FORM
   ========================================================= */

.quote-main {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.quote-side {
  width: 100%;
  min-width: 0;

  position: relative;

  align-self: stretch;

  overflow: visible;

  z-index: 0;
}


/* =========================================================
   PANELS
   ========================================================= */

.quote-panel {
  width: 100%;
  min-width: 0;

  margin:
    0
    0
    30px;

  padding:
    42px
    40px
    40px;

  background:
    var(--card-bg);

  border:
    1px
    solid
    var(--border);
}


/* =========================================================
   HEADINGS
   ========================================================= */

.quote-heading {
  display: flex;

  align-items: baseline;

  gap: 22px;

  margin:
    0
    0
    34px;
}


.quote-number {
  flex:
    0
    0
    auto;

  color:
    var(--blue);

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size:
    34px;

  line-height:
    1;

  font-weight:
    700;
}


.quote-title {
  min-width: 0;

  margin: 0;

  color:
    var(--text);

  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Arial,
    sans-serif;

  font-size:
    34px;

  line-height:
    1;

  font-weight:
    700;

  letter-spacing:
    -1px;
}


/* =========================================================
   GRIDS
   ========================================================= */

.quote-grid {
  width: 100%;
  min-width: 0;

  display: grid;

  gap: 24px;
}


.quote-grid.vehicle-grid {
  grid-template-columns:
    minmax(0, 3.2fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr);
}


.quote-grid.two-column {
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
}


.quote-grid.three-column {
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );
}


/* =========================================================
   FIELD
   ========================================================= */

.quote-field {
  width: 100%;
  min-width: 0;
}


.quote-field label,
.quote-label {
  display: block;

  margin:
    0
    0
    10px;

  color:
    #080b0e;

  font-size:
    17px;

  line-height:
    1.25;

  font-weight:
    700;
}


.quote-optional {
  color:
    #4d555e;

  font-weight:
    400;
}


/* =========================================================
   INPUTS
   ========================================================= */

.quote-field input,
.quote-field select,
.quote-field textarea {
  display: block;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;

  border:
    1px
    solid
    var(--field-border);

  border-radius: 0;

  background:
    #ffffff;

  color:
    #1d252d;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:
    17px;

  font-weight:
    400;

  line-height:
    1.25;

  outline: none;

  box-shadow:
    0
    2px
    3px
    rgba(0, 0, 0, 0.06);
}


.quote-field input,
.quote-field select {
  height: 61px;

  padding:
    0
    15px;
}


.quote-field textarea {
  min-height: 140px;

  padding:
    17px
    15px;

  resize: vertical;

  line-height: 1.4;
}


.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color:
    #4d5660;

  opacity: 1;
}


.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color:
    var(--blue);
}


/* =========================================================
   DISABLED FIELD
   ========================================================= */

.quote-field input:disabled,
.quote-field select:disabled,
.quote-field textarea:disabled {
  opacity: 0.65;

  cursor: not-allowed;

  background:
    #f5f6f7;
}


/* =========================================================
   SELECT
   ========================================================= */

.quote-field select {
  appearance: none;

  -webkit-appearance: none;

  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      #818890 50%
    ),
    linear-gradient(
      135deg,
      #818890 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 22px) 27px,
    calc(100% - 16px) 27px;

  background-size:
    6px 6px,
    6px 6px;

  background-repeat:
    no-repeat;

  padding-right:
    45px;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  cursor:
    pointer;
}


/* =========================================================
   SERVICE SPACING
   ========================================================= */

.quote-row-gap {
  margin-top:
    31px;
}


.concern-label {
  margin-bottom:
    16px;
}


/* =========================================================
   CONDITION CONCERNS
   ========================================================= */

.concerns-grid {
  width: 100%;
  min-width: 0;

  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap:
    15px;
}


.concern-item {
  width: 100%;
  min-width: 0;

  min-height:
    61px;

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  margin:
    0;

  padding:
    0
    15px;

  background:
    #ffffff;

  border:
    1px
    solid
    var(--field-border);

  cursor:
    pointer;
}


.concern-item input {
  appearance:
    none;

  -webkit-appearance:
    none;

  width:
    21px;

  height:
    21px;

  min-width:
    21px;

  flex:
    0
    0
    21px;

  margin:
    0;

  padding:
    0;

  border:
    1px
    solid
    var(--blue);

  border-radius:
    0;

  background:
    #ffffff;

  cursor:
    pointer;
}


.concern-item input:checked {
  background:
    var(--blue);

  box-shadow:
    inset
    0
    0
    0
    4px
    #ffffff;
}


.concern-item span {
  min-width:
    0;

  color:
    #11171d;

  font-size:
    17px;

  line-height:
    1.2;
}


/* =========================================================
   HELP / SCHEDULING
   ========================================================= */

.quote-help,
.quote-hours-note {
  margin:
    9px
    0
    0;

  color:
    #505963;

  font-size:
    14px;

  line-height:
    1.5;
}


.quote-hours-note strong {
  color:
    #303942;

  font-weight:
    700;
}


.quote-date-error {
  margin:
    9px
    0
    0;

  color:
    #b42318;

  font-size:
    14px;

  font-weight:
    600;

  line-height:
    1.45;
}


/* =========================================================
   SELECTED SERVICE
   ========================================================= */

.selected-card {
  position:
    sticky;

  top:
    var(--sticky-top);

  width:
    100%;

  min-width:
    0;

  min-height:
    339px;

  padding:
    33px
    30px
    31px;

  background:
    #ffffff;

  border:
    1px
    solid
    var(--border);

  z-index:
    0;
}


.selected-label {
  margin:
    0
    0
    45px;

  color:
    var(--blue);

  font-size:
    15px;

  line-height:
    1.2;

  font-weight:
    700;

  letter-spacing:
    1.5px;
}


.selected-description {
  width:
    100%;

  max-width:
    330px;

  margin:
    0;

  color:
    #4c545d;

  font-size:
    17px;

  line-height:
    1.65;
}


.selected-divider {
  width:
    100%;

  height:
    1px;

  margin:
    67px
    0
    23px;

  background:
    #d1d6dc;
}


.selected-note {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    13px;

  margin-top:
    15px;

  color:
    #4e5760;

  font-size:
    15px;

  line-height:
    1.45;
}


.selected-check {
  flex:
    0
    0
    auto;

  color:
    var(--blue);

  font-size:
    20px;

  line-height:
    1;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.quote-submit-wrap {
  width:
    100%;

  min-width:
    0;

  padding-top:
    30px;

  border-top:
    1px
    solid
    #cbd1d8;
}


.quote-submit {
  min-width:
    287px;

  min-height:
    61px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0
    30px;

  border:
    0;

  border-radius:
    0;

  background:
    var(--blue);

  color:
    #ffffff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:
    17px;

  font-weight:
    700;

  cursor:
    pointer;

  transition:
    opacity
    0.2s
    ease;
}


.quote-submit:hover {
  opacity:
    0.92;
}


.quote-submit:disabled {
  opacity:
    0.65;

  cursor:
    wait;
}


/* =========================================================
   STATUS
   ========================================================= */

.quote-submit-status {
  min-height:
    24px;

  margin-top:
    14px;

  font-size:
    14px;

  line-height:
    1.5;
}


.quote-success {
  color:
    #157347;

  font-weight:
    700;
}


.quote-error {
  color:
    #b42318;

  font-weight:
    700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.quote-footer-text {
  width:
    100%;

  max-width:
    820px;

  margin:
    8px
    0
    0;

  color:
    #4d5660;

  font-size:
    16px;

  line-height:
    1.8;
}


/* =========================================================
   HIDDEN GOOGLE IFRAME
   ========================================================= */

.quote-submit-frame {
  position:
    absolute;

  width:
    1px;

  height:
    1px;

  border:
    0;

  padding:
    0;

  margin:
    -1px;

  overflow:
    hidden;

  clip:
    rect(0, 0, 0, 0);

  white-space:
    nowrap;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.quote-honeypot {
  position:
    absolute !important;

  left:
    -99999px !important;

  top:
    auto !important;

  width:
    1px !important;

  height:
    1px !important;

  overflow:
    hidden !important;
}


/* =========================================================
   TABLET
   768 — 991
   ========================================================= */

.quote-section[data-layout="tablet"] {
  padding:
    60px
    24px
    50px;
}


.quote-section[data-layout="tablet"]
.quote-layout {
  display:
    block;

  width:
    100%;
}


.quote-section[data-layout="tablet"]
.quote-main,
.quote-section[data-layout="tablet"]
.quote-side {
  width:
    100%;

  max-width:
    100%;

  min-width:
    0;
}


.quote-section[data-layout="tablet"]
.quote-side {
  margin-top:
    30px;
}


.quote-section[data-layout="tablet"]
.quote-panel {
  width:
    100%;

  padding:
    36px
    32px;

  margin-bottom:
    24px;
}


.quote-section[data-layout="tablet"]
.quote-grid.vehicle-grid {
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    20px;
}


.quote-section[data-layout="tablet"]
.vehicle-category {
  grid-column:
    1 /
    -1;
}


.quote-section[data-layout="tablet"]
.quote-grid.two-column {
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    20px;
}


.quote-section[data-layout="tablet"]
.quote-grid.three-column {
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    18px;
}


.quote-section[data-layout="tablet"]
.concerns-grid {
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    14px;
}


.quote-section[data-layout="tablet"]
.concern-item span {
  font-size:
    16px;
}


.quote-section[data-layout="tablet"]
.selected-card {
  position:
    relative;

  top:
    auto;

  width:
    100%;

  min-height:
    auto;

  z-index:
    auto;
}


.quote-section[data-layout="tablet"]
.selected-description {
  max-width:
    650px;
}


.quote-section[data-layout="tablet"]
.selected-divider {
  margin:
    35px
    0
    23px;
}


/* =========================================================
   MOBILE LANDSCAPE
   480 — 767
   ========================================================= */

.quote-section[data-layout="mobile-landscape"] {
  padding:
    40px
    20px
    45px;
}


.quote-section[data-layout="mobile-landscape"]
.quote-layout {
  display:
    block;

  width:
    100%;
}


.quote-section[data-layout="mobile-landscape"]
.quote-main,
.quote-section[data-layout="mobile-landscape"]
.quote-side {
  width:
    100%;

  max-width:
    100%;

  min-width:
    0;
}


.quote-section[data-layout="mobile-landscape"]
.quote-side {
  margin-top:
    24px;
}


.quote-section[data-layout="mobile-landscape"]
.quote-panel {
  padding:
    30px
    24px;

  margin-bottom:
    20px;
}


.quote-section[data-layout="mobile-landscape"]
.quote-heading {
  gap:
    15px;

  margin-bottom:
    28px;
}


.quote-section[data-layout="mobile-landscape"]
.quote-number,
.quote-section[data-layout="mobile-landscape"]
.quote-title {
  font-size:
    29px;
}


.quote-section[data-layout="mobile-landscape"]
.quote-grid.vehicle-grid,
.quote-section[data-layout="mobile-landscape"]
.quote-grid.two-column,
.quote-section[data-layout="mobile-landscape"]
.quote-grid.three-column {
  grid-template-columns:
    minmax(0, 1fr);
}


.quote-section[data-layout="mobile-landscape"]
.vehicle-category {
  grid-column:
    auto;
}


.quote-section[data-layout="mobile-landscape"]
.concerns-grid {
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    12px;
}


.quote-section[data-layout="mobile-landscape"]
.selected-card {
  position:
    relative;

  top:
    auto;

  width:
    100%;

  min-height:
    auto;

  z-index:
    auto;
}


.quote-section[data-layout="mobile-landscape"]
.quote-submit {
  width:
    100%;

  min-width:
    0;
}


/* =========================================================
   MOBILE PORTRAIT
   0 — 479
   ========================================================= */

.quote-section[data-layout="mobile-portrait"] {
  padding:
    28px
    14px
    36px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-layout {
  display:
    block;

  width:
    100%;
}


.quote-section[data-layout="mobile-portrait"]
.quote-main,
.quote-section[data-layout="mobile-portrait"]
.quote-side {
  width:
    100%;

  max-width:
    100%;

  min-width:
    0;
}


.quote-section[data-layout="mobile-portrait"]
.quote-side {
  margin-top:
    22px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-panel {
  padding:
    24px
    16px;

  margin-bottom:
    20px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-heading {
  gap:
    12px;

  margin-bottom:
    25px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-number,
.quote-section[data-layout="mobile-portrait"]
.quote-title {
  font-size:
    25px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-grid.vehicle-grid,
.quote-section[data-layout="mobile-portrait"]
.quote-grid.two-column,
.quote-section[data-layout="mobile-portrait"]
.quote-grid.three-column {
  grid-template-columns:
    minmax(0, 1fr);
}


.quote-section[data-layout="mobile-portrait"]
.vehicle-category {
  grid-column:
    auto;
}


.quote-section[data-layout="mobile-portrait"]
.concerns-grid {
  grid-template-columns:
    minmax(0, 1fr);
}


.quote-section[data-layout="mobile-portrait"]
.concern-item {
  min-height:
    56px;
}


.quote-section[data-layout="mobile-portrait"]
.selected-card {
  position:
    relative;

  top:
    auto;

  width:
    100%;

  min-height:
    auto;

  padding:
    26px
    20px;

  z-index:
    auto;
}


.quote-section[data-layout="mobile-portrait"]
.selected-label {
  margin-bottom:
    28px;
}


.quote-section[data-layout="mobile-portrait"]
.selected-divider {
  margin:
    30px
    0
    20px;
}


.quote-section[data-layout="mobile-portrait"]
.quote-submit {
  width:
    100%;

  min-width:
    0;
}


.quote-section[data-layout="mobile-portrait"]
.quote-footer-text {
  font-size:
    15px;
}
