html.route-information-testimonial body {
  background: #f7f8f9;
}

html.route-information-testimonial body #content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 72px;
  color: #171a1f;
}

html.route-information-testimonial body #content > h1 {
  margin: 0;
  color: #171a1f;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-align: center;
}

html.route-information-testimonial body .nn-testimonials-intro {
  max-width: 650px;
  margin: 10px auto 28px;
  color: #747b84;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

html.route-information-testimonial body #content > .buttons:first-of-type {
  display: flex !important;
  min-height: 0 !important;
  justify-content: center !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

html.route-information-testimonial body #content > .buttons:first-of-type .pull-right {
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

html.route-information-testimonial body #button-toggle,
html.route-information-testimonial body #button-testimonial {
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: #101214;
  box-shadow: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

html.route-information-testimonial body #button-toggle:hover,
html.route-information-testimonial body #button-testimonial:hover {
  transform: translateY(-1px);
  background: #24272b;
  box-shadow: 0 8px 22px rgba(16, 18, 20, .14);
}

html.route-information-testimonial body #form-testimonial {
  box-sizing: border-box;
  margin: 0 0 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #e3e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(31, 39, 48, .06);
}

html.route-information-testimonial body #form-testimonial.nn-testimonial-form-open {
  animation: nn-testimonial-form-in .28s ease both;
}

@keyframes nn-testimonial-form-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

html.route-information-testimonial body #form-testimonial > .form-group {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eef0f2;
}

html.route-information-testimonial body #form-testimonial > .form-group:nth-of-type(1),
html.route-information-testimonial body #form-testimonial > .form-group:nth-of-type(2) {
  display: block;
}

html.route-information-testimonial body #form-testimonial > .form-group:last-of-type {
  border-bottom: 0;
}

html.route-information-testimonial body #form-testimonial .col-sm-12,
html.route-information-testimonial body #form-testimonial .col-md-2,
html.route-information-testimonial body #form-testimonial .col-md-10 {
  width: auto;
  min-width: 0;
  padding: 0;
  float: none;
}

html.route-information-testimonial body #form-testimonial label.control-label {
  display: block;
  margin: 0 0 8px;
  color: #303640;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

html.route-information-testimonial body #form-testimonial .form-control {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dce1e6;
  border-radius: 10px;
  background: #fbfcfd;
  box-shadow: none;
  color: #171a1f;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

html.route-information-testimonial body #form-testimonial textarea.form-control {
  min-height: 138px;
  resize: vertical;
}

html.route-information-testimonial body #form-testimonial .form-control:focus {
  border-color: #f35f24;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(243, 95, 36, .11);
}

html.route-information-testimonial body #form-testimonial .rating {
  display: inline-flex;
  gap: 5px;
  min-height: 38px;
  align-items: center;
}

html.route-information-testimonial body #form-testimonial .rating > span {
  width: 34px;
  height: 34px;
  color: #c8ced5;
  cursor: pointer;
  outline: 0;
  transition: color .15s ease, transform .15s ease;
}

html.route-information-testimonial body #form-testimonial .rating > span:hover,
html.route-information-testimonial body #form-testimonial .rating > span:focus,
html.route-information-testimonial body #form-testimonial .rating > span.nn-selected {
  color: #ffb400;
  transform: translateY(-1px);
}

html.route-information-testimonial body #form-testimonial .rating > span .fa {
  color: inherit !important;
  font-size: 31px !important;
}

html.route-information-testimonial body #form-testimonial .btn-sm {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #d9dee4;
  border-radius: 9px;
  background: #ffffff;
  color: #22272d;
  font-size: 13px;
  font-weight: 700;
}

html.route-information-testimonial body #form-testimonial .btn-sm:hover {
  border-color: #f35f24;
  color: #f35f24;
}

html.route-information-testimonial body #form-testimonial .btn-danger {
  color: #d73333;
}

