/* General */

a:hover {
  text-decoration: none;
}

a:focus {
  text-decoration: none;
}

/* Keyboard users had no visible focus anywhere: the link rules above strip the
   underline and .btn:active:focus stripped the outline. Put one back. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #26a9e0;
  outline-offset: 2px;
}

.audition-banner a:focus-visible,
.audition-banner button:focus-visible {
  outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

section {
  min-height: 100vh;
}

.container-fluid {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 90%;
}

.navbar-header {
  padding: 0 1em 0 1em;
}

/*Navbar Function*/
#home .home,
#about .about,
#whatson .whatson,
#join .join,
#archive .archive,
#members .members,
#concerto .concerto,
#contact .contact,
#friends .friends {
  background-color: #e7e7e7;
}

footer {
  padding: 2em 0 1em 0;
  margin-top: 5em;
  color: white;
  background-color: #404041;
  border-top: 3px solid #26a9e0;
}

.flexwrap {
  display: flex;
  flex-direction: column;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

/* Navbar */

.navbar-brand {
  vertical-align: middle;
  padding: 5px;
  padding-left: 10px;
}

.navbar-toggle {
  vertical-align: middle;
}

#nav-image {
  vertical-align: middle;
  padding: 5px;
  margin-left: 0px;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
}

@media (max-width: 767px) {
  .nav>li>a {
    padding: 10px 40px;
  }

  #nav-image {
    float: none;
    padding: 0;
  }

  .container-fluid>.navbar-collapse {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .nav>li>a {
    padding-inline: 6px;
  }
}

@media (min-width: 768px) {
  .nav>li {
    margin-bottom: 0;
  }

  .nav>li>a {
    margin-bottom: 0;
  }
}

#ulsoNavbar {
  margin-top: auto;
  margin-bottom: 0;
}

#sitemap {
  display: inline-block;
}

/* Text */

p,
li {
  font-family: "Raleway", sans-serif;
  text-align: left;
  line-height: 1.7;
}

p {
  min-width: 200px;
  margin-top: 1%;
  margin-bottom: 2%;
}

li {
  margin-bottom: 1em;
}

h1 {
  font-family: "Open Sans Condensed", serif;
  font-size: 5rem;
  font-weight: bold;
  padding-bottom: 2rem;
}

#logo h1 {
  text-align: center;
  font-size: 2.5em;
}

h2 {
  font-family: "Open Sans Condensed", serif;
  font-weight: bold;
  color: #26a9e0;
  padding-bottom: 1rem;
}

h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
}

h3 {
  font-size: 1.4em;
  font-weight: 500;
  padding-bottom: 1rem;
}

h5 {
  font-size: 1.5rem;
}

.lower-roman {
  list-style-type: lower-roman;
}

.caret {
  color: #404041;
}

#committee-text h3,
#committee-text h4,
#committee-text a {
  text-align: center;
}

.committee-biog {
  min-height: 1000px;
}


.merch-block {
  min-height: 400px;
}

.merch-block p {
  text-align: justify;
}

.committee-biog p {
  text-align: justify;
}

#chair p {
  text-align: justify;
}

.committee-email {
  text-align: center !important;
}

/* Images */

img {
  max-width: 100%;
  display: block;
  margin: 2em 0 2rem 0;
}

.inline-photo {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.inline-image {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 767px) {
  body {
    font-size: 13pt;
  }

  nav {
    font-size: 11pt;
  }

  .front-page-photo {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .body-photo {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4%;
  }

  .thumbnail {
    margin-bottom: 5%;
  }

  .caret {
    display: none;
  }
}

.media-icon {
  height: 3em;
  width: auto;
  display: inline-block;
}

#media-fb {
  height: 3em;
  width: 3em;
  background-size: 100% 100%;
  background-image: url(images/fb-white.png);
}

#media-fb:hover {
  background-image: url(images/fb-blue.png);
}

#media-twitter {
  height: 3em;
  width: 3em;
  background-size: 100% 100%;
  background-image: url(images/twitter-white.png);
}

#media-twitter:hover {
  background-image: url(images/twitter-blue.png);
}

#media-instagram {
  height: 3em;
  width: 3em;
  background-size: 100% 100%;
  background-image: url(images/insta-white.png);
}

#media-instagram:hover {
  background-image: url(images/insta-blue.png);
}

#current-poster,
.current-poster {
  margin-bottom: 0;
  margin-top: 3%;
  max-height: 800px;
}

/* What's On - see concerts.php / concert-card.php */

.section-title {
  text-align: center;
  padding-top: 1em;
}

.concert {
  width: 100%;
  max-width: 900px;
  padding-bottom: 3em;
  margin-bottom: 3em;
  border-bottom: 1px solid #e7e7e7;
}

.concert:last-child {
  border-bottom: none;
}

.concert-title {
  text-align: center;
  padding-bottom: 0.2rem;
}

/* Date sits directly under the title - it is the fact people scan for. */
.concert-when {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5em;
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8em;
  color: #404041;
}

.programme {
  list-style: none;
  padding-left: 0;
}

.programme li {
  text-align: center;
}

.work-note {
  font-size: 90%;
  margin-top: 0.4em;
}

.concert-details {
  text-align: center;
}

.concert-details h3 {
  padding-bottom: 0.4rem;
}

.extra-poster {
  max-width: 500px;
}

.tbc {
  color: #767676;
  font-style: italic;
}

/* Auditions - see auditions.php */

