
	  @import url('https://fonts.googleapis.com/css2?family=Carattere&family=Poppins:wght@400;600&family=Corinthia:wght@400;700&family=DM+Serif+Text:ital@0;1&family=Poiret+One&display=swap');
html,body {
  margin: 0;
  padding: 0;
	background: #e9e8e8;
	font-family: 'Poppins', sans-serif;
	height: 100%;
}

.body-content {
  flex: 1;
	margin: 0 auto;
	width: 85%;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

   .sticky-header {
      position: sticky;
      top: 0;
      width: 100%;
      height: 136px;
      background: transparent;
      z-index: 999;
      display: flex;
      align-items: flex-start;
    }

    .header-top {
      position: absolute;
      top: 0;
      width: 100%;
      height: 81px;
	  background-color: #0568c5;
      /*background-color: #1e40a7;*/
      z-index: -1;
    }

    .logo-container {
      height: 136px;
      width: 136px;
      margin-left: 50px;
      perspective: 1000px;
      flex-shrink: 0;
    }

    .logo-inner {
      width: 136px;
      height: 136px;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      position: relative;
    }

    .logo-container:hover .logo-inner {
      transform: rotateY(180deg);
    }

    .logo-front,
    .logo-back {
      position: absolute;
      width: 136px;
      height: 136px;
      backface-visibility: hidden;
    }

    .logo-front {
      background: url('images/baiz-logo1.png') no-repeat center/contain;
    }

    .logo-back {
      background: url('images/head_zpb-logo2.png') no-repeat center/contain;
      transform: rotateY(180deg);
    }

    .nav-container {
      display: flex;
      align-items: flex-start;
      margin-left: 20px;
      flex-grow: 1;
      margin-top: 25px;
      font-family: 'Poppins', sans-serif;
	  font-size: 1.1em;
      position: relative;
      z-index: 1000;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
      z-index: 1000;
    }

	  nav a.navi,
    .dropdown-toggle {
      color: white;
      text-decoration: none;
      padding: 10px 10px;
      display: inline-block;
    }

nav a.navi:hover {
	color: #E9E6E6;
}
    .dropdown-wrapper {
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .dropdown-toggle {
      display: flex;
      align-items: center;
      cursor: pointer;
		
    }

    .dropdown-arrow {
      margin-left: 5px;
      transition: transform 0.3s ease;
    }

    .dropdown-arrow.rotate {
      transform: rotate(180deg);
    }

    .dropdown-menu {
      /*background-color: #0568c5;*/
		background-color: #1e40a7;
      color: white;
      display: none;
      flex-direction: column;
      padding: 10px;
      min-width: 200px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      margin-top: -2px;
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1001;
    }

    .dropdown-menu.show {
      display: flex;
    }

    .dropdown-menu a.navi {
      padding: 8px 2px;
      color: white;
      text-decoration: none;
    }

    .dropdown-menu a.navi:hover {
      /*background-color: #122e84;*/
	  background-color: #0568c5;
		color: #E9E6E6;
    }


    .dropdown-menu::before {
      content: "";
      position: absolute;
      top: -10px;
      left: 20px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #1e40a7;
    }

    .mobile-menu-icon {
      display: none;
      color: white;
      font-size: 28px;
      position: absolute;
      top: 26px;
      left: 10px;
      cursor: pointer;
      z-index: 1002;
    }
/*768*/
    @media (max-width: 950px) {
      .mobile-menu-icon {
        display: block;
		  
      }
		.logo-container {
			width: 80px;
      height: 78px;
		}
		.logo-inner{
			width: 80px;
      height: 78px;
		}
		.logo-front {
			 width: 80px;
      height: 78px;
			
		}
		
		.logo-back{
			width: 80px;
      height: 78px;
		
		}
		
		.sticky-header{
			height: 98px;
		}

      .nav-container nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: fit-content;
        min-width: 230px;
        height: 100%;
        /*background-color: #1e40a7;*/
		background-color: #0568c5;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 1001;
        text-align: left;
      }

      .nav-container nav.show {
        left: 0;
      }
/****/
      nav a,
      .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding-left: 15px;
		 
      }

      .dropdown-wrapper {
        width: 100%;
      }

      .dropdown-toggle {
        justify-content: space-between;
        padding: 10px 0;
      }

      .dropdown-menu {
        position: static !important;
        margin: 0 !important;
        box-shadow: none;
        width: 100%;
        animation: fadeIn 0.3s ease-in-out;
        padding-top: 5px;
		   
      }

      .dropdown-menu::before {
        display: none;
      }

      .dropdown-wrapper .dropdown-menu {
        display: none;
      }

      .dropdown-wrapper .dropdown-menu.show {
        display: flex;
      }
		
		.header-top {
			height: 61px;
		}
    }

    @media (min-width:868px) {
      .dropdown-wrapper:hover .dropdown-menu {
        display: flex;
      }

      .dropdown-wrapper:hover .dropdown-arrow {
        transform: rotate(180deg);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(5px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
	  
	  .login-toggle {
      position: absolute;
      right: 20px;
      top: 26px;
      color: white;
      font-size: 28px;
      cursor: pointer;
      z-index: 1002;
    }

    .login-box {
      position:fixed;
      top: 70px;
      right: 20px;
      width: 200px;
      height: 110px;
      /*background: #0568c5;*/
	  background: #1e40a7;
      border-radius: 10px;
      display: none;
      flex-direction: column;
      padding: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      z-index: 1001;
      animation: fadeIn 0.3s ease-in-out;
    }

    .login-box::before {
      content: "";
      position: absolute;
      top: -10px;
      right: 20px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #1e40a7;
    }

    .login-box input {
      margin-bottom: 5px;
      padding: 5px;
      width: calc(100% - 10px);
	  height: 25px;
    }

    .login-button {
      padding: 2px;
      width: 95%;
      background-color: #c9e3fa;
      color: #1e40a7;
      border: none;
      cursor: pointer;
      border-radius: 4px;
    }

.login-box img {
      width: 35px;
      height: 35px;
      object-fit: cover;
      border-radius: 50%;
    }

.edit_button {
	
	color:#080BAC;
	/*font-size: 15px;*/
	background-color: #c9e3fa;
}

.upload_pic_circle {
      width: 35px;
      object-fit: cover;
      border-radius: 50%;
    }
/**********HOME SLIDER***************/
	.slider-container {
  margin-top: -55px;
  width: 100%;
  aspect-ratio: 16 / 5; /* 500px height for 1600px width */
  overflow: hidden;
  position: relative;
}

	  .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
	  
	  .slide-overlay {
		  position: absolute;
      bottom: 0;
      width: 100%;
      /*height: 155px;*/
	  height: 40%;
      background: url('images/head-cover.png') no-repeat bottom center;
      background-size: contain;
      background-repeat: repeat-x;
      z-index: 10;
	  }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    .slide-text {
      color: white;
      font-family: 'DM Serif Text', serif;
      /*font-size: 3em;*/
		font-size: clamp(16px, 4vw, 3em);
		text-shadow:
       2px 2px 0 #000,
     -1px -1px 0 #000,  
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
      /*text-shadow: 2px 2px 5px rgba(0,0,0,0.7);*/
      /*margin-bottom: 20%;*/
		bottom: calc(40% + 10px);
      text-align: center;
		/*-webkit-text-stroke: 1px #313232;*/
		font-weight: bolder;
		position: absolute;
    }

.slide-text a {
	color: white;
	text-decoration: none;
	
	
}

.slide-text a:hover {
	color: #f5f5f5;
	text-decoration: none;
}

    .indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
		z-index: 11;
    }

    .indicator {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background-color: rgba(5, 104, 197, 0.6);
		/*background-color: rgba(255, 255, 255, 0.4); white*/
      cursor: pointer;
      border: 5px solid transparent;
    }

    .indicator.active {
      border-color: rgba(12, 12, 82, 0.8);
		/*border-color: rgba(255, 255, 255, 0.8);*/
    }
	  
	 /*******PRINCIPLES************/
	  
.home_principle_contain {
	display: flex;
	flex-direction: column;
	align-items: center;
		/*  width: 100%;*/
	background: url('images/star-bg.png') repeat-x;
}

.home_princ-wrapper {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;

}

.home_princ-wrapper-left {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;

}
.home_princ_txt_right {
	/*width: 400px;*/
	  width: clamp(200px, 100%, 400px);
	display: flex;
	flex-direction: column;
	justify-content: start;
}

.home_princ_txt_left {
	width: 400px;
	gap:20px;
	flex: 1;

}


h4.txt_principles_title {
	font-family: "Carattere", cursive;
	font-weight: 400;
	font-size: clamp(4em, 5vw, 11em);
	margin: 0 0 2px;
	color: #8D8C8C;
}

p.txt_principle_desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(1em, 2vw, 2em);
  margin: 0;
  color: #323131;
	padding: 0 10px;
}

.principle-container {
position: relative;
/*width: clamp(400px, 100%, 615px);*/
width: 615px;
height: 503px;
background-size: cover;
background-position: center;
overflow: hidden;
}

.principle-overlay {
position: absolute;
top: 0;
width: 97px;
height: 503px;
background-size: cover;
background-position: center;
transition: background-image 0.3s ease;
}

.principle-overlay.left {
left: 0;
right: auto;
}

.principle-overlay.right {
right: 0;
left: auto;
}

.star {
position: absolute;
width: 100%;
height: 230px;
opacity: 0;
pointer-events: none;
bottom: -62px;
}

.star1 {
background: url('images/home-star-med1.png') no-repeat center/contain;
z-index: 4;
}

.star2 {
background: url('images/home-star-sm1.png') no-repeat center/contain;
z-index: 5;
}

.star3 {
background: url('images/home-star-lg1.png') no-repeat center/contain;
z-index: 6;
}

	  @media (max-width: 868px) {
      .principle-container {
		 width:360px;
      /*width: clamp(500px, 100%, 615px);*/
		  }
		  .star {
			  bottom:-74px;
		  }
		  
	  .home_princ-wrapper-left {
		 flex-direction: column-reverse;
		  }
		  
		  .slider-container {
			  aspect-ratio: 16 / 7; /* 500px height for 1600px width */

			}
	  }
/*********END PRINCIPLES***********/

/*******EVENTS HOME******************/
	  .events-section {
      width: 85%;
      margin: 50px auto;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .event {
      background: #fff;
      flex: 1 1 400px;
      max-width: calc(50% - 15px);
      position: relative;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      padding: 20px;
      display: flex;
      flex-direction: column;
      /*justify-content: center;*/
    }


    .event-date {
      position: absolute;
      top: -50px;
      left: 20px;
      background: #fff;
      width: 70px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
      border-bottom: 4px solid #0568c5;
      padding: 10px 0;
      font-family: 'Poppins', sans-serif;
    }

    .event-date .month {
      font-weight: bold;
      text-transform: uppercase;
    }

    .event-date .day {
      font-size: 24px;
      font-weight: bold;
      color: #0568c5;
    }

    .event-details {
      margin-top: 20px;
    }

    @media (max-width: 900px) {
      .event {
        max-width: 100%;
      }
    }

/********* EVENT PAGE *************/
.event_page-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.event_page-section {
	flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 60px;
	/*
  width: 100%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-family: 'Poppins', sans-serif;
	*/
}

.event_page-item {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 60px 20px 20px 20px; /* Enough top padding to accommodate taller date box */
	
}

.event_page-reg {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px 20px 20px 20px; /* Enough top padding to accommodate taller date box */
	
}

.event_page-date {
  position: absolute;
  top: -35px;
  left: 20px;
  min-width: 120px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-bottom: 4px solid #0568c5;
  padding: 10px 12px;
  text-align: center;
  z-index: 1;
  border-radius: 0px;
  white-space: normal;
  word-break: break-word;
}

.event_page-date .weekday {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.event_page-date .fulldate {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.event_page-content {
  /*margin-top: 10px;*/
}

/* Archive Box */
.event_page-archive {
  flex: 0 0 260px;
  max-width: 260px;
  background: #f8f8f8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  border-radius: 8px;
  /*padding: 15px;*/
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event_page-archive-header {
  max-width: 100%;
  margin-bottom: 15px;
}

.event_page-archive-list {
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
	padding: 0 10px;
}

.archive-event {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}


/* Optional: Responsive for mobile */
@media (max-width: 900px) {
  
	
  .event_page-date {
    left: 10px;
    padding: 8px 10px;
  }

  .event_page-content h3 {
    font-size: 18px;
  }

  .event_page-content p {
    font-size: 13px;
  }
 
	.event_page-wrapper {
    flex-direction: column;
		gap: 20px;
  }

  .event_page-archive {
    max-width: 100%;
    width: 100%;
    order: 2;
    margin-top: 0;
  }

  .event_page-section {
    order: 1;
	  max-width: 100%;
	  width: 100%;
	  
  }
	
	
}

.event_image_contain img{
		max-width: 100%;
	}

	  /********HOME PRES**************/
	  
.president-section {
      width: 85%;
      margin: 20px auto 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      font-family: 'Poppins', sans-serif;
	background: url('images/pres-bg.png') no-repeat;
	padding-bottom: 60px;
    }

    .president-photo {
      width: 190px;
      height: 190px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      display: flex;
	
  align-items: flex-start;
  justify-content: flex-start;
      /*align-items: center;
      justify-content: center;*/
		margin: 6px 0 0 15px;
    }

    .president-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .president-message {
      flex: 1;
      min-width: 250px;
    }

    .president-message h2 {
      margin: 0 0 10px;
      font-size: clamp(4em, 6vw, 12em);
      color: #0568c5;
      font-family: "Carattere", cursive;
		font-weight: 400;
		text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    }

    .president-message p {
      line-height: 1.6;
      /*color: #333;*/
    }
	  
/*******SOCIAL SPOTLIGHT***********/
.social-spotlight-section {
      width: 85%;
      margin: 0 auto 40px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: space-between;
      /*align-items: center;*/
    }

    .social-box, .spotlight-box {
      background: #fff;
      flex: 1 1 300px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      /*display: flex;*/
      align-items: center;
      gap: 15px;
    }

    .social-box i {
      font-size: 3em;
      color: #919090;
    }

  .facebook_icon {
      font-size: 2.6em;
      color: #919090;
    }
	  
	  .spotlight-header {
		  background: url('images/icon-spotlight.gif') no-repeat;
		  font-family: 'Poppins', sans-serif;
		  padding: 10px 0 0 85px;
		  font-weight: 600;
		  font-size: 1.5em;
		  color: #0568c5;
		  height: 74px;
		  
	  }
	  
	  .insta-header {
		  /*background: url('images/icon-social.gif') no-repeat;*/
		  font-family: 'Poppins', sans-serif;
		  padding: 10px 0 0 0;
		  font-weight: 600;
		  font-size: 1.5em;
		  color: #0568c5;
		  height: 74px;
		  width: 100%;
		  display: flex;
	align-items: center;
	
		  
	  }
.insta-contain {
	height: 302px;
	width: 90%;
	overflow: hidden;
}

    .member-photo {
      flex: 0 0 120px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .member-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
.spotlight-container {
  display: flex; /* Enable flexbox for easy alignment */
  align-items: flex-start; /* Align items to the top */
}

.text-side {
  flex-grow: 1; /* Allow text to take up remaining width */
  margin-right: 20px; /* Add some spacing between text and image */
}

.image-side {
  width: 200px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
}	 

@media (max-width: 768px) {
	.social-box {
      background: #e9e8e8;
      box-shadow: 0 0 0;
    }
}

/*********** SOROR NAV *****************/


/* Wrapper includes both tab and panel */
.secure-nav-wrapper {
  position: fixed;
  top: 100px;
  right: 0;
  display: flex;
  flex-direction: row-reverse; /* tab stays at right edge */
  align-items: flex-start;
  transform: translateX(260px);
  transition: transform 0.3s ease;
  z-index: 1000;
	
}

/* When open, slide whole wrapper left by panel width */
.secure-nav-wrapper.open {
  transform: translateX(0); /* match panel width */
}

/* The tab that stays visible */
.secure-nav-tab {
  background-color: #0568c5;
  color: #fff;
  padding: 10px 12px;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 2;
	margin-top: 20px;
	box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}

.secure-nav-tab i {
  font-size: 24px;
}

.menu-label {
  font-size: 10px;
  margin-top: 4px;
}

/* Panel content */
.secure-nav-panel {
  /*background-color: #fff;*/
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  min-width: 260px;
  padding: 20px 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 1;
	backdrop-filter: blur(2px);
	background-color: rgba(255, 255, 253, 0.7);
}

/* Panel links */
.secure-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 15px;
}

.secure-nav-panel li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.secure-nav-panel li:last-child {
  border-bottom: none;
}

.secure-nav-panel li i {
  margin-right: 10px;
  font-size: 20px;
  color: #0568c5;
}

.secure-nav-panel li:hover {
  background-color: #f5f7fa;
}

/***********IMAGE UPLOADER**************/
#progress-container {
            width: 100%;
            background: #ccc;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
            display: none;
        }

        #progress-bar {
            width: 0%;
            height: 20px;
            background: #4caf50;
            text-align: center;
            color: white;
            line-height: 20px;
            border-radius: 10px;
        }
#error-msg {
            color: red;
            font-weight: bold;
            margin-top: 10px;
        }

/***********CONTACT**************/
.contact-container {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  flex: 1 1 400px;
}

.contact-left h2 {
  margin-bottom: 15px;
  color: #333;
}

.contact-left p {
  margin-bottom: 5px;
  line-height: 1.5;
  color: #555;
}

.contact-form {
  background-color: #f6f5f5;
  padding: 20px 30px 30px;
  border-left: 3px solid #919090;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #333;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  margin-top: 15px;
  font-weight: bold;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

/* Responsive layout */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.envelope-success {
  text-align: center;
  padding: 40px;
}

.envelope-success i {
  font-size: 60px;
  color: #919090;
}

.tada {
  animation: tada 1s infinite;
}

.error-msg-contact {
  color: red;
  font-size: 0.875rem;
  margin-top: 5px;
}

@keyframes tada {
  0% { transform: scale(1); }
  10%, 20% { transform: scale(0.9) rotate(-3deg); }
  30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1); }
}

.envelope-success p {
  margin-top: 20px;
  font-size: 1.1em;
  color: #333;
}

/*********** SEC PROFILES **************/

/* Responsive Container for Filters/Sort */


.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 10px;
}

