:root {
  /* Fonts */
  --font-primary: "Source Sans 3", sans-serif;
  --font-primary-heading: "Source Sans 3", sans-serif;

  /* Colors */
  --color-text: #333;
  --color-primary: #1c2d5a;
  --color-secondary: #214080;
  --color-border: #aeb4bf;

  /* Links */
  --color-primary-link: #1e4181;
  --color-primary-link-hover: #162347;

  /* Buttons */
  --color-button-primary-bg: #a8323b;
  --color-button-primary-hover: #7f242b;
  --focus-ring-outer: #5c1a20;
}

/* General
   ========================================================================== */
body {
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.67;
}

h1,
h2,
h3,
h4,
h5,
h6,
.bxslider_title {
  font-family: var(--font-primary-heading);
  color: var(--color-primary);
  font-weight: var(--font-weight-semi-bold);
  margin: var(--space-xl) 0 var(--space-sm);
  line-height: 1.4;
}

h1,
.bxslider_title {
  font-size: 36px;
  margin-top: 0;
}

h2,
.MembershipReports h1,
.EvtCal h1,
.img-overlay h3 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

h5,
h6 {
  font-weight: 500;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

form table td {
  padding: 0 5px 5px 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-primary-link-hover);
  transition: var(--transition-fast);
  text-decoration-thickness: 2px;
}

a:hover img {
  opacity: 0.7;
  transition: var(--transition-fast);
}

ul,
ol,
table,
.iframe-wrap,
.alert,
.captcha {
  margin-bottom: var(--space-lg);
}

p {
  margin-bottom: var(--space-md);
}

hr {
  border-top: 1px solid var(--color-border);
  padding-bottom: var(--space-lg);
}

/* Buttons
   ========================================================================== */
.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
span.button a,
a.Login,
.MembershipReports form#mail a {
  font-family: var(--font-primary-heading);
  font-weight: var(--font-weight-medium);
  border-radius: 50px;
}

.btn-alt {
  background: transparent;
  border: 2px solid var(--color-button-primary-bg);
  color: var(--color-button-primary-bg);
}

.btn-alt:hover,
.btn-alt:active,
.btn-alt:focus {
  border: 2px solid transparent;
  background-color: var(--color-button-primary-bg);
  color: #fff;
}

.members-home-buttons svg {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

a.Login {
  background-color: var(--color-button-primary-bg);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  line-height: normal;
}

a.Login:hover,
a.Login:active,
a.Login:focus {
  background-color: var(--color-button-primary-hover);
}

a.Login:focus {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-button-primary-focus);
  outline: none;
}

input[type="reset"],
input[value=" Cancel "] {
  background-color: var(--color-button-secondary-bg);
}

/* Header
   ========================================================================== */
.utility {
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cart-search {
  display: flex;
  align-items: center;
  gap: 16px;
}

span.cart-items {
  top: -3px;
}

span.cart-items svg {
  width: 21px;
  height: 21px;
}

.utility a,
#menu a {
  font-family: var(--font-primary-heading);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  color: var(--color-primary);
}

.utility a {
  font-weight: var(--font-weight-normal);
}

.utility a:hover,
.utility a:active,
.utility a:focus {
  color: var(--color-primary-link);
}

div.Login {
  width: 100%;
  flex: 0 0 100%;
  text-align: right;
}

.utility a.Login {
  color: #fff;
  display: inline-block;
}

header {
  font-size: var(--font-size-md);
}

.sticky-top {
  position: static;
}

.logo img {
  width: 215px;
}

.logo:hover img {
  opacity: 1;
}

.logo p {
    display: inline-block;
    margin: 0 0 0 var(--space-sm);
    font-size: var(--font-size-md);
    position: relative;
    top: 15px;
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 600;
}
.logo p span {
    display: block;
    font-style: italic;
}

/* Menu
   ========================================================================== */
#SMenu {
  display: none;
}

a.menu:empty,
#menu .social a.menu {
  display: none;
}

#menu li#link_after a {
  vertical-align: middle;
}

