/* Main */
.maxwidth-theme {
  padding-bottom: 20px;
}

/* Brands */
/* .brands-list-wrapper {
  display: grid;
} */

.brands-list {
  position: relative;
  z-index: 2;
  columns: 4;
}

@media (max-width: 1200px) and (min-width: 992px){
  .brands-list{columns: 3;}
}
@media (max-width: 991px) and (min-width: 401px) {
  .brands-list{columns: 2;}
}
@media (max-width: 400px){
  .brands-list{columns: 1;}
}

.brands-list--simple {
  margin-top: 40px;
}
.brands-list--simple .brands-list__item {
  margin-left: 0;
}

.brands-list__item {
  margin-left: 38px;
  margin-top: 8px;
}

.brands-list__item--favorite a {
  font-weight: bold;
}

.brands-list__item-img {
  margin-right: 10px;
  width: 30px;
  height: 20px;
  display: inline-block;
  text-align: center;
}
.brands-list__item-img img {
  max-width: 100%;
  max-height: 100%;
}

.brands-list .brands-list__item:before {
  content: unset;
}

.brands-list__item[data-letter] {
  position: relative;
}

.brands-list .brands-list__item[data-letter]::before{
  content: attr(data-letter);
  position: absolute;
  top: 0;
  left: 0;
  color: #333;
  font-size: 20px;
  -webkit-text-stroke-width: thick;
  /* line-height:  text-line-height($optional-text-size) */
}

/* Models */
.sections_wrap.car-groups img {
  max-width: 100%;
}

/* Menu */
.menu-type1 .dropdown>li.has-child a .toggle_block-fake {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 2;
  width: 35px;
  height: 100%;
  bottom: 0px;
}

.menu-type1.menu_top_block li.v_bottom .dropdown{
  position: static;
  min-width: auto;
  width: auto;

}

.menu-type1.menu_top_block .dropdown ul.child {
  margin: 0;
}

body .menu-type1.menu_top_block .left_menu li.v_bottom > .dropdown {
  padding: 0px 0px 16px;

}

.menu-type1.menu_top_block li.v_bottom.current .dropdown,
.menu-type1.menu_top_block li.v_bottom:hover .dropdown {
  background: #fafafa;
}

.menu-type1.menu_top_block .dropdown> li.v_bottom>.dropdown {
  width: auto;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  padding: 5px 0px 10px;
  border: 1px solid #ececec;
  border-top-width: 0px;
  border-bottom-width: 0px;
}

.menu-type1.menu_top_block .dropdown >li.has-child.v_bottom.opened>a {
  padding-bottom: 7px;
  border-bottom: none;
  line-height: 20px;
}

.menu-type1.menu_top_block .item .child_container .child_wrapp{
  padding: 0;
}

.menu-type1.menu_top_block .opened > a .svg {
  transform: rotate(180deg);
}

.menu-type1.menu_top_block .dropdown> li.v_bottom>.dropdown li {
  float: none;
  display: block;
  width: auto;
  padding: 5px 16px 0px;
  vertical-align: top;
  line-height: 20px;
}

.menu-type1.menu_top_block .dropdown>li.v_bottom>.dropdown li a {
  padding: 0px 10px 0px 0px;
  font-weight: normal;
  font-size: 12px;
  display: block;
  line-height: 20px;
}

.menu-type1.menu_top_block .dropdown li:not(.current) > a:not(:hover),
.menu-type1.menu_top_block .dropdown li.opened > a:not(:hover) {
  color: #333;
}

.menu-type1.menu_top_block li.has-child.v_bottom:last-child > .dropdown {
  border-bottom-width: 1px;
}

.menu-type1.menu_top_block ul.left_menu li {
  line-height: 20px;
}

.menu-type1 .menu_item .svg {
  position: absolute;
  right: 9px;
  top: 6px;
  width: 15px;
  height: 14px;
  text-align: center;
  line-height: 11px;
  border-radius: 3px;
  margin: 0px;
}

.menu-type1 .menu_item .svg svg {
  display: inline-block;
  vertical-align: middle;
}

.menu-type1 .menu_item > .dropdown {
  box-shadow: unset;
}

