body {
  @apply font-sans;
}
//.pt0 {
//  padding-top: 0 !important;
//}

.icon {
  @apply inline-block align-middle fill-current leading-none;
  width: 1em;
  height: 1em;
  &.none {
    fill: none;
  }
}

.row {
  //-mx-col
  @apply flex flex-wrap -mx-2.5;
  &-objects {
    height: 150px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #DDDDDD;
  }
  &-image {
    padding: 20px;
    cursor: pointer;
    &:hover {
    }
  }
}

//.rowfix {
//  @media (max-width: 768px) {
//    @apply -mx-2.5;
//  }
//}

.col {
  @apply px-spacer w-full flex-none;

  &.xs {
    &-1 {
      @apply w-1/12;
    }
    &-2 {
      @apply w-2/12;
    }
    &-3 {
      @apply w-3/12;
    }
    &-4 {
      @apply w-4/12;
    }
    &-5 {
      @apply w-5/12;
    }
    &-6 {
      @apply w-6/12;
    }
    &-7 {
      @apply w-7/12;
    }
    &-8 {
      @apply w-8/12;
    }
    &-9 {
      @apply w-9/12;
    }
    &-10 {
      @apply w-10/12;
    }
    &-11 {
      @apply w-11/12;
    }
    &-12 {
      @apply w-full;
    }
  }

  &.sm {
    @screen sm {
      &-1 {
        @apply w-1/12;
      }
      &-2 {
        @apply w-2/12;
      }
      &-3 {
        @apply w-3/12;
      }
      &-4 {
        @apply w-4/12;
      }
      &-5 {
        @apply w-5/12;
      }
      &-6 {
        @apply w-6/12;
      }
      &-7 {
        @apply w-7/12;
      }
      &-8 {
        @apply w-8/12;
      }
      &-9 {
        @apply w-9/12;
      }
      &-10 {
        @apply w-10/12;
      }
      &-11 {
        @apply w-11/12;
      }
      &-12 {
        @apply w-full;
      }
    }
  }

  &.md {
    @screen md {
      &-1 {
        @apply w-1/12;
      }
      &-2 {
        @apply w-2/12;
      }
      &-3 {
        @apply w-3/12;
      }
      &-4 {
        @apply w-4/12;
      }
      &-5 {
        @apply w-5/12;
      }
      &-6 {
        @apply w-6/12;
      }
      &-7 {
        @apply w-7/12;
      }
      &-8 {
        @apply w-8/12;
      }
      &-9 {
        @apply w-9/12;
      }
      &-10 {
        @apply w-10/12;
      }
      &-11 {
        @apply w-11/12;
      }
      &-12 {
        @apply w-full;
      }
    }
  }

  &.lg {
    @screen lg {
      &-1 {
        @apply w-1/12;
      }
      &-2 {
        @apply w-2/12;
      }
      &-3 {
        @apply w-3/12;
      }
      &-4 {
        @apply w-4/12;
      }
      &-5 {
        @apply w-5/12;
      }
      &-6 {
        @apply w-6/12;
      }
      &-7 {
        @apply w-7/12;
      }
      &-8 {
        @apply w-8/12;
      }
      &-9 {
        @apply w-9/12;
      }
      &-10 {
        @apply w-10/12;
      }
      &-11 {
        @apply w-11/12;
      }
      &-12 {
        @apply w-full;
      }
    }
  }
}

