/* Advertisement container (responsive) */
.mar-slider {
  text-align: center;
  padding-bottom: 10px;
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

/* Wrapper that holds all slides */
.mar-slider-wrapper {
display: flex;
transition: transform 0.5s ease-in-out;
}

/* Each slide with responsive styles (based on .advertisement-img and advertisement img) */
.mar-slide {
min-width: 100%;
padding: 10%;
height: 250px; /* Altura definida anteriormente */
background-position: center;
background-size: cover;
background-repeat: no-repeat;
border-radius: 8px;
}

/* Navigation buttons */
.mar-nav-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
cursor: pointer;
height: 30px !important;
width: 30px !important;
min-height: 30px !important;
min-width: 30px !important;
border-radius: 50%;
z-index: 10;
}

.mar-nav-button:hover{
background-color: rgba(58, 58, 58, 0.5);
}


.mar-nav-button.mar-left {
left: 10px;
}
.mar-nav-button.mar-right {
right: 10px;
}

/* Dot indicators container */
.mar-dots {
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
z-index: 10;
}

/* Each dot */
.mar-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(58, 58, 58, 0.5);
cursor: pointer;
}

/* Active dot */
.mar-dot.active {
background-color: rgb(0, 0, 0, 0.7);
}



/* Contenedor común que engloba el slider y la header-section */
.header-container {
display: flex;
flex-direction: column;
}




@media screen and (max-width: 1000px) {
  .advertisement-slider {
      order: 1;
  }
  .header-section {
      order: 3;
  }
  .nav-linkss {
      order: 2;
  }
}




@media screen and (max-width: 600px) {

  .mar-slide {
    width: auto !important;
      height: 400px; /* Altura definida anteriormente */
  }
}



.half_line_2 {
position: absolute;
width: 70px;
height: 2px;
background-color: #763763;
}





.fw-medium{
  font-weight: 500;
}





