/*
CSS for MSMTA Site
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&family=Roboto:wght@300&display=swap');


:root {
  --dark-color: #04092a;
/*  --background-color: #0f184d;  */
  --background-color: #2D5C91; 
  --on-dark-color: #fff;
  --blue-on-dark-color: #bad2fc;
  --blue-on-light-color: #e8effa;
  --bright-blue-color: #4556f0;

  --brand: #0b4f8a;
  --brand-2: #083b66;
  --text: #1b1f23;
  --muted: #6c757d;

  --radius: 0.5rem;
  --shadow: 0 4px 18px rgba(0,0,0,.08);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
}

/* Bootstrap-friendly baseline */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  min-width: 330px;
  background-color: var(--background-color);
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
}

body.msmta .text-muted {
    color: #aab8d6;
}

/* inside white containers, revert to Bootstrap muted */
body.msmta .card .text-muted,
body.msmta .alert .text-muted,
body.msmta #cardarea .text-muted,
body.msmta .card-area .text-muted {
    color: #6c757d;
}
	
body.msmta .card {
    background-color: #ffffff;
    color: #1b1f23;
}

body.msmta .badge.bg-light {
    background-color: #e8effa;
    color: #1b1f23;
}

body.msmta .text-muted {
    color: #aab8d6 !important;  /* lighter but readable */
}

body.msmta .btn-outline-primary {
    color: var(--blue-on-dark-color);
    border-color: var(--blue-on-dark-color);
}

body.msmta .btn-outline-primary:hover,
body.msmta .btn-outline-primary:focus {
    background-color: var(--blue-on-dark-color);
    color: var(--background-color);
    border-color: var(--blue-on-dark-color);
}

body.msmta .btn-outline-primary:disabled,
body.msmta .btn-outline-primary.disabled {
    color: rgba(186, 210, 252, 0.8);
    border-color: rgba(186, 210, 252, 0.8);
    background-color: transparent;
    opacity: 1;
}

/* ENABLED (high contrast) */
body.msmta .updateBtn:not(:disabled) {
    color: #1d2a38;
    background-color: var(--blue-on-dark-color);
    border-color: var(--blue-on-dark-color);
}

/* HOVER */
body.msmta .updateBtn:not(:disabled):hover {
    background-color: #9fc3fb; /* slightly darker than var */
    border-color: #9fc3fb;
    color: #1d2a38;
}

/* DISABLED (muted but visible) */
body.msmta .updateBtn:disabled,
body.msmta .updateBtn.disabled {
    color: #d9e3f0;
    background-color: #3b4a5c;
    border-color: #5b6b7d;
    opacity: 1;
}

a { color: var(--bright-blue-color); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }


/* =====================================
   Component Class Mirrors (Step 1)
   ===================================== */

/* Layout containers */
.card-area,
#cardarea {
    background-color: white;
    font-family: 'Roboto', sans-serif;
    color: black;
    padding: 15px 30px;
    border-radius: var(--radius);
}

.header,
#header {
    height: 8em;
    margin: 1em 0 0 1em;
    max-width: 740px;
    color: white;
    background-color: var(--background-color);
}

.footer,
#footer {
    clear: both;
    text-align: left;
    margin: 0.5em .6em 1em .6em;
    font-size: 12px;
    max-width: 44em;
    font-family: 'Roboto', sans-serif;
}

/* Navigation */
/* =====================================
   Navigation – Step 1 Mirrors
   ===================================== */

/* Desktop nav container */
.nav { width: 100%; display: flex; z-index: 100; }
/* Outer wrapper: full width */
#nav {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  height: 50px;
  z-index: 100;
}

/* Inner row: constrained */
.nav-inner {
  width: 500px;          /* or 100%, max-width, etc. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
}

/* Mobile nav */
.nav-mobile,
#nav-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 50px;
    background-color: var(--background-color);
    z-index: 5;
}

/* ==================================================
   NAV VISIBILITY TOGGLE (prevents "double logo")
   ================================================== */

/* Default: desktop nav ON, mobile nav OFF */
#nav { display: block; }
#nav-mobile { display: none; }

/* Under 780px: desktop nav OFF, mobile nav ON */
@media (max-width: 780px) {
  #nav { display: none !important; }
  #nav-mobile { display: flex !important; }
}

