/*======GLOBAL======*/
html {
  overflow-x: clip;
}

html,
body {
  background-color: $white;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: clip;
  color: $black;
  scroll-behavior: smooth;
  scrollbar-color: $black-clear01 $black;
  scrollbar-width: thin;
  //overscroll-behavior: none;
  @include fluid-type(320px, 1680px, 12px, 16px);
  &.no-overflow {
    overflow: visible;
    body {
      position: fixed;
      width: 100%;
      left: 0;
      right: 0;
      overflow: visible scroll;
    }
  }
  &::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: $black-clear01;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: $black-clear01;
    display: block;
  }
}

p.test {
  font-family: Roboto;
  font-size: 50px;
}

.no-padding-left {
  padding-left: 0;
}
.no-padding-right {
  padding-right: 0;
}
.no-padding {
  padding: 0;
}

.main,
.privacy-page {
  display: block;
  min-height: 130vh;
  height: auto;
  z-index: 5;
  &.error {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
  }
  &.products {
    background-color: $background-grey-clear01;
    padding-top: 70px;
    z-index: 4;
    @media (min-width: 768px) {
      padding-top: 95px;
    }
  }

  &.products-out {
    background-color: $background-white;
    padding-top: 70px;
    z-index: 4;
    @media (min-width: 768px) {
      padding-top: 95px;
    }
  }
}

.privacy-page {
  z-index: 0;
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

a,
a:focus,
a:active,
a:visited,
a:link {
  color: $black-clear02;
  outline: none;
  text-decoration: none;
  &:hover {
    text-decoration: none;
  }

  &.grey {
    color: $grey-clear03;
  }
}

.p-relative {
  position: relative;
}

/////*APPLY ON EVERY PAGE OR/ LAST COMPONENT*/////
.page-padding {
  padding-bottom: 19rem !important;
}

/////*APPLY ON PAGE WITH GOOGLEMAPS COMPONENT ON BOTTOM*/////
.page-padding-maps {
  padding-bottom: 4rem !important;
}
img {
  border-style: none;
}

/* MULTISELECT */
.multiselect {
  height: 50px;
  border: none !important;
  &-placeholder {
    color: $black-clear02 !important;
  }
  &-dropdown {
    background-color: $white;
    border: none !important;
    border-radius: 5px;
  }

  &.is-active {
    box-shadow: none !important;
    border-color: none;
    background-color: $grey-clear02;
    border: none;
  }

  .multiselect-option {
    &.is-selected {
      background-color: $black-clear02;
      color: $white;
    }

    &.is-pointed {
      background-color: $black-clear02 !important;
      color: $white;
    }
  }
}

/* FORM */
.formulate-input-error {
  @include fluid-type(768px, 1680px, 12px, 14px);
}

.form-message-response-wrapper {
  padding: 15px 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  @include flexbox;
  @include align-items(center);
  @include justify-content(center);
  @include fluid-type(768px, 1680px, 12px, 14px);
  p {
    margin: 0;
  }
  &.message-sucess {
    height: auto;
    color: white;
  }
  &.message-error {
    height: auto;
    color: white;
  }
}

.form-row {
  margin-left: -5px;
  margin-right: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-left: 5px;
  padding-right: 5px;
}

.form-group {
  margin-bottom: 20px;
  padding: 0 15px;
  &.no-margin {
    margin: 0;
  }
  &.disabled {
    pointer-events: none;
    opacity: 0.3;
  }
}

.field-warning {
  display: none;
  font-size: 9px;
  color: rgba($black-clear02, 0.65);
}

.field-input-wrapper {
  position: relative;
  svg {
    position: absolute;
    right: 15px;
    top: 15px;
  }
}

.field-input-two-items {
  margin-right: -5px;
  margin-left: -5px;
  & > div {
    width: 100%;
    padding: 0 5px;
    .custom-select {
      min-width: initial !important;
    }
  }
}

.field-input {
  &.big {
    width: 100%;
  }

  label {
    width: 100%;
  }

  input,
  input:focus,
  input:active,
  input:visited {
    width: 100%;
    height: 60px;
    padding: 30px 18px;
    border-radius: 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-family: Roboto;
    color: $black-clear02;
    @include fluid-type(320px, 768px, 14px, 16px);
    &.disabled {
      pointer-events: none;
      opacity: 0.3;
    }
  }

  input {
    &::-webkit-input-placeholder {
      /* Edge */
      color: $black-clear02;
    }

    &:-ms-input-placeholder {
      /* Internet Explorer 10-11 */
      color: $black-clear02;
    }

    &::placeholder {
      color: $black-clear02;
    }
  }

  select {
    width: 100%;
    height: 45px;
    padding: 0 10px 12px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid $black;
    background: transparent;
    outline: none;
    box-shadow: none;
    //font-family: $WorkSansLight;
    color: $black;
    background: url("../assets/images/chevron-down_black.png") center right / 15px
      no-repeat;
    cursor: pointer;
    @include fluid-type(320px, 1680px, 14px, 20px);
    @include appearence(none);
    option {
      background: $black;
      color: $white;
      cursor: pointer;
    }
  }

  textarea {
    width: 100%;
    height: 100px;
    padding: 0 10px 12px 0;
    border-radius: 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    resize: none;
    font-family: Roboto;
    color: $black-clear02;
    @include fluid-type(320px, 1680px, 14px, 20px);
  }

  textarea {
    &::-webkit-input-placeholder {
      /* Edge */
      color: $black-clear02;
    }

    &:-ms-input-placeholder {
      /* Internet Explorer 10-11 */
      color: $black-clear02;
    }

    &::placeholder {
      color: $black-clear02;
    }
  }

  p {
    margin-bottom: 5px;
  }
  &.newsletter {
    input,
    input:focus,
    input:active,
    input:visited {
      border-radius: 30px;
      background: rgba($background-white, 0.5);
      outline: none;
      box-shadow: none;
      color: $white;
      &::-webkit-input-placeholder {
        /* Edge */
        color: $white;
      }

      &:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: $black;
      }

      &::placeholder {
        color: $white;
      }
    }
  }
  &.filters {
    input,
    input:focus,
    input:active,
    input:visited {
      height: 50px;
      padding: 25px 18px;
      background: $background-white;
      font-size: 13px;
      color: $black-clear02;
      @media (min-width: 992px) {
        font-size: 14px;
      }
    }
    select {
      @include appearence(none);
      width: 100%;
      height: 50px;
      padding: 7px 20px 5px 18px;
      border-radius: 0;
      border: none;
      outline: none;
      box-shadow: none;
      font-family: Roboto;
      font-size: 14px;
      color: $black-clear02;
      background: url("../assets/images/chevron-down_black.png") center right 20px /
          15px no-repeat,
        $background-white;
      cursor: pointer;
      option {
        background: $black;
        color: $white;
        cursor: pointer;
      }
    }
  }
  &.white {
    input,
    input:focus,
    input:active,
    input:visited {
      height: 50px;
      padding: 13px;
      border-radius: 5px;
      background: rgba($background-white, 0.75);
      font-size: 14px;
    }
    textarea {
      padding: 13px;
      border-radius: 5px;
      background: rgba($background-white, 0.75);
      font-size: 14px;
    }
  }
}

