
* {
    z-index: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --w:  50%;
    --iw: 50vmin;
    --lmar: 10vmin;
    --rmar: 10vmin;
    --tmar: 10vmin;
    --bmar: 10vmin;
    --quart: 25vw;
    --pf: 2vmin;
}
.body-a {
        width: 100%;
        height: 100%;
        display: block;
        max-width: 1000px;
        margin: auto;
        overflow: auto;
        background-color: antiquewhite;
}
.sec {
        /* background-color: red; */
        position: relative;
        width: 100%;
        margin: 2vmin auto;
        height: fit-content;
        overflow: hidden;
    }
    .flex-cb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .divider {
        position: relative;
        width: 100%;
        height: 0.3vmin;
        margin: 0.5vmin auto;
        background-color: black;
        box-shadow: 0.1vmin 0.1vmin 0.5vmin gray;
    }
    .col2 {
        /* background-color: blue; */
        display: block;
        width: 50%;
        min-height: max-content;
        overflow: hidden;
    }
    .col2 img{
        position: relative;
        display: block;
        margin: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        overflow: hidden;
    }
    .col2 p, .col2 a{
        padding-left: 2vw;
        padding-right: 2vw;
    }
    
    .h500 {
        min-height: 300px;
    }
    .h600 {
        min-height: 400px;
    }
    .thickcapt {
        font-weight: bolder;
        font-size: 150%;
        color: #6c2e00;
        text-align: center;
        text-shadow: 0vmin -0.5vmin 0.1px white;
        box-shadow: 0vmin 1vmin 1px antiquewhite;
        font-family: 'Courier New', Courier, monospace;
    }
    .tobtn {
        border: 0.4vmin solid #6c2e00;
        border-radius: 6px;
        font-weight: bolder;
        font-size: 150%;
        color: #6c2e00;
        background-color: rgba(223, 157, 157, 0.301);
        text-align: center;
        text-shadow: 0vmin 0.5vmin 0.1px white;
        box-shadow: 0.5vmin 0.5vmin 2px grey;
    }
    .tobtn:active {
        margin-top: 0.1vmin;
        margin-left: 0.1vmin;
    }
    .square {
        width: var(--w);
        aspect-ratio: 1;
        overflow: hidden;
    }
    .circle {
        aspect-ratio: 1;
        border-radius: 50%;
    }
    .whalf {
        width: calc(0.5*calc(450px - 25vw));
        overflow: hidden;
    }
    .wfull {
        display: block;
        position: relative;
        width: 100%;
    }
    .abc {
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%;
        left: 50%;
    }
   /* .fix-c2-img {
    margin-top: 5vmin;
   } */

        .pop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px); /* <-- This is the blur */
  background: rgba(0, 0, 0, 0.3); /* Optional: dark overlay */
  z-index: 0;
  display: none;
}

.pop-show {
  z-index: 1;
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 50%;
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 8px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

details:first-of-type summary::marker,
:is(::-webkit-details-marker) {
  content: "";
}

.custom-details summary {
  width: 100%;
  display: block;
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  font-weight: bold;
}

.custom-details summary::before {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  font-weight: bold;
  font-size: 1.5em;
  color: #007bff;
  transition: transform 0.2s ease;
}

.custom-details[open] summary::before {
  content: "–";
}
.table-box, #dateList {
    overflow: auto;
  max-height: calc(100vh - (7vmin + 100px));
  scrollbar-width: auto;
}

/* Table scroll and layout */
.table-box table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
  overflow: auto;
}

/* Cell styling */
.table-box td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
  min-width: 120px;
}

/* Freeze header row */
.table-box thead, .table-box thead td{
  position: sticky;
  top: 0;
  background: var(--info-color);
  box-shadow: 1vmin 1vmin 10px var(--primary-color);
  border-radius: 15px;
  z-index: 1;
}

/* Freeze first column */
.table-box th:first-child,
.table-box td:first-child {
  position: sticky;
  left: 0;
  background-color: var(--info-color);
  z-index: 0;
  border-radius: 15px;
  box-shadow: 1vmin 0vmin 10px var(--primary-color);
}

/* Make scrollbar visible in case main CSS hides it */
.table-box::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.table-box::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}
.table-box::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}


 /* Basic styling for the input and dropdown */
    .timezone-input-container {
      position: relative;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }

    .timezone-input {
      width: 100%;
      padding: 10px;
    }

    .timezone-list {
      position: absolute;
      width: 100%;
      max-height: 200px;
      overflow-y: auto;
      border: 1px solid #ccc;
      background-color: white;
      z-index: 100;
      display: none; /* Hide dropdown by default */
    }

    .timezone-list div {
      padding: 10px;
      cursor: pointer;
    }

    .timezone-list div:hover {
      background-color: #f0f0f0;
    }









@media (max-width: 280px){
   .table-box th:first-child,
.table-box td:first-child {
  position: relative;
}
}




    .htext, .htext1 {
        font-size: 5vmin;
        font-weight: 900;
        text-align: center;
        justify-self: left;
        text-shadow: 0.5vmin 0.5vmin 10px #6c2e00;
    }
    .htext1  {
        color: #6c2e00;
    }
    .fancybox, .fancybox-r {
        width: 100%;
        display: block;
        padding: 2vmin var(--pf);
        margin: auto;
        border-radius: 0 5vmin;
    }
    .fancybox-r {
        border-radius: 5vmin 0;
    }
    .fancybox:hover,.circle:hover, .fancybox-r:hover {
        background-color: #6c2e00;
        color: white;
    }
    .subh{
        font-size: 4vmin;
        text-align: center;
        font-weight: 800;
    }
    .lmar {
        margin-left: var(--lmar);
        left: var(--lmar);
    }
    .rmar {
        margin-right: var(--rmar);
        right: var(--rmar);
    }
    .tmar {
        margin-top: var(--tmar);
        top: var(--tmar);
    }
    .bmar {
        margin-bottom: var(--bmar);
        bottom: var(--bmar);
    }
    .nopm {
        margin: 0;
        padding: 0;
    }
    

@media (max-width: 950px) {
    .col2 p{
        width: 90%;
        margin: auto;
    }
    .tobtn {
        margin-left: 3vmin;
    }
}
@media (max-width: 512px){
   
    .col2 {
        width: 100%;
        position: relative;
        float: none;
        margin: auto;
    }
    .col2 img {
        width: 90%;
        height: auto;
        position: relative;
    }
    .htext {
        font-size: 8vmin;
    }
    .htext1 {
        font-size: 9vmin;
    }
    .subh {
        font-size: 6vmin;
    }
    .whalf {
        width: 50%;
    }
    .h500 {
        min-height: auto;
    }

}    