/* Total count always aligned left */
.total-count {
  flex: 1 1 auto;
  font-weight: bold;
  font-size: 1.1em;
}

/* Controls: right-aligned group */
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
}

/* Grouped selects */
.control-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Spinner visibility control */
.load-spinner {
  display: none;
  font-size: 1.5rem;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .controls {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .control-group {
    flex-direction: column;
    width: 100%;
  }

  .control-group select {
    width: 100%;
  }

  .total-count {
    width: 100%;
  }
}



/*
  .top-bar {
      width: 85%;
      margin: 20px auto 10px auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar .total-count {
      font-weight: bold;
      font-size: 16px;
    }

    .controls-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .load-spinner {
      display: none;
      font-size: 20px;
      color: #555;
    }
*/
    select {
      padding: 6px 10px;
      border-radius: 4px;
      border: 1px solid #ccc;
      font-size: 14px;
    }



.profile-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-bottom: 2px solid #ccc;
  gap: 10px;
}

.profile-photo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  flex: 1 1 80px;
  font-weight: bold;
}

.profile-name small {
  display: block;
  font-size: 0.85em;
  color: #666;
}

.access-type,
.status-sec {
  flex: 0 0 auto;
}

.actions-sec {
  flex: 0 0 auto;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.edit-btn,
.delete-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.edit-btn {
  background-color: #6f89f5;
  color: #fff;
}

.delete-btn {
  background-color: #e14d4d;
  color: #fff;
}

.delete-btn-normal {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
 background-color: #e14d4d;
  color: #fff;
}

/* Responsive Layout for Small Screens */
@media (max-width: 600px) {
  .profile-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .edit-btn,
  .delete-btn {
    width: 100%;
  }

  .access-type,
  .status-sec,
  .actions-sec {
    width: 100%;
  }
}

.access-type span {
      padding: 4px 10px;
      border-radius: 12px;
      color: white;
      font-size: 12px;
      display: inline-block;
    }

.status-sec span {
      padding: 4px 10px;
      border-radius: 12px;
      color: white;
      font-size: 12px;
    }

.access-general {
      background-color: #bdc8f4;
	
    }

    .access-admin {
      background-color: #6f89f5;
		
    }

    .access-superadmin {
      background-color: #143be1;
    }

.active-sec {
      background-color: #4CAF50;
	
    }

    .inactive-sec {
      background-color: #888;
	
    }


.aux-span {
      background-color: #030f7d;
	padding: 2px 5px;
      border-radius: 12px;
      color: white;
      font-size: 8px;
    }

.view-switch {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.view-switch a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
	font-size: 1.6em;
}

.view-switch a.active {
  border-color: #143be1;
	color: #143be1;
}

/*************LINES****************/
.line-group {
  background: #f9f9f9;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.line-header {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.chapter-type {
  font-size: 0.8em;
  background: #ccc;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 10px;
}

.line-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.line-member {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.line-member img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.line-number {
  font-weight: bold;
}

.member-name {
  flex: 1;
}

.transfer {
  font-size: 0.75em;
  color: #666;
  margin-left: 5px;
}

.line-name {
  font-size: 0.85em;
  color: #555;
  width: 100%;
}

.line-controls {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-end;
}

#line-filter {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}


/*************FULL PROFILE****************/
.fullpro-modal {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 700px;
  max-width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
 
}

.fullpro-top-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.fullpro-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.fullpro-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fullpro-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.fullpro-line {
  margin-bottom: 6px;
}

.fullpro-tabs {
  display: flex;
  /*margin-bottom: 15px;*/
}

.fullpro-tab {
  padding: 10px 20px;
  border: none;
  border-radius: 12px 12px 0 0;
  background: #ccc;
  color: #000;
  cursor: pointer;
  margin-right: 5px;
  font-weight: bold;
}

.fullpro-tab.active {
  background: #0568c5;
  color: #fff;
}

.fullpro-tab-content {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  background: #f9f9f9;
}

.fullpro-tab-pane {
  display: block;
}

.fullpro-line-wrapper {
  display: flex;
  gap: 30px;
}

.fullpro-line-left,
.fullpro-line-right {
  flex: 1;
}

.fullpro-line-left h4,
.fullpro-line-right h4 {
  margin-bottom: 10px;
  color: #0568c5;
}

/***************EVENT FORM *******************/

  .event-header {
    display: flex;
    padding: 1rem;
  
  }

  .event-tab {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    font-weight: bold;
    color: #333;
	font-size: 1.5em;
  }

  .event-tab i {
    margin-right: 0.5rem;
    
  }

  .event-tab.active {
    border-color: #143be1;
    color: #143be1;
  }

  .event-container {
    display: flex;
    /*min-height: 100vh;*/
  }

  .event-sidebar {
    width: 250px;
    border-right: 1px solid #ccc;
    padding: 1rem;
    background-color: #f9f9f9;
	
  }

.event-sidebar select {
	width: 100%;
}

  .event-main {
    flex: 1;
    padding: 2rem;
  }

@media (max-width: 768px) {
  .event-container {
    flex-direction: column;
  }

  .event-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .event-main {
    padding: 1rem;
  }
}

    .event-list {
      margin-top: 2rem;
    }

    .event-list-item {
      cursor: pointer;
      margin-bottom: 1rem;
      padding: 0.5rem;
      border: 1px solid #ccc;
      border-radius: 4px;
      background-color: white;
    }

.event-sidebar i {
	color: #40e80c;
	font-size: 16px;
}

    .event-form-group {
      margin-bottom: 1rem;
    }

    .event-form-group label {
      display: block;
      margin-bottom: 0.5rem;
    }

    .event-form-group input,
    .event-form-group textarea {
      width: 100%;
      padding: 0.5rem;
      box-sizing: border-box;
    }

.event-eachone {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #ccc;
	
}

.event-day-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.event-day-list li {
  padding: 8px 12px;
  background: #f4f4f4;
  margin-bottom: 6px;
  border-left: 4px solid #0568c5;
  cursor: pointer;
}

.archived-toggle {
  cursor: pointer;
  font-weight: bold;
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 0.3em;
	background-color: #fff1e1;
	border: 1px solid #774407;
	font-size: 1.1em;
}

.archived-toggle .icon {
  font-size: 1.2em;
}

#archived-events .event-list-item {
  padding-left: 1em; /* indent for archived */
  opacity: 0.8;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  background-color: #007BFF; /* Bootstrap blue */
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.no-more-btn {
  display: inline-flex;
  align-items: center;
  background-color: #9c9c9e;
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 999px;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.view-more-btn:hover {
  background-color: #0056b3;
	color: #e9e8e8;
}

.view-more-btn .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-more-btn:hover .arrow {
  transform: translateX(6px); /* slide right */
}


.view-more-btn.reg-btn-color {
	background-color: #04b2f3;
}

.view-more-btn.reg-btn-color:hover {
  background-color: #0f60ac;
	color: #e9e8e8;
}

.view-more-btn.green-btn {
  background-color: #28a745; /* Green */
}
.view-more-btn.green-btn:hover {
  background-color: #198732;
	color: #e9e8e8;
}
.view-more-btn.reg-btn-grey {
	background-color: #717070;
}

.view-more-btn.reg-btn-grey:hover {
  background-color: #3A3838;
	color: #e9e8e8;
}

.view-button-container {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to wrap onto the next line on small screens */
  gap: 1em;       /* Creates a space between the buttons */
}

/*****EVENT PICS*******/
/* --- Event Pic Modal Styles --- */

.eventpic-thumb-wrapper {
	display: flex;
  flex-wrap: wrap; 
  gap: 30px;
}
/* Style for the clickable thumbnails */
.eventpic-thumbnail {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.eventpic-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* The Modal Background (the dark overlay) */
.eventpic-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place even when scrolling */
    z-index: 1000; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if image is too big */
    background-color: rgba(0, 0, 0, 0.85);
    /* Flexbox to center the content */
    align-items: center;
    justify-content: center;
}

/* The container for the image and arrows */
.eventpic-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* This adds 10px of space between the arrows and the image */
    max-width: 65vw; /* Slightly increased to make room for arrows */
    max-height: 90vh;
}

/* The full-size image */
.eventpic-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* The Close Button (X) */
.eventpic-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.eventpic-close:hover,
.eventpic-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Next & Previous Navigation Arrows */
.eventpic-nav,
.eventpic-nav:visited,
.eventpic-nav:link{
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none; /* Prevents text selection */
    text-decoration: none;
    border-radius: 3px; /* Apply a simple radius to both */
}

.eventpic-nav:hover{
    background-color: rgba(0, 0, 0, 0.5);
	color: #bbb; 
    text-decoration: none; 
}



/*********** HISTORY ******************/

/*chapter quill bullets*/
li[data-list="bullet"] {
  list-style-type: disc;
}

.right-floated-div {
    width: 420px;
    height: 560px;
    float: right;
    margin-left: 20px; /* Adds some space between the text and the div */
    margin-bottom: 20px; /* Adds some space below the div before text flows under */
    /*border: 1px solid #ccc;   /* Optional: for visibility */
  }

.right-floated-div2 {
    width: 420px;
    /*height: 800px;*/
    float: right;
    margin-left: 20px; /* Adds some space between the text and the div */
    margin-bottom: 20px; /* Adds some space below the div before text flows under */
    /*border: 1px solid #ccc;   /* Optional: for visibility */
  }


  .hist-content p {
    line-height: 1.6; /* Improves readability */
  }

  .hist-content::after {
    content: "";
    clear: both;
    display: table;
  }

.hist-animate-contain {
	width: 420px;
	height: 300px;
	/*background-color: aqua;*/
}

.right-float-header {
	background: url('images/hist-facts-head.png') repeat-x;
	padding: 45px 10px 10px;
	width: 100%;
}
.right-float-header-img {
	background: url('images/hist-facts-head.png') repeat-x;
	width: 100%;
  top: 0; /* Adjust as needed */
  right: 0; /* Adjust as needed */
  z-index: 1; 
}

.right-float-header-keep {
	background: url('images/hist-facts-head.png') repeat-x;
	padding: 45px 10px 10px;
	width: 100%;
}

.text_margin_push{
	margin-top: 100px;
}

.right-float-header h3 {
	text-align: center;
	margin: 0;
}

.right-white-bg {
	background-color: #F6F6F6;
}

@media (max-width: 768px) {
	.right-floated-div {
		float: none; /* Disables the float on mobile */
        width: 100%; /* Makes the div take up the full width */
        margin-left: 0; /* Removes the left margin */
        margin-right: 0; /* Ensures no right margin */
        margin-bottom: 20px; /* Keeps the space below */
	}
	
	.right-floated-div2 {
        float: none; /* Disables the float on mobile */
        width: 100%; /* Makes the div take up the full width */
        margin-left: 0; /* Removes the left margin */
        margin-right: 0; /* Ensures no right margin */
        margin-bottom: 20px; /* Keeps the space below */
    }
	
	.right-float-header {
	background: #e9e8e8;
	padding: 5px 10px 10px;
	width: 100%;
	}
}

.responsive-animate-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

#animation_container,
#dom_overlay_container,
#canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/****principles*****/
.princ-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
	align-items: center; /* ← vertically center items */
}

.princ-text {
  flex: 1;
  min-width: 200px;
}

.princ-text p {
	font-size: 1.6em;
	
}

.princ-text h3 {
	font-size: 2.2em;
	font-weight: 600;
}

.princ-image-box {
  position: relative;
  width: 420px;
  flex-shrink: 0;
}

.princ-head-image {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

.princ-main-image {
  width: 100%;
  display: block;
}

.princ-overlay-bar {
  position: absolute;
  top: 63px; /* adjust this based on desired overlay position */
  left: 0;
  width: 100%;
  height: 51px;
  background: url('images/hist-facts-head.png') repeat-x;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
	.princ-image-box {
		width: 320px;
	}
	
	.princ-overlay-bar {
		top: 45px;
	}
}

/*********CHAPTER*********************/

.chapterpics-container {
    width: 400px;
    position: relative;
    margin: auto;
}

.chapterpics-slides {
    position: relative;
    width: 100%;
    /* Add a transition for smooth height changes */
    transition: height 0.5s ease-in-out;
    /* This will also help, clipping any content that overflows */
    overflow: hidden;
}

.chapterpics-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    /* ADD THIS: Make invisible slides non-clickable */
    pointer-events: none;
}

.chapterpics-slide.chapterpics-active {
    opacity: 1;
    z-index: 2;
    /* ADD THIS: Make the visible slide clickable again */
    pointer-events: auto;
}

.chapterpics-slide img {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
}

.chapterpics-dots {
    text-align: center;
    margin-top: 20px;
}

.chapterpics-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #d3d3d3;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chapterpics-dot.chapterpics-active {
    background-color: #808080;
}

