/*--------------------------------------------------------------
  >> : User Picture Image Uploader
--------------------------------------------------------------*/
.user-account-picture-wrapper {
  width: 100%;
}

.user-account-info {
  width: calc(100% - 100px);
  padding-left: 15px;
  position: relative;
}

.user-account-info * {
  margin: 0;
}

.user-account-info button {
  position: absolute;
  right: 0;
  top: calc(50% - 17px);
}  

.user-account-picture-wrapper {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.user-account-picture {
  width: 100px;
  height: 100px;
  background: var(--color-light-grey);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.user-account-picture[data-has-image="0"]:before {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url('/wp-content/themes/devignstudios-toolkit/assets/icons/feather-camera.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px;
  pointer-events: none;
}

.user-account-picture[data-has-image="1"] {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.user-account-picture-wrapper.uploading .user-account-picture {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.user-account-picture-wrapper.uploading .user-account-picture:before {
  content: '';
  position: absolute;
  border: 2px solid var(--color-blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  width: 35px;
  height: 35px;
  left: calc(50% - 17.5px);
  top: calc(50% - 17.5px);
  border-radius: 50%;
  background: none;
  z-index: 9;
  opacity: 0;
  -webkit-animation: spinner-infinite 1s linear forwards;
          animation: spinner-infinite 1s linear forwards;
}

.user-account-picture-wrapper.uploading .user-account-picture:before { 
  opacity: 1;
  -webkit-animation: spinner-infinite 1s linear infinite;
          animation: spinner-infinite 1s linear infinite;
}

.user-account-picture-wrapper.uploading .user-account-picture:after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: 50%;
  background: var(--color-white);
  opacity: 0.5;
}




/*--------------------------------------------------------------
  >> : User Banner Image Uploader
--------------------------------------------------------------*/
.user-account-banner-wrapper {
  width: 100%;
}

.user-account-info {
  width: calc(100% - 100px);
  padding-left: 15px;
  position: relative;
}

.user-account-info * {
  margin: 0;
}

.user-account-info button {
  position: absolute;
  right: 0;
  top: calc(50% - 17px);
}  

.user-account-banner-wrapper {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.user-account-banner {
  width: 240px;
  height: 110px;
  background: var(--color-light-grey);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.user-account-banner[data-has-image="0"]:before {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url('/wp-content/themes/devignstudios-toolkit/assets/icons/feather-camera.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px;
  pointer-events: none;
}

.user-account-banner[data-has-image="1"] {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.user-account-banner-wrapper.uploading .user-account-banner {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.user-account-banner-wrapper.uploading .user-account-banner:before {
  content: '';
  position: absolute;
  border: 2px solid var(--color-blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  width: 35px;
  height: 35px;
  left: calc(50% - 17.5px);
  top: calc(50% - 17.5px);
  border-radius: 50%;
  background: none;
  z-index: 9;
  opacity: 0;
  -webkit-animation: spinner-infinite 1s linear forwards;
          animation: spinner-infinite 1s linear forwards;
}

.user-account-banner-wrapper.uploading .user-account-banner:before { 
  opacity: 1;
  -webkit-animation: spinner-infinite 1s linear infinite;
          animation: spinner-infinite 1s linear infinite;
}

.user-account-banner-wrapper.uploading .user-account-banner:after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: 10px;
  background: var(--color-white);
  opacity: 0.5;
}


/*--------------------------------------------------------------
  >> : User Profile Hero
--------------------------------------------------------------*/


.user-profile-hero {
  height: 270px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  position: relative;
}

.user-profile-hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  vertical-align: middle;
}

.user-profile-hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left bottom, left top, from(white), to(transparent));
  background: -o-linear-gradient(bottom, white, transparent);
  background: linear-gradient(0deg, white, transparent);
  opacity: 0.2;
  z-index: 1;
}

.user-profile-hero .btn {
  z-index: 2;
}

.user-profile-details-wrapper {
  padding-left: 2rem;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-line-pack: center;
      align-content: center;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: -25px;
  z-index: 2;
  position: relative;
}

.user-profile-details-wrapper img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 20px;
  border: 3px solid var(--color-white);
}

.user-profile-details * {
  margin: 2.5px 0px;
}

.user-profile-details-wrapper > .row {
  width: 80%;
  margin-top: 12.5px;
}

.user-profile-stats ul {
  width: 100%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  padding: 0;
}

.user-profile-stats ul li {
  font-size: 2rem;
  line-height: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.user-profile-stats ul li span {
  font-size: 12px;
  width: 100%;
  margin-top: 10px;
  opacity: 0.7;
}

.user-profile-stats {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user-profile-details p svg {
  width: 20px;
  margin: 0;
  margin-right: 5px;
}

[data-section="profile-header"] .user-profile-details-wrapper a.btn {
  position:absolute;
  top:0;
  right:0;
  width:-webkit-fit-content;
  width:-moz-fit-content;
  width:fit-content;
}

[data-section="profile-header"] .user-profile-details-wrapper {
  margin-top:-100px;
}

[data-section="profile-header"] .user-profile-details-wrapper h1 {
  font-size:1.8em;
  margin: 0;
}

[data-section="profile-header"] .user-profile-details-wrapper > .row {
  margin-top: 100px;
  padding: 1em;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

[data-section="profile-header"] .user-profile-details-wrapper img {
  height:200px;
  width:200px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

[data-section="profile-header"] {
  padding: 0 !important;
}

[data-section="profile-header"] .cover-button {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: right;
  padding-bottom: 30px;
  z-index: 5;
}

.author-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.author-name button {
  padding:5px 10px 0px 10px !important;
  margin: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left:10px
}

.author-name button span {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0px;
  margin: 0px !important;
}

[data-section="profile-header"]  .user-profile-stats ul {
  -webkit-box-pack:end;
      -ms-flex-pack:end;
          justify-content:flex-end;
}


.user-profile-hero .trigger-follow-user {
  background:var(--color-blue);
  color:#fff;
  margin-right:10px;
}

[data-section="author-tabs"] {
  padding-top:0px !important;
  padding-bottom:0px !important;
}

[data-section="author-tabs"] ul {
  margin-bottom:0px !important;
  border-bottom:1px solid #d9d4d4;
}


[data-section="author-tabs"] .nav-pills .nav-link {
  border-bottom:2px solid transparent;
   background:none;
  border-radius:0;
  padding:20px 50px;
  color:#000;
  opacity:0.5;
  -webkit-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  transition:all 300ms ease;
}

[data-section="author-tabs"] .nav-pills .nav-link.active {
  border-bottom:2px solid var(--color-blue);
  color:#000;
  font-weight:500;
  opacity:1;
  -webkit-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  transition:all 300ms ease;
}
#communityFeed .nav-pills .nav-link {
  background:none;
  color:#000 !important;
  border-radius:50px;
  margin-right:10px;
  border:1px solid #cdcdcd;
}


#communityFeed .nav-pills .nav-link.active {
  background-color:#000 !important;
  border:1px solid #000;
  color:#fff !important;
}

h2.tab-title {
  display:block;
  width:100%;
  padding:20px 0px;
  font-size:1.3em;
  border-bottom:1px solid #d9d4d4;
  margin-bottom:20px;
}

ul.author-contact-info,
ul.author-interests{
  padding:0;
  list-style:none;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
}
ul.author-contact-info li {
  margin-right:20px;
  margin-bottom:10px;
}

ul.author-contact-info li:nth-child(1) {
/*  margin-right:40px;*/
}

ul.author-contact-info li img {
  height:20px;
  width:20px;
  -o-object-fit:contain;
     object-fit:contain;
  -webkit-filter: invert(100) brightness(0);
          filter: invert(100) brightness(0);
}

ul.author-interests li {
  padding:10px 0px;
}
ul.author-interests li a {
  padding:10px 20px;
  border:1px solid #e1e1e1;
  border-radius:30px;
  margin-right:30px;
  -webkit-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  transition:all 300ms ease;
}

ul.author-interests li a:hover {
  border:1px solid #000;
  background:#000;
  color:#fff;
  -webkit-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  transition:all 300ms ease;
}

/*--------------------------------------------------------------
  >> : Follow and Unfollow Partial
--------------------------------------------------------------*/

  .trigger-follow-user[data-following="0"] span:first-child {
    display: none;
  }

  .trigger-follow-user[data-following="0"] span:last-child {
    display: block;
  }

  .trigger-follow-user[data-following="1"] span:first-child {
    display: block;    
  }

  .trigger-follow-user[data-following="1"] span:last-child {
    display: none;
  }

/*--------------------------------------------------------------
  >> : Block and Unblock Partial
--------------------------------------------------------------*/
  .trigger-block-user {
    background: var(--bs-red);
    color: var(--color-white);
  }

  .trigger-block-user:hover {
    color: var(--color-white);
  }

  .trigger-block-user[data-blocked="0"] span:first-child {
    display: none;
  }
  .trigger-block-user[data-blocked="0"] span:last-child {
    display: block;
  }
  .trigger-block-user[data-blocked="1"] span:first-child {
    display: block;    
  }
  .trigger-block-user[data-blocked="1"] span:last-child {
    display: none;
  }

/*--------------------------------------------------------------
  >> : Profile Body
--------------------------------------------------------------*/

[data-section="author-body"] [data-card-style="feed"] {
  width:calc(50% - 12px);
}

[data-section="author-body"] [data-feed-card-container] {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  -webkit-box-pack:justify;
      -ms-flex-pack:justify;
          justify-content:space-between;
}

/*--------------------------------------------------------------
  >> : Login Styling
--------------------------------------------------------------*/

ul.register-step {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
    list-style:none;
    padding:0;
    width:60%;
    margin:0 auto;
    margin-bottom:30px;
    position:relative;
    overflow:hidden;
}

ul.register-step:before {
    content:'';
    position:absolute;
    display:block;
    top:50%;
    height:2px;
    width:100%;
    background:#E2E2E2;
}

ul.register-step li {
    height:10px;
    width:10px;
    background:#E2E2E2;
    border-radius:5px;
}

ul.register-step li.active {
    background:var(--color-blue);
}

.register-step li.active {
    posiiton: relative;
}

.register-step li.active:before {
    all:unset !important;
    content: '' !important;
    height: 2px !important;
    width: 100vw !important;
    right: 0 !important;
    top: 50% !important;
    background: var(--color-blue) !important;
    position: absolute !important;
}


p.register-step-title {
    color:var(--color-blue);
    margin-bottom:0px;
    margin-top:30px;
}


.split-code {
    gap:10px;
}

.split-code input {
    border-radius:10px !important;
    height:140px !important;
    width:100px !important;
    font-size:70px !important;
    color:var(--color-blue) !important;
    text-align:center !important;
}
.login-error {
    padding:15px;
    background:#33d996;
    border-radius:10px;
    color:#fff;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:0.7em;
    width:-webkit-fit-content;
    width:-moz-fit-content;
    width:fit-content;
    margin:0 auto;
    margin-bottom:20px;
}

.user-account-picture-wrapper {
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
}

.user-account-info {
    width: 100%;
    text-align: center !important;
    font-size:0.8em;
}

.user-account-info button {
    position:relative;
    margin: 10px;
    display:none;
}

.user-account-info button[data-has-image="1"] {
  display: block;
  margin: 10px auto;
  padding: 10px 15px;
  font-size: 1.2em;
}

.user-account-picture {
    margin:20px auto;
    height:150px;
    width:150px;
    background:#fff;
    border:1px solid #d7d7d7;
}



/* Account Profile CSS overrides */
.page-template-template-account-profile .user-account-picture-wrapper .user-account-info {
    text-align: left !important;
    padding-left: 0;
}

.page-template-template-account-profile .user-account-picture {
    margin: unset;
    margin-bottom: 20px;
}

.page-template-template-account-profile .user-account-banner-wrapper .user-account-info {
    text-align: left !important;
}

.page-template-template-account-profile .user-account-info button {
    display: inline-block;
    margin-left: 0;
}