#nav .nav-inner a,
#nav-mobile a {
  color: var(--blue-on-dark-color);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

q {
    quotes: none;
}

.rootcontainer {
    background-color: #2D5C91;
    color: white;
    max-width: 110em;
    margin: 0px 3% 100px 3%;
    background-image: url(/images/MD2.png);
    background-position: 100% 60px;
    background-size: auto 150px;
    background-repeat: no-repeat; 
}

.subcontainer {
    max-width: 110em;
    margin: 0px 7.5% 100px 7.5%;
/*    background-image: url(/images/MD.svg); */
    background-position: 100% 50px;
    background-size: 600px 300px;
    background-repeat: no-repeat;
}

.my-container {
  background-color: white;
  /* do NOT make the wrapper flex; Bootstrap rows handle layout */
  display: block;
  /*padding: 1rem 0; /* optional */
  overflow-x: auto;
}

.item {
  flex-basis: auto;
  justify-content: center;
  margin: 10px;
}

#titlecontainer {
    padding: 30px 20px 30px 20px;
}


/* ================================
   Compact header variant
   (used by smaller-page-head.php)
   ================================ */

.page--compact .rootcontainer {
  /* Remove the Maryland background image on compact pages */
  background-image: none;
  background-repeat: no-repeat;
}

.page--compact #titlecontainer {
  /* Reduce the big top padding used on full pages */
  padding: 10px 20px;
}

.page--compact #tagline {
  /* Hide the large “Maryland State Music Teachers Association” text */
  display: none;
}

/* Optional: tighten overall vertical spacing under the nav */
.page--compact .nav-inner {
  margin-bottom: 10px; /* instead of 20px inline */
}



@font-face {
    font-family: minion_pro;
    src: url(/fonts/minion_pro-medium.otf);
}

@font-face {
    font-family: minion_pro;
    font-style: italic;
    src: url(/fonts/minion_pro-it.otf);
}

@font-face {
    font-family: minion_pro;
    font-weight: bold;
    src: url(/fonts/minion_pro-boldcn.otf);
}

p {
    font-size: 100%;
    line-height: 1.44;
}

button {
    cursor: pointer;
}

label {
    display: flex;
    align-items: center;
}
/* =====================================
   Hover Glow (single authoritative set)
   ===================================== */

.hover_glow {
  transition: color 150ms linear, text-shadow 150ms linear, text-decoration-color 150ms linear;
}

/* Make keyboard focus as visible as hover (and avoid always-on outlines for mouse users) */
.hover_glow:focus { outline: none; }

#cardarea .hover_glow:hover,
#cardarea .hover_glow:focus-visible,
.card-area .hover_glow:hover,
.card-area .hover_glow:focus-visible,
.my-container .hover_glow:hover,
.my-container .hover_glow:focus-visible {
  color: var(--background-color);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.12em;
  text-shadow:
    0 0 1px rgba(0,0,0,.45),
    0 0 10px rgba(69,86,240,.45);
}

/* Dark nav/header/footer: add a clear highlight "chip" behind the text */
#nav .hover_glow,
.nav-inner .hover_glow,
#nav-mobile .hover_glow,
.nav-mobile .hover_glow,
#header .hover_glow,
.header .hover_glow,
#footer .hover_glow,
.footer .hover_glow {
  padding: 0.2rem 0.35rem;
  border-radius: 0.35rem;
}

#nav .hover_glow:hover,
#nav .hover_glow:focus-visible,
.nav-inner .hover_glow:hover,
.nav-inner .hover_glow:focus-visible,
#nav-mobile .hover_glow:hover,
#nav-mobile .hover_glow:focus-visible,
.nav-mobile .hover_glow:hover,
.nav-mobile .hover_glow:focus-visible,
#header .hover_glow:hover,
#header .hover_glow:focus-visible,
.header .hover_glow:hover,
.header .hover_glow:focus-visible,
#footer .hover_glow:hover,
#footer .hover_glow:focus-visible,
.footer .hover_glow:hover,
.footer .hover_glow:focus-visible {
  color: #fff;
  background: rgba(186,210,252,.16);          /* visible contrast change */
  outline: 2px solid rgba(186,210,252,.55);   /* strong focus ring */
  outline-offset: 2px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.12em;
  text-shadow:
    0 0 2px rgba(0,0,0,.95),
    0 0 14px rgba(186,210,252,.90);
}

