* {
margin: 0;
padding: 0;
}

.text_gu {font-family: 'Noto Sans Gujarati', Shruti, 'Lohit Gujarati', SamsungGujarathi;
}
.text_trans {
font-family: 'Segoe UI', Arial, Helvetica, 'Source Sans Pro';
}

.en_inline {
font-family: 'Source Sans Pro';
}

.gu_inline {
font-family: 'Noto Sans Gujarati';
}

a {
color: #36C;
text-decoration: none;
}

a:hover {
color: purple;
text-decoration: none;
}

audio {
height: 32px;
}

img {
vertical-align:middle;
border:0;
}

img.nav_img {
border: 0;
height: 36px;
}

img.ornament {
width: 75%;
}

a span.small {
height:24px;
width:18px;
}

a span.large {
height:28px;
width:24px;
}

a span.format_sel {
text-align: center;
display: inline-block;
padding:0 6px;
font-weight:bold;
font-size:12pt;
border: 2px solid gray;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
font-family: 'Mukta Vaani';
color: gray;
}

a span.format_sel:hover {
background-color:#FFE766;
text-decoration:none;
}

a span.selected {
display: inline-block;
padding:0 6px;
background-color:#3399FF;
color:white;
font-weight:bold;
font-size:12pt;
border: 2px solid #3399FF;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
font-family: 'Mukta Vaani';
}

a span.selected:hover {
text-decoration:none;
}

p.noscript {
border:1px solid green;
background:white;
width:90%;
color:red;
margin:4px auto 4px auto;
padding: 8px;
text-align:center;
}

.loading {
position:absolute;
right:4px;
top:6px;
}

body {
background:#DCDCDC;
color: #444;
font: normal 62.5% "Lucida Sans Unicode",sans-serif;
margin: 0;
}

#wrapper {
margin: 0px auto;
max-width:640px;
border-left: 1px solid #6495ED;
border-right: 1px solid #6495ED;
padding:0;
background:white;
}

#header {
text-align:center;
background:#6495ED;
border-bottom: 1px solid #6495ED;
height:100%;
max-height:125px;
box-shadow: 0px 0px 4px #A08689;
-webkit-box-shadow: 0px 0px 4px #A08689;
-moz-box-shadow: 0px 0px 4px #A08689;
}

#header img {
width:100%;
max-width:640px;
}

#header h1 {
color:white;
font-size:28px;
text-shadow: 0px 0px 4px silver;
font-family:'Segoe UI',Arial,Helvetica;
font-weight:bold;
}

#kirtan-options {
margin:4px;
padding: 4px;
}

#mobile-nav-button.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  padding: 2px 0;
	z-index:100;
	overflow:auto;
}

#sticky.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  padding: 2px 0;
	z-index:100;
}

.sidenav {
    height: 100vh; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
	-webkit-overflow-scrolling: touch;
    overflow-x: hidden; /* Disable horizontal scroll */
	overflow-y: scroll;
    padding-top: 24px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
	position: absolute;
	top: 6px;
	right: 6px;
	font-size: 48px;
	font-weight: bold;
	color: white;
	font-family: Arial, Helvetica;
}

.sidenav .closebtn:hover {
	text-decoration: none;
	background-color: purple;
}

.closebtn span {
	font-size: 24px;
	font-weight: bold;
	color: white;
}

.selbtn {
font-size: 26px;
cursor: pointer;
padding: 0px 8px 0px 6px;
margin:0;
}

.selbtn:hover {
color: blue;
background-color: lightgray;
text-decoration: none;
}

#options {
padding-bottom: 16px;
text-align: center;
}

#selection {
margin:0 0 0 0;
padding:0;
border-right:1px solid #5288DB;
border-bottom:1px solid #5288DB;
background-color:#FFFFF7;
}

#selection h1 {
font-family:'Segoe UI',Helvetica,Arial;
font-size:16pt;
text-align:center;
color:white;
background:SlateBlue;
padding: 8px;
margin-bottom:8px;
text-shadow: 0px 0px 1px silver;
}

#selection h2 {
font-family:'Segoe UI', Helvetica, Arial;
font-size: 18pt;
padding: 0 8px 0 8px;
color:#5288DB;
text-shadow: 0px 0px 1px silver;
}

#selection h2 a {
color:#5288DB;
}

#selection h2 a:hover {
text-decoration:none;
color:white;
}
#selection h2 a span {
display:block;
padding:8px;
margin-top:2px;
margin-bottom:2px;
font-family: 'Fira Sans';
}

#selection h2 a span:hover {
background:#1E90FF;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}

#selection h2 a span.gu {
font-family: 'Mukta Vaani', 'Noto Sans Gujarati';
font-weight: normal;
}

#selection h2 a span.small {
font-size: 14pt;
}

