*{
   -webkit-backface-visibility: hidden;
   -moz-backface-visibility: hidden;
   -ms-backface-visibility: hidden;
   backface-visibility: hidden;

   -webkit-perspective: 1000px;
   -moz-perspective: 1000px;
   -ms-perspective: 1000px;
   perspective: 1000px;
   
   -webkit-transform: translate3d(0, 0, 0);
   -moz-transform: translate3d(0, 0, 0);
   -ms-transform: translate3d(0, 0, 0);
   -o-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);

   -webkit-transform: translateZ(0);
   -moz-transform: translateZ(0);
   -ms-transform: translateZ(0);
   -o-transform: translateZ(0);
   transform: translateZ(0);
 
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

   -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    will-change: transform, opacity;

    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

     -webkit-overflow-scrolling: touch;
     
}



@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body {
    height: 100dvh;  /* Ocupa el 100% de la pantalla */
    width: 100vw;   /* Ocupa el 100% del ancho */
    margin: 0;
   /* padding-top: env(safe-area-inset-top);*/ /* Respeta la barra de estado */
   /* padding-bottom: env(safe-area-inset-bottom);*/ /* Respeta la barra de navegación */
    box-sizing: border-box;
    overflow: hidden; /* Evita scroll innecesario */
    
}

.ios .toolbar-bottom-ios,.md .toolbar-bottom-md,.toolbar-bottom {
    bottom: 0;
    height: calc(var(--f7-toolbar-height) );/*+ var(--f7-safe-area-bottom)*/
}


:root {
    --f7-badge-text-color: #ffffff;
    --f7-badge-bg-color: #8e8e93;
    --f7-badge-in-icon-size: 16px;
    --f7-badge-in-icon-font-size: 10px;
    --f7-badge-font-weight: normal;
    --f7-badge-font-size: 8px;
}

.md {
    --f7-badge-padding: 0px 0px;
    --f7-badge-size: 15px;
    --f7-badge-font-weight: 100;
}

.badge[class*=color-] {
    --f7-badge-bg-color: #01cecb
}

.color-secondary{
    color: #01cecb;
}

.large-popup{
    width: 100%;
    max-width: 630px;
    margin-top: 15px;
    max-height: 95%;
    margin-top: 40px;
    border-radius: 25px;
}

.small-popup{
    width: 92%;
    max-width: 630px;
    margin: 15px;
    max-height: 80%;
    margin-top: 40px;
    border-radius: 25px;
}

.small-xs-popup{
    width: 92%;
    max-width: 630px;
    margin: 15px;
    max-height: 70%;
    margin-top: 80px;
    border-radius: 25px;
}

.panel-gl-search{
    margin-top: 70px;
    padding: 10px;
    background: #f3ecfe;
    width: 100vw; /* 100% del ancho de la ventana */
    height: 100vh; /* 100% de la altura de la ventana */
    display: none;

    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto; /* <- permite scroll vertical interno */  
    z-index: 9999; /* más alto que el resto */
}

.list .item-link .item-inner:before{
    content: none;
}

.min-height-post{
  min-height: 120px;
}

.max-img-avatar{
  max-width: 50px;
  max-height: 50px;
  border-radius: 50%;
}

.max-img-avatar-large{
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
}

.ellipsis-single {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*Skeleton imagen post*/


.skeleton-image {
  width: 100%;
  height: 100%;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.skeleton-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, #eee, #ddd, #eee);
  animation: loading 1.5s infinite;
}

.skeleton-image.loaded::after {
  display: none;
}

.skeleton-image img {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}


/*Boton central toolbar*/

.toolbar {
  overflow: visible !important; /* Evita que el toolbar corte el contenido */
  position: relative;
  z-index: 100;
}

.toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: visible; /* Asegura que el contenido elevado no se corte */
}

#divBtnCreatePost {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: #eaeefa;
  border-radius: 50%;
  position: relative;
  top: -20px; /* Ajusta para elevar el botón */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

#divBtnCreatePost i {
  margin: 0; /* Elimina márgenes para centrar el ícono */
  color: #333; /* Color del ícono, ajusta según necesites */
}

.tab-link:not(#divBtnCreatePost) {
  flex: 1;
  text-align: center;
}

/**/
.post-explore-user{
    z-index: 2;
}

.icon-share{
    font-size:17px;
}

.msg-contact{
    border: 1px solid lightgray;
    margin-bottom:-10px
}