/* Image glow (logo) */
.hover_glow_img {
  transition: filter 150ms linear;
}

#nav .hover_glow_img:hover img,
#nav-mobile .hover_glow_img:hover img {
  filter:
rgb(255, 128, 128)rgb(255, 255, 255)    drop-shadow(0 0 2px rgba(0,0,0,.90))
    drop-shadow(0 0 10px rgba(186,210,252,.75));
}


blockquote {
    font-style: italic;
    margin-left: 3px;
}

b {
    color: #000000;
    font-variant: small-caps;
    font-size: 105%;
}

strong {
    font-size: 110%;
}

body.msmta .rootcontainer > strong,
body.msmta .subcontainer > strong {
    color: #ffffff;
}

.logo {
    float: left;
    border-style: none;
    border: 0;
    display: block;
    font-size: 3em;
    line-height: 1;
}

.flag {
    border-style: none;
    border: 0;
    display: block;
}

.divideline {
    clear: both;
    background: black;
    height: 1px;
}

.shortline {
    background: #cd1818 none;
    height: 2px;
    margin: 10px 0 10px 150px;
    width: 400px;
}

#insidecardarea {
    /*float:right; */
    margin-right: 80px;
    background-color: #f5e7c2;
    background-image: url(/images/plain-bg.jpg);
    min-height: 900px;
}

.indexprose p {
    margin: 1em 0 0 1em;
    font-size: 1.25rem;
    display: block;
}


/* ChatGPT recommended */
/* =====================================
   Base Button System (Step 1)
   ===================================== */

.buttonsm,
.buttontall,
.buttonlg,
.button_custom,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Open Sans', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: 1rem; /* do NOT inherit h4/h3 sizes */
    line-height: 1;
}

.button--dark {
    background: var(--background-color);
    color: var(--on-dark-color);
}

.button--accent {
    background: var(--dark-color);
    color: white;
}

.button--sm { width: 140px; height: 2.2em; }
.button--lg { width: 180px; height: 1.8em; }
.button--tall { height: 2.4em; }

/* buttons courtesy of css3buttongenerator.com */

/* button_custom only used on MCMTA index page */
.button_custom {
    position: relative;
    background: var(--dark-color);
    vertical-align: middle;
    display: inline-block;
    width: auto;
    margin: .5em .5em .5em .5em;
    height: 2.4em;
    font-size: .9em;
    color: white;
}

.buttontall {
  /* taller buttons for secondary pages */
  position: relative;
  background: var(--background-color);
  border-radius: var(--radius);
  vertical-align: middle;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 180px;
  margin: .3em;

  min-height: 2.2em;
  padding: 0.6em 0.75em;

  line-height: 1.2;
  white-space: normal;
  text-align: center;

  color: var(--on-dark-color);
  transition: all 0.5s;
}

/* Allow .buttontall to be used on <a> links as well as <button> */
/* Allow .buttontall to be used on <a> links as well as <button> */
a.buttontall {
  display: inline-flex;            /* ensures consistent box behavior */
  align-items: center;
  justify-content: center;

  text-decoration: none;           /* prevent underline */
  color: var(--on-dark-color);     /* match button text */

  cursor: pointer;
}

a.buttontall:hover,
a.buttontall:focus-visible {
  text-decoration: none;
}

/* One authoritative hover/focus rule for tall buttons (button + anchor) */
.buttontall:hover,
.buttontall:focus-visible {
  background: #954520;
}

.button:hover { filter: brightness(1.05); }


.buttonleftbox {
    width: 85%;
    margin: auto;
    gap: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    row-gap: 1em;
    align-items: center;
}

.buttontopbox,
.buttonboxsm {
    display: block;
    /* float:left;    // Changed 10/28/18*/
    clear: both;
    /*  Changed 10/28/18 */
}