/*ARROWS SLIDER*/
.slider-arrows-wrapper {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
  .arrow-next,
  .arrow-next:focus,
  .arrow-next:active,
  .arrow-next:visited,
  .arrow-prev,
  .arrow-prev:focus,
  .arrow-prev:active,
  .arrow-prev:visited {
    position: absolute;
    top: 50%;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    @include flexbox;
    @include align-items(center);
    @include justify-content(center);
    width: 40px;
    height: 40px;
    opacity: 1;
    z-index: 2;
    @include transition;
    &:hover {
      opacity: 0.7;
    }
    svg {
      width: 15px;
      height: auto;
      path {
        fill: $white;
      }
    }
    &.swiper-button-disabled {
      opacity: 0.5 !important;
      pointer-events: none !important;
    }
  }
  .arrow-prev,
  .arrow-prev:focus,
  .arrow-prev:active,
  .arrow-prev:visited {
    left: 10px;
    @media (min-width: 768px) {
      left: 40px;
    }
    @media (min-width: 1199px) {
      left: 30px;
    }
  }
  .arrow-next,
  .arrow-next:focus,
  .arrow-next:active,
  .arrow-next:visited {
    right: 10px;
    @media (min-width: 768px) {
      right: 40px;
    }
    @media (min-width: 1199px) {
      right: 30px;
    }
  }
}

