/*
Theme Name: parivar
Theme URI: http://knparivar.com/
Description: KN Parivar
Author: Suresh Aggrawal
Author URI: http://globaloms.com
Version: 1.0

**/

@import url("https://fonts.googleapis.com/css2?family=Candal&family=Inter:wght@300..900&display=swap");
/* Full-width page container */
.page-container {
	display: block;
	/*flex-wrap: wrap;*/
	flex-direction: column;
	height: auto;
    width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	justify-content: center;
	min-height: 100vh;
	
}
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
      /* Typography Scale */
  --font-display: "Candal", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;

}

html,
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  /* background: white; */
}

p{
  line-height: 1.50;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 0.75rem);
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: 0.2px;
  color: var(--color-contrast);
  margin: 0 0 var(--space-4);
}

h3,
h4 {
  font-family: var(--font-sans);
  line-height: var(--lh-snug);
  color: var(--color-contrast);
  margin: 0 0 var(--space-3);
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
/*a{
    color: #6f432a !important;
}*/

/* Section 1: Main Header 
 .header {
            width: 100%;
            height: 55px;
            background-image: url('background.jpg');  Replace with your image path 
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
*/

/*.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #333;
  color: #fff;
}*/
.title-align-left {
    text-align: left;
}
.title-align-center {
    text-align: center !important;
}
.title-align-right {
    text-align: right;
}

.header .language-switch {
  display: flex;
  /*display: none;*/
	 align-items: center;
  gap: 10px;
}

.language-option img {
  width: 32px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
}

.language-option img:hover {
  transform: scale(1.2);
}

.language-option.active img {
  border: 2px solid #fff;
  border-radius: 4px;
}


/* Global Header Styles */
.header {
  width: 100%; 
  height: 55px; 
  background-color: #7d563f !important; 
  display: flex; 
	flex-wrap: wrap;
  justify-content: center; 
  align-items: center; 
  position: relative;
}

.header img {
  height: 70px; 
  object-fit: contain; 
}
/* Global Header Styles */

.header-text {
    color: #f1ecea;
    text-align: center;
    font-size: 20px;
}

.header-text h1 {
    font-size: 20px;
    margin-top: 10px;

}

.header-text h2 {
    font-size: 18px;
    font-weight: bold;
	margin-bottom: 1px;
}


.language-switch {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #fff;
    z-index: 10;
    left: 50px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #040404;
}

input:checked + .slider::before {
    transform: translateX(26px);
	content: 'हिंदी'; 
    font-family: 'Tiro Devanagari Hindi', serif; 
    font-size: 14px; 
    color: white; 
    display: flex;
    align-items: center;
    justify-content: center;
}

		
/* Section 2: Centered Image */
.center-image {
    margin: 5px 0;
    /*display: flex;*/
    display: none;
    justify-content: center;
    align-items: center;
}

.center-image img {
	width:auto;
    height: 70px;
}

/* Section 3: AJAX Search and Navigation */
.nav-header {
	position: sticky;
	top: 0;
	z-index: 1000;
    width: 100%;
	height:60px;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f1ecea!important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-icons {
    display: none; /* Hidden by default for large screens */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            cursor: pointer;
            background: transparent;
            border: none;
            z-index: 1001;
        }

        .hamburger div {
            width: 30px;
            height: 4px;
            background-color: #6f432a;
            border-radius: 2px;
            transition: transform 0.3s, opacity 0.3s;
        }

        /* Side Menu */
        .side-menu {
            position: fixed;
            top: 0;
            left: -250px;
            height: 100vh;
            width: 250px;
            background-color: #f8f5f2;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: left 0.3s ease;
            z-index: 1000;
            overflow-y: auto;
        }

        .side-menu.open {
            left: 0;
        }

        .side-menu a {
            text-decoration: none;
            font-size: 14px;
            color: #6f432a;
            font-weight: bold;
            padding: 0px 0px 16px 0px;
            border-bottom: 1px solid #ddd;
            transition: color 0.3s ease;
        }

        .side-menu a:hover {
            color: #b85c33;
        }

        /* Dropdown Items in Side Menu */
        .side-menu .dropdown {
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .side-menu .dropdown > a {
            cursor: pointer;
        }

        .side-menu .dropdown-content {
            display: none;
            flex-direction: column;
            background-color: #f0f0f0;
            padding: 10px 0;
            border-left: 3px solid #b85c33;
            margin-left: 10px;
            margin-top: 5px;
        }

        .side-menu .dropdown-content a {
            padding: 10px 15px;
            text-decoration: none;
            color: #6f432a;
            font-size: 16px;
        }

        .side-menu .dropdown-content a:hover {
            background-color: #e0dedb;
            color: #b85c33;
        }

        /* Show dropdown content when dropdown is active */
        .side-menu .dropdown.open .dropdown-content {
            display: flex;
        }

        /* Overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .overlay.show {
            display: block;
        }

.search-bar {
	max-width: 220px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
	
}

.search-bar input {
	background-color:#F5F5F5;
    width: 200px;
	height:40px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
}

.search-icon {
    display: none; /* Hidden by default */
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

/* Navigation Menu Styling */
nav {
    display: flex;
    align-items: center;
	padding-top: 10px;
	justify-content: center;
    gap: 20px;
	flex-wrap: wrap;
    position: relative;
}

nav a {
    text-decoration: none;
    font-size: 16px;
    color: #6f432a;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 15px,0;
	padding-right: 40px;
}

nav a:hover {
    color: #b85c33;
}

nav a.active {
    color: #b85c33;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
}

.dropdown-content {
	width: 150px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f5f2;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #6f432a;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #e0dedb;
    color: #b85c33;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* New Body Sections */
        .banner {
			background-color: #d9d9d9; /* Light gray background */
			display: block;
            width: 100%;
           /* max-width: 1440px;*/
            height: 500px;
            margin-top: 5px;
			margin-bottom: 40px;
			align-content: center;
			object-fit:cover;
        }

        .image-container {
            display: flex;
            gap: 40px;
            margin: 20px 0;
        }

     /* Centering the Circular Frames */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* Reduced gap for better spacing */
    margin: 2px 0;
}

/* Container for each circular frame with name */
.circular-frame-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Circular Frame Styling */
.circular-frame {
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3.5px solid #a4743f; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; /* Ensure images stay within the circle */
	margin: 0; 
    padding: 0;
}

/* Styling for the image inside the circular frame */
.circular-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%; 
}

/* Styling for the person's name below the image */
.person-name {
    margin-top: 10px;
    font-size: 16px;
    color: #6f432a; /* Dark brown text color */
    text-align: center;
    font-weight: bold;
}

/* Content Box Styling */
.content-box {
	width: 80%;
    padding: 20px;
    margin: 10px auto;
    background-color: #f0f0f;
    font-size: 16px;
	text-align:justify;
	line-height: 1.6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
}
		
		.border {
			background-color: #d9d9d9; /* Light gray background */
			display: flex;
            width: 100%;
         /*   max-width: 1440px;*/
            height: 120px;
			margin-bottom: 10px;
			align-content: center
        }

        .image-container {
            display: flex;
			margin: 0 auto;
            justify-content: center;
            gap: 40px;
        }
		
		.rectangular-frame-container {
			display: flex;
			width: 100%;
			max-width: 1130px;
			margin: 10 auto;
    flex-direction: column;
    align-items: center;
		
}

.rectangular-frame {
    width: auto !important;
    height: auto;
    border: 3.5px solid #a4743f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 100px;
}

.rectangular-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	flex: 1.5;
    min-width: 250px;
}

      /* Section 4: "Dadu Ka Sandesh" */
.sandesh-section {
	width: 100%;
    max-width: 1130px;
    display: flex;
	justify-content: space-between;
	align-items: flex-start !important;
    gap: 50px !important;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sandesh-image {
    flex: 1.5;
	width: 100%;
	min-width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	object-fit: cover;
}

.sandesh-text {
    flex: 2;
    padding: 10px;
    overflow-y: auto;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sandesh-text h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.sandesh-text p {
	font-size: 16px;
    text-align: justify;
}
		
		.signature {
    text-align: right;
    font-weight: bold;
    line-height: 1.6;
	font-size: 16px;
		}
		
		/* Content container for sections (1076px) */
.content-container {
    width: 1076px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;}
		/* Section Title */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-top: 40px;
    font-weight: bold;
    color: #4a4a4a;
}

/* Centering the Entire Family Ambassadors Section */
.family-ambassadors-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Family Ambassadors Section */
.family-ambassadors {
    width: 850px;
    display: grid;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #495235;
   
}

/* Circular Frames Row */
.ambassador-row {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-content: center;
    gap: 70px; /* Spacing between frames */
    margin-bottom: 40px;
}

/* Circular Frame Container */
.circular-frame-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Circular Frame Styling */
.circular-frame-small {
    width: 150px; /* Adjust frame size here */
    height: 150px; /* Adjust frame size here */
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 3px solid #a4743f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image inside the Circular Frame */
.circular-frame-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover Effect for Circular Frames */
.circular-frame-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Styling for the names below each frame */
.ambassador-name {
    margin-top: 10px;
    font-size: 16px;
   
    color: #6f432a !important;
    font-weight: bold;
    text-align: center;
}



/* Website Motive */
.website-motive {
	width: 100%;
    max-width: 1076px; /* Align with your other content sections */
    margin: 5px auto; /* Center the message on the page */
    padding: 10px;
    background-color: #f8f5f2; 
    border-radius: 8px;
	align-content: space-around;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
	margin-bottom: 20px;
    color: #4a4a4a; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

		
		/* Footer Section */
.footer-container {
	display: flex;
    width: 100%;
/*	max-width: 1440px;*/
	height: 60px;
	padding: 10px;
	/*margin: 0 auto;*/
	margin-bottom: 60px;
    background-color: #495235;
    justify-content: center;
}

.footer-text {
    font-size: 16px;
    color: #ffffff;
	text-align: center;
}

.footer-link {
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
	text-align: center;
}

.footer-link:hover {
    color: #b5c1a3;
}

.ksp-search{ position:relative; }


#search_results {
    display: block;
    position: absolute;
    margin-top: 0px;
    top: 72px;
	z-index: 2000;
}
h1,h2 {
    color:#141313;
	font-family: "Verdana, Arial, Helvetica, sans-serif";
	padding:10px 0;
}

h2{
	font-size: 1.5rem;
}

h4 {
	padding : 7px 7px;
}

.logo {
	float: left;
}

div.member_section p:first-of-type {
	font-size: 9pt !important;
}
.member_section p {
    line-height: 16px;
    font-size: 8pt;
    font-weight: 400;
    margin-top: 0pt;
    margin-bottom: 0pt;
    color: #000000;
}

.member_section p a{
    font-size: 9pt;
    margin-left: 0px;
}


#member_table_filter input {
	padding: 8px;
	border: 1px solid #16194A;
    border-radius: 5px;
}

.ksp-navwrap .nav-item.dropdown:hover ul.dropdown-menu { display:block; }



h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px  auto;
}

.table-container {
    width: 100%;
	/*margin: 20px auto;*/
	margin: 74px auto;
    max-width: 600px;
    min-width: 300px;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pencil-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: white;
    color: #007BFF;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

table {
	display: table;
	overflow-x: auto;
    width: auto;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
	text-wrap: auto;
	word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}

th {
    background-color: #433520;
    color: white;
}

thead {
    background-color: #433520 !important;
    font-weight: bold;
	text-align: center;
	color:white;
}

td:nth-child(3), th:nth-child(3) {
    width: 230px;
}
td:nth-child(4), th:nth-child(4) {
    width: 300px; /* Increase Contact Details column width */
}

td img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}
 tr:nth-child(even) {
    background-color: #f8f5f2 !important;
}

tr:nth-child(odd) {
    background-color: #e8f0e2 !important;
}

.btn {
    padding: 8px 16px;
    margin: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-edit {
    /*position: absolute;*/
    position: relative;
    top: 20px;
    right: 20px;
    background-color: #007BFF;
    color: white;
}

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

.hidden {
    display: none;
}
.admin-info {
    /*display: flex;*/
    align-items: center;
}

.root-family {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}


ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul li a {
    color: #6f432a;
}

.dataTables_paginate.paging_simple {
    padding: 0 !important;
}


#member_table_previous:after, #member_table_previous:before , #member_table_next:before, #member_table_next:after, .paging_simple .paginate_button.next:after, .paging_simple .paginate_button.previous:before{
    display : none !important;
}
.rbs_gallery_button .button-flat-primary {
    background: #16194A !important;
}

.rbs_gallery_button .button-flat-primary.active {
    color: #16194A !important;
    background: #ffffff !important;
    border : 1px solid #16194A !important;
}
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    background-color: #16194A !important;
}