.center-flex {
	align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contentflex {
    /* width:75%; */
    margin: 0 1em 2em 1em;
    row-gap: 20px;
    flex-grow: 5;
    display: flex;
    justify-content: space-around;
    gap: 1em;
}

.newsdate {
    margin-bottom: 10px;
    color: gray;
    font-size: 0.7em;
}

.newsbox {
    padding: 10px;
    background-color: var(--blue-on-light-color);
    transition: transform .1s;
    width: 80%;
    /* height: 100px; */
    margin: 0 auto;
    font-size: 1.5em;
    color: black;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    border: 1px solid var(--dark-color);
    border-radius: var(--radius);
}

.newsbox:hover {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    cursor: pointer;
}


/* mobile dropdown styling */

.dropdown {
    overflow: hidden;
    background: none;
    width: 320px;
    height:600px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "icon" "menu";
    z-index: 6;
}

.bar-icon {
    cursor: pointer;
    color: white;
    width: 40px;
    margin-top: 3px;
    z-index: 2;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--blue-on-dark-color);
    margin: 6px 0 0 2.5px;
    ;
    transition: 0.4s;
}


/* Rotate first bar */

.change .bar1 {
    background-color: var(--background-color);
    -webkit-transform: rotate(-45deg) translate(-4px, -4px);
    transform: rotate(-45deg) translate(-8px, 7px);
}


/* Fade out the second bar */

.change .bar2 {
    opacity: 0;
    transition: 0.1s;
}


/* Rotate last bar */

.change .bar3 {
    background-color: var(--background-color);
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -7.5px);
}

.closed {
    grid-template-areas: "icon";
    width: 10px;
}

.closed .menu * {
    display: none;
    opacity: 0;
    border: none;
}

.menu {
    /* border: 1px solid black; */
    grid-area: menu;
    transition: all 0.05s ease-in-out;
    opacity: 1;
    right: 0;
    top: 0;
    height: 340px;
    font-family: 'Roboto', 'sans-serif';
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
}

.menu li {
    font-size: 1.5rem;
    padding: 1.5rem 1rem;
    border-top: solid 1px rgb(202, 202, 202);
    list-style-type: none;
    display: block;
}

.menu li:hover {
    background: var(--blue-on-dark-color);
}

.menu li:hover a {
    color: var(--background-color);
}

.dropdown.closed .menu {
    height: 0;
}

.bg {
    opacity: 0.5;
    position: absolute;
    background-color: black;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0;
    width: 1000%;
    height: 1000%;
    z-index: 2;
    display: none;
}

.middletd {
    white-space: nowrap;
    vertical-align: middle;
    line-height: 100%;
    font-size: 1.2rem;
}

#staff {
    margin: auto;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.break {
    flex-basis: 100%;
    height: 0;
}

#output {
    position: absolute;
    right: 20px;
    top: 30px;
    background: rgb(242, 242, 242);
    padding: 1rem;
    width: 350px;
    border: solid 1px rgb(222, 222, 222);
}

#stacked {
    display: table-row;
}

.right {
    float: right;
    text-align: right;
}


/* Lists ----------------------------- */

ol {
    margin: 0 0 2em 2em;
}

dl {
    list-style-type: none;
    font-size: 120%;
    line-height: 1.5;
    margin: 0 0 1em 2em;
}

dt {
    margin-left: .5em;
}

dd {
    margin-left: 1.5em;
}

li {
/*    list-style-type: disc; */
    line-height: 1.5;
}

.cal-ul {
    margin: 0 0 0 1.5em;
}

ul {
    list-style-position: inside;
}

ol {
    list-style-type: decimal;
    line-height: 1.5;
    margin-bottom: 0;
}

li span,
ol span {
    list-style-type: a;
    color: #140A05;
}

[type="checkbox"] {
    vertical-align: middle;
}

.indexprose {
    margin-right: 0.5em;
}

.submitbutton {
    float: right;
}
.submitbuttonleft {
    float: left;
}


