/* @font-face {
  font-family: "Trebuchetms", serif;
  src: url(../fonts/trebuchetms.woff2);
  font-weight: 400px;
  font-style: normal;
}

@font-face {
  font-family: "Trebuchetms Bold", serif;
  src: url(../fonts/trebuchetms.woff2);
  font-weight: 700px;
  font-style: normal;
}

html,
body {
  height: 100%;
}

html {
  box-sizing: border-box;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Trebuchetms", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.8;
  background-color: #fff;
  color: #393328;
} */

.wrapper {
  min-height: 100vh;
  height: 100%;
}

/* *,
*::before,
*::after {
  box-sizing: inherit;
} */

/* .flex-row {
  display: flex;
  flex-direction: row;
} */
.flex-colum {
  display: flex;
  flex-direction: column;
}

/* .flex-row-gap20 {
  display: flex;
  flex-direction: row;
  gap: 20px;
} */
.flex-colum-gap20 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.margin-top-content-50 {
  margin-top: 50px;
}

.padding-top-30 {
  padding-top: 30px;
}



/* .container,
.main-navigation {
  width: 1400px;
  margin: 0 auto;
} */
#mega-menu-wrap-header_nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/*--------- Header ------------------------*/
.header-phone-img {
  margin-left: 10px;
}

.header-phone-img img {
  width: 20px;
}

/*----------- Block Model Car ---------------*/

.block-etc {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}

.main-container-model-car {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 0;
}
.model-taxonomy-menu {
  width: 300px;
}

