@font-face {
  font-family: 'Eurostile LT Std Extended';
  src: url('/fonts/Eurostile/EurostileLTStd-Ex2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'Eurostile LT Std Demi';
  src: url('/fonts/Eurostile/EurostileLTStd-Demi.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
  --brand-optris-primary-color: #08325A; /* primary color */
  --brand-optris-secondary-color: #E2001A; /* secondary color */
  --brand-optris-secondary-color-hover: #d00018; /* secondary color HOVER */
  --brand-optris-third-color: #E6E8EB; /* third color */
  --brand-optris-general-color: #374147; /* text color */
  --brand-optris-buttons-color: #E2001A;
  --brand-optris-buttons-color-hover: #d00018; /* secondary color HOVER */
  --white-optris-color: #FFFFFF; /* white */ 
  --black-optris-color: #000000; /* black */ 
  --body-optris-font: 'Roboto', 'Open Sans', sans-serif;
  --p-optris-font: 'Eurostile LT Std Extended', 'Orbitron', 'Squada One', Helvetica, Arial, sans-serif;
  --p-optris-font--regular: 'Eurostile LT Std Demi', 'Orbitron', 'Squada One', Helvetica, Arial, sans-serif;
}

/* Base container */
.optris-header#store-banner {
  font-family: var(--body-optris-font);
  font-size: 16px;    /* Base size for normal text */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--brand-optris-general-color);   /* Default text color */
  margin-bottom: 6px;
}
/* Headings */
.optris-header#store-banner h1,
.optris-header#store-banner h2,
.optris-header#store-banner h3,
.optris-header#store-banner h4,
.optris-header#store-banner h5,
.optris-header#store-banner h6 {
  font-family: var(--p-optris-font); /* All titiles Eurostile */
  color: var(--brand-optris-primary-color); /* Primary color by defualt*/
}
.optris-header#store-banner h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.optris-header#store-banner h2 { font-size: 2rem; font-weight: 600; margin-bottom: 0.85rem; }

/* Paragraphs */
#store-banner p {
  font-family: var(--body-optris-font); /* Roboto/Open Sans */
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Links */
.optris-header#store-banner a {
  font-family: inherit;   /* Inherit 'Roboto', 'Open Sans', sans-serif */
  font-size: 1rem;
  /* font-weight: 700; */
  color: var(--brand-optris-third-color); 
  text-decoration: none;
  transition: all 0.3s ease;
}

.optris-header#store-banner a:hover {
  color: var(--white-optris-color);   /* Darker shade on hover/focus */
  outline: none;
}


/**************************************     HEADER     ************************************************/

.optris-header {
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  box-sizing: border-box;
  padding: .5em 0;
  /* background-color: var(--white-optris-color); */
  background: linear-gradient(to top, var(--brand-optris-primary-color) 2px, var(--white-optris-color) 2px);
  background-color: transparent;
  outline: none;
}
.optris-header > .row-fluid
{
  max-width: 1140px;
  margin: 0 auto;
  padding: 7px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.optris-header .span3.logo-optris-sws img.brandlogo{
  width: 100%;
  margin-left: 0px;
}
.optris-header .row-fluid .navbar.navbar-inner-optris-subsite {
  float: right;
}
.optris-header .span9.subheading-nav {
  float: right;
  margin-top: 0;
}

.optris-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 0px !important;
  width: 53rem;
}

/**************************************     NAV     ************************************************/
/* .optris-nav-bottom .span12.subheading-nav {
  margin-top: 0;
} */
.navbar .nav.navbar-optris-subsite {
  margin-right: 0;
  width: 86%;
  font-family: var(--body-hero-title-optris-font);

  /* Vendor prefixes for older browsers */
  display: -webkit-box;      /* Safari 6-9 */
  display: -moz-box;         /* Firefox 19-28 */
  display: -ms-flexbox;      /* IE 10 */
  display: -webkit-flex;     /* Safari 9+ */
  display: flex;             /* Standard flex display */

  /* Vendor prefixes for flex-wrap */
  -webkit-box-flex-wrap: nowrap;   /* Safari 6-9 */
  -moz-box-flex-wrap: nowrap;      /* Firefox 19-28 */
  -webkit-flex-wrap: nowrap;       /* Safari 9+ */
  -ms-flex-wrap: nowrap;           /* IE 10 */
  flex-wrap: nowrap;               /* Standard flex-wrap */
  
  justify-content: space-evenly;  /* Distribute items */
  align-items: center;             /* Align vertically */
  gap: 1em;
}

.navbar .nav.navbar-optris-subsite > li.home-btn {
  /* Vendor prefixes for flex-grow, flex-shrink, and flex-basis */
  -webkit-box-flex: 0;     /* Safari 6-9 */
  -moz-box-flex: 0;        /* Firefox 19-28 */
  -webkit-flex: 0;         /* Safari 9+ */
  -ms-flex: 0;            /* IE 10 */
  flex: 0;              /* Takes up less space compared to other items */
}

.navbar .nav.navbar-optris-subsite > li {
  /* Vendor prefixes for flex-grow, flex-shrink, and flex-basis */
  -webkit-box-flex: 1;     /* Safari 6-9 */
  -moz-box-flex: 1;        /* Firefox 19-28 */
  -webkit-flex: 1;         /* Safari 9+ */
  -ms-flex: 1;            /* IE 10 */
  flex: 1;                /* Adjust for proportional growth */
  text-align: center;
}
.navbar.navbar-inner-optris-subsite.navbar-inner-optris-subsite-french .nav.navbar-optris-subsite {
  gap: 0.5em;
}