@media (max-width: 768px) {
	.chapterpics-container {
    width: 100%;
  
}
	.chapterpics-slide img {
    	width: 100%;
    height: auto;
    /*max-width: 250px;*/
    display: block;

	}
}
/*
.chapterpics-container {
     width: 400px;
     position: relative;
     margin: auto;
 }

 .chapterpics-slides {
     position: relative;
     width: 100%;
 }

 .chapterpics-slide {
     display: none;
     opacity: 0;
 }

 .chapterpics-slide.chapterpics-active {
     display: block;
     opacity: 1;
 }

 .chapterpics-slide img {
     width: 100%;
     height: auto;
     max-width: 400px;
     display: block;
 }

 .chapterpics-dots {
     text-align: center;
     margin-top: 20px;
 }

 .chapterpics-dot {
     display: inline-block;
     width: 12px;
     height: 12px;
     background-color: #d3d3d3;
     border-radius: 50%;
     margin: 0 5px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 .chapterpics-dot.chapterpics-active {
     background-color: #808080;
 }
*/

/***** SEC BOXES ***********************/
.mybox_tips {
	padding: 10px;
  border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	margin-bottom: 15px;
	margin-top: 10px;
 
}

.mybox_tips h2 {
	font-weight: 400;
	font-size: 1.6em;
	margin: 0 0 8px;
}