.panel-fijo{
    position: fixed;
    top: 60px;
    /*left: 0;*/
    width: 100%;
    height: 80px;
    background-color: #f4edff;
    z-index: 3;
    max-width: 1030px;
    padding-right:6px;
    margin-left:-15px;
    padding-left:6px;
}



.progressbar span {
    background-color: #31a3a1;
}

.color-vip{
    color: #4E2178 /*rgb(246, 112, 112)*/
}

.color-verified{
    color: #31a3a1 !important;
}

.color-icon-primary{
    color: #31a3a1
}

.color-icon-danger{
    color: rgb(144, 8, 8)
}

.post-content ol{
    margin-left:15px;
}

.account-area .logo img {
    width: 200px;
}

.color-red{
    color:rgb(246, 112, 112)
}

.color-black{
    color:black !important
}

.color-aquamarine{
    color:#01cecb !important;
}

.font-bold{
    font-weight: bold !important;
}

.panel-list-image{
    border-radius: 50px;
   /* margin-top: 10px;*/
    width: 60px;
    height: 60px;
    object-fit: cover;
}
/*
.navbar.navbar-style-1 {
    height: 70px;
    border-bottom: 1px solid #d9d9d9;
    margin-top: 15px;
}
*/
.footer-button {
    height: 120px;
	padding: 0px 30px !important;
}

.container{
    margin-bottom: 100px;
}
/*
@media only screen and (max-width: 768px) {
    body {
        margin-top: 20px;  
    }
}
*/
/*Movil*/


.button.button-outline {
    border-width: 1px;
    border-color: #01cecb !important;
}

.button-secondary{
    border-width: 1px;
    border-color: #01cecb !important;
    background: white;
    color: #01cecb !important;
}

.button-tertiary{
    border-width: 1px;
    border-color: #4E2178 !important;
    background: white;
    color: #4E2178 !important;
}

.ios .color-primary, .ios.color-primary, .ios .dark .color-primary, .ios .dark.color-primary, .button-fill {
    --f7-theme-color: #01cecb !important;
    --f7-theme-color-rgb: #01cecb !important;
    --f7-theme-color-shade: #01cecb !important;
    --f7-theme-color-tint: #01cecb !important;
}

/*Normal*/

:root, .md:not([class*='color-theme']) {
    --f7-theme-color: #4E2178 !important;
    --f7-theme-color-rgb: 146, 55, 227;
    --f7-theme-color-shade: #4E2178 !important;
    --f7-theme-color-tint:#4E2178 !important;
    --f7-theme-color-light: white;/*f4edff color fondo*/
}

.md .color-primary, .md.color-primary, .md .dark .color-primary, .md .dark.color-primary {
    --f7-theme-color: #01cecb !important;
    --f7-theme-color-rgb: #01cecb !important;
    --f7-theme-color-shade: #01cecb !important;
    --f7-theme-color-tint: #01cecb !important;
}

.profile-img{
    margin-left: auto;  
    margin-right: auto; 
    background: #fff;
    border: 1px solid #2aced5;

    margin-top: 0px; 
    overflow: hidden;     
    width: 204px; 
    height: 204px; 
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%;
    border-radius: 50%;    
}


/*label input*/
/* Estilos para inputs */
.floating-label-input {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;

}

input:focus + .floating-label-input,
input:not(:placeholder-shown) + .floating-label-input {
    top: -5px;
    left: -5px;
    font-size: 16px;
    color: #01cecb;
}

/* Estilos para textarea */
.floating-label-textarea {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
   /* border: 1px solid #ccc;*/
    border-radius: 4px;
}

textarea:focus + .floating-label-textarea,
textarea:not(:placeholder-shown) + .floating-label-textarea {
    top: -10px;
    left: -5px;
    font-size: 16px;
    color: #01cecb;
}

/* Estilos para selects */
.floating-label-select {
    position: absolute;
    top: 50% !important;
    left: 5px !important;
    transform: translateY(-50%);
    color: #aaa !important;
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 16px !important;
    background-color: white;
    padding: 0 5px;
}

select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    background: none;
    min-height: 24px;
}

select.input-with-value + .floating-label-select{
    top: -5px !important;
    left: -5px !important;
    font-size: 16px !important;
    color: #01cecb !important;
}

select:focus {
    border-color: #000;
}

select option:first-child {
    color: #aaa;
}

select:not([value=""]) option:first-child {
    display: none;
}

.field-validate select {
    border: 0px !important;
}

.field-validate {
    border: 0px !important;
}

.input-with-value{
    height: 45px !important;
}