#selection h2 a span.en {
font-family: 'Source Sans Pro', Arial, Helvetica;
font-weight: normal;
}

.title {
clear:both;
margin-top: 24px;
padding-top:24px;
}

.title h1 {
text-align: center;
}

.title h1.text_gu {
font-size: 36pt;
font-family: "Noto Serif Gujarati";
font-weight: bold;
color: #C00000;
text-shadow: 3px 2px 3px silver;
}

/*for title only*/
.alpha-list {
margin: 4px 4px 4px 8px;
font-size:12pt;
text-shadow: 0px 0px 1px silver;
}

.alpha-list a:hover {
text-decoration:none;
}

.alpha-list a span {
border:1px solid #5E9DC8;
background:#F0F8FF;
padding:4px;
margin:4px;
display:inline;
float:left;
width:60px;
text-align:center;
border-radius: .25em;
}

.alpha-list a span:hover {
color:white;
background:#1E90FF;
}

.alpha-list a span:active {
background:orangered;
color:white;
}

.alpha-list a span.text_gu {
font-family: 'Mukta Vaani', 'Noto Sans Gujarati';
font-size:12pt;
}

.alpha-list a span.text_en {
font-family: 'Source Sans Pro', 'Segoe UI';
font-size:12pt;
}

.kirtan-list {
clear:both;
border:0;
margin: 4px 4px 4px 8px;
font-size:10pt;
text-shadow: 0px 0px 1px silver;
}

.kirtan-list a:hover {
text-decoration:none;
color:white;
}

.kirtan-list a span {
display:block;
border:1px solid #568018;
background:#E6FFC1;
padding:4px;
margin:4px;
border-radius: .25em;
}

.kirtan-list a span.text_gu {
font-family: 'Mukta Vaani', 'Noto Sans Gujarati';
font-size:12pt;
}

.kirtan-list a span:hover {
background:#568018;
}
/*for title only*/

/*for other selection options*/
.selection-list {
margin: 4px 4px 4px 8px;
text-shadow: 0px 0px 1px silver;
transition: 0.5s;
}

.selection-list a:hover {
text-decoration:none;
}

.selection-list a span {
border:1px solid #5E9DC8;
color:#3C4884;
background:#F0F8FF;
padding:4px 4px 4px 8px;
margin:4px;
display: block;
border-radius: .25em;
}

.selection-list a span:hover {
text-decoration:none;
color:white;
background:#1E90FF;
}

.selection-list a span:active {
color:white;
background:orangered;
}

.selection-list a span.text_gu {
font-family: 'Mukta Vaani', 'Noto Sans Gujarati';
font-size:14pt;
}

.selection-list a span.text_en {
font-family: 'Segoe UI', 'Source Sans Pro', Arial;
font-size:14pt;
}

.selection-list div.kirtans {
border:0;
padding:0px;
margin-left:8px;
}

.selection-list div.kirtans a span {
display:block;
border:1px solid #568018;
background:#E6FFC1;
padding:4px;
}

.selection-list div.kirtans a span:hover {
color:white;
background:#568018;
}

.selection-list div.kirtans a span.text_gu {
font-family: 'Mukta Vaani', 'Noto Sans Gujarati';
font-size:12pt;
}

.selection-list div.kirtans a span.text_en {
font-family: 'Segoe UI', 'Source Sans Pro';
font-size:12pt;
}

/*For utsav hover over*/
/* Base style for today's highlighted Utsav */
.selection-list a span.today-utsav-highlight {
    background-color: #9966CC;
		color: white;
    transition: all 0.2s ease-in-out;
}

/* Override the default white text on hover specifically for the highlighted item */
.selection-list a span.today-utsav-highlight:hover {
    background-color: #FDE3B4; /* A slightly darker cream on hover */
    color: #333333 !important; /* Force the text to stay dark so it remains legible */
}

.multi_pad_item {
border-left:2px solid #5E9DC8;
color:#3C4884;
background:#F0F8FF;
padding:4px 4px 4px 8px;
margin:0 4px 0 8px;
display: block;
}

.multi_pad_item:hover {
border-left:2px solid red;
text-decoration: none;
color:white;
background:navy;
margin:0 4px 0 8px;
padding:4px 4px 4px 8px;
}

.multi_pad_item:hover span {
color:white;
background:navy;
}

.multi_pad_item span.item_gu {
	font-family: 'Mukta Vaani';
	font-size: 14pt;
	border: 0;
	padding: 0;
	margin: 0;
}

.multi_pad_item span.item_en {
	font-family: 'Source Sans Pro';
	font-size: 14pt;
	border: 0;
	padding: 0;
	margin: 0;
}

.multi_pad_item span:hover {
color:white;
background:navy;
}

