//  =================
//      Imports
//  =================

@import '../../base/base';    // Base Variables

.widget-content-area {
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
}

.layout-spacing {
  padding-bottom: 25px;
}

/* 
===================
    User Profile
===================
*/

.user-profile .widget-content-area {
  border-radius: 6px;

  .edit-profile {
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-self: center;
    background-color: $primary;
    background: linear-gradient(to right, #3cba92 0%, #0ba360 100%);
    border-radius: 50%;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);

    svg {
      font-size: 17px;
      vertical-align: middle;
      margin-right: 0;
      color: $m-color_19;
      width: 19px;
      align-self: center;
    }
  }

  h3 {
    position: relative;
    font-size: 21px;
    color: $m-color_4;
    margin: 6px 0px 0 0;

    &:after {
      position: absolute;
      content: "";
      height: 2px;
      width: 55px;
      background: $m-color_14;
      border-radius: 50%;
      bottom: 9px;
      left: 15px;
    }
  }

  .user-info {
    margin-top: 40px;

    img {
      border-radius: 9px;
      box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
    }

    p {
      font-size: 20px;
      font-weight: 600;
      margin-top: 22px;
      color: $m-color_14;
    }
  }

  .user-info-list ul.contacts-block {
    border: none;
    max-width: 217px;
    margin: 36px auto;

    li {
      margin-bottom: 13px;
      font-weight: 600;
      font-size: 13px;

      a {
        font-weight: 600;
        font-size: 15px;
        color: $m-color_14;
      }
    }

    svg {
      width: 21px;
      margin-right: 15px;
      color: $m-color_6;
      vertical-align: middle;
      fill: rgba(0, 23, 55, 0.08);
    }

    li:hover svg {
      color: $m-color_14;
      fill: rgba(27, 85, 226, 0.2392156863);
    }

    ul.list-inline {
      margin: 27px auto;

      div.social-icon {
        border: 2px solid $dark;
        border-radius: 50%;
        height: 35px;
        width: 35px;
        display: flex;
        justify-content: center;
        align-self: center;
      }

      svg {
        margin-right: 0;
        color: $m-color_4;
        width: 19px;
        align-self: center;
      }
    }
  }
}

/* 
==============
    Skills
==============
*/