/* headers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

h3 {
    margin: 0 0 .9em .9em;
    font-size: 1.5em;
}

h4 {
    color: #000;
    margin: 0 0 .8em .8em;
    font-size: 1.75em;
}

h5 {
    color: #F2DEAC;
    margin: .7em 0 .6em .6em;
    font-size: 2em;
}

h6 {
    color: #F2DEAC;
    margin: 0 0 .9em .9em;
    font-size: 1.5em;
}

.secondarypage {
    display: inline-block;
    clear: left;
}

.popback {
    display: inline;
    float: right;
    text-align: right;
    margin: -10px 10px 0 0;
}

.indexbox,
.groupbox {
    display: inline-block;
    clear: left;
    margin: 10px auto;
    max-width: 1000px;
    width: 1000px;
}

.groupbox img {
    margin-right: 10px;
}

/* Group assignment UI */

.groups-page {
	max-width: 1200px;
	margin: 0 auto;
}

.groups-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.groups-note {
	background: #e8f4ff;
	border: 1px solid #b9dcff;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 16px;
}

.groups-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.groups-table th,
.groups-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #d9d9d9;
}

.group-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #f1f3f5;
}

.group-badge.unassigned {
	background: #fff3cd;
}

.row-saved {
	background: #dff5df;
}

.row-error {
	background: #ffe1e1;
}

/* =====================================
   Base Table System (Step 1)
   ===================================== */

.table {
    width: 100%;
    border-collapse: collapse;
    border: 2px ridge #000;
}

.table--narrow { width: 60%; }
.table--medium { width: 80%; }
.table--wide { width: 100%; }





/* Table Styles
=============================================*/

table {
    margin-left: 5px;
}

.narrowtable {
    width: 60%;
    border-collapse: collapse;
    border: 2px ridge #000000;
    margin-left: 5px;
}

.medtable {
    width: 80%;
    border-collapse: collapse;
    border: 2px ridge #000000;
    margin-left: 5px;
}

.widetable {
    width: 100%;
    border-collapse: collapse;
    border: 2px ridge #000000;
    margin-left: 5px;
}

.flexwidthtable{
	margin-left: 0;
}

.flexwidthtable th,
.flexwidthtable td{
	vertical-align: top;
	white-space: normal;
	overflow-wrap: anywhere;
	padding: .2em .4em;
}

.flexwidthtable input[type="text"],
.flexwidthtable input[type="email"],
.flexwidthtable input[type="date"],
.flexwidthtable input[type="number"],
.flexwidthtable select,
.flexwidthtable textarea{
	box-sizing: border-box;
	max-width: 100%;
	padding: 2px 4px;
	line-height: 1.2;}

.flexwidthtable input[type="radio"],
.flexwidthtable input[type="checkbox"]{
	margin: 0 .2em 0 0;
	vertical-align: middle;
}
.flexwidthtable .form-control-wide{
	display: block;
	width: 100%;
	max-width: 100%;
}

.flexwidthtable .field-help{
	display: block;
	margin-top: 2px;
	font-size: 0.85em;
	line-height: 1.1;
	white-space: normal;
	color: #333;
	font-style: italic;
}
.flexwidthtable.flex-gap{
	border-collapse: separate;
	border-spacing: 10px 0;
}
.rep-form-table{
	width: 100%;
	table-layout: fixed;
}

.rep-form-table .form-control-wide{
	display: block;
	width: 100%;
	max-width: 100%;
}

.rep-form-table .field-help{
	display: block;
	margin-top: 2px;
	font-size: .85em;
	line-height: 1.1;
	white-space: normal;
	color: #333;
}

.rep-form-table input[type="text"],
.rep-form-table input[type="email"],
.rep-form-table input[type="date"],
.rep-form-table input[type="number"],
.rep-form-table select,
.rep-form-table textarea{
	padding: 2px 4px;
	line-height: 1.2;
}
.my-container{
	overflow-x: auto;
}

.membersearch td,
.membersearch th,
.roomtimetable td,
.roomtimetable th,
.eventtable td,
.eventtable th {
	white-space: normal;
	overflow-wrap: anywhere;
    padding: .3em;
    border-top: 1px solid #6a220b;
    border-bottom: 1px solid #6a220b;
    border-left: none;
    border-right: none;
    color: black;
}

.field-help {
    display: block;
    margin-top: 4px;
    font-size: 0.9em;
    color: #ddd;
}
tbody tr:nth-of-type(odd) {
    background-color: var(--blue-on-light-color);
}

tbody tr:nth-of-type(even) {
    background: white;
}