.multi_pad_item span.item_gu:hover {
	background:navy;
	border: 0;
	padding: 0;
	margin: 0;
}
.multi_pad_item span.item_en:hover {
	background:navy;
	border: 0;
	padding: 0;
	margin: 0;
}

.empty {
padding:1px;
display: block;
}


/*for other selection options only*/

#content {
position:relative;
margin:4px;
padding:4px;
min-height:38px;
}

.kirtan {
width:98%;
margin:8px auto 0 auto;
padding:4px;
border:1px solid lightgray;
font-size:14pt;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}

.kirtan h1 {
margin:2px;
color:#A52A2A;
text-align:center;
font-size:17pt;
}

.kirtan h1.gu {
font-family: 'Google Sans', 'Mukta Vaani', Shruti, 'Lohit Gujarati', SamsungGujarathi;
padding-top:4px;
padding-bottom:0px;
text-shadow: 0px 0px 1px silver;
}

.kirtan h1.en {
font-family: 'Fira Sans', 'Segoe UI', Arial, Helvetica, 'Source Sans Pro';
padding-top:6px;
padding-bottom:6px;
text-shadow: 0px 0px 1px silver;
}

.kirtan h1.hi {
font-family: 'Noto Sans Devanagari';
padding-top:4px;
padding-bottom:0px;
text-shadow: 0px 0px 1px silver;
}

.kirtan h2.kirtan_sub_gu {
font-family: 'Noto Sans Gujarati', Shruti, 'Lohit Gujarati';
font-size: 14pt;
font-weight: bold;
text-align: center;
color:#A52A2A;
}

.kirtan h2.kirtan_sub_en {
font-family: 'Source Sans Pro', Arial, Helvetica;
font-size: 16pt;
font-weight: bold;
text-align: center;
color:#A52A2A;
}

.kirtan_info {
width:96%;
margin:0 auto 8px auto;
color:gray !important;
text-align:center;
border-bottom:1px solid lightgray;
padding:4px;
}

.kirtan_info p.no_info_gu {
font-size:10pt;
font-family: 'Noto Sans Gujarati', 'Segoe UI';
}

.kirtan_info p.no_info_en {
font-size:10pt;
font-family: 'Segoe UI';
}

.kirtan_info_gu {
width:96%;
font-family: 'Noto Sans Gujarati';
margin:0 auto 8px auto;
color:gray !important;
text-align:center;
border-bottom:1px solid lightgray;
padding:2px;
font-size:10pt;
}

.kirtan_info_en {
width:96%;
font-family: 'Segoe UI', 'Souce Sans Pro';
margin:0 auto 8px auto;
color:gray !important;
text-align:center;
border-bottom:1px solid lightgray;
padding:2px;
font-size:10pt;
}

.kirtan_info_hi {
width:96%;
font-family: 'Noto Sans Devanagari';
margin:0 auto 8px auto;
color:gray !important;
text-align:center;
border-bottom:1px solid lightgray;
padding:2px;
font-size:10pt;
}

.kirtan_info p.raag_info_gu {
font-family: 'Hind Vadodara';
font-size: 10pt;
}

.kirtan_info p.raag_info_en {
font-family: 'Segoe UI';
font-size: 10pt;
}

.kirtan_info p.raag_info_gu a:hover {
color: green;
}

.kirtan_info p.raag_info_en a:hover {
color: green;
}

.kirtan_info table.raag_info_table {
border: 0;
width: auto;
margin: auto;
}

.kirtan_info table.raag_info_table td.raag_info_right {
text-align: right;
font-family: 'Segoe UI';
font-size: 10pt;
border: 0;
padding: 4px;
color: gray;
}

.kirtan_info table.raag_info_table td.raag_info_left {
text-align: left;
font-family: 'Segoe UI';
font-size: 10pt;
border: 0;
padding: 4px;
color: green;
}
.kirtan_info table.raag_info_table td.blank {
font-size: 4pt;
border: 0;
padding: 0px;
}

.kirtan pre {
color:#A52A2A;
padding:4px 4px 4px 8px;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.kirtan pre.gu {
font-family: "Noto Sans Gujarati";
font-size:13pt;
line-height:1.75em;
}

.kirtan pre.en {
font-family:'Segoe UI',Arial,Helvetica;
font-size:14pt;
line-height:1.5em;
}

.kirtan pre.hi {
font-family: 'Noto Sans Devanagari';
font-size:13pt;
line-height:1.75em;
}

.kirtan div {
color:#A52A2A;
padding:4px 4px 4px 8px;
}

.kirtan div.gu {
font-family: "Noto Sans Gujarati";
font-size: 14pt;
line-height:1.75em;
}

.kirtan div.en {
font-family: 'Segoe UI', Arial, Helvetica, 'Source Sans Pro';
font-size:14pt;
line-height:1.5em;
}

#media-info {
width:98%;
margin:8px auto 8px auto;
padding:4px;
border:1px solid lightgray;
text-align:center;
}