#menu #SMenu li#link_after:hover a,
#menu #SMenu li#link_after:active a,
#menu #SMenu li#link_after:focus a {
  color: var(--color-primary);
}


/* Mobile Menu */
.slicknav_menu .slicknav_menutxt,
a.slicknav_btn.slicknav_open .slicknav_menutxt {
  font-weight: normal;
  font-size: 0;
}

.slicknav_menu .slicknav_icon-bar {
  font-size: var(--font-size-md);
  background-color: var(--color-primary);
  box-shadow: none !important;
}

.slicknav_arrow {
  padding-left: var(--space-sm);
  float: right;
  font-size: 0;
}

.slicknav_arrow::after {
  -webkit-font-smoothing: antialiased;
  font-weight: var(--font-weight-heavy);
  font-family: var(--font-icon);
  content: "\f105";
  font-size: 24px;
  color: var(--color-primary);
}

.slicknav_collapsed .slicknav_arrow::after {
  content: "\f105" !important;
}

.slicknav_open .slicknav_arrow::after {
  content: "\f107";
}

.slicknav_menutxt {
  color: var(--color-light);
}

#menu a.slicknav_btn {
  padding: 0 var(--space-md);
  position: absolute;
  top: 40px;
  right: 15px;
  background-color: var(--color-button-primary-bg);
  border-radius: 10px;
}

.slicknav_menu .slicknav_icon {
  float: right !important;
  padding-top: 5px;
}

.slicknav_nav {
  padding: 0;
  margin: 0;
}

.slicknav_nav li > a {
  padding: 20px;
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.slicknav_nav .Login a {
  display: inline-block;
}

.slicknav_nav ul {
  padding: 0;
}

.slicknav_nav ul li a {
  background: var(--color-light-alt);
}

.slicknav_nav ul ul li a {
  background: #dfdfdf;
  font-size: var(--font-size-sm);
}

.slicknav_nav ul ul ul li a {
  background: #8d8d8d;
  color: var(--color-light);
}

.slicknav_menu .slicknav_icon {
  display: none;
}

.slicknav_menu .slicknav_menutxt {
  float: right;
}

.slicknav_menu a.slicknav_btn.slicknav_collapsed .slicknav_menutxt::after,
.slicknav_menu a.slicknav_btn.slicknav_open .slicknav_menutxt::after {
  font-family: var(--font-icon);
  -webkit-font-smoothing: antialiased;
  content: "\f0c9";
  font-size: 30px;
  vertical-align: middle;
}

.slicknav_menu a.slicknav_btn.slicknav_open .slicknav_menutxt::after {
  content: "\f00d";
}

/* Version Menu
   ========================================================================== */
.utility span.this_version,
.utility span.version_separator {
  display: none;
}

/* Content
   ========================================================================== */
.body-content > h2:first-child,
.body-content > h3:first-child {
  margin-top: 0;
}

.img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-overlay .img-wrapper .img-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  color: #fff;
  text-decoration: none;
}

.img-overlay .img-wrapper .img-overlay-content p {
  font-weight: normal;
  font-size: var(--font-size-md);
}

.img-overlay .img-wrapper .img-overlay-content p:last-child {
  margin: 0;
  line-height: 1.5;
}

.img-overlay .img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 45, 90, 0.95) 0%,
    rgba(28, 45, 90, 0.6) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0.7;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.img-overlay .img-wrapper:hover::after {
  opacity: 1;
}

.img-overlay .img-wrapper .img-overlay-content:focus {
    text-decoration: underline;
}

.img-overlay .img-wrapper img {
  transition: transform 0.4s ease;
}

.img-overlay .img-wrapper:hover img {
  transform: scale(1.05);
}

.img-overlay-content {
  transition: transform 0.3s ease;
}

.img-overlay .img-wrapper:hover .img-overlay-content {
  transform: translateY(-5px);
}

.info-wrap-inner {
  background-color: var(--color-light-alt);
  position: relative;
  text-align: center;
  padding: var(--space-xxl) var(--space-xl);
  transition: var(--transition-fast);
}

