.wrapper {
  padding: 0 0 60px 0;
}
.profile-wrapper {
  margin-top: -116px;
  margin-bottom: 80px;
}

/* profilesidebar */
.profilesidebar {
  position: sticky;
  top: 140px;
  box-shadow: 0px 3px 10px $st-boxshadow-secondary;
  border-radius: 12px;

  .socialmedia {
    margin: 0;
    padding: 0;
    background: $st-eighth-bg;
    display: flex;

    li {
      width: 20%;
      display: block;
      text-align: center;
      margin: 0;
      border-left: 1px solid $st-border-primary;

      a {
        line-height: 65px;
        font-size: 1.125rem;
        color: $st-text-tenth;

        // &:hover {
        //   color: $st-text-third;
        // }
        &.active {
          color: $st-text-third;
        }
      }

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

  .dropdown-item:hover {
    color: #FFFFFF !important;
  }

  .profile-top {
    margin-top: 30px;
    background: $st-eighth-bg;
    border-radius: 12px 12px 0 0;
    display: flow-root;
    padding: 0 20px 30px 20px;
    text-align: center;
    min-height: 200px;
    border-bottom: 1px solid $st-border-primary;
    position: relative;

    .imgs {
      display: block;
      width: 120px;
      height: 120px;
      margin: 0 auto;
      position: relative;
      top: -50px;
      left: 0;
      margin-bottom: -45px;

      @media #{$small} {
        width: 112px;
        height: 100px;
        //margin: 0 0 -70px -56px;
        //top: -74px;
      }

      img {
        width: 100%;
        height: 100%;
        border-radius: 100%;
      }

      a {
        position: absolute;
        bottom: -4px;
        right: 4px;
        text-align: center;
        line-height: 28px;
        background: $st-primary-bg;
        color: #fff;
        border-radius: 100px;
        width: 40px;
        height: 40px;
        border: 4px solid #fff;

        &:hover {
          background: $st-secondary-bg;
        }

        &:focus {
          background: $st-secondary-bg !important;
        }
      }
    }

    .profile-loader {
      padding: 20px 15px 0px 15px;

      span {
        color: $st-text-secondary;
        font-size: $st-font14 ;

        strong {
          color: $st-text-third;
        }
      }

      .progress {
        height: 0.7rem;
        .progress-bar {
          background-color: $st-primary-bg;
        }
      }
    }

    .editprofile {
      position: absolute;
      top: 10px;
      right: 25px;

      svg {
        font-size: 20px;
        color: $st-text-eigth;
      }

      &:hover {
        svg {
          color: $st-text-third;
        }
      }
    }

    h3 {
      font-weight: 600;
      font-size: $st-font16;
      text-align: center;
      color: $st-text-primary;
      margin-bottom: 0;

      @media #{$xsmall} {
        font-size: 1.25rem;
        margin-top: 10px;
      }
    }

    p {
      font-weight: 400;
      font-size: $st-font16;
      align-items: center;
      text-align: center;
      color: $st-text-secondary;
      margin: 0 0 10px 0;

      svg {
        color: #C5C4C4;

        @media #{$small} {
          width: 12px;
          height: 10px;
        }
      }
    }

    .degreeWrap {
      font-size: $st-font16;
      color: $st-text-ninth;
      background: $st-fifth-bg;
      padding: 10px 20px;
      border-radius: 8px;
      // margin: 0 0 20px 0;
      display: inline-block;

      //min-width: 260px;
      span {
        &:first-child {
          border-right: 1px solid #C5C4C4;
          margin-right: 10px;
          padding-right: 10px;

          @media #{$medium} {
            display: block;
            border-right: none;
            margin-right: 0;
            padding-right: 0;
          }
        }
      }

      @media #{$medium} {
        min-width: 198px;
      }

      @media #{$small} {
        font-size: $st-font18;
        //min-width: 260px;
      }
    }

    .buttonWrap {
      display: flex;
      justify-content: center;
      flex-direction: row;

      .socialbtn {
        padding: 12px 20px;
        margin: 0 8px 0 0;
        border: 1px solid $st-border-secondary;
        font-weight: 500;
        font-size: $st-font16;
        color: $st-text-third;
        border-radius: 8px;
        float: left;
        background: $st-eighth-bg;

        &:last-child {
          margin: 0;
        }

        &.active {
          background: $st-primary-bg;
          color: $st-eighth-bg;
        }

        &:hover {
          background-color: $st-btn-fifth;
          color: $st-text-ninth;
        }

        @media #{$medium} {
          margin: 0 0 10px 0;
        }

        // @media #{$small} {
        //   width: auto;
        //   line-height: 35px;
        //   height: auto;
        //   margin:0 10px 0 0;
        //   white-space: nowrap;
        // } 
      }

      @media #{$medium} {
        flex-direction: column;
      }

      @media #{$small} {
        display: flex;
        margin: 0 auto;
        width: 75%
      }
    }

    @media #{$medium} {
      padding: 0 10px 15px 10px;
    }

    @media #{$small} {
      // margin-top: 82px;
      margin-top: 50px;
    }
  }

  .profilenav {
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;

    li {
      display: block;
      margin: 0;

      &.personal {
        a {
          &:hover {
            color: $st-text-secondary;
            font-weight: 700;

            svg {
              color: $st-text-fourth;
            }
          }

          @media #{$medium} {
            padding: 15px 10px;
          }
        }

        a.active {
          color: $st-text-secondary;
          font-weight: 700;

          svg {
            color: $st-text-fourth;
          }
        }
      }

      &.education {
        a {
          &:hover {
            color: $st-text-secondary;
            font-weight: 700;

            svg {
              color: $st-text-fifth ;
            }
          }
        }

        a.active {
          color: $st-text-secondary;
          font-weight: 700;

          svg {
            color: $st-text-fifth ;
          }
        }
      }

      &.details {
        a {
          &:hover {
            color: $st-text-secondary;
            font-weight: 700;

            svg {
              color: $st-text-sixth ;
            }
          }
        }

        a.active {
          color: $st-text-secondary;
          font-weight: 700;

          svg {
            color: $st-text-sixth ;
          }
        }
      }

      &.neu {
        a {
          &:hover {
            color: $st-text-secondary;
            font-weight: 700;

            svg {
              color: $st-text-seventh;
            }
          }
        }

        a.active {
          color: $st-text-secondary;
          font-weight: 700;

          svg {
            color: $st-text-seventh;
          }
        }
      }

      &.testimonial {
        a {
          &:hover {
            color: $st-text-secondary;
            font-weight: 700;

            svg {
              color: $st-text-eleventh;
            }
          }
        }

        a.active {
          color: $st-text-secondary;
          font-weight: 700;

          svg {
            color: $st-text-eleventh;
          }
        }
      }

      a {
        font-size: 14px;
        color: $st-text-secondary;
        // padding: 15px 20px;
        padding: 20px 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        svg {
          font-size: $st-font18;
          margin: 0 8px 0 0;
        }

        &:hover {
          color: $st-text-third;
        }

        // &.active {
        //   color: $st-text-third;
        // }
      }
    }

    @media #{$small} {
      display: none;
    }
  }
}

