/*
================================================================================
PAGE STRUCTURE
================================================================================
*/

/* Variables
-------------------------------------------------------------------------------- */
/*
 * default => Generic Color
 * primary => Brand Color 1
 * accent  => Brand Color 2
 */

:root {
  --default-color: #f4eee6;
  --default-color-darker: #e3e6e9;
  --default-color-darkest: #d3d6d9;

  --primary-color: #0056a5;
  --primary-color-lighter: #0071d9;
  --primary-color-darker: #00498c;
  --primary-color-darkest: #003c73;

  --accent-color: #00a5a3;
  --accent-color-darker: #008c8b;
  --accent-color-darkest: #007372;
}

/* Base Styles
-------------------------------------------------------------------------------- */
/* Enable smooth scrolling to anchors */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.container,
.container-fluid {
  position: relative;
}

@media (min-width: 768px) {
  .row {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
  }
}


/* Dropdown                                           Override Bootstrap styles
--------------------------------------------------------------------------------
*/

.dropdown {
  /* prevents item from disappearing after being clicked */
  display: block !important;
}

.dropdown-toggle:focus,
.dropdown-toggle:hover {
  text-decoration: none;
}

.dropdown-menu {
  float: none;
  padding: 0;
  font-size: inherit;
}

.dropdown-menu > li > a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
}

.dropdown-menu .divider {
  margin: 5px 0;
}

.dropdown-menu .fa {
  margin-right: 2px;
}

/* TopBar
-------------------------------------------------------------------------------- */
.topbar {
  position: relative;
  padding-top: 10px;
  font-size: 90%;
  color: #fff;
  background-color: var(--primary-color);
}

/* mobile */
@media (max-width: 767px) {
  .topbar {
    text-align: center;
  }
}

/*
------------------
TopBar Left
------------------
*/
.topbar-left {
  position: relative;
  flex: 1;
}

/*
------------------
TopBar Right
------------------
*/
.topbar-right {
  position: relative;
  flex: 1;
}

/* desktops */
@media (min-width: 768px) {
  .topbar-right {
    text-align: right;
  }
}

/*
------------------
TopBar Modules
------------------
*/
.topbar [class^="theme"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10px;
}

/* Theme Side By Side */
.topbar .js-row {
  display: flex;
  flex-wrap: wrap;
}

.topbar .js-row {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .topbar .js-row {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .topbar-right .js-row {
    justify-content: flex-end;
  }
}

.topbar .theme-side-by-side {
  width: auto;
}

/*
------------------
TopBar List
------------------
*/
.topbar .list-inline {
  margin-bottom: 0;
}

.topbar .list-inline li {
  border-right: 1px solid rgba(255, 255, 255, 0.21);
}

.topbar .list-inline li:last-child {
  border: 0;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: inherit;
}


/*
------------------
Shopping Cart
------------------
*/
.shopping-cart {
  position: relative;
  display: inline-block;
  padding: 2px;
}

@media (max-width: 767px) {
  .shopping-cart {
    float: right;
  }
}

.fa.fa-shopping-cart {
  font-size: 23px;
}

.item-no {
  position: absolute;
  top: -4px;
  right: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background-color: var(--accent-color);
  border-radius: 50%;
}


/* TopBar
-------------------------------------------------------------------------------- */
.topbar {
  padding-top: 10px;
  color: #fff;
  background-color: var(--primary-color);
}

@media (max-width: 991px) {
  .topbar {
    text-align: center;
  }
}

/*
------------------
Top Bar Modules
------------------
*/
.topbar [class*="theme-"] {
  margin-bottom: 10px;
}

/* Theme Side By Side */
.topbar .theme-side-by-side {
  display: inline-block;
  float: none;
  width: auto;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .topbar-right {
    text-align: right;
  }
}

/* Header / Navbar
-------------------------------------------------------------------------------- */
.navbar {
  margin: 0;
  border: 0;
  border-radius: 0;
  /* box-shadow: 0 0 55px rgba(0, 0, 0, 0.06); */
  transition: background-color 400ms;
}

.navbar-default {
  z-index: 3;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(2px);
}

/*
------------------
Solid Color
------------------
*/
.is-solid {
  background-color: rgba(255, 255, 255, 0.8);
}


/*
------------------
Fixed Header
------------------
*/
@media (min-width: 992px) {}

.js-is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/*
------------------
Condensed Header
------------------
*/
.js-is-condensed {
  background-color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 767px) {
  .js-is-fixed {
    background-color: rgba(255, 255, 255, 0.9);
  }
}


.navbar > .container,
.navbar > .container-fluid {
  display: flex;
  justify-content: space-between;
  padding: 0;
}

@media (min-width: 992px) {
  .navbar > .container {
    width: 85vw;
  }
}

@media (max-width: 991px) {
  .navbar > .container {
    flex-wrap: wrap;
    width: 100%;
  }

  /* hide pseudo elements so the "logo" and "toggle" btn justifies correctly */
  .navbar > .container::before,
  .navbar > .container::after {
    display: none;
  }
}

/*
------------------
Logo
------------------
*/
.navbar-brand {
  display: inline-block;
  float: none;
  min-width: 120px;
  height: auto;
  padding: 15px;
  font-size: 1.2em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 600ms;
  padding-left: 15px;
}

@media (max-width: 991px) { 
  .navbar-brand {
    padding: 5px;
  }
}

@media (max-width: 991px) {
  .navbar-brand {
    flex: 1;
    margin-left: 0 !important;
  }
}

.navbar-brand .mod-image-list-default img {
  object-fit: contain;
  object-position: left;
}

.navbar-brand img {
  max-height: 100px;
  transition: all 600ms;
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 55px !important;
  }
}