/* --------------- CERTIFICATE  --------------- */


  /* Download section styles */
      .download-container {
      max-width: 200px;
      margin: 20px auto 0;
      position: relative;
      }
      .download-share-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      }
      #downloadBtn {
      padding-left: 96px;
      height: 45px;
      font-weight: bold;
      position: relative;
      background: #753662;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 10px;
      }
      #downloadBtn i {
      margin-right: 5px;
      }
      #downloadBtn:hover {
      background: rgb(134, 65, 113);
      }
      #formatSelect {
          width: 80px;
          position: absolute;
          left: 10px;
          top: 50%;
          transform: translateY(-50%);
          z-index: 2;
          background: rgb(110, 53, 93);
          border: 1px solid white;
          color: white;
          border-radius: 4px;
          padding-right: 20px; /* Espacio para la flecha */
          appearance: none; /* Quita la flecha por defecto */
          -webkit-appearance: none;
          -moz-appearance: none;
          background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>');
          background-repeat: no-repeat;
          background-position: right 5px center;
          background-size: 15px;
      }
      

      .share-container {
      display: flex;
      gap: 10px;
      align-items: center;
      }
      .share-container a {
      color: #753662;
      font-size: 24px;
      transition: color 0.3s;
      text-decoration: none;
      }
      .share-container a:hover {
      color: rgb(134, 65, 113);
      }
      
      /* Default PC version visibility */
      #certificado-mobile {
      display: none;
      }
      #certificado {
      width: 700px;
      height: 496.3px;
      position: relative;
      margin: 0 auto;
      }
      .certificate-background {
      width: 100%;
      height: 100%;
      object-fit: contain;
      position: absolute;
      top: 0;
      left: 0;
      image-rendering: optimizeQuality;
      }
      .floating-text {
      position: absolute;
      font-weight: bold;
      backface-visibility: hidden;
      margin: 0;
      pointer-events: none;
      }
      
      /* PC version styles */

      
      .floating-text.event {
      top: 126px;
      left: 54px;
      font-size: 24px;
      color: #2F4F4F;
      }

      .floating-text.participant {
      top: 216px;
      left: 54px;
      font-size: 26px;
      font-style: italic;
      color: #63C76A;
      font-family: 'Open Sans', sans-serif;
      letter-spacing: 0.5px;
      }

      .floating-text.message {
          top: 276px;
          left: 54px;
          font-size: 12px;
          font-weight: 300;
          color: #6F6A5B;
          font-family: 'Open Sans', sans-serif;
          letter-spacing: 0.5px;
      }


      .floating-text.date {
      bottom: 30px;
      right: 70px;
      font-size: 12px;
      color: #696969;
      }
      .profile-image-container {
      position: absolute;
      right: 72.2px;
      top: 171px;
      width: 176.5px;
      height: 176.5px;
      overflow: hidden;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      border: 3px solid #753662;
      }

      .profile-image {
        position: absolute; /* Se posiciona absolutamente dentro del contenedor */
        top: 50%;
        left: 50%;
        width: auto; /* Permite mantener su tamaño natural */
        height: auto; /* Permite mantener su tamaño natural */
        min-width: 176.5px; /* No exceder el tamaño del contenedor */
        min-height: 176.5px; /* No exceder el tamaño del contenedor */
        max-height: 256px; /* No exceder el tamaño del contenedor */
        max-width: 256px; /* No exceder el tamaño del contenedor */
        
        transform: translate(-50%, -50%); /* Lo centra respecto a su tamaño */
        object-fit: cover;
        image-rendering: crisp-edges;
    }


      /* Mobile version styles */
      @media (max-width: 1000px) {
      #certificado {
          display: none;
      }
      #certificado-mobile {
          display: block;
          width: 100%;
          height: 120.4vw;
          max-width: 600px !important;
          max-height: 848px !important;
          margin: 0 auto;
          position: relative;
          overflow: hidden;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .certificate-background-mobile {
          width: 100%;
          height: 100%;
          object-fit: cover;
          position: absolute;
          top: 0;
          left: 0;
      }
      .floating-text-mobile {
          position: absolute;
          font-weight: bold;
          backface-visibility: hidden;
          margin: 0;
          pointer-events: none;
          width: 80%;
          text-align: center;
          transform: translateX(-50%);
          left: 50%;
      }
      .floating-text-mobile.participant {
          top: 30%;
          font-size: 4.4vw;
          color: #63C76A;
          font-style: italic;
          font-family: 'Open Sans', sans-serif;
          white-space: nowrap;
      }


      .floating-text-mobile.message {
          top: 40%;
          font-size: 2.4vw;
          color: #6F6A5B;
          font-weight: 300;
      }


      /* Adjust the event font-size dynamically */
      .floating-text-mobile.event {
          top: 21.2%;
          color: #2F4F4F;
          white-space: nowrap;
      }


      



      .floating-text-mobile.date {
          top: 90.2%;
          font-size: 1.8vw;
          left: 80%;
          color: #2F4F4F;
          white-space: nowrap;
      }




      .profile-image-container-mobile {
          position: absolute;
          right: 32.4%;
          bottom: 15%;
          width: 26vw;
          height: 26vw;
          border-radius: 50%;
          overflow: hidden;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          border: 3px solid #753662;
      }

      .profile-image-mobile {
        position: absolute; /* Se posiciona absolutamente dentro del contenedor */
        top: 50%;
        left: 50%;
        width: auto; /* Permite mantener su tamaño natural */
        height: auto; /* Permite mantener su tamaño natural */
        min-width: 36vw; /* No exceder el tamaño del contenedor */
        min-height: 42vw; /* No exceder el tamaño del contenedor */
        max-height: 46vw; /* No exceder el tamaño del contenedor */
        
        transform: translate(-50%, -50%); /* Lo centra respecto a su tamaño */
        object-fit: cover;
        image-rendering: crisp-edges;
      }

      }
      @media (max-width: 710px) {
      .floating-text-mobile.participant {
          top: 31%;
          font-size: 5.5vw;
      }
      .floating-text-mobile.date {
          font-size: 2.4vw;
          left: 80%;
      }

      .profile-image-container-mobile {
          width: 31vw;
          height: 31vw;
      }

      }
      @media print {
      body { background: transparent; }
      #certificado, #certificado-mobile { box-shadow: none; }
      }

      

/* --------------- END CERTIFICATE  --------------- */




