:root {
  --fs-h1: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --fs-h1-home: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);
  --fs-key: clamp(1.625rem, 1.35rem + 0.75vw, 2rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
  --fs-h1-rest: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem);
  --fs-lg: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --page: #fafafa;
  --page-band: #ebebeb;

  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(0, 0, 0, 0.07);
  --glass-blur: blur(20px) saturate(160%);
  --glass-hover: rgba(0, 0, 0, 0.03);

  --accent: #2f6fd0;
  --accent-hover: #2a62b8;
  --accent-text: #1b4c94;
  --accent-soft: rgba(47, 111, 208, 0.14);
  --accent-on-dark: #7aa9ee;
  --sea: #4ec3d9;
  --sea-text: #0f5f70;

  --ink: #1c1c1c;
  --ink-hover: #333333;
  --stage: #111111;
  --stage-blue: rgba(59, 130, 246, 0.2);
  --stage-red: rgba(239, 68, 68, 0.14);
  --dark: #303030;
  --scrim-rgb: 28, 28, 28;

  --line: #e5e5e5;
  --line-strong: #cfcfcf;
  --line-input: #a3a3a3;
  --line-on-dark: rgba(255, 255, 255, 0.1);

  --text-1: #141414;
  --text-body: #262626;
  --text-2: #595959;
  --text-3: #8a8a8a;
  --on-dark-1: #ffffff;
  --on-dark-2: #b3b3b3;
  --on-photo-2: #e0e0e0;

  --link: #1b4c94;
  --link-on-dark: #9dc4ff;
  --focus-ring: rgba(27, 76, 148, 0.22);

  --error: #b02a37;
  --error-text: #842029;
  --error-bg: #f8d7da;
  --success-text: #0f5132;
  --success-bg: #d1e7dd;
  --status-available: #198754;
  --status-ok-on-dark: #5fc48a;
  --status-available-border: #78bf9f;
  --status-available-glass: rgba(25, 135, 84, 0.5);

  --sh-glass: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 24px -8px rgba(0, 0, 0, 0.18);
  --sh-glass-hover: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 32px -10px rgba(0, 0, 0, 0.24);
  --sh-float: 0 2px 4px rgba(0, 0, 0, 0.06), 0 12px 24px -8px rgba(0, 0, 0, 0.16), 0 28px 56px -20px rgba(0, 0, 0, 0.28);
  --sh-stage: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
  --sh-btn: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(0, 0, 0, 0.2);
  --sh-btn-photo: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 10px -2px rgba(0, 0, 0, 0.45);
  --sh-num: 0 2px 6px -2px rgba(0, 0, 0, 0.25);
  --r-sm: 8px;
  --r-md: 12px;

  --section-gap: clamp(4rem, 8vw, 7rem);
  --section-gap-tight: clamp(3rem, 5vw, 4.5rem);
  --head-gap: clamp(1.5rem, 2.5vw, 2.25rem);
  --measure: 40rem;
  --measure-wide: 52rem;
  --overlap: 56px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  background-color: var(--page);
}

.gotham-pro {
  font-family: "GothamPro", serif;
}

.gotham-med {
  font-family: "GothamMed", serif;
}

body {
  font-family: "GothamMed", serif;
  color: var(--text-body);
  background: url("/images/bg-tracks-6cee456f915abc677e1e95c36d6a8bae.svg") center top / 2400px auto repeat-y var(--page);
  font-synthesis: none;
}

@media (max-width: 767.98px) {
  body {
    background-size: 1200px auto;
  }
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.text-muted {
  color: var(--text-2) !important;
}

.text-dark {
  color: var(--text-1) !important;
}

label {
  font-weight: 600;
}

.fw-600 {
  font-weight: 600 !important;
}

h1,
.h1,
h2 {
  font-family: "GothamPro", serif;
  font-weight: bold;
}

p {
  font-family: "GothamMed", serif;
  margin: 0;
}

li {
  position: relative;
}

ul {
  list-style-type: none;
}

.list-disclosure {
  list-style-type: disclosure-closed;
  padding-left: 1.5rem;
}

.flex-1 {
  flex: 1;
}

#telegram-container iframe {
  color-scheme: light dark;
}