.box-article-car {
  border: 2px solid #ebeff6;
  border-radius: 5px;
  transition: 0.2s ease;
  transition-property: border;
}
.box-article-car:hover {
  border: 2px solid #0253a4;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}

.container-article-img-car {
  position: relative;
  width: 350px;
}

.container-article-img-car img {
  width: 350px;
  height: 400px;
  object-fit: contain;
}

.container-article-img-car .content-article-car {
  position: absolute; /* Position the background text */
  bottom: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgba(0, 0, 0, 0.6);
  color: #fff; /* Grey text */
  width: 100%; /* Full width */
  padding: 20px; /* Some padding */
  text-decoration: none;
  height: 100px;
  transition: 0.5s ease;
  transition-property: height;
  border-radius: 5px;
  padding: 10px;
}

.container-article-img-car:hover .content-article-car {
  height: 150px;
}

.container-article-img-car .label-article-car {
  position: absolute;
  top: 10px;
  left: 20px;
  background: rgba(80, 16, 230, 0.884);
  color: #faf9f9;
  width: 120px;
  height: 34px;
  padding: 5px;
  border-radius: 20px;
  text-align: center;
}

/*----- Style Menu auto model -------*/

ul,
ol {
  margin: 0;
  list-style: none;
}

.model-taxonomy-menu li a {
  text-decoration: none;
}

.model-taxonomy-menu ul li {
  background-color: #faf9f9;
  border-radius: 5px;
  margin: 3px 0;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.model-taxonomy-menu li::after {
  /* content: "\002B"; */
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active,
.model-taxonomy-menu ul li:hover {
  background-color: #ccc;
}

.panel .sub-menu {
  border-bottom: 1px solid #ccc;
  margin: 5px 0;
}

.panel .sub-menu a {
  color: #444;
}

.panel .sub-menu a:hover {
  color: #1c3cf7;
}

/*--------- Auto Rental -------------*/

.box-auto-rental {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background-color: #fafafa;
  transition-property: box-shadow;
  transition-duration: 0.5s;
  align-items: center;
  width: 900px;
}

.box-article-auto-rental {
  justify-items: center;
}

.all-auto-rental {
  padding: 0 0 20px 0;
}

.box-auto-rental:hover,
.box-auto-rental .box-auto-rental-img img:hover {
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}

.box-auto-rental .box-auto-rental-img img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  margin: 10px;
  border-radius: 10px;
  transition-property: box-shadow;
  transition-duration: 0.5s;
  box-shadow: 0 8px 12px 0 rgba(119, 119, 119, 0.2);
}

.box-auto-rental-info .title {
  font-size: 1.3rem;
  font-weight: 500;
}

.box-auto-rental-info .title a {
  text-decoration: none;
}

.prod-item-char_1 {
  background-image: url(../image/char-ico1.svg);
  background-repeat: no-repeat;
}
.prod-item-char_3 {
  background-image: url(../image/char-ico3.svg);
  background-repeat: no-repeat;
}
.prod-item-char_4 {
  background-image: url(../image/char-ico4.svg);
  background-repeat: no-repeat;
}
.prod-item-char_6 {
  background-image: url(../image/char-ico6.svg);
  background-repeat: no-repeat;
}

.prod-item-char_10 {
  background-image: url(../image/main-stat-car.svg);
  background-repeat: no-repeat;
  height: 40px;
}

.prod-item-char_11 {
  background-image: url(../image/main-stat-detail.svg);
  background-repeat: no-repeat;
  height: 40px;
}
.prod-item-char {
  display: block;
  margin-top: 5px;
  padding: 5px 0 5px 30px;
  background-position: left center;
  background-repeat: no-repeat;
  white-space: nowrap;
}
.prod-item-char-model {
  display: block;
  margin-top: 5px;
  padding: 5px 0 5px 50px;
  background-position: left center;
  background-repeat: no-repeat;
  white-space: nowrap;
}

.top-info-razbor {
  justify-content: space-around;
}

.top-info-razbor span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Create three columns of equal width */
.columns-auto-rent {
  /* float: left; */
  width: 100%;
  padding: 8px;
}

/* Style the list */
.price-auto-rent {
  list-style-type: none;
  border: 1px solid #eee;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  justify-content: space-between;
}
/* Add shadows on hover */
.price-auto-rent:hover {
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}

/* Pricing header */
.price-auto-rent .header {
  background-color: #3b3b3b;
  color: white;
  font-size: 14px;
  padding: 10px;
  width: 80%;
}

/* List items */
.price-auto-rent li {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: center;
}

/* Grey list item */
.price-auto-rent .grey {
  background: linear-gradient(
    to left,
    rgb(21, 0, 139),
    rgb(88, 54, 243),
    rgb(21, 0, 139)
  );
  color: white;
  font-size: 20px;
  width: 20%;
  text-align: center;
  padding: 5px 0;
}

.grey-red {
  font-size: 20px;
  color: white;
  padding: 5px 0;
  width: 20%;
  text-align: center;
  background: linear-gradient(to left, darkred, red, darkred);
}

.button-auto-rent {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}
/* Change the width of the three columns to 100%
(to stack horizontally on small screens) */
@media only screen and (max-width: 600px) {
  .columns-auto-rent {
    width: 100%;
  }
}

.box-auto-rental-renta {
  background-color: #0da505;
  display: flex;
  align-items: center;
  transition-property: box-shadow;
  transition-duration: 0.5s;
}
.box-auto-rental-renta:hover {
  box-shadow: 0 8px 12px 0 rgba(2, 141, 83, 0.76);
}

.box-auto-rental-renta i {
  font-size: 4.3rem;
  color: #fff;
  vertical-align: middle;
}
.box-auto-rental-renta i:hover {
  color: #4a0cf3;
}
.box-auto-rental-renta a {
  text-decoration: none;
}

.box-auto-rental-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auto-rental-archive {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.auto-rental-vidget {
  width: 350px;
}

.auto-rental-vidget #block-8 {
  background-color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row-auto-rent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: hidden;
}

.column-auto-rent {
  float: left;
  width: 175px;
  height: 100px;
}
.column-auto-rent img {
  width: 175px;
  height: 100px;
  object-fit: cover;
}

.auto-rental-etc {
  background-color: #f2f2f2;
  margin: 30px 0;
  padding: 30px 0;
}
.auto-rental-etc-questions {
  margin: 30px 0;
  padding: 30px 0;
}

.auto-rental-etc h2,
.auto-rental-etc-questions h2 {
  text-transform: uppercase;
}

.with-horizontal-line {
  position: relative; /* Для позиционирования псевдоэлемента */
  padding-left: 20px; /* Отступ текста, чтобы не налегать на линию */
  margin-top: 20px; /* Отступ сверху для наглядности */
}

.with-horizontal-line::before {
  content: ""; /* Создает псевдоэлемент */
  position: absolute; /* Позволяет точно расположить линию */
  top: 50%; /* Центрирует линию по вертикали */
  left: 0;
  width: calc((100% - 1400px) / 2); /* Длина линии */
  height: 2px; /* Толщина линии */
  background-color: red; /* Цвет линии */
  transform: translateY(
    -50%
  ); /* Точная подстройка вертикального центрирования */
}
.auto-rental-etc-h2 {
  margin: 20px 0;
}

.auto-model-etc-block button {
  font-size: 1.3rem;
  font-weight: 500;
}

.auto-model-etc-block .sub-menu {
  padding: 20px 0;
}

.auto-model-etc-block button.accordion::after,
.model-taxonomy-menu-archive button.accordion::after {
  content: "\002B";
  color: #000;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.auto-model-etc-block button.accordion.active::after,
.model-taxonomy-menu-archive button.accordion.active::after {
  content: "\2212";
}

.sale_lable {
  width: 200px;
  /* height: 70px; */
  background: linear-gradient(to left, darkred, red, darkred);
  /* clip-path: polygon(0 50%, 20% 0, 100% 0, 100% 100%, 20% 100%); */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 500;
  font-family: sans-serif;
  color: #fff;
  padding: 10px 0;
  /* text-indent: 30px; */
}

.sale_lable_blue {
  width: 200px;
  /* height: 70px; */
  background: linear-gradient(
    to left,
    rgb(21, 0, 139),
    rgb(88, 54, 243),
    rgb(21, 0, 139)
  );
  /* clip-path: polygon(0 50%, 20% 0, 100% 0, 100% 100%, 20% 100%); */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 500;
  font-family: sans-serif;
  color: #fff;
  padding: 10px 0;
  /* text-indent: 30px; */
}

.sale_lable_blue_info {
  background: linear-gradient(
    to left,
    rgb(21, 0, 139),
    rgb(88, 54, 243),
    rgb(21, 0, 139)
  );
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 20px 10px;
}

.model-taxonomy-menu button.accordion::after {
  content: "\002B";
  color: #000;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.model-taxonomy-menu button.accordion.active::after {
  content: "\2212";
}

.auto-model-nomber-img-rental {
  width: 60px;
  object-fit: cover;
  margin: 0 0 10px 20px;
}

/* .sale_lable::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  background: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(0, -50%);
} */

.box-auto-rental-character {
  width: 100%;
}