.envira-album-public.envira-gallery-1-columns .envira-title, .envira-album-public.envira-gallery-2-columns .envira-title, .envira-album-public.envira-gallery-3-columns .envira-title, .envira-album-public.envira-gallery-4-columns .envira-title, .envira-album-public.envira-gallery-5-columns .envira-title, .envira-album-public.envira-gallery-6-columns .envira-title, .envira-gallery-public.envira-gallery-1-columns .envira-title, .envira-gallery-public.envira-gallery-2-columns .envira-title, .envira-gallery-public.envira-gallery-3-columns .envira-title, .envira-gallery-public.envira-gallery-4-columns .envira-title, .envira-gallery-public.envira-gallery-5-columns .envira-title, .envira-gallery-public.envira-gallery-6-columns .envira-title {
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    height: 88px;
}

.member-submit.disabled, .btn-primary.disabled, .btn-primary:disabled {
    opacity: 0.9;
    color: #000;
    background-color: #ddd;
    border-color: transparent;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*.ksp-deity-wrap img {
    height: 70px;
    margin-top: -20px;
}*/

.login-box {
    max-width: 500px;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
}
.login-title {
    font-size: 24px;
    line-height: 1.2;
    color: #935727;
    margin: 0 0 24px;
}
.login-logo {
    margin-bottom: 24px;
}
.login-form-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /*margin-bottom: 48px;*/
    padding-bottom: 24px;
    /* border-bottom: 1px solid #000; */
}
.login-form-content h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #935727;
}
.login-form-content  p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.login-form {
    border: 2px solid #000;
    padding: 24px;
    border-radius: 24px;
    text-align: left;
}
.form-group {
    margin: 2rem 2rem 1rem 2rem;
}
.form-label {
    margin-bottom: 4px;
}
.input-wrap {
    display: block;
    position: relative;
}
.login-input {
    width: 100%;
    height: 42px;
    padding: 8px 6px;
    border: 1px solid #000;
    border-radius: 4px;
}
.input-icon {
    position: absolute;
    left: 8px;
    top: 10px;
}