#media-info h3 {
color:gray;
font-size:14pt;
border-bottom:1px solid lightgray;
}

#media-info p.nomedia {
font-size:14pt;
font-family:'Segoe UI',Arial,Helvetica;
color:gray;
text-align: center;
margin: 12px 4px;
}

#media-info div.title {
font-size:12pt;
margin-top:4px;
padding-top:6px;
color: #A52A2A;
font-weight:bold;
line-height:1.5em;
}

#media-info div.artist {
font-size:10pt;
font-style:italic;
color:gray;
padding-top:10px;
line-height:1.5em;
}

#media-info div.details {
font-size:10pt;
font-family: 'Noto Sans Gujarati';
color:green;
padding-top:10px;
line-height:1.5em;
}

#media-info div.track {
font-size:8pt;
color:gray;
padding-top:6px;
}

#media-info img.album_art {
height:96px;
margin:4px;
color:gray;
font-size:10pt;
border:1px solid lightgray;
-moz-box-shadow: 2px 2px 3px #444;
-webkit-box-shadow: 2px 2px 3px #444;
box-shadow: 2px 2px 3px #444;
}

#media-info img.album_art_m {
height:128px;
margin:4px;
color:gray;
font-size:10pt;
border:1px solid lightgray;
-moz-box-shadow: 2px 2px 3px #444;
-webkit-box-shadow: 2px 2px 3px #444;
box-shadow: 2px 2px 3px #444;
}

#media-info img.album_art_ua {
height:84px;
margin:4px;
color:gray;
font-size:10pt;
}

#media-info table {
border:0;
}

#media-info table td {
border:0;
}

#media-info table td.album_head {
color:gray;
font-size:12pt;
border-bottom:1px solid lightgray;
padding-top: 24px;
}

#media-info table td.album_kirtan {
color:#A52A2A;
font-size:11pt;
padding: 8px 12px 8px 12px;
line-height: 1.5em;
}

#media-info table td.album_kirtan a {
color:navy;
}

#media-info table td.album_kirtan a:hover {
color:#A52A2A;
}

#media-info span.artist {
color: gray;
font-family: "Noto Sans Gujarati", Shruti;
}

#kirtan-nav {
color:#FFE4C4;
padding:4px;
}

#kirtan-nav table {
border:0;
background-color: #F0F4FD;
width:100%;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
}

#kirtan-nav table td {
border:0;
line-height:2em;
width:50%;
padding:10px 4px 4px 4px;
}

.nav_gu {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
line-height: 1.5em;
}

.nav_gu:hover {
color: navy;
text-decoration: none;
}

.nav_en {
font-family: "Segoe UI", Arial, Helvetia, "Source Sans Pro";
font-size: 12pt;
line-height: 1.5em;
}

.nav_en:hover {
color: navy;
text-decoration: none;
}

#footer {
clear:both;
background:#5288DB;
margin: 0;
padding:4px;
color:white;
font-size:10pt;
font-weight:normal;
text-align:center;
}

#footer a {
font-family: 'Mukta Vaani';
font-size: 12pt;
color:white;
}

#footer a:hover {
color:navy;
text-decoration:none;
}

#footer ul {
list-style-type:none;
line-height:2em;
font-size:10pt;
}

#footer table {
border:0;
width:100%;
}

#footer table td {
border:0;
text-align:center;
width:50%;
}

#sel-group {
margin:4px;
padding:8px;
border:1px solid navy;
}

#index-list-EN, #index-list-GU, #index-list-Hari {
clear:both;
}

table {
border-collapse: collapse;
text-align: center;
margin-left: auto;
margin-right: auto;
padding:4px;
font-family: 'Segoe UI', Arial;
font-size: 8pt;
line-height: 1.25em;
border-spacing: 0px;
}

tr.header {
text-align: center;
background-color: #FFF284; 
color: navy;
font-weight: bold;
font-size:9pt;
}

tr.header td {
padding:2px 2px;
}

tr.header a {
color: navy;
text-decoration: none;
}

tr.header a:hover {
text-decoration: underline;
font-weight: bold;
}

td {
border: 1px solid gray;
padding: 2px;
}

td.group {
font-weight:bold;
font-style: italic;
font-size:9pt;
}

/*Introduction styling*/
.intro {
clear:both;
padding:10px 0;
}

.intro_section {
padding:0;
margin:8px 0 24px 0;
overflow:auto;
}

.intro_section h2 {
padding: 8px;
text-align:center;
color: navy;
}

.intro_section h2.text_gu {
font-size: 14pt;
font-family: 'Mukta Vaani';
}