.mybox_yellow {
	background: #faf8cb;
	border: 1px solid #f2b43d;
}

.mybox_lightblue {
	background: #dae9f6;
	border: 1px solid #8dc5f6;
}

.mybox_purple {
	background: #d4cffd;
	border: 1px solid #423d6b;
}

.mybox_orange {
	background: #fcddb9;
	border: 1px solid #ae630a;
}

.bday-background {
      background: url('images/bday-bg.gif') repeat-x center/contain;
	 width: 100%;
    }

/********** REGISTRATION ********************/
/* Container Layout */
.reg-container {
  margin-top: 15px;
	display: flex;
  flex-wrap: nowrap;
 
}

.reg-sidebar {
  width: 250px;
  background-color: #f9f9f9;
  padding: 1rem;
  border-right: 1px solid #ccc;
}

.reg-main  {
  flex-grow: 1;
  padding: 0 2rem 2rem;
	min-width: 0; 
	width: 100%;
	
}

/* Sidebar Content */
.reg-sidebar-title {
  margin-bottom: 1rem;
	font-weight: 400;
	font-size: 1.5em;
}

.reg-event-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .reg-container {
    flex-direction: column;
  }


  .reg-main {
    padding: 1rem;
  }
	
 .reg-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
}

.reg-list-item {
      margin-bottom: 1rem;
      padding: 0.5rem;
      border: 1px solid #ccc;
      border-radius: 4px;
      background-color: white;
    }

