/* ========================================
   ACCESSIBILITY STYLES
   ======================================== */

/* Skip navigation link - Hidden until focused */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 99999;
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 15px 20px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 3px solid #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  outline: none;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Enhanced focus indicators */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* For dark backgrounds */
.bg-extra-dark-gray a:focus,
.bg-extra-dark-gray button:focus,
footer a:focus,
footer button:focus {
  outline-color: #ffffff;
}

/* Ensure focus is visible on navigation items */
.navbar a:focus,
.navbar button:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* ========================================
   END ACCESSIBILITY STYLES
   ======================================== */

/* ========================================
   COLOR CONTRAST IMPROVEMENTS
   ======================================== */

/* Ensure footer links meet WCAG AA standard (5.7:1 ratio) */
.footer-widget-area .text-medium-gray {
  color: #626262; /* Upgraded from #939393 (3.0:1) to #626262 (5.7:1) */
}

/* ========================================
   END COLOR CONTRAST IMPROVEMENTS
   ======================================== */

/* ========================================
   NEWS AND FILMS GRID IMAGE CONSISTENCY
   ======================================== */

/* Fixed dimensions matching home page sliders (800x450, 16:9 aspect ratio) */
.blog-post-style4 .blog-img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintain 16:9 ratio like home page images */
  overflow: hidden;
  position: relative;
  background-color: #2d2d2d; /* Fallback color matching bg-extra-dark-gray */
}

.blog-post-style4 .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio, crop to fill */
  object-position: center;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .blog-post-style4 .blog-img {
    padding-bottom: 56.25%; /* 16:9 ratio (9/16 = 0.5625) */
    height: 0;
  }

  .blog-post-style4 .blog-img img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* ========================================
   END GRID IMAGE CONSISTENCY
   ======================================== */

/*nav.navbar.bootsnav .navbar-toggler{ display:inline-block;float:left;margin-left:0;margin-top:0px;padding: 0; }*/

.header-social-icon {
  border-left: none;
  padding-left: 0px;
  margin-left: 0px;
}

/*------------- fonts ---------------------*/

.alt-font {
  font-family: "AkkuratLLWeb";
  letter-spacing: 0px;
  font-weight: 600;
}

.main-font {
  font-family: "AkkuratLLWeb";
}

body {
  font-family: "AkkuratLLWeb";
}

/*------------- fonts ---------------------*/

/* -------------- main menu modifications start ----------------*/
.dropdown.show .dropdown-menu {
  display: block;
}

header a:hover {
  text-decoration: underline;
  color: #000;
}
header a.sf_menuselected {
  text-decoration: underline;
  color: #000;
}