html.route-information-testimonial body #form-testimonial small,
html.route-information-testimonial body #form-testimonial .help-block {
  color: #858c95;
  font-size: 12px;
}

html.route-information-testimonial body #form-testimonial > .buttons {
  margin: 0;
  padding: 18px 0 0;
  text-align: right;
}

html.route-information-testimonial body #form-testimonial > .buttons .pull-right {
  float: none !important;
}

html.route-information-testimonial body #button-testimonial {
  min-width: 190px;
}

html.route-information-testimonial body #content > .row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, .65fr) minmax(0, 1.45fr);
  gap: 18px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid #e3e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(31, 39, 48, .045);
}

html.route-information-testimonial body #content > .row > [class*="col-"] {
  width: 100% !important;
  min-width: 0;
  padding: 0;
  float: none !important;
  order: initial !important;
}

html.route-information-testimonial body #content > .row > .col-md-3:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html.route-information-testimonial body #content > .row > .col-md-3:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

html.route-information-testimonial body #content > .row > .col-md-6:nth-child(3) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

html.route-information-testimonial body #content > .row label {
  display: block;
  margin: 0 0 7px;
  color: #636b75;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
}

html.route-information-testimonial body #content > .row select.form-control {
  width: 100% !important;
  min-height: 44px;
  padding: 9px 38px 9px 12px;
  border: 1px solid #dce1e6;
  border-radius: 10px;
  background-color: #fbfcfd;
  box-shadow: none;
  color: #303640;
  font-size: 13px;
}

html.route-information-testimonial body #content > .row > .col-md-6 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
  align-items: center;
}

html.route-information-testimonial body #content > .row > .col-md-6 > .pull-right,
html.route-information-testimonial body #content > .row > .col-md-6 > .pull-right > div {
  display: flex !important;
  width: 100% !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  float: none !important;
  text-align: left !important;
}

html.route-information-testimonial body #content > .row > .col-md-6 > .pull-right > div > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 99px;
  background: #f4f6f8;
  color: #4f5761;
  font-size: 13px;
  line-height: 1.2;
}

html.route-information-testimonial body #content > .row > .col-md-6 > .pull-right > div > span:last-child {
  flex-basis: 100%;
  width: fit-content;
  background: #fff6ef;
}

html.route-information-testimonial body #content > .row .rating .fa-star,
html.route-information-testimonial body #testimonial .rating .fa-star {
  color: #ffbd00 !important;
}

html.route-information-testimonial body #content > .row .rating .fa-star-o,
html.route-information-testimonial body #testimonial .rating .fa-star-o {
  color: #c7cdd4 !important;
}

html.route-information-testimonial body #testimonial {
  display: grid;
  gap: 14px;
}

html.route-information-testimonial body #testimonial > table.nn-testimonial-card {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e7eb;
  border-radius: 18px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(31, 39, 48, .045);
}

html.route-information-testimonial body #testimonial > table.nn-testimonial-card > tbody > tr > td {
  padding: 22px;
  border: 0;
  background: transparent;
  vertical-align: top;
}

html.route-information-testimonial body #testimonial > table.nn-testimonial-card > tbody > tr > td.nn-testimonial-avatar {
  width: 92px;
  padding-right: 0;
}

html.route-information-testimonial body .nn-testimonial-avatar img {
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 50%;
  background: #f6f7f8;
  object-fit: cover;
}

html.route-information-testimonial body .nn-testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 13px;
}

