/**
 * Beton Styles
 * Migrated from themes-zirkulit
 * Contains styles for banner, banner-stripe, slider, and related components
 * Include this CSS only on pages using Beton templates
 */

/* ========================================
   Main Content Padding
   ======================================== */
@media (min-width: 1025px) {
  main {
    padding: 70px 0 200px;
  }

  main.inner-page {
    padding: 71px 0 100px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  main {
    padding: 70px 0 150px;
  }

  main.inner-page {
    padding: 24px 0 70px;
  }
}

@media (max-width: 767px) {
  main {
    padding: 50px 0 100px;
  }

  main.inner-page {
    padding: 9px 0 50px;
  }
}

/* ========================================
   Banner Base Styles
   ======================================== */
.banner {
  position: relative;
  color: #fff;
}

.banner h1,
.banner h2,
.banner h3,
.banner h4,
.banner h5,
.banner h6,
.banner p,
.banner span {
  color: #fff;
}

.banner > img {
  width: 100%;
}

.banner .slider {
  margin-bottom: 0;
}

.banner .slider img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner .slider img {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .banner .slider img {
    min-height: 250px;
    object-position: 25%;
  }
}

/* ========================================
   Banner Stripe (Red overlay bar)
   ======================================== */
@media (min-width: 768px) {
  .banner-stripe {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: rgba(189, 9, 38, 0.8);
    padding: 18px 0;
    z-index: 1;
  }

  .banner-stripe > .container {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .banner-stripe {
    padding: 8px 0 16px;
    background-color: #bd0926;
  }
}

.banner.banner-inner .banner-stripe {
  background-color: rgba(189, 9, 38, 0.8);
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner.banner-inner .banner-stripe {
    padding: 11px 0 14px;
  }
}

@media (max-width: 767px) {
  .banner.banner-inner .banner-stripe {
    padding: 5px 0;
  }

  .banner.banner-inner .banner-stripe .banner-texts {
    margin-bottom: 0;
  }
}

/* ========================================
   Banner Texts
   ======================================== */
@media (min-width: 768px) {
  .banner-texts {
    float: left;
    max-width: 700px;
  }
}

@media (max-width: 767px) {
  .banner-texts {
    margin-bottom: 8px;
  }
}

@media (min-width: 768px) {
  .banner h1 {
    text-indent: -3px;
  }
}

@media (min-width: 1025px) {
  .banner h1 {
    font-size: 46px;
    line-height: 52px;
    margin-bottom: 6px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner h1 {
    font-size: 42px;
    line-height: 44px;
    margin-bottom: 6px;
  }
}

@media (max-width: 767px) {
  .banner h1 {
    font-size: 26px;
    line-height: 31px;
  }
}

.banner-inner h1 {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .banner-inner h1 {
    line-height: 62px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner-inner h1 {
    line-height: 50px;
  }
}

@media (max-width: 767px) {
  .banner-inner h1 {
    line-height: 40px;
  }
}

.banner p {
  font-weight: 600;
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .banner p {
    font-size: 30px;
    line-height: 36px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner p {
    font-size: 22px;
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .banner p {
    font-size: 19px;
    line-height: 23px;
  }
}

/* ========================================
   Banner Links & Icon Boxes
   ======================================== */
@media (min-width: 768px) {
  .banner-links {
    float: right;
    display: flex;
  }
}

.banner-links a {
  display: block;
}

.banner-links a:hover {
  text-decoration: none;
}

@media (min-width: 1025px) {
  .banner-links a + a {
    margin-left: 32px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner-links a + a {
    margin-left: 25px;
  }
}

@media (max-width: 767px) {
  .banner-links a + a {
    margin-top: 12px;
  }
}

.icon-box {
  background-color: rgba(255, 255, 255, 0.65);
  transition: background-color 0.3s;
}

.icon-box:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .icon-box {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    border-radius: 25px;
  }

  .icon-box img {
    align-self: flex-end;
    width: auto;
    max-height: 80px;
  }

  .icon-box span {
    flex-basis: 100%;
    align-self: flex-start;
  }
}

@media (min-width: 1025px) {
  .icon-box {
    width: 180px;
    height: 180px;
  }

  .icon-box img {
    max-width: 90px;
    max-height: 90px;
  }

  .icon-box span {
    font-size: 24px;
    margin-top: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .icon-box {
    width: 120px;
    height: 120px;
  }

  .icon-box img {
    max-width: 66px;
    max-height: 66px;
  }

  .icon-box span {
    font-size: 19px;
    line-height: 24px;
    margin-top: 5px;
  }
}

@media (max-width: 767px) {
  .icon-box {
    border-radius: 100px;
    padding: 6px 26px;
    height: 52px;
  }

  .icon-box img {
    max-width: 38px;
    max-height: 100%;
    margin-right: 10px;
  }
}

.icon-box span {
  font-weight: 600;
  color: #bd0926;
}

/* ========================================
   Owl Carousel (Banner Slider)
   ======================================== */
.banner .owl-dots {
  z-index: 9;
}

.banner .owl-dots span {
  border-color: #c5c5c5;
}

.banner .owl-dots .owl-dot.active span {
  background-color: #c5c5c5;
}

.banner button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}

.owl-dots {
  position: absolute;
  bottom: 24px;
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.owl-dots .owl-dot {
  display: inline-block;
  margin: 0 3.5px;
  visibility: visible;
}

@media (max-width: 1024px) {
  .owl-dots .owl-dot {
    margin: 0 2px;
  }
}

.owl-dots .owl-dot:focus {
  outline: 0;
}

.owl-dots .owl-dot.active span {
  background-color: #fff;
}

.owl-dots span {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: solid 2px #fff;
}

@media (max-width: 1024px) {
  .owl-dots span {
    width: 12px;
    height: 12px;
  }
}

/* Basic Owl Carousel structure */
.owl-carousel,
.owl-carousel .owl-item {
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
}

.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item,
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel.owl-loaded {
  display: block;
}

/* ========================================
   Breadcrumb Adjustments for Banner
   ======================================== */
.breadcrumb {
  background-color: transparent;
  padding-left: 0;
}

@media (min-width: 1025px) {
  .banner + main .breadcrumb {
    margin-bottom: 45px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner + main .breadcrumb {
    margin-bottom: 35px;
  }
}

@media (max-width: 767px) {
  .banner + main .breadcrumb {
    margin-bottom: 25px;
  }
}

@media (min-width: 1025px) {
  .banner-inner + main {
    padding-top: 44px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner-inner + main {
    padding-top: 34px;
  }
}

@media (max-width: 767px) {
  .banner-inner + main {
    padding-top: 24px;
  }
}

/* ========================================
   Button Element Spacing
   ======================================== */
.frame-type-button {
  margin-bottom: 30px;
}

/* ========================================
   Sidebar Content Element Spacing
   ======================================== */
.col-md-4.side-content .frame-type-textpic {
  margin-bottom: 30px;
}

/* ========================================
   ImageTextLink Element
   ======================================== */
.frame-type-imageTextLink {
  margin-bottom: 30px;
  background-color: #f5f5f5;
  padding: 20px;
}

.img-text-link__link {
  display: inline-block;
  padding: 10px 10px;
  background-color: #bd0926;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.img-text-link__link:hover {
  background-color: #9a0720;
  color: #fff !important;
  text-decoration: none;
}

.img-text-link__sham-link {
  display: none;
}

/* ========================================
   Text-Image Grid (for ImageTextLinkCard)
   ======================================== */
.text-image-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  word-break: break-word;
}

@media (min-width: 1025px) {
  .text-image-grid .image-area {
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .text-image-grid .image-area {
    margin-bottom: 13px;
  }
}

.text-image-grid .content-area {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.text-image-grid .content-area p {
  flex: 1 1 auto;
}

.text-image-grid .content-area .btn {
  align-self: flex-start;
}

.combined-area h3 {
  color: white;
  position: relative;
  text-align: center;
  transform: translateY(-100%);
  bottom: 30px;
}

.combined-area img {
  border-radius: 25px;
}

/* Sub-header Styles - same as .frame-heading-wrapper p */
.sub-head {
  margin-bottom: 0px;
  font: 30px/40px "Assistant";
  letter-spacing: 0px;
  color: #262626;
}

@media screen and (max-width: 1200px) {
  .sub-head {
    font: 24px/32px "Assistant";
  }
}

@media screen and (max-width: 991px) {
  .sub-head {
    font: 20px/28px "Assistant";
  }
}

@media screen and (max-width: 767px) {
  .sub-head {
    font: 18px/23px "Assistant";
  }
}

.sub-head a {
  font: bold 30px/40px "Assistant";
}

@media screen and (max-width: 1200px) {
  .sub-head a {
    font: bold 24px/32px "Assistant";
  }
}

@media screen and (max-width: 991px) {
  .sub-head a {
    font: bold 20px/28px "Assistant";
  }
}

@media screen and (max-width: 767px) {
  .sub-head a {
    font: bold 18px/23px "Assistant";
  }
}

/* Sub-header in sidebar - smaller font size like standard p */
.col-md-4.side-content .sub-head {
  font: 22px/32px "Assistant";
  margin-bottom: 20px;
}

@media screen and (max-width: 1200px) {
  .col-md-4.side-content .sub-head {
    font: 18px/26px "Assistant";
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 991px) {
  .col-md-4.side-content .sub-head {
    font: 16px/24px "Assistant";
  }
}

.col-md-4.side-content .sub-head a {
  font: bold 22px/32px "Assistant";
}

@media screen and (max-width: 1200px) {
  .col-md-4.side-content .sub-head a {
    font: bold 18px/26px "Assistant";
  }
}

@media screen and (max-width: 991px) {
  .col-md-4.side-content .sub-head a {
    font: bold 16px/24px "Assistant";
  }
}

/* ========================================
   Nested Dropdown Menu Styles - Click-based
   ======================================== */

/* Hide submenus by default */
.dropdown-submenu {
  display: none !important; /* Force hidden by default */
  position: absolute;
  left: auto;
  top: 0;
  min-width: 200px;
  background-color: #fff;
  z-index: 1000;
  border-radius: 0.25rem;
}

/* Show submenu ONLY when it has the 'show' class (controlled by JS click) */
.dropdown-submenu.show {
  display: block !important; /* Force visible when clicked */
}

/* Prevent any CSS hover rules from showing submenus 
.dropdown-item.has-submenu:hover + .dropdown-submenu {
  display: none !important;
}
*/
.dropdown-item:hover > .dropdown-submenu {
  display: none !important;
}

/* Level-4 submenu specific styles */
.dropdown-submenu.level-4 {
  max-height: 400px;
  overflow-y: auto;
}

/* Style for active menu items (when submenu is open) */
.dropdown-item.has-submenu.active {
  font-weight: 600;
}

/* Style for items with submenus */
.dropdown-item.has-submenu {
  position: relative;
  padding-right: 45px; /* Make space for the indicator */
  cursor: default; /* Only indicator is clickable, not the whole item */
}

/* The link text inside should be clickable */
.dropdown-item.has-submenu:hover {
  cursor: pointer; /* Show pointer when hovering the link text */
}

/* Style for submenu indicator arrow - same as dropdown-menu-arrow */
.submenu-indicator {
  position: absolute;
  right: 0;
  top: 0;
  padding: 23px 10px 23px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  user-select: none; /* Prevent text selection on indicator */
}

/* Style for the SVG image inside indicator */
.submenu-indicator img {
  width: 18px;
  height: 11px;
  display: block;
  transition: transform 0.3s;
}

/* Rotate arrow when submenu is open */
.dropdown-item.has-submenu.active .submenu-indicator img {
  transform: rotate(180deg);
  margin-top: -8px;
}

/* Mobile: stack submenus instead of absolute positioning */
@media (max-width: 767px) {
  .dropdown-submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    right: auto;
  }
  
  .submenu-indicator {
    padding: 15px 10px;
  }
}

/* Responsive indicator size */
@media screen and (max-width: 1200px) {
  .submenu-indicator {
    padding: 20px 8px;
  }
  
  .submenu-indicator img {
    width: 16px;
    height: 9px;
  }
}
.dropdown-item.active, .dropdown-item:active {
  background-color: transparent;
}
header .header nav.navbar .navbar-nav .nav-item.dropdown .dropdown-menu a.dropdown-item:active, header .header nav.navbar .navbar-nav .nav-item.dropdown .dropdown-menu a.dropdown-item:focus {
  color: #fff;
}
header .header nav.navbar .navbar-nav .nav-item.dropdown .dropdown-menu a.dropdown-item:active, header .header nav.navbar .navbar-nav .nav-item.dropdown .dropdown-menu a.dropdown-item:focus {
    color: #000;
}
header .header nav.navbar .navbar-nav .nav-item.dropdown .dropdown-menu a.dropdown-item:hover {
    background: transparent;
    color: #fff;
}
.ce-textpic.ce-right {
  padding-bottom:30px;
}
header .header nav.navbar .navbar-nav .nav-item .dropdown-menu-arrow.show {
    display:none;
}