@media (min-width: 992px) {
  nav {
    /* box-shadow: inset 0px -5px 5px 0px #e4e7eb; */
  }

  nav.submenus {
    top: 105px;
    /* opacity: 0.9; */
    display: flex;
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full {
    /* left: 36px !important; */
    /* opacity: 0.9 !important; */
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full ul {
    top: 0px !important;
    background-color: white;
  }

  .mega-menu-column {
    width: auto;
  }
  .dropdown-menu {
  }

  .sfheaderHeight {
    height: 75px;
  }

  .sf_sectionText {
    margin-left: 67px;
  }

  /* submenu options padding*/
  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li a {
    padding: 3px 10px;
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li.dropdown-header > a {
    padding: 3px 10px;
  }
}

nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li.dropdown-header {
  padding-left: 0px;
}
header nav .navbar-nav.text-normal > li > a {
  font-size: 18px;
}

nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li.dropdown-header > a {
  color: #000;
  font-size: 16px;
  /* padding: 3px 0px; only for large screens */
}

nav.navbar.bootsnav li.dropdown .mega-menu-full {
  background-color: #fff !important;
}

nav.navbar.bootsnav li.dropdown .mega-menu-full ul {
  background-color: white;
}

nav.navbar.navbar-default ul li.dropdown .dropdown-menu li > a:hover {
  color: #000;
  background: transparent;
  left: 0px;
}

header nav.navbar .navbar-nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li > a:hover {
  color: rgba(0, 0, 0);
}

nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li a {
  color: #000;
  font-size: 16px;
  /* padding: 3px 0px; only for large screens*/
  /* left: 35px; */
  /* font-weight: 500; */
}

section {
  padding-top: 150px;
}

.sf_MenuHeaderDiv {
  position: fixed;
}

@media (max-width: 991px) {
  .sf_MenuHeaderDiv {
    position: absolute;
  }

  nav.navbar.bootsnav .navbar-toggler {
    padding-left: 25px;
  }

  nav.submenus {
    display: none;
  }

  nav.navbar.bootsnav .navbar-nav {
    background-color: white;
  }

  .navbar-nav li > a,
  nav.navbar.navbar-default ul.nav > li > a,
  header .navbar-nav li > a,
  header
    nav.navbar-fixed-top.header-light-transparent.white-link
    .navbar-nav
    > li
    > a,
  header.sticky nav.navbar.navbar-default.navbar-fixed-top ul.nav > li > a,
  header.header-appear
    nav.bootsnav.header-light-transparent
    .navbar-nav
    > li
    > a,
  header.header-appear nav.bootsnav.header-light .navbar-nav > li > a {
    color: black;
  }

  .navbar-nav > li.dropdown > .fas {
    color: black;
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul > li {
    border-bottom: none;
    margin-bottom: 0px;
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li.dropdown-header {
    width: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li a {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 0px;
  } */
  li.sf_menuleaf a {
    padding-left: 20px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-right: 0px !important;
  }

  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul li a {
    padding-top: 4px;
    padding-bottom: 0px;
    margin: 0;
  }
  nav .accordion-menu {
    padding: 8px 0 8px 0;
  }

  .sticky nav .accordion-menu {
    padding: 16px 0 16px 0;
    padding-top: 16px;
    padding-right: 0px;
    padding-bottom: 16px;
    padding-left: 0px;
  }
}

@media (max-width: 1199px) {
  nav.navbar.bootsnav li.dropdown .mega-menu-full > ul > li {
    padding-right: 20px;
  }

  .sf_sectionText {
    margin-left: 48px;
  }
}

header nav.navbar .navbar-nav > li.dropdown.on > a,
nav.navbar.bootsnav ul.nav > li.dropdown.on > a {
  color: rgba(0, 0, 0);
}

header nav.navbar [class*="col-"],
header nav.navbar [class^=" col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: fixed;
  }
}

/* header menu fade in and out */

header .bootsnav .dropdown .animated {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate__fadeOutHeader {
  -webkit-animation-name: fadeOutHeader;
  animation-name: fadeOutHeader;
}
.animate__fadeInHeader {
  -webkit-animation-name: fadeInHeader;
  animation-name: fadeInHeader;
}

@keyframes fadeOutHeader {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeInHeader {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.9;
  }
}

/* -------------- main menu modifications end ----------------*/

/* -------------- accordion modifications start ----------------*/
.toggles .panel {
  border-left: 0px;
  border-right: 0px;
}
.toggles .panel-title {
  font-size: 20px;
  font-weight: 700;
}

.toggles .sf_accordionSubMenu {
  padding-left: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.sf_accordionSubMenu .panel-title {
  font-size: 16px;
}

.panel-group {
  margin-bottom: 0px;
}
/* -------------- accordion modifications end ----------------*/

section.sf-section {padding:10px 0;}


table.table-fit {
  width: auto !important;
  table-layout: auto !important;
}
table.table-fit thead th,
table.table-fit tbody td,
table.table-fit tfoot th,
table.table-fit tfoot td {
  width: auto !important;
  height: auto !important;
}

/* ========================================
   PAGINATION FIXES
   ======================================== */

/* Make "Found X" text align inline with PREV/NEXT buttons */
.pagination li span {
  float: left;
  padding: 0 18px;
  line-height: 40px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-left-width: 0;
  background: #fff;
}

/* ========================================
   END PAGINATION FIXES
   ======================================== */