.password-icon {
    position: absolute;
    top: 10px;
    right: 8px;
}
.form-group-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
#login_with_phone .form-group-submit{
    justify-content: center;
}
input[type="checkbox"] {
    margin: 0;
}
.login-btn {
    background-color: #C67A22 !important;
    border: 1px solid #C67A22 !important;
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    cursor: pointer;
}
/* July 11, 2025 */

.login-form-wrap button#emailBtn {
    margin-top: 10px;
}

/* #login p#nav a, #login p#backtoblog a {
    display: none !important;
} */

.login-form p {
    margin-bottom: 8px;
}

section.ksp-navwrap {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    /*background-color: #bc6c25;*/
}



.ksp-navwrap.sticky {
  background-color: #bc6c25;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Start - July 25, 2025 */

.page-id-157 body, .page-id-302 body, .page-id-266 body,
.page-id-235 body, .page-id-230 body, .page-id-271 body,
.page-id-275 body, .page-id-318 body, .page-id-279 body,
.page-id-281 body
{
        background-color: #fdfaf5;
      }
      .upload-section {
        background-color: #3f2e29;
        padding-top: 100px;
        padding-bottom: 60px;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        margin-top: 120px !important;
        position: relative;
      }
      .upload-toggle {
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        /*height: auto;*/
        min-height: 100px;
        max-height: 800px;
        overflow: auto;
        background-color: #fdfaf5;
        border-radius: 50%;
        border: 1px solid #ccc;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.5s ease;
        z-index: 1050;
      }
      .upload-toggle.expanded {
        top: 150px;
        width: 500px;
        position: fixed;
        /*height: 220px;*/
        height: auto;
        border-radius: 20px;
        padding: 20px;
        cursor: default;
      }
      .upload-toggle .plus,
      .upload-toggle .text {
        transition: opacity 0.3s;
      }
      .upload-toggle.expanded .plus,
      .upload-toggle.expanded .text {
        opacity: 0;
        pointer-events: none;
      }
      .upload-box {
        display: none;
        width: 100%;
        text-align: center;
      }
      .upload-toggle.expanded .upload-box {
        display: block;
      }
      .drop-area {
        width: 100%;
        border: 2px dashed #aaa;
        border-radius: 10px;
        background-color: #f8f8f8;
        padding: 20px;
        transition: background 0.3s;
        position: relative;
      }
      .drop-area.dragover {
        background-color: #e6f3ee;
        border-color: #4f665a;
      }
      .upload-box button {
        background-color: #4f665a;
        color: white;
        border: none;
        padding: 6px 20px;
        border-radius: 20px;
        font-size: 14px;
        margin-top: 10px;
      }
      input[type="file"] {
        /*display: none;*/
      }

      .media-grid .card img {
        height: 120px;
        object-fit: cover;
      }
      .editable-input {
        border: 1px dashed #aaa;
        width: 100%;
        font-size: 12px;
        text-align: center;
      }
      .action-icons i {
        cursor: pointer;
        font-size: 16px;
      }
      .action-icons span {
        font-size: 13px;
        color: #555;
      }

      .delete-confirm-box {
        position: fixed;
        bottom: -200px;
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-radius: 10px;
        z-index: 9999;
        transition: bottom 0.4s ease;
        width: 90%;
        max-width: 400px;
        text-align: center;
      }
      .delete-confirm-box.active {
        bottom: 20px;
      }

      #mediaViewerModal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(5px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
      }
      #mediaViewerModal.d-none {
        display: none;
      }
      .media-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        min-width: 200px;
      }
      .media-display img,
      .media-display video {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 10px;
        margin: 0 auto;
      }
      .media-title {
        position: absolute;
        top: -40px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 16px;
      }
      .close-btn {
        position: absolute;
        color: white;
        top: -40px;
        right: 0;
        font-size: 24px;
        cursor: pointer;
      }
      .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 40px;
        color: white;
        cursor: pointer;
        user-select: none;
        z-index: 10000;
      }
      .nav-left {
        left: -60px;
      }
      .nav-right {
        right: -60px;
      }
      .tab-content.mt-5 {
    width: 100%;
}