.intro_section h2.text_en {
font-size: 14pt;
font-family: 'Mukta Vaani', 'Segoe UI';
}

.intro_section h3 {
font-family: 'Mukta Vaani', 'Segoe UI';
font-size: 12pt;
text-align: center;
}

.intro_section p {
color: black;
padding:12px;
}

.intro_section p.text_en {
font-family: "Source Sans Pro", "Segoe UI", Arial, Helvetica;
font-size: 14pt;
line-height: 1.75em;
text-align: justify;
text-indent: 24pt;
}

.intro_section p.text_gu {
font-family: "Noto Sans Gujarati", Shruti;
font-size: 14pt;
line-height: 1.75em;
text-align: justify;
text-indent: 24pt;
}

.intro_section p.text_gu_nj {
font-family: "Noto Sans Gujarati", Shruti;
font-size: 14pt;
line-height: 1.75em;
}

.intro_section p.text_en_nj {
font-family: "Segoe UI", Arial, Helvetica;
font-size: 14pt;
line-height: 1.75em;
}

/* --- Modernized Quick Links for Mobile --- */
.quicklinks-grid {
    display: grid;
    /* Forces exactly 2 columns side-by-side */
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 10px 0 !important;
    list-style: none;
    padding: 0 !important;
}

.quicklink-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px !important;
    display: flex;
    flex-direction: column; /* Icon on top, text below for better mobile fit */
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #334155;
    min-height: 60px !important; /* Fixed height for consistency */
}

.quicklink-icon {
    font-size: 20px !important;
    color: #3b82f6;
    margin-bottom: 4px;
}

.quicklink-en { 
    font-weight: 600; 
    font-size: 1.1rem !important; 
}

.quicklink-gu { 
    display: none; /* Hide Gujarati on mobile to save space and reduce scrolling */
}

/* Responsive Grid: Adjusts based on screen width */
@media (max-width: 480px) {
    .quicklinks-grid {
        /* Force 1 column on very small phones, and shrink card minimum width */
        grid-template-columns: 1fr; 
        gap: 8px;
    }
    
    .quicklink-card {
        padding: 12px; /* Less padding to save horizontal space */
        min-height: 50px;
    }
}

/* For larger tablets/desktops, keep the 200px minimum */
@media (min-width: 481px) {
    .quicklinks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

p.recent span.album {
font-family: 'Mukta Vaani';
font-size: 12pt;
color: OrangeRed;
}

p.recent span.album a {
color: OrangeRed;
}

table.recent {
width: 98%;
margin: auto;
}

table.recent td {
border: 0;
}

p.recent_date {
font-family: 'Mukta Vaani';
font-size: 12pt;
margin-bottom: 0.5em;
padding: 4px 2px;
text-align: right;
line-height: 1.5em;
}

p.recent_title {
font-family: 'Mukta Vaani';
font-size: 12pt;
margin-bottom: 0.5em;
padding: 4px 2px;
text-align: left;
line-height: 1.5em;
}

.utsav_div {
}

.utsav_div h2 {
background-color: white; /*#DCDCDC;*/
font-family: 'Arsenal SC';
font-size: 16pt;
border-bottom:1px solid #DCDCDC;
line-height:1.25em;
}

.utsav_div p {
font-family: 'Source Sans Pro';
font-size:12pt;
background: #f8f8f8;
}

/* --- FULL MODAL POPUPS (FOR MOBILE.CSS) --- */
.features-modal {
    display: none; /* Controlled by JS togVis */
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.features-content {
    position: relative;
    background-color: #ffffff;
    margin: 0;
    width: 100%;
    max-width: 100%;
    
    /* FIX: Use 100% to respect the parent fixed div, and 100dvh for modern browsers */
    height: 100%;
    height: 100dvh; 
    max-height: 100%;
    max-height: 100dvh;
    
    padding: 24px 16px 16px 16px;
    box-sizing: border-box;
    
    /* FIX: Stop the whole container from scrolling so we can isolate the search results */
    overflow: hidden; 
}

.features-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.features-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.features-title {
    color: #1e293b;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.add-fav-btn {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-fav-btn .material-symbols-outlined {
    font-size: 20px;
    color: #ef4444;
}

.features-footer-text {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 24px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
}

.features-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.features-content th, .features-content td {
    padding: 10px 4px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    font-size: 13px;
}
.features-content th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
}

#goog table {
border:0;
}

#goog table td {
border:0;
padding:2px;
color:#696969;
}

table.rank {
border: 0;
}

table.rank th {
border-width: 0;
font-weight: bold;
padding: 4px;
font-size: 10pt;
color:#A52A2A;
}

table.rank td {
padding: 12px 6px;
}

table.rank  td a {
color: navy;
}

table.rank tr.rows:hover {
background-color: #339CFF;
color: white;
}