/* The one filled block on the site. Everything else here is outlined or plain,
   so the thing with a deadline on it is the thing that gets seen. */
.audition-banner {
  max-width: 900px;
  margin: 2.5em auto;
  padding: 2em 1.5em;
  background-color: #26a9e0;
  color: #fff;
}

.audition-banner h2,
.audition-banner p,
.audition-banner li {
  text-align: center;
  color: #fff;
}

.audition-banner h2 {
  margin-top: 0;
  color: #fff;
}

.audition-deadline {
  font-size: 115%;
}

.audition-repertoire {
  list-style: none;
  padding-left: 0;
}

.audition-banner .btn {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.audition-banner .btn:hover,
.audition-banner .btn:focus {
  background-color: #fff;
  color: #26a9e0;
}

.audition-banner a {
  color: #fff;
  text-decoration: underline;
}

.audition-more {
  margin-top: 1.2em;
  margin-bottom: 0;
}

.next-concert {
  padding-top: 1em;
}

.next-concert h2,
.next-concert p {
  text-align: center;
}

.next-concert-title {
  font-size: 120%;
  font-weight: bold;
}

#fred-paixao {
  max-width: 75%;
}

.center-text {
  text-align: center;
}

.circle {
  border-radius: 50%;
}

.inline-icon {
  display: inline-block;
  height: 1.2em;
  padding-bottom: 1px;
  margin: 0;
}

.cropped {
  max-height: 300px;
  overflow: hidden;
  position: center;
}

#homebutton {
  max-height: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  #big-logo {
    max-width: 55%;
    max-height: 26vh;
    width: auto;
  }

  #musicweb-quote h4 {
    font-size: 12pt;
    line-height: 1.7em;
  }
}

@media (min-width: 767px) {
  #big-logo {
    max-width: 25%;
    /* Bound by the window as well as the container, so the hero cannot push
       time-sensitive content (audition deadline, next concert) below the fold. */
    max-height: 30vh;
    width: auto;
  }

  #big-title {
    font-size: 43pt;
  }

  #musicweb-quote {
    max-width: 40%;
  }

  #musicweb-quote h4 {
    font-size: 14pt;
    line-height: 1.7em;
  }
}

.sub-committee p {
  font-size: 11pt;
  padding: 0 1.5em;
}

#chair-photo {
  max-width: 60%;
}

.biog-photo {
  max-width: clamp(200px, 25%, 25%);
  float: left;
  padding: 5px;
  margin: 0 1em 1em 0;
}

.biog {
  padding-top: 5vh;
}

.committee-photo {
  height: 180px;
  width: 180px;
}

/* Buttons */

.btn {
  padding: 0.4em;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 2px solid #26a9e0;
  background-color: white;
  font-family: "Raleway", sans-serif;
  font-size: 1.3em;
  color: #26a9e0;
}

.btn:active:focus {
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  background-color: #26a9e0;
  color: white;
}

.large-btn {
  min-width: 140px;
  margin-bottom: 5%;
}

.accent {
  color: #26a9e0;
  background-color: #404041;
  border: 3px solid #26a9e0;
  font-weight: bold;
}

.contact-btn {
  margin-top: 0;
}

/* Tables */

table,
th,
td {
  border: 1px solid;
  border-color: #26a9e0;
  border-collapse: collapse;
}

/* Divs */

.space-bot {
  margin-bottom: 1em;
}

.space-top {
  margin-top: 1em;
}

.button-box {
  margin: 1em 0 1em 0;
}

.paragraph {
  padding-bottom: 0.8em;
}

#social-media {
  text-align: center;
  padding-top: 1em;
}

#credits {
  padding-top: 1em;
}

#chair {
  display: block;
  background-color: #ededed;
  max-width: 700px;
  padding: 0.5em 2.5em 2em 2.5em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3em;
  margin-bottom: 3em;
}

/* Accordion */

.card-header {
  border-bottom: 1px solid #404041;
  margin-top: 2em;
}

.card-header a {
  color: #26a9e0;
  text-decoration: none;
}

/* 
#depping a, #subs a, #competition-structure a {
  color: #404041;
  font-size: 1em;
}
 */

#tips-text,
#past-winners-text {
  border-bottom: 1px solid #404041;
}

.caret-active {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: 0.5s;
}

.caret-inactive {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: 0.5s;
}

/* Specific Items */

.divSpacer {
  height: 50em;
}

div #blurb {
  width: 80%;
}

footer p {
  text-align: center;
  font-size: 11pt;
}

footer a {
  color: white;
}

footer a:hover {
  color: #26a9e0;
}

footer div {
  padding-bottom: 1em;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 2px 16px;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 2s;
}

/* Add Animation */
@keyframes animatetop {
  from {
    top: -1000px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* Friends */

.donation {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  padding: 1rem 2rem;
}

.donation-button {
  margin-top: 0;
  width: 200px;
}

/* Misc */

.caption {
  text-align: center;
  margin-top: 0;
  font-size: 70%;
  font-style: italic;
}


/* Privacy */

#privacy {
  max-width: 90%;
  margin: 4vw auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2vw;
}

#privacy div {
  padding: 3vw;
  /* border: 1px solid #26a9e0;
    border-radius: 5px; */
  text-align: justify;
}

#privacy div:nth-of-type(4n+3),
#privacy div:nth-of-type(4n+4) {
  background-color: #e7e7e7;
}

#privacy div:nth-of-type(2n) {
  /* border-left: #26a9e0 1px solid; */
}