#post-157 .text-center h2, #post-302 .text-center h2, #post-266 .text-center h2,
#post-235 .text-center h2, #post-230 .text-center h2, #post-271 .text-center h2,
#post-275 .text-center h2, #post-318 .text-center h2, #post-279 .text-center h2,
#post-281 .text-center h2
{
    text-align: center;
}
#post-157 .text-center p, #post-302 .text-center p, #post-266 .text-center p,
#post-235 .text-center p, #post-230 .text-center p, #post-271 .text-center p,
#post-275 .text-center p, #post-318 .text-center p, #post-279 .text-center p,
#post-281 .text-center p
{
    text-align: center;
}

#post-157 h2.title-align-center, #post-302 h2.title-align-center, #post-266 h2.title-align-center,
#post-235 h2.title-align-center, #post-230 h2.title-align-center, #post-271 h2.title-align-center,
#post-275 h2.title-align-center, #post-318 h2.title-align-center, #post-279 h2.title-align-center,
#post-281 h2.title-align-center
{
    margin-top: 56px;
}

#post-157 .text-center.mt-5, #post-302 .text-center.mt-5, #post-266 .text-center.mt-5,
#post-235 .text-center.mt-5, #post-230 .text-center.mt-5, #post-271 .text-center.mt-5,
#post-275 .text-center.mt-5, #post-318 .text-center.mt-5, #post-279 .text-center.mt-5,
#post-281 .text-center.mt-5
{
    margin-top: 0px !important;
}

