body {
  font-family: "Open Sans", sans-serif;
}



/* Navbar */
.brand-logo img, .dj-offcanvas-logo img {
  height: 80%;
  width: auto;
  max-width: 150px !important;
}
.dj-mobile-open-btn.dj-fa-5 .dj-mobile-open-icon:before {
  font-size: 30px !important;
}
.dj-megamenu-select-dark .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn, .dj-megamenu-accordion-dark .dj-mobile-open-btn, .dj-mobile-open-btn.active .dj-mobile-open-icon, .dj-megamenu-select-dark .dj-mobile-open-btn:focus, .dj-megamenu-select-dark:hover .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:hover, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:focus, .dj-megamenu-accordion-dark .dj-mobile-open-btn:hover, .dj-megamenu-accordion-dark .dj-mobile-open-btn:focus {
  background: transparent !important;
  color: white !important;
  position: relative;
  top: 5px;
}
.container-header .container-nav {
    justify-content: end;
    align-items: center;
}
.container-header {
    display: grid;
    background-color: #103876;
    background-image: unset;
}
.container-header .grid-child:first-child {
    grid-column: 1;
    grid-row: 1;
}

.container-header .grid-child:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

#dj-megamenu136 a {
    color: white;
}
.dj-submenu a {
    color: #103876 !important;
}
.dj-megamenu-modern li a.dj-up_a > span.dj-drop {
    padding: 0 0.5rem 0 0 !important;
}
.dj-megamenu-modern .arrow {
  display: none !important;
}

/* Sidebar Menu */
.sidebar-left {
  border: none;
}
.sidebar-left .card-body {
  padding: 0;
}
.sidebar-title, .directory-title, .profile-title, .request-title {
  text-align: center;
  background-color: #103876;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 1rem;
  font-size: 1.125em;
  color: white;
  font-family: "Doppio One", sans-serif;
  font-style: normal;
  font-weight: 400;
}
.directory-title, .profile-title {
  text-align: left;
  padding-left: 1.25rem;
}
.sidebar-left .sidebar-menu {
  background-color: #F6F6F6;
  margin-top: 20px;
  padding: 1rem;
}
.sidebar-left .sidebar-menu li:first-child {
  padding-top: 0;
}
.sidebar-left .sidebar-menu li:last-child {
  padding-bottom: 0;
}

/* Member Directory */
/* Optional: Some basic styling for the filters */
#user-filters button {
  padding: 8px 15px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  cursor: pointer;
  margin-right: 5px;
}
#user-filters button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
.user-entry {
  padding: 0 10px;
}
#the-user-list .user-entry:first-child {
  padding-top: 10px;
}
#the-user-list :nth-child(10 of .user-entry) {
  padding-bottom: 10px;
}
a.member-picture img {
  max-width: 130px;
  height: auto;
  margin-right: 0.5rem;
  padding: 0.65rem;
}
.user-name-link {
  font-weight: 600;
}
.user-card-flex {
  display: flex;
  align-items: center; /* Aligns items to the top */
  gap: 10px; /* Creates space between image and text */
  background-color: #FFFFFF;
  margin: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 14px #aaaaaa;
}
.user-text-info .user-name-link {
  display: block; /* Makes the link a block to take its own line */
}
#the-user-list {
  background-color: #F6F6F6;
}
.usersanywhere_pagination {
  background-color: #FFFFFF;
}


