@import "../base/variables.less";
@import "../base/mixins.less";

.profile {
  > .wrap {
    padding: 0 0 40px 0;
  }

  .profile-container-control {
    background-image: none !important;
    position: absolute;
    top: 50%;
    margin-top: 0;
  }

  .left {
    left: 0;
  }

  .right {
    right: 0;
  }
}

.profile-container {

  &-control {
    opacity: 1;
  }

  &-controls {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
    height: 318px;
    line-height: 318px;
    z-index: 10;

    .arr-left {
      background: url(../images/sprite-arrows.png) 0 0 no-repeat;
      background-size: 224px auto;
      .fz0;
      display: block;
      width: 112px;
      height: 207px;
      margin-top: -103px;
      left: 0;
      margin-left: 0;
    }

    .arr-right {
      background: url(../images/sprite-arrows.png) right 0 no-repeat;
      background-size: 224px auto;
      .fz0;
      display: block;
      width: 112px;
      height: 207px;
      margin-top: -103px;
      margin-right: 0;
      right: 0;
    }

  }

  .item {

    &-top {
      height: 318px;
      line-height: 318px;
      text-align: center;
      color: @light;

      &-title {
        display: inline-block;
        vertical-align: middle;
        line-height: 66px;
        font-size: 59px;
        font-family: @second-font;
        text-transform: uppercase;
        font-weight: 800;

        a {
          color: white;
        }

        @media @700 {
          font-size: 30px;
          line-height: 36px;
        }
      }
    }
  }
}

.profile-container-menu {

  .nav-tabs {
    border: none;
    margin-bottom: 20px;

    li {
      width: 15.80%;
      margin-left: 1%;
      border: none;

      @media @tablet {
        width: 49.50%;
        margin-left: 0;
        margin-bottom: 10px;
      }

      @media @mobile {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
      }

      &:nth-child(2n+2) {

        @media @tablet {
          margin-left: 1%;
        }

        @media @mobile {
          margin-left: 0;
        }

      }

      &:first-child {
        margin-left: 0;
      }

    }

    li.active > a, li a:hover {
      border: none;
      background-color: @colored;
      color: @light;
    }

    a {
      width: 100%;
      text-align: center;
      text-transform: uppercase;
      background-color: #404041;
      color: @light;
      font-weight: 800;
      font-size: 21px;
      display: block;
      height: 70px;
      line-height: 64px;
      text-decoration: none;
      font-family: @second-font;
      position: relative;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      border: none;
      margin-right: 0;
      padding: 0;

      @media @normal {
        font-size: 15px;
      }

    }

    span + span {
      display: inline-block;
      vertical-align: middle;
      margin-left: 41px;

      @media @tablet, @mobile {
        margin-left: 0;
      }

    }

    .icon {
      color: @colored;
      background-color: @light;
      width: 35px;
      height: 35px;
      display: inline-block;
      vertical-align: middle;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      border-radius: 50%;
      text-align: center;
      line-height: 35px;
      position: absolute;
      left: 18px;
      top: 0;
      bottom: 0;
      margin-top: auto;
      margin-bottom: auto;
      font-size: 20px;
    }

  }

}

.profile-container .tabs-table {
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
  width: 100%;

  td {
    border: 1px solid #e0e0e0;
    padding: 24px 54px;
    font-size: 18px;

    @media @tablet {
      font-size: 14px;
    }

  }

  &-title {
    background-color: #e0e0e0;

    td {
      padding: 24px 36px;
      font-weight: 800;
      text-transform: uppercase;
      font-family: @second-font;
      font-size: 21px;
    }

  }

  th {
    padding: 24px 36px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: @second-font;
    color: @colored;
    font-size: 30px;
  }

  &.tabs-table-photo-gallery {
    td {
      padding: 12px;
      border: 0;
      border-top: 1px solid #e0e0e0;

      display: -ms-flexbox;
      -ms-flex-wrap: wrap;
      -ms-flex-direction: column;
      -webkit-flex-flow: row wrap;
      flex-flow: row wrap;
      display: -webkit-box;
      display: flex;

      div {
        -webkit-box-flex: auto;
        -ms-flex: auto;
        flex: auto;
        width: 200px;
        margin: 12px;

        a {
          .transition-all;

          display: block;
          border: 2px solid transparent;

          &:hover {
            border: 2px solid @colored;
          }

          img {
            width: 100%;
            height: auto;
          }
        }
      }
    }
  }
}

