/* Static export fixes for site-wide dropdown menus and homepage hero banner. */

.region-header,
.region-header .region-inner,
#block-superfish-1,
#block-superfish-1 .block-inner {
  overflow: visible !important;
  position: relative;
  z-index: 300;
}

#block-superfish-1 .sf-menu {
  overflow: visible !important;
}

#block-superfish-1 .sf-menu > li {
  position: relative;
}

#block-superfish-1 .sf-menu > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 10px 0;
  background: #ae0a00;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 400;
}

#block-superfish-1 .sf-menu > li.static-open > ul,
#block-superfish-1 .sf-menu > li:hover > ul,
#block-superfish-1 .sf-menu > li:focus-within > ul {
  display: block;
}

#block-superfish-1 .sf-menu > li > ul > li {
  display: block;
  float: none;
  width: 100%;
}

#block-superfish-1 .sf-menu > li > ul > li > a {
  display: block;
  height: auto;
  line-height: 1.35;
  padding: 8px 16px;
  white-space: nowrap;
}

#block-superfish-1 .sf-menu > li > ul > li > a:hover,
#block-superfish-1 .sf-menu > li > ul > li > a:focus {
  background: #c33e00;
  color: #ffd875;
}

#container .homeslider {
  position: relative;
}

#container .homeslider .slides {
  min-height: 378px;
}

#container .homeslider .slides > li {
  display: none;
}

#container .homeslider .slides > li.static-slide-active {
  display: block;
}

#container .homeslider .slides img {
  width: 100%;
  height: auto;
}

#container .homeslider .home-control-nav,
#container .homeslider .home-direction-nav {
  display: block;
}

/* Language switcher (English / Tamil) — visible text without theme PNG assets */
#logo #language {
  background-color: #c33e00;
  min-height: 25px;
  line-height: 25px;
}

#language a.language-switcher,
#language a {
  display: block;
  float: left;
  width: auto;
  min-width: 200px;
  padding: 0 14px;
  color: #fff !important;
  background: #c33e00 !important;
  background-image: none !important;
  text-indent: 0 !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 25px;
  text-decoration: none;
  white-space: nowrap;
}

#language a.language-switcher:hover,
#language a:hover {
  background: #ae0a00 !important;
  color: #ffd875 !important;
}

.i18n-ta #language a.language-switcher,
.i18n-ta #language a {
  min-width: 180px;
}

/* Testimonials carousel (homepage grid + sidebar block) */
.view-testimonials1 .view-content .static-testimonials-skin,
.view-testimonials1 .view-content .jcarousel-skin-default {
  position: relative;
}

.view-testimonials1 .view-content .jcarousel-container {
  position: relative;
  padding-top: 0;
}

.view-testimonials1 .view-content .jcarousel-clip-horizontal {
  overflow: hidden;
  width: 100% !important;
}