/* Logo - Condensed State */
.js-is-condensed .navbar-brand {
  padding-top: 5px;
  padding-bottom: 5px;
}

.js-is-condensed .navbar-brand img {
  max-height: 50px;
}

@media (max-width: 991px) {
  .js-is-condensed .navbar-brand img {
    max-height: 40px;
    margin-top: 0;
  }
}

/*
------------------
Nav Toggle Button
------------------
*/
.navbar-default .navbar-toggle {
  height: 70px;
  margin: 0;
  color: #fff;
  background-color: var(--primary-color);
  border: 0;
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: var(--primary-color-darker);
}

@media (max-width: 991px) {
  .navbar-toggle {
    display: block;
  }
}

.navbar-toggle .fa {
  font-size: 1.1em;
}

/* Active */
.navbar-toggle[aria-expanded="true"] .fa::before {
  content: "\f00d";
}


/*
------------------
Nav
------------------
*/
.navbar-collapse {
  flex-basis: 100%;
  margin: 0 !important;
  padding: 0;
}

/* mobile */
@media (max-width: 991px) {
  .navbar-collapse.collapse {
    display: none !important;
  }

  .collapse.in {
    display: block !important;
  }
}

/* desktops */
@media (min-width: 992px) {
  .navbar-collapse.collapse {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
  }

  .navbar-collapse div {
    height: 100%;
  }
}


/* Banner
-------------------------------------------------------------------------------- */
.banner {
  position: relative;
  max-height: 720px;
  overflow: hidden;
  color: #fff;
  background-color: var(--primary-color);
  padding: 0;
}

.banner .btn {
  margin-right: 15px;
}

@media (min-width: 992px) {
  .banner h1 {
    font-size: 3.75em;
    text-wrap-style: balance;
    line-height: 1;
  }
}

@media (min-width: 992px) {
  .banner h2 {
    font-size: 290%;
  }
}

/*
------------------
Banner Media (Image/Video/Slider)
------------------
*/
.banner-media {
  position: relative;
}

.banner .banner-media .theme-blank.module-image-list-001 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* mobile */
@media (max-width: 991px) {
  .banner-media:not(:only-child) {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .banner-media:not(:only-child) div {
    height: 100%;
    padding: 0;
  }
}

.banner-media:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, black, transparent);
  opacity: 0.5;
}

/*
------------------
Banner Text
------------------
*/

.banner-text {
  position: relative;
  padding: 40px 15px;
}

@media (max-width: 767px) {
  .banner-text {
    text-align: center;
  }
}

/* desktops */
@media (min-width: 992px) {
  .banner-text {
    width: 80%;
    margin: auto;
  }
}

@media (min-width: 1200px) {
  .banner-text {
    width: 1170px;
  }
}

@media (min-width: 992px) {
  .banner-text h2 {
    font-size: 200%;
  }
}

/* place the "banner-text" on top of "banner-img". */
@media (min-width: 992px) {
  .banner-media + .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -56%);
  }
}

/* background overlay  */
.banner-media:not(:only-child) .mod-image-list-default::after,
.banner-media:not(:only-child) .imagelist-item::after,
.banner-media:not(:only-child) .pagerItem > div::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(346deg, rgba(0, 108, 206, .37) 75%, rgba(255, 255, 255, .80));
  /* opacity: 0.4; */
}

.banner-highlight {
  background: rgba(0, 87, 165, .53);
  padding: 20px;
  margin-bottom: 15px;
  display: inline-block;
  backdrop-filter: blur(10px);
}
.banner-highlight h3 {
  font-size: 150%;
}
.banner-highlight ul {
  margin-bottom: 0;
}


/* Flexslider
-------------------------------------------------------------------------------- */

.flexslider {
  margin: 0 !important;
  background: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
}

/*
------------------------
FlexViewPort
------------------------
*/
.flex-viewport {
  position: relative;
}