th {
    background: var(--background-color);
    color: white;
    font-weight: bold;
    text-align: left;
}

td,
th {
    padding: 15px;
    border: 1px dotted gray;
    vertical-align: top;
}

caption {
    margin: .6em 0 .6em .4em;
    font-size: 2em;
    caption-side: top;
}

.membertable,
.satable {
    width: 70%;
    margin-left: 2em;
}

.eventtable {
	width: 70%;
	margin-left: 2em;
}

.roomtimetable {
	width: 80%;
	margin-left: 2em;
}
.tableinfo {
    font-size: 1.25rem;
    line-height: 150%;
}

.membersearch {
    max-width: 600px;
    margin: 0 auto;
}

.latable {
    text-align: left;
    width: 80%;
    margin-left: 1.5em;
}

.memright {
    text-align: right;
    height: 40px;
}

.memleft {
    text-align: left;
    height: 40px;
}

.membersearch ul,
.membersearch li {
    list-style-type: none;
    margin: 0;
}

.satable a:link {
    color: #53ecc5;
}

.satable a:visited {
    color: #53ecc5;
}

.satable a:active {
    color: #53ecc5;
}

.satable a:hover {
    color: #53ecc5;
    text-decoration: underline;
}

.colsm {
    width: 15%;
    min-width: 50px;
}

.colmd {
    width: 20%;
}

.collg {
    width: 25%;
}


/* div to allow split screen */

.wrap {
    width: 90%;
    overflow: auto;
}

.fleft {
    float: left;
    width: 90%;
    background: transparent;
    overflow: auto;
}

.fleftsmaller {
    float: left;
    clear: left;
    width: 100%;
    background: transparent;
    overflow: auto;
}

.fright {
    float: right;
    background: white;
    height: 400px;
    width: 50%;
}

.largebullet {
    font-size: 1.25rem;
}

.cardtitle {
    text-align: center;
    text-decoration: underline;
    font-size: 2rem;
    margin: 25px 0 20px 0;
}

/* style for DESKTOP */
/* --- tagline sizing (no large hero anywhere) --- */
#tagline { font-size: 1.15rem; line-height: 1.2; margin: .25rem 0 0; }

/* Desktop */
@media screen and (min-width: 780px) {
  #tagline { font-size: 1.35rem; }
}

/* Medium screens */
@media (max-width: 780px) {

  .indexprose p { font-size: 1.25rem; }

  /* keep tagline modest */
  #tagline { font-size: 1.2rem; }

  .content { min-width: 80%; }
  .content p { font-size: 1.3rem; }

  .contentflex { flex-wrap: wrap; }
  .container { background-position: 120% 50px; background-size: 450px 225px; }

  .buttontall { width: 175px; min-height: 35px; }
  .buttonleftbox { width: 75%; gap: 10px; }
  .middletd { white-space: normal; }

  .latable { width: 100%; font-size: 1.35rem; }
  .latable caption { font-size: 2rem; }
}

/* Mobile only */
@media (max-width: 540px) {
  #titlecontainer { padding: 10px 0; }

  /* keep tagline modest (do NOT bump to 1.8rem) */
  #tagline { font-size: 1.1rem; }

  #nav-mobile {
    margin-left: -11%;
    margin-right: -11%;
    width: 95vw;
    padding-left: 20px;
  }

  .buttontall { width: 105px; font-size: 0.75rem; }

  #nav-mobile::after {
    content: " ";
    width: 20px;
    height: 50px;
    background-color: var(--background-color);
  }

  .buttonleftbox { gap: 10px; }
  .bar-icon { right: 15px !important; }

  #cardarea { margin-right: -10%; margin-left: -10%; }

  .container { background-position: 100% 50px; background-size: 350px 175px; }
}

@media (max-width: 400px) {
  .container { background-position: 45px 50px; background-size: 300px 150px; }
}
.searchtips-wrapper {
	flex: 1;
	min-width: 260px;
	max-width: 340px;
}

.searchpanel {
	flex: 2;
	min-width: 420px;
}

.searchtips-toggle {
	display: none;
	width: 100%;
	background: var(--background-color);
	color: white;
	border: none;
	padding: 12px 16px;
	text-align: left;
	font-size: 1.05rem;
	border-radius: 4px;
	margin-bottom: 8px;
	cursor: pointer;
}