.video-preview {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background-color: #ebebeb;
}

.video-preview.ratio {
  min-height: 0;
}

.video-preview > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-preview-button {
  padding: 0;
  background: none;
  cursor: pointer;
}

.video-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background-color: rgba(33, 33, 33, 0.8);
  transition: background-color 0.15s;
}

.video-preview-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.video-preview-button:hover .video-preview-play,
.video-preview-button:focus-visible .video-preview-play {
  background-color: #f00;
}

.fs-7 {
  font-size: 14px;
}

.fs-8 {
  font-size: 12px;
}

.main-container {
  min-height: 100vh;
}

footer > .col > ul > li > a:hover {
  text-decoration: underline !important;
}

.btn {
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
  box-shadow: none !important;
  border-radius: 0.5rem !important;
  font-family: GothamMed, serif;
}

.form-check-input[type="checkbox"] {
  border-radius: 0.5em;
}

.form-control {
  font-weight: 600 !important;
  box-shadow: none !important;
}

.form-select {
  font-weight: 600 !important;
  box-shadow: none !important;
}

.ts-control:focus {
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: rgba(13, 110, 253, 0.8);
  border-color: rgba(13, 110, 253, 0.8);
}

.btn-danger:hover {
  background-color: rgba(220, 53, 69, 0.8);
  border-color: rgba(220, 53, 69, 0.8);
}

.btn-secondary:hover {
  background-color: rgba(98, 98, 98, 0.8);
  border-color: rgba(98, 98, 98, 0.8);
}

.img-svg-soc {
  width: 2.5em;
  height: 2.5em;
  transition: transform 0.3s ease;
}

.a-soc:hover .img-svg-soc {
  transform: scale(1.2);
}

.a-tel {
  color: black;
  text-decoration: none;
}

.a-tel:hover {
  color: black;
  text-decoration: underline;
}

.select-img-soc {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.dropdown-item {
  font-weight: 600 !important;
  transition: background-color 0.3s ease;
}

.dropdown-item > .text,
.dropdown-item > .text > span {
  color: black !important;
}

.dropdown-item.active > .text,
.dropdown-item.active > .text > span {
  color: white !important;
}

.dropdown-item:hover {
  background-color: lightgray !important;
}

.dropdown-item.active {
  background-color: #0d6efd !important;
}

.dropdown-menu {
  padding: 0 !important;
  border-radius: 0.25rem !important;
  border: none !important;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25) !important;
}

.select-span-soc {
  font-weight: 600 !important;
}

.bootstrap-select .dropdown-toggle:focus {
  outline: none !important;
  border-color: #86b7fe;
}

.bootstrap-select .dropdown-toggle {
  border: 1px solid #ced4da;
  background-color: white !important;
}

.car-specs {
  font-size: 14px;
}

