$b: "index_catalog_nav";

.#{$b}__sub_nav {
  display: none;
  .no-js & {
    display: block;
  }
}
.#{$b}__main_nav {
  .no-js & {
    display: none;
  }
}

.#{$b}__header-bg {
  height: 90px;
  width: 100%;
  margin-bottom: -90px;
  background-image: url(image_path('bg.png'));
}

.#{$b}__main_nav-list {
  list-style-type: none;
  padding: 0;
}

.#{$b}__main_nav-elem {
  margin-bottom: 20px;
}

.#{$b}__main_nav-elem-link {
  position: relative;
  display: table;
  width: 100%;
  @include text-shadow(1px 1px 2px black);
  &, &:visited {
    color: white;
  }
  &:hover {
    color: $hl_color;
  }

}

.#{$b}__main_nav-elem-ico {
  display: table-cell;
  margin-right: 20px;
  vertical-align: middle;
  width: 120px;
  & > img {
    height: 120px;
    width: 120px;
    @include border-radius(60px);
    overflow: hidden;
  }
}

.#{$b}__main_nav-elem-text {
  display: table-cell;
  vertical-align: middle;
  font-size: 30px;
  padding-left: 20px;
  text-transform: uppercase;

}
// --------- SUB ---------------------------


.#{$b}__sub_nav-link {
  display: block;
  @include text-shadow(1px 1px 2px black);
  &, &:visited {
    color: white;
  }
  &:hover {
    color: $hl_color;
  }

}

.#{$b}__sub_nav-title {
  font-size: 24px;
  line-height: 90px;
  margin: 0;
  text-transform: uppercase;
}

.#{$b}__sub_nav-title-arrow {
  font-size: 80px;
  line-height: 0;
  top: 30px;
}

.#{$b}__sub_nav-body-hr {
  background: $dark_blue_color;
  @include box-shadow(black 0 0 5px);
  height: 10px;
  width: 100%
}
.#{$b}__header-wrapper {
  background: url(image_path('bg.png'));
}


.#{$b}__sub_nav_level2 {
  & .#{$b}__sub_nav-link {
    color: $blue_color;
  }

  & > .#{$b}__header-bg {
    background-image: url(image_path('bg-y.png'));
  }
  .no-js & {
    display: block;
  }
}

@media (min-width: 768px) {
  .#{$b}__header-wrapper {
    background: none;
  }
}
@media (min-width: 992px) {
  .#{$b}__sub_nav-title {
    font-size: 30px;
  }
}

// fairings ------------------------------
$b: "index_catalog_nav_sub_nav_body";

.#{$b}__list {
  margin: 0;
  padding: 20px 0;
  display: table;
}

.#{$b}__list-item {
  display: inline-block;
  list-style-type: none;
  padding:10px;
}

.#{$b}__list-item-link {
  display: block;

}

.#{$b}__list-item-link-wrapper {
  height: 146px;
  width: 146px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  background: white;
  @include border-radius(73px);
}

$b: "car_models_catalog";

.#{$b} {
  margin-top: 20px;
  margin-bottom: 20px;
}

.#{$b}__cal {
  background: white;
  padding: 10px;
  margin: 10px;
  @include border-radius(20px);
  @include box-shadow(#aaa 0 0 5px);
}

.#{$b}__models-list {
  position: relative;
  list-style-type: none;
  font-size: 24px;
  margin: 0;
  padding: 5px;
  text-align: center;

  & > li {
    padding: 10px 20px;
    margin: 5px;
    background: #eee;
    display: inline-block;
    @include border-radius(10px);
  }

  &.disabled:after {
    position: absolute;
    content: "";
    display: block;
    background: white;
    opacity: 0.5;
    z-index: 999;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
  }
}
.#{$b}__list-item-link {
  color: $dark_blue_color;
  text-decoration: underline;
  &:hover, &:focus {
    color: $hl_color;
    outline: none;
  }
  &.selected {
    color: $blue_color;
  }
}

.#{$b}__items {
  min-height: 200px;
  position: relative;
}

.#{$b}_spinner {
  width: 100%;
  position: absolute;
}

.#{$b}__items-body div:last-child {
  margin-bottom: 0;
}

.#{$b}__items-body.disabled {
  opacity: 0.5;
}

