/*
================================================================================
PAGE STRUCTURE
================================================================================
*/

/* Variables
-------------------------------------------------------------------------------- */
/*
 * default => Generic Color
 * primary => Brand Color 1
 * accent  => Brand Color 2
 */

:root {
  --default-color: #f8f6f3;
  --default-color-darker: #e8e6e3;
  --default-color-darkest: #d8d6d3;

  --primary-color: #daa520;
  --primary-color-darker: #c4941d;
  --primary-color-darkest: #ae841a;
  --primary-color-lighter: #deae37;
  --primary-color-lightest: #e1b74d;

  --accent-color: #2a2a2a;
  --accent-color-darker: #1a1a1a;
  --accent-color-darkest: #0a0a0a;
  --accent-color-lighter: #5a5a5a;
  --accent-color-lightest: #7a7a7a;
}

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


/* TopBar
-------------------------------------------------------------------------------- */
.topbar {
  position: relative;
  padding-top: 10px;
  font-size: 80%;
  color: #fff;
  background-color: var(--accent-color);
}

/* mobile */
@media (max-width: 767px) {
  .topbar {
    text-align: center;
  }
}

/* desktops */
@media (min-width: 768px) {
  .topbar .container {
    display: flex;
    align-items: 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 */
@media (min-width: 768px) {
  .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:not(.btn) {
  color: inherit;
}

.topbar a:not(.btn):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(--primary-color-darker);
  border-radius: 50%;
}


/* Header / Navbar
-------------------------------------------------------------------------------- */
.navbar {
  z-index: 10;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.navbar-default {
  background-color: #fff;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

/*
------------------
Fixed Header
------------------
*/
.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

@media (min-width: 992px) {

  .navbar > .container,
  .navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  float: none;
}

.navbar-header::before,
.navbar-header::after {
  display: none;
}

/*
------------------
Logo
------------------
*/
.navbar-brand {
  float: none;
  height: auto;
  font-size: 150%;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar-brand a {
  display: block;
}

.navbar-brand img {
  max-height: 70px;
  transition: all 600ms;
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 50px;
  }
}

/*
------------------
Condensed
------------------
*/

.is-condensed .navbar-brand img {
  max-height: 40px;
}

/*
------------------
Nav Toggle Button
------------------
*/

/* Override Bootstrap's Breakpoint */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-toggle {
    display: block !important;
  }
}

.navbar-default .navbar-toggle {
  color: #fff;
  white-space: nowrap;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: var(--primary-color-darker);
  border-color: var(--primary-color-darker);
}

/* Expanded state */
.navbar-toggle[aria-expanded="true"] .fa::before {
  content: "\f00d";
}

/*
------------------
Nav
------------------
*/
.navbar-collapse {
  flex: 1;
  padding: 0;
}

@media (min-width: 992px) {
  .navbar-collapse.collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}

/* Override Bootstrap's Breakpoint */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }
}

.navbar .js-row {
  justify-content: flex-end;
}

.navbar .theme-side-by-side {
  width: auto;
}


/* Banner
--------------------------------------------------------------------------------
<div class="banner">
  <div class="banner-media" />
  <div class="banner-text" />
</div>
*/

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  overflow: hidden;
  color: #fff;
  background-color: var(--accent-color);
}


/*
---------------------------
Banner Media
---------------------------
*/
.banner-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .banner-media:not(:only-child) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
  }

  .banner-media div {
    height: 100%;
  }
}

.banner-media .module-image-list-001 img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: cover;
}

/*
----------------------
Banner Media Overlay
----------------------
Adds a dark overlay to the "banner-media" ONLY if "banner-text" is turned ON.
*/
.banner-media:not(:only-child) .mod-image-list-default::after,
.banner-media:not(:only-child) .media-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #000; */
  opacity: 0.4;
}

/*
----------------------
Banner Text
----------------------
*/
.banner-text {
  position: relative;
  width: 85%;
  max-width: 770px;
  margin: auto;
  padding: 50px 15px;
  text-align: center;
}

@media (min-width: 992px) {

  /* if "banner-media" exists, then layer the "banner-text" on top. */
  .banner-media + .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    outline: 5px solid var(--primary-color);
    backdrop-filter: blur(2px);
  }
}