/* SVG Border */
.svg-border {
  padding: 6px;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  background-color: transparent;
  &.pink {
    border: 1px solid $color01;
  }
  &.white {
    border: 1px solid $white;
  }
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
  text-align: left;
  outline: none;
  line-height: 1;
  background: transparent;
  border-radius: 0;
  border: 1px solid $grey-clear02;
  &:focus,
  &:hover {
    outline: none;
    box-shadow: none;
  }
  &.big {
    height: 50px;
    .selected {
      line-height: 50px;
    }
  }
  &.small {
    height: 40px;
    .selected {
      line-height: 40px;
    }
  }
  &.border-radius {
    border-radius: 25px;
  }
  &.open {
    background-color: $background-grey-clear02;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    .selected {
      &:after {
        transform: rotate(-180deg) translateY(-50%);
      }
    }
    .items {
      display: block;
    }
  }
  &.active {
    background-color: rgba($color02, 0.25);
    border-color: 1px solid $color02;
    color: $color02;
    .selected {
      &:after {
        background: url("../assets/images/close-circle.png") center center/ 15px
          no-repeat;
      }
    }
  }
  &.disabled {
    pointer-events: none;
    opacity: 0.3;
  }
  .selected {
    position: relative;
    font-family: Roboto;
    background-color: transparent;
    color: $black-clear02;
    padding: 0 12.5px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    @media (min-width: 992px) {
      padding: 0 20px;
      font-size: 14px;
    }
    &:after {
      position: absolute;
      content: "";
      background: url("../assets/images/chevron-down_black.png") center center/
        15px no-repeat;
      top: 50%;
      right: 5px;
      width: 30px;
      height: 30px;
      transform-origin: center top;
      transform: rotate(0) translateY(-50%);
      @include transition;
    }
  }
  .items {
    display: none;
    color: #1d1d1b;
    overflow: hidden;
    position: absolute;
    border-right: 1px solid $grey-clear02;
    border-left: 1px solid $grey-clear02;
    border-bottom: 1px solid $grey-clear02;
    background-color: #fff;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 250px;
    overflow: hidden auto;
    scroll-behavior: smooth;
    scrollbar-color: $black-clear01 $black;
    scrollbar-width: thin;
    &::-webkit-scrollbar {
      width: 5px;
    }

    /* Track */
    &::-webkit-scrollbar-track {
      background: transparent;
    }

    /* Handle */
    &::-webkit-scrollbar-thumb {
      background: $black-clear01;
    }
    &::-webkit-scrollbar-thumb:window-inactive {
      background: $black-clear01;
    }
    div {
      color: $black-clear02;
      padding: 10px 20px 10px 20px;
      cursor: pointer;
      user-select: none;
      &:hover {
        background-color: $black-clear02;
        color: #fff;
      }
    }
  }
  &.rose {
    padding-bottom: 2px;
    border: none;
    border-bottom: 2px solid $color01;
    color: $color01;
    .selected {
      color: $color01;
      padding: 0 5px 0 0;
      @include fluid-type(320px, 1199px, 30px, 50px);
      &:after {
        height: 50px;
        background: url("../assets/images/chevron-down.png") center center/
          15px no-repeat;
        right: -5px;
      }
    }
    .items {
      border: none;
    }
    &.open {
      background-color: transparent;
      .items {
        display: block;
      }
    }
  }
  &.normal {
    border: none;
    background-color: $background-white;
    .selected {
      &:after {
        height: 50px;
      }
    }
    &.open {
      background-color: $background-grey-clear02;
      .items {
        display: block;
      }
    }
    &.active {
      border-color: 1px solid $color02;
      color: $color02;
      .selected {
        font-family: Roboto;

        &:after {
          background: url("../assets/images/close-circle.png") center center/ 15px
            no-repeat;
        }
      }
    }
  }
}

.checkbox-wrapper {
  @include flexbox;
  @include align-items(flex-start);
  cursor: pointer;
  label {
    @include flexbox;
    @include justify-content(flex-start);
    @include align-items(flex-start);
    width: 100%;
    cursor: pointer;
    a,
    a:focus,
    a:visited,
    a:active {
      color: $black;
      &:hover {
        opacity: 0.7;
      }
    }
  }

  input {
    @include appearence(none);
    border: 1px solid $black-clear02;
    border-radius: 5px;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
    &:after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 60%;
      height: 60%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      background-color: $black-clear02;
      opacity: 0;
      visibility: hidden;
      @include transition;
    }

    &:checked:after {
      opacity: 1;
      visibility: visible;
    }
  }
  p {
    display: inline-block;
    width: 80%;
    font-family: Roboto;
    @include fluid-type(320px, 768px, 12px, 14px);
  }
  &.white {
    label {
      a,
      a:focus,
      a:visited,
      a:active {
        color: $white;
      }
    }
    input {
      border: 1px solid $white;
      &:after {
        background-color: $white;
      }
    }
    p {
      color: $white;
    }
  }
  &.filters {
    @include flex-basis(0, 1, 10%);
    label {
      width: auto;
    }
    input {
      margin-right: 15px;
    }
    p {
      width: auto;
      line-height: 1;
    }
  }
}

.form-message-response-wrapper {
  @include flexbox;
  @include align-items(center);
  color: $white;
  padding: 15px 10px;
  margin-top: 10px;
  @include fluid-type(768px, 1680px, 12px, 14px);
  &.message-wait {
    height: auto;
  }
  &.message-sucess {
    height: auto;
    background: green;
  }
  &.message-error {
    height: auto;
    background: red;
  }
}

.formulate-input-error {
  color: black;
  @include fluid-type(768px, 1680px, 10px, 12px);
}

/* / FORM */

/*SWIPER*/

.swiper-pagination-bullets,
.swiper-pagination-clickable,
.swiper-pagination {
  position: relative;
  bottom: 30px !important;
  z-index: 1;

  .swiper-pagination-bullet {
    width: 35px;
    height: 2px;
    opacity: 1 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: rgba($color01, 0.5) !important;
    &:not(:first-child) {
      margin: 0 0 0 10px !important;
    }
    &.swiper-pagination-bullet-active {
      //background: $background-white !important;
    }
  }
}

