body {
  padding: 0px;
  margin: 0px;
  font-family: "Roboto", Tahoma, Arial, sans-serif;
}

header {
  text-align: center;
}

#calendar {
  width: 100%;
  float: left;
  margin-top: 1px;
  /* background-color: red; */
}

#calendar a {
  /* ? Al parecer no cuenta con ninguan función */
  /* background-color: red; */
  /* color: #8e352e; */
  text-decoration: none;
  padding: 5px;
}

#calendar ul {
  /* ? Al parecer esto define todo el calendario */
  /* background-color: red; */
  list-style: none;
  padding: 0;
  padding-left: 3px;
  margin: 0;
  width: 100%;
}

#calendar ul.weekdays {
  display: flex;
  flex-wrap: wrap;
  padding-left: 3px;
  margin-bottom: 3px;
}

#calendar ul.weekdays li {
  text-align: center;
  text-transform: capitalize;
  line-height: 20px;
  border: 1px solid #ccc;
  padding: 8px 0;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  background: #0d3863;
}

#calendar ul.days {
  overflow: hidden;
}

#calendar li {
  /* ? Esto es parte el cuadrande de cada día del mes */
  /* background-color: red; */
  display: block;
  float: left;
  width: 14.32%;
  padding: 2px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin-right: -1px;
  /* margin-bottom: -1px; */
}

/* Publicidad PC */
.public-der {
  position: absolute;
  margin-top: -9%;
  margin-left: 72%;
  max-height: 50vh;
}

.public-der div {
  text-align: center;
  padding: 5px;
  font-weight: bold;
  color: #fff;
  background: #009aca;
  border-radius: 10px 10px 0px 0px;
}

.public-der video {
  width: 300px;
  height: 670px;
  border: solid 3px #009aca;
  border-radius: 0px 0px 10px 10px;

}

/* Publicidad cel */
.public-cel {
  display: none;
}

#calendar .days li {
  /* ? SE DEFINE EL TAMAÑO DE LOS CUADRANTES DE CADA DÍA */
  height: 100px;
}

#calendar .days li:hover {
  /* ? Al pasar el cursos en un cuadrante de cada día este cambiará el background */
  background: #0d386349;
}

#calendar .date {
  /* ? Estilo para El indicador del día */
  /* background-color: red; */
  text-align: center;
  margin-bottom: 5px;
  padding: 4px;
  background: #0d3863;
  color: #fff;
  width: 20px;
  border-radius: 50%;
  float: right;

}

#calendar .event {
  /* ? Parte donde aparecen los iconos de los diarios */
  /* ! ANALIZAR CORRECTAMENTE EL TEMA DE SU  FUNCIONALIDAD */
  /* background-color: red; */
  clear: both;
  /* display: block; */
  font-size: 2px;
  border-radius: 10px;
  padding-left: 10px;
  margin-top: 20px;
  margin-bottom: 5px;
  line-height: 14px;
  /* background: #6675ff; */
  /* border: 0.5px solid #b5dbdc; */
  /* color: #009aaf; */
  text-decoration: none;
  position: relative;
  min-height: 24px;
}

#calendar .event-desc {
  /* background-color: red; */
  /* color: #666; */
  margin: 3px;
  text-decoration: none;
  position: relative;
}

#calendar_container.loading .event-desc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(13, 56, 99, 0.12);
  animation: calendar-loading-pulse 1s ease-in-out infinite;
}

@keyframes calendar-loading-pulse {
  0% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.25;
  }
}

#calendar_container {
  position: relative;
}

.calendar-loading-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  gap: 12px;
  color: #0d3863;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
}

.calendar-loading-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.calendar-loading-overlay > * {
  position: relative;
  z-index: 1;
}

.calendar-loading-overlay.show {
  display: flex;
}

.calendar-loading-overlay .spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #0d3863;
  border-right-color: rgba(13, 56, 99, 0.45);
  box-shadow: 0 0 0 1px rgba(13, 56, 99, 0.08);
  background: conic-gradient(from 90deg, rgba(13, 56, 99, 0.16), rgba(13, 56, 99, 0.05), rgba(13, 56, 99, 0.16));
  animation: calendar-spinner 0.9s linear infinite;
}

@keyframes calendar-spinner {
  to {
    transform: rotate(360deg);
  }
}

#calendar .other-month .date {
  background: #f1f4f8;
  color: #9aa7b9;
}

