@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;700&display=swap");
:root {
  --mainColor: #39a900;
  --mainColorDarker: #39a900;
  --mainColorLighter: #39a900;
  --dangerColor: #d53b3b;
  --dile-modal-border-radius: 5px;
  --dile-modal-content-shadow-displacement: 0px;
  --dile-modal-content-shadow-blur: 30px;
  --dile-modal-content-shadow-color: rgba(0, 0, 0, 0.2);
  --dile-modal-width: 500px;
  --dile-modal-content-padding: 20px;
  --fc-event-bg-color: var(--mainColor);
  --fc-event-border-color: var(--mainColorLighter);
}
.fc-daygrid-event {
  white-space: normal !important;
  align-items: normal !important;
}
.work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.custom-event-content {
  font-size: 0.8em;
  line-height: 1.2;
  overflow: hidden;
  max-height: 100%;
  word-wrap: break-word;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

.fc-h-event {
  background-color: #fde087;
  border: 1px solid #fde087;
}

.fc-h-event .fc-event-main {
  color: #00304c;
}

.fc-daygrid-event {
  background-color: #fde087;
  border: 1px solid #fde087;
}

.fc .fc-col-header-cell-cushion,
.fc-list-empty-cushion {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
}

.fc-timegrid-slot-label-cushion,
.fc-list-event-time {
  font-family: "Work Sans", sans-serif;
  font-weight: 100;
  font-optical-sizing: auto;
  font-style: normal;
}
.fc-list-day-text,
.fc-list-day-side-text {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
}
.fc-daygrid-day-number {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Estilo para eventos en la vista de semana y mes */
/* Estilo para eventos en la vista de semana */
.fc .fc-timegrid-event {
  color: white !important; /* Texto blanco */
}

/* Estilo para eventos en la vista de mes */
.fc .fc-list-event,
.fc .fc-daygrid-event {
  color: #00304c; /* Texto negro */
  padding-left: 4px;
}
/* Ajusta el tamaño de las celdas del calendario para que quepa más contenido */
.fc-daygrid-day-frame {
  min-height: 100px;
}

/* Asegura que los eventos en la vista de semana también se ajusten correctamente */
.fc-timegrid-event-harness {
  overflow: hidden;
  display: none;
}

.fc-timegrid-event {
  overflow: hidden;
  max-height: 100%;
}
.fc-event {
  cursor: pointer;
}
.fc td,
.fc th {
  vertical-align: middle;
}
.fc-event-time {
  display: none;
}

body {
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  color: #191919;
}
.main-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header {
  width: 100%;
  position: relative;
  height: 130px;
  overflow: hidden;
  top: 0;
}
.fondo {
  content: url(../../../public/Fondo.svg);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  object-fit: cover;
}
.sena {
  content: url(../../../public/SENA.svg);
  width: 483px;
  height: 171px;
  position: absolute;
  left: 5px;
  top: -20px;
  object-fit: cover;
}
.adso {
  content: url(../../../public/ADSO.svg);
  width: 252px;
  height: 107px;
  position: absolute;
  left: 1038px;
  top: 14px;
  object-fit: cover;
}

.main-container .calendar-container {
  flex: 1;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 20px;
}
.afooter,
.footer {
  background-color: #04324d;
  height: 100px;
  width: 100%;
  color: #ffffff;
  bottom: 0;
}
.footertxt {
  text-align: center;
  margin-left: 40px;
  margin-top: 30px;
  font-weight: 400;
}
.afooter:hover {
  color: #39a900;
}
.senaverde {
  width: 69.87px;
  height: 69.87px;
  position: absolute;
  margin-top: 15px;
  margin-left: 70px;
  overflow: visible;
}
.modal-container h2 {
  color: var(--mainColor);
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 20px 0;
}
.modal-container .inputtxt,
.modal-container textarea {
  background-color: #cccccc;
  border: none;
  border-radius: 8px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 10px;
  margin-bottom: 10px;
}
.btns-container {
  display: flex;
  justify-content: center; /* Centra el contenido */
  gap: 60px; /* Espacio entre los botones */
}
.btns-container2 {
  display: flex;
  margin-left: 160px;
}
.cart-button,
.cart-button * {
  box-sizing: border-box;
}
.cart-button {
  border-radius: 8px;
  padding: 14px 23px 14px 23px;
  width: 127.81px;
  height: 30.41px;
  position: relative;
  overflow: hidden;
}
.registrar {
  color: #ffffff;
  text-align: center;
  background-color: #fdc300;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
  position: absolute;
  left: -27.55px;
  top: -2px;
  width: 181px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.delete-event-btn {
  color: #ffffff;
  text-align: center;
  background-color: #fd0000d0;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
  position: absolute;
  left: -27.55px;
  top: -1.9px;
  width: 181px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.error-message {
  color: red;
  font-size: 0.8em;
  margin-top: 5px;
  display: none; /* Ocultarlo por defecto */
  font-weight: 300;
}

.logoS {
  width: 50px;
  height: 50px;
}
.d-none {
  display: none !important;
}
.fc .fc-toolbar-title {
  color: #00304c;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
}
.inpimg {
  display: none;
}
.lbarchivo {
  display: inline-block;
  font-size: 13px;
  padding: 5px 15px;
  color: #6a6a6a;
  background-color: #cccccc; /* Cambia este color */
  border-radius: 5px; /* Cambia el border-radius */
  cursor: pointer;
  margin-bottom: 30px;
}
.lbarchivo:hover {
  background-color: #afafaf; /* Cambia este color */
}
.filename {
  margin-left: 4px;
  font-size: 13px;
}
.fc .fc-button-primary {
  background-color: #04324d;
  border-color: #04324d;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
}
.fc .fc-button-primary:not(:disabled).fc-button-active {
  background-color: #061c29;
  border-color: #061c29;
}
.fc-toolbar-title,
.fc-list-day-text,
.fc-col-header-cell-cushion {
  text-transform: lowercase;
}
.fc-toolbar-title::first-letter,
.fc-list-day-text::first-letter,
.fc-col-header-cell-cushion::first-letter {
  text-transform: uppercase;
}
.fc-event-main {
  margin: 3px;
}
.fc-daygrid-event-harness-abs {
  max-width: 180%;
  margin-left: auto;
  margin-right: auto;
}
.barratxt {
  max-width: 100%;
  background-color: #fdc300;
  font-weight: 700;
  text-align: center;
  color: #04324d;
  font-size: 30px;
}

dile-modal::part(wrapper) {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
dile-modal::part(container) {
  padding: 0;
  margin: 0;
  background: transparent;
  box-sizing: border-box;
}
.modal-evento {
  background: white;
  border-radius: 10px;
  width: 400px;
  position: relative;
  display: flex;
  padding-top: 25px;
  padding-bottom: 15px;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.modal-header {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.evento {
  color: #39a900;
  font-weight: 800;
  font-size: 38px;
  margin-top: -20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.x {
  position: absolute;
  right: -30px;
  top: -45px;
  font-size: 50px;
  font-weight: bold;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1;
}
.x:hover {
  color: #04324d;
}
.modal-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.vistaarea,
.vistatitulo,
.vistadescripcion,
.vistavinculo {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  margin: 0 0 10px 0;
  text-align: center;
  padding: 0;
}

.txtarea {
  font-size: 20px;
  color: #00304c;
  margin-top: -30px;
}

.vistaarea {
  color: #04324d;
  font-size: 28px;
  font-weight: 600;
  margin-top: -5px;
}
.vistatitulo {
  color: #04324d;
  font-size: 30px;
  font-weight: 700;
  margin-top: 10px;
}
.vistadescripcion {
  color: #0c2c41;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: justify;
}

.horalugar {
  width: 320px;
  height: 40px;
  border-top: 1px solid #39a900;
  border-bottom: 1px solid #39a900;
  display: flex;
  margin-top: 20px;
  margin-bottom: 10px;
}

.hora {
  font-weight: 700;
  font-size: 20px;
  color: #00304c;
  text-transform: lowercase;
  line-height: 40px;
  margin-left: 15px;
  margin-right: 10px;
}

.esp {
  width: 3px;
  border-radius: 3px;
  height: 30px;
  background-color: #39a900;
  margin-top: 5px;
}

.lugar {
  font-weight: 400;
  color: #0c2c41;
  height: 50px;
  width: 200px;
  text-align: center;
  margin-top: 3px;
}

.vistavinculo {
  color: #04324d;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  margin: 15px 0;
}

.vistavinculo:hover {
  color: #062233;
}

.vistaimagen {
  background-color: #39a900;
  width: 280px;
  height: 40px;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
  line-height: 40px;
  font-size: 25px;
  font-weight: 400;
  margin-top: 30px;
}
.vistaimagen:hover {
  cursor: pointer;
}

.large-image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.large-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.iniciarsesion {
  max-width: 700px;
  height: 220px;
  position: absolute;
  margin-left: 920px;
  background-color: #eae4e4;
  justify-items: center;
  padding: 50px;
  margin-top: 40px;
  border-radius: 50px;
}

.iniciarsesion .inputins {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  display: block;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  width: 265px;
}

.txtins {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 20px;
  color: #04324d;
}
.txtiniciar {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 34px;
  color: #39a900;
  margin-top: -30px;
}

.sweetAlert {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
}

.swal2-cancel {
  background-color: #39a900;
  color: #ffffff;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}

.swal2-confirm {
  background-color: #fdc300;
  color: #ffffff;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}

.cerrarsesion {
  color: #ffffff;
  text-align: center;
  background-color: #39a900;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  width: 140px;
  height: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 45px;
  border-color: #39a900;
  border-radius: 10px;
  cursor: pointer;
}

.cerrarsesion:hover {
  background-color: #2f8d00;
}

@media (max-width: 767px) {
  .fc .fc-toolbar {
    display: block;
    text-align: center;
  }
  .fc .fc-toolbar-title {
    margin: 10px 0;
  }
  .barratxt {
    font-size: 25px;
  }
  .sena,
  .adso {
    display: none;
  }
  .header {
    width: 100%;
    position: relative;
    height: 80px;
    overflow: hidden;
    top: 0;
  }
  .senamobile {
    position: absolute;
    width: 255px;
    height: 55px;
    left: 5px;
    top: 12px;
    object-fit: contain;
  }
  .adsomobile {
    position: absolute;
    width: 110px;
    height: 47px;
    left: 258px;
    top: 20px;
    right: 40px;
    object-fit: contain; /* cambiado a contain para mantener proporción */
  }
  .footer {
    background-color: #04324d;
    height: 70px;
    width: 100%;
    color: #ffffff;
    bottom: 0;
  }
  .senaverde {
    width: 45px;
    height: 45px;
    position: absolute;
    margin-top: 14px;
    margin-left: 20px;
    overflow: visible;
  }
  .footertxt {
    text-align: center;
    margin-left: 80px;
    margin-top: 15px;
    font-size: 10px;
    width: 260px;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  .adsomobile {
    position: absolute;
    width: 210px;
    height: 87px;
    left: 558px;
    top: 26px;
    right: 40px;
    object-fit: contain; /* cambiado a contain para mantener proporción */
  }
  .footertxt {
    text-align: center;
    margin-left: 170px;
    font-size: 15px;
    width: 580px;
  }
}
@media (min-width: 823px) and (max-width: 1024px) {
  .adsomobile {
    position: absolute;
    width: 210px;
    height: 87px;
    left: 780px;
    top: 26px;
    right: 40px;
    object-fit: contain; /* cambiado a contain para mantener proporción */
  }
  .footertxt {
    text-align: center;
    margin-top: 25px;
    margin-left: 250px;
    font-size: 16px;
    width: 620px;
  }
}