/* --------------- HEADER  --------------- */
  .btn-purple {
      background-color: #753662; /* Purple background */
      color: #fff; /* White text */
      border: none; /* Remove border */
      padding: 6px 20px; /* Padding */
      border-radius: 5px; /* Rounded corners */
      transition: background-color 0.3s ease-in-out; /* Smooth transition */
  }

  /* Hover effect for 'btn-purple' */
  .btn-purple:hover {
      background-color: #5a274d;
      color: white;
  }


  .btn-purple-2 {
      background-color: #753662; /* Purple background */
      color: #fff !important; /* White text */
      border: none; /* Remove border */
      padding: 10px 20px; /* Padding */
      border-radius: 5px; /* Rounded corners */
      transition: background-color 0.3s ease-in-out; /* Smooth transition */
  }

  /* Hover effect for 'btn-purple' */
  .btn-purple-2:hover {
      background-color: #5a274d;
      color: white;
  }

  /* Transition effect for the 'Sign In' link */
  .signin-link {
      color: #333; /* Dark text */
      text-decoration: none;
      position: relative; 
      transition: color 0.3s ease-in-out; 
  }

  /* Underline effect on hover */
  .signin-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 2px;
      background-color: #753662; /* Purple underline */
      transform: scaleX(0); /* Hidden by default */
      transition: transform 0.3s ease-in-out; /* Smooth transition */
  }

  /* Show underline on hover */
  .signin-link:hover::after {
      transform: scaleX(1); /* Expand underline */
  }

  /* Change text color on hover */
  .signin-link:hover {
      color: #753662; /* Purple text */
  }



  /* Button container */
  .user-dropdown-container {
      position: relative; /* Needed for dropdown positioning */
      display: flex;
      align-items: center;
  }

  /* User button */
  .user-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      transition: transform 0.2s ease-in-out;
  }

  /* Add a slight scale effect when clicked */
  .user-btn:active {
      transform: scale(0.95);
  }

  /* Dropdown Menu */
  .user-dropdown {
      position: absolute;
      top: 40px; /* Space below the button */
      right: 0;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      width: 150px;
      display: none; /* Hidden by default */
      flex-direction: column;
      padding: 10px;
      z-index: 1000;
  }

  /* Show dropdown when active */
  .user-dropdown.active {
      display: flex;
  }

  /* Dropdown links */
  .user-dropdown a {
      text-decoration: none;
      padding: 8px 10px;
      display: block;
      color: #333;
      border-radius: 5px;
      transition: background 0.3s ease-in-out;
  }

  /* Hover effect */
.user-dropdown a:hover {
  background: #f3f3f3;
}


/* --------------- END HEADER  --------------- */



.text-black{
  color: black !important;
}


/* Cambiar color principal del texto en paginación */
.pagination .page-link {
  color: #753662 !important;
}

/* Cambiar color del ítem activo */
.pagination .page-item.active .page-link {
  background-color: #753662;
  color: white !important;
  border: 1px solid #753662 !important;
}

/* Opcional: Cambiar hover y foco si lo deseas */
.pagination .page-link:hover {
  color: #5a2a4d !important;
}


.mx-auto {
margin-left: auto !important;
margin-right: auto !important;
}




.custom-select-btn {
background-color: #753662;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}

/* Hover effect */
.custom-select-btn:hover {
background-color: #5a2a4d;
}



.img-user-navbar {
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  border: 1px solid gray;
}
.img-user-navbar img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 32px;
}


/* Dropdown para PC */
.user-dropdown {
  display: none; /* Oculto por defecto */
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  z-index: 1000;
}
.user-dropdown.active {
  display: block;
}
.user-dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}
.user-dropdown a:hover {
  background-color: #f2f2f2;
}
.user-dropdown hr {
  margin: 0;
  border: none;
  border-top: 1px solid #ccc;
}








/* ------ MEMBERS DASHBOARD ------ */


.card-margin {
  margin-bottom: 1.875rem;
}

.card {
  border: 0;
  box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
  -ms-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid #e6e4e9;
  border-radius: 8px;
}

.card .card-header.no-border {
  border: 0;
}
.card .card-header-member {
  background: none;
  padding: 0 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 50px;
}
.card-header:first-child {
  border-radius: calc(8px - 1px) calc(8px - 1px) 0 0;
}