/*
------------------
FlexSlider
------------------
*/
.flexslider {
  margin: 0;
  background: none;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.flexslider .slides {
  position: relative;
}

.flexslider .slides > li {
  position: relative;
  margin: 0;
}

.flexslider .slides > li.flex-active-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .flexslider .slides > li.flex-active-slide {
    justify-content: center;
  }
}

li.imagelist-item {
  position: relative;
}

.flexslider .slides img {
  height: 100%;
  max-height: 600px;
  object-fit: cover;
}

.flex-direction-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}

.flex-direction-nav a {
  width: 32px;
  height: 32px;
  background-image: url(/templates/custom/fissiontheme-zero/images/bg_direction_nav.png);
  background-repeat: no-repeat;
}

.flex-direction-nav .flex-next {
  background-position: 100% 0 !important;
}

.flex-control-nav {
  bottom: 20px;
}

/* dots */
.flex-control-paging li a {
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
}

.flex-control-paging li a.flex-active {
  background-color: rgba(255, 255, 255, 0.5);
}

.slide-media {
  position: relative;
}

@media (max-width: 767px) {
  .slide-media:not(:only-child) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/*
Slide-Media Overlay
----------------------
Adds a dark overlay to the "slide-media" ONLY if "slide-text" exists.
*/
.slide-media:not(:only-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.4;
}

.slide-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 85%;
  max-width: 1170px;
  margin: auto;
  padding: 60px 15px;
}

@media (min-width: 768px) {
  .slide-text {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  /* if ".slide-media" exists, then overlay the "slide-text"  */
  .slide-media + .slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}


/* All Sections                            (Shared styles to reduce repeatition)
-------------------------------------------------------------------------------- */
section {
  padding-top: 40px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

/* desktops */
@media (min-width: 768px) {
  section {
    padding-top: 80px;
  }
}

/* Modules */
section [class^="theme"] {
  margin-bottom: 40px;
}

/* desktops */
@media (min-width: 768px) {
  section [class^="theme"] {
    margin-bottom: 80px;
  }
}


/* Aside Top
-------------------------------------------------------------------------------- */
.aside-top {
  position: relative;
}


/* Main
-------------------------------------------------------------------------------- */
.main {
  position: relative;
  background-color: var(--default-color);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

.main-body {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .main-body {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}


/* Aside Left
-------------------------------------------------------------------------------- */
.aside-left {
  padding-top: 80px;
  padding-bottom: 80px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .aside-left {
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.aside-left [class^="theme"] {
  margin-bottom: 40px;
}


/* Aside Right
-------------------------------------------------------------------------------- */
.aside-right {
  padding-top: 80px;
  padding-bottom: 80px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .aside-right {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.aside-right [class^="theme"] {
  margin-bottom: 40px;
}


/* Section 1
-------------------------------------------------------------------------------- */
.section01 {
  position: relative;
}


/* Section 2
-------------------------------------------------------------------------------- */
.section02 {
  position: relative;
  background-color: var(--default-color);
}


/* Section 3
-------------------------------------------------------------------------------- */
.section03 {
  position: relative;
}


/* Section 4
-------------------------------------------------------------------------------- */
.section04 {
  position: relative;
  color: #fff;
  background-color: var(--accent-color);
}


/* Section 5
-------------------------------------------------------------------------------- */
.section05 {
  position: relative;
  background-color: var(--default-color);
}


/* Section 6
-------------------------------------------------------------------------------- */
.section06 {
  position: relative;
  color: #fff;
  background-color: var(--accent-color);
}


/* Aside Bottom
-------------------------------------------------------------------------------- */
.aside-bottom {
  position: relative;
}


/* Strong Footer
-------------------------------------------------------------------------------- */
.strong-footer {
  position: relative;
  padding-top: 60px;
  font-size: 90%;
  color: #aaa;
  background-color: var(--accent-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 .footer-logo {
  max-width: 200px;
  max-height: 200px;
}

.strong-footer ul {
  padding-left: 0;
  list-style: none;
}

.strong-footer a {
  color: inherit;
}


/* Footer
-------------------------------------------------------------------------------- */
.footer {
  padding: 20px 0;
  font-size: 80%;
  color: #aaa;
  text-align: center;
  background-color: var(--accent-color-darker);
}


/* 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
-------------------------------------------------------------------------------- */
/*
Basic       <div class="grid">
Specific    <div class="grid grid-cols-3">
Custom      <div class="grid grid-cols-3 product-grid">
*/

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

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