* {
margin: 0;
padding: 0;
}

.text_gu {
font-family: 'Noto Sans Gujarati', Shruti, 'Lohit Gujarati', SamsungGujarathi, 'Gujarati MT';
}
.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: 50%;
}

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

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

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: 12px auto 0 auto;
width:840px;
border-left: 1px solid #6495ED;
border-right: 1px solid #6495ED;
padding:0;
background:white;
box-shadow: 3px 0 6px 0 gray, -3px 0 6px 0 gray;

}

#header {
height:164px;
text-align:center;
background:#6495ED;
border-bottom: 1px solid #5288DB;
box-shadow: 0px 0px 4px #A08689;
-webkit-box-shadow: 0px 0px 4px #A08689;
-moz-box-shadow: 0px 0px 4px #A08689;
}

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

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

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

#selection.sidenav {
position:relative;
float:left;
margin:0;
width:256px;
border-bottom:1px solid #5288DB;
border-right:1px solid #5288DB;
}

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

#options {
margin:8px;
text-align: center;
}

#selection.sidenav h2 {
font-family:'Segoe UI';
font-size:16pt;
color:#5288DB;
text-shadow: 0px 0px 1px silver;
border-top: 1px solid #D1D1E0;
}

#selection.sidenav h2 a {
color:#5288DB;
transition: 0.3s;
}

#selection.sidenav h2 a:hover {
text-decoration:none;
color:white;
}

#selection.sidenav h2 a span {
display:block;
padding:8px 8px 8px 16px;
font-family: 'Fira Sans';
}

#selection.sidenav h2 a span:hover {
background:#1E90FF;
}

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

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

#selection.sidenav 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 Orange;
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;
float:right;
width:562px;
margin:0;
padding:4px;
border-left:0 solid #A08689;
/*box-shadow: 0px 0px 1px #A08689;
-webkit-box-shadow: 0px 0px 1px #A08689;
-moz-box-shadow: 0px 0px 1px #A08689;*/
}

.kirtan {
width:96%;
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, 'Gujarati MT';
padding-top:4px;
padding-bottom:0px;
text-shadow: 0px 0px 1px silver;
}

.kirtan h1.en {
font-family: 'Fira Sans', 'Segoe UI', Arial, Helvetica;
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: 'Mukta Vaani', '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: 'Noto Sans Gujarati', '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: 'Noto Sans Gujarati', '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";
}

.kirtan div.en {
font-family: 'Segoe UI', Arial, Helvetica, 'Source Sans Pro';
}

#media-info {
width:96%;
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-bottom: 12px;
margin-top: 12px;
}

#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:128px;
margin:4px;
color:gray;
font-size:10pt;
border:1px solid gray;
-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 {
width:256px;
margin:4px;
color:gray;
font-size:10pt;
border:1px solid gray;
-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:128px;
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: 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;
padding:10px 4px 4px 4px;
}

.nav_gu {
font-family: "Noto Sans Gujarati";
font-size: 14pt;
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: 14pt;
line-height: 1.5em;
}

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

#footer {
clear:both;
background:#5288DB;
margin: auto;
padding:4px;
border-top: 1px solid gray;
color:white;
text-shadow: 0px 0px 1px silver;
font-size:10pt;
font-weight:normal;
text-align:center;
}

#footer a {
font-family: 'Mukta Vaani';
font-size: 12pt;
color:white;
text-shadow: 0px 0px 1px silver;
}

#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:33%;
}

#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;
width:100%;
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: 4px 2px;
}

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

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

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

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

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

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

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

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

.intro_section p.text_en {
font-family: "Segoe UI", "Source Sans Pro", Arial, Helvetica;
font-size: 12pt;
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: 12pt;
line-height: 1.75em;
}

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

/* --- Modernized Quick Links Section --- */
.quicklinks-grid {
    display: grid;
    /* This creates 2 columns on mobile, and 3-4 on desktop automatically */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 15px 0;
    list-style: none;
    padding: 0;
}

.quicklink-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px; /* Reduced padding to make them more compact */
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s ease;
		min-height: 40px;
}

.quicklink-card:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.quicklink-icon {
    font-size: 20px; /* Smaller icon to match smaller text */
    color: #3b82f6;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.quicklink-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Using explicit font sizes based on your 62.5% base */
.quicklink-en { 
    font-weight: 600; 
    font-size: .9rem; /* ~13px */
    color: #1e293b;
}

.quicklink-gu { 
    font-family: 'Noto Sans Gujarati'; 
    font-size: .9rem; /* ~12px */
    color: #64748b;
}

/* --- Mobile Fix for 2-column layout --- */
@media (max-width: 600px) {
    .quicklinks-grid {
        grid-template-columns: 1fr 1fr; /* Force exactly 2 columns */
        gap: 6px;
    }
    
    .quicklink-card {
        padding: 8px;
    }
    
    .quicklink-en { font-size: 1.1rem; }
    .quicklink-gu { font-size: 1.0rem; }
}

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

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

table.recent {
width: 96%;
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;
vertical-align: top;
}

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

.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;
}

/* --- MODAL POPUPS (Favorites & History) --- */
.features-modal {
    display: none; /* Controlled by JS togVis */
    position: fixed;
    z-index: 2000; /* Extremely high to sit over everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    overflow: auto; /* Allows scrolling of the dark backdrop if needed */
}

.features-content {
    position: relative;
    background-color: #ffffff;
    margin: 6% auto; /* Centers horizontally and pushes down from top */
    padding: 30px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* Scroll inside the white box if content gets too tall */
    max-height: 80vh; 
    overflow-y: auto;
}

.features-close {
    position: absolute;
    top: 20px;
    right: 20px;
    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;
    text-decoration: none;
}

.features-title {
    color: #1e293b;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.6rem;
    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;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.add-fav-btn:hover {
    background-color: #e0f2fe;
    border-color: #38bdf8;
    color: #0369a1;
}

.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;
}

/* Redesigned Clean Tables for Modals */
.features-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.features-content th, .features-content td {
    padding: 12px 8px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.features-content th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.features-content tr:hover {
    background-color: #f8fafc;
}

#favhtml span.text_gu {
	font-family: 'Google Sans';
	font-size: 12pt;
}

.gs-title {
text-align:left;
}

#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;
}

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

.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;
}

#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;
	padding:2px;
}

.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: 100%;
  }
}

/*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;
}

/* --- 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 */
/* 1. Push the menu down so it visually clears the button */
.unified-sticky-bar .dropdown-content {
    top: 100%;
    right: 0;
    margin-top: 12px; /* Creates a clean visual gap below the button */
    padding-top: 0;
}

/* 2. The Invisible Bridge: Connects the button to the menu so your mouse doesn't fall in the gap */
.unified-sticky-bar .dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px; /* Reaches up across the gap to touch the button */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* 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;
}