/* home button */
.nav-home-icon-svg {
  color: var(--brand-optris-general-color);
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
  display: block;
}
.navbar .nav.navbar-optris-subsite a.nav-home-icon{
  padding: 18px 10px;
}
.navbar.navbar-inner-optris-subsite .nav > li > a {
  text-shadow: none;
  display: block;
  white-space: nowrap;
  padding: 14px 10px;
  font-size: 1.25rem !important;
  font-family: var(--body-optris-font);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  color: var(--brand-optris-general-color) !important;
  text-transform: none;
}
.navbar.navbar-inner-optris-subsite.navbar-inner-optris-subsite-french.mhide .nav>li>a {
  padding: 14px 9px;
}
.navbar.navbar-inner-optris-subsite.navbar-inner-optris-subsite-french.mhide a.nav-home-icon{
  padding: 18px 10px !important;
}
.nav, .navbar {
  margin-bottom: 0px;
}
/* NAV HOVER COLOURS */
.navbar.navbar-inner-optris-subsite .nav > li > a:active,
.navbar.navbar-inner-optris-subsite .nav > li > a:hover,
.navbar .nav.navbar-optris-subsite li.dropdown.open > .dropdown-toggle,
.navbar .nav.navbar-optris-subsite li.dropdown.active > .dropdown-toggle,
.navbar .nav.navbar-optris-subsite li.dropdown.open.active > .dropdown-toggle {
  color: var(--brand-optris-primary-color) !important;
  /* background-color: var(--brand-optris-secondary-color); */
  z-index: 1;
  position: relative;
  background-color: transparent;
}
.navbar .nav.navbar-optris-subsite .home-btn > a:hover{
  background-color: transparent;
  color: inherit;
  border: none;
  transform: none;
}

/* Underline Effect */
.hover-underline-animation::before {
  display: block;
  content: ""; /* Add content after the element */
  position: absolute;
  width: 100%;
  transform: scaleY(0);
  height: 4px; /* Height of the underline */
  bottom: 11px;
  left: 0;
  background: var(--brand-optris-buttons-color-hover);
  transform-origin: bottom; /* Expands from bottom to top */
  transition: transform 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}
.hover-underline-animation:hover::before,
.nav-item-container:hover .hover-underline-animation::before,
.active.hover-underline-animation::before,
.open .hover-underline-animation::before {
  transform: scaleY(1); /* Scale the underline on hover */
  visibility: visible;
}
.hover-underline-animation:hover::before,
.hover-underline-animation.open::before {
  transform: scaleY(1);
}
.active,
.hover-underline-animation {
  position: relative;
}

.navbar.navbar-inner-optris-subsite .navbar-optris-subsite li {
  line-height: 1.5;
}

/* DROP-DOWN MENU STYLES */
/* hide Bootstrap arrow */
.navbar .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu:before,
.navbar .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu:after {
  display: none;
}

/* base (hidden) */
.navbar .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  min-width: 450px;
  left: 0;
  top: 47px;
  border-radius: 0px;
  background-color: var(--brand-optris-primary-color);
  box-shadow: 0 2px 3px #13486040;
  padding: 6px 12px;
  margin: 0;
  border: none;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity .35s ease, transform .8s ease;
  text-align: left;
  font-family: var(--body-optris-font);
}
.navbar.navbar-inner-optris-subsite.navbar-inner-optris-subsite-french .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu{
  min-width: 500px;
  left: 0;
}
.navbar .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu.industries-list,
.navbar.navbar-inner-optris-subsite.navbar-inner-optris-subsite-french .nav > li >.optris-whole-cateogies-list-menu.dropdown-menu.industries-list{
  min-width: 200px;
}
/* show only on click (when .open is applied by Bootstrap JS) */
.navbar .nav > li.open > .optris-whole-cateogies-list-menu.dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* ******** */
.dropdown-menu.optris-whole-cateogies-list-menu ul {
  text-decoration: none;
  list-style: none;
  padding-left: 0;
}
.dropdown-menu.optris-whole-cateogies-list-menu > li{
  flex: 1;
  list-style: none;
}
.dropdown-menu.optris-whole-cateogies-list-menu .first-col,
.dropdown-menu.optris-whole-cateogies-list-menu .second-col,
.dropdown-menu.optris-whole-cateogies-list-menu .solutions-by-industry{
  margin: 0px 10px;
}
/* Shared dropdown styles for all items */
.dropdown-menu.optris-whole-cateogies-list-menu .first-col a,
.dropdown-menu.optris-whole-cateogies-list-menu .second-col a,
.dropdown-menu.optris-whole-cateogies-list-menu .solutions-by-industry a {
  padding: 2px 15px !important;
  line-height: 1.5;
  text-align: left;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease !important;
  margin-left: 10px;
  margin-bottom: 3px;
}
.dropdown-menu.optris-whole-cateogies-list-menu .first-col a:hover,
.dropdown-menu.optris-whole-cateogies-list-menu .second-col a:hover,
.dropdown-menu.optris-whole-cateogies-list-menu .solutions-by-industry a:hover {
  margin-left: 14px;
  background: transparent !important;
  color: var(--brand-optris-primary-color) !important;
}

/* Titles (text-only and link-headers) */ 
.dropdown-menu.optris-whole-cateogies-list-menu .first-col .dropdown-main-header-title a,
.dropdown-menu.optris-whole-cateogies-list-menu .second-col .dropdown-main-header-title a,
.dropdown-menu.optris-whole-cateogies-list-menu .solutions-by-industry .dropdown-main-header-title a{
  font-weight: 700;
  color: var(--brand-optris-primary-color);
  margin-left: 0;
  font-size: 1rem;
  padding: 0;
  position: relative;
  display: block;
  transition: all 0.3s ease-in-out;
}
.dropdown-menu.optris-whole-cateogies-list-menu .first-col .dropdown-main-header-title a:hover,
.dropdown-menu.optris-whole-cateogies-list-menu .second-col .dropdown-main-header-title a:hover,
.dropdown-menu.optris-whole-cateogies-list-menu .solutions-by-industry .dropdown-main-header-title a:hover{
  background: transparent !important;
  color: var(--white-optris-color) !important;
  margin-left: 4px;
}

