@font-face {
  font-family: "TTNormsPro";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/bbs/TTNormsPro-Regular.ttf");
}
.preloader {
  width: 80px;
  height: 80px;
  border: 2px solid #f3f3f3;
  border-top: 3px solid #d90000;
  border-radius: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation: spin 1s infinite linear;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#preload_wrapper {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
}
body {
  margin: 0px !important;
}
.gallery_wrapper {
  width: 85%;
  margin: 0 auto;
}
.gallery_filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.filter {
  display: flex;
  align-items: center;
}
.filter div {
  margin-right: 10px;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ccc;
}
.filter div.selected {
  background-color: #007BFF;
  color: white;
}
.gallery_banner {
  margin-top: 8.5%;
}
.gallery_banner_top {
  width: 100%;
}
.b-cars__wrapper_gallery {
  width: 60%;
  background: linear-gradient(0deg, #ffffff, #ffffff), #eceff1;
  margin-bottom: 3%;
}
.b-worldwide__wrapper_gallery {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 100px;
}
.b-worldwide__cards_gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  grid-gap: 55px;
  align-items: stretch;
  text-decoration: none;
  text-align: center;
}
.b-worldwide__card_gallery {
  background-color: white;
}
.b-worldwide__card_gallery a {
  text-decoration: none;
  background-color: transparent;
  color: #666666;
}
.b-worldwide__carName_gallery {
  color: #666666;
  margin-left: 4px;
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  padding-top: 10px;
  text-align: center;
  letter-spacing: 0px;
  text-transform: uppercase;
  opacity: 1;
  font-family: 'TTNormsPro';
}
.b-worldwide__info_gallery {
  margin-bottom: 25px;
}
.b-worldwide__card_image_gallery {
  width: 100%;
  height: 100%;
  max-width: fit-content;
  max-height: fit-content;
  align-items: center;
}
.b-worldwide__type_gallery {
  line-height: 24px;
  white-space: nowrap;
  text-align: center;
  font-size: 20px;
  font-family: "TTNormsPro";
  letter-spacing: 0px;
  color: #666666;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 30ch;
  margin: 0 auto;
}
.b-gallery__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  margin: 65px 0;
}
.b-gallery__filter {
  display: none;
}
.mobile-dropdown {
  display: none;
}
.mobile_filter {
  display: none;
}
.b-gallery__option {
  width: 100%;
  height: 30px;
  padding: 4px 0;
  display: flex;
  list-style: none;
  align-items: center;
  color: #333333b3;
  font-size: 19px;
  border-bottom: 1px solid #eceff1;
  cursor: pointer;
}
.b-gallery__option:hover {
  background-color: #f2f2f2;
}
.b-gallery__input {
  width: 97%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px;
  cursor: pointer;
}
.b-gallery__input p {
  margin-left: 2.7%;
  font-size: 20px;
  color: #666666;
  text-transform: capitalize;
}
.b-gallery__input img {
  width: 23px;
  margin-right: 2.3%;
}
.dropdown_placeholder {
  margin-left: 5%;
}
@media (min-width: 1024px) and (max-width: 1719px) {
  .b-worldwide__cards_gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .b-worldwide__wrapper_gallery {
    padding-bottom: 0;
    margin-top: -5%;
  }
  .b-gallery__wrapper {
    width: 100%;
  }
  .b-gallery__form {
    display: none;
  }
  .b-gallery__form__active {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    position: absolute;
    width: 100%;
    height: 33%;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #0000003D;
    grid-gap: 0.5rem;
    z-index: 100;
    top: 75px;
    left: 0;
  }
  .b-gallery__filter {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 88.5%;
    margin: 0 auto;
    margin-top: 21px;
    border: 1px solid #eeeeee;
  }
  .b-gallery__filter p {
    margin-left: 6px;
    color: #E31413;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
    font-family: 'TTNormsPro';
  }
  .b-cars__filters {
    width: 90%;
    align-self: center;
    flex-direction: column;
  }
  .mobile-dropdown {
    margin-left: 20% !important;
    align-self: center;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 60% !important;
    height: 20px !important;
    border: 0.5px solid #707070 !important;
    border-radius: 10px !important;
    opacity: 1;
    align-items: center;
    position: relative;
    margin: 0 10px;
    cursor: pointer;
    font-size: 11px;
  }
  .dropdown_placeholder {
    margin: 0 auto;
  }
  .options {
    z-index: 200;
    width: 100%;
  }
  .option {
    text-align: center;
  }
  .mobile_filter {
    display: block;
    width: 100%;
    height: 35px;
    margin-bottom: 5%;
  }
  .mobile_filter_txt {
    font-family: "TTNormsPro";
    font-style: normal;
    margin-left: 6px;
    color: #E31413;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0px;
    opacity: 1;
    margin-top: 5%;
  }
  .mobile_filter_arrow,
  .mobile_filter_line {
    margin-left: 0 !important;
  }
  .mobile_filter_arrow {
    position: absolute;
    right: 50%;
    width: 21px;
    cursor: pointer;
  }
  .mobile_filter_line {
    border-bottom: 0.25px solid #eeeeee;
    margin-top: 4%;
    height: 1px;
    background: #d1d1d1;
  }
  .b-gallery__cards {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 23px;
    grid-gap: 0.5rem;
  }
  .b-gallery__cardUp {
    height: 231px;
  }
  .b-gallery__cardUp img {
    height: 100%;
  }
  .b-gallery__cardTitle {
    margin-top: 11px;
    font-size: 13px;
  }
  .b-gallery__cardDesc {
    margin-top: 0px;
    font-size: 13px;
    line-height: 14px;
  }
  .gallery_banner {
    display: none;
  }
}
@media (min-width: 320px) and (max-width: 374px) {
  .b-worldwide__cards_gallery {
    display: block;
  }
  .b-worldwide__card_gallery {
    margin-bottom: 55px;
  }
  .b-gallery__filter {
    margin-top: 25%;
  }
}
@media (min-width: 320px) and (max-width: 600px) {
  .gallery_wrapper {
    width: 100%;
  }
  .b-worldwide__carName_gallery {
    font-size: 13px;
    margin-bottom: 0;
  }
  .b-worldwide__type_gallery {
    font-size: 13px;
  }
}
@media (min-width: 375px) and (max-width: 570px) {
  .b-worldwide__card_gallery {
    margin: 2rem 0 2rem 0;
  }
  .b-worldwide__cards_gallery {
    display: block;
  }
  .b-gallery__filter {
    margin-top: 25%;
  }
}
@media (min-width: 481px) and (max-width: 600px) {
  .b-gallery__filter {
    margin-top: 20%;
  }
}
@media (min-width: 571px) and (max-width: 600px) {
  .b-worldwide__cards_gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 571px) and (max-width: 775px) {
  .b-worldwide__cards_gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
    grid-gap: 1rem;
    margin: 65px 0;
    justify-content: center;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .b-gallery__input {
    width: 92%;
  }
  .b-gallery__cardTitle,
  .b-gallery__cardDesc {
    font-size: 16px;
    line-height: 24px;
  }
  .b-worldwide__cards_gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 1024px) and (max-width: 1260px) {
  .b-worldwide__cards_gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 1rem;
    margin: 65px 0;
    justify-content: center;
  }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .gallery_banner {
    margin-top: 16.5%;
  }
}
@media (min-width: 1241px) and (max-width: 1330px) {
  .gallery_banner {
    margin-top: 13.5%;
  }
}
@media (min-width: 1980px) and (max-width: 2100px) {
  .gallery_banner {
    margin-top: 7.5%;
  }
}
@media (min-width: 2101px) {
  .gallery_banner {
    margin-top: 5.5%;
  }
}
@media (min-width: 2530px) {
  .b-worldwide__type_gallery {
    max-width: 60ch;
  }
}
@media (min-width: 2250px) and (max-width: 2529px) {
  .b-worldwide__type_gallery {
    max-width: 45ch;
  }
}
@media (min-width: 1778px) and (max-width: 2249px) {
  .b-worldwide__type_gallery {
    max-width: 35ch;
  }
}
@media (min-width: 1720px) and (max-width: 1777px) {
  .b-worldwide__type_gallery {
    max-width: 30ch;
  }
}
@media (min-width: 1480px) and (max-width: 1719px) {
  .b-worldwide__type_gallery {
    max-width: 45ch;
  }
}
@media (min-width: 1320px) and (max-width: 1479px) {
  .b-worldwide__type_gallery {
    max-width: 40ch;
  }
}
@media (min-width: 1120px) and (max-width: 1319px) {
  .b-worldwide__type_gallery {
    max-width: 35ch;
  }
}
@media (min-width: 776px) and (max-width: 1023px) {
  .b-worldwide__type_gallery {
    max-width: 55ch;
  }
}
@media (min-width: 601px) and (max-width: 775px) {
  .b-worldwide__type_gallery {
    max-width: 45ch;
  }
}
@media (min-width: 460px) and (max-width: 600px) {
  .b-worldwide__type_gallery {
    max-width: 55ch;
  }
}
@media (min-width: 400px) and (max-width: 459px) {
  .b-worldwide__type_gallery {
    max-width: 45ch;
  }
}
@media (min-width: 370px) and (max-width: 399px) {
  .b-worldwide__type_gallery {
    max-width: 40ch;
  }
}
@media (max-width: 369px) {
  .b-worldwide__type_gallery {
    max-width: 35ch;
  }
}
.dropdown-container {
  display: flex;
  gap: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
}
.dropdown_gallery {
  align-self: center;
  display: flex;
  justify-content: space-between;
  width: auto;
  height: 45px;
  border: 1px solid red;
  border-radius: 30px;
  align-items: center;
  font-family: "TTNormsPro";
  position: relative;
  margin: 0 10px;
  cursor: pointer;
}
.b-dropdown__icon {
  position: absolute;
  right: 5px;
  width: 21px;
  cursor: pointer;
}
.dropdown label {
  margin-right: 10px;
}
.options {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  width: 100%;
}
.options.is-open {
  display: block;
}
.wrapper {
  display: flex;
  width: 370px;
  justify-content: space-between;
}
.dropdown_gallery:hover .options {
  display: block;
}
.option {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #333333b3;
  border-bottom: 1px solid #eceff1;
}
.option:hover {
  background-color: #f0f0f0;
}
.disabled {
  background-color: #fff;
}
.selected-option {
  background-color: #f0f0f0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
