blocks-mobile.css 3.63 KB
.blocks-modile {
  display: block;
}
.blocks-modile__link-catalog {
  margin-top: 36px;
  background: #F5851A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  border: 1px solid #F5851A;
  cursor: pointer;
  text-align: center;
  width: 100%;
  padding: 16px 0;
}
.blocks-modile__link-catalog:hover {
  border: 1px solid #F2994A;
  background-color: #FFFFFF;
  color: #F2994A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
}
@media (min-width: 780px) {
  .blocks-modile {
    display: none;
  }
}

.blocks-modile-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.blocks-modile-container > *:nth-child(1),
.blocks-modile-container > *:nth-child(3) {
  margin-right: 0px;
}
@media (min-width: 375px) {
  .blocks-modile-container > *:nth-child(1),
  .blocks-modile-container > *:nth-child(3) {
    margin-right: 15px;
  }
}
.blocks-modile-container > *:nth-child(1),
.blocks-modile-container > *:nth-child(2) {
  margin-bottom: 20px;
}
.blocks-modile-container > *:nth-child(3) {
  margin-bottom: 20px;
}
@media (min-width: 375px) {
  .blocks-modile-container > *:nth-child(3) {
    margin-bottom: 0;
  }
}

.blocks-modile-item {
  width: 100%;
  min-width: 155px;
  min-height: 149px;
  border-radius: 10px;
  background-image: url("../img/main/bloks/blocks-mob-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 6px 4px 6px;
}
@media (min-width: 375px) {
  .blocks-modile-item {
    width: 47%;
  }
}
.blocks-modile-item__title {
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: #333B49;
  max-width: 130px;
  -ms-flex-item-align: start;
      align-self: start;
  margin-top: 8px;
  margin-left: 12px;
}
@media (min-width: 640px) {
  .blocks-modile-item__title {
    font-size: 14px;
    line-height: 17px;
    max-width: 100%;
  }
}

.modile-item-wrapper {
  background-color: #fff;
  margin-right: 0;
  min-width: 149px;
  min-height: 107px;
  border-radius: 10px;
  margin-top: 8px;
  position: relative;
  width: 100%;
}
@media (min-width: 640px) {
  .modile-item-wrapper {
    min-width: 230px;
    min-height: 155px;
  }
}
.modile-item-wrapper__img {
  position: absolute;
  top: 14%;
  left: 31%;
  width: 114px;
  height: 85px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  background-color: #fff;
}
@media (min-width: 375px) {
  .modile-item-wrapper__img {
    left: 10%;
  }
}
@media (min-width: 480px) {
  .modile-item-wrapper__img {
    left: 22%;
  }
}
@media (min-width: 640px) {
  .modile-item-wrapper__img {
    width: 140px;
    height: 106px;
    top: 14%;
    left: 24%;
  }
}
.modile-item-wrapper__img.mobile-img-two {
  padding-bottom: 9px;
}
.modile-item-wrapper__img.mobile-img-three {
  width: 107px;
  height: 93px;
  top: -1%;
}
@media (min-width: 640px) {
  .modile-item-wrapper__img.mobile-img-three {
    width: 140px;
    height: 120px;
  }
}
.modile-item-wrapper__img.mobile-img-four {
  padding-bottom: 15px;
}