.info-wrap-inner h3 {
  font-size: var(--font-size-lg);
  margin-top: 0;
}

.info-wrap-inner a {
  text-decoration: none;
}

.info-wrap-inner p {
  margin-bottom: 0;
}

.info-wrap-inner:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: var(--color-light);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 10px;
    background-color: var(--color-button-primary-bg);
    color: #fff;
    margin: 0 auto 24px;
}

.icon-circle {
  transition: transform 0.25s ease;
}

.info-wrap-inner:hover .icon-circle {
  transform: translateY(-4px) scale(1.05);
}

.info-wrap-inner:hover .icon-circle {
  background: var(--color-primary-link);
}

.icon-circle svg {
  width: 32px;
  height: 32px;
}

.news h2 {
  margin-top: 0;
}

.news .ZineIndex .ZineItem {
  background-color: var(--color-light-alt);
  padding: var(--space-xxl) var(--space-xl);
  border: none;
}

.news .ZineLink {
  margin: var(--space-sm) 0;
}

.ZineIndex .ZineItem .ZineSummaryIndex {
  display: none;
}

.ZineLink {
  font-family: var(--font-primary-heading);
  display: block;
}

.news .ZineTools {
  display: none;
}

.ZineTitle h2 {
  margin-top: 0;
}

.section-private div.ZineIndex {
  display: block;
}

.section-private table.ZineIndex {
  display: table;
  font-size: var(--font-size-sm);
}

.card-hover,
.ZinePhotodirectory li {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover,
.ZinePhotodirectory li:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-hover img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-hover:hover img {
  transform: scale(1.05);
}

.card-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-hover:hover::after {
  opacity: 1;
}

.card-hover h1 {
  font-size: 26px;
  font-weight: var(--font-weight-semi-bold);
}

@media (max-width: 768px) {
  .card-hover:hover {
    transform: none;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  }
}


.fade-in,
.fade-in-up {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible,
.fade-in-up.is-visible {
  opacity: 1;
}

.fade-in-up {
  transform: translateY(20px);
}

.fade-in-up.is-visible {
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }
.delay-5 { transition-delay: 0.45s; }
.delay-6 { transition-delay: 0.55s; }
.delay-7 { transition-delay: 0.65s; }

.hero {
  opacity: 0;
  transition: 
    opacity 0.7s ease,
    transform 0.3s ease;
}

.hero.is-visible {
  opacity: 1;
}



/* BX Slider
   ========================================================================== */
.bx-wrapper {
  margin: 0 0 30px !important;
}

.bx-wrapper img,
.hero-inside img {
  width: 100%;
}

.bx-wrapper .bx-pager {
  bottom: 10px !important;
  z-index: 999;
  max-width: 1140px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background-color: rgba(255,255,255,.5) !important;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background-color: var(--color-light) !important;
}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    background: none !important;
    margin-top: -24px !important; /* half of 48px height */
}

.bx-wrapper .bx-controls-direction a {
    font-family: var(--font-icon);
    color: var(--color-light);
    text-decoration: none;
    text-indent: 0 !important;
    overflow: visible !important;
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px !important;
    height: 48px !important;
    font-size: 0;
}

.bx-wrapper .bx-prev::before {
    content: "\f053";
}

.bx-wrapper .bx-next::before {
    content: "\f054";
}

.bx-wrapper .bx-prev::before,
.bx-wrapper .bx-next::before {
    font-size: 36px; /* icon size */
}

.bx-wrapper .bx-controls-direction a:hover {
    color: var(--color-secondary);
}


/* Default hidden state */
#bxslider9 > div .bx-caption > span {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
#bxslider9 > div .bx-caption > span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


.hero .bx-wrapper .bx-caption {
  position: absolute !important;
  inset: 0;
  display: flex;
  align-items: center;
  text-align: center;
  background: rgba(28 45 90 / 40%) !important;
  padding: var(--space-lg); 0;
  }

.hero .bx-wrapper .bx-caption span p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.bxslider_title {
  line-height: 1.1;
  margin: 0 auto var(--space-xs);
}

.bxslider_caption a {
  color: var(--color-light);
}

.bxslider_caption .button {
  margin-top: var(--space-md);
}

.hero .bx-wrapper .bx-caption span {
  font-family: inherit !important;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  color: #fff !important;
  background: none !important;
  font-size: var(--font-size-md) !important;
}

.hero .bx-wrapper .bx-caption span,
.hero .bxslider_title {
    color: var(--color-light) !important;
}

.bx-wrapper,
.bx-viewport,
.bxslider {
  min-height: 300px;
}

.bxslider > div {
  height: 100%;
}

.bxslider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}