.searchtips {
	display: block;
}

.searchtips h4 {
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--background-color);
}

.searchtips ul {
	margin-left: 18px;
	margin-top: 8px;
}

/* Mobile behavior */
@media (max-width: 780px) {
	.searchtips-toggle {
		display: block;
	}

	.searchtips {
		display: none;
	}

	.searchtips.open {
		display: block;
	}

	.searchpanel {
		width: 100%;
		min-width: 0;
	}

	.searchtips-wrapper {
		width: 100%;
		min-width: 0;
		max-width: none;
	}
}

/* ================================
   MEMBER SEARCH / EDIT RESULTS
================================== */

.page-actions {
	width: 100%;
	max-width: 980px;
	margin: 0 auto 14px;
}

.search-panel {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
}

.search-intro {
	max-width: 70ch;
	margin: 0 auto 18px;
	text-align: center;
	line-height: 1.45;
}

.search-form-table {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
}

.search-form-table td {
	padding: 8px 10px;
	vertical-align: middle;
}

.search-form-table input[type="text"] {
	max-width: 100%;
}

.verify-options label {
	display: inline-block;
	margin-right: 18px;
	white-space: nowrap;
}

.search-submit-row {
	text-align: center;
	padding-top: 12px;
}

.results-toolbar{
    width: 100%;
    max-width: 980px;
    margin: 0 auto 12px;
}

.status-card{
    width: 100%;
    max-width: 820px;
    margin: 14px auto;
    padding: 16px 18px;
    border-radius: 8px;
    border: 1px solid #bbb;
    background: #fff;
    line-height: 1.45;
}

.status-card h4{
    margin: 0 0 10px;
}

.info-card{
    background: #f7fbff;
    border-color: #a8c7df;
}

.success-card{
    background: #f3fbf3;
    border-color: #9fca9f;
}

.warning-card{
    background: #fffaf0;
    border-color: #d9c48a;
}

.danger-card{
    background: #fff5f5;
    border-color: #d9a3a3;
}

.error-card{
    background: #fff3f3;
    border-color: #cf8e8e;
}

.table-wrap{
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    overflow-x: auto;
}

.member-results{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #999;
    background: #fff;
}

.member-results th{
    background-color: var(--dark-color);
    color: var(--on-dark-color);
    font-size: 1rem;
    padding: 8px 10px;
}

.member-results td{
    padding: 8px 10px;
    vertical-align: middle;
    line-height: 1.2;
}

.member-results .actioncol{
    width: 110px;
    white-space: nowrap;
}

.member-results .rightcol{
    text-align: right;
}

.inline-form{
    display: inline;
    margin: 0;
}

.actionbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    min-height: 2em;
    padding: 0.35em 0.6em;
    margin: 0;
    line-height: 1.1em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.deletebtn{
    background: #8b1a1a;
    color: #fff;
}

.deletebtn:hover,
.deletebtn:focus-visible{
    background: #b22222;
    text-decoration: none;
}

.verified-note{
    font-weight: 600;
    color: #1b5e20;
}

.unverified-note{
    color: #8b1a1a;
    font-weight: 600;
}

.confirm-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

@media (max-width: 700px) {
    .search-form-table,
    .member-results{
        font-size: 0.95rem;
    }

    .verify-options label{
        display: block;
        margin: 6px 0;
    }
}
/* ================================
ADMIN DASHBOARD
================================== */
.admin-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;

    background: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #d9def7;
}

.admin-title {
    margin: 0;
    color: #2b3bc7;   /* slightly darker blue */
    font-weight: 700;
}
.admin-subtitle {
    margin: 4px 0 0;
    color: #555;
    font-size: 0.95rem;
}

.admin-section {
    margin-bottom: 28px;
    padding: 18px 20px 22px;
    border: 1px solid #d9def7;
    border-radius: 12px;
    background: #fafbff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.admin-section h2 {
    margin: 0 0 14px;
    color: #4556f0;
    font-size: 1.3rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-action {
    display: block;
    text-decoration: none;
}

.admin-card {
    height: 100%;
    padding: 16px;
    border: 1px solid #d6dbf5;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #4556f0;
}

.admin-card-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: #222;
}