/* White arrow */
.dropdown-main-header-title ::before {
    content: "";
    position: absolute;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.045' height='9.717' viewBox='0 0 15.045 9.717'%3E%3Cpath d='M14.707,4.042,11,.338A1.155,1.155,0,0,0,9.37,1.971L11.1,3.7H1.155a1.155,1.155,0,0,0,0,2.309H11.1L9.37,7.747A1.155,1.155,0,0,0,11,9.379l3.7-3.7a1.155,1.155,0,0,0,0-1.633' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    width: 10px;
    height: 10px;
    border-radius: 0;
    top: 50%;
    left: -5px;
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.3s ease-in-out;
}
/* On hover white arrow change its position */
.dropdown-main-header-title:hover ::before {
  transform: translateY(-50%) rotate(0deg);
}
.dropdown-menu.optris-whole-cateogies-list-menu .dropdown-header a {
    font-weight: 400;
    color: var(--brand-optris-buttons-color);
    margin-left: 0;
    display: inline-block;
}
.dropdown-menu.optris-whole-cateogies-list-menu .dropdown-header a:hover {
  margin-left: 0px;
  background: #003a71 !important;
  color: var(--white-optris-color) !important;
  border-radius: 5px;
}
.dropdown-menu.optris-whole-cateogies-list-menu li>a:focus{
  background-color: transparent !important;
  color: var(--white-optris-color) !important;
}
/* Split the line with the text */
.dropdown-menu.optris-whole-cateogies-list-menu .dropdown-main-header-title.multiline-category a{ 
  display: inline-block;
  max-width: 18ch;
  line-height: 1.2;
  vertical-align: middle;
  white-space: normal;
  word-wrap: break-word;
}
/**************************************     SEARCH BAR     ************************************************/
.optris-search form#ProductDisplayForm button.btn.btn-default .nav-search-icon-svg, 
.optris-mobile .mobile-search button .nav-search-icon-svg {
  height: auto;
  width: 25px;
  color: var(--white-optris-color);
  display: block;
}
.optris-search .btn{
  padding: 0px;
}
/* Style for the button */
.optris-search form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-optris-secondary-color);
  border-radius: 0 5px 5px 0;
  border: none;
  width: 40px;
  height: 36px !important;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.4s ease;
  z-index: 2;
  padding: 6px 8px;
}
/* Search bar container */
.optris-search.input-append {
  margin-left: auto;
  margin-right: 0;
  position: relative;
  left: 0;
  width: 250px;
}
/* Search Bar - Expand on Hover/Focus */
.optris-search.input-append:hover,
.optris-search.input-append:focus-within {
  background-color: var(--brand-optris-primary-color);
  box-shadow: none;
}
/* Input field styling */
.optris-search input#ProductSearch.appendInputButton {
  font-family: var(--body-optris-font);
  color: var(--brand-optris-primary-color);
  border: none;
  background-color: transparent;
  padding: 7px 0px;
  margin-right: 0px;
  margin-left: 0px;
  font-weight: 500;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: none;
  left: 0px;
  width: 95%;
}
.optris-search form#ProductDisplayForm {
  width: 90%;
  padding: 0 0 0 0px;
  transform: translate(0%, 0%);
  background: var(--white-optris-color);
  height: 36px;
  border-radius: 5px 0 0 5px;
  transform-origin: right;
  transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
  border: 1px solid var(--brand-optris-general-color);
  border-right: none;
}
/* Change Button Color & Move Left when Hovering */
.optris-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.optris-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-optris-primary-color);
}
/* Input focus styling */
.optris-search input.refine-search.appendInputButton:focus {
  color: var(--brand-optris-primary-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--white-optris-color);
}

.optris-search input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-optris-primary-color);
}
.optris-search input.refine-search.appendInputButton:hover::placeholder{
  color: var(--brand-optris-primary-color);
}

/******  END SEARCH BAR ***** */
/* ********* END HEADER ********* */

/**************************************     HEROS     ************************************************/
.carousel-top.optris-sws-store {
  margin-top: 0;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 0em;
}
.optris-sws-store #myCarousel {
  margin-bottom: 10px;
}
/* Set a fixed height for the carousel inner to prevent jumping */
.optris-sws-store #myCarousel .carousel-inner.hero-section,
.optris-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 450px;
}
.optris-sws-store #myCarousel .hero-section {
  width: 100%;
  background-image: url(/images/pages/optris/optris-background-hero-opt-upd.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -6px;
}
.optris-sws-store #myCarousel .hero-content {
  width: min(90vw, 1140px);
  box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0;
    max-height: 450px;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 6px;
    height: 100%;
}
.optris-sws-store #myCarousel .text-content {
    padding: 0 30px 0 0;
    width: 100%;
    max-width: 700px;
}
.optris-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 1em 1em 1em 3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    background-color: transparent;
    border-radius: 20px;
    box-shadow: none;
    min-height: 340px;
    height: fit-content;
}
.optris-sws-store #myCarousel .hero-content .image-content{
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.optris-sws-store #myCarousel .hero-content .image-content img {
    object-fit: contain;
    height: auto;
    width: 100%;
    max-height: 450px;
    object-position: center;
    margin-top: 0;
    transition: transform 0.8s ease-in-out;
}