/* ========================================
   INSIDE PAGE HERO BANNER
   ======================================== */

.hero-inside {
    position: relative;
    min-height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
}

/* ========================================
   ROTATING BACKGROUND IMAGE
   ======================================== */

.hero-inside .ImageRotateHolder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ensure image rotation container fills banner */
.hero-inside .ImageRotateHolder #ImageRotate_Div {
    width: 100%;
    height: 100%;
}

/* Image sizing */
.hero-inside .ImageRotateHolder img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Darken the rotating background image */
.hero-inside .ImageRotateHolder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(28, 45, 90, 0);
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   BLUE PANEL
   ======================================== */

.hero-inside::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #aeb4bf;
    z-index: 1;
}

/* ========================================
   HEADING CONTAINER
   ======================================== */

.hero-inside .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Heading */
.hero-inside h1 {
    position: relative;
    font-weight: var(--font-weight-bold);
    color: white;
    line-height: 1.2;
    padding: var(--space-lg) 0;
    margin: 0;
    text-align: left;
    max-width: 75%;
    overflow-wrap: break-word;
}

/* ========================================
   MOBILE - HEADING ABOVE IMAGE
   ======================================== */

@media screen and (max-width: 767px) {

    .hero-inside {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    /* Remove original blue overlay */
    .hero-inside::before {
        display: none;
    }

    /* Heading and full-width blue background */
    .hero-inside .container {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 100%;
        background: #aeb4bf;
        padding: 1px 0;
        z-index: 2;
    }

    /* Heading */
    .hero-inside h1 {
        max-width: 100%;
        padding: var(--space-lg) 15px;
        margin: 0;
    }

    /* Rotating image underneath */
    .hero-inside .ImageRotateHolder {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: 120px;
        flex: 0 0 120px;
        z-index: 0;
    }

    .hero-inside .ImageRotateHolder #ImageRotate_Div {
        width: 100%;
        height: 100%;
    }

}

/* ========================================
   DESKTOP & TABLET
   ======================================== */

@media screen and (min-width: 768px) {

    .hero-inside {
        min-height: 220px;
    }

    @supports (clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%)) {
        .hero-inside::before {
            clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%);
        }
    }

    .hero-inside h1 {
        font-size: 36px;
        max-width: 55%;
        padding-right: 15px;
    }

}



/* Breadcrumb
   ========================================================================== */
.breadcrumb,
.ZinePath {
  font-family: var(--font-primary-heading);
  margin: 0 0 var(--space-xxl);
  padding: 0;
  background: none;
  border-radius: 0;
}

.breadcrumb,
.ZinePath,
.pmenu {
  font-size: var(--font-size-sm);
}

.pmenu a,
.ZinePath a {
  margin: 0 7px;
  text-decoration: none;
}

.pmenu a:first-child,
.ZinePath a:first-child {
  margin-left: 0;
}

.pmenu a:last-child,
.ZinePath a:last-child {
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-button-primary-bg);
  margin-right: 0;
}

/* Sidebar
   ========================================================================== */
.sidebar h2 {
  font-size: var(--font-size-lg);
}