/*SELECT*/

select {
  @include appearence(none);
  display: block;
  max-height: 50px;
  padding: 7px 20px 5px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-family: Roboto;
  cursor: pointer;
  option {
    color: $black-clear02;
  }
  &.languages-desktop {
    text-transform: uppercase;
    background: url("../assets/images/chevron-down.png") right center/ 15px
      no-repeat;
    color: $white;
    font-size: 14px;
  }
  &.house-type {
    background: url("../assets/images/chevron-down_black.png") right center/ 15px
      no-repeat;
    font-family: Roboto;
    font-size: 16px;
    max-height: 60px;
    padding: 21px 20px 21px 0;
    width: 100%;
  }
}

/* MODAL */
.custom-modal-icon-close {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  cursor: pointer;
  svg {
    width: 30px;
    height: 20px;
    path {
      fill: $white;
    }
  }
  &.black {
    svg {
      width: 30px;
      height: 20px;
      path {
        fill: $black-clear02;
      }
    }
  }
}

.custom-modal-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 25px 0;
  opacity: 0;
  visibility: hidden;
  z-index: 101;
  pointer-events: none;
  background-color: rgba(black, 0.8);
  @include transition2(all, 0.5s, ease-in-out);
  &.open {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    z-index: 101;
  }
  .container-fluid {
    height: 100%;
  }

  .custom-modal-share {
    a,
    a:focus,
    a:visited,
    a:active {
      @include inline-flex;
      @include align-items(center);
      @include justify-content(center);
      width: 140px;
      padding: 5px 20px 5px 10px;
      border: 1px solid $white;
      max-height: 50px;
      background-color: transparent;
      margin: 0 10px 10px;
      @include transition;
      span {
        font-size: 12px;
        text-transform: uppercase;
        color: $white;
      }
      svg {
        width: 30px;
        height: auto;
        path {
          fill: $white;
        }
      }
      &:hover {
        background-color: $white;
        span {
          color: $black;
        }
        svg {
          path {
            fill: $black;
          }
        }
      }
    }
  }

  .custom-modal-gallery-header {
    .menu-icon-close,
    .menu-icon-close:focus,
    .menu-icon-close:active,
    .menu-icon-close:visited {
      position: relative;
      top: 0;
      border: 1px solid $white;
      width: 45px;
      height: 45px;
      z-index: 2;
      svg {
        path {
          fill: $white;
        }
      }
      &:hover {
        background: $white;
        svg {
          path {
            fill: $black;
          }
        }
      }
    }
  }
  .custom-modal-gallery-wrapper {
    position: relative;
    height: auto;
    padding: 25px 0;
    top: 40%;
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
  }

  .custom-modal-gallery-content {
    height: 100%;
    &.video {
      @media (min-width: 992px) {
        height: auto;
      }
    }
  }

  .custom-modal-gallery-slider {
    .slick-track {
      @include flexbox;
      @include align-items(center);
    }
    .custom-modal-gallery-slider-item {
      text-align: center;
      picture {
        display: block;
        line-height: 1;
        img {
          width: auto;
          height: auto;
          object-fit: cover;
          min-height: 300px;
          max-height: 600px;
          max-width: 100%;
          margin: 0 auto;
          border: none;
          border-radius: 10px;

          @media (min-width: 768px) {
            max-width: 80%;
          }
          @media (min-width: 992px) {
            max-height: 400px;
            max-width: 90%;
          }
          @media (min-width: 1199px) {
            max-width: 90%;
            max-height: 500px;
          }
          @media (min-width: 1680px) {
            max-height: 700px;
          }
        }
      }
    }
  }
}

.custom-modal-contacts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 25px 0;
  opacity: 0;
  visibility: hidden;
  z-index: 11;
  pointer-events: none;
  background-color: $color01;
  overflow: hidden auto;
  @include transition2(all, 0.5s, ease-in-out);
  &.open {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
  }
  .container-fluid {
    height: 100%;
  }
  .custom-modal-contacts-header {
    .menu-icon-close,
    .menu-icon-close:focus,
    .menu-icon-close:active,
    .menu-icon-close:visited {
      position: relative;
      top: 0;
      border: 1px solid $white;
      width: 45px;
      height: 45px;
      z-index: 2;
      svg {
        path {
          fill: $white;
        }
      }
      &:hover {
        background: $white;
        svg {
          path {
            fill: $black;
          }
        }
      }
    }
  }
  .custom-modal-contacts-wrapper {
    position: relative;
    height: auto;
    padding: 25px 0;
    height: auto;
    max-width: 560px;
    margin: 0 auto;
    @media (min-width: 768px) {
      height: 100%;
    }
    @media (min-width: 1199px) {
      max-width: 960px;
    }
    @media (min-width: 1680px) {
      max-width: 1200px;
    }
    .product-form-wrapper {
      width: 100%;
      .custom-btn,
      .custom-btn:focus,
      .custom-btn:active,
      .custom-btn:visited {
        margin-top: 30px;
      }
    }
  }

  .custom-modal-contacts-content {
    height: 100%;
  }
}