/* Apply a full-surface invisible link to cover all content */
.optris-sws-store .hero-content .hero-global-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* Place between the carousel arrows and the content (text/images) */
}
/* Other Carousel Styles */
.optris-sws-store #myCarousel h1 {
    font-size: clamp(1.2rem, 4vw, 3rem);
    margin-bottom: 0px;
    color: var(--white-optris-color);
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-family: var(--p-optris-font);
    white-space: normal;
    text-transform: none;
}
.optris-sws-store #myCarousel h2 {
    color: var(--white-optris-color);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-family: var(--body-optris-font);
    font-weight: 300;
    line-height: 1.4;
    margin: 10px 0 15px;
    white-space: normal;
    font-style: normal;
}
.optris-sws-store #myCarousel .carousel-btn {
    margin-top: 0px;
    font-size: 1rem;
    font-family: var(--body-optris-font);
    box-shadow: none;
    text-transform: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    color: var(--white-optris-color);
    gap: 0px;
    background-color: var(--brand-optris-secondary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    overflow: hidden;
    transition: background 0.3 ease;
}
/* Text wrapper (to move only the text) */
.optris-sws-store #myCarousel .carousel-btn span {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
/* Arrow inside the button */
.optris-sws-store #myCarousel .carousel-btn::after {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.045' height='9.717' viewBox='0 0 15.045 9.717'%3E%3Cpath d='M14.707,4.042,11,.338A1.155,1.155,0,0,0,9.37,1.971L11.1,3.7H1.155a1.155,1.155,0,0,0,0,2.309H11.1L9.37,7.747A1.155,1.155,0,0,0,11,9.379l3.7-3.7a1.155,1.155,0,0,0,0-1.633' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    width: 16px;
    height: 11px;
    margin-left: 10px;
    display: inline-block;
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out;
}

/* --- Global hover effect on slide --- */

/* Text shifts to the left */
.optris-sws-store #myCarousel .hero-content:hover .carousel-btn span {
    transform: translateX(-4px);
}

/* Arrow straightens, elongates, and follows the text */
.optris-sws-store #myCarousel .hero-content:hover .carousel-btn::after {
    transform: rotate(0deg) scaleX(1.1) translateX(0px);
}
/* Prevent color changes from being overridden by other styles */
.optris-sws-store #myCarousel .carousel-btn:hover {
    color: var(--brand-optris-buttons-color) !important;
}

/* Trigger button animation when hovering anywhere on the banner */
.optris-sws-store #myCarousel .hero-content:hover .carousel-btn {
    color: var(--white-optris-color);
    text-decoration: none;
}

/* Add a subtle zoom effect to the background image on hover */
.optris-sws-store #myCarousel .hero-content:hover .image-content img {
    transform: scale(1.05);
}

/* --- END Global hover effect on slide --- */

.carousel-control-new {
  color: var(--white-optris-color) !important;
  background-color: var(--brand-optris-primary-color);
  border: 2px solid var(--white-optris-color);
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  line-height: 40px;
  text-align: center;
  font-size: 20px; /* size of the arrow */
  font-weight: lighter;
  text-shadow: none;
  position: absolute; /* Position the arrows */
  top: 55%; /* Position vertically in the middle */
  transform: translateY(-50%); /* Adjust vertical position */
  transition: 0.3s ease-in-out;
}
.carousel-control-new.left {
  left: 2rem;
}
.carousel-control-new.right {
  right: 2rem;
}
.carousel-control-new:hover{
  background-color: var(--brand-optris-buttons-color);
  border: 2px solid var(--white-optris-color);
  color: var(--white-optris-color) !important;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
}
/* Important: carousel arrows stay above the global link */
.carousel-control-new {
    z-index: 10 !important;
}

/* ********* END Heroes ********* */

/**************************************     BUTTONS     ************************************************/
/* GRID */
.optris-grid-container {
    display: grid;
    display: -ms-grid;
    gap: 1em;
    margin: 30px auto 40px;
    grid-template-columns: repeat(3, 1fr);

    /* Grid structure: 
       b1, b2... — category buttons. 
       ad — the high vertical block. 
    */
    grid-template-areas: 
        "b1 b2 ad"
        "b4 b5 ad"
        "b6 b7 ad"
        "b8 b9 b10";
        width: 100%;
    box-sizing: border-box; 
}
.optris-grid-container > a {
    min-width: 0;
    width: 100% !important;
    display: block;
    height: 100%;
    text-decoration: none !important;
}
/* Mapping children to grid areas */
.optris-grid-container > a:nth-child(1)  { grid-area: b1; }
.optris-grid-container > a:nth-child(2)  { grid-area: b2; }
.optris-grid-container > a:nth-child(3)  { grid-area: ad; } /* High side ad block */
.optris-grid-container > a:nth-child(4)  { grid-area: b4; }
.optris-grid-container > a:nth-child(5)  { grid-area: b5; }
.optris-grid-container > a:nth-child(6)  { grid-area: b6; }
.optris-grid-container > a:nth-child(7)  { grid-area: b7; }
.optris-grid-container > a:nth-child(8)  { grid-area: b8; }
.optris-grid-container > a:nth-child(9)  { grid-area: b9; }
.optris-grid-container > a:nth-child(10) { grid-area: b10; }

/* General link container styling */
.optris-grid-container > a {
    position: relative;
    float: none !important; /* Cleanup floats */
    width: auto !important;  
    text-decoration: none !important;
    display: block;
    height: 100%;
}
/* END GRID STYLES */

