/* Align content to the left */
#allcontent {
  text-align: left;
}

/* FAQ question link style */
.menutitle {
  text-align: left;
  max-width: 90%;
  margin-left: 3rem;
  margin-right: 3rem;
  padding-left: 3rem;
  font-size: 1.1em;
  color:#<%=Session("Mainfontcolor")%>; /* Dark blue for better contrast */
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

/* Arrow icon for FAQ */
.menutitle::before {
  padding-left: 2rem;
  content: "\25B2";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
 color:#<%=Session("Mainfontcolor")%>;
}

/* Container for FAQ */
.masterdiv {
  text-align: left;
}

/* FAQ answer styling */
.submenu {
  display: none;
  padding-left: 1em;
  padding-top: 0.5rem;
  text-align: justify;
  margin-left: 3rem;
  margin-right: 3rem;
  max-width: 700px;
  background-color: #f9f9f9;
  border-left: 3px solid #ccc;
  font-size: 1em;
  color: #111; /* Improved contrast */
}

/* Common text contrast fix */
span, b {
  color: #111; /* Ensure dark readable text */
}

/* Link accessibility */
a {

 color:#<%=Session("Mainfontcolor")%>;
  text-decoration: underline;
}

a:hover,
a:focus {
 color:#<%=Session("Mainfontcolor")%>;
  text-decoration: underline;
}

/* Highlight FAQ link on hover/focus */
.menutitle:hover,
.menutitle:focus {
  text-decoration: underline;
}

/* Responsive adjustments */
.menubar, .menubarfaq {
  font-size: 0.85em;
}

.menubarfaq {
  padding-left: 10px;
}

.goback {
  font-size: 0.65em;
}

strong.button, strong.browbutton, strong.tabtop, strong.white, strong.black {
  font-size: 0.75em;
}

.smallmono,
.mono,
.small,
.prompt,
.verinfo {
  font-size: 0.75rem;  /* 12px */
}

div.footer {
  font-size: 0.75rem;  /* previously 0.45rem (7.2px) */
}

div.clear {
  clear: both;
}

div.toptable, div.selector, div.tourn, div.vartime, div.preftab {
  font-size: 0.85em;
}

/* Full width for narrow screens */
div.topcol1, div.topcol2, div.topcol3, div.topcol4, div.topcol5, div.topcol6,
div.helpcol1, div.helpcol2, div.selcol1, div.selcol2, div.selcol3, div.selcol4, div.selcol5, div.selcol6,
div.tourncol1, div.tourncol2, div.tourncol3, div.tourncol4,
div.vartimecol1, div.vartimecol2, div.vartimecol3, div.vartimecol4, div.vartimecol5, div.vartimecol6, div.vartimecol7,
div.preftabcol1, div.preftabcol2, div.preftabcol3, div.preftabcol4 {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  float: none;
  text-align: left;
}

/* Left spacing */
#allcontent, .menutitle, .menubarfaq, .goback, .smallmono, .mono, .small, .prompt, .verinfo, 
div.footer, div.toptable, div.selector, div.tourn, div.vartime, div.preftab, 
div.topcol1, div.topcol2, div.topcol3, div.topcol4, div.topcol5, div.topcol6, 
div.helpcol1, div.helpcol2, div.selcol1, div.selcol2, div.selcol3, div.selcol4, div.selcol5, div.selcol6, 
div.tourncol1, div.tourncol2, div.tourncol3, div.tourncol4, 
div.vartimecol1, div.vartimecol2, div.vartimecol3, div.vartimecol4, div.vartimecol5, div.vartimecol6, div.vartimecol7, 
div.preftabcol1, div.preftabcol2, div.preftabcol3, div.preftabcol4 {
  margin-left: 2rem;
}

.selector {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.8rem; /* Applies globally to ensure space */
  margin-bottom: 1.5rem;
}

.selcol1,
.selcol2,
.selcol3,
.selcol4,
.selcol5 {
  flex: 1;
  min-width: 120px;
}

/* Ensure text block (like selcol2) gets spacing */
.selcol2 {
  font-weight: bold;
  padding-top: 0.3rem;
}

/* Ensure links in columns have proper spacing */
.selector a {
  display: block;
  line-height: 1.8rem;
  margin-bottom: 0.5rem;
 color:#<%=Session("Mainfontcolor")%>;
  text-decoration: underline;
}




p {
  line-height: 2rem; /* or try 1.5, 1.75, or 2 for more spacing */
  font-size: 1rem;     /* ensure readable size too */
}

.selector a {
  display: block;
  margin-bottom: 0.5rem; /* spacing between links */
  text-decoration: underline;
 color:#<%=Session("Mainfontcolor")%>;
}


.selector a {
  line-height: 1.5rem;
}

.helpcol2 a {
 color:#<%=Session("Mainfontcolor")%>;
  text-decoration: underline;  /* Makes link visually distinguishable */
  font-weight: 600;      /* Optional: makes it bolder for readability */
}

.faq-heading {
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 80px;
}


.faq-indent {
  margin-left: 2em; /* Indent question entries */
}



.faqblock {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Reset native indentation and styling */
details, summary {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style-position: outside;
}

/* Show triangle and enforce left alignment */
summary {
  display: list-item;
  list-style-type: disclosure-closed;
  cursor: pointer;
  padding: 0.4rem 0;
  font-size: 1.05em;
 color:#<%=Session("Mainfontcolor")%>;
  background:#<%=Session("backgroundcolour")%>; /* keep question background white */
}

/* Switch triangle when open */
details[open] > summary {
  list-style-type: disclosure-open;
}

/* Style ONLY the answer (everything inside <details> but not <summary>) */
details[open] > *:not(summary) {
 background-color:#<%=Session("backgroundcolour")%>; /* light beige instead of blue */
 color:#<%=Session("Mainfontcolor")%>;
 border-left: 3px solid #ccc;
  padding: 0.5rem;
  border:1px solid grey;
}


/* Optional: body or wrapper reset */
body {
  margin: 0;
  padding: 0;
}

.faqcontainer {
  text-align: left;
  max-width: 800px;
  margin: 2rem auto; /* centers the container but aligns content left */
  padding: 0 1rem;
}
.faqcontainer details {
  margin-left: 0; /* reset if previously indented */
}