.admin-card-text {
    margin: 0;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.35;
}

.admin-section.admin-super {
    border-color: #4556f0;
}

.admin-section.admin-special {
    border-color: #8a5cf6;
    background: #fcfbff;
}
.admin-event-form {
    margin: 0;
}

.admin-select {
    width: 100%;
    max-width: 500px;
    padding: 10px 12px;
    border: 1px solid #cfd6f6;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
}
.userbar{
    font-size:0.9rem;
    color:#666;
}

.userbar strong{
    color:#222;
}
@media (max-width: 640px) {
    .admin-wrapper {
        padding: 15px 10px 30px;
    }
}
.form-action-bar{
	position: sticky;
	bottom: 0;
	background: #fff;
	padding: .75rem 1rem;
	border-top: 1px solid #ccc;
	box-shadow: 0 -2px 8px rgba(0,0,0,.08);
	z-index: 100;
}
.sticky-group-header {
	padding: 4px 0;
}

.group-header-tight {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 600;
}
.local-list-page {
	max-width: 900px;
	margin: 0 auto;
}

.local-list-table {
	width: 100%;
	margin: 0 auto;
	font-size: 1.05rem;
}

.local-list-table th,
.local-list-table td {
	padding: 10px 12px;
	vertical-align: top;
}

.local-list-table a {
	text-decoration: none;
}

.local-list-table a:hover {
	text-decoration: underline;
}

.sa-portal-page {
	max-width: 900px;
	margin: 0 auto;
}

.sa-portal-intro {
	margin: 0 0 1rem;
	line-height: 1.5;
}

.sa-portal-links {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.sa-portal-links li {
	margin-bottom: 0.85rem;
}

.sa-portal-divider {
	margin-top: 30px;
}

/* Officers page */

.officers-page {
	max-width: 600px;
	margin: 0 auto;
}

.officers-table-wrapper {
	display: flex;
	justify-content: center;
}

.officers-table {
	width: 100%;
	max-width: 500px;
}

.officers-table th,
.officers-table td {
	padding: 10px 12px;
	text-align: center;
}

.officer-position {
	font-weight: 600;
	white-space: nowrap;
}

.officer-name {
	font-size: 1rem;
}

.music-search-page {
	max-width: 1200px;
	margin: 0 auto;
}

.music-search-intro {
	max-width: 72ch;
	margin: 0 auto 18px;
	text-align: center;
	line-height: 1.45;
}

.music-search-panel {
	max-width: 680px;
	margin: 0 auto 24px;
	padding: 18px 20px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #fff;
}

.music-search-form-grid {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 12px 14px;
	align-items: center;
}

.music-search-form-grid label {
	font-weight: 600;
	text-align: right;
}

.music-search-form-grid input[type="text"],
.music-search-form-grid input[type="number"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 6px 8px;
}

.music-search-actions {
	margin-top: 18px;
	text-align: center;
}

.music-results-actions {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 14px;
}

.music-results-summary {
	margin: 0 0 12px;
	font-size: 0.95rem;
	color: #555;
}

.music-table-wrap {
	overflow-x: auto;
}

#musicTable {
	width: 100%;
	border-collapse: collapse;
}

#musicTable th,
#musicTable td {
	padding: 8px 10px;
	border-bottom: 1px solid #d8d8d8;
	vertical-align: top;
	text-align: left;
}

#musicTable th {
	background: var(--dark-color);
	color: var(--on-dark-color);
	white-space: nowrap;
}

#musicTable th.sortable {
	cursor: pointer;
	user-select: none;
}

#musicTable tbody tr:nth-child(even) {
	background: #fafafa;
}

.sort-icon {
	font-size: 0.8em;
	margin-left: 5px;
	color: inherit;
}

.sorted-column {
	text-decoration: underline;
}

.music-empty {
	text-align: center;
	padding: 18px 12px;
	color: #555;
}

@media (max-width: 700px) {
	.music-search-form-grid {
		grid-template-columns: 1fr;
	}

	.music-search-form-grid label {
		text-align: left;
	}
}
.shared-page-title {
    color: #212529;
    font-weight: 600;
}

.shared-page-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}