#VMenu,
#VMenu ul,
#custom_VMenu,
#custom_VMenu ul,
.sidebar .vmenu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#VMenu ul,
#custom_VMenu ul {
  padding: 0 0 var(--space-sm) var(--space-xl);
  border-left: 1px solid #eef1f4;
  margin-left: 6px;
}

#VMenu a,
#custom_VMenu a,
.sidebar .vmenu a {
  font-family: var(--font-primary-heading);
  display: block;
  padding: 6px 0;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  text-decoration: none;
}

#VMenu a#thispage,
.sidebar .vmenu a#toppage {
  position: relative;
  color: var(--color-button-primary-bg);
}

#VMenu a#thispage::before,
.sidebar .vmenu a#toppage::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--color-button-primary-bg);
  border-radius: 2px;
}

#VMenu a:hover,
#custom_VMenu a:hover,
.sidebar .vmenu a:hover {
  background: var(--color-light-alt);
  color: var(--color-primary-link-hover);
  text-decoration: none;
}

#VMenu ul {
  padding: 0 0 var(--space-sm) var(--space-xl);
}

.VM_expand,
.VM_collapse {
  display: flex;
  align-items: center;
  cursor: pointer;
  min-height: 32px;
}

.VM_expand a.menu,
.VM_collapse a.menu {
  flex: 1;
}

.VM_expand::after,
.VM_collapse::after {
  margin-left: auto;
  padding-left: var(--space-md);
  color: var(--color-muted);
  font-size: 28px;
  line-height: 1;
  border-left: 1px solid #eef1f4;
}

.VM_collapse::after {
  /*content: "+"; */
  content: "\25B8"; /* closed */
}

.VM_expand::after {
  /*content: "−"; */
  content: "\25BE"; /* open */
}

#VMenu ul .VM_expand::after,
#VMenu ul .VM_collapse::after {
  padding-left: var(--space-md);
}


/* vmenu */
.vmenu {
  padding-left: var(--space-lg);
}

.vmenu a.menu {
  display: block;
  position: relative;
  padding-left: 18px;
}

.vmenu br {
  display: none;
}

.vmenu a.menu::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--color-text);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar .vmenu a {
  padding-left: 0;
}

.sidebar .vmenu a::before {
  content: none;
}

/* Footer
   ========================================================================== */
#footer {
  background-color: var(--color-light-alt);
}

#footer h2 {
    font-size: var(--font-size-lg);
}

#footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#footer li {
  margin-bottom: var(--space-xs);
}

#footer .footer-bottom img {
  width: 200px;
}

#footer img {
  mix-blend-mode: multiply;
}

#footer,
.footer-bottom {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.footer-bottom {
  font-family: var(--font-primary-heading);
}

/* Membership / Modules
   ========================================================================== */
.MembershipStatus {
  margin-top: 0;
}

.white-popup .Event h2 {
  margin-top: 0;
}

.white-popup .Event p.EventDate {
  margin-bottom: 0;
}

/* Popup hover flicker fix */

.EvtSessionRegistrant .popup {
  right: 18px !important;
}
div#popup1 .EvtFeeThankYou {
  font-size: 16px;
  padding: 10px 10px 7px;
}
.EvtReg table input {
  margin-right: 5px;
}
div.EvtRegFinish p {
  margin: 0;
}

.account_history div.popup {
  left: 0;
}

div.EvtRegFinish h1 {
  margin: 0;
}

.error .EventFee {
  background-color: #f2dede;
  padding: 0;
}

.Event .blindbox {
  margin-bottom: 20px;
}

/* Pay
   ========================================================================== */
.Pay form#payment-form,
.stripe form#payment-form {
  overflow: auto;
}

.Pay form#payment-form .col-sm-4,
.stripe form#payment-form .col-sm-4 {
  width: auto;
}

div.overlay {
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-overlay);
}

div.overlayBox {
  width: 400px !important;
  margin: 50px auto;
  padding: 0 0 30px 0;
}

/* Membership
   ========================================================================== */
ul.MembershipType {
  margin: 0 0 0 var(--space-xxl);
  list-style-type: disc;
}