.widget-49 .widget-49-title-wrapper {
display: flex;
align-items: center;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-primary {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #fceded;
width: 4rem;
height: 4rem;
border-radius: 50%;
color: #e54e4e;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-primary .widget-49-date-day {
color: #4e73e5;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-primary .widget-49-date-month {
color: #4e73e5;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-secondary {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #fcfcfd;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-secondary .widget-49-date-day {
color: #dde1e9;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-secondary .widget-49-date-month {
color: #dde1e9;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-success {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #e8faf8;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-success .widget-49-date-day {
color: #17d1bd;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-success .widget-49-date-month {
color: #17d1bd;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-info {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #ebf7ff;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-info .widget-49-date-day {
color: #36afff;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-info .widget-49-date-month {
color: #36afff;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-warning {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: floralwhite;
width: 4rem;
height: 4rem;
border-radius: 50%;
color: #FFC868;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-warning .widget-49-date-day {
color: #FFC868;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-warning .widget-49-date-month {
color: #FFC868;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-danger {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #feeeef;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-danger .widget-49-date-day {
color: #F95062;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-danger .widget-49-date-month {
color: #F95062;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-light {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #fefeff;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-light .widget-49-date-day {
color: #f7f9fa;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-light .widget-49-date-month {
color: #f7f9fa;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-dark {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #ebedee;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-dark .widget-49-date-day {
color: #394856;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-dark .widget-49-date-month {
color: #394856;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-base {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #f0fafb;
width: 4rem;
height: 4rem;
border-radius: 50%;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-base .widget-49-date-day {
color: #68CBD7;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
}

.widget-49 .widget-49-title-wrapper .widget-49-date-base .widget-49-date-month {
color: #68CBD7;
line-height: 1;
font-size: 1rem;
text-transform: uppercase;
}

.widget-49 .widget-49-title-wrapper .widget-49-meeting-info {
display: flex;
flex-direction: column;
margin-left: 1rem;
}

.widget-title {
color: #000000;
font-size: 20px;
}

.widget-49 .widget-49-title-wrapper .widget-49-meeting-info .widget-49-meeting-time {
color: #B1BAC5;
font-size: 13px;
}

.widget-49 .widget-49-meeting-points {
font-weight: 400;
font-size: 13px;
margin-top: .5rem;
}

.widget-49 .widget-49-meeting-points .widget-49-meeting-item {
display: list-item;
color: #727686;
}

.widget-49 .widget-49-meeting-points .widget-49-meeting-item span {
margin-left: .5rem;
}

.widget-49 .widget-49-meeting-action {
text-align: right;
}

.widget-49 .widget-49-meeting-action a {
text-transform: uppercase;
}

.a_link {
  color: #753662;
  position: relative;      /* Required for pseudo-element positioning */
  text-decoration: none;   /* Remove default underline */
  display: inline-block;   /* Contain the pseudo-element within link */
}

.a_link:hover {
  color: #753662;          /* Optional: maintain text color on hover */
}


.a_link_2 {
color: #753662;
}


.a_link_2:hover {
  color: #753662;          /* Optional: maintain text color on hover */
}



.a_link_3 {
  color: #753662;
  text-decoration: underline;
  }
  
  
  .a_link_3:hover {
    color: #753662;          /* Optional: maintain text color on hover */
  }

/* Animated underline effect */
.a_link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;            /* Adjust distance from text */
  width: 0;                /* Start with 0 width */
  height: 2px;             /* Line thickness */
  background-color: #753662; /* Violet color */
  transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;              /* Start invisible */
}

/* Hover animation */
.a_link:hover::after {
  width: 100%;             /* Expand to full width */
  opacity: 1;              /* Fade in line */
}

/* ------ END MEMBERS DASHBOARD ------ */



.nav-link-faded{
color:  #753662;
}

.nav-link-faded:hover{
color:  #461f39;
}

.nav-link-faded.active {
background-color: #753662 !important;
}


.nav-link.has-icon{
color: #753662;

}


.photo-container {
width: 100px;
height: 100px;
border-radius: 50%;
overflow: hidden;
position: relative;
border: 1px solid gray !important;
}

.user-photo {
width: 100%;
height: 100%;
object-fit: cover;       /* Asegura que la imagen cubra el contenedor */
object-position: center; /* Centra la imagen */
}