.navbar_logo
{
  text-decoration: none;
  float: left;
  height: 18px;
  padding: 10px;
  font-size: 18px;
  line-height: 20px;
  color: #777;
}
a.navbar_logo:hover
{
  color: #777;
}
.map_box
{
    position: relative;
  height: auto;
  aspect-ratio: 1/1;
  z-index:0;
}
.square
{  
  aspect-ratio: 1/1;
}
.info_parent{
 background-color: #f5f3f8;
  position: relative;
  width:100%;
  min-height:305px;
}
.nav_location
{  
  width: 70px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.object_cards_container
{
  text-align: center;
}
.section
{
  border: 1px solid blue;
  border-radius: 5px;
  padding: 5px;
  margin-top: 10px;
  background-color:#f5f3f8;
  box-sizing:border-box;
}
table.sun-timetable {
  font-size: 0.7em;
  border-collapse: collapse;
  width: 100%;
  border-bottom: 1px solid black;
}

table.sun-timetable tr {
  border-bottom: 1px solid black;
}

table.sun-timetable th,
table.sun-timetable td {
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 8px;
  padding-bottom: 8px;
  vertical-align: middle;
}
.events-table
{
  font-size: 1.2em !important;
}
.map-feature-card
{
  display:inline-block;
  width: 100px;
  background: #F0F0F0;
  border-radius: 2px;
  border-color: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  vertical-align: top;/*Fix for different     height elements*/
  margin: 10px;
  text-align: left;
  position: relative;
}
.map-feature-card:hover {
  box-shadow: 0 3px 3px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.map-feature-card-header{
  background: rgb(142, 134, 255);
  border: 1px solid #005;
  border-radius: 3px 3px 0 0;
}
.map-feature-card-name{
  margin-top:3px;
  margin-bottom:0px;
  padding: 3px;
  font-size:15px;
}
.map-feature-card img
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.object_card
{
  display:inline-block;
  background: #ECEAF0;
  border-radius: 2px;
  border-color: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  vertical-align: top;/*Fix for different     height elements*/
  margin: 10px;
  text-align: left;
  width:300px;
  height:300px;
  position: relative;
}
.term_card
{
  display:inline-block;
  background: #ECEAF0;
  border-radius: 2px;
  border: 1px solid #5416d0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  vertical-align: top;/*Fix for different     height elements*/
  margin: 10px;
  text-align: left;
  width:300px;
  height:300px;
  padding: 5px;
  position: relative;
  text-align:justify;
}
.padding
{
  padding: 5px;
  text-align:justify;
}
.object_card_hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.object_card:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.object_card_header{
  background: rgb(142, 134, 255);
  border: 1px solid #005;
  border-radius: 3px 3px 0 0;
}
.object_card_name{
  margin-top:3px;
  margin-bottom:0px;
  padding: 3px;
  font-size:15px;
}
.object_card_image{
  background: #003;
  padding:5px;
  width:130px;
  height:130px;
}
.object_card_cell
{
  padding-bottom: 2px;
  padding-top: 2px;
  border-bottom: 1px solid rgb(161, 161, 161);
}
.object_card_footer
{
  position: absolute;
    bottom: 0.2em;
}
.info_text{
  position: absolute;
  height: 100%;
  width: 100%;
  top:0;
  left:0;
  display: block;
  background-color: #f5f3f8;
  z-index: 999;
  border: 1px;
  border-color: #000;
  display: none;
}
.navbar_text
{
  float: left;
  font-size: 15px;
  line-height: 20px;
}
.navbar_value
{
  float: left;
  font-size: 10px;
  line-height: 20px;
}
.circle {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  display: inline-block;
}
.rise{  
  background-color: #ff990057;
  color: black;
}
.twighlight{  
  background-color: #009;
  color: white;
}
.night{  
  background-color: #005;
  color: white;
}
.civil a
{
  color: white;
}
.night a
{
  color: white;
}
.nautical{  
  background-color: #0101ac;
  color: white;
}
.civil{  
  background-color: #00F;
  color: white;
}
.moonlight{  
  background-color: #1f33e0;
  color: white;
}
.grey-font
{
  color: lightgrey;
}
.Waxing {
  background: -webkit-linear-gradient(0deg, #fff, #555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.Waning {
  background: -webkit-linear-gradient(0deg, #555, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}
.map-container
{
  position: relative;
}
.map-canvas
{
  border: 1px solid grey;
  border-radius: 3px;
}
.zoom-out-btn
{
  bottom: 0;
}
.zoom-in-btn
{
  bottom: 25px;
}
.zoom-btn
{
  right: 0;
  position: absolute;
  font-size: 20px;
  width: 25px;
  height:25px;
  border-radius: 5%;
  border: 1px solid black;
  background-color: #ddd;
}
a.btn:hover
{  
  color: #ffffff;
}
.zoom-btn:hover
{
  background-color: #bbb;
}
.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.img-circle {
  border-radius: 50%;
  background-color: #005;
}
.img-rounded {
  border-radius: 10%;
  background-color: #005;
}
.img-rounded5 {
  border-radius: 5%;
  background-color: #005;
}

.menu-container {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
}
.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 200px;
}

.menu li {
  display: block;
  border-left: 1px solid #ccc;
}

.menu > li > a {
  background-color: #2b2b50;
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: bold;
}

.breadcrumbs {
  font-size: 16px;
  font-family: Arial, sans-serif;
  list-style: none;
  padding: 3px;
  margin: 0;
}

.breadcrumbs a {
  color: #302872; /* Blue color for links */
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #302872; /* Blue color for links */
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 0.5em; /* Space around the separator */
  color: #6c757d; /* Gray color for the separator */
}

.breadcrumbs .current {
  color: #6c757d; /* Gray color for the current page */
  font-weight: bold;
  pointer-events: none; /* Disable any interaction */
}

.menu .submenu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu .submenu li a {
  padding: 7px 9px;
  background-color: white;
  color: #0e0561;
  display: block;
  border-top: 1px solid #ccc;
  text-decoration: none;
}

.menu .submenu li a:hover {
  background-color: #f1f1f1;
}

/* Toggle button */
.menu-toggle {
  font-size: 29px;
  display: none;
  color: #cec5c5;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 0px;
  margin: -3px;
  width: 40px;
  float: right;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.menu-toggle:hover {
  color: #f0ecec;
}
.solar-eclipse-sun
{
  background:#FFDD33;
  overflow:hidden;
  position:relative;
  border-radius:50%;
  border: 1px solid grey;
}
.solar-eclipse-moon
{
  background:black;
  overflow:hidden;
  position:absolute;
  border-radius:50%;
}
.lunar-eclipse-moon {
  background: #ddd;
  position: relative;
  border-radius: 50%;
  border: 1px solid grey;
  overflow: hidden;
}

/* Shared shadow layer base */
.lunar-eclipse-moon .shadow {
  position: absolute;
  height: 100%;
  border-radius: 50%;
}

/* Penumbral: use transparent shadow */
.lunar-eclipse-moon.penumbral .shadow {
  background: rgba(0, 0, 0, 0.15);
}

/* Partial: use solid shadow */
.lunar-eclipse-moon.partial .shadow {
  background: black;
}

.lunar-eclipse-moon.total {
  background: radial-gradient(circle at center, #c1440e 0%, #4b0000 100%);
  border: 1px solid #922;
}
.cover {
  position: absolute;
  background-color: black;
  border-radius: 50%;
  mix-blend-mode: multiply; /* This makes only the overlapping area black */
}
.cover {
  position: absolute;
  background-color: black;
  border-radius: 50%;
  mix-blend-mode: multiply; /* This makes only the overlapping area black */
}
.google-auto-placed {
  max-width: 100%;
  overflow: hidden;
}
/* xs */
@media only screen and (max-width: 992px) {
  .menu-container {
      flex-direction: column;
  }
  .menu {
      display: none;
      width: 100%;
  }

  .menu-toggle {
      display: block;
  }
}
.qc-box
{
  position: fixed;
  z-index: 1000;
  width: 300px;
  height: 300px;
  border: 1px solid #0e0561;
  border-radius: 3px;
  padding: -10px;
}
.qc-box div
{
  margin: 0;
}
.qc {
    display: inline-block;
    padding: 3px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}
.term-qc {
    display: inline-block;
    padding: 3px;
    border: 1px dashed #7d97ec;
    text-decoration: none;
    color: #000;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
    cursor: help;
}
.term-qc:hover {
    color: #000;
    border: 1px dashed #aaa;
}
.sky-tracker-arr {
    display: inline-block;
    padding: 3px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}
  tr.p_start, tr.p_end {
    background-color: #ECEFF1;
    color: #263238;
  }

  tr.u_start, tr.u_end {
      background-color: #B0BEC5; /* Blue Grey 200 */
      color: #000;
  }

  /* 🌑 Total Eclipse */
  tr.t_start, tr.t_end {
    background-color: #BF360C; /* Deep Orange 900 */
    color: #fff;
    font-weight: bold;
  }

  /* 🌑 Maximum Eclipse */
  tr.max_time {
    background-color: #D84315; /* Deep Orange 700 */
    color: #fff;
    font-weight: bold;
  }

  /* 🌟 Current phase (highlight) */
  tr.current-phase {
    outline: 2px solid #FFD54F;        /* Amber 300 */
    background-color: #FFF8E1 !important; /* Amber 50 */
    color: #000 !important;
  }
  .visibility-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgb(189, 189, 189);
    margin: auto;
  }
  
  /* Visibility levels */
  .visible {
    background-color: #4CAF50; /* green */
  }
  .invisible {
    background-color: #F44336; /* red */
  }
  .sunspot-card-param
  {
    margin-bottom:5px;
    width: 95px;
    font-size: 0.7em;
  }
  .sunspot-card-value
  {
    margin-bottom:5px;
    width: 30px;
    font-size: 0.7em;
  }
.qc:hover {
    color: #000;
    border: 1px solid #aaa;
}
.bold
{  
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
   
.ad
{
  min-height: 400px !important;
}
}
/* s */
@media only screen and (min-width: 600px) and (max-width: 767px){
  
.ad
{
  min-height: 400px !important;
}

}

/* m */
@media only screen and (min-width: 768px) and (max-width: 991px){
  .ad
  {
    min-height: 280px !important;
  }
}

/* l */
@media only screen and (min-width: 992px)  and (max-width: 1199px){
  .right-border {border-right: 1px solid #0e0561 !important;}
  .ad
  {
    min-height: 280px !important;
  }
}

/* xl */
@media only screen and (min-width: 1200px) {
  .right-border {border-right: 1px solid #0e0561 !important;}
  .ad
  {
    min-height: 280px !important;
  }
}
.feature-map
{
  position: relative;
}
.feature-on-map
{
  position: absolute;
  transform: translate(-50%, -50%); /* center the dot */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid green;
}
.annual-table
{
  font-size: 12px;
}
.annual-tr
{
   position: relative;
   height: 30px;
}
.annual-td
{
  position: absolute; 
  bottom: -1px; 
  padding: 0 !important;
  left: 0; 
  width: 100%; 
  height: 3px; 
  pointer-events: none;
}
.annual-div
{
  position: absolute;
  left: 5%; 
  width: 25%; 
  height: 3px; 
}
.annual-div-rise
{
  background-color: #ff990057;
  z-index: 1;
}
.annual-div-civil
{
  background-color: #00F;
  z-index: 2;
}
.annual-div-night
{
  background-color: #005;
  z-index: 3;
}
.moon-phases-table
{
  width: 100%;
  max-width: 700px;
  margin: auto;
  table-layout: fixed;
}
.moon-phases-table td,.moon-phases-table th
{
  width: 25%;
  text-align: center;
  color: #0e0561;
}
.calc_field {
  margin-bottom: 1rem;
}

.calc_field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0e0561;
}

.calc_input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(14, 5, 97, 0.22);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc_input:focus {
  outline: none;
  border-color: #0e0561;
  box-shadow: 0 0 0 3px rgba(14, 5, 97, 0.12);
}

.calc_input[readonly] {
  background: rgba(14, 5, 97, 0.04);
  color: #333;
}
.calc_details {
  margin: 0.75rem 0 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(14, 5, 97, 0.14);
  border-radius: 8px;
  background: rgba(14, 5, 97, 0.035);
}

.calc_details summary {
  cursor: pointer;
  font-weight: 600;
  color: #0e0561;
}

.calc_details p {
  margin: 0.75rem 0 0 0;
}
.sphere_canvas {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
}
/* Glossary pages */
.glossary-page {
  line-height: 1.6;
  color: #1f2430;
}

.glossary-page p {
  margin: 0 0 18px 0;
}

.glossary-page h1,
.glossary-page h2,
.glossary-page h3,
.glossary-page h4 {
  color: #0e0561;
}

.glossary-page .section {
  background: #ffffff;
  border: 1px solid #d8dcf0;
  border-radius: 12px;
  padding: 26px 30px;
  margin-top: 0;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.035);
}

.glossary-page .formula_box {
  background: #f4f6fb;
  border: 1px solid #dde2f0;
  border-left: 4px solid #4d4aa8;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0 18px 0;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.55;
  overflow-x: auto;
}
.sky-map-wrap {
    position: relative;
    width: 340px;   /* same as canvas */
    height: 340px;
}

.map-rotate-btn {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    border: 1px solid #777;
    background: rgba(65, 29, 224, 0.85);
    color: #f8f7f7;
    cursor: pointer;
    font-weight: bold;
    font-size: 17px;
    z-index: 5;
    display: none;
}