@import './../../../../sources/styles/include.scss';

$component: 'reviews';
$template: 'template-7';
$item: 'widget-item';

.widget.c-#{$component}.c-#{$component}-#{$template} {
  .widget-title-margin {
    margin-left: 117px;
    @media (max-width: 500px) {
      margin-left: 54px;
    }
  }
  .widget-title {
    overflow: hidden;
  }
  .widget-send {
    color: #808080;
    padding: 8px 14px;
    border: 1px solid #E8E8E8;
    cursor: pointer;
    @include border-radius(2px);
    @include user-select(none);
    @include transition(.35s, (color, border-color));
  }
  .widget-send-icon {
    svg {
      path {
        stroke: #B0B0B0;
        @include transition(.35s, stroke);
      }
    }
  }
  .widget-send-content {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: inherit;
  }idget-all-margin
  .widget-all {
    display: block;
    text-decoration: none;
  }
  .widget-all-desktop {
    display: block;
    font-size: 10px;
    line-height: 1;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    @include transition(.35s, color);
  }
  .widget-all-mobile {
    display: none;
    padding: 6px 7px;

    svg {
      path {
        stroke: #B0B0B0;
        @include transition(.35s, stroke);
      }
    }
  }

  .#{$item} {
    padding: 40px 20px 20px 20px;
  }
  .#{$item}-wrapper {
    position: relative;
    padding: 60px 100px 40px 100px;
    background: #FFF;
    @include border-radius(7px);
    @include box-shadow(0, 5px, 15px, 0, rgba(0, 0, 0, 0.2));
  }
  .#{$item}-picture {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    @include border-radius(50%);
  }
  .#{$item}-name {
    display: block;
    font-size: 14px;
    line-height: 21px;
    text-decoration: none;
  }
  .#{$item}-position {
    font-size: 12px;
    line-height: 18px;
    color: #6a6a6a;
  }
  .#{$item}-name,
  .#{$item}-position {
    text-align: center;
    max-width: 275px;
    margin-left: auto;
    margin-right: auto;
  }
  .#{$item}-description {
    font-size: 14px;
    line-height: 21px;
    color: #9e9e9e;
    text-align: center;
    margin-top: 20px;
  }

  .widget-items-dots {
    padding-top: 10px;

    .widget-items-dot {
      margin-left: 16px;

      &:first-child {
        margin-left: 0;
      }

      &:not(.active) {
        background: #CFCFCF !important;
      }
      @include border-radius(50%);
      @include transition(.35s, (background-color, border-color));

      span {
        display: block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
      }
    }
  }
  .intec-ui-control-navigation {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;

    button {
      font-size: 9px;
      line-height: 1;
      color: #808080;
      width: 40px;
      height: 40px;
      margin-top: -17px;
      background: #fff;
      border: 1px solid #E8E8E8;
      cursor: pointer;
      outline: none;
      @include border-radius(2px);
      @include transition(0.35s, all);

      &:hover {
        color: #fff;
      }

      svg {
        path {
          stroke: #808080;
          @include transition(0.35s, all);
        }
      }

      &:hover {
        svg {
          path {
            stroke: #FFF;
          }
        }
      }

      &.disabled {
        background-color: #FFF!important;
        border-color: #F2F2F2!important;
        opacity: 0.7;
        cursor: not-allowed;
        @include user-select(none);

        svg {
          path {
            stroke: #F2F2F2!important;
          }
        }
      }
    }
  }
  [data-nav='true'] {
    padding-left: 40px;
    padding-right: 40px;
  }

  @include breakpoint-768() {
    .widget-send-content {
      display: none;
    }

    .#{$item}-wrapper {
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  @include breakpoint-custom(500) {
    .widget-send {
      padding: 6px;
    }
    .widget-all-desktop {
      display: none;
    }
    .widget-all-mobile {
      display: block;
    }

    .#{$item}-description {
      font-size: 12px;
      line-height: 18px;
    }

    .intec-ui-part-button-left,
    .intec-ui-part-button-right {
      border: 1px solid #E3E3E3;
    }
    [data-nav='true'] {
      padding-left: 0;
      padding-right: 0;
    }
  }
}