/*
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;
  --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;
}

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: #0f184d;
    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 */
}

.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:
    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%;
    color: #C51423;
}

.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;
}


/* =====================================
   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{
	width: 35%;
	margin-left: 2em;
}

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-left: 1em;
}

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

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

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

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

.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; }
}