#calendar-wrap {
  /* max-width: 960px;   */
  margin-left: auto;
  margin-right: auto;
}

.tooltip {
  /* float: left; */
  position: relative;
  display: inline-block;
  border: 1px solid #b5dbdc;
  border-radius: 10px;
  background: #daeefb;
  /*border-bottom: 1px dotted black; */
  /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  width: 135px;
  /* top: 100%;
    left: 50%;
    margin-left: -60px;*/
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* ? Cambio de color del cuadrante de los iconos */
.tooltip:hover {
  background: #fff;
}

.event-desc a img {
  /* ? Tamaño de las imágenes de los iconos de diarios */
  width: 30px;
}

#cabecera {
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px 8px;
}

#cabecera #logo {
  display: flex;
  align-items: center;
  gap: 6px;
  height: auto;
}

.logo_desc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #115784;
  font-weight: 700;
  font-family: Calibri, "Roboto", Tahoma, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
  padding: 0;
}

.logo_desc span {
  display: block;
}

#cabecera #menu {
  width: auto;
  float: none;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.filters-bar {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 8px 0;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.filter-group label {
  font-weight: 700;
  font-size: 13px;
  color: #0d3863;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  padding: 10px 38px 10px 12px;
  border: 1px solid #0d3863;
  border-radius: 12px;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%230d3863" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 10px center;
  font-size: 14px;
  color: #0d3863;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(13, 56, 99, 0.25);
}

.dropdown:hover {
  transform: translateY(-1px);
}

.btn-today {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(120deg, #0d3863, #0f5a9c);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(13, 56, 99, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-today:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(13, 56, 99, 0.3);
}

.btn-today:active {
  transform: translateY(0px);
  box-shadow: 0 6px 14px rgba(13, 56, 99, 0.2);
}

.titulo {
  margin-top: 1px;
  margin-left: 5px;
  padding-right: 5px;
  color: #0d3863;
  float: left;
  text-transform: uppercase;
  width: 32px;
  font-weight: bold;
  font-family: "Roboto", Tahoma, Arial, sans-serif;
  font-size: 14px;
}

#calendar-wrap #actual {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  color: #fff;
  background: #0d3863;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 1px;
}

#publicidad_top {
  padding: 2px;
  width: 98%;
  border-top: 1px dotted #009aaf;
  border-bottom: 1px dotted #009aaf;
  float: left;
}

#publicidad_right {
  margin-left: 3px;
  width: 300px;
  padding: 0px;
  float: left;
  /* border: 1px dotted #009aaf;*/
  text-align: center;
}

#page {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#pagina

/*con publicidad*/
  {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: -moz-calc(100% - 305px);
  /* WebKit */
  width: -webkit-calc(100% - 305px);
  /* Opera */
  width: -o-calc(100% - 305px);
  /* Standard */
  width: calc(100% - 305px);
  float: left;
}

#pagina_no_pub {
  width: 100%;
}

.compati-text {
  display: none;
  color: #4e4e4e77;
  padding-top: 20px;
  margin-bottom: -30px;
  text-align: center;
}

.dropdown {
  float: left;
  text-align: left;
  font-size: large;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

#maincontent {
  max-width: 1200px;
  width: 100%;
  float: left;
  overflow: hidden;
}

.logo_jornada img {
  margin-top: 0;
  padding-right: 10px;
  width: 64px;
  align-items: center;
}

#toolbar_desc {
  text-align: left;
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
}

#toolbar {
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
  background: #fff;
  margin: 2px;
}

#contenedor_tabla {
  float: left;
  margin-top: 10px;
  text-align: center;
  border: 1px solid #666;
  background: #fff;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) inset;
  padding: 20px;
  font-size: 12px;
  line-height: 15px;
}

#contenedor_tabla h3 {
  margin: 5px;
}

#tabla_chica {
  border: 1px solid #9cf;
}

#tabla_ediciones {
  float: left;
  border: 1px solid #9cf;
  margin-right: 8px;
  border-radius: 5px;
}

#tabla_ediciones tr {
  border: 1px solid #9cf;
}

#tabla_ediciones tbody td {
  text-align: center;
  height: 25px;
  background: #9cf;
}

#tabla_ediciones thead td {
  padding: 10px;
  background: #0d3863;
  font-size: 16px;
  font-family: Calibri;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}

.tabla_chica .titu {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: #0d3863;
  font-family: Calibri;
  text-transform: uppercase;
}