#post-157 .nav, #post-302 .nav, #post-266 .nav,
#post-235 .nav, #post-230 .nav, #post-271 .nav,
#post-275 .nav, #post-318 .nav, #post-279 .nav,
#post-281 .nav
{
  background-color: #FFFFFF;
  box-shadow: none;
  padding-bottom: 0px ;
  z-index: 1050;
}

.album-group {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.album-group p {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.album-group p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.upload-toggle .upload-box {
    display: none;
}

.upload-toggle.expanded .upload-box {
    display: block;
}

.upload-toggle.expanded .plus,
.upload-toggle.expanded .text {
    display: none;
}

.preview-wrapper {
	position: relative;
	margin-bottom: 10px;
}
.preview-wrapper span {
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(0,0,0,0.7);
	color: white;
	padding: 2px 6px;
	border-bottom-left-radius: 4px;
	font-weight: bold;
	cursor: pointer;
}

/* .card-body .title-text,
.card-body .desc-text {
  position: relative;
}

.card-body .title-text:hover .edit-title-icon,
.card-body .desc-text:hover .edit-desc-icon {
  display: inline !important;
} */

.card:hover .edit-title-icon,
.card:hover .edit-desc-icon {
    display: inline-block !important;
}

.title-container, .desc-container {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin-bottom: 10px;
}

.title-text, .desc-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

img.topHeader {
    position: relative;
    left: 17%;
}

.edit-title-icon, .edit-desc-icon {
    flex-shrink: 0;
    cursor: pointer;
    font-size: 1rem;
}

/* Hover effects */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-right a {
    color: #fff !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: white;
    font-weight: normal;
}

#user-name {
    display: block;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

#user-name span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #000000;
}

.ina-debugger-section{
    z-index: 999 !important;
    width: 1500px;
}

.upload-box p.mt-2{
    text-align: center;
}

.noContent .noContentp {
    color: #ffffff;
    text-align: center;
}

th{
    width: 224px;
}
td {
    width: 300px;
}

.about-container .about-head h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #b17457;
}