.reg-event-list li {
  margin-bottom: 10px;
}

.reg-event-list a {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
  color: #0077cc;
  font-size: 1.5rem;
}

.reg-btn {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.reg-btn-primary {
  background-color: #0073e6;
  color: #fff;
  margin-top: 1rem;
  /*width: 100%;*/
	border-radius: 8px;
	padding: 8px 16px;
}

.reg-btn-primary:hover {
  background-color: #005bb5;
}


/* Questions Section Styling */
#reg-questions-section {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#reg-questions-section h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  margin-top: 0;
}

#reg-add-question-btn {
  margin-bottom: 15px;
  padding: 8px 16px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#reg-add-question-btn:hover {
  background-color: #005bb5;
}

/* Questions Table Styling */
#reg-questions-table {
  width: 100%;
  border-collapse: collapse;
}

#reg-questions-table thead {
  background-color: #eaeaea;
  text-align: left;
}

#reg-questions-table th,
#reg-questions-table td {
  padding: 10px;
  border: 1px solid #ddd;
}

#reg-questions-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

#reg-questions-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/****modal***/
.reg-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.reg-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  position: relative;
}

.reg-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.drag-handle {
  cursor: grab;
  width: 30px;
  text-align: center;
  font-weight: bold;
  color: #888;
}

