/* 
Theme Name:		 Zoomy Child Custom CSS
Author:			 Ajay
Version:		 1.0.2
*/

/* Basic styling to make them visible */

.tab-menu {
  margin-bottom: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

/* Base Tab Link Styles */
.tab-link {
  /* Retain base colors */
  background-color: #f8f8f8; 
  color: #333; 
  border-radius: 8px;
  padding: 10px 20px; 
  cursor: pointer;
  transition: all 0.3s ease-in-out; 
  margin-right: 2px; 
  font-weight: 500; 
  border: none;
  font-size: 18px;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: bold;
}

.event-card.past {
  background: #f5f5f5;
  opacity: 0.7;
  pointer-events: none; /* disable clicking */
}

.m-0, .m-0 p {
margin: 0px;
}

/* Hover Effect */
.tab-link:hover {
  background-color:  var(--brand_color); /* Slightly darker on hover */
  color: #fff;
}

/* Active Tab Styles (The currently selected tab) */
.tab-link.active {
  background-color:  var(--brand_color);/* Use white background for the active tab */
  color: #fff; /* Highlight the text with a strong color (e.g., a blue) */
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  /* Reset bottom border so it sits seamlessly on the content container */
  border-bottom: 1px solid #ffffff; 
}

/* Container for the Tab Menu (Highly Recommended to improve look) */
.custom-tabs-container .tab-menu {
    margin-bottom: 0; /* Remove space between menu and content */
    display: flex; /* Helps align buttons nicely */
}

/* Tab Content Styles (Make sure content box is also styled well) */
.tab-content {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #ffffff; /* Clean white background */
}

.events-page {
    display: flex;
    gap: 20px;
    font-family: Montserrat, sans-serif;
}

/* Sidebar */
.events-sidebar {
    width: 260px;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 12px;
     position: sticky;
    top: 20px; /* distance from top when stuck */
    z-index: 10;
    height: 100%;
}

.event-contact-details {
 display: none;
  gap: 50px;
  color: var(--brand_color);
}

.addFlex {
 display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Scrollbar */
.events-sidebar::-webkit-scrollbar {
    width: 6px;
}
.events-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.events-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* Buttons */
.region-filter button,
.country-list button,
.city-list button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: #333;
    background: #f9f9f9;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 14px;
}

.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

/* Material ripple effect */
.region-filter button:after,
.country-list button:after,
.city-list button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    top: 0;
    left: 0;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.region-filter button:active:after,
.country-list button:active:after,
.city-list button:active:after {
    opacity: 1;
    transition: 0s;
}

/* Hover */
.region-filter button:hover,
.country-list button:hover,
.city-list button:hover {
    background: #e3f2fd;
    color: #0d47a1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Active */
.region-filter .active,
.country-list .active,
.city-list .active {
    background: var(--brand_color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.region-filter li {
  list-style: none;
}

.region-filter {
  padding-left: 0px;
}

.singleevent-image img {
  margin-bottom: 30px;
}

/* Arrow rotation */
.arrow {
    transition: transform 0.3s ease;
}

.region-item.open > .region-toggle .arrow,
.country-item.open > .country-toggle .arrow {
    transform: rotate(180deg);
}

/* Nested lists */
.country-list,
.city-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 4px;
    display: none;
}

/* Icons spacing */
button .icon {
    margin-right: 10px;
    font-size: 18px;
}

/* Minor hierarchy tweaks */
.country-item button {
    font-weight: 500;
    font-size: 14px;
    padding-left: 28px;
}
.city-list button {
    font-weight: 400;
    font-size: 13px;
    padding-left: 36px;
}


/* Main */
.events-main {
    width: 80%;
}

.event-image img {
  width: 100%!important;
  max-width: 100%!important;
  height: 160px;       /* Maintain aspect ratio */
  object-fit: cover;  /* Crop if necessary to fill the box */
  display: block;
}

.events-toggle-btn {
  background: transparent;
  border: 1px solid var(--brand_color);
  border-radius: 6px;
  padding: 10px 25px;
  margin-right: 10px;
}

.year-range-toggle {
  margin-bottom: 20px;
}

.events-toggle-btn.active {
  background: var(--brand_color);
  border: 1px solid var(--brand_color);
  color: #fff;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.event-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #f8faff);
  color: #1a237e;
  border: 1px solid #efdfdf;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow;
  justify-content: space-between;
  height: 100%; 
}

.details-btn {
  background: var(--brand_color);
  color: #fff;
  width: 100%;
  display: block;
  border-radius: 8px;
  text-align: center;
  padding: 10px 0;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.details-btn:hover {
  color: #fff;
  opacity: 0.6;
}

.event-card:hover {
  background: linear-gradient(135deg, #e8f0ff, #f5f8ff);
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
.event-title {
    font-weight: 500;
  color: #333;
  margin: 0px 0px 8px;
  font-size: 16px;
  flex-grow: 1;
}
.event-img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}

.event-date {
  font-weight: 500;
}

.event-country {
  font-style: italic;
}

/* .event-btn {
    display: block;
    text-align: center;
    margin: 10px;
    padding: 8px 0;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.event-btn:hover {
    background: #005a87;
} */

.event_cta_form {
  background: var(--brand_color);
  padding: 10px 15px;
  font-size: 18px;
  display: block;
  border: none;
  border-radius: 4px;
  color: #fff;
}

.single-event-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  width: 100%;
}

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

  .singleevent-content,
  .singleevent-image {
    width: 100%;
  }
}


.event-description {
  color: #000;
  margin-bottom: 10px;
}

.event-form {
  margin: 40px 0;
}

/* ===== Event Form Two-Column Layout ===== */
.event-form form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 20px; /* Space between columns */
}

/* Make full-width elements (like textarea or submit button) span both columns */
.event-form form p:has(textarea),
.event-form form p:has(input[type="submit"]) {
  grid-column: 1 / -1;
}

/* Optional: ensure Contact Form 7 paragraphs behave nicely */
.event-form form p {
  margin: 0;
}

/* Inputs & textarea styling */
.event-form input[type="text"],
.event-form input[type="email"],
.event-form input[type="tel"],
.event-form textarea,
.event-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

/* Submit button styling */
.event-form input[type="submit"] {
  background: #0056b3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.event-form input[type="submit"]:hover {
  background: #003f7d;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .event-form form {
    grid-template-columns: 1fr;
  }
}


.custom-slider-wrapper, 
.month-slider-wrapper {
    position: relative;
}

.conferencetabs .category-prev, .conferencetabs .category-next {
   position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand_color);
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.conferencetabs .category-prev { left: -12px; }
.conferencetabs .category-next { right: -12px; }

.month-slider-wrapper .month-prev, 
.month-slider-wrapper .month-next {
    position: absolute;
  top: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.month-slider-wrapper .month-prev { left: -20px; }
.month-slider-wrapper .month-next { right: -15px; }

.cf7-form-wrapper {
  /* Original styles */
  display: flex;
  flex-direction: column;
  gap: 1rem;

  /* --- Material Effect Styles --- */
  padding: 1.5rem; /* Give space inside the box */
  border-radius: 8px; /* Soften the corners */
  background-color: #ffffff; /* A clean background for the 'card' */
  border: 1px solid #ddd; /* A very light, subtle border */
  
  /* The core 'material' effect: a subtle, multi-layered shadow */
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Lighter, more diffuse shadow */
    0 4px 10px rgba(0, 0, 0, 0.05); /* Slightly stronger, smaller shadow */
}

.wpcf7-textarea {
    height: 100px;
}

@media(max-width:768px) {
    .conferencetabs .prev, .conferencetabs .next {
        padding: 8px 12px;
    }
}

.conferencetabs {
    margin: 25px auto 10px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  border-radius: 8px;
}

.month-prev .fa-arrow-left, 
.month-next .fa-arrow-right {
  font-size: 12px !important;
  border: 1px solid red;
  padding: 2px;
  border-radius: 50%;
}

.conferencetabs-list {
padding-left: 12px;
}

.conferencetabs-list li {
 display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  justify-content: center;
  text-align: center;
  gap: 5px;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 8px;
  height: 90px;
}


.conferencetags-list {
  text-align: center;
  margin-bottom: 20px;
}

.conferencetags-list .pipeline:last-child {
    display: none;
}

.conferencetag {
  font-size: 12px;
  margin: 0px 5px;
  cursor: pointer;
}

.conferencetab-item {
  flex: 0 0 auto;
  background: #eee;
  padding: 8px;
  border-radius: 8px;
  color: #000;
  font-size: 15px;
  cursor: pointer;
  flex-direction: column;
  display: flex;
  width: 150px;
  font-weight: 500;
}

.conferencetab-item:hover, 
.conferencetab-item:active {
  background: #f7f7f7;
}

.cat-image img {
  max-width: 20px;
  margin-right: 5px;
  vertical-align: -2px;
}

.conferencetabs-list .conferencetab-item.active {
    color: var(--brand_color);         
    border-bottom: 1px solid var(--brand_color);  
}

.conferencetab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.conferencetab-link i {
    font-size: 24px;
    margin-bottom: 6px;
    color: #0073aa;
}

.conferencetab-link .conferencetab-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.conferencetab-link:hover,
.conferencetab-link.active {
    background: #eee;
    color: #333;
}

.conferencetab-link.active i {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .events-page { flex-direction: column; }
    .events-sidebar, .events-main { width: 100%; }
    .events-grid { grid-template-columns: 1fr; }
}

.event-buttons-wrapper {
    position: relative;
    transition: all 0.3s ease;
    z-index: 50;
    height: 80px;
}

.event-buttons-wrapper .container {
    padding: 0px;
}

.fixed-event-buttons {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.fixed-event-buttons .event-btn-container {
    padding: 15px 20px;
}

#show-past {
  background: var(--brand_color);
  color: #fff;
  display: block;
  border-radius: 8px;
  text-align: center;
  padding: 10px;
  transition: background 0.3s ease;
  margin-top: 25px;
}

.event-btn-container {
    display: flex;
}

.events-page-btn {
    margin: 8px;
    padding: 10px 20px;
    background: var(--brand_color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
.events-page-btn:hover {
    opacity: .8;
}


/* Popup base */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  margin: 20px auto;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  min-height: 600px;
  height: 100%;
}

.popup-content h2 {
    margin-top: 0;
    text-align: center;
    color: #333;
}

.hidden {
  display: none !important;
}

/* Gallery grid */
.committee-pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.committee-pic img {
    width: 100% !important;
  height: 300px;
  border-radius: 6px;
  object-fit: cover;
  max-width: 100%;
}

.committee-name {
    font-weight: 600;
    margin-top: 5px;
}

.committee-desc {
    font-size: 0.9rem;
    color: #555;
}


/* Close button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #555;
}

@media (max-width: 768px) {
  .popup-content {
    max-width: 95%;
    padding: 20px;
    border-radius: 8px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .popup-content {
    width: 95%;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
  }
}

.types-of-registration {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.cf7-registration-table th {
  padding: 2px 8px;
}

.types-of-registration .bg-red {
  background-color: var(--brand_color);
}

.types-of-registration h6 {
  font-weight: 600;
  margin: 0;
}

.category-row {
  background: #f5f5f5;
}

.participation-list .col {
  padding: 10px;
}

.cf7-form-wrapper .cf7-registration-table input {
  width: auto;
}

.category-heading p {
  margin: 0px;
  padding: 10px;
}

.types-of-registration .ribbon {
  color: #333;
  font-weight: 500;
}

.types-of-registration .radio-item label {
  display: block;
  cursor: pointer;
}

.cf7-note {
  text-align: center;
  font-size: 21px;
  color: var(--brand_color);
  font-weight: 600;
}

.cf7-col p {
  margin-bottom: 5px;
}

.cf7-form-wrapper {
    margin: 20px 0 0;
}

.conference-registration-form .cf7-row.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.conference-registration-form .cf7-col {
  width: 100%;
}

.wpcf7-spinner {display: none;}

.center.m-0 p strong {
  color: var(--brand_color);
}

.cf7-row {
   display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cf7-row.three-cols .cf7-col {
  flex: 1 1 calc(33.333% - 20px);
}

.cf7-col.full-width {
  flex: 1 1 100%;
}

.inline-flex label {
  margin-right: 15px;
}

.center {
  text-align: center;
}

@media (max-width: 768px) {
  .cf7-row.three-cols .cf7-col {
    flex: 1 1 100%;
  }
}


.cf7-row.center {
  justify-content: center;
  text-align: center;
}

.cf7-form-wrapper input,
.cf7-form-wrapper select,
.cf7-form-wrapper textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.cf7-form-wrapper input[type="submit"] {
  background: var(--brand_color);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  cursor: pointer;
  transition: 0.3s;
}

.cf7-form-wrapper input[type="submit"]:hover {
  opacity: .8;
}
		


@media (max-width: 767px) {
  .types-of-registration .row-cols-4 {
    grid-template-columns: 1fr 1fr !important;
  }

  .types-of-registration .text-center span {
    display: block;
    font-size: 13px;
  }
}

.single-conference-events .secondary-menu {display: none;}

.cf7-col.inline-flex p {
  display: flex;
}


.cf7-note {
  text-align: center;
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  background: #db3433;
  border-radius: 4px;
  line-height: 26px;
  padding: 20px;
  margin: 0px;
  display: flex;
  justify-content: center;
}

.nice-select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
  width: 195px;
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
}