*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  min-height:100%;
  background:#0752a7;
  font-family:Arial,Helvetica,sans-serif;
}

body{
  overflow-x:hidden;
}

.page{
  position:relative;
  width:min(100vw,1408px);
  margin:0 auto;
}

.background{
  display:block;
  width:100%;
  height:auto;
}

.quote-live{
  position:absolute;
  inset:0;
  pointer-events:none;
}


/* ============================================================
   LIVE QUOTE FIELDS
   ============================================================ */

.quote-live input,
.quote-live select{
  position:absolute;
  pointer-events:auto;
  border:0;
  border-radius:4px;
  background:#fff;
  color:#173d71;
  font:500 clamp(9px,1vw,16px) Arial,Helvetica,sans-serif;
  padding:0 .35%;
  outline:none;
  box-shadow:none;
  appearance:auto;
}

.quote-live input:focus,
.quote-live select:focus{
  box-shadow:inset 0 0 0 2px #31d719;
}

.quote-live .invalid{
  box-shadow:inset 0 0 0 2px #d93025;
}


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

#pickupZip{
  left:70.45%;
  top:28.88%;
  width:10.65%;
  height:3.12%;
}

#deliveryZip{
  left:84.55%;
  top:28.88%;
  width:10.65%;
  height:3.12%;
}

#vehicleType{
  left:70.45%;
  top:37.05%;
  width:10.65%;
  height:3.12%;
}

#condition{
  left:84.55%;
  top:37.05%;
  width:10.65%;
  height:3.12%;
}

#transportType{
  left:70.45%;
  top:45.45%;
  width:10.65%;
  height:3.12%;
}

#serviceLevel{
  left:84.55%;
  top:45.45%;
  width:10.65%;
  height:3.12%;
}

#pickupDate{
  left:70.45%;
  top:53.65%;
  width:24.75%;
  height:3.15%;
}


/* ============================================================
   GET MY QUOTE BUTTON
   ============================================================ */

#quoteButton{
  position:absolute;
  pointer-events:auto;
  left:67.8%;
  top:57.0%;
  width:28.4%;
  height:5.65%;
  border:0;
  background:transparent;
  cursor:pointer;
  border-radius:8px;
}

#quoteButton:hover{
  background:rgba(255,255,255,.08);
}

#quoteButton:focus{
  outline:3px solid rgba(255,255,255,.7);
  outline-offset:-4px;
}


/* ============================================================
   QUOTE RESULT WINDOW
   ============================================================ */

dialog{
  width:min(95vw,680px);
  border:0;
  border-radius:18px;
  padding:22px 26px 22px;
  color:#133c78;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.32);
  overflow:visible;
}

dialog::backdrop{
  background:rgba(0,32,78,.55);
}

dialog h2{
  margin:0;
  padding-right:45px;
  color:#0e59b5;
  font-size:27px;
  line-height:1.1;
}

dialog .es{
  margin:4px 0 12px;
  color:#4c6d9b;
  line-height:1.2;
}


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.close{
  position:absolute;
  right:14px;
  top:10px;
  width:40px;
  height:40px;
  border:0;
  background:none;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  color:#42618b;
}

.close:hover{
  background:#f3f7fb;
  border-radius:8px;
}


/* ============================================================
   QUOTE SUMMARY
   ============================================================ */

.summary-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:12px 0;
}

.summary-grid div{
  min-height:58px;
  background:#f3f7fb;
  border-radius:9px;
  padding:8px 10px;
  line-height:1.2;
  font-size:14px;
}

.summary-grid strong{
  display:block;
  color:#174f9b;
  margin-bottom:3px;
  font-size:14px;
}


/* ============================================================
   CUSTOMER PRICE AREA
   ============================================================ */

.price-area{
  margin:12px 0 0;
  padding:13px 15px;
  border-radius:10px;
  background:#ecffea;
  color:#176b18;
  line-height:1.3;
}

.price-area strong{
  line-height:1.2;
}

.price-area span{
  display:inline-block;
  max-width:100%;
}


/* ============================================================
   NOTES / DISCLAIMERS
   ============================================================ */

.note{
  margin-top:8px;
  font-size:11px;
  color:#61728a;
  line-height:1.3;
}


/* ============================================================
   SMALLER SCREENS
   ============================================================ */

@media(max-width:760px){

  .quote-live input,
  .quote-live select{
    font-size:8px;
    padding:0 .2%;
  }

  dialog{
    width:94vw;
    padding:18px 16px;
  }

  dialog h2{
    font-size:22px;
  }

  .summary-grid{
    gap:7px;
  }

  .summary-grid div{
    min-height:54px;
    padding:8px;
    font-size:12px;
  }

  .summary-grid strong{
    font-size:12px;
  }

  .price-area{
    padding:12px;
  }

}


@media(max-width:520px){

  .summary-grid{
    grid-template-columns:1fr 1fr;
  }

  dialog{
    width:96vw;
  }

}