.view-testimonials1 .view-content ul.jcarousel {
  width: 100% !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.view-testimonials1 .view-content ul.jcarousel > li {
  display: none;
  width: 100% !important;
  box-sizing: border-box;
}

.view-testimonials1 .view-content ul.jcarousel > li.static-testimonial-active {
  display: block;
}

.view-testimonials1 .view-content .static-testimonial-nav,
.view-testimonials1 .view-content .jcarousel-prev,
.view-testimonials1 .view-content .jcarousel-next {
  position: absolute;
  z-index: 20;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  text-indent: -9999px;
  background-color: #fa7600;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 8px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.view-testimonials1 .view-content .jcarousel-next,
.view-testimonials1 .view-content button.jcarousel-next {
  background-color: #a82b24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath fill='%23fff' d='M1 0l7 6-7 6z'/%3E%3C/svg%3E");
}

.view-testimonials1 .view-content .jcarousel-prev,
.view-testimonials1 .view-content button.jcarousel-prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath fill='%23fff' d='M7 0L0 6l7 6z'/%3E%3C/svg%3E");
}

.view-testimonials1 .view-content .jcarousel-prev:hover,
.view-testimonials1 .view-content .jcarousel-next:hover {
  opacity: 0.9;
}

.view-testimonials1 .view-content .jcarousel-prev:disabled,
.view-testimonials1 .view-content .jcarousel-next:disabled {
  visibility: hidden;
  pointer-events: none;
}

/* Homepage testimonials block */
.front .grid3 .view-testimonials1 .view-content .jcarousel-prev {
  top: -40px;
  right: 36px;
  left: auto;
}

.front .grid3 .view-testimonials1 .view-content .jcarousel-next {
  top: -40px;
  right: 6px;
  left: auto;
}

/* Sidebar testimonials block */
.sidebar-second .view-testimonials1 .view-content .jcarousel-prev {
  top: -44px;
  right: 36px;
  left: auto;
}

.sidebar-second .view-testimonials1 .view-content .jcarousel-next {
  top: -39px;
  right: 6px;
  left: auto;
}

.i18n-en.front .view-testimonials1 .jcarousel-container .jcarousel-clip ul li .views-field-title {
  display: none;
}

/* Footer Shri Mataji quotes slider */
#footer {
  background-color: #8c1e1f;
}

#footer .view-quotes .view-content,
#footer .static-footer-quotes-skin,
#footer .view-quotes .jcarousel-container {
  position: relative;
}

#block-views-quotes-block .block-inner {
  margin: 0 auto;
  max-width: 960px;
}

#footer .view-quotes .jcarousel-container-horizontal {
  padding: 24px 56px 20px !important;
  height: auto !important;
  min-height: 120px;
}

#footer .view-quotes .jcarousel-clip-horizontal {
  overflow: hidden;
  width: 100% !important;
}

#footer .view-quotes ul.jcarousel {
  width: 100% !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .view-quotes ul.jcarousel > li {
  display: none;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0;
  padding: 0 28px;
  box-sizing: border-box;
  border: none !important;
  background: transparent !important;
  text-indent: 0;
  position: relative;
}

#footer .view-quotes ul.jcarousel > li.static-quote-active {
  display: block;
}

#footer .view-quotes ul.jcarousel > li::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 48px;
  line-height: 1;
  color: #f8c545;
  font-family: Georgia, "Times New Roman", serif;
}

#footer .view-quotes ul.jcarousel > li::after {
  content: "\201D";
  position: absolute;
  right: 0;
  bottom: 28px;
  font-size: 48px;
  line-height: 1;
  color: #f8c545;
  font-family: Georgia, "Times New Roman", serif;
}

#footer .footer-quote-text {
  margin: 0 0 12px;
  padding: 0 12px;
  color: #fff;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

#footer .footer-quote-attribution {
  margin: 0;
  padding: 0 8px 0 0;
  color: #f8c545;
  font-size: 12px;
  font-style: italic;
  text-align: right;
}

#footer .static-footer-quote-nav,
#footer .view-quotes .jcarousel-prev,
#footer .view-quotes .jcarousel-next {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  overflow: hidden;
  text-indent: -9999px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 10px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

#footer .view-quotes .jcarousel-prev {
  left: 8px;
  background: url("/images/footer_slider_arrow.png") no-repeat;
}

#footer .view-quotes .jcarousel-next {
  right: 8px;
  background: url("/images/footer_slider_arrow.png") no-repeat;
}

#footer .view-quotes .jcarousel-prev:hover,
#footer .view-quotes .jcarousel-next:hover {
  opacity: 0.92;
}

#footer .view-quotes .jcarousel-prev:disabled,
#footer .view-quotes .jcarousel-next:disabled {
  visibility: hidden;
  pointer-events: none;
}

/* Meditation centres quicktabs (Drupal quicktabs.css + layout) */
.quicktabs-hide {
  display: none !important;
}

#quicktabs-centres .item-list-q,
#quicktabs-centres .item-list-q ul.quicktabs-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}

#quicktabs-centres ul.quicktabs-tabs.quicktabs-style-basic {
  overflow: hidden;
  width: 100%;
}

