/*  fnw.css */
@import url("cards.css");

.alert-box {
    width: 80%; /* Maximum width of the box */
    margin: auto;
    border: 2px solid #FF0000; /* Black border */
    border-radius: 15px; /* Rounded corners */
    box-sizing: border-box; /* Include padding and border in the box's width */

    padding: 20px; /* Some padding around the text */
    background-color: #f2f2f2; /* Light grey background */
    text-align: center;
}


.red {
    color: red;
}

.largefont {
    color: #0066FF;
    font-size: 60px;
}


BR {
    clear: left
}


.announce {
    font-size: 20px;
    font-weight: bold;
    color: #FF0000;
}

hr {
    height: 1px;
    border-width: 0;
    color: gray;
    background-color: blue
}

body {
    display: block;
    width: 100%;
    padding: 0%;
    margin: 0;
    background-color: white;
    font-size: large;
    font-family: Arial, Helvetica, sans-serif;
}

body:has(.event-card, .faq-card, .dance_list .image-wrapper, .teacher-entry, .video-link) {
  background-color: var(--card-backdrop);
}

.event-card {
  display: flow-root;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 1rem;
  max-width: 65rem;  
  margin: 1rem auto;
}
.page-title {
  text-align: center;
  font-family: Baskerville, Georgia, serif;
  font-style: italic;
  color: #5a3e85;
  max-width: 65rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.event-card > h1:first-child,
.event-card > h2:first-child {
  margin-top: 0;
}

#main {
    width: 92%;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}


nav {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding-bottom: 0;

.navbar {
  background-color: var(--navbar-bg, red); /* Default to red if not overridden */
  /* Other styles... */
}}

nav ul {
  margin-left: 3%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  /* remove overflow: hidden; */
  /* background-color: #333; */
  background-color: var(--navbar-bg, #030303); /* Default to red if not overridden */
}

nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover,
nav li a:focus-visible {
    background-color: #326969;
}


/* Ensure the parent dropdown item is positioned relative */
nav li.dropdown {
    position: relative;
}

/* Hide the dropdown menu by default */
nav li.dropdown ul.dropdown-content {
    display: none;              /* Hide the submenu */
    position: absolute;         /* Position it relative to the parent */
    top: 100%;                  /* Position below the parent */
    left: 0;
    background-color: #444;     /* Dropdown background color */
    min-width: 160px;           /* Set a minimum width */
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 1000;              /* Make sure it appears above other elements */
}

nav li.dropdown ul.dropdown-content li {
    float: none;
    display: block;
}

/* Style the links in the dropdown menu */
nav li.dropdown ul.dropdown-content li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: white;
    text-align: left;
}

/* Show the dropdown menu when hovering over the parent <li> */
nav li.dropdown:hover ul.dropdown-content {
    display: block;
}

nav li.dropdown ul li a { 
	float: none;
  display: block;
}



.teacher-entry {
  display: -webkit-flex;
  display: flex;
  align-items: flex-start; /* Align the image and text at the top */
  margin-bottom: 15px; /* Optional spacing between entries */
}

.teacher-pic {
  margin-right: 15px;
  /* The image’s intrinsic width will be used, so no hard coding here */
}

.teacher-content {
  flex: 1; /* Take up remaining space */
}

/* New CSS for tabbed navigation that spans the full width */
.tabs {
  display: flex;
  width: 100%;
  gap: 5px;
    margin: 10px 0 0 0;  /* Adds 10px space above and below the tabs */


  padding: 0;
  border-bottom: 2px solid #ccc; /* Creates a baseline for tabs */
  background-color: #eee;
}

.tabs li {
  list-style: none;
  flex: 1;  /* Each tab will take up an equal portion of the available space */
}

.tabs li a {
  display: block;
  text-align: center;
  padding: 10px 0;
  background-color: #ddd;
  border: 1px solid #ccc;
  border-bottom: none; /* So the active tab blends with content */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-decoration: none;
  color: #333;
}

.tabs li a:hover,
.tabs li a.active {
  background-color: #fff;
  color: #000;
  border-color: #aaa;
}


/* Separate the event date from its title without changing the palette. */
.event-card > h2 .event-date {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.4;
}
.event-card > h2 .event-title {
  display: block;
  margin-top: 0.35rem;
}

/* Use the full site name when the navigation has room for it. */
nav .nav-home { white-space: nowrap; }
nav .nav-home-full { display: none; }
@media (min-width: 64rem) {
  /* Let spare space separate the site name from the navigation links. */
  #navbar nav > ul > li:first-child { margin-inline-end: auto; }
  nav .nav-home-short { display: none; }
  nav .nav-home-full { display: inline; }
}