.post-815 h1 {
  color: #FAF7F0;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.post-815 .title-align-left{
    display: none;
}

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 30px;
   : Arial, sans-serif;
  line-height: 1.6;
}
.about-container .about-head {
  text-align: center;
  margin-bottom: 20px;
}
.about-container .about-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.about-container .left-section, .about-container .right-section {
  width: 48%;
}

.about-container .about-head a {
  color: #b17457;
  text-decoration: none;
  font-weight: bold;
}

.about-container h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
  margin-bottom: 15px;
  margin-left: 0;
}

img.profile-icon {
    height: 40px !important;
}

.page-id-373 .content{
    margin: 74px;
}

.ksp-footer{
    margin-bottom: 44px !important;
}

tbody, td, tfoot, th, thead, tr {
     border-width: 1px !important; 
}

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

.page-template-member_detail .member-container{         
    background-image: url('new_image/Member-page-bg.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat; 
    background-attachment: fixed;
}

.login-form-wrap p{
    margin-top: 30px;
}

p #helpVideoLink{
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 15px;
    text-align: justify;
}

p.helpVideoLink {
    margin: 30px 0px 30px 0px;
}

select.nameSearch {
    width: 100%;
    height: 42px;
    padding: 8px 6px;
    border: 1px solid #000;
    border-radius: 4px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    width: 600px;
    text-align: center;
}

/* .popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
} */

.popup-close {
    position: absolute;
    top: -8px;
    right: -25px;
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
    cursor: pointer;
}

.popup-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

td.childrenImage {
    text-align: center;
    vertical-align: middle;
}

.editPageContainer{
    width: auto;
    margin: 0px 42px;
}

fieldset {
    margin: 0 18px !important;
}


@media (max-width: 1440px) {

.ksp-menu .nav-link {
    padding: 5px 7px !important;
}


}


@media (max-width: 1300px) {

.ksp-pill.ksp-pill-right .d-md-block {
        display: none !important;
    }

.ksp-pill.ksp-pill-right .d-md-none {
        display: flex !important;
    }    

}

@media (max-width: 768px) {

.ksp-pill.ksp-pill-right .d-md-block {
        display: none !important;
    }

.ksp-pill.ksp-pill-right .d-md-none {
        display: flex !important;
    }   
    
    .about-container .left-section, .about-container .right-section{
        width: 100%;
    }
    
   

}


