@use "sass:math";
/* media query mixin */
/* get rid of list formatting */
/* prevent long links from breaking out of container */
/* creates a colored circle with an icon in the middle */
/* formats the placeholder text within an input field */
#toll-calculator {
  padding-block: 3.75rem;
  font-size: 1.125rem; }
  #toll-calculator select,
  #toll-calculator .radio-button-box {
    border-width: 2px; }
    #toll-calculator select:hover,
    #toll-calculator .radio-button-box:hover {
      border: 2px solid #ffcf3e;
      box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25); }
  #toll-calculator .form-select--filled {
    border: 2px solid #2b2b2b; }
  #toll-calculator .form-select--disabled {
    background-color: transparent;
    border-color: #777;
    color: #707070; }

.calc-points {
  display: none;
  position: relative;
  width: 2rem; }
  @media (min-width: 48rem) {
    .calc-points {
      display: block; } }

.calc-points-img--start,
.calc-points-img--dots,
.calc-points-img--end {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%); }

.calc-points-img--start {
  inset-block-start: -2rem;
  width: 0.875rem; }

.calc-points-img--dots {
  inset-block-start: 0;
  width: 0.25rem; }

.calc-points-img--end {
  inset-block-start: 2rem;
  width: 0.875rem; }

.calc-reverse-trip {
  width: 1.875rem; }

.calc-collapse {
  clear: both;
  max-height: 250px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 1rem;
  overflow: scroll;
  font-size: 0.93em;
  background-color: #fff;
  text-align: left; }
  .calc-collapse .card-body {
    padding: 30px 15px; }

.calc-vehicle button {
  display: flex;
  flex: 1 1 0; }
  @media (min-width: 48rem) {
    .calc-vehicle button {
      display: inline-block; } }
  .calc-vehicle button img {
    display: block;
    height: 2rem;
    margin-inline: auto;
    margin-block: 0.5rem 0.875rem;
    order: 1; }

.calc-vehicle-label {
  flex: 1 1 auto; }
  @media (max-width: 47.9375rem) {
    .calc-vehicle-label {
      text-align: left; } }
  .calc-vehicle-label strong {
    display: block;
    line-height: 1.2; }

.calc-form-col {
  flex: 1 1 38rem; }

.calc-map-col {
  flex: 1 1 30rem; }
  .calc-map-col > p > button {
    float: right;
    font-size: 1rem;
    text-decoration: underline; }

.calc-map {
  border: solid 1px #c6c6c6;
  background-color: #fff; }
  @media (min-width: 48rem) {
    .calc-map {
      border-radius: 0.8125rem; } }

.calc-map-link {
  display: inline-block;
  margin-block-end: 1rem; }
  @media (min-width: 48rem) {
    .calc-map-link {
      display: none; } }

.calc-message {
  margin-block: 1rem;
  font-size: 1.375rem;
  font-style: italic;
  color: #db2929; }

.calc-results {
  margin-block-start: 2.5rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.07);
  overflow: hidden; }
  .calc-results__head {
    padding: 1rem 2rem 0.75rem;
    font-size: 1.375rem;
    color: #fff;
    background-color: #2b2b2b; }
  .calc-results__price {
    font-size: 1.875rem;
    font-weight: bold; }
  .calc-results__text-xs {
    font-size: 0.9375rem; }
  .calc-results__text-sm {
    font-size: 1rem; }
  .calc-results__text-lg {
    font-size: 1.25rem; }
  .calc-results__time-img {
    width: 1.25rem; }
  .calc-results__cells {
    gap: 1px;
    padding-block-end: 1px;
    background-color: #d9d9d9; }
  .calc-results__cell {
    flex: 1 1 100%;
    padding: 1.5rem 1.875rem;
    background-color: #fff; }
    @media (min-width: 48rem) {
      .calc-results__cell {
        flex: 1 1 40%; } }
  .calc-results__container {
    position: relative; }

.calc-modal .modal-dialog {
  padding: 0; }

.calc-modal .modal-content {
  block-size: 100%;
  border: none;
  border-radius: 0 !important;
  background-color: #f4f4f4; }

.calc-modal .modal-header {
  min-height: 3.4375rem;
  padding: 0 0 0 1.25rem;
  background-color: #ffcf3e;
  border-radius: 0; }
  .calc-modal .modal-header .h5 {
    margin-block: 0; }

.calc-modal .js-modal-close {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  width: 3.4375rem;
  background-color: #2b2b2b; }
  .calc-modal .js-modal-close i {
    color: #fff; }

.calc-modal .modal-body {
  padding: 0; }

.calc-modal .modal-footer {
  justify-content: center;
  background-color: #f4f4f4; }

.calc-validation {
  display: flex;
  align-items: center;
  margin-block: 1rem;
  padding: 0.75rem 1rem;
  border: solid #DB2929 1px;
  border-radius: 0.5rem;
  color: #DB2929;
  background-color: #FFF7F7; }
  .calc-validation__point {
    display: inline-block;
    height: 20px;
    width: 20px;
    margin-right: 1rem;
    color: #F4F4F4;
    text-align: center;
    background-color: #DB2929;
    border-radius: 50%;
    line-height: 21px; }

.calc-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 0% 0%;
  width: 40px;
  height: 40px;
  border: 8px solid #2b2b2b;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  z-index: 2; }

@keyframes rotation {
  0% {
    transform: rotate(0deg) translate(-50%, -50%); }
  100% {
    transform: rotate(360deg) translate(-50%, -50%); } }

.calc-radio-button {
  display: grid;
  grid-template-columns: 28px auto;
  gap: 0.5rem; }
  .calc-radio-button input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    margin: 0;
    width: 28px;
    height: 28px;
    border: 2px solid #707070;
    border-radius: 50%;
    background-color: #fff;
    transform: translateY(-2px);
    display: grid;
    place-content: center; }
    .calc-radio-button input[type="radio"]::before {
      content: '';
      width: 1rem;
      height: 1rem;
      border-radius: 50%;
      transform: scale(0);
      transition: 150ms transform ease-in-out;
      background-color: #2B2B2B; }
    .calc-radio-button input[type="radio"]:checked::before {
      transform: scale(1); }
    .calc-radio-button input[type="radio"]:focus-visible {
      outline: 2px solid currentColor;
      outline-offset: 2px; }
  .calc-radio-button + .calc-radio-button {
    margin-block-start: 14px; }

/*# sourceMappingURL=toll-calculator.css.map */