table.rank tr.rows:hover td a {
color: white;
}

table.rank tr.rows td a:hover {
color: white;
text-decoration: none;
}

table.rank td.left {
font-size: 12pt;
text-align: left;
border: 0;
line-height: 1.5em;
}

table.rank td.right {
font-size: 12pt;
text-align: right;
border: 0;
padding-right: 12px;
line-height: 1.5em;
}

.kirtan_audio {
width:96%;
margin:8px auto 8px auto;
padding:4px;
border:1px solid lightgray;
text-align: center;
}

.audio_link {
font-size: 12pt;
text-align: center;
padding: 8px 0 8px 0;
}

.audio_artist {
font-size: 10pt;
text-align: center;
padding: 8px 0 8px 0;
}

/*Kirtan formatting*/
.k_pad_gu {
font-family: "Noto Sans Gujarati";
font-size: 11pt;
font-weight: bold;
line-height: 1.5em;
color: gray;
text-align: center;
}

.k_pad_en {
font-family: "Source Sans Pro";
font-size: 11pt;
font-weight: bold;
line-height: 1.5em;
color: gray;
text-align: center;
}

.k_line_gu {
font-family: "Noto Sans Gujarati";
font-size: 14pt;
line-height: 1.75em;
color: #a52a2a;
text-indent: -2em;
margin: 0 0 0 2em;
text-shadow: 0 0 1px silver;
}
.k_line_hi {
font-family: "Noto Sans Devanagari";
font-size: 14pt;
line-height: 1.75em;
color: #a52a2a;
text-indent: -2em;
margin: 0 0 0 2em;
text-shadow: 0 0 1px silver;
}
.k_line_sm_gu {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
line-height: 1.75em;
color: #a52a2a;
text-indent: -2em;
margin: 0 0 0 2em;
text-shadow: 0 0 1px silver;
}

.k_line_en {
font-family: "Source Sans Pro";
font-size: 14pt;
line-height: 1.5em;
color: #a52a2a;
text-indent: -2em;
margin: 0 0 0 2em;
text-shadow: 0 0 1px silver;
}
.k_line_sm_en {
font-family: "Source Sans Pro";
font-size: 12pt;
line-height: 1.5em;
color: #a52a2a;
text-indent: -2em;
margin: 0 0 0 2em;
text-shadow: 0 0 1px silver;
}

.k_meaning_gu {
font-family: "Noto Sans Gujarati";
font-size: 11pt;
color: gray;
font-style: italic;
line-height: 1.5em;
}

.k_meaning_en {
font-family: "Source Sans Pro";
font-size: 10pt;
color: gray;
font-style: italic;
line-height: 1.5em;
}

.underline {
text-decoration: underline;
}

.k_alt_gu {
font-family: "Noto Sans Gujarati";
font-size: 10pt;
color: green;
}

.k_alt_en {
font-family: "Source Sans Pro";
font-size: 10pt;
color: green;
}

.k_info_gu {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
color: green;
text-align: center;
}
.k_info_gu_lft {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
color: green;
}

.k_info_en {
font-family: "Source Sans Pro";
font-size: 12pt;
color: green;
text-align: center;
}
.k_info_en_lft {
font-family: "Source Sans Pro";
font-size: 12pt;
color: green;
}

.k_dialog_gu {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
color: green;
}

.k_dialog_en {
font-family: "Source Sans Pro";
font-size: 12pt;
color: green;
}

.k_ref_gu {
font-family: "Noto Sans Gujarati";
font-size: 12pt;
color: green;
text-align: right;
}

.k_ref_en {
font-family: "Source Sans Pro";
font-size: 12pt;
color: green;
text-align: right;
}

.k_rule {
border-top: 1px solid black;
padding: 8px 0;
width: 50%;
margin: auto;
}
.k_center {
color: black;
font-size: 16pt;
text-align: center;
}

.more_link span {
font-size: 10pt;
font-family: 'Segoe UI', Arial;
}

.kirtan_item {
display: block;
}

/*Study Navigation*/
#navigation {
clear:both;
margin-bottom: 36px;
}

#navigation span {
padding:4px 12px;
font-size:10pt;
font-family:'Segoe UI',Arial,Tahoma,Helvetica;
color:black;
border:1px solid black;
background-color:lightgray;
font-weight:bold;
-webkit-border-radius: 2px; 
-moz-border-radius: 2px; 
border-radius: 2px;
}

#navigation span.left {
	float: left;
}

#navigation span.right {
	float: right;
}

#navigation a:hover {
text-decoration:none;
color:white;
}

#navigation a span:hover {
color:white;
border:1px solid gray;
background-color:gray;
}
/*End Study Navigation*/

/*Begin Pad List Menu*/
.extra_info {
	padding: 8px 16px 16px 4px;
}