/* profile bg */
.profilebg {
  //background: #0097bd;
  background: linear-gradient(#00637c, #0097bd);
  height: 250px;

  a {
    background: rgba(28, 27, 27, 0.4);
    border: 1px solid #FFFFFF;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    //height: 45px;
    //line-height: 42px;
    float: right;
    margin: 30px 0 0 0;

    svg {
      margin: 0 10px 0 0;
    }

    &:hover {
      //background: rgba(28, 27, 27, 0.9);
      color: #fff;
    }

    @media #{$small} {
      margin: 15px 0 0 0;
    }
  }

  @media #{$medium} {
    height: 180px;
  }
}

/* view profile */
.viewprofile {
  margin: 30px 0 0px 0;
  box-shadow: 0 3px 10px $st-boxshadow-secondary;
  border-radius: 12px;
 // box-shadow: 0px 4px 10px $st-boxshadow-secondary;

  .heading {
    background: #FFFFFF;
    border-radius: 12px 12px 0 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    // padding: 30px 40px;
    padding: 30px;
    .collasp {
      svg {
        color: $st-text-third !important;
        display: none;

        @media #{$small} {
          display: block;
        }
      }
    }

    svg {
      float: left;
      font-size: 1.5rem;
      margin: 0px 10px 0 0;
    }

    h2 {
      font-size: 1.25rem;
      color: #000000;
      font-weight: 600;
      margin: 0;
      padding: 0 0 2px 0;
    }

    a {
      float: right;
      position: absolute;
      top: 30px;
      right: 40px;

      svg {
        margin: 0;
        font-size: 1.25rem;
        color: $st-text-eigth !important;
      }

      &:hover {
        color: $st-text-third !important;
      }

      &.popupbtn {
        border: 1px solid $st-border-primary;
        width: 36px;
        line-height: 32px;
        height: 36px;
        border-radius: 6px;
        top: 25px;
        text-align: center;

        @media #{$small} {
          width: 22px;
          height: 22px;
          line-height: 18px;
        }

        svg {
          float: none;
        }

        &:hover {
          border-color: $st-border-secondary;
          color: $st-border-secondary !important;
        }
      }

      @media #{$xsmall} {
        right: 20px;
        top: 20px;
      }
    }

    @media #{$small} {
      padding: 20px;
    }

  }
  .contant {
    background: $st-eighth-bg;
    border-radius: 0 0 12px 12px;
    padding: 30px;
    .user-info {
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: space-between;

      @media #{$small} {
        margin: 34px 0 0 0px;
        display: block;
      }

      li {
        font-size: 0.875rem;
        font-weight: 500;
        // margin: 0 58px 10px 0;
        color: $st-text-primary;

        img {
          float: left;
          margin-right: 5px;

          @media #{$small} {
            width: 19px;
            height: 15px;

          }

        }

        strong {
          color: $st-text-fourth;
          font-size: $st-font14;
          font-weight: 500;
        }
      }
    }
    p {
      font-size: $st-font14;
      color: $st-heading-secondary;
      font-weight: 400;
      line-height: 22px;
      word-wrap: break-word;
    }
    strong {
      font-size: $st-font16;
      color: $st-heading-third;
      font-weight: 600;
      margin: 0;
      padding: 0 0 0px 0;
    }
    .data-info {
      margin: 0;
      padding: 0;

      li {
        margin: 0px 0px 15px 0;
        padding: 10px;
        background: $st-seventh-bg;
        box-shadow: 0px 3px 10px $st-boxshadow-primary;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        border: 2px solid $st-seventh-bg;
        transition: ease all 0.3s;

        &:hover {
          border-color: $st-border-secondary;
        }

        .li-contant {
          width: 80%;

          strong {
            padding: 0 0 0px 0;
            font-weight: 500;
            font-size: 1rem;
            color: $st-text-primary;
          }

          p {
            padding: 0;
            color: $st-text-secondary;
            padding: 0;
            margin: 0;
          }

          a {
            float: right;
            color: $st-text-eigth;
            position: absolute;
            top: 38px;
            right: 30px;

            svg {
              margin: 0;
              font-size: 24px;
            }

            &:hover {
              color: $st-text-primary;
            }
          }
        }
      }

      figure {
        padding: 0 20px 0 0;
        margin: 0 20px 0 0;
        border-right: 1px solid $st-border-primary;
        display: flex;
        align-items: center;

        @media #{$small} {
          padding: 2px 8px 0 0;
          display: flex;
          flex-direction: column;
          justify-content: center;

        }

        img {
          width: 45px;
          height: 45px;
          border-radius: 25px;

          @media #{$small} {
            width: 28px;
          }
        }

      }

      .controll-icon {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        a {
          font-size: $st-font18;
          margin: 0 0 0 10px;
          color: $st-text-eigth ;

          &:first-child {
            &:hover {
              color: $st-text-third;
            }
          }

          &:last-child {
            &:hover {
              color: $st-text-fourth ;
            }
          }
        }

        &:first-child {
          margin: 0;
        }
      }
    }
    .list-inline-item {
      &:hover {
        .edit {
          color: blue !important;
        }

        .delete {
          color: #CA0000 !important;
        }
      }
    }
    @media #{$small} {
      padding: 18px 20px;

    }
  }

  &.personal-info {
    .heading {
      svg {
        color: $st-text-fourth;

        @media #{$small} {
          display: block;
        }
      }
    }
  }

  &.education {
    .heading {
      svg {
        color: $st-text-fifth;
      }
    }
  }

  &.work-experience {
    .heading {
      svg {
        color: $st-text-sixth;
      }
    }
  }

  &.achivement {
    .heading {
      svg {
        color: $st-text-seventh;
      }
    }
  }

  &.recommended {
    .heading {
      svg {
        color: $st-text-eleventh;
      }
    }
    .contant {
      .nav-tabs {
        .nav-item {
          margin-right: 8px;
          .nav-link {
            color: $st-text-third;
            &.active {
              background-color: $st-primary-bg;
              color: $st-eighth-bg; 
            }
          }
          &:last-child {
            margin-right: 0;
          }
        }
      }
      .tab-content {
        .data-info {
          figure {
            padding: 0 10px 0 0;
            margin: 0 10px 0 0;
            width: 60px;
            img {
              width: 50px;
              height: auto;
              border-radius: 50%;
            }
          }
          .li-contant {
            width: 80%;
            .recommendText {
              margin: 10px 0 10px 12px;
              display: flex;
              flex-flow: column wrap;
              max-width: 95%;
              word-wrap: break-word;
              float: left;
              .text-sec {
                border-radius: 8px;
                padding: 6px 12px;
                background: $st-text-fifth;
                color: #fff;
                margin-bottom: 5px;
                clear: both;
                display: flex;
                span{
                  svg{
                    margin: 0 5px;
                  }
                }
                &:last-child {
                  margin-bottom: 0;
                }
              }
            }
          }
          .menuicon {
            display: flex;
            align-items: center;
            .dropdown {
              .btn-secondary {
                border: none;
                background: none;
                color: $st-text-tenth;
                &:hover {
                  color: $st-text-secondary;
                }
              }
              .dropdown-item {
                font-size: 14px;
              }
            }
          }
        }
        .no-recommendation {
          img {
            width: 70%;
            height: auto;
          }
        }
      }
    }
  }
  @media #{$xsmall} {
    margin: 15px 0 0 0;
  }
}

