/**** start of Standard ****/

body {
  font-family: sans-serif;
  -webkit-text-size-adjust: none;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

div, section, main {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

span, div, section, main {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
  word-break: break-word;
}

img {
	border: none;
}

h1, h2, h3, h4, h5, h6 {
 margin: 0px;
 padding: 0px;
 font-size: 25px;

}

p {
  color: #4a4a4a;
  font-size: 18px;
  line-height: 24px;
}

input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #007bff; /* optional */
}

.container {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.custom-h1 {
  margin-bottom: 17px;
  font-size: 21px;
  color: #333333;
  line-height: 28px;
}

.custom-h1-reduced {
  margin: 0;
  padding: 0;
}


.hide {
	display: none;
}



/**** End of Standard ****/


.pad {
  border: 1px solid #C9CAD4;
  box-shadow: 1px 1px 1px #B3B3B3;
  padding: 8px;
  background-color: #ffffff;
}

.pad-reduced {
  border: 1px solid #fafbfc;
  box-shadow: 1px 1px #e2e2e2;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #ffffff;
}

.access-pad {
  padding: 15px;
  margin-top: 30px;
}

.general-pad {
  border: 1px solid #fafafa;
  box-shadow: 1px 1px #f5f6f7;
  padding: 6px;
  background-color: #ffffff;
  padding: 15px;
}


.navigation {
	width: 100%;
	display: flex;
  align-items: center;
}

.menu {
  background-color: #fafbfc;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 10px;
  margin-top: 15px;
  width: 45%;
  display: none;
  border-radius: 8px;
}

.menu-hr {
  border: none;
  height: 1px;
  background-color: #ededed; /* light gray */
  margin-top: 17px;
}

.navigation-inner:nth-child(1) { flex-basis: 30%; }
.navigation-inner:nth-child(2) { flex-basis: 40%; }
.navigation-inner:nth-child(3) { flex-basis: 30%; }


.navigation-inner-left {
  display: flex;
  align-items: center;
}


.navigation-inner-middle {
  display: flex;
  align-items: center;
  justify-content: center; 
}


.navigation-inner-right {
	display: flex;
  align-items: center;
  justify-content: flex-end; 
}


.navigation-inner-left-inner {
  display: flex;
  align-items: center;
}

.navigation-inner-left-inner:nth-child(1) { flex-basis: 23% }
.navigation-inner-left-inner:nth-child(2) { flex-basis: 77% }


.menu-profile-photo a {
  display: flex;
  align-items: center;
  height: 100%;
}


.clickable-logo {
	font-family: impact;
	font-size: 23px;
	text-decoration: none;
	color: #26b2e0;
}

.logo {
  font-family: impact;
  font-size: 23px;
  color: #26b2e0;
}

.menu-bars {
	font-size: 22px;
	cursor: pointer;
}


.search-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;

  /* SCALE HERE */
  transform: scale(1.2);
  transform-origin: center;

}

/* Circle (lens) */
.search-icon::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #000;
  border-radius: 50%;
  top: 0;
  left: 0;
  box-sizing: border-box;
}

/* Handle (attached) */
.search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 3px;
  background: #000;
  border-radius: 2px;

  /* KEY PART */
  top: 10px;     /* touches circle edge */
  left: 10px;    /* starts inside circle border */
  transform: rotate(45deg);
  transform-origin: left center;
}


.menu-search-icon-top {
	font-size: 22px;
	cursor: pointer;
  display: none;
  margin-right: 4px;
}


.store-logo {
	color: #000;
}

.posts-logo {
	color: #54a2de;
}