.extrabtn {
  background-color: white;
  color: navy;
  margin: 2px 4px;
  padding: 2px 8px 0 8px;
  font-size: 16px;
  border: none;
  vertical-align: middle;
  font-family: 'Mukta Vaani', Arial, Helvetica;
	display: inline-block;
	border:2px solid gray;
}

.extrabtn:hover, .extrabtn:focus {
  background-color: gray;
	color: white;
}

.extradown {
  position: relative;
  display: inline-block;
}

.extradown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 256px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.extradown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
	font-family: 'Mukta Vaani';
	font-size:12pt;
}

.extradown a:hover {background-color: #ddd;}

.show {display: block;}

/* Dropdown Button */
.dropbtn {
  background-color: white;
  color: navy;
  margin-top: 2px;
  padding: 0 8px 0 8px;
  font-size: 24px;
  border: none;
  vertical-align: middle;
  font-family: Arial, Helvetica;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  float: right;
  position: relative;
  display: inline-block;
}

.dropdown:hover .dropbtn {background-color: #D2691E; color: white}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f1f1f1;
  min-width: 296px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  transition: 0.5s;
}

/* Links inside the dropdown */
.dropdown-content a.block {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Mukta Vaani';
  font-size: 14pt;
}

.formats {
text-align: center;
margin: auto;
padding: 12px 0 12px 0;
}

.dropdown-content a.inline {
font-family: 'Mukta Vaani';
font-size: 14pt;
background-color: white;
font-weight: bold;
display: inline-block;
width: 24px;
height: 24px;
padding: 4px 8px 8px 8px;
margin: 0 4px;
text-decoration: none;
border:2px solid #D2691E;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
}

.dropdown-content a.block {
font-family: 'Roboto';
font-size: 18px;
background-color: white;
display: block;
width: 94%;
height: 24px;
padding: 8px;
text-decoration: none;
border: 0;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
vertical-align: top;
}

span.material-symbols-outlined {
	vertical-align: -6px; /*Change this to adjust the icon*/
}

.white {
	background-color: white;
	padding:4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}

.dropdown-content a.active {
background-color: #D2691E;
color: white;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #D2691E; color: white}

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

.button {
  float: right;
  position: relative;
  display: inline-block;
	padding:2px;
	color: black;
	background-color: white;
}

.button:hover {display:inline-block; background-color: #D2691E; color: white}

.show {display: block;}
/*End Pad List Menu*/

/* Search style*/
.query {
font-family: "Noto Sans Gujarati";
font-size: 16pt;
padding: 6px 2px 0 8px;
width: 70%;
color: navy;
}

p.s_options {
	font-family: "Mukta Vaani";
font-size: 12pt;
color: gray;
margin: 4px;
}


#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width:1280px;
  max-height:1080px;
  width: auto;
  height: auto;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #f1f1f1;
  font-size: 96px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 86%;
  }
}

/*screen lock toggle button*/
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

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

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.toggle-btn {
	margin: 0px;
	padding: 1px 4px 0 4px;
	cursor: pointer;
	background-color: #A9A9A9;
	color: white;
	border: none;
	border-radius: 2px;
	font-weight: bold;
}

.det_hidden {
	display: none;
}

/* New Search
/* --- Modern Kirtan Search Results (Updated Typography & Background) --- */
.modern-search-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    width: 100%; 
}

.modern-kirtan-card {
    text-decoration: none !important; 
    color: inherit;
    padding: 18px; /* Slightly more padding to balance larger text */
    border: 1px solid #e2e8f0; /* Softer border color */
    border-radius: 8px;
    background: #f8fafc; /* Sleek, light grayish-blue background */
    display: block !important; 
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem; /* Explicitly forces a larger base font size */
    transition: all 0.2s ease-in-out;
}

.modern-kirtan-card:hover {
    border-color: #2980b9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
    background: #ffffff; /* Brightens to pure white on hover for a nice effect */
}

.modern-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.modern-card-title {
    font-weight: 600;
    font-size: .8em;
    color: #1e293b; /* Darker slate for high contrast */
    line-height: 1.4;
}

.modern-card-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap; 
}

/* Lyric Snippet Styling */
.lyric-snippet {
    font-size: .7em; /* Increased snippet size */
    color: #475569; /* Softer slate for lyrics */
    margin-top: 8px;
    border-left: 3px solid #2980b9;
    padding: 6px 12px;
    background: #f1f5f9; /* Distinct light background for the quote area */
    border-radius: 0 4px 4px 0;
    line-height: 1.6; /* Taller line height for easier reading */
}

/* The main flexbox container replacing the table */
.kirtan-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px; /* Spacing between the buttons */
    margin: 20px 0;
}