/* model css  */
.close {
  border: 1px solid $st-border-primary;
  background-color: $st-eighth-bg;
  width: 36px;
  line-height: 32px;
  height: 36px;
  border-radius: 6px;
  top: 24px;
  text-align: center;

  svg {
    float: none;
  }

  &:hover {
    border-color: $st-border-secondary;
    color: $st-border-secondary !important;
  }
}

.modelform {
  padding: 10px;
  .attachDocument{
    input[type=file] {
        width: 100%;
        max-width: 100%;
        color: #444;
        padding: 15px;
        background: #fff;
        border-radius: 0.375rem;
        border:1px solid #ced4da;
        min-height: 90px;
        &::file-selector-button {
            width: 60%;
            margin-right: 20px;
            border: none;
            background: #084cdf;
            padding: 10px 20px;
            border-radius: 10px;
            color: #fff;
            cursor: pointer;
            transition: background .2s ease-in-out;
            // display: flex;
            // flex-direction: row;
            // justify-content: center;
            &:hover {
                background: #0d45a5;
            }
        }
    }
}

  .uploadphoto {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    display: block;
    margin: 0px auto;
    overflow: hidden;

    img {
      width: 100%;
    }
  }

  .upload-input {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;

    button {
      background-color: $st-primary-bg;
      color: $st-text-ninth;
      display: inline-block;
      padding: 8px 30px;
      font-size: 14px;
      cursor: pointer;
      border: 1px solid $st-border-secondary;
      border-radius: 6px;

      svg {

        width: 30px;
        height: 30px;
        line-height: 40px;
        // margin-right: 10px;
        padding: 4px;
      }

      &:hover {
        border: 1px solid $st-border-primary;
        background-color: $st-btn-fifth;
      }

    }

    input[type="file"] {
      display: none;
    }
  }

  // .button-wrap {
  //   text-align: center;
  // }
  .profileimage {
    display: block;
    padding: 0 0 0px 0;
    text-align: center;

    .cropimage {
      // width: 100px;
      // height: 100px;
      width: 120px!important;
      height: 120px!important;
      overflow: hidden;
      border-radius: 50%!important;
      border: 1px solid $st-border-primary;
      margin: 0 auto 20px;

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

      .profilePreview {
        width: 100%;
        height: 100%;
      }
    }

    .uploadimage {
      height: 200px;
      width: 300px;
      overflow: hidden;
      margin: 0 auto 20px;

      div {
        height: 100%;
      }

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }

  }

  label {
    font-weight: 500;
    font-size: 14px;
    color: $st-text-primary;
    display: block;
  }

  .gender-input {
    display: flow-root;

    span {
      width: 100%;
      margin-bottom: .5rem;
      float: left;
      font-weight: 500;
      font-size: 14px;
      color: $st-text-primary;
    }

    label {
      float: left;
      margin: 0 20px 0 0;
    }

    input {
      height: 20px !important;
      padding: 0 !important;
      width: 20px !important;
      line-height: 20px !important;
      border-radius: 20px !important;
      margin: 0 5px 0 0 !important;
    }
  }

  .button-wrap {

    //text-align:center;
    .ButtonComponent {
      margin: 10px 0;
      // .cancelbutton {
      //   display: inline-block; 
      //   margin-left: 20px;
      // }
    }

  }
}