.menu-type1 .menu_item.opened  > .dropdown {
  display: block;
}

/* .menu-type1.menu_item.opened .dropdown li {
  padding-left: 0;
  padding-right: 0;
} */

.show_on_load {
  position: relative;
  height: 40px;
  margin-top: 10px;
  display: none;
}

.show_on_load .loader {
  left: 50%;
}

/* Items */
.serach-wrap {
  display: grid;
}
.serach-wrap .items-wrap {
  padding: 0 20px;
  border: 1px solid #f2f2f2;
  border-bottom: unset;
  transition: transform ease 0.2s, box-shadow ease 0.2s;
  z-index: 0;
  position: relative;
}
.serach-wrap .items-wrap.hidden {
  display: none;
}
.serach-wrap .items-wrap:last-child {
  border-bottom: 1px solid #f2f2f2;
}
.serach-wrap .items-wrap:not(.hidden):nth-child(even) {
  background: #fafafa;
}
.serach-wrap .items-wrap:hover,
.serach-wrap .items-wrap.selected {
  border-color: #fff;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10);
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  z-index: 1;
}

.items-wrap.open .item,
.items-wrap .item.to-top,
.items-wrap .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}
.items-wrap .info-wrap {
  display: grid;
  grid-template-columns: 1fr 7fr;
  column-gap: 20px;
  align-items: start;
  padding: 15px 0;
  visibility: hidden;
  height: 1px;
}
.items-wrap .item .info-wrap,
.items-wrap .item.to-top .info-wrap {
  visibility: visible;
  height: auto;
}
.items-wrap .buy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  align-items: start;
  border-bottom: 1px solid #f2f2f2;
  padding: 20px 0;
}
.items-wrap .item:last-child .buy-wrap {
  border: unset;
  /* padding-bottom: 30px; */
}
.items-wrap .buy-wrap--empty {
  grid-template-columns: 1fr 3fr;
}
.items-wrap .buy-wrap--empty .counter_block_inner p {
  color: #e10000;
  margin: 0;
  line-height: 15px;
  text-align: center;
}
.info-wrap .img-wrap {
  text-align: center;
}
.info-wrap .img-wrap img {
  max-width: 100%;
  max-height: 50px;
  font-size: 10px;
  line-height: 10px;
}
.info-wrap .img-wrap .img-num{
  display: block;
  width: 50px;
  height: 50px;
  border: 3px solid #ececed;
  margin: 0 auto;
  line-height: 44px;
}
.info-wrap .img-wrap .img-num span {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: #ececed;
  font-weight: bold;
  overflow: hidden;
}
.info-wrap .name-wrap a {
  font-weight: bold;
  max-height: 50px;
  display: block;
  overflow: hidden;
}
.info-wrap .name-wrap p {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.05em;
  color: #000000;
}
.info-wrap .prop-wrap {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 20px;
  margin-top: 5px;
}
.info-wrap .prop {
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.05em;
  color: #999999;
}
.info-wrap .prop span {
  font-weight: normal;
}
.buy-wrap .item-stock {
  max-width: 150px;
  white-space: unset;
}
.serach-wrap .item-stock .value{
  max-width: 85%;
}
.buy-wrap.quantity_block_wrapper .item-stock {
  max-width: unset;
}
.buy-wrap .item-stock .info {
  font-size: 12px;
  display: block;
  color: #999999;
  margin-left: 18px;
  margin-top: 3px;
}
.buy-wrap .prices {
  text-align: left;
}
.buy-wrap .counter_wrapp {
  white-space: unset;
  margin: 0;
  padding: 0;
  position: relative;
}
.buy-wrap .counter_wrapp.list > div {
  margin: 0;
}
.buy-wrap .counter_wrapp.list .button_block {
  float: right;
}
.buy-wrap .counter_wrapp.list .button_block a {
  width: 100%;
}
.buy-wrap .show-more,
.buy-wrap .hide-more {
  position: absolute;
  right: 4px;
  bottom: -16px;
  cursor: pointer;
  color: #FF6A00;
  font-size: 13px;
  line-height: 13px;
  border-bottom: 1px dashed #FF6A00;
  display: none;
  margin-bottom: 3px;
}

