:root {
  --bs-body-color: #000000;
  --bs-body-bg: #ffffff;
  --bs-primary: #c8262d;
  --bs-primary-rgb: 200, 38, 45;
  scroll-behavior: unset;
  --header-height: 61px;
  --bs-link-color: #c8262d;
  --swiper-theme-color: #c8262d;
  --bs-secondary-rgb: 245, 245, 245;
  --swiper-pagination-progressbar-size: 3px;
  --bs-body-font-size: 1.125rem;
  --bs-body-font-weight: 300;
}

.container,
.container-sm {
  max-width: 1240px;
}

.accordion {
  --bs-accordion-active-color: #c8262d;
  --bs-accordion-active-bg: #c8262d29;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8262d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8262d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  &-item {
    border: var(--bs-accordion-border-width) solid #c8262d;
  }
  &-button {
    font-size: calc(1rem + 0.3vw);
  }
}

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

.form-check-input {
  border-color: var(--bs-primary);
  &:focus {
    border-color: var(--bs-primary);
  }
  &:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
  }
}

input,
button,
select,
textarea {
  border-radius: 0;
}

b,
strong {
  font-weight: bold;
}

.btn {
  font-size: 14px;
  line-height: 1;
  --bs-btn-border-radius: 10em;
  font-weight: 700;
  padding: 20px 30px;
  &-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #a7171f;
    --bs-btn-hover-border-color: #a7171f;
    --bs-btn-active-bg: #a7171f;
    --bs-btn-active-border-color: #a7171f;
  }
  &-secondary {
    --bs-btn-color: #333333;
    --bs-btn-bg: #d9d9d9;
    --bs-btn-border-color: #d9d9d9;
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: #e3e3e3;
    --bs-btn-hover-border-color: #e9e9e9;
    --bs-btn-active-color: #333333;
    --bs-btn-active-bg: #e3e3e3;
  }
  &-text {
    &-primary {
      font-size: 16px;
      font-weight: 400;
      color: var(--bs-primary);
      position: relative;
      padding: 10px 15px 10px 0 !important;
      border: 0;
      &::before {
        content: "";
        position: absolute;
        top: 38%;
        left: 100%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
        background-image: url(../img/icons/triangle-filled-black.svg);
        background-repeat: no-repeat;
        transition: all 0.3s ease;
      }
      &:hover::before {
        transform: translateX(6px);
      }
    }
    &-white {
      color: white;
      &::before {
        background-image: url(../img/icons/triangle-filled-red.svg);
        filter: none !important;
      }
    }
  }
  &-outline {
    &-primary {
      --bs-btn-color: var(--bs-body-color);
      --bs-btn-border-color: var(--bs-primary);
      --bs-btn-hover-color: #fff;
      --bs-btn-hover-bg: var(--bs-primary);
      --bs-btn-hover-border-color: var(--bs-primary);
      --bs-btn-focus-shadow-rgb: 13, 110, 253;
      --bs-btn-active-color: #fff;
      --bs-btn-active-bg: var(--bs-primary);
      --bs-btn-active-border-color: var(--bs-primary);
      --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      --bs-btn-disabled-color: var(--bs-primary);
      --bs-btn-disabled-bg: transparent;
      --bs-btn-disabled-border-color: var(--bs-primary);
    }
    &-light {
      --bs-btn-hover-color: #fff;
      --bs-btn-hover-bg: var(--bs-primary);
      --bs-btn-hover-border-color: var(--bs-primary);
    }
    &-download {
      position: relative;
      padding-right: 45px;
      min-width: 180px;
      &::before {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        right: 40px;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        background-image: url(../img/icons/download-black.svg);
        background-position: right center;
        background-size: 12px;
        background-repeat: no-repeat;
        transition: all 0.3s ease;
      }
      &:hover::before {
        filter: invert(1);
      }
      &-white {
        &::before {
          filter: invert(1);
        }
      }
      &-red {
        &::before {
          background-image: url(../img/icons/download-red.svg);
        }
      }
    }
  }
  &-arrow {
    position: relative;
    min-width: 188px;
    span {
      position: absolute;
      top: 50%;
      left: calc(100% - 20px);
      transform: translateY(-50%);
      display: inline-block;
      width: 115px;
      height: 12px;
      background-image: url(../img/icons/btnArrow.svg);
      background-repeat: no-repeat;
      transition: all 0.3s ease;
    }
    &:hover span {
      left: calc(100% - 10px);
    }
    &-black {
      span {
        background-image: url(../img/icons/btnArrow-black.svg);
      }
    }
  }
  &-download {
    position: relative;
    font-weight: 700;
    padding-left: 0 !important;
    padding-right: 20px !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin-top: 20px;
    border: 0;
    &::before {
      content: "";
      position: absolute;
      top: calc(50% - 2px);
      left: 100%;
      transform: translateY(-50%);
      width: 15px;
      height: 15px;
      background-image: url(../img/icons/download-red.svg);
      background-repeat: no-repeat;
      transition: all 0.3s ease;
    }
    &:hover {
      color: var(--bs-primary) !important;
    }
    &.btn-white {
      color: white;
    }
  }
}

.navbar {
  --bs-navbar-color: rgb(0, 0, 0);
  --bs-nav-link-font-size: 14px;
  --bs-nav-link-font-weight: 600;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h22M4 15h22M4 23h22' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
}

.dropdown-menu {
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-link-hover-bg: var(--bs-primary);
  --bs-dropdown-link-hover-color: white;
}

hr {
  border-color: var(--bs-primary);
}

.nav-link:focus {
  color: white;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #dddddd;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #838383;
}

#filesSearchModal .dropdown-menu {
  --bs-dropdown-min-width: auto;
}