/****selection *****/
.selection-table-title {
  margin-top: 0;
  margin-bottom: 10px;
}

#selections-table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
 margin-top: 15px;
}

#selections-table th, #selections-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

#selections-table thead {
  background-color: #eaeaea;
  text-align: left;
}

#selections-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

#selections-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/**event reg view ***/
.eventregleft-info {
  flex: 1;
  padding-right: 20px;
}

.eventregright-info {
  width: 150px;
  text-align: right;
}

.eventregadmin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/***toggle****/
.paid-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #ccc;
  color: #333;
  border-radius: 25px;
  padding: 5px 15px 5px 30px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-bottom: 10px;
}

.paid-toggle::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.paid-toggle.paid {
  background-color: #4CAF50;
  color: white;
  padding-left: 15px;
  padding-right: 30px;
}

.paid-toggle.paid::before {
  background: white;
  left: calc(100% - 22px);
}

.reg-action-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

/********* LEADERSHIP *****************/
.lead-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.lead-table th,
.lead-table td {
  border: 1px solid #ddd;
  padding: 8px;
}
.lead-table th {
  background-color: #f4f4f4;
  text-align: left;
}
.lead-handle {
  cursor: grab;
}
.lead-title {
  color: #666;
  font-size: 0.9em;
}
.lead-table a {
  color: #0066cc;
  text-decoration: none;
}
.lead-table a:hover {
  text-decoration: underline;
}

