/* phpcs:ignore */

/* Style the tab */

.container {
  position: relative;
  margin-bottom: 0px;
  margin-top: 0px;
  margin-left: 0px !important;
  margin-right: 0px;
  height: 75px;
    /*width : 64px;*/
}
.containerImportant {
  position: relative;
  margin-bottom: 0px;
  margin-top: 0px;
  margin-left: 0px !important;
  margin-right: 0px;
  height: 25px;
}

.dateday {
  position: relative;
  width: 64px;
  text-align: center;
  top: -53px;
  color: black;
  font-size: 100%;
  font-weight: bold;

}

.dayname {
  position: relative;
  width: 64px;
  text-align: center; 
  top: -53px;
  color: black;
  font-size: 40%;
  
}
.dayName {
  font-size: 12px;
  text-align: center; 

}

.month {
  position: relative;
  top: -52px;
  width: 64px;
  color: white;
  font-size: 70%;
  text-align: center; 
}

.titleFuture {
position: absolute;
top: 10px;
left:70px;
font-size: 100%;
color: Black !Important; 
font-weight: bold;
}

.title {
  position: absolute;
  top: 20px;
  left:70px;
  font-size: 100%;
  font-weight: bold;
  }  
  
.excerpt {
  position: relative;
  top: -100px;
  left:70px;
  font-size: 80%;
  /*font-weight: bold;*/
  }  


/*
.day:hover { 
  background-color: rgba(0,0,0,0.1);
 cursor:pointer;
}
*/
.today { color: #FFF; background-color: rgba(0,0,0,.25) !important; }

span.number { 
  margin-left: 10% 
}

span.onthemonth { 
  margin-left: 10%; 
  color:gray;  
}

span.event { 
  height: 18px; 
  display: block; 
  margin: 5px 10%; 
  border-radius: 2px; 
  /*background-color: #91c33b; */
  font-size: 14px;
  /*mix-blend-mode: difference;*/
  /*color:whitesmoke;  */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

span.event-multiday { margin: 5px -2px; border-radius: 0; }
span.event-multiday-start { margin-right: -4px;  }
span.event-multiday-finish { margin-left: -4px;  }

span.event-ghost { background-color:transparent; }

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
.MJKNav{
  align-items: center; 
  display: flex; 
  justify-content: space-between;
  background-color: #a02b2b;
  height: 40px;

}

span.MJKNav{
  font-size: 26px;
  color :#FFF;
}
a.MJKNav{
  font-size: 22px;
  color :#FFF;
  cursor:pointer; 
}

  .MJKNav.prev{
  position:absolute;
  top:0px;   
  height: 17px;
  display:block;
  cursor:pointer;
  text-decoration:none;
  color:#FFF;
  left:0px;
}
.MJKNav.next{
  position:absolute;
  top:0px;   
  height: 17px;
  display:block;
  cursor:pointer;
  text-decoration:none;
  color:#FFF;
  right:0px;
}

.mjkcalcurr {
   display: inherit;
  /*padding: 6px 12px;*/
  border: 0px solid #ccc;
  border-top: none;
}

.mjkcal {
  display: none;
  /*padding: 6px 12px;*/
  border: 0px solid #ccc;
  border-top: none;
}

.numberCircle {
    border-radius: 50%;
    padding: 2px;
    background: #fff;
    border: 2px solid Red;
    color: Red;
    width: 30px; /* Fixed width for the rectangle */
    min-width: 30px; /* Prevent shrinking */
    text-align: center;
}

/* Custom Table Styles */
.filter-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #ddd !important;
}

.filter-table th,
.filter-table td {
  padding: 8px !important;
  border: 1px solid #ddd !important;
}

.filter-table th {
  background-color: #f2f2f2 !important;
}

.filter-table tbody tr:nth-child(even) {
  background-color: #f2f2f2 !important;
}

.filter-table tbody tr:hover {
  background-color: #ddd !important;
}


.mjkcalfull-wrap {
  --mcf-ink: #1c2430;
  --mcf-muted: #8790a0;
  --mcf-navy: #1b3a63;
  --mcf-navy-deep: #142c4d;
  --mcf-paper: #ffffff;
  --mcf-paper-muted: #f6f7fa;
  --mcf-line: #e7e9ee;
  --mcf-accent: #c1462f;
  --mcf-radius: 14px;
  --mcf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  font-family: var(--mcf-font);
  background: var(--mcf-paper);
  border: 1px solid var(--mcf-line);
  border-radius: var(--mcf-radius);
  box-shadow: 0 1px 2px rgba(20, 30, 50, 0.05), 0 10px 28px -14px rgba(20, 30, 50, 0.18);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.mjkcalfull {
  width: 100%;
  min-width: 720px; /* keeps columns legible; the wrapper scrolls horizontally below this */
  box-sizing: border-box;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--mcf-paper);
  color: var(--mcf-ink);
  margin: 0 !important;
}

.mjkcalfull th,
.mjkcalfull td {
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--mcf-line);
  border-right: 1px solid var(--mcf-line);
}

.mjkcalfull th:last-child,
.mjkcalfull td:last-child {
  border-right: 0;
}

.mjkcalfull thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 4px;
  color: rgba(255, 255, 255, 0.92);
  background: var(--mcf-navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 0;
}

.mjkcalfull td {
  font-size: 13px;
  font-weight: 400;
  vertical-align: top;
  height: 76px;
  padding: 6px 6px 10px;
  transition: background-color 0.15s ease;
}

.mjkcalfull tr:not(.month-header) td.day:hover {
  background-color: var(--mcf-paper-muted);
}

.mjkcalfull td.is-weekend {
  background-color: var(--mcf-paper-muted);
}

.mjkcalfull td.is-outside .onthemonth {
  display: block;
}

/* Week-number rail (first column of every non-header row) */
.mjkcalfull tr:not(.month-header) td:first-child {
  width: 34px;
  background: var(--mcf-navy);
  vertical-align: middle;
  text-align: center;
  padding: 6px 2px;
}

.mjkcalfull .weeknumber {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

/* Month divider band */
.mjkcalfull tr.month-header td {
  background: var(--mcf-navy-deep);
  padding: 10px 12px;
  border-right: 0;
  border-bottom: 0;
}

.mjkcalfull tr.month-header .number {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  text-align: left;
}

/* Day number + "today" marker */
.mjkcalfull .daynumber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mcf-ink);
}

.mjkcalfull .daynumber.numberCircle {
  background: var(--mcf-accent);
  border: 0;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(193, 70, 47, 0.16);
}

.mjkcalfull .onthemonth {
  display: none;
}

/* Event chips - each one derives its color from --event-color, set inline per event */
.mjkcalfull .event-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
}

.mjkcalfull .event-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mjkcalfull .event-link:focus-visible .event {
  outline: 2px solid var(--mcf-navy);
  outline-offset: 1px;
}

.mjkcalfull .event {
  --event-color: #1b3a63;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(27, 58, 99, 0.1); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--event-color) 14%, white);
  border-left: 3px solid var(--event-color);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mcf-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s ease;
}

.mjkcalfull .event.event-multiday-start {
  border-left-width: 4px;
}

.mjkcalfull .event-link:hover .event {
  background: color-mix(in srgb, var(--event-color) 26%, white);
}

.mjkcalfull .event-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--event-color);
}

.mjkcalfull .event-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .mjkcalfull td {
    height: 64px;
    padding: 4px 4px 8px;
  }

  .mjkcalfull .event {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mjkcalfull td,
  .mjkcalfull .event {
    transition: none;
  }
}