/*  Main Card Styling (Grey Background) */
.optris-item {
    background-color: var(--brand-optris-third-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
/* Apply shadow to standard cards only (excluding side-ad) */
.optris-item:not(.side-ad):hover {
  box-shadow: 0 10px 20px rgba(0, 47, 86, 0.08), 0 6px 6px rgba(0, 47, 86, 0.12);
}

/* Image Container */
.optris-application-img {
    width: 95%;
    height: 160px; /* Fixed height for a consistent grid */
    overflow: hidden;
    background-color: transparent;
    border-radius: 10px;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
}

.optris-application-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden; /* Prevents flickering on Mac/Retina displays */
    transition: transform 0.6s ease-in-out, filter 0.3s ease-in-out;
}

/* Hover effect for standard card images */
.optris-grid-container > a:hover .optris-application-img img {
    transform: scale(1.05);
}
/* Title Block (category buttons) */
.optris-bkgr-btn {
    padding: 12px 15px;
    background: transparent;
}
.application-title {
    font-family: var(--p-optris-font--regular);
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-optris-primary-color);
    margin: 0;
    line-height: 1.2;
    text-align: center;
}
/* Specific styles for SIDE AD (3rd grid item) */
.optris-item.side-ad {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    background: var(--brand-optris-third-color);
    padding: 0 !important;
    text-align: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

/* Product image inside the high side-ad block */
.optris-side-ad-img {
    margin: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.optris-side-ad-img img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.6s ease-in-out;
    backface-visibility: hidden;
}
/* Blue gradient inner container */
.optris-item.side-ad .optris-inside-bckgr {
    background: linear-gradient(180deg, var(--brand-optris-primary-color) 0%, #001529 100%);
    margin: 10px;
    color: white;
    text-align: center;
    border-radius: 12px;
    padding: 10px;
    box-sizing: border-box;
    width: calc(100% - 20px);
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.optris-item.side-ad .application-title {
    color: white;
    font-family: var(--p-optris-font);
    font-size: clamp(1rem, 2.5vw, 2rem);
    text-align: center;
    margin-bottom: 10px;
    margin-top: .5em;
}
.optris-side-ad-subtitle,
.optris-side-ad-title {
    margin: 0 10px;
}
.optris-side-ad-subtitle .application-subtitle {
    font-family: var(--body-optris-font);
    font-size: clamp(0.8rem, 2.1vw, 1.5rem);
    color: var(--brand-optris-third-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
    font-weight: lighter;
}

/* "Learn More" Button inside Side Ad */
.optris-side-ad-cta {
  margin: 10px auto;
}
.side-ad-btn {
    margin-top: 0px;
    font-size: 1rem;
    font-family: var(--body-optris-font);
    box-shadow: none;
    text-transform: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    color: var(--white-optris-color) !important;
    gap: 0px;
    background-color: var(--brand-optris-secondary-color) !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    overflow: hidden;
    transition: background 0.3s ease;
    cursor: pointer;
}
/* Text slide animation on hover */
.side-ad-btn span {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
/* Arrow SVG inside the button */
.side-ad-btn::after {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.045' height='9.717' viewBox='0 0 15.045 9.717'%3E%3Cpath d='M14.707,4.042,11,.338A1.155,1.155,0,0,0,9.37,1.971L11.1,3.7H1.155a1.155,1.155,0,0,0,0,2.309H11.1L9.37,7.747A1.155,1.155,0,0,0,11,9.379l3.7-3.7a1.155,1.155,0,0,0,0-1.633' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    width: 16px;
    height: 11px;
    margin-left: 10px;
    display: inline-block;
    transform: rotate(-45deg);
    transition: transform 0.4s ease-in-out;
}

.optris-grid-container > a:nth-child(3) {
    grid-area: ad;
    width: 100% !important;
    max-width: 100% !important;
}
/* --- GLOBAL HOVER EFFECTS FOR THE LINK CONTAINER --- */

/* Button background color shift */
.optris-item-link:hover .side-ad-btn {
    background-color: var(--brand-optris-buttons-color);
}

/* Text moves to the left */
.optris-item-link:hover .side-ad-btn span {
    transform: translateX(-4px);
}

/* Arrow straightens */
.optris-item-link:hover .side-ad-btn::after {
    transform: rotate(0deg) scaleX(1.1);
}

/* Side ad product image zoom */
.optris-item-link:hover .optris-side-ad-img img {
    transform: scale(1.05);
}


/*  */
/**************************************     ABOUT US     ************************************************/
.optris-hero-container{
  margin-top: -15px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}
 .about-optris-container, 
.about-optris-main-content {
    max-width: 1140px;
    margin: 0 auto !important;
    float: none !important;
    padding: 0;
}
/* HERO SECTION */
.about-optris-hero {
    position: relative;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), 
        url(/images/pages/optris/opt-pi-series-about-us-hero.webp),
        linear-gradient(60deg, #000000 0%, #001529 10%, var(--brand-optris-primary-color) 40%, #001529 70%, #000000 100%);
    background-size: 30px 30px, 850px auto, 100% 100%;
    background-position: center, calc(100% + 150px) 55%, center;
    background-repeat: repeat, no-repeat, no-repeat;
    background-blend-mode: normal, overlay, normal;
    padding: 100px 0px !important;
    margin-bottom: 50px;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 1;
    top: -6px;
}

.about-optris-hero h1, 
.about-optris-hero p {
    position: relative;
    z-index: 2;
}

.about-optris-hero h1 {
    font-family: var(--p-optris-font);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    padding: .5em;
    line-height: 1.4;
}
.about-optris-container {
    max-width: 1000px;
    margin: 0 auto 40px !important;
    float: none !important;
    text-align: center;
}
.about-optris-container p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}
.about-optris-main-content {
    max-width: 1140px;
    margin: 0 auto !important;
    float: none !important;
    gap: 40px;
}

.about-optris-main-content h2 {
    color: var(--brand-optris-primary-color);
    font-family: var(--body-optris-font);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    line-height: 1.6;
}
.about-optris-main-content p {
    font-family: var(--body-optris-font);
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    line-height: 1.5;
}

.about-optris-main-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--brand-optris-primary-color);
}


@media (max-width: 1199px) {
/**************************************     HEADER     ************************************************/
.optris-header > .row-fluid {
  max-width: 914px;
}
/**************************************     NAV     ************************************************/
 .navbar .nav.navbar-optris-subsite {
    width: 80%;
}
.nav-home-icon-svg {
    width: 18px;
    height: 18px;
}
.navbar.navbar-inner-optris-subsite .nav > li > a {
    font-size: 1.1rem !important;
}
.navbar .nav > li > .optris-whole-cateogies-list-menu.dropdown-menu {
    top: 45px;
}
.hover-underline-animation::before {
    bottom: 9px;
}
/**************************************     SEARCH BAR     ************************************************/

/* ********* END NAV ********* */
    
/**************************************     HEROS     ************************************************/
.optris-sws-store #myCarousel .text-content {
    padding: 0;
    width: 100%;
    max-width: 600px;
}
.optris-sws-store #myCarousel .image-content {
  text-align: right;
}
.carousel-control-new.left {
  left: 0.75rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 0.75rem; /* Position the right arrow */
}
/**************************************     BUTTONS     ************************************************/

/**************************************     SIDE AD     ************************************************/

 .optris-item.side-ad .optris-inside-bckgr {
    flex-grow: 1;
}
.optris-side-ad-img {
    margin: 3em 10px 10px;
    flex-grow: 0;
}
/**************************************     ABOUT PAGE     ************************************************/

/* ********* END About Page ********* */
  
}