.custom-modal-search-wrapper {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 20px 0;
  z-index: 11;
  background: rgba($black, 0.8);

  .custom-modal-search-area {
    height: 100%;
  }
  .custom-modal-search-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
    background-color: rgba($background-black, 0.2);
  }
  @include transition2(all, 0.5s, ease-in-out);
  &.open {
    top: 0;
    height: 100vh;
    opacity: 1;
    visibility: visible;
  }
  .custom-modal-search {
    div,
    form {
      width: 100%;
    }
    &.social {
      a,
      a:focus,
      a:visited {
        @include inline-flex;
        @include align-items(center);
        @include justify-content(center);
        width: 140px;
        padding: 5px 20px 5px 10px;
        border: 1px solid $white;
        max-height: 50px;
        background-color: transparent;
        margin: 0 10px 10px;
        @include transition;
        span {
          font-size: 12px;
          text-transform: uppercase;
          color: $white;
        }
        svg {
          width: 30px;
          height: auto;
          path {
            fill: $white;
          }
        }
        &:hover {
          background-color: $white;
          span {
            color: $black;
          }
          svg {
            path {
              fill: $black;
            }
          }
        }
      }
    }
  }
  input,
  input:focus,
  input:active,
  input:visited {
    width: 100%;
    height: auto;
    padding: 10px 25px 10px 10px;
    border-radius: 25px;
    border: none;
    border-bottom: 1px solid $white;
    background: transparent;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    font-family: Roboto;
    line-height: 1;
    text-transform: uppercase;
    color: $white;
    @include fluid-type(320px, 992px, 16px, 20px);
    &::-webkit-input-placeholder {
      /* Edge */
      padding-left: 10px;
      color: $white;
    }

    &:-ms-input-placeholder {
      /* Internet Explorer 10-11 */
      padding-left: 10px;
      color: $white;
    }

    &::placeholder {
      padding-left: 10px;
      color: $white;
    }
  }
}

.custom-modal-filters-wrapper {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  min-height: -webkit-fill-available;
  height: 100vh;
  height: 100svh;
  opacity: 1;
  visibility: visible;
  padding: 0;
  z-index: 11;
  overflow-y: scroll;
  scrollbar-color: $black-clear01 $background-grey-clear01;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  &::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: $background-grey-clear01;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: $black-clear01;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: $black-clear01;
  }

  .custom-modal-filters-footer {
    margin-top: 25px;
    padding: 0 15px;
  }

  .custom-modal-filters-content-wrapper {
    height: auto;
  }
  .custom-modal-filters-area {
    height: auto;
    background: $background-grey-clear01;
    box-shadow: 2px 0px 5px 5px rgba($black, 0.15);
    padding: 20px 15px 80px 15px;
  }
  .custom-modal-filters-content {
    width: 100%;
    height: auto;
    margin: 25px 0;

    .field-input {
      &:not(:first-child) {
        margin-top: 10px;
      }
    }
    .filters-wrapper {
      &:not(:first-child) {
        margin-top: 10px;
      }
      &:last-child {
        margin-top: 20px;
      }
      .filters-list {
        margin-top: 10px;
        .checkbox-wrapper {
          &:not(:first-child) {
            margin-top: 10px;
          }
        }
      }
    }
  }
  .custom-modal-filters-header {
    width: 100%;
    .filters-title {
      width: auto;
      // font-family: $MozerLight;
      font-size: 40px;
      color: $black-clear02;
      text-align: left;
      margin: 0;
      padding: 0;
      line-height: 1.1;
    }
  }
  @include transition2(all, 0.5s, ease-in-out);
  &.open {
    left: 0;
  }
}

.tag-btn {
  display: inline-block;
  // font-family: $MozerBlack;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  color: $color02;
  margin: 0;
  padding: 10px;
  height: 40px;
  background-color: $white;
  color: $color02;
  @include transition;
  pointer-events: none;
  &.mobile {
    padding: 5px 10px;
    height: 30px;
    margin-bottom: 2.5px;
  }
}

.map-locations {
  height: 500px;
  @media (min-width: 992px) {
    height: 100vh;
  }
  & > div {
    height: 100%;
  }
}

.filters-nav-container {
  position: relative;
  margin-top: -50px;
  z-index: 2;
}

.filters-nav-products-wrapper {
  margin-left: -15px;
  margin-right: -15px;
  .left {
    padding: 0 15px;
    @include flex-basis(1, 0, 20%);
  }
  .right {
    padding: 0 15px;
    @include flex-basis(1, 0, 80%);
  }
}