.lead-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.lead-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Container for the org chart */
.org-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Single leader block (used for top and each in row) */
.org-leader {
    text-align: center;
    margin: 0 100px;
    position: relative;
}

.org-leader1 {
    text-align: center;
    margin: 0 20px;
    position: relative;
}

.org-leader1 img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* Leader image */
.org-leader img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Name/title under photo */
.org-name {
    font-weight: bold;
    margin-top: 10px;
	font-size: 1.4em;
}
.org-title {
    font-size: 1.3em;
    color: #666;
	font-weight: lighter;
}

/* Top leader connector line */
.connector-line {
    width: 2px;
    height: 20px;
    background: gray;
    margin: 10px auto 0;
}

/* Row of multiple leaders */
.org-row {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 40px; /* space for top horizontal line */
    margin-bottom: 60px;
}

/* --- NEW/UPDATED CONNECTOR LINE LOGIC --- */
/* Vertical line FROM horizontal line DOWN to each leader in a row */
.org-row .org-leader::before {
    content: "";
    position: absolute;
    top: -40px; 
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: gray;
}

/* Horizontal line segments FOR EACH leader */
.org-row .org-leader::after {
    content: "";
    position: absolute;
    top: -40px; /* Align with the top of the vertical line */
    height: 2px;
    background: gray;
}

/* For the FIRST leader, draw line from its center to halfway across the right margin */
.org-row .org-leader:first-child::after {
    left: 50%;
    /* Width is 50% of the element + 20px for the margin */
    width: calc(91% + 20px);
}

/* For the LAST leader, draw line from halfway across the left margin to its center */
.org-row .org-leader:last-child::after {
    /* Start 20px to the left to go into the margin */
    left: -120px;
    /* Width is 50% of the element + 20px for the margin */
    width: calc(70% + 75px);
}

/* For MIDDLE leaders, the line must cross the margin on BOTH sides */
.org-row .org-leader:not(:first-child):not(:last-child)::after {
    /* Start 20px to the left */
    left: -20px;
    /* Width is 100% of the element + 40px (20px for each side's margin) */
    width: calc(100% + 40px);
}

/* If there is ONLY ONE leader in a row, it doesn't need a horizontal line */
.org-row .org-leader:only-child::after {
    display: none;
}
@media (max-width: 768px) {
  /* Stack the leaders vertically instead of side-by-side */
  .org-row {
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Adds space between the stacked leaders */
    padding-top: 20px; /* Reduces the top space needed */
  }

  /* Hide all the horizontal line segments completely */
  .org-row .org-leader::after {
    display: none;
  }

  /* Adjust the vertical line to be shorter for the mobile view */
  .org-row .org-leader::before {
    top: -20px;
    height: 20px;
  }

  /* It's also good practice to hide the main connector line from the top leader */
  .connector-line {
    display: none;
  }
}


/****UPDATE ABOVE
/* Horizontal line across the top of row 
.org-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2px;
    background: gray;
    z-index: 0;
}

/* Individual vertical lines from horizontal line down to leader 
.org-leader::before {
    content: "";
    position: absolute;
    top: -40px; /* same as .org-row padding-top 
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: gray;
}

@media (max-width: 768px) {
	.org-leader1 {
    margin-bottom: 40px;
}
    .org-row {
        flex-direction: column;
        align-items: center;
        padding-top: 0;
    gap: 40px;
    }

    .org-row::before {
        content: none; /* remove horizontal connector line 
    }

    .org-leader::before {
        top: -20px;
        height: 20px;
    }

    .connector-line {
        display: none; /* hide connector under top leader 
    }
}

*/

.banner-handle {
  cursor: grab;
}


/**** site management ******/
.backend-nav {
  list-style: none;
  padding-left: 0;
}

.backend-nav > li {
  margin: 5px 0;
}

.backend-nav > li > a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.backend-sub-nav {
  list-style: none;
  padding-left: 20px;
  margin-top: 4px;
}

.backend-sub-nav a {
  font-weight: normal;
  color: #555;
  text-decoration: none;
}
/********** FOOTER ********************/

/* Footer area */

#footer {
	left: 0;
	width: 100%;
	height: 160px;
	padding-top: 30px;
	background-image: url('images/foot-bg.png');
	background-repeat: repeat-x;
	/*align-items: center;*/
}

.foot-topper {
      width: 100%;
      display: block;
      position: relative;
      top: 0;
	background-image: url('images/foot-topper.png');
	background-repeat: repeat-x;
	height: 34px;
	margin-top: 40px;
    }

.footer-container {
  width: 95%;
	margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between; /* Distribute space between the two divs */
}

.footer-left {
  text-align: left;
  flex-basis: 50%; /* Each takes up half of the top container */

}

.footer-right {
  text-align: right;
  flex-basis: 50%;
	/*flex-direction: column;
	/*justify-content: center;
	align-items: center;
	position: relative;*/
}

.footer-bottom {
  text-align: center;
  width: 100%; /* Takes up the full width of the footer container */
  margin-top: 20px; /* Add some spacing between the top and bottom divs */
}
	  
.foot_icon {
  font-size: 2em;
	color: #e9e8e8;
}
	  
.center_icon_foot {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
 
}
.foot_right_skinny{
  display: none;
}

	  .foot_right_wide{
		  
	  }
@media (max-width: 868px) {
      .foot_right_skinny{
		  display: block;
		}
	.foot_right_wide{
		display: none;
	}
	.foot_left_wide {
		display: none;
	}
}