@media (max-width: 979px) {
  .row-fluid.optris-sws-store{
    padding-top: 9px;
  }
/**************************************     HEADER     ************************************************/
.navbar-inner.optris-mobile {
  font-family: var(--body-optris-font);
  background: #ffffff;
  background-color: var(--white-optris-color);
  padding-top: 7px;
  padding-bottom: 0;
}
.optris-mobile .logo-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.optris-mobile .span3 {
  width: 25%;
  float: left;
  margin: 0px;
}
.optris-mobile img.brand.mobile-logo {
  width: 100%;
  padding: 0px;
  margin: 0px;
}
.optris-mobile .span9 {
  margin-left: 0px;
  margin-top: 0;
  width: 60%;
}
/**************************************     SEARCH BAR     ************************************************/
.optris-mobile .mobile-search {
    width: 100%;
    margin-top: 0;
    padding: 0;
}
/* Style for the button */
.optris-mobile .mobile-search form#ProductDisplayForm button.btn.btn-default {
    background-color: var(--brand-optris-secondary-color);
    border-radius: 0 5px 5px 0;
    border: none;
    width: 40px;
    height: 34px !important;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.4s ease;
    z-index: 2;
    padding: 6px 8px;
}
/* Search bar container */
.optris-mobile .mobile-search .input-append {
  margin-left: auto;
  margin-right: 0;
  position: relative;
  left: 0;
  width: 250px;
}
/* Input field styling */
.optris-mobile .mobile-search input#ProductSearch.appendInputButton {
    font-family: var(--body-optris-font);
    color: var(--brand-optris-primary-color);
    border: none;
    background-color: transparent;
    padding: 7px 0px !important;
    margin-right: 0px;
    margin-left: 0px;
    font-weight: 500;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
    left: 7px;
    width: 96%;
}
.optris-mobile .mobile-search form#ProductDisplayForm {
    width: 98%;
    padding: 0 0.4rem 0 0;
    transform: translate(0%, 0%);
    background: var(--white-optris-color);
    height: 32px;
    border-radius: 5px 0 0 5px;
    transform-origin: right;
    transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
    border: 1px solid var(--brand-optris-general-color);
    border-right: none;
}
/* Change Button Color & Move Left when Hovering */
.optris-mobile .mobile-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.optris-mobile .mobile-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-optris-primary-color);
}
/* Input focus styling */
.optris-mobile .mobile-search input.refine-search.appendInputButton:focus {
  color: var(--brand-optris-primary-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--white-optris-color);
}
/* Target the button when the parent container is focused */
.optris-mobile .mobile-search .input-append:focus-within .btn {
  background-color: transparent;
}
.optris-mobile .input-append input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-optris-primary-color);
}
.optris-mobile .input-append input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-optris-primary-color);
}
.optris-mobile .input-append input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-optris-primary-color);
}
.optris-mobile .input-append input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-optris-primary-color);
}
.optris-mobile .input-append input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-optris-primary-color);
}
.optris-mobile .input-append input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-optris-primary-color);
}
/**************************************     NAV     ************************************************/
/* Main nav wrapper */
.optris-mobile .sws-mobile-header-nav .navbar-optris-subsite-mobile {
  width: 100%;
  margin: 0 !important;
  border-radius: 0;
}
/* Main nav container full width */
.optris-mobile #SWS-mobile-nav-button-adjust {
    display: flex;
    width: 100%;
    padding: 0;
    list-style: none;
    background-color: var(--brand-optris-third-color);
    border: 1px solid var(--brand-optris-general-color);
    border-radius: 5px;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