///*FADE IN TRANSITION*///
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

///*SLIDE-FADE TRANSITION*///
.slide-fade-enter-active {
  transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
  transition: all 0.4s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
  transform: translateX(20px);
  opacity: 0;
}

///*FLIP TRANSITION*///
.flip-enter-active {
  transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.flip-leave-active {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flip-enter-from,
.flip-leave-to {
  transform: scaleY(0) translateZ(0);
}

.slide-leave-active,
.slide-enter-active {
  transition: 1s;
}
.slide-enter {
  transform: translate(100%, 0);
}
.slide-leave-to {
  transform: translate(-100%, 0);
}
///

.filters-nav-wrapper {
  display: block;
  width: 100%;

  .filters-nav-top {
    .filter-btn,
    .filter-btn:focus,
    .filter-btn:active,
    .filter-btn:visited {
      width: 100%;
      font-family: Roboto;
      font-size: 13px;
      line-height: 1;
      min-width: 105px;
      max-width: 150px;
      padding: 10px;
      height: 50px;
      @include transition;
      background-color: rgba($background-white, 0.75);
      &:hover {
        cursor: pointer;
        background-color: rgba($background-white, 1);
      }
      &:first-child {
        border-top-left-radius: 20px;
      }
      &:last-child {
        border-top-right-radius: 20px;
      }
      &:not(:first-child) {
        margin-left: 3px;
      }
      &.active {
        background-color: rgba($background-white, 1);
      }
    }
  }
  .filters-nav-bottom {
    margin-right: -15px;
    margin-left: -15px;
    padding: 20px 25px;
    background-color: $background-white;
    -webkit-box-shadow: 2px 15px 40px -14px rgba(33, 38, 158, 0.43);
    -moz-box-shadow: 2px 15px 40px -14px rgba(33, 38, 158, 0.43);
    box-shadow: 2px 15px 40px -14px rgba(33, 38, 158, 0.43);

    .left {
      width: 100%;
      @include flex-basis(1, 0, 100%);
      padding: 0 15px;
    }
    .right {
      width: 100%;
      @include flex-basis(1, 0, 100%);
      padding: 0 15px;
    }
    .col-12 {
      .form-group {
        border-bottom: 1px solid $grey-clear02;
      }
      &:last-child {
        margin-bottom: 20px;
      }
    }
  }
  .icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    svg {
      width: 100%;
      height: 100%;
      path {
        fill: $black-clear02;
      }
    }
  }
}

.chavenova-website {
  min-height: 100vh;
  height: auto;
}

.filters-nav-full-optiopns-wrapper {
  margin-right: -15px;
  margin-left: -15px;
  padding: 30px 20px;
  border-bottom: 1px solid $grey-clear02;

  .filters-nav-full-top {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 15px;
  }

  .filters-nav-full-bottom {
    padding: 20px 0;
    .checkbox-wrapper-options {
      margin-left: -15px;
      margin-right: -15px;
    }
    .filters-wrapper {
      margin-left: -10px;
      margin-right: -10px;
      .checkbox-wrapper {
        padding: 0 10px;
        margin-bottom: 5px;
      }
    }

    &.btn {
      margin: 20px 10px 10px 0;
    }
    .field-input {
      margin-bottom: 5px;
    }
  }

  &.homepage {
    margin-top: 15px;
    border-radius: 20px;
    background-color: $background-grey-clear01;
    border-bottom: none;
    .col-6 {
      margin-bottom: 5px;
    }
  }
}

.product-info-contact-mobile {
  &.margin-01 {
    margin: 15px 0 5px 0;
  }
  &.margin-02 {
    margin: 10px 0;
  }
  &.margin-03 {
    margin: 15px 0 25px 0;
  }
}

@media (min-width: 768px) {
  .filters-nav-products-wrapper {
    .left {
      @include flex-basis(1, 0, 50%);
    }
    .right {
      @include flex-basis(1, 0, 50%);
    }
  }
  .main {
    &.products {
      padding-top: 110px;
    }
  }
  .custom-modal-filters-wrapper {
    .custom-modal-filters-area {
      max-width: 380px;
    }
  }
  .swiper-pagination {
    bottom: 40px !important;
  }

  .filters-nav-container {
    margin-top: -100px;
  }
  .filters-nav-wrapper {
    max-width: 680px;
    margin: 0 auto;
    .filters-nav-top {
      .filter-btn,
      .filter-btn:focus,
      .filter-btn:active,
      .filter-btn:visited {
        font-size: 14px;
        padding: 0 40px;
      }
    }
    .filters-nav-bottom {
      .left {
        @include flex-basis(1, 0, 80%);
        padding: 0 15px;
      }
      .right {
        @include flex-basis(1, 0, 20%);
        padding: 0 15px;
      }
      padding: 20px;
      border-radius: 20px;
      .col-12 {
        .form-group {
          border: none;
        }
        &:first-child {
          border-right: 1px solid $grey-clear02;
        }
        &:last-child {
          margin-bottom: 0;
        }
        &.no-border {
          border: none;
        }
      }
      .filters-btn,
      .filters-btn:focus,
      .filters-btn:visited,
      .filters-btn:active {
        margin-right: 20px;
      }
    }
    .icon {
      margin: 0 10px 0 5px;
    }
    .custom-btn,
    .custom-btn:focus,
    .custom-btn:active,
    .custom-btn:visited {
      width: 100%;
    }
  }

}

@media (min-width: 992px) {
  .filters-nav-wrapper {
    max-width: 960px;
    &.stores {
      max-width: 520px;
      .filters-nav-bottom {
        .left {
          @include flex-basis(1, 0, 60%);
        }
        .right {
          @include flex-basis(1, 0, 40%);
        }
      }
    }
    .filters-nav-bottom {
      .left {
        @include flex-basis(1, 0, 70%);
      }
      .right {
        @include flex-basis(1, 0, 30%);
      }
      .filters-btn,
      .filters-btn:focus,
      .filters-btn:visited,
      .filters-btn:active {
        margin-right: 15px;
      }
    }
    .icon {
      margin: 0 30px 0 10px;
    }
  }
}

@media (min-width: 1119px) {
  .filters-nav-products-wrapper {
    .left {
      @include flex-basis(1, 0, 65%);
    }
    .right {
      @include flex-basis(1, 0, 35%);
    }
  }
}

@media (min-width: 1300px) {
  .filters-nav-products-wrapper {
    .left {
      @include flex-basis(1, 0, 70%);
    }
    .right {
      @include flex-basis(1, 1, 30%);
    }
  }
}

@media (min-width: 1680px) {
  .filters-nav-wrapper {
    max-width: 1400px;
  }
  .filters-nav-products-wrapper {
    .left {
      @include flex-basis(1, 0, 75%);
    }
    .right {
      @include flex-basis(1, 1, 25%);
    }
  }
}

.v-enter-active,
.v-leave-active {
  @include transition2(all, 0.5s, ease-in-out);
  transition-delay: 0.3s;
}

.v-enter-from,
.v-leave-to {
  opacity: 0;
}

.loading-height {
  height: 150vh !important;
}

.disabled-btn {
  opacity: 0.5;
  pointer-events: none;
}
.workshops {
  background-color: #f1f4fa !important;
}

/*ARROWS SLIDER*/
.slider-arrows-wrapper {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
  .arrow-next,
  .arrow-next:focus,
  .arrow-next:active,
  .arrow-next:visited,
  .arrow-prev,
  .arrow-prev:focus,
  .arrow-prev:active,
  .arrow-prev:visited {
    position: absolute;
    top: 50%;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    @include flexbox;
    @include align-items(center);
    @include justify-content(center);
    width: 40px;
    height: 40px;
    opacity: 1;
    z-index: 2;
    @include transition;
    &:hover {
      opacity: 0.7;
    }
    svg {
      width: 15px;
      height: auto;
      path {
        fill: $white;
      }
    }
    &.swiper-button-disabled {
      opacity: 0.5 !important;
      pointer-events: none !important;
    }
  }
  .arrow-prev,
  .arrow-prev:focus,
  .arrow-prev:active,
  .arrow-prev:visited {
    left: 10px;
    @media (min-width: 768px) {
      left: 40px;
    }
    @media (min-width: 1199px) {
      left: 30px;
    }
  }
  .arrow-next,
  .arrow-next:focus,
  .arrow-next:active,
  .arrow-next:visited {
    right: 10px;
    @media (min-width: 768px) {
      right: 40px;
    }
    @media (min-width: 1199px) {
      right: 30px;
    }
  }
}

.comments-stars {
  display: flex;

  .star-fill {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 3px;
    margin-right: 5px;
    background-color: #ff8000;

    img {
      width: 18px;
      height: 18px;
      text-align: center;
      margin: 12% auto;
      display: flex;
    }
  }
}

.sidebar-search {
  position: fixed;
  width: 100%;
  max-width: 470px;
  height: calc(100vh - 90px);
  top: 90px;
  right: -100%;
  background-color: $color01;
  z-index: 100;
  @include transition;
  @media (min-width: 1199px) {
    top: 95px;
    height: calc(100vh - 95px);
  }
  &.open {
    right: 0;
  }

  .sidebar-search-btn {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    .search-vehicles,
    .search-vehicles:focus,
    .search-vehicles:active,
    .search-vehicles:visited {
      width: 100%;
      background-color: $color02;
      font-family: Roboto;
      font-size: 16px;
      color: $white;
      padding: 15px 30px;
      text-transform: uppercase;
      svg {
        width: 15px;
        height: 15px;
        left: 0;
        position: relative;
        transform: rotate(-180deg);
        @include transition;
      }
      &:hover{
        svg{
            left: 5px;
        }
      }
    }
  }

  .sidebar-item-search {
    &:nth-child(n + 3) {
      margin-top: 20px;
    }
    .sidebar-item-filter {
      & > div {
        width: 100%;
      }
      .multiselect {
        background-color: rgba($white, 0.15);
        .multiselect-placeholder {
          color: $white !important;
        }
      }
      .cart-type,
      .cart-type:focus,
      .cart-type:active,
      .cart-type:visited {
        cursor: pointer;
        width: 90px;
        height: 85px;
        padding: 5px;
        background-color: rgba($white, 0.15);
        border: 2px solid rgba($color02, 0);
        @include transition;
        &:not(:first-child) {
          margin-left: 10px;
        }
        svg {
          width: 50px;
          height: 20px;
          path {
            fill: rgba($white, 0.15);
          }
        }
        span {
          width: 100%;
          font-family: Roboto;
          font-size: 13px;
          line-height: 1;
          margin-top: 10px;
          color: $white;
        }
        &:hover {
          background-color: rgba($white, 0.25);
          svg {
            path {
              fill: rgba($white, 0.25);
            }
          }
        }
        &.active {
          background-color: rgba($white, 0.75);
          border: 2px solid rgba($color02, 1);
          span {
            color: $color01;
            svg {
              path {
                fill: $color01;
              }
            }
          }
        }
      }
      .filter-left-button {
        background-color: rgba($white, 0.15);
        color: $white !important;
        &:hover {
          background-color: rgba($white, 0.55);
        }
        &.filter-button-active {
          background-color: rgba($white, 0.55);
        }
      }
      &.cart-types {
        margin-bottom: 15px;
      }
      &.range {
        margin-top: 25px;
      }
      .irs--round .irs-handle {
        background-color: $grey-clear04 !important;
      }
      .irs--round .type_last {
        border: 3px solid $grey-clear04 !important;
      }
      .irs--round .irs-bar {
        background-color: $grey-clear04 !important;
      }
      .irs--round .irs-line {
        background-color: $grey-clear05 !important;
      }
      .irs--round .irs-from,
      .irs--round .irs-single,
      .irs--round .irs-to {
        background-color: $grey-clear04 !important;
        color: $color01;
      }
      p.range-price {
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        line-height: 1.57;
        letter-spacing: normal;
        color: #b1b2b2 !important;
        text-align: left;
      }
      p.range-average {
        font-family: Roboto;
        font-size: 10px;
        font-style: normal;
        line-height: 1.57;
        letter-spacing: normal;
        color: #b1b2b2 !important;
        text-align: left;
      }
    }
  }
  .sidebar-search-content {
    position: relative;
    padding: 35px 40px;
    height: calc(100% - 50px);
    overflow: hidden auto;
    .close-btn {
      position: absolute;
      top: 10px;
      right: 35px;
    }
  }
  .sidebar-item-title {
    @include fluid-type(320px, 992px, 20px, 25px);
    font-family: Roboto;
    line-height: 1.2;
    color: $white;
    margin-bottom: 25px;
    padding: 0;
    svg {
      width: 30px;
      height: 30px;
      margin-right: 10px;
      path {
        fill: $orange;
      }
    }
  }
}

.sidebar-wrapper {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 20;
  .sidebar-button,
  .sidebar-button:focus,
  .sidebar-button:active,
  .sidebar-button:visited {
    width: 80px;
    height: 80px;
    padding: 5px;
    cursor: pointer;
    @include transition;
    svg {
      width: 20px;
      height: 20px;
    }
    span {
      width: 100%;
      font-family: Roboto;
      font-size: 12px;
      line-height: 1;
      margin-top: 5px;
    }
    &.type-01 {
      border: 1px solid $color01;
      background-color: $color01;
      svg {
        path {
          fill: $white;
        }
      }
      span {
        color: $white;
      }
      &:hover {
        //background-color: $white;
        border: 1px solid #ff8001;
        background-color: #ff8000;
        svg {
          path {
            //fill: $color01;
            fill: $white;
          }
        }
        span {
          //color: $color01;
          color: $white;
        }
      }
    }
    &.type-02 {
      margin-top: 2px;
      border: 1px solid $white;
      background-color: $white;
      svg {
        path {
          stroke: $color01;
        }
      }
      span {
        color: $color01;
      }
      &:hover {
        border: 1px solid $color01;
        background-color: $color01;
        svg {
          path {
            stroke: $white;
          }
        }
        span {
          color: $white;
        }
      }
    }
  }
}

.fade-enter-active,
.fade-leave-active {
  transition-property: opacity;
  transition-duration: 0.1s;
}

.fade-enter-active {
  transition-delay: 0.05s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}