.b-divider {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow:
    inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.bi {
  fill: currentColor;
}

.items-placeholder {
  font-weight: 600 !important;
}

.icon-link > .bi,
.icon-link-catalog > .bi {
  margin-left: 0.125rem;
  transition: transform 0.25s ease-in-out;
  fill: currentColor;
}

.icon-link:hover > .bi {
  transform: translate(0.25rem);
}

.icon-link-dropdown > .bi {
  position: relative;
  top: -0.18em;
}

.icon-link-dropdown:hover > .bi {
  transform: translate(0, 0.15rem);
}

.navbar-brand-custom,
.navbar-brand-custom:hover {
  text-decoration: none !important;
  color: black !important;
}

.nav-link-custom,
.nav-link-custom-small {
  background-color: #626262 !important;
  color: white !important;
}

.nav-link-custom:hover,
.nav-link-custom-small:hover {
  background-color: white !important;
  color: black !important;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.nav-link-custom.active,
.nav-link-custom-small.active {
  background-color: white !important;
  color: black !important;
}

.car-preview ul {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  margin: 0;
  padding-left: 7px;
  padding-right: 7px;
  border: 0;
  vertical-align: baseline;
}

.car-preview:hover ul {
  opacity: 1 !important;
}

.car-preview:hover li:after {
  opacity: 1 !important;
  transform: scaleX(1) scaleY(1);
}

.car-preview li:after {
  content: "";
  height: 6px;
  left: 2px;
  right: 2px;
  bottom: 4px;
  background: #d9d9d9;
  position: absolute;
  border-radius: 4px 4px 4px 4px;
  opacity: 0;
  -webkit-transition:
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out;
  -moz-transition:
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out;
  -ms-transition:
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out;
  transform-origin: bottom;
  transform: scaleX(0.3) scaleY(0);
}

.car-preview li.active:after {
  background: #0d6efd;
}

.card {
  border-radius: 0.7rem !important;
  box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
  border-top-left-radius: 0.7rem !important;
  border-top-right-radius: 0.7rem !important;
}

.car-card-img {
  width: 100%;
  aspect-ratio: 16/12;
  object-fit: cover;
}

.ratio-3x2 {
  --bs-aspect-ratio: calc(2 / 3 * 100%);
}

.filters-card {
  box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15) !important;
}

.index-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.index-card:hover {
  transform: scale(1.005);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2) !important;
}

.index-card:hover h2 {
  text-decoration: underline;
}