@media (min-width: 992px) {
  section.ksp-navwrap {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 1500px) {
    img.topHeader {
        left: 1%;
    }
    
    .user-profile {
        position: absolute !important;
        right: 0%;
    }
    
    .center-image {
        display: none;
    }
    
    .logout-btn {
        color: white !important;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    /*.user-profile {
        display: none !important;
    }*/
    
    #user-name {
        display: none;
    }
    
     .about-container .left-section, .about-container .right-section{
        width: 100%;
    }
}

@media (max-width: 3000px) {
    img.topHeader {
        left: 1%;
    }
    
    .user-profile {
        position: absolute !important;
        right: 0%;
    }
    
    .center-image {
        display: none;
    }
    
    .logout-btn {
        color: white !important;
        text-align: center;
    }
}

@media (min-width: 1200px) {
        .tab-content.mt-5 .col-xl-5th {
          flex: 0 0 auto;
          width: 20%;
        }
      }

/* End - July 25, 2025 */

@media (max-width: 640px) {
	.login-box {
	    max-width: 100%;
	    padding: 20px;
	    margin: 0;
	}
	.login-form {
	    padding: 24px;
	}
}

.about-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 60px 20px;
}
.about-description {
    max-width: 940px;
    margin: 0 auto;
    background-color: #D9D9D9;
    padding: 40px;
    text-align: center;
}
.about-description h2 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.2;
    color: #935727;
}
.about-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}
.about-2 {
    margin-bottom: 60px;
}

.about-3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 60px;
}
.about-content h2 {
    text-align: center;
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.2;
    color: #935727;
}
.about-content p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
}
.about-from {
    text-align: right;
    font-weight: bold;
}
.about-4 {
	margin-bottom: 60px;
}

.search-input-wrap {
    display: block;
    position: relative;
}
.search-input {
    width: 100%;
    height: 42px;
    padding: 8px 32px;
    border: 1px solid #000;
    border-radius: 4px;
}
.search-input-icon {
    position: absolute;
    top: 10px;
    right: 8px;
}

.table-responsive-mobile {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive-mobile table {
    min-width: 800px;
}


@media (max-width: 640px) { 

	.site-navigation {
	    flex-direction: column;
	}
	.menu-list {
	    justify-content: center;
	}
	
	a#backButton {
        font-size: 20px !important;
        padding: 2px 16px !important;
    }
}

@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    td img {
        width: 40px;
        height: 40px;
    }
    .table-container {
        width: 100%;
    }
    
    .logout-btn{
        padding: 10px 24px !important;
    }
	
}