.skills .widget-content-area {
  border-radius: 6px;

  h3 {
    position: relative;
    font-size: 21px;
    color: $m-color_4;
    margin: 6px 0px 40px 0;

    &:after {
      position: absolute;
      content: "";
      height: 2px;
      width: 47px;
      background: $m-color_14;
      border-radius: 50%;
      bottom: -2px;
      left: 15px;
    }
  }

  p.skill-item {
    margin-bottom: 5px;
    font-size: 15px;
    color: $m-color_9;
    font-weight: 600;
  }

  .progress {
    height: 20px;
    margin-bottom: 31px;

    .progress-bar {
      background-color: $primary;
      background: linear-gradient(to right, #2b5876 0%, #4e4376 100%);
      border-radius: 1rem;
      font-size: 12px;
      letter-spacing: 1px;
      font-weight: 100;
    }

    .progress-title {
      display: flex;
      justify-content: space-between;
      padding: 15px;

      span {
        align-self: center;
      }
    }
  }
}

/* 
==============
    Bio
==============
*/

.bio .widget-content-area {
  border-radius: 6px;
  padding-bottom: 0;

  h3 {
    position: relative;
    font-size: 21px;
    color: $m-color_4;
    margin: 6px 0px 40px 0;

    &:after {
      position: absolute;
      content: "";
      height: 2px;
      width: 30px;
      background: $m-color_14;
      border-radius: 50%;
      bottom: -2px;
      left: 15px;
    }
  }

  h5 {
    font-size: 16px;
    font-weight: 700;
    color: $m-color_6;
  }

  p {
    color: $m-color_4;
    font-size: 15px;
  }

  .bio-skill-box {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .b-skills {
    padding: 22px 16px;
    box-shadow: 2px 5px 17px 0 rgba(31, 45, 61, 0.1);
    background: $m-color_18;
    border-radius: 10px;
    padding: 30px 30px 24px;

    svg {
      width: 30px;
      height: 30px;
      margin-right: 21px;
      color: $primary;
    }

    h5 {
      margin-bottom: 10px;
      font-size: 16px;
    }

    p {
      font-size: 13px;
    }
  }
}

/* 
================
    Education
================
*/

.education .widget-content-area {
  border-radius: 6px;

  h3 {
    position: relative;
    font-size: 21px;
    color: $m-color_4;
    margin: 6px 0px 40px 0;

    &:after {
      position: absolute;
      content: "";
      height: 2px;
      width: 97px;
      background: $m-color_14;
      border-radius: 50%;
      bottom: -2px;
      left: 15px;
    }
  }

  .timeline-alter .item-timeline {
    display: flex;

    .t-dot {
      position: relative;
      border-color: $m-color_14;
      padding: 10px;

      &:before {
        content: '';
        position: absolute;
        border-color: inherit;
        border-width: 2px;
        border-style: solid;
        border-radius: 50%;
        width: 10px;
        height: 10px;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    &:not(:last-child) .t-dot:after {
      content: '';
      position: absolute;
      border-color: inherit;
      border-width: 2px;
      border-style: solid;
      border-radius: 50%;
      width: 10px;
      height: 10px;
      top: 15px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: auto;
      top: 25px;
      bottom: -15px;
      border-right-width: 0;
      border-top-width: 0;
      border-bottom-width: 0;
      border-radius: 0;
      border-color: $m-color_12;
    }

    .t-dot img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      z-index: 7;
      position: relative;
    }

    .t-meta-date {
      padding: 10px;

      p {
        margin: 0;
        min-width: 100px;
        max-width: 100px;
        font-size: 12px;
        font-weight: 700;
        color: $m-color_6;
      }
    }

    .t-text {
      padding: 10px;
      align-self: center;

      p {
        font-size: 13px;
        margin: 0;
        color: $m-color_4;
        font-weight: 600;

        a {
          color: $info;
          font-weight: 600;
        }
      }
    }
  }
}

@media (max-width: 575px) {
  .education .widget-content-area .timeline-alter .item-timeline {
    display: block;
    text-align: center;

    .t-meta-date p, .t-usr-txt p {
      margin: 0 auto;
    }
  }
}

/* 
=======================
    Work Experience
=======================
*/

.work-experience .widget-content-area {
  border-radius: 6px;

  h3 {
    position: relative;
    font-size: 21px;
    color: $m-color_4;
    margin: 6px 0px 40px 0;

    &:after {
      position: absolute;
      content: "";
      height: 2px;
      width: 173px;
      background: $m-color_14;
      border-radius: 50%;
      bottom: -2px;
      left: 15px;
    }
  }

  .timeline-alter .item-timeline {
    display: flex;

    .t-dot {
      position: relative;
      border-color: $m-color_14;
      padding: 10px;

      &:before {
        content: '';
        position: absolute;
        border-color: inherit;
        border-width: 2px;
        border-style: solid;
        border-radius: 50%;
        width: 10px;
        height: 10px;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    &:not(:last-child) .t-dot:after {
      content: '';
      position: absolute;
      border-color: inherit;
      border-width: 2px;
      border-style: solid;
      border-radius: 50%;
      width: 10px;
      height: 10px;
      top: 15px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: auto;
      top: 25px;
      bottom: -15px;
      border-right-width: 0;
      border-top-width: 0;
      border-bottom-width: 0;
      border-radius: 0;
      border-color: $m-color_12;
    }

    .t-dot img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      z-index: 7;
      position: relative;
    }

    .t-meta-date {
      padding: 10px;

      p {
        margin: 0;
        min-width: 100px;
        max-width: 100px;
        font-size: 12px;
        font-weight: 700;
        color: $m-color_6;
      }
    }

    .t-text {
      padding: 10px;
      align-self: center;

      p {
        font-size: 13px;
        margin: 0;
        color: $m-color_4;
        font-weight: 600;

        a {
          color: $info;
          font-weight: 600;
        }
      }
    }
  }
}

@media (max-width: 575px) {
  .work-experience .widget-content-area .timeline-alter .item-timeline {
    display: block;
    text-align: center;

    .t-meta-date p, .t-usr-txt p {
      margin: 0 auto;
    }
  }
}