.flexslider .slides {
  display: flex !important;
  max-height: calc(100vh - 162px);
  margin: 0;
}

.flexslider .slides > li {
  position: relative;
  margin: 0;
}

/* container for the image/video */
.slide-media {
  position: relative;
  height: 100%;
}

/* mobile */
@media (max-width: 991px) {
  .slide-media:not(:only-child) {
    position: absolute;
    height: 100%;
    width: 100%;
  }

  .slide-media:not(:only-child) div {
    height: 100%;
    padding: 0;
  }
}

/* add an overlay so text will be readable */
.slide-media::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #000;
  opacity: 0.5;
}

.slide-media:only-child::before {
  opacity: 0;
}

.slide-media img {
  height: 100%;
  object-fit: cover;
}

.slide-text {
  position: relative;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 1170px;
  padding: 60px 15px;
  transform: translate(-50%, -50%);
}

@media (min-width: 992px) {
  .slide-media + .slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 111px !important;
  }
}

/*
------------------------
Flex Direction Nav (Prev/Next Arrow)
------------------------
*/

.flex-direction-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  overflow: visible;
}

.flex-direction-nav .flex-prev {
  left: 52px !important;
}

@media (max-width: 767px) {
  .flex-direction-nav .flex-prev {
    left: 15px !important;
  }
}

.flex-direction-nav .flex-next {
  right: 52px !important;
}

@media (max-width: 767px) {
  .flex-direction-nav .flex-next {
    right: 15px !important;
  }
}

.flex-direction-nav a {
  display: block;
  width: 22px;
  height: 36px;
  margin: -20px 0 0;
  background: url(/templates/custom/ecida-2025/images/arrows.png) no-repeat 0 0;
}

/*
------------------------
Flex Control Nav (Dots)
------------------------
*/

.flex-control-nav {
  bottom: 10%;
  text-align: left;
  display: none;
}

@media (max-width: 767px) {
  .flex-control-nav {
    bottom: 15%;
  }
}