.button {
  background-color: #F8F8F8;
  background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: linear-gradient(top,#f8f8f8,#f1f1f1);
  border: 1px solid #cfcfcf;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  line-height: 27px;
  padding: 0 8px;
  text-decoration: none;
  font-size: 18px;
  color: #000;
}




.site-button {

   background-color: #4c96cf;
  background-image: -webkit-linear-gradient(top,#4c96cf,#4897d4);
  background-image: -moz-linear-gradient(top,#4c96cf,#4897d4);
  background-image: -ms-linear-gradient(top,#4c96cf,#4897d4);
  background-image: -o-linear-gradient(top,#4c96cf,#4897d4);
  background-image: linear-gradient(top,#4c96cf,#4897d4);
  border: 1px solid #4089c2;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  line-height: 27px;
  padding: 0 8px;
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
  
}

.blue-button {
  background-color: #3b82d1;
  background-image: -webkit-linear-gradient(top,#3b82d1,#2f79cc);
  background-image: -moz-linear-gradient(top,#3b82d1,#2f79cc);
  background-image: -ms-linear-gradient(top,#3b82d1,#2f79cc);
  background-image: -o-linear-gradient(top,#3b82d1,#2f79cc);
  background-image: linear-gradient(top,#3b82d1,#2f79cc);
  border: 1px solid #3b82d1;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  line-height: 27px;
  padding: 0 8px;
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
}



.loggedout-login-link {
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

.search {
	width: 100%;
	margin-top: 20px;
}

.search-query {
	display: flex;
	margin-top: 10px;
}

.search-query-left:nth-child(1) { flex-basis: 88%; }
.search-query-right:nth-child(2) { flex-basis: 12%; }



.box {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   -webkit-border-radius: 2px;
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   border: 1px solid #dcdee3;
   font-size: inherit;
   overflow: hidden;
   padding-left: 8px;
   white-space: nowrap;
   background-color: #ffffff;
   appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
   font-size: 17px;
   font-weight: bold;
   width: 100%;
   height: 53px;
   border-top-left-radius: 3px;   
   border-bottom-left-radius: 3px; 
}


.box::placeholder {
  color: #7a7a7a;
  opacity: 1;
}


.textarea {
  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   -webkit-border-radius: 2px;
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   border: 1px solid #dcdee3;
   font-size: inherit;
   overflow: hidden;
   padding-left: 8px;
   white-space: nowrap;
   background-color: #ffffff;
   appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
   font-size: 17px;
   font-weight: bold;
   width: 100%;
   height: 70px;
   min-height: 70px; /*  make same as defaultTextareaHeight in js   */
   border-radius: 3px;
   resize: none;      /* user can’t drag-resize; auto-grow handles it */
   overflow-y: hidden;
}

.textarea::placeholder {
  color: #7a7a7a;
  opacity: 1;
}


.search-box {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   -webkit-border-radius: 2px;
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   border: 1px solid #d3dbe0;
   color: #363636;
   font-size: inherit;
   overflow: hidden;
   padding-left: 8px;
   white-space: nowrap;
   background-color: #ffffff;
   appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
   font-size: 19px;
   font-weight: bold;
   width: 100%;
   height: 60px;
   border-top-left-radius: 8px;   
   border-bottom-left-radius: 8px; 
   border-right: none;
   background-color: #fcfdff;
}





.search-button {
	width: 100%;
	height: 60px;
  cursor: pointer; 
  border-top-right-radius: 8px;   
  border-bottom-right-radius: 8px; 
     
}



.search-magnifying-glass {
  font-size: 22px;
  text-shadow:
    0.5px 0 0 currentColor,
    -0.5px 0 0 currentColor,
    0 0.5px 0 currentColor,
    0 -0.5px 0 currentColor;
}



.main {
	min-height: 800px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.main-profile {
  margin-top: 30px;
  margin-bottom: 30px;
}

.footer {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.footer-link {
	font-size: 14px;
	color: #b1b2b3;
  text-decoration: none;
}

.footer-bar {
	font-size: 12px;
	color: #b1b2b3;
}







.menu-link {
  text-decoration: none;
  color: #a2a2a3;
  font-size: 15px;
  font-weight: bold;
}


.menu-span {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
}

.menu-span-left {
   flex: 0 0 12%;
}

.menu-span-right {
   flex: 0 0 88%;
}


.displayblock {
  display: block; 
}

.no-js-warning {
  width: 100%;
  background-color: #cf3f38;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
}


.cookie-notice {
  width: 100%;
  background-color: #edf1f5;
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #b1b1b3;
  padding: 15px;
  border-radius: 6px;
}

.cookie-notice-top {
  width: 100%;
  margin-bottom: 15px;
  font-size: 16px;
}

.cookie-notice-link {
  color: #b1b1b3;
  font-size: 16px;
}


.accept-all-cookies {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 12px;
  padding-right: 12px;
  background-color: #49a6e3;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  margin-left: 12px;
}


.only-necessary-cookies {
  color: #5da8d9;
  text-decoration: none;
  font-size: 12px;
}


.access {
  margin-top: 60px;
  margin-bottom: 30px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.access-logo {
  width: 100%;
  text-align: center;
}

.access-form {
  width: 100%;
  margin-top: 35px;
}

.access-space {
  margin-bottom: 15px;
}

.access-space-name-check p {
  color: #969696;
  font-size: 17px;
  display: inline;
}

.access-space-button {
  width: 100%;
  margin-top: 30px;
}

.access-button {
  width: 100%;
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 21px;
  border-radius: 6px;
}

.error {
  margin-top: 5px;
  color: #cf1b15;
  font-weight: bold;
  font-size: 16px;
}


.access-account-type-desc {
  background-color: #e3f2ff;
  border: 1px solid #cbe2f5;
  border-radius: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 15px;
  display: none;
}

.access-account-type-desc p {
   color: grey;
   margin: 0;
   padding-top: 10px;
   padding-bottom: 10px;
}


.access-link-section {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.access-link {
  color: #5096cc;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
}

.signup-terms-privacy {
  width: 100%;
  margin-top: 10px;
}

.signup-terms-privacy p {
  color: #a4a5a6;
  font-size: 16px;
  line-height: 20px;
}

.signup-terms-privacy a {
  color: #818182;
  font-size: 14px;
}

.access-box {
  font-size: 21px; 
  border: 1px solid #c7c7c7; 
  height: 60px; 
  border-radius: 3px;
}

.reset-password-link-area {
  width: 100%;
  margin-bottom: 15px;
}

.access-space-resetpassword {
  margin-bottom: 5px;
}

.reset-password-link {
  color: #78818f;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

 .spinner {
    width: 25px;
    height: 25px;
    border: 4px solid rgba(0,0,0,.12);
    border-top-color: rgba(0,0,0,.75);
    border-radius: 50%;
    animation: spin .8s linear infinite;
  }

  @keyframes spin { to { transform: rotate(360deg); } }


/*.post-button {
  border-radius: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 15px;
  background-image: -webkit-linear-gradient(top,#d45953,#d4463d);
  background-image: -moz-linear-gradient(top,#d45953,#d4463d);
  background-image: -ms-linear-gradient(top,#d45953,#d4463d);
  background-image: -o-linear-gradient(top,#d45953,#d4463d);
  background-image: linear-gradient(top,#d45953,#d4463d);
  border: 1px solid #db675e;
  color: #ffffff;
}*/


.post-button {
  border-radius: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 15px;
  color: #000;
}

#messages {
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 5px;
  font-size: 18px;
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
  display: none;
}

#messages.redmessage {
  background-color: #e35540;
}

#messages.greenmessage {
  background-color: #54a2de;
}

#messages.realgreenmessage {
  background-color: #2b783d;
}

.access-title-photo {
  text-align: center;
}

.access-space-photo {
  text-align: center;
} 

.account-photo {
  width: 50%;
  margin-top: 30px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
} 

.account-photo-change {
  width: 60%;
}

.changeaccountphoto {
  color: #000;
  display: inline-block;
  font-weight: bold;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 17px;
  border-radius: 4px;
}

.changeaccountphoto:hover {
    background: #e9e9e9;
}


.deleteaccountphoto {
   color: #b34236;
   display: inline-block;
   font-weight: bold;
   padding-top: 3px;
   padding-bottom: 3px;
   padding-left: 15px;
   padding-right: 15px;
   font-size: 17px;
   border-radius: 4px;
}

.deleteaccountphoto:hover {
    background: #e9e9e9;
}

.percentage-load {
  margin-left: 8px;
  font-size: 15px;
  color: grey;
  font-weight: bold;
  text-align: center;

}

.settings-icon {
  margin-right: 3px;
}

.settings-space {
  margin-bottom: 12px;
}

.settings-space a {
  color: #595959;
  text-decoration: none;
  font-size: 16px;
}

.changeemail-masked-email-container {
  margin-top: 30px;
}

.changeemail-masked-email-title {
  font-weight: bold;
  margin-bottom: 6px;
  color: #3e9c4e;
}

.verify-account-account-label {
  font-weight: bold;
  margin-bottom: 6px;
  color: #3e9c4e;
}

.changeemail-masked-email {
  margin-bottom: 40px;
}

.linkchahomelink a {
  font-weight: bold;
  font-size: 16px;
  color: #54a2de;
}

.rtsettings {
  margin-top: 15px;
}

.rtsettings a {
  font-weight: bold;
  font-size: 16px;
  color: #54a2de;
}

.ssgreen {
  color: #369955;
  font-weight: bold;
}


.deactivatereason {
  border: 1px solid #ababab;
}

.deactpara {
  margin-bottom: 0px;
  margin-top: 10px;
  padding: 0px;
}

.search-bottom {
  margin-top: 10px;
}

.search-bottom-links {
  margin-right: 9px;
}

.search-bottom-link {
  text-decoration: none;
  font-size: 15px;
  color: #525151;
}

.search-type-highlighted {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 6px;   /* controls distance */
  text-decoration-thickness: 2px; /* makes underline bolder */
  color: #000;
}

.search-type-highlighted-profile {
  font-weight: bold;
  text-decoration: none;
  color: #3893c9;
}


.front-message {
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
}

.front-message h1 {
  margin: 0;
  padding: 0;
  font-size: 21px;
  color: #2e2e2e;
}

.front-message p {
  margin: 0;
  padding: 0;
  font-size: 19px;
  color: #707070;
}

.front-button {
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 17px;
  padding-right: 17px;
  font-size: 17px;
  border-radius: 6px;
}

.red-button {
  border: 1px solid #db675e;
  color: #ffffff;
  background-image: -webkit-linear-gradient(top,#d45953,#d4463d);
  background-image: -moz-linear-gradient(top,#d45953,#d4463d);
  background-image: -ms-linear-gradient(top,#d45953,#d4463d);
  background-image: -o-linear-gradient(top,#d45953,#d4463d);
  background-image: linear-gradient(top,#d45953,#d4463d);
}

.front-message-p {
  margin-top: 12px;
  margin-bottom: 30px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.profile {
  width: 100%;
}

.profile-inner-top {
  width: 100%;
  display: flex;
}

.profile-inner-bio {
  white-space: pre-wrap;
  tab-size: 10;
}

.profile-inner-bio br {
  display: none;
}

.profile-inner-bio p {
  color: #4f4f4f;
  font-size: 18px;
  margin: 0;
  padding: 0;
}

.profile-inner-link {
  margin-top: 15px;
  color: #4a8aba;
}

.profile-inner-link a {
  color: #326b94;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

.profile-left {
  flex: 0 0 20%;
}

.profile-right {
  flex: 0 0 80%;
}

.profile-left-inner {
  width: 95%;
}

.notfound {
  text-align: center;
}

.notfound h1 {
  margin-top: 0;
  padding-top: 0;
  font-size: 22px;
  color: #212121;
}

.notfound-return {
  margin-top: 8px;
}

.notfound-return a {
  color: #3893c9;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}

.round-image {
  border-radius: 50%;
  object-fit: cover;
}

.menu-profile-photo-width {
  width: 90%;
}

.profile-right-inner {
  width: 95%;
  float: right;
}

.edit-profile-accountphoto {
  display: flex;
  width: 100%;
  align-items: center; /* 🔥 vertically center children */
  margin-bottom: 25px;
}

.edit-profile-accountphoto-column:first-child {
  flex: 0 0 20%;
  max-width: 20%;
}

.edit-profile-accountphoto-column:last-child {
  flex: 0 0 80%;
  max-width: 80%;
}

.profile-change-button {
  margin-left: 15px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.profile-socials {
  display:flex;
  justify-content:center;   /* center the whole group */
  align-items:center;
  gap: 40px;                 /* space between items */
  width:100%;
}

.profile-socials-count {
  display:flex;
  flex-direction:column;    /* stack number + label */
  align-items:center;       /* center horizontally */
  justify-content:center;   /* center vertically */
  text-align:center;
}

.profile-socials-count-top {
  font-weight: bold;
  line-height:1.1;
  margin-bottom: 5px;
  font-size: 18px;
}

.profile-socials-count-bottom {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.1;
  font-size: 16px;
}

.profile-edit-message {
  margin-top: 20px;
  text-align: center;
}

.general-button {
  background-color: #F8F8F8;
  background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1);
  background-image: linear-gradient(top,#f8f8f8,#f1f1f1);
  border: 1px solid #cfcfcf;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  font-size: 18px;
  color: #424242;
  display: block;
  width: 100%;   
  box-sizing: border-box;  
}

.profile-edit-message-inner {
  display: flex;
  justify-content: space-between; /* pushes left + right apart */
  align-items: center;            /* vertical alignment */
}

.profile-edit-message-inner-left,
.profile-edit-message-inner-right {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  width: 50%;
}

.profile-edit-message-inner-left a,
.profile-edit-message-inner-right a {
  width: 95%;
}

.profile-edit-message-inner-nomessage {
  width: 100%;
}

.profile-name-username {
  margin-bottom: 23px;
  text-align: center;
  position: relative;
}


.profile-name {
  font-weight: bold;
  text-align: center;
  position: relative;
}

.profile-name-wrapper {
    display: inline-block;
    position: relative;
}

.profile-3-dots {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #cccccf;
}

.profile-name a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.profile-name-admin {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-left: 8px;
}

.profile-username {
  color: grey;
  text-align: center;
}

.profile-username a {
  color: grey;
  text-decoration: none;
}

.box-padding {
  border: 1px solid #f7f7f7;
  box-shadow: 1px 1px #e2e2e2;
  background-color: #ffffff;
  padding-top: 6px;
  padding-left: 6px;
  padding-right: 6px;
  padding-bottom: 15px;
}

.profile-bio-link {
  margin-top: 15px;
  border-top: none;
  border-left: none;
  box-shadow: 0 1px #f5f7fa;
  border-right: none;
}

.profile-socials-count a {
  text-decoration: none;
  color: #000;
}

.profile-title-text {
  color: #9e9e9e;
  font-size: 14px;
  margin-top: 3px;
}

.profile-bio-textarea {
  border: 1px solid #ababab;
  min-height: 100px;
}

.back-to-editing-button {
  color: #000;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 17px;
  border-radius: 4px;
}

.edit-profile-button {
  color: #424242;
}

.back-to-editing-button:hover {
    background: #e9e9e9;
}

.editprofile input, textarea {
  color: #3b3b3b;
}

.profile-inner-title {
  margin-bottom: 5px;
  margin-top: 5px;
}

.profile-inner-title h1 {
  margin: 0;
  padding: 0;
  font-size: 19px;
}

.followingbutton {
  background-color: #4D90FE;
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
  background-image: linear-gradient(top,#4d90fe,#4787ed);
  border: 1px solid #3079ED;
  color: #ffffff;
}


.socialbutton {
  background-color: #4D90FE;
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
  background-image: linear-gradient(top,#4d90fe,#4787ed);
  border: 1px solid #3079ED;
  color: #ffffff;
}

.profile-error-inner {
  width: 100%;
  text-align: center;
  margin-bottom: 25px;
  background-color: #d9473d;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  padding: 6px;
  border-radius: 5px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

/* Your existing .box styles stay */
.select-wrapper select {
    width: 100%;
    padding-right: 40px; /* space for arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Arrow */
.select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #666;
}

.contact-reason {
   color: #7a7a7a;
}

.contact-explain-textarea {
  border: 1px solid #ababab;
}


.messaging-settings-label {
  font-weight: bold;
  color: #626263;
}

.add-social-tab {
  font-size: 14px;
  color: #a19f9f;
  margin-right: 10px;
}

.add-socials-input {
  display: none;
}

.add-socials input {
  margin-right: 7px;
}

.add-socials {
  font-size: 15px;
  color: grey;
}

.profile-social-icon {
  margin-right: 2px;
}

.profile-social-icon a {
  color: grey;
  font-weight: bold;
}

.profile-social-icons {
  width: 100%;
  margin-top: 20px;
}


.ffhightlighted {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 6px;   /* controls distance */
  text-decoration-thickness: 2px; /* makes underline bolder */
  color: #000;
}

.verified-check {
  color: #7fb1fa;
  margin-left: 2px;
}

.return-to-admin {
  margin-top: 20px;
}


.gobackbtn {
  color: #3c7fc2;
  text-decoration: none;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
}

.user-profile {
  width: 100%;
  display: flex;
}

.user-profile-left {
  flex: 0 0 12%; 
}

.user-profile-right {
  flex: 1; /* takes remaining space */
}

.admin-user-profile {
  margin-bottom: 30px;
  margin-top: 30px;
}


.create {
  margin-top: 60px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.create-logo {
  width: 100%;
  text-align: center;
}

.create-form {
  width: 100%;
}

.create-title {
  margin-bottom: 15px;
}

.create-title h1 {
  margin: 0;
  padding: 0;
  color:#3f4040;
  font-size: 23px;
}

.create-post-description {
  min-height: 100px;
  padding-bottom: 10px;
  font-size: 16px;
}

.create-media {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
  font-size: 19px;
}


.create-button {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
}


.mediaload-img {
  width: 100%;
  border-radius: 3px;
}

.mediaload-img-users {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.media-container {
  margin-bottom: 20px;
  width: 100%;
}

.create-media-box {
  display: flex;
  align-items: stretch; /* default, but make sure it's not overridden */
}

.create-media-content {
  position: relative;
  flex: 0 0 40%;
}

.create-delete-media {
  flex: 1;
  display: flex;
  align-items: flex-end; /* 👈 THIS pushes Delete down */
}

.create-delete-button {
  margin-left: 8px;
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: bold;
}


/* Container */
.create-media-video {
    position: relative;
    display: inline-block;
}

/* Thumbnail wrapper */
.video-thumbnail {
    position: relative;
}

/* Play icon centered */
.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 1.7em;
    color: rgba(200, 200, 200, 0.8);

    
    padding: 0.3em;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon a {
  color: rgba(200, 200, 200, 0.8);
  text-decoration: none;
}

.notification-media-link {
  position: relative;
  display: block;
}

.notification-play-icon {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 1.4em;
    color: rgba(200, 200, 200, 0.8);

    
    padding: 0.3em;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}



.create-delete {
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 4px;
}

.create-delete-space {
  margin-top: 30px;
}

.create-addlink-text {
  color: #adadad;
  font-weight: bold;
  font-size: 15px;
}

.create-post-url-space {
  display: none;
}

.show {
  display: block;
}

.review-post-lbl {
  text-align: center;
  color: grey;
  margin-top: 20px;
}


.post-title {
  margin-bottom: 10px;
}

.post-title h1 {
  margin: 0;
  padding: 0;
  color:#3f4040;
  font-size: 23px;
  line-height: 28px;
}


.published-media {
  margin-bottom: 15px;
  width: 100%;
  overflow: hidden;
}

.post-media .published-media:last-child {
  margin-bottom: 15px;
}




.published-image {
  height: 300px;
  width: auto;
  max-width: none;
  display: block;
}


.post-description p {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
}

.post-link {
  margin-top: 30px;
   position: relative;
}

.post-link-button {
  padding-left: 9px;
  padding-right: 9px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 18px;
  margin-right: 10px;
}



.post-review-button {
  margin-top: 30px;
}

.publish-button {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 22px;
}



.search-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: inline-block;
    margin: 6px;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.load-posts-loader {
  text-align: center;
}

.create-media-right {
  flex: 1;
  display: flex;
  flex-direction: column; /* 👈 fix */
  position: relative;
}

.create-media-row {
    display: flex;
    width: 100%;
}

.create-media-right-left {
    flex: 0 0 60%;
    padding-right: 10px;
}

.create-media-right-right {
    flex: 0 0 40%;
}

.nopostsyet {
  text-align: center;
  font-weight: bold;
  color: orange;
}

.profile-edit-save {
  margin-top: 20px;
}


.create-done {
  padding-top: 4px;
  padding-bottom: 4px;
  margin-right: 10px;
}

.media-user-name {
  text-decoration: none;
  color: #454444;
  font-weight: bold;
}

.media-user-name-posts {
  color: #757575;
}

.media-user-name-users {
  font-size: 17px;
}

.media-user-username-link-users {
  font-size: 16px;
}

.media-user {
  margin-bottom: 6px;
}

.media-title-link {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 21px;
}

.timewentlive-views {
  margin-top: 10px;
  font-size: 13px;
  color: #ba4538;
}



.media-placeholder {
  background-color: grey;
}


.timeposted-lbl {
  color: #000;
}

.views-dash {
  color: grey;
}

.live-pad {
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 15px;
}

.edit-post-button {
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 3px;
  margin-right: 10px;
}


.save-post-button {
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 3px;
}


.notfound-main {
  margin-top: 50px;
}

.live-profile {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.live-profile-left {
    flex: 0 0 13%;
}

.live-profile-right {
    flex: 0 0 87%;
    align-self: flex-start;
}

.live-profile-left-inner {
  width: 90%;
}

.load-posts {
  margin-top: 30px;
}

.fade-link {
  color: grey;
}

.delete-post-button {
  padding-top: 4px;
  padding-bottom: 4px;
}


.restore-post-button {
  padding-top: 4px;
  padding-bottom: 4px;
  margin-right: 10px;
  font-size: 17px;
}


.scroll-top {
    position: fixed;

    /* Desktop */
    left: calc(50% + 320px);
    bottom: 500px;

    width: 56px;
    height: 56px;

    display: none;

    border: 1px solid #dcdcdc;
    border-radius: 50%;

    background: #ffffff;

    cursor: pointer;

    z-index: 2147483647;

    color: #111111;

    font-size: 30px;
    font-weight: bold;

    line-height: 56px;
    text-align: center;

    box-shadow: 0 2px 10px rgba(0,0,0,0.10);

    /* Mobile tap improvements */
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.scroll-top:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.scroll-top:active {
    transform: scale(0.96);
}

/* Tablet */
@media (max-width: 1100px) {

    .scroll-top {
        left: auto;
        right: 18px;
        bottom: 300px;
    }

}

/* Mobile */
@media (max-width: 600px) {

    .scroll-top {

        left: auto;
        right: 14px;

        bottom: 300px;

        width: 52px;
        height: 52px;

        line-height: 52px;

        font-size: 28px;
    }

}

.fa-scroll-arrow {
  color: grey;
}


/*.post-deleted-lbl {
  color: #487eb8;
  font-weight: bold;
  font-size: 18px;
}


.post-restored-lbl {
  color: #2e7337;
  font-weight: bold;
  font-size: 18px;
}

.post-restored-lbl a {
  color:  #487eb8;
  font-weight: bold;
  font-size: 18px;
}*/


.blink {
    animation: blinkDeleted 0.3s linear 4;
}


@keyframes blinkDeleted {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.menu-span-right a,
.menu-span-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 18px;

    padding: 0 6px;

    border-radius: 3px;

    background: #e3494e;
    color: #fff;

    font-size: 11px;
    line-height: 1;
}

/*.visit-post-link {
  pointer-events: auto !important;
    cursor: pointer;
    position: relative;
    z-index: 10;
}*/

.add-to-front {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.add-to-front-link {
  text-decoration: none;
  color: #b1b2b3;
  font-size: 14px;
}

.media-user-username-link {
  color: grey;
  text-decoration: none;
}







/****** mediaCoursel ******/


.post-media-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: none;
}

.post-media-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transform: none;
}

.post-media-track::-webkit-scrollbar {
    display: none;
}

.published-media-slide {
    flex: 0 0 100%;
    height: 300px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
}

.published-image,
.published-video {
    height: 300px;
    width: auto;
    max-width: none;
    display: block;
}

.plyr,
.plyr__video-wrapper,
.plyr video {
    height: 300px;
}

.plyr {
    width: 100%;
}

.plyr__video-wrapper {
    width: 100%;
}

.plyr video {
    width: 100%;
    object-fit: contain;
}

.plyr__poster {
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
}

.post-media-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding-top: 10px;
}

.post-media-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    display: inline-block;
}

.post-media-dot.active {
    background: #4169e1;
}

.post-media-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    z-index: 9999;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.post-media-prev {
    left: 12px;
}

.post-media-next {
    right: 12px;
}

.post-media-arrow:hover {
    background: rgba(0,0,0,0.75);
}

@media (hover: hover) and (pointer: fine) {
    .post-media-carousel.has-multiple-media .post-media-arrow {
        display: flex !important;
    }
}

@media (hover: none) {
    .post-media-arrow {
        display: none !important;
    }
}




/****** mediaCoursel ******/





.media-counts {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 20;

    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 500;

    text-shadow:
        0 1px 2px rgba(0,0,0,0.85),
        0 0 5px rgba(0,0,0,0.75);

    visibility: hidden;
    opacity: 0;
    transition: opacity 150ms ease;
}

.media-counts.is-visible {
    visibility: visible;
    opacity: 1;
}

.media-count-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.media-count-item i {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
}

.media-count-divider {
    width: 1px;
    height: 13px;
    background: rgba(255,255,255,0.35);
}


.full-description {
  display: none;
}

.shortdescription-link {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.search-social-button {
  display: block;
    width: 100%;
    box-sizing: border-box;
    position: static;
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
}





.like-icon-link {
  color: #000;
}


.postliked {
  color: red;
}

.postsaved {
  color: #facb5f;
}


.post-stat-likes {
  cursor: pointer;
}

.post-stat-saved {
  cursor: pointer;
}


.live-socials {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 23px;
  margin-top: 24px;
}

.post-stat {
  display: inline-flex;
  align-items: center;
  margin-right: 25px;
  gap: 5px;
}

.post-stat-count {
  font-size: 15px;
  font-weight: 600;
}

.post-stat-comments,
.post-stat-shares {
  cursor: pointer;
}


.post-social-button {
    font-size: 18px;
    padding-top: 4px;
    padding-bottom: 4px;
}


.post-social-button .fa-user {
  -webkit-text-stroke: 0.6px currentColor;
}

.share-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    display: none;
}




.live-edit-button {
  padding-top: 3px;
  padding-bottom: 3px;
}

.copy-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 32px;
    padding: 0 16px;

    border: none;
    border-radius: 20px;

    background-color: #efefef;
    color: #111111;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    line-height: 1;
}

.copy-link-btn:hover {
    background-color: #dddddd;
}








.comments {
  margin-top: 60px;
  margin-bottom: 100px;
}


.comments-load {
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 0;
}

.comments-textarea {
  border: 1px solid #cccccc;
  font-size: 18px;
  border-radius: 8px;
  background-color: #fcfdff;
  padding: 7px;
}

.comments-textarea-loggedout {
  border: 1px solid #adadad;
}

.comments-textarea::placeholder {
  color: #b8b8b8;
}

.comments-textarea-loggedout::placeholder {
  color: #808080;
}

.console-error-comments {
  margin-bottom: 15px;
}




.comment-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}



.comment-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}


.comments-post-button {
    font-size: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}


.comment {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-bottom: 30px;
}


.comment-left {
    flex: 0 0 15%; 
    width: 15%;
}

.comment-right {
    flex: 1;
    min-width: 0; /* Prevents long text from overflowing */
     align-self: flex-start;
}


.comment-right-comment {
  white-space: pre-wrap;
    word-break: break-word;
}


.comment-right-comment p {
    margin: 0;
    padding: 0;
    font-size: 20px;
    color: #000;
}

.comment-right-username {
  margin-bottom: 4px;
}

.comment-right-username a {
  font-weight: bold;
  text-decoration: none;
  color: #9a9b9c;
}

.comment-right-socials {
  margin-top: 10px;
  font-size: 15px;
}


.comment-likes-icon {
  margin-right: 5px;
}


.comment-likes-count {
  color: #9a9b9c;
}


.comment-reply-link {
  margin-left: 11px;
  margin-right: 11px;
}


.comment-reply-link a {
  color: #696969;
  text-decoration: none;
}

.comment-timecommented {
  color: #9a9b9c;
}


.comment-replies {
  margin-top: 10px;
}


.reply-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}


.reply-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}


.replies-post-button {
    font-size: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}


.replies-textarea {
  border: 1px solid #c2c2c2;
  font-size: 18px;
  border-radius: 8px;
  background-color: #fcfdff;
  padding: 7px;
}

.replies-textarea::placeholder {
  color: #b8b8b8;
}


.replies-box-elements {
  display: none;
  margin-top: 30px;
}


.showcommentbox-button {
  font-size: 15px;
  border-radius: 8px;
}


.showcommentbox-area {
  text-align: center;
  display: none;
}

.delete-comment {
  margin-left: 10px;
}

.delete-comment a {
  font-size: 14px;
  color: #9a9b9c;
  text-decoration: none;
}

.delete-comment-error {
  color: #cf1b15;
  font-weight: bold;
  font-size: 16px;
}







.reply {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 30px;
}


.reply-left {
    flex: 0 0 15%; 
    width: 15%;
}

.reply-right {
    flex: 1;
    min-width: 0;
    align-self: flex-start;
}


.reply-right-socials {
  margin-top: 10px;
  font-size: 15px;
}


.reply-right-reply {
  white-space: pre-wrap;
    word-break: break-word;
}


.reply-right-reply p {
    margin: 0;
    padding: 0;
    font-size: 20px;
    color: #000;
}


.reply-right-username {
  margin-bottom: 4px;
}

.reply-right-username a {
  font-weight: bold;
  text-decoration: none;
  color: #9a9b9c;
}

.delete-reply-error {
  color: #cf1b15;
  font-weight: bold;
  font-size: 16px;
}


.delete-reply {
  margin-left: 10px;
}

.delete-reply a {
  font-size: 14px;
  color: #9a9b9c;
  text-decoration: none;
}









.like-reply {
  text-decoration: none;
  color: #9a9b9c;
  margin-left: 10px;
}

.like-reply-loggedout {
  text-decoration: none;
  color: #9a9b9c;
  margin-left: 10px;
}

.reply-likes-icon {
  margin-right: 5px;
}


.reply-likes-count {
  color: #9a9b9c;
}

.reply-reply-link {
  margin-left: 11px;
  margin-right: 11px;
}

.reply-reply-link a {
  color: #696969;
  text-decoration: none;
}

.reply-timereplied {
  color: #9a9b9c;
}

.delete-reply {
  margin-left: 10px;
}

.replyliked {
  color: red;
}




.disable-elements {
    pointer-events: none;
    opacity: 0.6;
}

.loggedoutcommentslink {
  text-decoration: none;
}



.copy-message {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);

    display: none;
    z-index: 50;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;

    pointer-events: none;
}

.copy-message-success {
    background: #111;
    color: #fff;
}

.copy-message-error {
    background: #d64545;
    color: #fff;
}

.mention-link {
  text-decoration: none;
  color: #4b7596;
  font-weight: bold;
  font-size: 17px;
}


.menu-icon-wrapper {
  position: relative;
  display: inline-block;
}

.menu-notification-count {
    position: absolute;
    top: -7px;
    right: -5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e34b4b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;

    min-width: 18px;
    min-height: 18px;
    padding: 2px;

    border-radius: 3px;
    cursor: pointer;
}






.notification {
    display: flex;
    padding-bottom: 60px;
}

.notification-left {
    width: 70%;
    min-width: 0;
}

.notification-right {
    width: 30%;
    min-width: 0;
}
/* Profile layout */

.notification-live-profile {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.notification-live-profile-left {
    flex: 0 0 80px;
    width: 80px;
}

.notification-live-profile-right {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

/* Text row */

.notification-profile-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    max-width: 100%;
}

/* Username link */

.notification-profile-name a {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
        font-weight: bold;
    text-decoration: none;
    color: #000;
}

/* Action + Time */

.notification-action,
.notification-action-time {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    color: grey;
    font-size: 12px;
}

.notification-action-time {
  margin-left: 4px;
}

/* Optional: profile image sizing */

.notification-live-profile-left img,
.notification-live-profile-left .profile-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.notification-highlighted {
  background-color: #fafbfc;
}







/** dialog box **/


.p9-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p9-dialog {
  width: 90%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  animation: p9DialogFadeIn .15s ease;
}

.p9-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.p9-dialog-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.p9-dialog-close {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  color: #000;
}

.p9-dialog-body {
  padding: 8px 16px 16px;
}

.p9-dialog-option {
  width: 100%;
  border: none;
  background: #fff;
  padding: 16px 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.p9-dialog-option:last-child {
  border-bottom: none;
}

.p9-dialog-option,
.p9-dialog-option:link,
.p9-dialog-option:visited,
.p9-dialog-option:hover,
.p9-dialog-option:active {
  color: #000 !important;
  text-decoration: none;
}

.p9-dialog-option i,
.p9-dialog-option svg,
.p9-dialog-option span {
  color: #000 !important;
}

.p9-dialog-actions {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
}

.p9-dialog-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.p9-dialog-btn-light {
  background: #f1f1f1;
  color: #222;
}

.p9-dialog-btn-danger,
.p9-dialog-btn-primary {
  background: #d45953;
  color: #fff;
}

.p9-dialog-text h2 {
  font-size: 19px;
  margin: 0 0 8px;
  color: #000;
}

.p9-dialog-text p {
  font-size: 15px;
  line-height: 1.4;
  color: #555;
  margin: 0;
}

.p9-dialog-textarea {
  width: 100%;
  min-height: 120px;
  resize: none;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.p9-dialog-error {
  display: none;
  color: #d45953;
  font-size: 14px;
  margin-top: 8px;
}

.p9-dialog-success {
  font-size: 15px;
  line-height: 1.4;
  color: #222;
  padding: 8px 0;
}

@keyframes p9DialogFadeIn {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}



/** dialog box **/



.fa-ellipsis-vertical {
  color: grey;
}


.twofactor-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
}



.verify-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
}


.twofactorverification {
    flex: 1;
    max-width: 60px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    padding: 0;
}


.verifyaccount {
    flex: 1;
    max-width: 60px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    padding: 0;
}

.custom-p {
  color: #7f97b0;
  font-size: 17px;
}

.radio-text {
  font-size: 18px;
}

.delete-post-button-red {
  background-color: #d45953;
  background-image: -webkit-linear-gradient(top,#d45953,#d45953);
  background-image: -moz-linear-gradient(top,#d45953,#d45953);
  background-image: -ms-linear-gradient(top,#d45953,#d45953);
  background-image: -o-linear-gradient(top,#d45953,#d45953);
  background-image: linear-gradient(top,#d45953,#d60b15);
  border: 1px solid #d45953;
  color: #ffffff;
}


.message-box {
  background-color: #e6f1ff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  border-radius: 5px;
  color: #5e5e5e;
  font-weight: normal;
  margin-bottom: 25px;
  line-height: 22px;
}


.change-verify-email {
  color: #99acbf;
  margin-left: 8px;
  font-size: 15px;
  text-decoration: none;
}

.email-verified-label {
  font-size: 25px;
  background-color: #357838;
  color: #ffffff;
  padding: 7px;
  border-radius: 5px;
  font-weight: bold;
}

.email-verified-yes-email {
  margin-top: 30px;
}

.console-error:not(:empty) {
    border-radius: 4px;
   background-color: #d13643;
  color: #ffffff;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
}


.error:not(:empty) {
    border-radius: 4px;
   background-color: #d13643;
  color: #ffffff;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.like-comment {
  text-decoration: none;
  color: #9a9b9c;
  margin-left: 10px;
}

.like-comment-loggedout {
  text-decoration: none;
  color: #9a9b9c;
  margin-left: 10px;
}

.commentliked {
  color: red;
}


.load-by {
  text-align: center;
  margin-bottom: 15px;
  display: none;
}

.load-by-wrapper {
  position: relative;
  display: inline-block;
}

.load-by-dropdown {
  padding: 4px 25px 4px 8px;
  border: 1px solid #f5f6f7;
  border-radius: 4px;
  color: #7d7c7c;
  background: #ffffff;
  font-size: 14px;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.load-by-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #7d7c7c;
  font-size: 10px;
  pointer-events: none;
}


.comments-load-loader {
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #999;
  font-weight: bold;
}


.comment-likes-icon i,
.reply-likes-icon i {
  font-size: 0.9em;
}



.comment-login-required {
  padding: 12px 16px 16px 16px;
}

.comment-login-required-text {
  margin-bottom: 30px;
}

.comment-login-required-text p {
  margin: 0;
  color: #555555;
  font-size: 16px;
  line-height: 1.5;
}

.comment-login-required-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.comment-login-required-button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 14px 10px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.comment-signup-button {
  background: #f1f1f1;
  color: #222222;
}

.comment-login-button {
  background: #1877f2;
  color: #ffffff;
}

.comment-login-required-button:disabled {
  cursor: default;
}

.comment-login-required-button i {
  font-size: 16px;
}


.notification-text {
  margin-top: 6px;
  font-size: 16px;
  color: #555;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #f0f7fc;
  padding: 10px;
  border-radius: 7px;
}


.notification-text {
  display: block;
  color: inherit;
  text-decoration: none;
}


.post-stat-social-button {
  position: relative;
  margin-left: auto;
  margin-right: 0;
}

.post-stat-social-button {
  position: relative;
  margin-left: auto;
  margin-right: 0;
}





.post-follow-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 99999;
  transform: translate(-50%, 6px);
  padding: 7px 12px;
  border-radius: 15px;
  background-color: #287cd1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.post-follow-bubble.show {
  opacity: 1;
  transform: translate(-50%, 0);
}



.comment-login-required-button.follow-login-button {
  background-color: #1877f2;
  color: #fff;
}

.comment-login-required-button.follow-signup-button {
  color: #000;
}


.replies-load-more {
  margin-top: 15px;
}




.load-comment-replies {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.load-comment-replies:active {
    background: #f5f5f5;
    border-color: #c9c9c9;
}


.post-login-button {
    background: #2f80ed;
    border: 1px solid #2f80ed;
    color: #fff;
}

.post-login-button:hover {
    background: #1f6fda;
    border-color: #1f6fda;
}



/*** Messaging ***/


.message-top-profile {
    display: flex;
    align-items: center;
}

.message-top-profile-left {
    width: 85%;
}

.message-top-profile-right {
    width: 15%;
    text-align: right;
}

.post-signup-button {
  color: #000;
}

.message-top-back-button {
  margin-bottom: 20px;
}

.message-back-link {
  text-decoration: none;
  color: #adadad;
}

.message-fa-arrow-left {
  margin-right: 5px;
}

.main-no-height {
  margin-bottom: 30px;
  margin-top: 30px;
}


.message-main {
    position: relative;
    z-index: 1;
    height: 350px;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fb;

    display: flex;
    flex-direction: column;
    gap: 15px;

    overflow-y: auto;
    overflow-x: hidden;
}

.message-main.message-main-scrollable {
    overflow-y: auto;
}


.message-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.message-input-upload,
.message-input-button {
    height: 60px;
}


.message-input-upload {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-input-content {
    position: relative;
    flex: 1;
    min-width: 0;
}


.message-input-input {
    width: 100%;
}

.message-input-button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-input-input .mii-input {
    display: block;
    width: 100%;
    height: 60px;
    min-height: 60px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mii-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin: 0;
    padding: 0 6px;
    box-sizing: border-box;
    line-height: 1;
    width: 60px;
}

.mii-camera {
    font-size: 30px;
    cursor: pointer;
}

.message-gears {
  cursor: pointer;
}



.mmu-percentage {
  font-size: 14px;
  color: #858585;
  font-weight: bold;
}


.three-dot-loader {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.three-dot-loader span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: threeDotBounce 1.2s infinite ease-in-out;
}

.three-dot-loader span:nth-child(2) {
    animation-delay: 0.15s;
}

.three-dot-loader span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes threeDotBounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}


.you-restricted-user-message {
  background-color: #e35540;
  font-weight: bold;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  color: #ffffff;
  border-radius: 5px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.you-restricted-user-message a {
  color: #ffffff;
}

.message-media-carousel {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 20;
    width: 100%;
    overflow: hidden;
}

.message-media-carousel.show {
    display: block;
}

.message-media-carousel-track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}



.message-media-item {
    position: relative;
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fcfcfc;
}

.message-media-uploading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-media-uploading .three-dot-loader {
    color: #777777;
}

.message-media-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



.message-media-delete,
.message-media-upload-cancel {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;

    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.message-media-delete:hover,
.message-media-upload-cancel:hover {
    background-color: rgba(0, 0, 0, 0.85);
}



.message-media-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.message-media-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 1.35em;
    color: rgba(200,200,200,.8);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:4;
    pointer-events:none;
}

.play-icon i {
    color: inherit;
}


.message-media-item.message-media-loading .message-media-preview {
    opacity: 0.35;
}

.message-media-loader {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.message-error {
  margin-top: 10px;
}







/** added message */

.message-main {
    overflow-y: auto;
}

.live-message {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    margin-bottom: 15px;
}

.live-message:first-child {
    margin-top: auto;
}

.live-message-profile {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 0;
}

.live-message-profile-link {
    display: block;
    text-decoration: none;
}

.live-message-profile-photo {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.live-message-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 70%;
}

.live-message-bubble {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 7px 13px;
    border-radius: 20px;
}

.live-message-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.live-message-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 246px;
    max-width: 100%;
    margin: 0;
}

.live-message-media:has(.live-message-media-item:only-child) {
    grid-template-columns: 1fr;
}

.live-message-media-item {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f2f2f2;
}

.live-message-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-message-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 30px;
    pointer-events: none;
}

.live-message-sent {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.live-message-sent .live-message-content {
    align-items: flex-end;
}

.live-message-sent .live-message-bubble {
    background: #509be6;
    border: 1px solid #509be6;
}

.live-message-sent .live-message-media {
    align-self: flex-end;
}

.live-message-received {
    flex-direction: row;
    justify-content: flex-start;
}

.live-message-received .live-message-content {
    align-items: flex-start;
}

.live-message-received .live-message-bubble {
    background: #ffffff;
    border: 1px solid #e7e9ec;
}

.live-message-received .live-message-text {
    color: #1f2937;
}

.live-message-received .live-message-media {
    align-self: flex-start;
}

.live-message-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    width: auto;
    max-width: 100%;
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.live-message-time {
    flex: 0 0 auto;
    width: auto;
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.live-message-status {
    flex: 0 0 auto;
    white-space: nowrap;
}

.live-message-sent .live-message-meta {
    align-self: flex-end;
    justify-content: flex-end;
}

.live-message-received .live-message-meta {
    align-self: flex-start;
    justify-content: flex-start;
}


.live-message-status-seen {
    color: #4f82b5;
}

.live-message-status-sent {
    color: #6b7280;
}

.message-link {
    color: #ffffff;
    text-decoration: underline;
    word-break: break-word;
    font-weight: bold;
}

.message-media-dialog-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.message-media-dialog-image,
.message-media-dialog-video {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.message-video-dialog-content {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000000;
}

.message-media-dialog-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}


/* Sent (blue) bubble */
.live-message-sent .message-link {
    color: #ffffff;
}

/* Received (white) bubble */
.live-message-received .message-link {
    color: #000000;
}






/* profile photo dialog */




.profile-photo-dialog {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .9);
    z-index: 999999;
}

.profile-photo-dialog.show {
    display: flex;
}

.profile-photo-dialog-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.profile-photo-dialog-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.profile-photo-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    cursor: pointer;
}

.profile-photo-dialog-close:hover {
    background: rgba(0, 0, 0, .8);
}

.profile-photo-dialog-open {
    overflow: hidden;
}

.js-profile-photo {
    cursor: pointer;
}

.live-message-sent .live-message-time {
    text-align: right;
}

.live-message-received .live-message-time {
    text-align: left;
}

.live-message-time,
.live-message-status,
.live-message-meta-separator {
    flex: 0 0 auto;
    color: #6b7280;
    white-space: nowrap;
}

.conversation-loader {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.live-message-status-seen,
.live-message-status-sent {
    color: #6b7280;
}