.section {
  @apply overflow-hidden;
  padding-top: 30px;

  &__header {
    @apply flex items-center mb-col md:mb-5;

    h2 {
      @apply flex-1 pr-5;
      max-width: 100% !important;
      white-space: normal;
      color: #2B2A2A;
      padding-top: 30px;
    }

    .controls {
      @apply flex items-center;

      button {
        @apply w-8 h-8 rounded-full border border-grayDark border-opacity-20 hover:border-primary bg-white hover:bg-primary text-primary hover:text-white mr-2 last:mr-0;

        .icon {
          @apply block w-5 h-5 mx-auto;
        }
      }
    }
  }
  .brends-items{
    display: grid;
    grid-gap: 20px;

    //grid-template-rows: 1fr 1fr;
    //grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    @apply grid-cols-2 md:grid-cols-3 lg:grid-cols-6 px-2.5;
  }
  .row-image {
    filter: grayscale(1);
    transition: all 0.5s;
    height: 100%;
  }
  .row-image:hover {
    filter: grayscale(0);
    transition: all 0.5s;
  }
  &.sale-items,
  &.home-brands {
    @apply bg-blue bg-opacity-20;
  }

  &.home-brands {
    .col {
      @apply py-spacer;
      padding-right: 20px;

      img {
        @apply block w-full rounded-lg border border-grayLight p-3 object-cover object-center bg-white;
      }
    }
  }

  &.page-header {
    @apply m-0 p-0 relative text-center;

    .page-header__image {
      @apply absolute inset-0 object-cover object-center z-0 block w-full h-full;
    }

    .page-header__overlay {
      @apply px-0 py-20 sm:py-40 relative z-10 bg-black bg-opacity-50 text-white;
    }
  }

  &.thanks-page {
    .thanks-wraper {
      @apply p-5 text-center;
      margin: 80px 0;
      border-radius: 20px;
      box-shadow: 0px 0px 10px 2px rgba(112, 112, 112, 0.15);
      background: white url(../images/thanks-bg.png);
      background-size: contain;

      img {
        @apply block mx-auto mt-spacer mb-5;
      }

      h3,
      p {
        @apply mb-2;
      }
      .panel-first {
        border: 1px solid #dddddd;
        border-radius: 10px;
        max-width: 550px;
        margin-right: 20px;
      }
      .panel-second {
        border: 1px solid #dddddd;
        border-radius: 10px;
        max-width: 550px;
      }
      .last-panel {
        border-bottom: none !important;
        border-bottom-width: 0 !important;
      }
      .second-start {
        font-size: 24px;
      }
      .start-first {
        display: block;
        font-size: 24px;
        max-width: 230px;
      }
      .first-list {
        margin-right: 0;
      }
      .first {
        display: block;
        font-size: 24px;
        max-width: 280px;
        position: relative;
        margin-left: 5px;

      }
      .second {
        text-align: right;
        font-size: 24px;
      }

      .panel {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        @apply p-5 bg-white ;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.7);
        .row {
          @apply -mx-5;
        }
        .col {
          @apply py-spacer;
        }
        ul {
          @apply text-left;

          li {
            @apply block sm:flex border-b border-grayLight text-sm;
            padding: 11px 20px;
            line-height: 22px;
            li:last-child {
            }
            .last-panel {
              border-bottom: none;
            }
            span,
            strong {
              @apply block;
            }

            strong {
              @apply font-semi;
            }

            .second-start {
              @apply flex-1 pr-col;
            }
          }
        }
      }
    }
  }
}

#page {
  @apply min-h-screen flex flex-col md:pt-24 pt-16;

  .main {
    @apply flex-1;
  }
}

.breadcrumbs {
  @apply text-xs leading-5  text-primary;
  padding-top: 40px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 30px;


  .icon {
    width: 12px;
    height: 12px;
    margin-right: 6px;
  }

  a {
    @apply text-black hover:text-primary;
  }

  li,
  span,
  .icon {
    @apply inline-block leading-none align-middle;
  }

  li:after {
    @apply inline-block leading-none align-middle w-spacer h-px mx-2 hover:bg-primary bg-current;
    content: "";
  }

  li:last-child:after {
    @apply hidden;
  }
}

.pagination {
  @apply pt-5;

  ul {
    @apply flex flex-wrap items-center justify-center select-none;

    li {
      @apply p-col block flex-none;

      a,
      span {
        @apply block rounded-full text-black font-semi leading-9 text-base text-center;
        padding-top: 4px;
        height: 45px;
        width: 45px;
      }

      a {
        @apply bg-white border border-grayLight hover:bg-primary hover:border-primary hover:text-white;
      }

      &.current a {
        @apply border-primary;
      }
    }
  }
}
.thanks-wraper p {
  margin-bottom: 0 !important;
}

.return-home {
padding: 9px 30px;

  @apply bg-primary;
border-radius: 30px;
  display: inline-block;
  margin: 20px auto 50px;
}

.return-link{
  font-weight: normal;
  font-size: 18px;
  line-height: 27px;
  color: #FFFFFF;
}

.first-block-data{
  //padding-right: 20px;
}

.end.first > div{
  position: relative ;
  left: -220px ;
  margin-top: 10px;
}

.form-price {
  //white-space: nowrap;
}

.mobile_only {
  @apply md:hidden;
}

.desktop_only {
  @apply hidden md:block;
}