html.route-information-testimonial body .nn-testimonial-meta > i:first-of-type {
  color: #171a1f;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

html.route-information-testimonial body .nn-testimonial-meta > i:last-of-type {
  margin-left: auto;
  color: #8a919a;
  font-size: 12px;
  font-style: normal;
}

html.route-information-testimonial body .nn-testimonial-meta .rating {
  display: inline-flex;
  margin-left: 2px;
}

html.route-information-testimonial body .nn-testimonial-label {
  margin: 0 0 6px;
  color: #858c95;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

html.route-information-testimonial body .nn-testimonial-text {
  margin: 0;
  color: #3d444d;
  font-size: 15px;
  line-height: 1.6;
}

html.route-information-testimonial body .nn-testimonial-reply {
  position: relative;
  margin: 17px 0 0;
  padding: 14px 16px 14px 42px;
  border: 0;
  border-radius: 12px;
  background: #f4f7f6;
  color: #42504a;
  font-size: 14px;
  line-height: 1.5;
}

html.route-information-testimonial body .nn-testimonial-reply::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #dff3e8;
  color: #198a4d;
  font-size: 11px;
  font-weight: 900;
}

html.route-information-testimonial body #testimonial > .text-right {
  margin: 8px 0 0;
  text-align: center;
}

html.route-information-testimonial body #testimonial .pagination {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

html.route-information-testimonial body #testimonial .pagination > li > a,
html.route-information-testimonial body #testimonial .pagination > li > span {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid #dfe3e7;
  border-radius: 9px;
  background: #ffffff;
  color: #303640;
}

html.route-information-testimonial body #testimonial .pagination > .active > span,
html.route-information-testimonial body #testimonial .pagination > li > a:hover {
  border-color: #101214;
  background: #101214;
  color: #ffffff;
}

html.route-information-testimonial body .alert {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 39, 48, .08);
}

@media (max-width: 767px) {
  html.route-information-testimonial body #content {
    padding: 28px 14px 84px;
  }

  html.route-information-testimonial body #content > h1 {
    font-size: 30px;
    line-height: 1.16;
  }

  html.route-information-testimonial body .nn-testimonials-intro {
    margin: 8px auto 20px;
    font-size: 14px;
  }

  html.route-information-testimonial body #button-toggle,
  html.route-information-testimonial body #button-testimonial {
    width: 100%;
  }

  html.route-information-testimonial body #form-testimonial {
    padding: 18px 16px;
    border-radius: 16px;
  }

  html.route-information-testimonial body #form-testimonial > .form-group {
    display: block;
    padding: 13px 0;
  }

  html.route-information-testimonial body #form-testimonial > .form-group > div + div {
    margin-top: 8px;
  }

  html.route-information-testimonial body #form-testimonial .rating > span {
    width: 32px;
    height: 32px;
  }

  html.route-information-testimonial body #content > .row {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 14px 10px;
    padding: 16px;
    border-radius: 16px;
  }

  html.route-information-testimonial body #content > .row > .col-md-6 {
    grid-column: 1 / -1;
    grid-row: 2 !important;
  }

  html.route-information-testimonial body #testimonial {
    gap: 12px;
  }

  html.route-information-testimonial body #testimonial > table.nn-testimonial-card {
    border-radius: 15px;
  }

  html.route-information-testimonial body #testimonial > table.nn-testimonial-card > tbody > tr {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
  }

  html.route-information-testimonial body #testimonial > table.nn-testimonial-card > tbody > tr > td {
    display: block;
    width: auto;
    padding: 16px;
  }

  html.route-information-testimonial body #testimonial > table.nn-testimonial-card > tbody > tr > td.nn-testimonial-avatar {
    width: auto;
    padding-right: 0;
  }

  html.route-information-testimonial body .nn-testimonial-avatar img {
    width: 48px;
    height: 48px;
  }

  html.route-information-testimonial body .nn-testimonial-meta {
    gap: 5px 8px;
    margin-bottom: 10px;
  }

  html.route-information-testimonial body .nn-testimonial-meta > i:last-of-type {
    width: 100%;
    margin-left: 0;
  }

  html.route-information-testimonial body .nn-testimonial-text {
    font-size: 14px;
    line-height: 1.55;
  }

  html.route-information-testimonial body .nn-testimonial-reply {
    padding: 13px 13px 13px 38px;
    font-size: 13px;
  }
}