/*head profile user*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.curved-header {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, #01cecb, #018684);
    clip-path: ellipse(120% 80% at 50% 0%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: absolute;
    top: 30px; /* Ajusta la posición vertical */
    width: 120px;
    height: 120px;
    background-color: white;
    border: 5px solid #01cecb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-type-label{
    top: -3px;
    left: -5px;
    font-size: 12px;
    color: #01cecb;
}

/*** General Post Container ****/

.post {
    max-width: 600px;
    margin: 0px auto;/*20*/
    background: #fff;
    border: 0px solid #e0e0e0;
    border-radius: 0px;/*8*/
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

/* Header */
.post-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 0px solid #f0f0f0;
    padding-bottom: 0px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.post-header-info {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.post-username:hover {
    text-decoration: underline;
}

.post-date {
    font-size: 12px;
    color: #888;
}

/* Content */


.post-message {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

/* Media */
.post-media {
    margin-top: 0px; /*10*/
}

.post-image {
    max-width: 100%;
    border-radius: 8px;
    width: 100%;
}

.post-video-wrapper {
    position: relative;
}

.post-video-poster {
    max-width: 100%;
    border-radius: 8px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

/* Actions */
.post-actions {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    /*border-top: 1px solid #f0f0f0;*/
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    /*gap: 5px;*/
    font-size: 14px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
}

.action-btn .f7-icons {
    font-size: 20px;
}

.action-btn:hover {
    color: #000;
}

.liked {
    color: red;
}

.background-color-black{
    background-color: #000;
}

/* Likes */
.post-likes {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #f0f0f0;
}

/* Nueva clase para el botón de visualizaciones */
.view-btn .f7-icons {
    color: #888; /* Color inicial del ícono de ojo */
}

.view-count {
    font-size: 12px;
    color: #888;
}

.view-btn:hover .f7-icons {
    color: #000; /* Cambia el color al pasar el mouse */
}


/*CHAT*/

.message:not(.message-first) .message-name {
    display: block;
}

.message:not(.message-last) .message-avatar {
    opacity: inherit;
}



/*Comentarios*/

.chat-input-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #ddd;
  z-index: 1000;
}

/* Botón cámara */
.btn-attach {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Campo de texto */
.chat-text-input {
  flex: 1;
  border: none;
  border-radius: 12px;
  background-color: #e3e6ed;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

/* Botón enviar */
.btn-send {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}


/*Ajuste imagen multiple post*/

.carousel-container {
  height: 400px; /* o usa max-height si prefieres */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-container img {
  height: 100%;
  /*width: auto;*/
  object-fit: cover;
}



.width-100-per{
    width: 100%
}

.star-comment{
    color: #ff9838;
    font-size: 20px;
} 

/**chat option*/

  #miDiv {
    width: 200px;
    height: 100px;
    background-color: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
  }
  #ventanaOpciones {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
  }
  #ventanaOpciones button {
    margin: 5px;
  }
  .font-style-italic{
    font-style: italic;
  }

  .message-text-footer{
    color: white !important
  }

  .message-text{
        user-select: none;       /* Estándar moderno */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
  }


  .badge-chat{
        position: absolute;
        right: 0px;
        top: 3px;        
  }

.margin-bottom-alert{
    margin-bottom: 80px;
}
.ios, .ios .dark {
    --f7-theme-color: #4E2178 !important;
    --f7-theme-color-rgb: #4E2178 !important;
    --f7-theme-color-shade: #4E2178 !important;
    --f7-theme-color-tint: #4E2178 !important;
}


.navbar
 {
    background: #4E2178 !important;
    color: white !important;
 }
.navbar-bg
 {
    background: #4E2178 !important;
    color: white !important;
 }
.navbar-inner .title{
    color: white !important;
}
.navbar-inner a{
    color: white !important;
}

.navbar-inner .right i{
    color: rgba(255, 255, 255, 0.807) !important;
}
/*
li.active i
 {
    color: #4E2178 !important;
 }

 li.active span
 {
    color: #4E2178 !important;
 }
 */
 .btn-CreatePost{
       background: #4E2178 !important;
 }

  .btn-CreatePost i{
       color:white  !important;
 }

 .fab-buttons a,.fab>a {
    background-color: #4E2178;
    color:white;
 }

 .no-border{
    border: 0px;
    border-color: white !important;
 }

 .post-image{  
    height: 100%;
  /*width: auto;*/
  object-fit: cover;
}

.post-content{
    padding:0px
}

.post-message{
    padding-left:15px;
    padding-right:15px
}

.post-image {
    border-radius: 0px;
}

.title-post-alias{
    font-size: 13px; 
    margin-top:10px; 
}

.op-post-btn{
    position:relative;
    left:75%; 
    font-size:22px; 
    width:20px
}

.list{
    margin-top:0px
}

.post-value{
    position:relative;
    text-align: right;
    font-size: 14px;
    margin-top: 8px;
}

.btn-post-follow{
     text-align: center; 
     height: 30px;                     
     line-height: 30px; 
     z-index: 10; 
     background: rgb(1, 206, 203);
     margin-top: 10px;
}

.message-sent .message-bubble {
    background: #4e2178;
}

/* Ocultar todos los controles */
  video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
  }

  video::-webkit-media-controls {
    display: none !important;
  }

  /* Mostrar solo la barra de progreso */
  video::-webkit-media-controls-timeline {
    display: block !important;
    height: 30px; /* tamaño de la barra */
  }

.badge{
    color: #000000 !important;
    font-weight: bold;
}

.tab-size-badge{
    font-size: 10px;
}

.padding-0{
    padding: 0px;
}

.padding-5{
    padding: 5px;
}

.padding-10{
    padding: 5px;
}

.tag-input {
    background-color: #ffffff;
    color: #4e2178 !important;
    /* padding: 10px 12px; */
    border-radius: 8px;
    /*border: 1px solid #4e2178;*/
    font-size: 0.875rem;
    display: inline-block;
    /* margin-right: 6px; */
    /* margin-bottom: 10px; */
    padding: 8px;
}

.mention-box {
    position: absolute;
    display: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 6px 0;
    z-index: 9999;
    width: 100%;
  /*  width: 220px;*/
  /*  max-height: 160px;*/
    overflow-y: auto;
    font-size: 14px;
}
.mention-item {
    padding: 6px 10px;
    cursor: pointer;
}
.mention-item:hover {
    background-color: #f2f2f2;
}

.mention-input {
  width: 100%;
  min-height: 60px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.mention-highlight {
  color: #01cecb;
  background: rgba(0,123,255,0.08);
  padding: 1px 4px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
}

.mention-input[placeholder]:empty:before {
    content: attr(placeholder);
    color: #555; 
}


.navbar.navbar-style-1 {
    height: 70px;
    border-bottom: 0px solid #d9d9d9;
}


.page-content {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  height: 100%;
  position: relative;
  z-index: 1;
  padding-top: calc(var(--f7-page-navbar-offset, 0px) + var(--f7-page-toolbar-top-offset, 0px) + var(--f7-page-subnavbar-offset, 0px) + var(--f7-page-searchbar-offset, 0px) + var(--f7-page-content-extra-padding-top, 0px));
  padding-bottom: calc(var(--f7-page-toolbar-bottom-offset, 0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom, 0px));

  /* Ocultar la barra de desplazamiento */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer y Edge */
}

.page-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, etc. */
}

.text-box {
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2; /* 👈 límite de líneas visibles */
  transition: all 0.3s ease;
}

.text-box.expanded {
  -webkit-line-clamp: unset; /* 👈 muestra todo */
}

.toggle-btn {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
 /* font-weight: bold;*/
  padding-right: 20px;
  text-align: right;
}

/* Oculta los textos extra por defecto */
.text-in-box {
  display: none;
}

.btn-profile-md{
    font-size: 12px;
    width:100%;
    margin:3px;
    background: #4a1f71 !important; 
    color: #ffffff !important
}


/* Fuerza 4 columnas en el grid del action sheet */
.actions-grid .actions-button {
  width: 25% !important; /* 4 columnas = 100 / 4 */
  flex: 0 0 25% !important;
  max-width: 25% !important;
}

/* Fuerza 4 columnas en el grid del action sheet */
.actions-grid .actions-button-3 {
  width: 33% !important; /* 4 columnas = 100 / 4 */
  flex: 0 0 33% !important;
  max-width: 33% !important;
}

/* Fuerza 4 columnas en el grid del action sheet */
.actions-grid .actions-button-2 {
  width: 50% !important; /* 4 columnas = 100 / 4 */
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

/* Centrar íconos dentro de cada botón */
.actions-grid .actions-button i {
  display: block;
  margin: 0 auto;
}

.style-foto-chat{
    max-width:300px;
    max-height: 300px;
    margin-bottom:15px;
    border-radius: 5px;
    /* border-top-right-radius:5px; */
    margin: 7px 7px 15px 7px;
}