ul.MembershipType li {
  padding-bottom: 10px;
}

.ContactForm table td {
  display: block;
  margin-bottom: 20px;
}

.edit_profile td {
  display: block;
}

.edit_profile input,
.edit_profile textarea {
  max-width: 600px;
}

.new_contact h1,
.edit_profile h1,
.edit_contacts h1,
.Membership .account_history .Pay h1,
.edit_photo h1 {
  font-size: 24px;
  margin-top: 0;
}

.edit_contacts h2 {
  margin-top: 0;
  font-size: 20px;
}

ul.Membership_update_profile_menu li a:hover {
  background-color: #eee;
}

.branch_management h1 {
  font-size: 32px;
  margin-top: 30px;
}

.branch_management .tabpane h2:first-child {
  margin-top: 0;
}

.branch_management table.Report td {
  vertical-align: middle;
  font-size: var(--font-size-sm);
}

.branch_management table.Report th {
  background: #888;
  color: #fff;
}

.mfp-close-btn-in .mfp-close:hover,
.mfp-close-btn-in .mfp-close:active,
.mfp-close-btn-in .mfp-close:focus {
  background: none;
}

/* Membership Report
   ========================================================================== */

.MembershipReports {
  max-width: 100%;
  max-height: 800px;
  overflow: auto;
  font-size: var(--font-size-sm);
}

.MembershipReports table thead tr {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--color-muted);
  color: var(--color-light);
  white-space: nowrap;
}

.MembershipReports form#mail {
  display: flex;
  margin-bottom: var(--space-lg);
  gap: 12px;
  margin-left: 4px;   
}

/* Mini Profile
   ========================================================================== */
.MembershipMiniProfile .photo img {
  max-width: 100px;
}

.MembershipMiniProfile p {
  margin-bottom: 0;
}

.MembershipMiniProfile a,
ul.MembershipDirectoryMenu a {
  text-decoration: none;
}

.MembershipMiniProfile .org {
  font-style: italic;
  color: #777;
  font-size: var(--font-size-sm);
}

div#secondary_m .btn {
  margin: 5px 0;
  padding: 3px 8px;
  font-size: var(--font-size-sm);
}

/* Profile
   ========================================================================== */
.profile-image img {
  max-width: 180px;
}

.ContactVcard {
  display: none;
}

h1.membername {
  font-size: 24px;
  margin: 0;
  display: none;
}

.info_container p {
  margin-bottom: 10px;
}

.info_container .small {
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

div#secondary_m p {
  margin-bottom: 10px;
}

.info_container p.ContactPhone {
  margin-bottom: 0;
}

.social-profile div:first-child::before {
  content: "Connect with me:";
  display: block;
  font-size: 24px;
  margin: 24px 0 3px;
  color: var(--color-primary);
}

.social-profile.social-mini div:first-child::before {
  content: "Connect with us:";
  font-size: 18px;
  margin: 8px 0 3px;
}

.social-profile a {
  font-size: 22px;
}

.twitter {
  color: #111;
}

.facebook {
  color: #3b5998;
}

.linkedin {
  color: #0072b1;
}

.instagram {
  color: #d6249f;
}

.profile-contact div.Contact {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.profile-contact div.Contact:last-of-type {
  border: none;
  margin: 0;
  padding: 0;
}

/* Photodirectory
   ========================================================================== */
.ZinePhotodirectory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ZinePhotodirectory li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.ZinePhotodirectory img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 12px;
  float: none;
  display: block;
}

.ZinePhotodirectory h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.ZinePhotodirectory h4 {
  margin: 4px 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}