#quicktabs-centres ul.quicktabs-tabs.quicktabs-style-basic li {
  display: inline-block;
  float: left;
  list-style: none;
  list-style-type: none;
}

#quicktabs-centres ul.quicktabs-tabs.quicktabs-style-basic li::before {
  content: none;
  display: none;
}

#quicktabs-centres ul.quicktabs-tabs.quicktabs-style-basic li a {
  display: block;
  outline: none;
}

#quicktabs-centres ul.quicktabs-tabs.quicktabs-style-basic li.active a {
  color: #555;
}

#quicktabs-centres .quicktabs_main.quicktabs-style-basic {
  clear: both;
}

/* Testimonials video slider (views_slideshow_cycle static replacement) */
.views_slideshow_cycle_hidden {
  display: none !important;
}

.view-testimonials-video .skin-default.views-slideshow-cycle-processed .views-slideshow-controls-bottom {
  display: block !important;
}

.view-testimonials-video .skin-default {
  position: relative;
}

.view-testimonials-video .views-slideshow-cycle-main-frame {
  position: relative;
}

.view-testimonials-video .views_slideshow_cycle_slide {
  width: 100%;
}

.view-testimonials-video .views-slideshow-controls-text {
  display: block;
  margin: 0;
  padding: 10px 0 4px;
  text-align: center;
}

.view-testimonials-video .views-slideshow-controls-text-previous,
.view-testimonials-video .views-slideshow-controls-text-pause,
.view-testimonials-video .views-slideshow-controls-text-next {
  display: inline-block;
  margin: 0 12px;
  vertical-align: middle;
}

.view-testimonials-video .views-slideshow-controls-text-pause a {
  color: #555;
  font-size: 14px;
  text-decoration: none;
  text-indent: 0;
}

.view-testimonials-video .views-field-field-video-url iframe {
  display: block;
  max-width: 100%;
}

/* Photo gallery page */
.page-photo-gallery .view-gallery.view-display-id-page .carousel {
  position: relative;
  width: 100%;
  max-width: 930px;
  margin: 0 auto 24px;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .slides {
  position: relative !important;
  width: 460px !important;
  height: 330px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  list-style: none;
  padding: 0;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .slides > .views-row {
  display: none;
  position: relative !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .slides > .views-row.static-gallery-active {
  display: block;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .slideItem {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  cursor: default;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .slideItem img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 300px;
  margin: 0 auto;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .static-gallery-nav {
  display: block !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  cursor: pointer;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.45);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px 18px;
  text-indent: -9999px;
  overflow: hidden;
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .static-gallery-nav.prevButton {
  left: calc(50% - 260px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%23fff' d='M9 0L1 7l8 7z'/%3E%3C/svg%3E");
}

.page-photo-gallery .view-gallery.view-display-id-page .carousel .static-gallery-nav.nextButton {
  right: calc(50% - 260px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%23fff' d='M1 0l8 7-8 7z'/%3E%3C/svg%3E");
}

.page-photo-gallery #block-views-gallery-block-1 h2.block-title {
  color: #a82b24;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin: 20px 0 12px;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-viewport {
  overflow: hidden;
  width: 100%;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-viewport ul.jcarousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-viewport li {
  display: block !important;
  flex: 0 0 auto;
  width: 160px;
  list-style: none;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-viewport li.static-gallery-thumb-active a {
  outline: 3px solid #e47906;
  outline-offset: 2px;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-viewport img {
  display: block;
  width: 160px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.5) no-repeat center center;
  background-size: 10px 14px;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-nav.prev {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%23fff' d='M9 0L1 7l8 7z'/%3E%3C/svg%3E");
}

.page-photo-gallery #block-views-gallery-block-1 .static-gallery-thumbs-nav.next {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%23fff' d='M1 0l8 7-8 7z'/%3E%3C/svg%3E");
}

/* Tamil "More" button image (article list, testimonials) */
.i18n-ta .view-article-list .views-row .views-field-view-node span a,
.i18n-ta .view-normal-testimonials .views-row .views-field-view-node span a {
  background: url("/images/more_tamil.png") no-repeat right center !important;
  color: transparent !important;
  display: inline-block;
  /*min-width: 55px;*/
  min-height: 21px;
  font-size: 0;
  line-height: 21px;
  padding-right: 60px;
  text-decoration: none;
}

.i18n-ta .view-article-list .views-row .views-field-view-node span a:hover,
.i18n-ta .view-normal-testimonials .views-row .views-field-view-node span a:hover {
  background: url("/images/more_tamil.png") no-repeat right center !important;
  color: transparent !important;
}

/* Tamil music page category filter buttons */
.i18n-ta .view-music #edit-field-category-tid-wrapper .form-type-bef-link a {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
  height: 26px !important;
  padding: 0 !important;
  margin: 0;
  border: none;
  text-decoration: none;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  float: left;
}

.i18n-ta .view-music #edit-field-category-tid-all a {
  background-image: url("/images/all_tam.png") !important;
  width: 260px !important;
}

.i18n-ta .view-music #edit-field-category-tid-9 a {
  background-image: url("/images/bhajans_tam.png") !important;
  width: 88px !important;
}

.i18n-ta .view-music #edit-field-category-tid-9 a.active {
  background-image: url("/images/bhajans_tam_on.png") !important;
}

.i18n-ta .view-music #edit-field-category-tid-24 a {
  background-image: url("/images/chakras_tam.png") !important;
  width: 186px !important;
}

.i18n-ta .view-music #edit-field-category-tid-24 a.active {
  background-image: url("/images/chakras_tam_on.png") !important;
}

.i18n-ta .view-music #edit-field-category-tid-11 a {
  background-image: url("/images/speech_tam.png") !important;
  width: 220px !important;
}

.i18n-ta .view-music #edit-field-category-tid-11 a.active {
  background-image: url("/images/speech_tam_on.png") !important;
}