.popupheader {
  background: $st-eighth-bg !important;
  border-bottom: $st-border-primary;
  border-radius: 12px 12px 0 0;

  h2 {
    svg {
      float: left;
      font-size: 1.5rem;
      margin: 0px 10px 0 0;
      height: 50px;
      width: 50px;
      padding: 0px 12px 12px 12px;
      color: $st-text-third;
    }

    h2 {
      font-size: 1.25rem;
      color: $st-text-primary;
      font-weight: 600;
      margin: 0;
      padding: 0 0 2px 0;
    }

    p {
      font-size: 0.75rem;
      color: $st-text-secondary;
      font-weight: 400;
      margin: 0;
      padding: 0 0 2px 0;
    }

    button {
      float: right;
      position: absolute;
      top: 20px !important;
      right: 20px !important;
      border: 1px solid $st-border-primary;
      border-radius: 8px;
      padding: 0;

      svg {
        margin: 0;
        font-size: 1.25rem;
        color: $st-text-eigth !important;
        padding: 10px;
        width: 40px;
        height: 40px;
      }

      &:hover {
        color: $st-text-third !important;
        border: 1px solid $st-border-secondary;
        background: none;
      }
    }
  }

  &.personal-info {
    svg {
      color: $st-text-fourth;
    }
  }

  &.education {
    svg {
      color: $st-text-fifth;
    }
  }

  &.work-experience {
    svg {
      color: $st-text-sixth;
    }
  }

  &.achivement {
    svg {
      color: $st-text-seventh;
    }
  }

  &.recommended {
    svg {
      color: $st-text-eleventh;
    }
  }
}

