.eqftp {
  font-family: $ff;
  font-weight: $fw-regular;
  font-style: normal;
  line-height: normal;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  position: absolute;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  overflow: hidden;
  height: 100%;
  width: 360px;
  z-index: 6;
  &-resize {
    position: absolute;
    top: 0;
    left: 0;
    cursor: w-resize;
    height: 100%;
    width: 4px;
    z-index: 1000;
  }
  &-toolbar {
    &__icon {
      padding-top: 1px;
      padding-bottom: 1px;
      padding-left: 1px;
      padding-right: 1px;
      background-image: url(images/toolbar__icon.svg);
      background-size: contain;
      border-radius: 2px;
      box-sizing: border-box;
      height: 26px;
      width: 26px;
      &_disable {
        opacity: 0.5;
      }
      &:hover {
        background-color: $c04;
      }
      &:active {
        background-color: $c05;
      }
    }
  }
  &-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    min-height: $i12;
    max-height: $i12;
    height: $i12;
    width: 100%;
  }
  &-header {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    z-index: 200;
    &__search {
      padding-top: 6px;
      padding-bottom: 6px;
      padding-left: 6px;
      padding-right: 6px;
      box-sizing: border-box;
      display: none;
      justify-content: center;
      align-items: center;
      animation-name: fadeIn;
      animation-duration: $time-fast;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      &_active {
        display: flex;
      }
      &Holder {
        border-radius: 2px;
        display: flex;
        justify-content: space-between;
        align-content: flex-start;
        align-items: stretch;
        flex-wrap: wrap;
        width: 100%;
        & .eqftp__inputText {
          width: calc(100% - 36px - 36px) !important;
        }
      }
    }
    &__dropdown {
      padding-top: 6px;
      padding-bottom: 6px;
      border-top-width: 1px;
      border-top-style: solid;
      box-sizing: border-box;
      animation-name: fadeIn;
      animation-duration: $time-fast;
      animation-direction: alternate;
      position: relative;
      display: none;
      max-height: 480px;
      width: 100%;
      &_active {
        display: flex;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
      }
      &List {
        width: 100%;
      }
      &Item {
        padding-left: $i9;
        padding-right: $i3;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-content: center;
        align-items: center;
        flex-wrap: wrap;
        cursor: pointer;
        min-height: $i12;
        max-height: $i12;
        height: $i12;
        width: 100%;
        &:hover {
          & .eqftp__titleNowrap {
            &+* {
              border-left-width: 1px;
              border-left-style: solid;
            }
          }
        }
        & .eqftp__titleNowrap {
          &+* {
            margin-left: $i1;
            padding-left: $i1;
            border-left-width: 1px;
            border-left-style: solid;
          }
        }
      }
    }
    &__navigation {
      display: flex;
      justify-content: space-between;
      user-select: none;
      width: 100%;
      &Tab {
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        height: $i12;
        width: 25%;
        &_active {
          border-bottom-color: $c20;
          & .material-icons {
            color: $c20;
          }
        }
      }
    }
  }
  &-modal {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    z-index: 400;
    &_active {
      display: flex;
    }
    &__content {
      box-sizing: border-box;
      position: relative;
      display: flex;
      flex-wrap: wrap;
      height: calc(100% - 48px);
      @include _padding($i4);
      &_start {
        align-content: flex-start;
        align-items: flex-start;
      }
      &_center {
        align-content: center;
        align-items: center;
      }
    }
  }
  &-dialogs {
    padding-left: $i9;
    padding-right: $i9;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 500;
    &_active {
      display: flex;
    }
    &__holder {
      border-radius: 2px;
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
      display: flex;
      align-content: flex-start;
      align-items: flex-start;
      flex-wrap: wrap;
      min-width: 280px;
    }
    &__title {
      padding-top: $i6;
      padding-bottom: $i6;
      padding-left: $i6;
      padding-right: $i6;
      font-size: $fs-title;
      font-weight: $fw-medium;
      box-sizing: border-box;
      width: 100%;
    }
    &__content {
      padding-left: $i6;
      padding-right: $i6;
      font-size: $fs-body-1;
      box-sizing: border-box;
      width: 100%;
    }
    &__actions {
      padding-top: $i6;
      padding-bottom: $i6;
      padding-left: $i6;
      padding-right: $i6;
      box-sizing: border-box;
      display: flex;
      flex-direction: row-reverse;
      width: 100%;
      &_list {
        flex-wrap: wrap;
        & .eqftp-dialogs__action {
          flex-direction: row;
          width: 100%;
          &+.eqftp-dialogs__action {
            padding-top: $i2;
            padding-right: 0;
          }
        }
      }
    }
    &__action {
      box-sizing: border-box;
      &+.eqftp-dialogs__action {
        padding-top: 0;
        padding-right: $i4;
      }
    }
  }
  &-content {
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
    max-height: calc(100% - 122px);
    height: 100%;
    width: 100%;
    z-index: 100;
    &__page {
      animation-name: fadeInRight;
      animation-duration: $time-fast;
      display: none;
      position: relative;
      height: 100%;
      width: 100%;
      &_active {
        display: flex;
      }
      &_connections {
        align-content: flex-start;
        flex-wrap: wrap;
        & .eqftp__buttonCircle {
          position: absolute;
          bottom: $i4;
          right: $i4;
          z-index: 1;
        }
      }
      &_settings {
        padding-top: $i4;
        padding-bottom: $i4;
        padding-left: $i4;
        padding-right: $i4;
        box-sizing: border-box;
        align-content: flex-start;
        flex-wrap: wrap;
      }
    }
  }
  &-footer {
    transition: height $time-fast;
    border-top-width: 1px;
    border-top-style: solid;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow: hidden;
    height: 25px;
    width: 100%;
    z-index: 300;
    &_active {
      padding-top: $i2;
      box-sizing: border-box;
      height: 100%;
      & .eqftp-footer__list {
        max-height: 100%;
        & .eqftp-footer__item {
          align-items: flex-start;
          height: auto;
          & .eqftp-footer__icon,
          & .eqftp-footer__date,
          & .eqftp-footer__info {
            padding-top: 5px;
          }
          & .eqftp-footer__info {
            padding-bottom: 4px;
            span {
              text-overflow: none;
              overflow: visible;
              white-space: normal;
              max-width: none;
            }
          }
        }
      }
      & .eqftp__buttonSquare_footer {
        transform: rotate(180deg);
      }
    }
    &__list {
      position: relative;
      display: flex;
      align-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
      z-index: 1;
    }
    &__item {
      box-sizing: border-box;
      animation: slideInUp 166ms;
      display: flex;
      align-items: center;
      min-height: 25px;
      height: 25px;
      width: 100%;
      &_success {
        & .eqftp-footer__icon {
          & .material-icons {
            &:before {
              content: '\E86C';
              color: $green;
            }
          }
        }
        & .eqftp-footer__info {
          & .eqftp__title {
            animation: fadeColorGreen 3s;
          }
        }
      }
      &_error {
        & .eqftp-footer__icon {
          & .material-icons {
            &:before {
              content: '\E000';
              color: $red;
            }
          }
        }
        & .eqftp-footer__info {
          & .eqftp__title {
            animation: fadeColorRed 3s;
          }
        }
      }
      &_warning {
        & .eqftp-footer__icon {
          & .material-icons {
            &:before {
              content: '\E002';
              color: $red;
            }
          }
        }
        & .eqftp-footer__info {
          & .eqftp__title {
            animation: fadeColorRed 3s;
          }
        }
      }
      &_info {
        & .eqftp-footer__icon {
          & .material-icons {
            &:before {
              content: '\E88E';
              color: $blue;
            }
          }
        }
        & .eqftp-footer__info {
          & .eqftp__title {
            animation: fadeColorBlue 3s;
          }
        }
      }
    }
    &__icon {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      min-width: 25px;
      max-width: 25px;
      width: 25px;
      & .material-icons {
        font-size: 16px;
      }
    }
    &__date {
      opacity: 0.4;
      display: flex;
      align-items: center;
      height: 100%;
      min-width: $i11;
      max-width: $i11;
      width: $i11;
    }
    &__info {
      margin-left: $i2;
      min-width: 0px;
      max-width: calc(100% - 25px - 50px - 25px);
    }
  }
  &-fileTree {
    padding-top: $i2;
    padding-bottom: $i2;
    box-sizing: border-box;
    user-select: none;
    height: 100%;
    width: 100%;
    &__item {
      padding-right: $i2;
      box-sizing: border-box;
      cursor: default;
      position: relative;
      display: flex;
      max-width: 100%;
      width: 100%;
      &:before {
        box-sizing: border-box;
        content: '';
        border-left: 1px dashed rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 0;
        left: 4px;
        height: 100%;
        width: 0;
      }
      &:hover {
        background-color: rgba(0, 0, 0, 0.1);
      }
      &:first-child {
        &:before {
          top: auto;
          bottom: 0;
          height: calc(100% - 12px);
        }
      }
      &:last-child {
        &:before {
          height: calc(100% - 12px);
        }
      }
      &_file {
        align-items: center;
        min-height: $i6;
        max-height: $i6;
        height: $i6;
        &:after {
          content: '';
          border-top: 1px dashed rgba(255, 255, 255, 0.1);
          position: absolute;
          top: 12px;
          left: 7px;
          height: 0;
          width: 9px;
        }
        &:first-child {
          &:before {
            top: 0;
            bottom: auto;
            height: 100%;
          }
        }
        &:first-child {
          &:last-child {
            &:before {
              height: calc(100% - 12px);
            }
          }
        }
      }
      &_folder {
        align-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        & .eqftp-fileTree__icon {
          padding-left: 5px;
        }
      }
      &_new {
        & .eqftp-fileTree__info {
          width: 100%;
        }
        &.eqftp-fileTree__item_folder {
          & .eqftp-fileTree__icon {
            & .material-icons {
              &:before {
                content: '\E315';
              }
            }
          }
        }
      }
    }
    &__element {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    &__info {
      display: flex;
      align-items: center;
      min-width: 0px;
      width: calc(100% - 120px);
    }
    &__icon {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: $i6;
      max-height: $i6;
      height: $i6;
      min-width: $i5;
      max-width: $i5;
      width: $i5;
      & .material-icons {
        font-size: 16px;
      }
    }
    &__size {
      padding-left: $i1;
      opacity: 0.4;
      box-sizing: border-box;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      min-width: 0px;
      max-width: 100%;
    }
    &__date {
      padding-left: $i1;
      box-sizing: border-box;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      min-width: 50px;
      max-width: 120px;
      & .eqftp__title {
        text-align: right;
      }
    }
    &__children {
      padding-left: $i2;
      box-sizing: border-box;
      display: none;
      width: 100%;
      & .eqftp-fileTree__item {
        padding-right: 0;
      }
    }
    &__text {
      &_folder {
        opacity: 0.6;
      }
      &_dot {
        opacity: 0.4;
      }
      &_extension {
        opacity: 0.4;
      }
    }
  }
  &-queue {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    &__actions {
      padding-left: $i4;
      padding-right: $i4;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      min-height: $i12;
      max-height: $i12;
      height: $i12;
      width: 100%;
    }
    &__direction {
      transition: opacity $time-fast;
    }
    &__info {
      display: flex;
      align-items: center;
      max-width: calc(100% - 36px - 4px);
      width: 100%;
    }
    &__menu {
      position: absolute;
      top: 0;
      left: 0;
      animation-name: fadeInLeft;
      animation-duration: $time-fast;
      display: none;
      justify-content: center;
      align-items: center;
    }
    &__item {
      position: relative;
      display: flex;
      align-items: center;
      min-height: $i9;
      max-height: $i9;
      height: $i9;
      max-width: 100%;
      width: 100%;
      &+.eqftp-queue__item {
        border-top-width: 1px;
        border-top-style: solid;
      }
      &_error {
        background-color: rgba(192, 57, 43, 0.1);
        & .eqftp-queue__direction {
          & .material-icons {
            color: $red;
          }
        }
        & .eqftp-queue__itemSize {
          display: none;
        }
        & .eqftp-queue__itemError {
          display: block;
        }
      }
      &Local {
        min-width: 80%;
        max-width: 80%;
      }
      &Size {
        display: flex;
        justify-content: flex-end;
        min-width: 20%;
        max-width: 20%;
      }
      &Error {
        display: none;
        min-width: 20%;
        max-width: 20%;
      }
      &Progress {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 100%;
      }
      &:hover {
        background-color: rgba(0, 0, 0, 0.1);
        &.eqftp-queue__item_error {
          background-color: rgba(192, 57, 43, 0.3);
        }
        & .eqftp-queue__direction {
          opacity: 0;
        }
        & .eqftp-queue__menu {
          display: flex;
        }
      }
    }
  }
  &-connections {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    height: calc(100% - 64px - 26px);
    width: 100%;
    &__item {
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      cursor: pointer;
      min-height: $i12;
      max-height: $i12;
      height: $i12;
      width: 100%;
      &+.eqftp-connections__item {
        border-top-width: 1px;
        border-top-style: solid;
      }
      &Name {
        display: flex;
        align-content: center;
        align-items: center;
        flex-wrap: wrap;
        height: 100%;
        width: calc(100% - 48px);
      }
      &:hover {
        background-color: rgba(0, 0, 0, 0.1);
        & .eqftp-connections__menu {
          display: flex;
        }
      }
    }
    &__menu {
      position: absolute;
      top: 0;
      right: 0;
      animation-name: fadeInRight;
      animation-duration: $time-fast;
      display: none;
      justify-content: center;
      align-items: center;
      height: $i12;
      width: $i12;
    }
  }
  &-menu {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: $i2;
    padding-bottom: $i2;
    padding-left: 0;
    padding-right: 0;
    border-radius: 2px;
    animation-name: fadeIn;
    animation-duration: $time-fast;
    position: absolute;
    display: none;
    list-style: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    max-width: 300px;
    z-index: 8;
    &_active {
      display: block;
    }
    &__item {
      padding-left: $i6;
      padding-right: $i6;
      box-sizing: border-box;
      cursor: pointer;
      list-style-type: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: $i8;
      width: 100%;
      &:hover {
        background-color: rgba(0, 0, 0, 0.1);
      }
    }
    &__text {
      padding-top: $i2;
      padding-bottom: $i2;
      font-size: 15px;
      line-height: 16px;
      box-sizing: border-box;
    }
    &__shortcut {
      padding-top: $i2;
      padding-bottom: $i2;
      padding-left: $i2;
      font-size: 15px;
      line-height: 16px;
      box-sizing: border-box;
      display: flex;
      justify-content: right;
      align-items: center;
    }
  }
  &-toast {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    list-style: none;
    position: absolute;
    bottom: 38px;
    right: 46px;
    z-index: 7;
    &__item {
      margin-top: $i2;
      padding-left: $i6;
      padding-right: $i6;
      list-style-type: none;
      background-color: #323232;
      border-radius: 2px;
      box-sizing: border-box;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
      display: flex;
      justify-content: space-between;
      align-items: center;
      animation-name: slideInUp;
      animation-duration: $time-fast;
      min-height: $i12;
      min-width: 288px;
      max-width: 568px;
    }
    &__text {
      font-size: 14px;
      color: $c01;
      animation-name: fadeIn;
      animation-duration: $time-fast;
    }
    &__action {
      padding-left: $i6;
      font-size: 14px;
      font-weight: 500;
      text-transform: uppercase;
      color: $c20;
      cursor: pointer;
      box-sizing: border-box;
      animation-name: fadeIn;
      animation-duration: $time-fast;
      &:hover {
        color: $c21;
      }
    }
  }
  &-hint {
    display: flex;
    align-items: center;
    user-select: none;
    min-height: $i12;
    max-height: $i12;
    height: $i12;
    width: 100%;
    &__icon {
      padding-top: 12px;
      padding-bottom: 12px;
      padding-left: 12px;
      padding-right: 12px;
      font-size: 20px;
      color: $c01;
      background-color: $c10;
      border-radius: 50%;
      box-sizing: border-box;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 24px;
      width: 24px;
      &:before {
        margin-left: -1px;
        content: '';
        background-color: $c10;
        position: absolute;
        top: -20px;
        left: 50%;
        height: 20px;
        width: 2px;
      }
    }
    &__text {
      padding-left: $i4;
      font-size: 14px;
    }
  }
  &-copyright {
    padding-top: $i12;
    padding-bottom: $i12;
    color: $gray700;
    box-sizing: border-box;
    width: 100%;
  }
  &__row {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    &_between {
      justify-content: space-between;
    }
    &_center {
      justify-content: center;
    }
    &_start {
      justify-content: flex-start;
    }
    &_end {
      justify-content: flex-end;
    }
  }
  &__col {
    display: flex;
    align-items: center;
    max-width: 100%;
    &_shortest {
      width: 25%;
    }
    &_short {
      width: 33.3%;
    }
    &_half {
      width: 50%;
    }
    &_long {
      width: 66.6%;
    }
    &_longest {
      width: 75%;
    }
    &_full {
      width: 100%;
    }
    &_fix {
      width: 150px;
    }
    &_end {
      justify-content: flex-end;
    }
    @include _padding($i4);
  }
  &__label {
    margin-top: 16px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 12px;
    line-height: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
    transition: all 0s;
  }
  &__textarea {
    min-height: 100px;
  }
  &__holder {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    &_searchConnection {
      padding-top: $i4;
      padding-bottom: $i4;
      padding-right: $i4;
    }
    &_input {
      position: relative;
      flex-wrap: wrap;
      align-content: flex-end;
      align-items: flex-end;
    }
  }
  &__title {
    font-size: 14px;
    text-align: left;
    display: flex;
    align-items: center;
    min-width: 0px;
    max-width: 100%;
    width: 100%;
    &_center {
      text-align: center;
      justify-content: center;
    }
    &_smallest {
      font-size: 12px;
      line-height: 16px;
    }
    &_small {
      font-size: 16px;
      line-height: 20px;
    }
    &_medium {
      font-size: 20px;
      font-weight: $fw-medium;
      line-height: 24px;
    }
    &_big {
      font-size: $i6;
    }
    &_biggest {
      font-size: $i7;
    }
    &_display1 {
      font-size: 34px;
    }
    &_black {
      color: $c00;
    }
    &_white {
      color: $c01;
    }
    &_gray {
      color: $c02;
    }
    &_right {
      text-align: right;
    }
    &Nowrap {
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      max-width: 100%;
      &_half {
        max-width: 50%;
      }
    }
    @include _padding($i4);
  }
  &__text {
    font-size: 14px;
    &_left {
      text-align: left;
    }
    &_right {
      text-align: right;
    }
    &_center {
      text-align: center;
    }
    &_color {
      &Light {
        color: $gray700;
      }
      &Dark {
        color: $gray300;
      }
      &Blue {
        color: $c20;
      }
    }
  }
  &__subheader {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    min-height: $i12;
    max-height: $i12;
    height: $i12;
    width: 100%;
  }
  &__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    &_smallest {
      min-height: $i6;
      max-height: $i6;
      height: $i6;
      min-width: $i6;
      max-width: $i6;
      width: $i6;
    }
    &_small {
      min-height: $i9;
      max-height: $i9;
      height: $i9;
      min-width: $i9;
      max-width: $i9;
      width: $i9;
    }
    &_medium {
      min-height: $i12;
      max-height: $i12;
      height: $i12;
      min-width: $i12;
      max-width: $i12;
      width: $i12;
    }
    &_big {
      min-height: $i15;
      max-height: $i15;
      height: $i15;
      min-width: $i15;
      max-width: $i15;
      width: $i15;
    }
    &_biggest {
      min-height: $i18;
      max-height: $i18;
      height: $i18;
      min-width: $i18;
      max-width: $i18;
      width: $i18;
    }
  }
  &__link {
    cursor: pointer;
    &:hover {
      opacity: 0.8;
    }
  }
  &__progress {
    position: relative;
    height: 100%;
    width: 100%;
    &Bar {
      background-color: $c20;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
    }
  }
  &__separator {
    background-color: $c10;
    height: 1px;
    width: 100%;
  }
  &__tooltip {
    margin-top: 14px;
    padding-top: $i2;
    padding-bottom: $i2;
    padding-left: $i2;
    padding-right: $i2;
    font-size: $fs-caption;
    color: $c01;
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    border-radius: 2px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 600;
    max-width: 200px;
  }
  &__scroll {
    position: relative;
    width: 100%;
  }
}