.ZinePhotodirectory p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.read-bio {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 991px) {
    .ZinePhotodirectory {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .ZinePhotodirectory {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MISC page styles
   ========================================================================== */
table.ZineTools tr:last-child {
  display: none;
}

.ZineComment table.ZineTools tr:last-child {
  display: block;
}

.job_postings h1 {
  display: none;
}

input[value="Donate"] {
  vertical-align: baseline;
}

ul[style*="list-style-type: circle;"],
ul[style*="list-style-type: square;"] {
  list-style-type: none !important;
}

ul[style*="list-style-type: circle;"] > li,
ul[style*="list-style-type: square;"] > li {
  position: relative;
  margin-bottom: var(--space-md);
}

ul[style*="list-style-type: circle;"] > li::before,
ul[style*="list-style-type: square;"] > li::before {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: var(--font-icon);
  content: "\f00c";
  color: var(--color-secondary);
  font-weight: var(--font-weight-heavy);
  position: absolute;
  left: -24px;
  top: 5px;
}

ul[style*="list-style-type: square;"] > li::before {
  content: "\f1c1";
  color: #4c4545;
  font-weight: 400;
}

table h1,
table h2,
table h3,
table h4,
table h5 {
  margin-top: 0;
}

.two-col td {
  width: 50%;
}

.three-col td {
  width: 33%;
}

.four-col td {
  width: 25%;
}

.table-space {
  border-collapse: separate;
  border-spacing: 30px;
}

.directory_adv_search div {
  margin-bottom: var(--space-md);
}

.rounded-image img,
.rounded-image {
  border-radius: 10px;
}

.rounded-circle img {
  border-radius: 50%;
}

.attention-members p {
    margin-bottom: 10px;
}

.attention-members ul {
  margin: 0;
}

iframe {
  width: 100%;
}

.SponsorshipStatus {
  font-size: var(--font-size-md);
  padding: 20px;
  display: inline-block;
  background: var(--color-light-alt);
  border: 1px solid var(--color-border);
}

.SponsorshipStatus a.renew {
  margin: 10px 0 0;
}

.hide-rss table.ZineTools,
.hide-title-rss .ZineArticle.Zine_photodirectory,
.hide-title-rss table.ZineTools,
.hide-title-rss .ZineArticle.Zine_accordion {
  display: none;
}

th {
  line-height: 1.4;
}

caption {
  caption-side: top;
}

table td p:last-child {
  margin: 0;
}

p.PayAccountWarning {
  display: none;
}

.account_history table {
  border-collapse: collapse;
  width: 100%;
}

main .Search form input[type="text"],
.Donation input#dAmount {
  vertical-align: top;
  max-width: 250px;
  width: 100%;
  font-size: var(--font-size-md);
  height: 51px;
  line-height: 51px;
  padding: 0 var(--space-md);
}

main .Search form input[type="text"] {
  margin-right: 4px;
}

.Donation input#dAmount {
  max-width: none;
  width: auto;
}

.Search h1:last-of-type {
  font-size: 24px;
}

/* More space between Yes and No columns in form tables */
table.QA_question_group th {
  padding: 5px;
}
table.QA_question_group .QA_input {
  text-align: center;
}

/* Popups */
.white-popup h3 {
  margin-top: 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-secondary);
}

.white-popup p:last-of-type {
  margin: 0;
}

/* Gallery
   ========================================================================== */
.ppt {
  display: none !important;
}

#JGallery h1 {
  font-size: 24px;
  display: none;
}

#JGallery h1::after {
  content: none;
}

ul.gallery li {
  margin-bottom: 10px;
}

ul.gallery li img {
  vertical-align: baseline;
}

div.pp_default .pp_social {
  line-height: 1;
  font-size: var(--font-size-md);
}

.pp_social .facebook {
  width: 67px !important;
}

div.ppt,
a.pp_expand {
  display: none !important;
}


/* Return to top
   ========================================================================== */
#return-to-top {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  padding: 0;
  background: none;
  z-index: var(--z-overlay);

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* visible state */
#return-to-top.show {
  opacity: 0.7;
  visibility: visible;
  transform: translateY(0);
}

/* hover + focus */
#return-to-top:hover,
#return-to-top:focus {
  opacity: 1;
}

#return-to-top svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: var(--color-button-primary-bg);
}

/* motion accessibility */
@media (prefers-reduced-motion: reduce) {
  #return-to-top {
    transition: none;
  }
}