.signout {
  color: $st-text-primary !important;
}

.MuiDialog-paper {
  .MuiDialogContent-root {
    .PostHeadWrap {
      .userImg {
        width: 100%;
        height: auto;
        img {
          width: 100%;
          height: auto;
          border-radius: 8px;
        }
      }
    }
  }
  .modelform {
    .descLength {
      font-size:12px;
      color: $st-text-secondary;
      float: right;
      margin-top: 6px;
    }
    .file-input {
      position: relative;
      display: flex;
      // justify-content: center;
      margin-bottom: 30px;

      .plus-icon {
        width: 48px;
        height: 48px;
        line-height: 48px;
        display: block;
        background: #679227;
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        color: #fff;
      }

      .button {
        display: inline-block;
        padding: 12px;
        cursor: pointer;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: #8ebf42;
        font-size: 16px;
        font-weight: normal;
        color: #fff;
        text-align: center;
        position: relative;
        left: 48px;
      }

      input[type="file"] {
        position: absolute;
        z-index: -1;
        top: 10px;
        left: 8px;
        font-size: 18px;
        color: #b8b8b8;
      }
    }
  }
}

// .MuiDialog-paperWidthSm {
//   overflow-y: visible !important;

//   .MuiDialogContent-dividers {
//     overflow-y: visible !important;
//   }
// }

.react-select__menu>div {
  max-height: 110px !important;
  overflow-y: scroll;
}