.items-wrap:not(.open) .item:first-child .show-more,
.items-wrap:not(.open) .item.to-top .show-more {
  display: block;
  margin-bottom: 3px;
}
.items-wrap.open .item:not(.to-top):last-child .hide-more {
  display: block;
}

@media (max-width: 1200px) {
  .serach-wrap .items-wrap {
    padding: 0 20px;
  }
  .items-wrap.open .item,
  .items-wrap .item {
    grid-template-columns: 1fr;
  }
  .items-wrap .info-wrap {
    grid-template-columns: 1fr 3fr;
    column-gap: 20px;
    padding: 20px 0;
  }
  .items-wrap .buy-wrap {
    align-items: center;
    column-gap: 20px;
  }
  .items-wrap .item .info-wrap {
    display: grid;
  }
  .items-wrap .item .buy-wrap {
    padding-top: 5px;
    padding-bottom: 20px;
  }
  .info-wrap .prop-wrap {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .info-wrap .img-wrap img {
    width: auto;
    max-height: 130px;
  }
  .info-wrap .name-wrap a {
    margin-top: -6px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .items-wrap .info-wrap {
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
  }
  .items-wrap .buy-wrap {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }
  .info-wrap .name-wrap a {
    max-height: 75px;
  }
  .buy-wrap .counter_wrapp.list {
    grid-row: 2;
    grid-column: span 2;
  }
  .info-wrap .name-wrap {
    overflow: hidden;
  }
}

/* INFO FOR MANAGER */
.quantity_value {
  font-size: 12px;
  font-weight: normal;
  display: block;
  color: #999999;
  line-height: 12px;
}
.provider_info {
  display: none !important;
  position: absolute;
  background: white;
  padding: 20px;
  width: 400px;
  z-index: 100;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10);
  border: 1px solid #f2f2f2;
  font-size: 14px !important;
}
.item-stock:hover .provider_info {
  display: block !important;
}
.cost.prices.detail .quantity_value {
  margin-left: 6px;
  margin-top: 4px;
}
.bx_filter_param_price {
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  color: #999999;
  position: absolute;
  right: 0;
  top: 4px;
  background: white;
  padding: 0 5px 0 5px;
}
.bx_filter .bx_filter_input_checkbox .bx_filter_param_text {
  position: relative;
}

/* Loader */
#loading-icon {
  position: relative;
  width: 100%;
  height: 60px;
  z-index: 10;
  margin: 40px 0;
}

#loading-icon .loader-wrap .loader {
  display: block;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
}

input[type="radio"]:checked + label:before {
  z-index: 1 !important;
}

.start-info {
  width: 100%;
  text-align: center;
  transform: translateY(50%);
}

@media (max-width: 991px) {
  .start-info {
    transform: unset;
  }
}

.start-info img {
  margin-bottom: 20px;
  width: 150px;
}

.start-info p {
  font-size: 20px;
}

.js-group-img-wrapper {
  height: 600px;
}

.menu_top_block.menu-type1 .left_menu {
  margin-top: 0;
}

#own-items {
  position: relative;
  height: 80px;
  margin: 40px 0;
}

#own-items .loader {
  display: block;
  font-size: 5px;
  left: 50%;
}

#own-items p {
  text-align: center;
  margin-top: 45px;
  font-weight: bold;
}

.image-pagination h3 {
  font-size: 15px;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}
.image-pagination ul {
  margin: 0;
  display: inline-block;
  vertical-align: baseline;
}
.image-pagination ul li {
  margin-top: 0;
}
.image-pagination ul li::before {
  content: unset !important;
}
.catalog-min-height {
  min-height: 400px !important;
}


/* TecDoc */
.has-car-info {
  position: relative;
}
.car-info {
  position: absolute;
  text-align: center;
  right: 15px;
  top: -170px;
  border: 1px #f2f2f2 solid;
}
.car-info .img {
  height: 120px;
}
.car-info .img img {
  height: 100%;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

@media (max-width: 991px) {
  .car-info {
    display: none;
  }
}

.fr-table-responsive {
  overflow-x: scroll;
}