/* Mobile Devices */
@media (min-width: 320px) and (max-width: 768px) {
  .page-container {
        max-width: 100%; /* Full width for mobile */
        padding: 0 10px;  /* Smaller padding for mobile devices */
    }
	
	.hamburger {
                display: flex;
            }

            nav {
                display: none;
            }
	
	.main-header {
        height: 50px; /* Reduced height for compact screens */
    }

    .header-text h1 {
        font-size: 16px; /* Smaller text for mobile screens */
        margin-top: 5px;
    }

    .header-text h2 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .language-switch {
        gap: 5px; /* Tighter spacing between language icons */
        right: 10px; /* Adjusted to fit narrow screens */
    }

    .leaf-left {
        left: 10px; /* Position closer to the edge */
        width: 100px; /* Smaller size */
    }

    .leaf-right {
        right: 10px; /* Position closer to the edge */
        width: 100px; /* Smaller size */
    }
	
	.banner {
        height: 300px; /* Further reduced height for mobile screens */
        margin-bottom: 20px; /* Adjusted spacing */
    }
	
	.image-container {
        flex-wrap: wrap; 
        gap: 20px; 
        padding: 0 10px; 
    }
	
	.circular-frame {
		width: 100px;
		height: 100px;
	}
	.person-name{
		font-size: 12px;
	}
	
	 .content-box {
        width: 95%; 
        padding: 10px; 
        font-size: 0.875rem; 
        line-height: 1.4; 
    }
	.border {
        height: 60px; 
        margin-bottom: 5px;
        flex-direction: row;
    }
	
	.rectangular-frame-container {
        flex-direction: row; /* Stack frames vertically */
        gap: 10px; /* Tighter spacing */
    }

    .rectangular-frame {
        width: 100%; 
        margin: 0 auto; 
    }
	
	.sandesh-section {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .sandesh-image {
        flex: none; 
        width: 50%;
        height: auto; 
    }

    .sandesh-text {
        font-size: 12px; 
        padding: 5px;
		line-height: 1.4;
    }

    .sandesh-text h2 {
        font-size: 22px; 
        margin-bottom: 15px;
    }
	
	 .signature {
        font-size: 12px; 
        text-align: center; 
        margin-top: 10px; 
    }
	
	 .content-container {
        width: 95%; 
        padding: 10px; 
        margin-bottom: 20px; 
    }
	
	.family-ambassadors {
        gap: 10px; 
    }

    .family-ambassadors-container {
        padding: 0 10px;
    }
	
	 .ambassador-row {
        flex-wrap: wrap; 
        gap: 10px; 
        margin-bottom: 10px; 
    }
	
	 .circular-frame-small {
        width: 60px;
		 height: 60px;
    }

    .ambassador-name {
        font-size: 10px;
        margin-top: 5px; 
    }
	
	.ambassador-name > a{
	    color: ##a4743f !important;
	}
	
	.ambassador-name:hover, .ambassador-name:focus {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
	
	.website-motive {
        width: 100%; 
        padding: 10px; 
        font-size: 14px; 
        line-height: 1.4; 
        margin-bottom: 15px; 
    }
	
	.language-option img {
  width: 22px;
  height: auto;
}
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1024px) {
  .page-container {
        max-width: 960px; /* Slightly smaller for tablets */
        padding: 0 15px;  /* Less padding for smaller screens */
    }
	
	.hamburger {
                display: flex;
            }

            nav {
                display: none;
            }
	.main-header {
        height: 55px; /* Maintain original height */
    }

    .header-text h1 {
        font-size: 18px; /* Slightly larger text for tablets */
    }

    .header-text h2 {
        font-size: 16px;
    }

    .language-switch {
        gap: 8px; /* Balanced spacing for tablets */
        right: 15px; /* Adjust positioning */
    }

    .leaf-left {
        left: 50px; /* Adjust position for tablet width */
        width: 120px; /* Slightly larger size */
    }

    .leaf-right {
        right: 50px; /* Adjust position for tablet width */
        width: 120px; /* Slightly larger size */
    }
	
	.banner {
        height: 400px; /* Reduced height for tablets */
        margin-bottom: 30px; /* Adjusted spacing */
    }
	.image-container {
        gap: 50px; /* Reduce gap between circular frames */
        padding: 0 15px; /* Add padding for better alignment */
    }
	.content-box {
        width: 90%; /* Adjusted width for smaller screens */
        padding: 15px; /* Reduced padding */
        font-size: 0.9375rem;; /* Slightly smaller font size */
    }
	
	.border {
        height: 100px; /* Reduced height */
        margin-bottom: 8px; /* Adjusted margin for smaller spacing */
    }
	
	 .rectangular-frame-container {
        flex-direction: row; /* Maintain row layout on tablets */
        flex-wrap: wrap; /* Allow wrapping */
        gap: 20px; /* Add spacing between frames */
    }

    .rectangular-frame {
        width: 350px; /* Reduced width */
    }
	
	.sandesh-section {
        flex-direction: column; /* Stack text and image vertically */
        gap: 15px; /* Reduced gap */
        padding: 15px; /* Adjusted padding */
    }

    .sandesh-text {
        font-size: 14px; /* Slightly smaller font */
    }

    .sandesh-text h2 {
        font-size: 22px; /* Reduced header font size */
    }
	
	 .content-container {
        padding: 15px; /* Reduce padding */
        margin-bottom: 30px; /* Adjust margin */
    }
	
	  .family-ambassadors {
        gap: 15px; /* Reduce gap between elements */
    }a
	
	.ambassador-row {
        flex-wrap: wrap; /* Allow wrapping of rows */
        gap: 30px; /* Reduce gap for compact layout */
        margin-bottom: 30px; /* Adjust bottom margin */
    }
	 .circular-frame-small {
        width: 100px; /* Reduce size */
        height: 100px; /* Maintain aspect ratio */
        border: 2px solid #a4743f; /* Adjust border width */
    }

    .ambassador-name {
        font-size: 10px; /* Slightly smaller font */
    }
	
	.website-motive {
        width: 95%; /* Increase width for smaller screens */
        padding: 15px; /* Reduce padding */
        font-size: 12px; /* Slightly smaller font */
        line-height: 1.5; /* Adjust line height */
    }
	
	.language-option img {
  width: 26px;
  height: auto;
}