/* All nav items reset */
.optris-mobile #SWS-mobile-nav-button-adjust > li {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative; /* dropdown attaches to Products li */
  background-color: transparent;
}
.optris-mobile #SWS-mobile-nav-button-adjust > li.nav-item.optris-home {
    flex: 0 0 50px; /* fixed width for icon */
    background-color: transparent;
}
/* Products & About equal size */
.optris-mobile #SWS-mobile-nav-button-adjust > li.nav-item.optris-products, 
.optris-mobile #SWS-mobile-nav-button-adjust > li.nav-item.optris-about {
    flex: 1; /* equal space */
    background-color: transparent;
}
/* Divider between items */
.optris-mobile #SWS-mobile-nav-button-adjust > li + li:not(.collapse) {
    border-left: 1px solid var(--white-optris-color);
}
/* Links inside nav items */
.optris-mobile #SWS-mobile-nav-button-adjust > li > a, 
.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
    display: flex;
    width: 100%;
    padding: 6px 0px;
    color: var(--brand-optris-general-color);
    text-decoration: none;
    align-items: center;
    justify-content: space-around;
    text-transform: none;
    font-weight: 500;
    font-size: 1rem;
}
.optris-mobile .optris-mobile-sub-nav.collapse {
  -webkit-transition: height .8s ease;
  -moz-transition: height .8s ease;
  -o-transition: height .8s ease;
  transition: height .8s ease;
}
/* Collapsible submenu */
li#mobile-sws-1,
li#mobile-sws-2 {
  width: 100%;
}
/* Submenu items */
.optris-mobile .optris-mobile-sub-nav.collapse ul.accordion-inner {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
    border-top: none;
    background-color: var(--brand-optris-primary-color);
    border-radius: 0 0 4px 4px;
}

.optris-whole-cateogies-list-menu-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    padding: 15px;
    font-family: var(--body-optris-font);
}
.optris-whole-cateogies-list-menu-wrapper a {
    font-family: var(--body-optris-font);
    padding: 2px 15px;
}

/* Remove default list styles */
.optris-whole-cateogies-list-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1em;
    flex: 1;
}

/* Spacing between items */
.optris-mobile .optris-whole-cateogies-list-menu li {
    margin-bottom: 6px;
    margin-left: 1em;
}

/* Optional: make header-type items stand out */
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-main-header-title ::before {
    content: "";
    position: absolute;
    border-radius: 2px;
    left: -5px;
}
.optris-mobile .optris-whole-cateogies-list-menu li.dropdown-main-header-title {
    margin-left: -.5em;
    display: block;
    position: relative;
}
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-main-header-title a {
    font-weight: 600;
    color: var(--brand-optris-third-color);
}
.optris-mobile .optris-whole-cateogies-list-menu li.dropdown-header {
    margin-left: 0em;
}
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-header a {
    font-weight: 400;
    color: var(--brand-optris-third-color);
}
.optris-mobile .sws-mobile-header-nav .nav > li > a:active, 
.optris-mobile .sws-mobile-header-nav .nav > li > a:focus{
  background: linear-gradient(to top, var(--brand-optris-secondary-color) 3px, transparent 3px);
  margin: 0;
  border-radius: 0;
  color: var(--brand-optris-primary-color) !important;
  outline: none;
}

    /* When the mouse leaves (no longer hovering), force-remove the background even if the focus is still active. */
    @media (hover: hover) {
        .optris-mobile .sws-mobile-header-nav .nav > li > a:focus:not(:hover) {
            background: transparent !important;
        }
    }
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-header a:active,
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-header a:focus,
.optris-mobile .optris-whole-cateogies-list-menu .dropdown-header a:hover{
    margin-left: 0px;
    background: #003a71 !important;
    color: var(--white-optris-color) !important;
    border-radius: 5px;

}

.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon{
  padding: 7px 0;
}
/* Remove hover/active/focus effect ONLY on the Home button */
.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:hover,
.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:focus,
.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:active {
    background-color: transparent !important;
    color: var(--brand-optris-buttons-color) !important;
}

.optris-mobile .optris-whole-cateogies-list-menu .dropdown-main-header-title.multiline-category a{ 
  display: inline-block;
  line-height: 1.2;
  vertical-align: middle;
  white-space: normal;
  word-wrap: break-word;
}
/* SUB menu STYLES */

/* ********* END HEADER ********* */

/**************************************     HEROS     ************************************************/
.carousel-top.optris-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}
.row-fluid.optris-sws-store {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0;
}
.optris-sws-store #myCarousel .carousel-inner.hero-section, 
.optris-sws-store #myCarousel .carousel-inner.hero-section-french {
    display: flex;
    align-items: flex-start;
     height: 350px; 
}
.optris-sws-store #myCarousel .hero-content {
    margin: 0 auto;
    max-height: 350px;
}
.optris-sws-store #myCarousel .text-content {
    padding: 0;
     width: 100%;
    max-width: 600px;
}
.optris-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 0em 0em 0em 2.5em;
}
.optris-sws-store #myCarousel .image-content {
  text-align: center;
}
.optris-sws-store #myCarousel .carousel-btn {
  font-size: 0.9rem;
}
.optris-sws-store #myCarousel .hero-content .image-content img {
    max-height: 350px;
}
/**************************************     BUTTONS     ************************************************/


/**************************************     SIDE AD     ************************************************/
/* End Side Ad*/
/* ********* END BUTTONS ********* */


/**************************************     ABOUT PAGE     ************************************************/
.about-optris-hero {
        background-image: 
            radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), 
            linear-gradient(180deg, #001529 0%, var(--brand-optris-primary-color) 50%, #001529 100%);
        background-size: 20px 20px, 100% 100%;
        background-position: center, center;
        background-repeat: repeat, no-repeat;
        background-blend-mode: normal, normal;
        padding: 60px 0px !important;
        top: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
 
}

@media (max-width: 768px) {
  .row-fluid.optris-sws-store {
    padding-top: 0px;
}
/**************************************     NAV     ************************************************/
.optris-whole-cateogies-list-menu-wrapper {
    gap: 0px;
    padding: 15px 20px;
}
/**************************************     HEADER     ************************************************/
.navbar-inner.optris-mobile {
  margin-left: -20px;
  margin-right: -20px;
}
.optris-mobile .span3 {
  width: 30%;
}
.optris-mobile .span9 {
  margin-bottom: 0;
}
.optris-mobile .mobile-search form#ProductDisplayForm {
    height: 34px;
}
/**************************************     HEROS     ************************************************/
.row-fluid.optris-sws-store {
  padding-bottom: 0;
}
.optris-sws-store #myCarousel .carousel-inner.hero-section, 
.optris-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 270px;
    margin-top: 0;
}
.optris-sws-store #myCarousel .hero-content {
    margin: 0 auto;
    max-height: 270px;
}
.optris-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 0em 0em 0em 1.5em;
}
.optris-sws-store #myCarousel .hero-content .image-content img {
    box-shadow: none;
    max-height: 270px; 
} 
.carousel-indicators {
  margin-bottom: 10px;
}
/**************************************     BUTTONS     ************************************************/
/* Hide Side ad */
.optris-grid-container > a:nth-child(3),
.side-ad { 
  display: none !important;
}