/* Individual Navigation Buttons */
.kirtan-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1; /* Makes both buttons exactly 50% width */
    min-width: 0; /* CRITICAL: Allows flex child to shrink so ellipsis works */
    padding: 12px 16px;
    text-decoration: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.kirtan-nav-btn:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Alignment adjustments */
.kirtan-nav-btn.prev {
    justify-content: flex-start;
}

.kirtan-nav-btn.next {
    justify-content: flex-start;
    flex-direction: row-reverse; /* Puts the icon on the right side */
    text-align: right;
}

/* Invisible placeholder to keep layout balanced if a button is missing */
.kirtan-nav-empty {
    flex: 1;
}

/* Material Icon styling */
.kirtan-nav-btn .material-symbols-outlined {
    font-size: 28px;
    color: #007bff;
    flex-shrink: 0; /* Prevents the icon from squishing when text is long */
}

/* Text Container */
.kirtan-nav-text-container {
    min-width: 0; /* CRITICAL: Allows the inner text to shrink */
    display: flex;
    flex-direction: column;
}

/* The Kirtan Title with Ellipsis */
.kirtan-nav-title {
    display: block;
    white-space: nowrap; /* Forces text to a single line */
    overflow: hidden; /* Hides the overflow */
    text-overflow: ellipsis; /* Creates the ... effect */
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.kirtan-nav-btn:hover .kirtan-nav-title {
    color: #007bff;
}

/* Optional: Small 'Previous' / 'Next' Label */
.kirtan-nav-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

/* --- MODERN SEARCH WIDGET --- */
/* --- KIRTAN SEARCH WIDGET (SIMPLE) --- */
.search-widget {
    margin-bottom: 30px;
    padding: 8px; /* Slight padding to keep it off the absolute edges */
}

/* 1. The Search Pillbox */
.search-pillbox {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 50px;
    padding: 2px 10px;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box; /* CRITICAL: Prevents the pillbox from overflowing */
}

.search-pillbox:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.search-pillbox input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 2px 6px;
    font-family: 'Noto Sans Gujarati', 'Segoe UI', 'Mukta Vaani', sans-serif;
    font-size: 12pt;
    outline: none;
    min-width: 0; /* CRITICAL: Prevents long text from forcing the input to grow past the sidebar */
}

.search-pillbox .search-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Simple Text Options (Satsang Diksha Style) */
.search-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #495057;
    margin-top: 8px;
    padding-left: 10px;
}

.search-options .options-label {
		font-family: Inter;
    font-weight: bold;
    color: #333;
    min-width: 40px;
}

.search-options label {
		font-family: Inter;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.results {
padding-top: 8px;
text-align: center;
font-size: 12pt;
font-family: 'Source Sans Pro';
margin: 16px 8px;
}

.search-error {
	color: red;
	text-align: center;
	font-size: 12pt;
	font-family: 'Source Sans Pro';
	margin: 16px 8px;
}

/* --- UNIFIED STICKY BAR FIXES --- */

.unified-sticky-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 100;
    display: flex;
    justify-content: space-between; /* Burger on Left, Options on Right */
    align-items: center;
    padding: 4px; /* Reduced padding to get closer to the edges */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
}

/* Force the options wrapper to ALWAYS push to the right edge */
.options-wrapper {
    margin-left: auto; 
    display: flex;
}

.unified-sticky-bar #sticky.sticky {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px; 
}

/* Remove old margins/padding that kept elements away from edges */
#mobile-nav-button {
    position: static !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.unified-sticky-bar .dropdown, 
.unified-sticky-bar .button {
    float: none !important;
    background: transparent !important;
    margin: 0 !important; 
    padding: 4px !important;
}

/* Force dropdown menu strictly below the button, anchored to the right */
.unified-sticky-bar .dropdown-content {
    top: 100%;
    right: 0;
    margin-top: 0; /* FIXED: Removed the 5px gap causing the hover glitch */
    border-top: 1px solid #e0e0e0; /* Optional: Adds a subtle line to visually separate it from the button */
}

/* Fix the invisible white-out hover bug on Desktop */
.unified-sticky-bar .button:hover {
    background-color: #D2691E !important;
    color: #ffffff !important;
    border-radius: 4px;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 560px; /* Prevents it from getting too large on desktop */
    margin: 0 auto 16px auto;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Modernized Tabs --- */
.tab {
    display: flex;
    gap: 2px;
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0 !important;
}

.tab button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px 8px 0 0;
}

.tab button.active {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #e2e8f0;
    border-bottom: 1px solid #ffffff !important; /* Force override */
    margin-bottom: -2px !important; /* Force the overlap */
    z-index: 10;
    position: relative; /* CRITICAL: Enables z-index and border-bottom to render correctly */
}

.tabcontent {
    display: none;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}