/* Member Profile Page Styles */
.btn-edit-profile {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.btn-edit-profile .text {
  display: none;
}
.com-users-profile__edit.btn-toolbar {
  margin-left: auto;
}
.member-profile-details-section {
  background-color: #E0EBFC;
  border-radius: 10px;
  position: relative;
}
.member-profile-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 25px;
}
.member-profile-details-section .com-users-profile__edit {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.member-profile-image {
  padding-right: 15px;
  margin-bottom: 10px;
}
.member-profile-image img {
  max-width: 160px;
}
.member-name {
  display: flex;
  align-items: flex-start;  
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-bottom: 0;
}
.member-profile {
  margin-bottom: 0;
}
.member-profile-name {
  color: #103876;
  font-size: 1em;
  font-weight: 600;
}
.member-profile-nickname {

}
@media screen and (min-width: 576px) {
  .btn-edit-profile .text {
    display: inline-block;
  }
  .member-name {
    justify-content: flex-end;
  }
  .member-profile-details {
    flex-direction: row;
  }
  .member-profile-image {
    margin-bottom: 0;
  }
  .member-profile-name {
    font-size: 1.15em;
  }
}

/* Membership Section */
.member-profile-membership-section {
  position: relative;
}
.member-profile-membership-section row {
  flex-flow: column;
}
.member-profile-membership-section .title {
  text-align: center;
  background-color: #103876;
  border-radius: 10px;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 1.125em;
  color: white;
  font-family: "Doppio One", sans-serif;
  font-style: normal;
  font-weight: 400;
}
.member-profile-membership-section .details {
  background-color: #F7F7F7;
  margin-top: 15px;
}
.member-profile-membership-section .banner {
  background: url(/images/backgrounds/membership-position-backdrop.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 175px;
  width: 94%;
  text-align: center;
  margin: 0 auto;
  max-width: 400px;
}
.member-profile-membership-section .emblem {
  background: url(/images/backgrounds/downtown-rotary-emblem.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
  width: 94%;
  text-align: center;
  margin: 0 auto;
  max-width: 200px;
}
.member-club-position {
  text-align: center;
  padding-top: 20%;
  padding-bottom: 12%;
  color: white;
  font-size: 1.175em;
}

/* Membership Section */
.member-profile-membership-section .name {
  font-family: "Doppio One", sans-serif;
  font-size: 1.3rem;
  color: #103876;
}

/* Historical Roles Carousel */
.historical-slider .card, .award-slider .card {
  max-width: 200px;
  margin: 0 auto;
  border: none;
}
.historical-slider .card img, .award-slider .card img {
  max-width: 100px;
  margin: 0 auto;
}
.historical-slider h5, .award-slider h5 {
  font-size: 0.75rem;
}
.glide__arrow {
  background-color: #103876 !important;
}

/* Membership Row Equal Heights */
@media (min-width: 768px) {
  .row-equal-height {
    /* Ensures columns themselves are ready for flex content */
    display: flex; 
  }

  .row-equal-height .col-md-6 {
    /* Turns the column into a flex container that stacks items vertically */
    display: flex;
    flex-direction: column;
  }
  
  .row-equal-height .col-md-6 .details {
    /* Tells the .details div to grow and fill all available vertical space */
    flex-grow: 1;
  }
}

/* Footer */
#mod-custom138 {
  width: 100%;
}
.footer {
  background-color: #E0EBFC;
  background-image: unset;
}
.footer-header {
  text-align: center;
  background-color: #103876;
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 1.125em;
  color: white;
  font-family: "Doppio One", sans-serif;
  font-style: normal;
  font-weight: 400;
}
.footer .grid-child {
  padding: 0.5rem;
}
.footer-body {
  background-color: #F7F7F7;
  margin-top: 0.75rem;
  color: black;
  border-radius: 0.5rem;
  height: auto;
  margin-bottom: 0.5rem;
}
.footer-body p {
  text-align: left;
  padding: 0.5rem 1rem;
}
.footer-social {
  text-align: left;
  padding: 0 0 0.5rem 1rem;
  font-size: 2rem;
}
.footer-social a {
  text-decoration: none;
  margin-right: 0.75rem;
}
.footer-social i {
  color: #293F8C;
}
.footer-about {
  background-color: #103876;
  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-top: 15px;
  height: auto;
  margin-bottom: 0.5rem;
}
.footer-about img {
  max-width: 230px;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.footer-about p {
  padding: 0 2rem;
  line-height: 1.5rem;
}
.footerbar {
  background-color: #174590;
  padding: 1rem;
  line-height: 1.65rem;
  width: 100%;
  text-align: center;
  color: white;
  height: auto;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .footer-about, .footer-body {
    height: 100%;
  }
}

/* Login Page */
.com-users-login {
  background-color: #F7F7F7;
  padding: 2rem;
  border-radius: 10px;
}
.login-header {
  color: #385486;
  line-height: 2rem;
}
.com-users-login__options .list-group-item {
  border-radius: 0.5rem;
  margin: 0 0.5rem;
}
.com-users-login__options {
    margin-top: 1rem;
}
#com-users-login__form fieldset {
  margin-bottom: 1rem;
}
.com-users-login__submit {
  text-align: center;
}
#com-users-login__form  .login-btn {
  background-color: #D39E25;
  border-color: #D39E25;
  width: 50%;
}
.notice {
  color: #13519E;
}

/* 404 Page */
.page-header.page-not-found {
  background-color: #E0EBFC;
  text-align: center;
  color: #103876;
  padding: 1.5rem;
  border-radius: 8px;
}