.btn {
  border-radius: 6px;
  width: 120px;
  background: #bdc8f0;
  color: #151111;
  height: 25px;
  font-family: Calibri;
}

.btn2 {
  border-radius: 6px;
  width: 180px;
  background: #bdc8f0;
  color: #151111;
  height: 25px;
  font-family: Calibri;
}

.etiquetas {
  font-weight: bold;
  text-transform: none;
  font-size: 12px;
  text-align: left;
  padding: 5px;
  text-align: left !important;
}

#tabla_ediciones img {
  height: 30px;
}

#contenedor_tabla {
  margin: 5px;
  text-align: left;
  text-transform: uppercase;
}

#tabla_login img {
  height: 50px;
}

#pagina_login {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
}

.icono {
  height: 50px;
}

#tabla_login th {
  text-align: left !important;
}

.j {
  /* width: 90px; */
  margin-left: 2px;
}

#contenedor_login {
  width: 458px;
  text-align: right;
  float: left;
  margin-top: 10px;
  text-align: left;
  border: 1px solid #666;
  background: #fff;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) inset;
  padding: 20px;
  font-size: 12px;
  line-height: 15px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#tabla_login {
  margin-left: auto;
  margin-right: auto;
}

.tooltipm {
  display: none;
  float: left;
  position: relative;
  border: 1px solid #b5dbdc;
  border-radius: 5px;
  background: #daeefb;
}

/* ============================
                Mobile Responsiveness
   ============================*/

@media (max-width: 829px) {
  #cabecera {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
  }

  #cabecera #logo {
    justify-content: center;
  }

  #cabecera #menu {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  #cabecera {
    position: static;
  }

  #cabecera #menu {
    position: static;
    margin-top: 2px;
    margin-right: 20px;
  }

  #calendar-wrap #actual {
    position: static;
    margin-top: 2px;
    padding-right: 0;
  }

  #calendar-wrap {
    margin-top: 18px;
  }

  #calendar ul.weekdays {
    display: none !important;
  }

  #calendar ul.weekdays li {
    display: none !important;
  }

  .tooltipm.d {
    width: 80px;
  }

  .tooltipm {
    display: block !important;
    margin-right: 5px;
  }

  .tooltipm {
    padding-left: 2px;
    border-left: 1px solid;
  }

  .logo_desc {
    align-items: center;
    text-align: center;
    font-size: 26px;
    gap: 2px;
  }

  .logo_jornada img {
    margin-top: 0;
    width: 64px;
  }

  .public-cel {
    top: 84%;
    right: -1%;
    display: flex;
    justify-content: center;
    border: none;
    position: fixed;
    transform: translate(0, 0);
    z-index: 990;
  }

  .public-cel video {
    width: 400px;
    height: 120px;
  }

  .public-der {
    display: none;
  }

  #calendar .weekdays,
  #calendar .other-month {
    display: none;
  }

  #maincontent {
    width: 100%;
  }

  #calendar li {
    height: 100% !important;
    width: 100%;
    margin-bottom: -1px;
  }

  #calendar .date {
    float: none;
    margin-bottom: 2px;
    margin-top: 4px;
    margin-left: 4px;
  }

  .compati-text {
    display: contents;
  }

  #publicidad_right {
    clear: left;
    margin-top: 5px;
    width: 100%;
    background: #009aca;
  }

  #publicidad_top {
    /* float: none; */
    height: 100px;
    position: absolute;
    top: 103px;
    padding: 0px;
  }

  #calendar {
    width: auto;
    margin-bottom: 31%;
  }

  #pagina {
    width: 100%;
  }

  #page {
    width: 98%;
    margin-bottom: 5px;
    border-bottom: 1px dotted;
  }

  .dropdown {
    width: 100px !important;
  }

  .dropdown .selected {
    font-size: 14px !important;
  }

  .titulo {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 12px !important;
  }

  .tooltiptext {
    display: block;
    position: absolute !important;
    top: 0px;
    left: 33px;
    visibility: visible !important;
    background: none !important;
    color: #000 !important;
    margin-top: 2px;
    text-align: left !important;
  }

  .tooltip {
    /* display: none; */
    padding-left: 2px;
    border-left: 1px solid;
  }

  .s {
    width: 110px;
  }

  .d {
    width: 80px;
  }

  .j {
    /* width: 90px; */
    margin-left: 10px;
    margin-top: -50px;
  }
}