/**************INNER PAGE HEADER***********/
.mypage-header {
	margin-bottom: 20px;
}

    .header-image {
      display: block;
      margin: 0 auto -2px;
    }

    .line-wrapper {
      width: 85%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dotted-end {
      display: flex;
      gap: 4px;
      align-items: center;
    }

    .dotted-end span {
      display: inline-block;
      width: 5px;
      height: 5px;
      background-color: #0568c5;
      border-radius: 50%;
    }

    .horizontal-line {
      flex: 1;
      height: 3px;
      background-color: #0568c5;
      margin: 0 10px;
      border-radius: 4px;
    }

    .label-text {
      font-family: "Carattere", cursive;
      font-weight: 400;
      font-size: 3.2em;
      color: #9b9b9b;
      text-align: center;
      margin-top: 0;
    }

/************ACCORDION AND FORMS*************/
.accordion-container {
  /*max-width: 600px;*/
	width: 100%;
  margin: auto;
}

.accordion-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #eee;
  color: #333;
  font-size: 1.8rem;
  padding: 15px 20px;
  text-align: left;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-header i {
  margin-right: 10px;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.accordion-header.active {
  background: #ddd;
}

.accordion-header-red {
  background:#EB383B;
}

.accordion-header .rotated {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-content p {
  /*padding: 15px 0;
  margin: 0 0 40px;
	not needed
	*/
}

	  .submit-btn {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.submit-btn-red {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #EB383B;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn-red:hover {
  background-color:#C8090C
}

	  .submit-btn-fixwidth {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
	width: 30%;
}

.submit-btn-fixwidth:hover {
  background-color: #0056b3;
}

	  .form_account {
  display: flex;
  flex-direction: column;
  padding: 15px 0 0;
}

.form_account_label {
  margin-top: 20px;
  font-weight: bold;
  color: #444;
}

.form_account_input {
  margin-top: 0px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
}

.form_account_textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
  resize: vertical;
}

.form_account_textareawidth {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
	max-width: 100%;
  /*resize: vertical; */
	width: 100%; 
	resize: vertical;
}

	  .form_account_fordiv {
  display: flex;
  flex-direction: column;
}
	  
	  .error-msg {
  color: red;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

.success-msg {
  margin-top: 15px;
  color: #28a745;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.success-msg i {
  font-size: 1.2rem;
}

.error-submit-msg {
  margin-top: 15px;
  color: #dc3545;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.error-submit-msg i {
  font-size: 1.2rem;
}
	  
	  .account_dropdown {
		  font-size: 1em;
		  height: 38px;
	  }

#dynamic-questions-container .dynamic-label {
  margin-bottom: 4px;
  font-weight: bold;
	margin-top: 20px;
}

#dynamic-questions-container .dynamic-input {
  margin-bottom: 2px;
}

#dynamic-questions-container input,
#dynamic-questions-container select,
#dynamic-questions-container textarea {
  width: 40%;
  max-width: 400px;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
  margin-top: 10px;
}

#dynamic-questions-container .inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: -5px;
	
}

#dynamic-questions-container .inline-options label {
  white-space: nowrap;
}

/****************TEXT**********************/

.notfound_404_contain {
	text-align: center;
	
	}
.notfound_404_contain img{
	display: block; /*need for centering*/
		max-width: 100%;
	text-align: center;
	margin: 0 auto;
	align-items: center;
	}


h2.txt_home-front-title {
  font-family: "Carattere", cursive;
  font-weight: 400;
  font-size: clamp(4em, 6vw, 12em);
  margin: 0 0 2px;
  color: #0568c5;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #323131;
	margin: 0;

}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.7em;
  color: #323131;
}

.myh3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.7em;
  color: #323131;
	margin-bottom: 10px;
	display: inline-block;
}

.txt_indent{
  margin-left: 70px;
}

.txt_white {
  color: #e9e8e8;
  font-size: .9em;
	margin: 0;
}

.txt_small_white {
	color: #fff;
  font-size: .7em;
	text-align: center;
}

.txt_med_white {
  color: #e9e8e8;
  font-size: 1em;
	font-weight: 400;
	margin: 0;
}

.txt_red {
	font-size: 10px;
	color: #CA060A;
}
.txt_green {
	font-size: 10px;
	color: #39B609;
}

.txt_darkgreen {
	color:#1B8105;
}
.horizontaltop-div {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 2px solid #ccc;
	
}

.horizontalbottom-div {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #ccc;
	
}
a.linkwhite { color: #FFFFFF; text-decoration: none; }
a.linkwhite:visited { COLOR: #FFFFFF; text-decoration: none; }
a.linkwhite:hover { COLOR: #CCCCCC; text-decoration:none; }

a { color: #0568c5; text-decoration: underline; }
a:hover { COLOR: #00107b; text-decoration:none; }

a.linknoline { color: #0568c5; text-decoration: none; }
a.linknoline:hover { COLOR: #5a5a5a; text-decoration:none; }

/**************FORMS****************/
.error {
	/*color: red;*/
	color:#ffadad;
	font-size: 10px;
	display: block;
	text-align: left;
}
.input-error {
	border: 1px solid red !important;
}


.reg_submitbutton {
  background-color: #77a2cf;
  color: black;
  font-weight: bold;
  border: 1px solid #022346; 
  font-family: Arial;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  padding: 4px;
	height: 40px;
}
.reg_submitbutton:active:hover:not([disabled]) {
  background-color: #ddd; 
  color: #fff;
}

.reg_submitbutton:disabled,
.reg_submitbutton[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
button[disabled]:hover {
    background-color: #cccccc;
	color: #666666;
}


.reg_submitbutton:hover {
  background-color: #00157f; 
  color: #fff;

}

.input_regform {
  border: 1px solid #C7C4C4;
  border-radius: 5px;
  width: 40%;
  height: 40px;
 padding-left: 4px;
 margin-bottom: 16px;
	  
}

.input_regform-100 {
  border: 1px solid #C7C4C4;
  border-radius: 5px;
  width: 100%;
  height: 40px;
 padding-left: 4px;
 margin-bottom: 16px;
	  
}

.input_regform_textarea {
  border: 1px solid #C7C4C4;
  border-radius: 5px;
  width: 50%;
 padding-left: 4px;
 margin-bottom: 16px;
	  
}

.regform_radio {
	font-weight: 100;
	margin-bottom: 16px;
}

.input_regradio {
	font-weight: 200;
	font-size: 1.1em;
}

#submit-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}


.input-con-field1{
	float: left;
	width: 40%;
}
.input-con-loader1{
    width: 20px;
    height: 20px;
	float: left;
	font-size: 1.8em;
	margin-left: -30px;

}
.input-con-message{
	width: 40%;
	height: 20px;
	float: left;
	margin-left: 30px;
}
.clear_div{
	clear: both;
}
