
/*========================================== 
	Social Share 2
========================================== */
.tgx-social-share-2.profile {
    width: 330px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background-color: #fafafa;
    box-shadow: 0 0 2rem #babbbc;
    animation: show-profile 0.5s forwards ease-in-out;
  }
  @keyframes show-profile {
    0% {
      width: 0;
    }
  }
  .tgx-social-share-2.profile .photo, .tgx-social-share-2.profile .profile-content {
    box-sizing: border-box;
  }
  .tgx-social-share-2.profile .photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fafafa;
    background-color: #fafafa;
    margin-left: -50px;
    box-shadow: 0 0 0.5rem #babbbc;
    animation: rotate-photo 0.5s forwards ease-in-out;
  }
  @keyframes rotate-photo {
    100% {
      transform: rotate(-360deg);
    }
  }
  .tgx-social-share-2.profile .photo img {
    width: 100%;
  }
  .tgx-social-share-2.profile .profile-content {
    padding: 10px;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .tgx-social-share-2.profile .profile-content::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 150px;
    background-color: #e9f3e6;
    left: 0;
    top: -20px;
    z-index: -1;
    transform: rotate(-8deg);
  }
  .tgx-social-share-2.profile .profile-content .text {
      margin-top: -5px;
      margin-left: 60px;
  }
  .tgx-social-share-2.profile .profile-content .text .profile-name{
  
      font-size: 22px;
  } 
  .tgx-social-share-2.profile .profile-content .text .profile-profession {
      margin: 3px 0;
      font-size: 12px;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar {
    background-color: #abc;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 25px;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    transition-duration: 0.3s;
    animation: pop-btn 0.3s both ease-in-out 0.5s;
  }
  @keyframes pop-btn {
    0% {
      transform: scale(0);
    }
    80% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  .tgx-social-share-2.profile .profile-content .btn-bar:hover {
    box-shadow: 0 0 0 5px rgba(170, 187, 204, 0.5);
  }
  .tgx-social-share-2.profile .profile-content .btn-bar span {
    width: 60%;
    height: 2px;
    position: absolute;
    background-color: white;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    animation: to-hamburger 0.3s forwards ease-in-out;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar span::before, 
  .tgx-social-share-2.profile .profile-content .btn-bar span::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: white;
    transition-duration: 0.3s;
    transform: rotate(0deg);
    right: 0;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar span::before {
    margin-top: -7px;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar span::after {
    margin-top: 7px;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar.active span {
    animation: to-arrow 0.3s forwards ease-in-out;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar.active span::before, 
  .tgx-social-share-2.profile .profile-content .btn-bar.active span::after {
    width: 60%;
    right: -1px;
  }
  .tgx-social-share-2.profile .profile-content .btn-bar.active span::before {
    transform: rotate(45deg);
  }
  .tgx-social-share-2.profile .profile-content .btn-bar.active span::after {
    transform: rotate(-45deg);
  }
  @keyframes to-hamburger {
    from {
      transform: translateY(-50%) rotate(-180deg);
    }
  }
  @keyframes to-arrow {
    from {
      transform: translateY(-50%) rotate(0deg);
    }
    to {
      transform: translateY(-50%) rotate(180deg);
    }
  }
  .tgx-social-share-2.profile .box {
    width: 150px;
    height: 150px;
    opacity: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50%;
    right: -40%;
    transform: translate(-50%, -50%);
    transition-duration: 0.3s;
  }
  .tgx-social-share-2.profile .box a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ececec;
    font-size: 26px;
    text-align: center;
    line-height: 50px;
    position: absolute;
    left: 18px;
    top: calc(75px - 50px/2);
    box-shadow: 0 0 0.5rem #babbbc;
    transition-duration: 0.3s;
  }
  .tgx-social-share-2.profile .box a:hover {
    transition-delay: initial !important;
    box-shadow: 0 0 0 5px #babbbc;
  }
  .tgx-social-share-2.profile .box.open {
    opacity: 1;
  }
  .tgx-social-share-2.profile .box.open a {
    left: 60px;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(1) {
    transform: rotate(-90deg) translateX(120px) rotate(90deg);
    transition-delay: 0s;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(2) {
    transform: rotate(-45deg) translateX(120px) rotate(45deg);
    transition-delay: 0.1s;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(3) {
    transform: rotate(0deg) translateX(120px) rotate(0deg);
    transition-delay: 0.2s;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(4) {
    transform: rotate(45deg) translateX(120px) rotate(-45deg);
    transition-delay: 0.3s;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(5) {
    transform: rotate(90deg) translateX(120px) rotate(-90deg);
    transition-delay: 0.4s;
  }
  .tgx-social-share-2.profile .box.open a:nth-of-type(6) {
    transform: rotate(90deg) translateX(120px) rotate(-135deg);
    transition-delay: 0.5s;
  }
  