[data-theme="light"],
:root:not([data-theme="dark"]) {
  --primary: #ab0520;
  --primary-hover: #8b0015;
  --primary-focus: rgba(rgb(87, 66, 63), 0.125);
  --primary-inverse: #fff;
}

@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #ab0520;
    --primary-hover: #8b0015;
    --primary-focus: rgba(rgb(87, 66, 63), 0.125);
    --primary-inverse: #fff;
  }
}

[data-theme="dark"] {
  --primary: #ab0520;
  --primary-hover: #8b0015;
  --primary-focus: rgba(rgb(87, 66, 63), 0.125);
  --primary-inverse: #fff;
}

:root {
  --form-element-active-border-color: var(--primary);
  --form-element-focus-color: var(--primary-focus);
  --switch-color: var(--primary-inverse);
  --switch-checked-background-color: var(--primary);
}

::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  background: #2196f3;
}

::selection {
  color: #ffffff;
  background: #2196f3;
}

.main-container {
  padding-top: 30px;
  min-height: 50vh;
}

.main-container h1 {
  margin-bottom: 20px;
}

.text-justify {
  text-align: justify;
}

.news-content {
  text-align: justify;
}

.news-content img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.primary-link {
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: underline;
}

header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.nav-mobile {
  display: none;
  border: none;
}

.nav-mobile-list {
  position: absolute;
  z-index: 99;
  width: 100%;
}

.nav-mobile a {
  width: 100%;
  border-radius: 0;
  border: none;
}

.nav-mobile .active {
  background-color: var(--primary-hover);
}

.nav-desktop {
  background-color: var(--primary);
  padding: 0 20px 0 20px;
}

.nav-desktop .active {
  background-color: var(--primary-hover);
}

.nav-desktop li,
a {
  color: #fff !important;
}

.nav-mobile summary {
  border: none !important;
  border-radius: 0 !important;
  display: flex;
}

.nav-mobile div {
  width: 100%;
  text-align: center;
}

.splide {
  margin-bottom: 0;
}

.splide__track::before {
  content: none !important;
}

.splide__slide {
  background: #26272b;
}

.splide__slide img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1080px;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.site-footer {
  background-color: #26272b;
  padding: 25px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.footer-links a {
  display: block;
  color: #737373;
  text-decoration: none;
}

.copyright-text {
  margin: 0;
}

.justify-container {
  display: flex;
  justify-content: center;
}

.member-card {
  max-width: 500px;
}

.member-card h3 {
  max-width: 450px;
  overflow: hidden;
  color: var(--primary);
  padding: 0;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card h4 {
  max-width: 450px;
  overflow: hidden;
  padding: 0 0 10px 0;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card p {
  padding: 0;
  margin: 0;
}

.member-card p:last-child {
  margin-bottom: 20px;
}

.member-card hr {
  border: 1px solid var(--primary);
}

.member-card p svg {
  width: 25px;
  font-weight: bolder;
  stroke: var(--primary);
}

.coming-soon-container {
  background-color: #737373;
  padding: 30px 40px 20px 40px;
  border-radius: 10px;
  margin: 50px auto 0 auto;
  max-width: 600px;
  justify-content: center;
  text-align: center;
  box-shadow: 5px 5px 13px 2px rgba(75,75,75,0.5);
  -webkit-box-shadow: 5px 5px 13px 2px rgba(75,75,75,0.5);
  -moz-box-shadow: 5px 5px 13px 2px rgba(75, 75, 75, 0.5);
}

.coming-soon-container h1 {
  color: #fff;
  margin-bottom: 0;
}

.coming-soon-container p {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  font-size: 24px;
}

.coming-soon-container input[type=email] {
  color: #fff;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}

.coming-soon-container button {
  border-radius: 0 0 5px 5px;
}

.coming-soon-container svg {
  margin-top: 10px;
  width: 60px;
  font-weight: bolder;
  stroke: #fff;
  color: #fff;
}

.coming-soon-container input[type=email]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ebebeb;
  opacity: 1; /* Firefox */
}

.coming-soon-container input[type=email]:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ebebeb;
}

.coming-soon-container input[type=email]::-ms-input-placeholder { /* Microsoft Edge */
  color: #ebebeb;
}

.coming-soon-container button svg {
  margin: 0 0 0 5px;
  width: 18px;
  stroke: #fff;
  color: #fff;
}

.coming-soon-container button svg {
  margin: 0 0 0 5px;
  width: 18px;
  stroke: #fff;
  color: #fff;
}

.coming-soon-modal {
  min-width: 620px;
}

.pre-qualify-button {
  margin-top: -10px;
  margin-bottom: 10px;
}


.qualify-button {
  margin: 0 0 0 5px;
  width: 18px;
  stroke: #fff;
  color: #fff;
}

.qualify-modal {
  min-width: 850px;
}

.qualify-modal h3 {
  margin: -35px 30px 0 0;
}

.qualify-modal p {
  margin-bottom: 20px !important;
}

.qualify-modal form label {
  font-weight: 600;
}

.qualify-modal form legend {
  font-weight: 600;
}

.qualify-modal fieldset:first-child {
  margin-top: 40px;
}

.qualify-modal fieldset label {
  display: inline-block;
}

.qualify-modal fieldset label:last-child {
  margin-left: 20px;
}

.qualify-modal button {
  margin-top: 20px;
}

.farewell-message {
  margin-top: 20px;
}

.farewell-message a {
  float: right;
}

.member-grid {
  display: flex;
}

.member-grid img {
  max-height: 720px !important;
  height: -webkit-fill-available;
  height: min-content;
  width: 35%;
}

.member-grid div {
  width: 65%;
  padding-left: 20px;
  text-align: justify;
}

.member-content p:not(:first-child) {
  margin-bottom: 0px;
}

.member-content p:nth-child(3) {
  margin-top: 30px;
}

.member-content p svg {
  width: 25px;
  font-weight: bolder;
  stroke: var(--primary);
}

.spacer {
  height: 29.35px;
}

.contact-text-area {
  height: 225.5px;
}

.brand-title a {
  background-color: transparent !important;
}

.brand-title a:hover {
  border: solid 1px transparent;
}

.publication__title {
  margin-bottom: 5px;
}

@media screen and (max-width: 1199.9px) {
  .contact-text-area {
    height: 215.5px;
  }
}

@media screen and (max-width: 991.9px) {
  .nav-mobile {
    display: block;
    margin: 0;
  }

  .nav-desktop {
    display: none;
  }

  .site-footer {
    justify-content: center;
  }

  .qualify-modal {
    min-width: 650px;
  }
}

@media screen and (max-width: 767.9px) {
  .member-page h3 {
    text-align: center;
  }

  .member-grid {
    max-width: 480px;
    display: block;
  }

  .member-grid img {
    width: 100%;
  }

  .member-grid div {
    margin-top: 30px;
    width: 100%;
    padding-left: 0;
  }

  .splide__slide img {
    height: 400px;
  }

  .coming-soon-modal {
    min-width: 350px;
  }

  .qualify-modal {
    min-width: 350px;
  }
}
