@import './../../../../sources/styles/include.scss';

$component: 'reviews';
$template: 'template-3';
$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;
  }
  .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);
      }
    }
  }

  .widget-items {
    padding-left: 120px;
    padding-right: 120px;
  }
  .#{$item}-picture {
    display: block;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    @include border-radius(50%);
  }
  .#{$item}-name,
  .#{$item}-position {
    display: block;
    text-align: center;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .#{$item}-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    text-decoration: none;
    @include transition(0.4, scolor);
  }
  .#{$item}-position {
    font-size: 13px;
    line-height: 18px;
    color: #9e9e9e;
    margin-top: 5px;
  }
  .#{$item}-description {
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    margin-top: 20px;
  }
  .intec-ui-control-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;

    button {
      width: 40px;
      height: 40px;
      margin-top: -17px;
      font-size: 9px;
      line-height: 1;
      background: #fff;
      color: #808080;
      border: 1px solid #E8E8E8;
      @include border-radius(2px);
      @include transition(0.35s, all);
      cursor: pointer;
      outline: none;

      &:hover {
        color: #fff;
      }

      svg {
        path {
          stroke: #808080;
          @include transition(0.4s, 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;
          }
        }
      }
    }
  }

  @include breakpoint-768() {
    .widget-send-content {
      display: none;
    }
    .widget-items {
      padding-left: 40px;
      padding-right: 40px;
    }
  }
  @include breakpoint-custom(500) {
    .widget-send {
      padding: 6px;
    }
    .widget-all-desktop {
      display: none;
    }
    .widget-all-mobile {
      display: block;
    }

    .#{$item}-description {
      font-size: 14px;
      line-height: 21px;
    }
  }
}