.i18n-ta .view-music #edit-field-category-tid-10 a {
  background-image: url("/images/tam_song.png") !important;
  width: 126px !important;
}

.i18n-ta .view-music #edit-field-category-tid-10 a.active {
  background-image: url("/images/tam_song_on.png") !important;
}

.i18n-ta .view-videos #edit-field-catecories-tid-all a {
  background: url("/images/all_tam.png") no-repeat right center !important;
  color: transparent !important;
  display: inline-block;
  /*min-width: 55px;*/
  min-height: 21px;
  font-size: 0;
  line-height: 21px;
  text-decoration: none;
}
.i18n-ta .view-videos #edit-field-catecories-tid-6 a {
  background: url("/images/tam_song.png") no-repeat right center !important;
}
.i18n-ta .view-videos #edit-field-catecories-tid-4 a {
  background: url("/images/video_tam.png") no-repeat right center !important;
}
.i18n-ta .view-videos #edit-field-catecories-tid-5 a {
  background: url("/images/speech_tam.png") no-repeat right center !important;
}
.i18n-ta .view-videos #edit-field-catecories-tid-7 a {
  background: url("/images/bhajans_tam.png") no-repeat right center !important;
}
/* Remove extra search boxes on meditation centres page. */
.page-node-165 #block-search-form,
.page-node-165 #block-views-india-centres-block #edit-field-state-india-value-wrapper {
  display: none !important;
}

/* Remove legacy sidebar search and email subscription site-wide. */
#search-form1,
.search-box1,
section#block-simplenews-8 {
  display: none !important;
}

#quicktabs-centres {padding-top: 100px;}

.webform-thank-you {
  margin: 1.5em 0;
  padding: 2em 1.5em;
  background: #f5f9f0;
  border: 1px solid #c5d9b5;
  border-radius: 4px;
  text-align: center;
}

.webform-thank-you__heading {
  margin: 0 0 0.75em;
  color: #4a7c2f;
  font-size: 1.75em;
}

.webform-thank-you__message {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
}