.flex-control-paging li a {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.flex-control-paging li a.flex-active {
  background-color: rgba(255, 255, 255, 0.6);
}


/* jQuery Slider
-------------------------------------------------------------------------------- */
.pagerContainer {
  border-radius: 0 !important;
}

.horizontalPagerView {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagerItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100% !important;
}

.imagelist-item {
  height: 100% !important;
  padding: 0 !important;
}

.imagelist-item img {
  width: 100%;
}

/* prev/next */
.horizontalPagerPager {
  height: auto !important;
  padding: 0 !important;
}

/* dots */
.horizontalPagerStatus {
  bottom: 20px !important;
  z-index: 1;
  height: auto !important;
  padding: 0 !important;
  text-align: center;
}



/* All Sections
 * -----------------------------------------------------------------------------
 * Shared styles go here to reduce repetition
 */

section {
  padding-top: 40px;
}

/* desktops */
@media (min-width: 768px) {
  section {
    padding-top: 40px;
  }
}

/* All Modules */
section [class^="theme"] {
  margin-bottom: 40px;
}

/* desktops */
@media (min-width: 768px) {
  section [class^="theme"] {
    margin-bottom: 40px;
  }
}

@media (min-width: 1199px) {
  section:has(.wide-container) .container {
    width: 90vw;
  }
}


/* Aside Top
-------------------------------------------------------------------------------- */
.aside-top {
  position: relative;
}

@media (min-width: 768px) {
  .aside-top {
    padding-top: 0;
    margin-top: -50px;
  }
}


/* Aside Top2
-------------------------------------------------------------------------------- */
.aside-top2 {
  position: relative;
}

@media (min-width: 768px) {
  .aside-top2 {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  .aside-top2 {
    padding-top: 0;
  }
}


/* Main
-------------------------------------------------------------------------------- */
.main {
  position: relative;
  background: linear-gradient(180deg, #f2efeb, #ffffff);
  box-shadow: inset 0 0 0.5px;
}

.main-body {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .main-body {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.js-is-empty {
  display: none;
}


/* Aside Left
-------------------------------------------------------------------------------- */
.aside-left {
  padding-top: 80px;
  background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.025), transparent);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .aside-left {
    padding-top: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.aside-left [class^="theme"] {
  margin-bottom: 40px;
}

.aside-left h2 {
  font-size: 130%;
}

.aside-left h3 {
  font-size: 120%;
}


/* Aside Right
-------------------------------------------------------------------------------- */
.aside-right {
  padding-top: 80px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.025), transparent);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .aside-right {
    padding-top: 40px;
  }
}

.aside-right [class^="theme"] {
  margin-bottom: 40px;
}

.aside-right h2 {
  font-size: 130%;
}

.aside-right h3 {
  font-size: 120%;
}


/* Section 1
-------------------------------------------------------------------------------- */
.section01 {
  position: relative;
  background-color: var(--default-color);
}


/* Section 2
-------------------------------------------------------------------------------- */
.section02 {
  position: relative;
}
@media (max-width: 767px) {
  .section02 {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .section02 .box {
    margin-bottom: 30px;
  }
}


/* Section 3
-------------------------------------------------------------------------------- */
.section03 {
  position: relative;
}
@media (max-width: 767px) {
  .section03 {
    padding-top: 0;
  }
}


/* Section 4
-------------------------------------------------------------------------------- */
.section04 {
  position: relative;
  color: #fff;
  background-color: var(--primary-color);
  background-image: url(/templates/custom/ecida-2025/images/bg-wavy-01.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: luminosity;
  overflow-x: hidden;
}
.section04 .module:has(iframe) {
  text-align: center;
}

@media (max-width: 767px) {
  .section04 .module:has(iframe) {
    margin-top: 30px;
  }
  .section04 [class^="theme"] {
    margin-bottom: 10px;
  }
}


/* Section 5
-------------------------------------------------------------------------------- */
.section05 {
  position: relative;
}


/* Section 6
-------------------------------------------------------------------------------- */
.section06 {
  position: relative;
  color: #fff;
  background-color: var(--primary-color);
}


/* Aside Bottom
-------------------------------------------------------------------------------- */
.aside-bottom {
  position: relative;
}


/* Strong Footer
-------------------------------------------------------------------------------- */
.strong-footer {
  position: relative;
  padding-top: 60px;
  font-size: 90%;
  background-color: var(--default-color);
}

/* mobile */
@media (max-width: 768px) {
  .strong-footer {
    padding-top: 0;
    text-align: center;
  }
}

/* Modules */
.strong-footer [class^="theme"] {
  margin-bottom: 30px;
}

/* mobile */
@media (max-width: 768px) {
  .strong-footer [class^="theme"] {
    margin-bottom: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.strong-footer h2 {
  font-size: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.strong-footer ul {
  padding-left: 0;
  list-style: none;
}

.strong-footer a {
  color: inherit;
}


/* Footer
-------------------------------------------------------------------------------- */
.footer {
  padding: 20px 0;
  background-color: var(--default-color);
}
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }
}

.footer .smalltext {
  font-size: 80%;
}

.footer .smalltext a {
  color: #000;
}

img.footer-logo {
  max-width: 250px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .footer .logo-side {
    text-align: right;
  }
}

.copyright {
  margin-top: 30px;
}


/* Flexbox
-------------------------------------------------------------------------------- */

/* all screens */
.d-flex {
  display: flex;
}

/* xs */
@media (max-width: 768px) {
  .d-xs-flex {
    display: flex;
  }
}

/* sm */
@media (min-width: 768px) {
  .d-sm-flex {
    display: flex;
  }
}

/* md */
@media (min-width: 992px) {
  .d-md-flex {
    display: flex;
  }
}

/* lg */
@media (min-width: 1200px) {
  .d-lg-flex {
    display: flex;
  }
}

.flex-direction-column {
  flex-direction: column;
}


/* Wrap
------------------------------------ */
/* <div class="d-flex flex-wrap"> */

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}


/* Align Items
------------------------------------ */
.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}


/* Align Self
------------------------------------ */
.align-self-start {
  align-self: flex-start;
}

.align-self-center {
  align-self: center;
}

.align-self-end {
  align-self: flex-end;
}


/* Justify Content
------------------------------------ */
.justify-content-start {
  justify-content: flex-start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-around {
  justify-content: space-around;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-evenly {
  justify-content: space-evenly;
}

.justify-content-end {
  justify-content: flex-end;
}


/* Grow / Shrink
------------------------------------ */
.flex-grow-0 {
  flex-grow: 0;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-shrink-1 {
  flex-shrink: 1;
}


/* Grid
-------------------------------------------------------------------------------- */
/*
Automatic grid:         <div class="grid">
Specific # of columns:  <div class="grid grid-cols-3">
Custom style grid:      <div class="grid grid-cols-3 product-grid">
Remove Gap:             <div class="grid no-gap">
*/

.grid {
  display: grid;
  margin-bottom: 30px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.no-gap {
  gap: 0;
}

.grid > * {
  position: relative;
  /* prevents double-margin */
  margin-bottom: 0;
}


/* 2 columns
------------------------------------ */
@media (min-width: 576px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns
------------------------------------ */
@media (min-width: 576px) and (max-width: 767px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 4 columns
------------------------------------ */
@media (min-width: 576px) and (max-width: 767px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 5 columns
------------------------------------ */
@media (max-width: 576px) {
  .grid-cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 577px) and (max-width: 991px) {
  .grid-cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .grid-cols-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}