/* Rebuild the GRID "ad" */
.optris-grid-container {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "b1 b2"
  "b4 b5"
  "b6 b7"
  "b8 b9"
  "b10 .";
  gap: 15px;
  width: 100%;
  padding: 0;
}

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
 .optris-hero-container {
    margin-top: 0px;
}
.about-optris-hero {
    padding: 80px 0 !important;
    top: 0;
}
.about-optris-container {
    margin: 0 auto 30px !important;
}
.about-optris-container p {
    font-size: 1.1rem;
}
.about-optris-main-content h2 {
    font-size: 1.6rem;
}

}

@media (max-width: 600px) {
/**************************************     HEADER     ************************************************/
.optris-mobile .mobile-search form#ProductDisplayForm {
    height: 34px;
    width: 99%;
    float: left;
}
.optris-mobile .mobile-search form#ProductDisplayForm button.btn.btn-default {
    right: -5px;
}
/**************************************     NAV     ************************************************/
.optris-mobile .nav-home-icon-svg {
    width: 16px;
    height: 16px;
    padding: 2px;
}
.optris-mobile #SWS-mobile-nav-button-adjust > li > a {
    padding: 7px 0px;
}
/**************************************     HERO     ************************************************/
.row-fluid.optris-sws-store {
  padding-top: 4px;
}
.optris-sws-store #myCarousel .carousel-inner.hero-section, 
.optris-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 350px;
}
.optris-sws-store #myCarousel .hero-content {
    margin: 0.2em auto;
    display: flex;
    flex-direction: column;
    max-height: 350px;
}
.optris-sws-store #myCarousel .text-content {
    max-width: unset;
    margin-top: 1.5em;
}
.optris-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 0;
    height: 100%;
    min-height: unset;
    width: 100%;
    max-width: unset;
}
.optris-sws-store #myCarousel h2 {
    margin: 10px 0 18px;
}
.about-optris-main-content h2 {
    line-height: 1.3;
}
.optris-sws-store #myCarousel .carousel-btn {
    font-size: 0.8rem;
    padding: 12px 16px;
}
 .optris-sws-store #myCarousel .hero-content .image-content {
    width: clamp(200px, 30vw, 270px);
    text-align: center;
    overflow: hidden;
}
.optris-sws-store #myCarousel .hero-content .image-content img {
    box-shadow: none;
    max-height: unset;
}

/**************************************     BUTTONS     ************************************************/
.optris-application-img {
    height: 100px;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.about-optris-hero {
    padding: 50px 0 !important;
    margin-bottom: 2.8em;
    margin-bottom: 40px;
}
.about-optris-container p {
    line-height: 1.5;
}
.about-optris-container {
    margin: 0 auto 10px !important;
}

}

@media (max-width: 480px) {
/**************************************     HEADER     ************************************************/
.optris-mobile .span3 {
  width: 35%;
} 
/**************************************     SEARCH BAR     ************************************************/
.optris-mobile .mobile-search button .nav-search-icon-svg {
    width: 23px;
}
.optris-mobile .input-append input {
  font-size: 13px !important;
}
/**************************************     NAV     ************************************************/
.optris-whole-cateogies-list-menu-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
/**************************************     HERO     ************************************************/
.carousel-top.optris-sws-store {
  padding-bottom: 0em;
}

.optris-sws-store #myCarousel h2 {
    margin: 5px 0;
}
/**************************************     BUTTONS     ************************************************/
.optris-grid-container {
  grid-template-columns: 1fr;
  grid-template-areas: "b1" "b2" "b4" "b5" "b6" "b7" "b8" "b9" "b10";
  width: fit-content;
  gap: 20px;
}


/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/

}

@media (max-width: 399px) {
/**************************************     HEADER     ************************************************/
.optris-mobile .logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 8px;
  align-items: center;
}
.optris-mobile .span3 {
    width: 50%;
}

.optris-mobile .logo-wrapper .span3 a{
  display: flex;
}
.optris-mobile .span9 {
  margin-bottom: 10px;
  width: 100%;
}

/**************************************     NAV     ************************************************/
.optris-mobile #SWS-mobile-nav-button-adjust > li.nav-item.optris-home {
  flex: 0 0 30px;
}
.optris-mobile #SWS-mobile-nav-button-adjust > li > a, 
.optris-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
  font-size: 0.9rem;
  
}
.optris-mobile #SWS-mobile-nav-button-adjust > li > a {
    padding: 6px 0px;
}
.optris-mobile .nav-home-icon-svg {
    width: 14px;
    height: 14px;
}
/**************************************     HERO     ************************************************/

/**************************************     BUTTONS     ************************************************/

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
}


@media (max-width: 329px) {
/**************************************     HEADER     ************************************************/
.navbar-inner.optris-mobile {
  padding-bottom: 0px;
}
.optris-mobile .span9 {
  margin-bottom: 5px;
}
.optris-mobile .sws-mobile-header-nav .nav > li > a {
  font-size: 0.8em;
}
/**************************************     SEARCH BAR     ************************************************/

/**************************************     HERO     ************************************************/

/**************************************     BUTTONS     ************************************************/
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/

}