.car-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.car-card:hover {
  transform: scale(1.02);
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.car-card:hover .card-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.usd-price-label {
  font-family: "GothamMed", serif;
  font-size: 1rem;
  color: #194991;
}

.byn-price-label {
  font-family: "GothamMed", serif;
  font-size: 1.2rem;
  color: #0d6efd;
}

.specs-label {
  font-family: "GothamMed", serif;
  font-size: 15px;
}

.car-brand-label {
  font-family: "GothamMed", serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.car-price-label {
  font-family: "GothamMed", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #626262;
}

.car-model-label {
  font-family: "GothamMed", serif;
  font-size: 1.1rem;
}

dt::after {
  content: "";
  width: 100%;
  border-bottom: 1px dotted black;
  position: absolute;
  top: 50%;
  left: 100%;
}

.dropdown-div {
  position: absolute;
  z-index: 1000;
  padding-top: 0.175rem;
  width: 100%;
  display: none;
}

.dropdown:hover > .dropdown-div,
.dropdown:hover > .dropdown-div > .dropdown-menu {
  display: block;
}

.dropdown:hover > .nav-link-custom {
  background-color: white !important;
  color: black !important;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.custom-dropdown::after {
  display: none;
}

.custom-item {
  font-weight: 400 !important;
  transition: background-color 0.5s ease;
}

.custom-item:hover,
.custom-item:active {
  background-color: lightgray !important;
}

.dropdown-icon {
  width: 24px;
  height: 24px;
  border-radius: 15%;
}

.menu-icon {
  width: 20px;
  height: 20px;
  border-radius: 15%;
}

/* navbar toggler */

.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transition: 0.5s ease-in-out;
  outline: none;
  box-shadow: none;
  border: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
  position: relative;
}

.navbar-toggler span {
  margin: 0;
  padding: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.middle-bar {
  margin-top: 0;
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
  position: absolute;
  top: 0;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  position: absolute;
  top: 10px;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  position: absolute;
  top: 20px;
  transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
  top: inherit;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  top: inherit;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  top: inherit;
  transform: rotate(-135deg);
}

.navbar-toggler.collapsed .toggler-icon {
  background: white;
}

@media (max-width: 767.98px) {
  .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 12px 10px;
  }

  .toggler-icon {
    left: 10px;
    width: 24px;
  }

  .navbar-toggler.collapsed .top-bar {
    top: 11px;
  }

  .navbar-toggler.collapsed .middle-bar {
    top: 21px;
  }

  .navbar-toggler.collapsed .bottom-bar {
    top: 31px;
  }
}

.nav-link-auto {
  color: #212529;
  border: 1px solid transparent;
  border-radius: 0.5rem !important;
  display: block;
  padding: 0.5rem;
  text-decoration: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.nav-link-auto:hover {
  cursor: pointer !important;
}

.deactivate-calc-nav-link {
  border-color: var(--bs-secondary-border-subtle);
}

.deactivate-calc-nav-link:hover {
  border-color: var(--bs-secondary-border-subtle);
  color: #212529 !important;
  background-color: white;
}

.active-calc-nav-link svg {
  fill: white;
}

.active-calc-nav-link {
  border-color: var(--bs-gray-500) !important;
  background-color: #626262 !important;
  color: white !important;
}

.ts-control > input,
.ts-control {
  box-shadow: none !important;
  border: 1px solid #ced4da;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.form-control-sm {
  border-radius: 0.25rem !important;
}

.form-control-sm > .ts-control > input {
  font-size: 14px !important;
  line-height: inherit !important;
}

.form-control-sm > .ts-control {
  padding: 0.25rem 0.5rem !important;
  font-size: 14px !important;
}

input:focus-visible,
.ts-control:focus-visible {
  outline: none !important;
}

.plugin-dropdown_input.focus.dropdown-active .ts-control {
  border: none !important;
}

.form-check-input:focus {
  box-shadow: none !important;
}

.form-check-input:hover {
  cursor: pointer !important;
}

.form-check-label:hover {
  cursor: pointer !important;
}

.form-select:hover {
  cursor: pointer !important;
}

.input-group-text {
  padding: 0.1rem 0.3rem !important;
}

a.a-index-card,
a.a-index-card:hover,
a.a-index-card:focus,
a.a-index-card:active,
a.a-car-card,
a.a-car-card:hover,
a.a-car-card:focus,
a.a-car-card:active {
  text-decoration: none;
  color: inherit;
}

.modal-content {
  border-radius: 0.7rem !important;
  border: none !important;
}

.modal-footer {
  border-top: none !important;
}

.modal-header {
  border-bottom: none !important;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 600px !important;
    margin: 1.75rem auto;
  }
}

.text-avi-gray {
  color: #626262;
}

.default-company-logo {
  height: 1.25rem;
  border-radius: 0.25rem;
}

.copart-logo {
  height: 1.75rem;
}

.npa-logo {
  height: 2rem;
  border-radius: 0.25rem;
}

.manheim-logo {
  height: 2rem;
}

.iaai-logo {
  height: 2.5rem;
  border-radius: 0.25rem;
}

.contacts-map {
  display: block;
  min-height: 300px;
}

@media (min-width: 768px) {
  .contacts-map {
    min-height: 330px;
  }
}

@media (min-width: 992px) {
  .contacts-map {
    min-height: 360px;
  }
}

.num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-footer {
  margin-top: 80px;
  background: var(--dark);
  color: var(--on-dark-1);
  line-height: 1.6;
}

.site-footer h5 {
  font-family: "GothamMed", serif;
  font-size: 0.9375rem;
  color: var(--on-dark-1);
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--on-dark-1);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark-1);
}

.site-footer li {
  margin-bottom: 0.55rem;
  font-family: "GothamMed", serif;
  font-size: 0.9375rem;
}

.site-footer .footer-note {
  font-family: "GothamMed", serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-dark-2);
}

.site-footer .footer-note a {
  color: var(--on-dark-1);
}

.site-footer .border-top {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}

@media (max-width: 767.98px) {
  .site-footer li {
    margin-bottom: 0;
  }

  .site-footer li a {
    display: block;
    padding: 11px 0;
  }
}
