:root {
  --brand-tpi-primary-color: #D6E03D; /* primary color */
  --brand-tpi-secondary-color: #EE3526; /* secondary color */
  --brand-tpi-third-color: #DDDDDD; /* third color */
  --brand-tpi-general-color: #222222; /* text color */
  --brand-tpi-buttons-color: #2d2d2d;
  --brand-tpi-text-inputgrey-color: #A7A8AA;
  --white-tpi-color: #FFFFFF; /* white */ 
  --body-tpi-font: 'Roboto', 'Open Sans', sans-serif;
  --p-tpi-font: 'Open Sans', Helvetica, Arial, sans-serif;
}

/* Base container */
.tpi-header#store-banner {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 16px;       /* Base size for normal text */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #222222;           /* Default text color */
}
/* Headings */
.tpi-header#store-banner h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.tpi-header#store-banner h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.85rem; }
.tpi-header#store-banner h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.tpi-header#store-banner h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
.tpi-header#store-banner h5 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.tpi-header.tpi-header#store-banner h6 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }

/* Paragraphs */
#store-banner p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Small text */
.tpi-header#store-banner small {
  font-size: 0.875rem;
  font-weight: 400;
}

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

.tpi-header#store-banner a:hover{
  color: #fff;               /* Darker shade on hover/focus */
  outline: none;
}


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

.tpi-header {
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  box-sizing: border-box;
  padding: .5em 0;
  border-bottom: 4px solid var(--brand-tpi-primary-color);
  background-color: var(--white-tpi-color);
}
.tpi-header > .row-fluid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.tpi-header .span3.logo-tpi-sws img.brandlogo{
  max-width: 40%;
  width: 100%;
  margin-left: 0px;
}
.tpi-header .row-fluid .navbar.navbar-inner-tpi-subsite {
  float: right;
}
.tpi-header .span9.subheading-nav {
  float: right;
  margin-top: 9px;
}
.tpi-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 0px !important;
  width: 53rem;
}

/**************************************     NAV     ************************************************/

.navbar .nav.navbar-tpi-subsite {
  margin-right: 0;
  width: 80%;
  font-family: var(--body-hero-title-tpi-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: 0.1em;
}

.navbar .nav.navbar-tpi-subsite > li.home-btn {
  /* 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: 0;              /* Takes up less space compared to other items */
}

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

.navbar.navbar-inner-tpi-subsite-french .nav.navbar-tpi-subsite > li {
  /* 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;                
  text-align: center;
}

.navbar.navbar-inner-tpi-subsite .nav > li > a {
  text-shadow: none;
  color: var(--brand-tpi-general-color) !important;
  display: block;
  white-space: nowrap;
}
/* NAV HOVER COLOURS */
.navbar.navbar-inner-tpi-subsite .nav > li > a:active,
.navbar.navbar-inner-tpi-subsite .nav > li > a:hover,
.navbar .nav.navbar-tpi-subsite li.dropdown.open > .dropdown-toggle,
.navbar .nav.navbar-tpi-subsite li.dropdown.active > .dropdown-toggle,
.navbar .nav.navbar-tpi-subsite li.dropdown.open.active > .dropdown-toggle {
  color: var(--brand-tpi-secondary-color) !important;
  background-color: transparent;
}
.navbar.navbar-inner-tpi-subsite .navbar-tpi-subsite li {
  line-height: 1.5;
}
/* Underline Effect */
.hover-underline-animation::before {
  display: block;
  content: ""; /* Add content after the element */
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 4px; /* Height of the underline */
  bottom: 2px;
  left: 0;
  background: var(--brand-tpi-primary-color);
  transform-origin: left; /* Expands from left to right */
  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;
}
.active,
.hover-underline-animation:hover::before {
  transform: scaleX(1); /* Scale the underline on hover */
  visibility: visible;
}
.active,
.hover-underline-animation {
  position: relative;
}
/* home button */
.nav-home-icon-svg {
  color: var(--brand-tpi-secondary-color);
  width: 18px;
  height: 18px;
  transition: color 0.2s ease;
  display: block;
}
.navbar .nav.navbar-tpi-subsite a.nav-home-icon{
  padding: 11px 10px;
}
.navbar.navbar-inner-tpi-subsite .nav>li>a {
  padding: 6px 10px;
  font-size: 1.15rem !important;
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french.mhide .nav>li>a {
  padding: 6px 10px;
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french.mhide a.nav-home-icon{
  padding: 11px 10px !important;
}
.nav, .navbar {
  margin-bottom: 0px;
}
.navbar .nav.navbar-tpi-subsite > li:last-child {
  flex-grow: 2; /* Allow more space for the search bar */
  max-width: 270px; /* Constrain the search bar width */
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french.mhide 
  .nav.navbar-tpi-subsite > li:last-child {
  flex-grow: 2; /* Allow more space for the search bar */
  max-width: 300px; /* Constrain the search bar width */
}
/* DROP-DOWN MENU STYLES */
/* hide Bootstrap arrow */
.navbar .nav > li > .tpi-whole-cateogies-list-menu.dropdown-menu:before,
.navbar .nav > li > .tpi-whole-cateogies-list-menu.dropdown-menu:after {
  display: none;
}

/* base (hidden) */
.navbar .nav > li > .tpi-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: 546px;
  left: 0 !important;
  top: 40px;
  border-radius: 10px;
  background-color: var(--white-tpi-color);
  box-shadow: 0 2px 3px #13486040;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--brand-tpi-secondary-color);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity .35s ease, transform .8s ease;
  text-align: left;
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .nav > li > .tpi-whole-cateogies-list-menu.dropdown-menu{
  min-width: 568px;

}
/* show only on click (when .open is applied by Bootstrap JS) */
.navbar .nav > li.open > .tpi-whole-cateogies-list-menu.dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* ******** */
.dropdown-menu.tpi-whole-cateogies-list-menu ul {
  text-decoration: none;
  list-style: none;
  padding-left: 0;
}
.dropdown-menu.tpi-whole-cateogies-list-menu > li{
  flex: 1;
  list-style: none;
}
.dropdown-menu.tpi-whole-cateogies-list-menu .first-col,
.dropdown-menu.tpi-whole-cateogies-list-menu .second-col{
  margin: 0px 10px;
}
.dropdown-menu.tpi-whole-cateogies-list-menu > li:nth-child(2){
  border-left: 2px solid var(--brand-tpi-primary-color);
  padding-left: 10px;
}

/* Shared dropdown styles for all items */
.dropdown-menu.tpi-whole-cateogies-list-menu .second-col .dropdown-header-title,
.dropdown-menu.tpi-whole-cateogies-list-menu .second-col a,
.dropdown-menu.tpi-whole-cateogies-list-menu .first-col .dropdown-header a {
  padding: 5px 2px !important;
  line-height: 1.5;
  text-align: left;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out !important;
}
/* Regular links (accessories) */
 .dropdown-menu.tpi-whole-cateogies-list-menu .second-col li a {
  margin-left: 10px;
  font-weight: 400 !important;
}
 .dropdown-menu.tpi-whole-cateogies-list-menu .second-col a:hover {
  margin-left: 14px;
  background: transparent !important;
  color: var(--brand-tpi-primary-color) !important;
}
/* Titles (text-only and link-headers) */
 .dropdown-menu.tpi-whole-cateogies-list-menu .second-col .dropdown-header-title,
.dropdown-menu.tpi-whole-cateogies-list-menu .first-col .dropdown-header a {
  font-weight: 700;
  color: var(--brand-tpi-general-color);
  margin-left: 0;
}
.dropdown-menu.tpi-whole-cateogies-list-menu .first-col .dropdown-header a:hover {
  margin-left: 4px;
  background: transparent !important;
  color: var(--brand-tpi-primary-color) !important;
}
.dropdown-menu.tpi-whole-cateogies-list-menu li>a:focus{
  background-color: transparent !important;

}
/**************************************     SEARCH BAR     ************************************************/
.tpi-search form#ProductDisplayForm button.btn.btn-default i.icon-search,
.tpi-mobile .mobile-search button .icon-search {
  margin-top: 1px !important;
  background-image: url(/images/pages/tpi/tpi-search-btn.svg);
}
.tpi-search .btn{
  padding: 0px;
}
/* Style for the button */
.tpi-search form#ProductDisplayForm button.btn.btn-default {
  background-color: transparent;
  border-radius: 35px;
  border: none;
  width: 45px;
  height: 35px !important;
  position: absolute; /* Anchor the button */
  left: 1px; /* Keep it fixed */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Vertical alignment */
  transition: background-color 0.4s ease; /* Remove right transition */
  z-index: 2; /* Ensure it appears above expanding input */
}
/* Search bar container */
.tpi-search.input-append {
  margin-left: auto;
  margin-right: 0;
  position: absolute;
  right: 0;
  transform: translate(0, -50%);
  background: var(--white-tpi-color);
  height: 34px;
  border-radius: 35px;
  padding: 0;
  width: 45%; /* Default width */
  transform-origin: right;
  transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
  border: 1px solid var(--brand-tpi-secondary-color);
}
/* Search Bar - Expand on Hover/Focus */
.tpi-search.input-append:hover,
.tpi-search.input-append:focus-within {
  width: 46%; /* Expanded width */
  background-color: var(--brand-tpi-primary-color);
  border: 1px solid var(--brand-tpi-primary-color);
  box-shadow: none;
}
/* Input field styling */
.tpi-search input#ProductSearch.appendInputButton {
  font-family: "Source Sans Pro", Arial, "Roboto", sans-serif;
  color: var(--brand-tpi-secondary-color);
  border: none;
  background-color: transparent;
  padding: 7px 2px 7px 6px;
  width: 100% !important;
  margin-right: 0px;
  margin-left: 0px;
  font-weight: 400;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-radius: 0px 35px 35px 0px;
  left: 40px;
}
/* Change Button Color & Move Left when Hovering */
.tpi-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.tpi-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-tpi-primary-color);
}
/* Input focus styling */
.tpi-search input.refine-search.appendInputButton:focus {
  color: var(--brand-tpi-primary-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--white-tpi-color);
}

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

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

/**************************************     HEROS     ************************************************/
.carousel-top.tpi-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 0em;
}
.tpi-sws-store #myCarousel {
  margin-bottom: 10px;
}
/* Set a fixed height for the carousel inner to prevent jumping */
.tpi-sws-store #myCarousel .carousel-inner.hero-section,
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 400px;
}
.tpi-sws-store #myCarousel .hero-section {
  width: 100%;
  background-image: url(/images/pages/tpi/tpi-background-hero-opt-upd.webp);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 0px;
  background-color: #2d2d2d;
}
.tpi-sws-store #myCarousel .hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  padding: 15px 20px;
  height: fit-content;
  margin: 0 auto;
}
.tpi-sws-store #myCarousel .text-content {
  padding: 0px 30px 0 0;
  width: 100%;
  max-width: 600px;
}
.tpi-sws-store #myCarousel .text-content .text-contnet-inside {
  padding: 1em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  background-color: #2d2d2d7a;
  border-radius: 20px;
  box-shadow: inset 0 0 14px rgb(190 190 190 / 34%), 
inset 0 0 13px rgb(250 250 250 / 12%);
  min-height: 240px;
  height: fit-content;
}
.tpi-sws-store #myCarousel .image-content{
  width: 100%;
  text-align: center;
}
.tpi-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 400px;
}
.carousel-control-new {
  color: var(--white-tpi-color) !important;
  background-color: var(--brand-tpi-primary-color);
  border: 2px solid var(--white-tpi-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; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 2rem; /* Position the right arrow */
}
.carousel-control-new:hover{
  background-color: var(--brand-tpi-buttons-color);
  border: 2px solid var(--white-tpi-color);
  color: var(--white-tpi-color) !important;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
}

/* Other Carousel Styles */
.tpi-sws-store #myCarousel h1 {
  font-size: 2rem;
  margin-bottom: 0px;
  color: var(--white-tpi-color);
  line-height: 1.2;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-family: var(--body-tpi-font);
  white-space: normal;
  text-transform: uppercase;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french h1{
  font-size: 30px;
}
.tpi-sws-store #myCarousel h2 {
  color: var(--white-tpi-color);
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--body-tpi-font);
  line-height: 1.2;
  margin: 10px 0 15px;
  white-space: normal;
  font-style: italic;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french h2 br{
  display: none;

}
.tpi-sws-store #myCarousel .carousel-btn {
  color: var(--brand-tpi-secondary-color);
  background-color: var(--brand-tpi-buttons-color);
  border-radius: 20px;
  margin-top: 0px;
  font-size: 16px;
  padding: 10px 30px;
  display: inline-flex;
  font-family: var(--body-tpi-font);
  font-weight: 600;
  border: 1px solid var(--brand-tpi-secondary-color);
  text-decoration: none;
  transition: 0.3s ease-out;
  box-shadow: none;
}

.tpi-sws-store #myCarousel .carousel-btn:hover {
  color: var(--brand-tpi-secondary-color);
  background-color: var(--brand-tpi-primary-color);
  border: 1px solid var(--brand-tpi-primary-color);
}

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

/**************************************     BUTTONS     ************************************************/
.sws-tpi-buttons .tpi-grid-container {
  display: grid;
  display: -ms-grid; /* For IE10+ */
  grid-template-columns: repeat(3, 1fr);
  gap: 1em 1em;
  margin-bottom: 2%;
  margin-top: 0em;
}
.sws-tpi-buttons .tpi-item {
  position: relative; /* All children are positioned relative to this */
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 4px;
  /* Ensure the background is transparent so the image behind the background is visible */
  background-color: transparent; 
}
.tpi-application-img {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.tpi-application-img img {
  max-width: 42%;
  height: auto;
  object-fit: contain;
}
.sws-tpi-buttons .tpi-item .tpi-bkgr-btn {
  background-color: var(--brand-tpi-third-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  width: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  border-radius: 20px;
  margin-top: 10px;
}
.sws-tpi-buttons .tpi-application-title {
  position: relative;
  z-index: 3;
  padding-left: 12px;
  margin: 0;
  width: 50%;
}
.sws-tpi-buttons .tpi-application-title .application-title {
  font-family: var(--p-tpi-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-tpi-general-color);
  text-align: left;
  line-height: 1.2;
  transition: all 0.3s ease;
}
.tpi-item:not(.side-ad){
    height: 11em;
}

@supports (gap: 1em) {
  .sws-tpi-buttons .tpi-grid-container > * {
    margin: 0; /* Reset when gap is supported */
  }
}
/* Hover effect when the entire button is hovered */
.tpi-item-link:hover .application-title:not(.side-ad),
.tpi-item:hover .application-title:not(.side-ad) {
  color: var(--brand-tpi-secondary-color);
  transition: all 0.3s ease;
}
/* background color change on hover */
.tpi-item-link:hover .tpi-bkgr-btn,
.tpi-item:hover .tpi-bkgr-btn {
  background-color: #ddddddb5; /* soft tint of brand color */
  transition: all 0.3s ease;
}

/**************************************     SIDE AD     ************************************************/
.tpi-item.side-ad {
  grid-column-start: 3;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  padding: 0px 0px;
  place-items: center;
  text-align: center;
  max-height: 496px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  flex-wrap: nowrap;
  transition: box-shadow 0.3s ease;
  background-color: var(--brand-tpi-buttons-color);
  z-index: 1;
  border-radius: 20px;
  gap: 6px;
  background-image: url(/images/pages/tpi/tpi-bkgr-side-ad.webp);
  background-size: 130% auto;
  background-position: 50% 54%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
}
.sws-tpi-buttons .tpi-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tpi-item.side-ad .tpi-side-ad-title p.application-title {
  line-height: 1.2;
  color: var(--white-tpi-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0px;
  font-family: var(--body-tpi-font);
  margin-bottom: 0;
  padding: 0 20px;
  text-transform: uppercase;
}
.tpi-item.side-ad .tpi-side-ad-subtitle p.application-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-tpi-color);
  line-height: 1.2;
  font-family: var(--body-tpi-font);
  padding: 0 20px;
  margin-bottom: 0;
}
.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-title p.application-title{
  line-height: 1.2;
  color: var(--white-tpi-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0px;
  font-family: var(--body-tpi-font);
  margin-bottom: 0;
  padding: 0 10px;
  text-transform: uppercase;
}
.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-subtitle p.application-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-tpi-color);
  line-height: 1;
  font-family: var(--body-tpi-font);
  padding: 0 10px;
}
.tpi-item.side-ad .tpi-side-ad-img a{
  overflow: hidden; /* Prevents overflow */
  display: inline-block;
}
.tpi-item.side-ad .tpi-side-ad-img a img {
  height: auto;
  display: block;
  width: 100%;
  max-width: 50%;
  position: relative;
  margin: 0 auto;
}
.sws-tpi-buttons .side-ad-btn {
  color: var(--brand-tpi-secondary-color);
  background-color: var(--brand-tpi-buttons-color);
  border-radius: 20px;
  margin-top: 0px;
  font-size: 1rem;
  padding: 8px 30px;
  display: inline-flex;
  font-family: var(--body-tpi-font);
  font-weight: 600;
  border: 1px solid var(--brand-tpi-secondary-color);
  text-decoration: none;
  transition: 0.3s ease-out;
  box-shadow: none;
}
.sws-tpi-buttons .side-ad-btn:hover {
  background-color: var(--brand-tpi-primary-color);
  border: 1px solid var(--brand-tpi-primary-color);
}
.row-fluid .sws-tpi-buttons.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-subtitle p.application-sub-subtitle{
  padding: 0px 60px 0px 0px;
  line-height: normal;
}
/**************************************     ABOUT US     ************************************************/
.tpi-hero-container{
  margin-top: -15px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}
.tpi-about .about-tpi-hero {
  background-image: url(/images/pages/tpi/tpi-background-hero-opt-upd.webp);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: var(--brand-tpi-buttons-color);
  background-position: center;
  position: relative;
  height: 300px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.tpi-about .about-tpi-hero .span12{
  margin: 0 auto;
}
.tpi-about  .about-tpi-container .span12{
  display: flex;
  column-gap: 1em;
  padding: 0.5em 1em 1.9em;
}
.tpi-about .about-tpi-hero h1 {
  color: var(--white-tpi-color);
  padding: 0.5em 1em;
  font-size: 3rem;
  line-height: 1.2;
  font-family: var(--body-hero-title-tpi-font);
  font-weight: 700;
  position: relative;
  text-align: center;
  margin-bottom: 0;
}
.row-fluid.about-tpi-main-content h2 {
  color: var(--brand-tpi-buttons-color);
  font-weight: 700;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.2;
  padding-top: 0;
  margin-bottom: 5px;
  margin-top: 0.65em;
  font-family: var(--body-hero-title-tpi-font);
  display: block;
}
.tpi-about .row-fluid p {
  text-align: left;
  font-size: 0.9rem;
  padding-bottom: 0;
  font-family: var(--body-hero-title-tpi-font);
  color: var(--brand-tpi-general-color);
  line-height: 1.5;
  margin-bottom: 0;
}
.tpi-about .row-fluid.about-tpi-main-content {
  display: grid;
  gap: 0 1.9em;
  min-height: 200px;
  grid-template-columns: 1fr 1fr;
  padding: 0 0 20px;
}
.tpi-about .row-fluid.about-tpi-main-content .span6 {
  background-color: var(--brand-tpi-third-color);
  border-radius: 20px;
  padding: 1em 1.2em 2em;
  margin: 0;
  width: auto;
}
.tpi-about .about-tpi{
  padding: 0 20px;
}

.tpi-about .row-fluid.about-tpi-main-content::before,
.tpi-about .row-fluid.about-tpi-main-content::after {
  content: none;
  display: none;
  clear: none;
}

@media (max-width: 1199px) {
/**************************************     HEADER     ************************************************/
.tpi-header > .row-fluid {
  max-width: 914px;
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french.mhide 
  .nav.navbar-tpi-subsite > li:last-child {
    max-width: 240px;
}
/**************************************     NAV     ************************************************/
.tpi-header .row-fluid .navbar .nav-collapse.sws.collapse {
  width: 43rem;
}
.tpi-header .row-fluid .navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .nav-collapse.sws.collapse {
  width: 48rem;
}
.navbar .nav > li > .tpi-whole-cateogies-list-menu.dropdown-menu {
  min-width: 470px;
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .nav > li > .tpi-whole-cateogies-list-menu.dropdown-menu {
  min-width: 504px;
}
/**************************************     SEARCH BAR     ************************************************/
/* Search bar container */
.tpi-search.input-append {
  width: 48%; /* Default width */
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .tpi-search.input-append {
  width: 39%; /* Default width */
}
/* Search Bar - Expand on Hover/Focus */
.tpi-search.input-append:hover,
.tpi-search.input-append:focus-within {
  width: 50%; /* Expanded width */
}
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .tpi-search.input-append:hover,
.navbar.navbar-inner-tpi-subsite.navbar-inner-tpi-subsite-french .tpi-search.input-append:focus-within {
  width: 40.5%; /* Expanded width */
}
.tpi-search input#ProductSearch.appendInputButton {
  left: 39px;
  width: 99% !important;
}
/* ********* END NAV ********* */
    
/**************************************     HEROS     ************************************************/
.tpi-sws-store #myCarousel .hero-content {
  grid-template-columns: 1fr 1fr;
  padding: 0px 0px;
}
.tpi-sws-store #myCarousel .text-content {
  padding: 0px 0em 0 6em;
  width: 88%;
  max-width: 500px;
}
.tpi-sws-store #myCarousel .image-content {
  text-align: right;
}
.tpi-sws-store #myCarousel h1 {
  font-size: 1.8rem;
}
.tpi-sws-store #myCarousel h2 {
  font-size: 1.3rem;
}
.carousel-control-new.left {
  left: 0.75rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 0.75rem; /* Position the right arrow */
}
/**************************************     BUTTONS     ************************************************/
.sws-tpi-buttons .tpi-grid-container {
  gap: 0em 1em;
}
.tpi-item:not(.side-ad){
  height: 10em;
}
.sws-tpi-buttons .tpi-item .tpi-bkgr-btn {
  height: 70%;
}
/**************************************     SIDE AD     ************************************************/
.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-title p.application-title {
  font-size: 1.1rem;
}
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .about-tpi-hero h1 {
  font-size: 2.7rem;
}
/* ********* END About Page ********* */
  
}

@media (max-width: 979px) {
  .row-fluid.tpi-sws-store{
    padding-top: 9px;
  }
/**************************************     HEADER     ************************************************/
.navbar-inner.tpi-mobile {
  font-family: var(--body-tpi-font);
  background: #ffffff;
  background-color: var(--white-tpi-color);
  padding-top: 7px;
  padding-bottom: 7px;
}
.tpi-mobile .logo-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.tpi-mobile .span3 {
  width: 30%;
  float: left;
  margin: 0px;
}
.tpi-mobile img.brand.mobile-logo {
  width: 30%;
  padding: 0px;
  margin: 0px;
}
.tpi-mobile .span9 {
  margin-left: 0px;
  margin-top: 0;
  width: 60%;
}
/**************************************     SEARCH BAR     ************************************************/
.tpi-mobile .mobile-search {
  width: 100%;
  margin-top: 0;
  padding: 0px;
}
.tpi-mobile .mobile-search .input-append {
  padding: 0px !important;
  background-color: var(--white-tpi-color);
  height: 34px;
  border-radius: 18px;
  border: 1px solid var(--brand-tpi-secondary-color);
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* When the user focuses inside the input field */
.tpi-mobile .mobile-search .input-append:focus-within {
  background-color: var(--brand-tpi-primary-color);
  border-color: var(--brand-tpi-primary-color);
}
.tpi-mobile .input-append input {
  background: transparent;
  padding: 6px 10px 7px;
  border-radius: 18px;
  border: none;
  font-size: 14px !important;
  width: 100% !important;
  box-shadow: none;
  font-family: "Source Sans Pro", Arial, "Roboto", sans-serif !important;
}
.tpi-mobile .input-append .btn {
  padding: 6px;
  background-color: transparent;
  height: 34px;
  border-radius: 18px;
  width: 36px;
  transform: translateY(0%);
  margin-left: 0px;
  margin-top: 0px;
  border: none;
}
.tpi-mobile .input-append input.refine-search:focus:invalid {
  color: var(--brand-tpi-secondary-color);
  outline: 0;
  outline: thin dotted \9;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.tpi-mobile .input-append input[type="text"]:focus{
  box-shadow: none !important;
  color: var(--brand-tpi-secondary-color);
}

.tpi-mobile .input-append input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-tpi-dkgrey-color);
}
.tpi-mobile .input-append input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-tpi-dkgrey-color);
}
.tpi-mobile .input-append input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-tpi-dkgrey-color);
}
.tpi-mobile .input-append input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-tpi-dkgrey-color);
}
.tpi-mobile .input-append input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-tpi-dkgrey-color);
}
.tpi-mobile .input-append input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-tpi-dkgrey-color);
}
/**************************************     NAV     ************************************************/
/* Main nav wrapper */
.tpi-mobile .sws-mobile-header-nav .navbar-tpi-subsite-mobile {
  width: 100%;
  margin: 0 !important;
  border-radius: 0;
}
/* Main nav container full width */
.tpi-mobile #SWS-mobile-nav-button-adjust {
  display: flex;
  width: 100%;
  padding: 0;
  list-style: none;
  background-color: var(--white-tpi-color);
  border: 1px solid var(--brand-tpi-secondary-color);
  position: relative;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
/* All nav items reset */
.tpi-mobile #SWS-mobile-nav-button-adjust > li {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative; /* dropdown attaches to Products li */
  background-color: var(--white-tpi-color);
}
.tpi-mobile #SWS-mobile-nav-button-adjust > li.nav-item.tpi-home {
  flex: 0 0 60px; /* fixed width for icon */
  background-color: var(--white-tpi-color);
}
/* Products & About equal size */
.tpi-mobile #SWS-mobile-nav-button-adjust > li.nav-item.tpi-products,
.tpi-mobile #SWS-mobile-nav-button-adjust > li.nav-item.tpi-about {
  flex: 1; /* equal space */
  background-color: var(--white-tpi-color);
}
/* Divider between items */
.tpi-mobile #SWS-mobile-nav-button-adjust > li + li:not(.collapse) {
  border-left: 1px solid var(--brand-tpi-secondary-color);
}
/* Links inside nav items */
.tpi-mobile #SWS-mobile-nav-button-adjust > li > a, 
.tpi-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
  display: flex;
  width: 100%;
  padding: 4px 0px;
  color: var(--brand-tpi-general-color);
  text-decoration: none;
  align-items: center;
  justify-content: space-around;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
}
.tpi-mobile .tpi-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 {
  width: 100%;
}
/* Submenu items */
.tpi-mobile .tpi-mobile-sub-nav.collapse ul.accordion-inner {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--brand-tpi-secondary-color);
}
.tpi-mobile .tpi-mobile-sub-nav.collapse ul.tpi-whole-cateogies-list-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px;
}
.tpi-mobile .tpi-mobile-sub-nav.collapse ul.tpi-whole-cateogies-list-menu > li{ 
  flex: 1;
}
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .first-col,
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col{
  margin: 0px 10px;
  list-style: none;
}
/* Shared dropdown styles for all items */
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col .dropdown-header-title,
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col a,
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .first-col .dropdown-header a {
  padding: 5px 12px !important;
  line-height: 1.5;
  text-align: left;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out !important;
  font-size: 1rem;
  color: var(--brand-tpi-general-color);
  border-bottom: 1px solid #d6e03d33;;
}
/* Regular links) */
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col li a {
  margin-left: 10px;
  font-weight: 400 !important;
  font-size: 0.9rem;
}
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col a:hover {
  margin-left: 14px;
  background: transparent !important;
  color: var(--brand-tpi-primary-color) !important;
}
/* Titles (text-only and link-headers) */
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .second-col .dropdown-header-title,
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .first-col .dropdown-header a {
  font-weight: 700;
  margin-left: 0;
}
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu .first-col .dropdown-header a:hover {
  margin-left: 4px;
  background: transparent !important;
  color: var(--brand-tpi-primary-color) !important;
}
.tpi-mobile .tpi-mobile-sub-nav .tpi-whole-cateogies-list-menu li>a:focus{
  background-color: transparent !important;
}

/* Remove border-bottom for the last link */
 .tpi-mobile .tpi-mobile-sub-nav.collapse .first-col li:last-child a,
 .tpi-mobile .tpi-mobile-sub-nav.collapse .second-col li:last-child a {
  border-bottom: none;
}

.tpi-mobile .tpi-mobile-sub-nav.collapse li a:hover,
.tpi-mobile .sws-mobile-header-nav .nav > li > a:active, 
.tpi-mobile .sws-mobile-header-nav .nav > li > a:focus{
  background-color: var(--brand-tpi-primary-color);
  margin: 0;
  border-radius: 0;
  color: var(--brand-tpi-secondary-color) !important;
}
.tpi-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon{
  padding: 5px 0;
}
/* SUB menu STYLES */

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

/**************************************     HEROS     ************************************************/
.carousel-top.tpi-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}
.row-fluid.tpi-sws-store {
  padding-top: 0px;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: -4px;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section, 
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french {
  display: flex;
  align-items: flex-start;
  height: 350px;
}
.tpi-sws-store #myCarousel .hero-content {
  grid-template-columns: 1fr 1fr;
  height: 100%;
  display: grid;
  max-width: 979px;
  min-height: 350px;
} 
.tpi-sws-store #myCarousel .text-content {
  width: 85%;
  max-width: 450px;
}
.tpi-sws-store #myCarousel .text-content .text-contnet-inside,
.tpi-sws-store #myCarousel .text-content.text-content-french {
  padding: 0.5em 2em;
  min-height: 200px;
}
.tpi-sws-store #myCarousel .image-content {
  text-align: center;
}
.tpi-sws-store #myCarousel h1 {
  font-size: 1.5rem;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.3rem;
}
.tpi-sws-store #myCarousel h2 {
  font-size: 1.1rem;
}
.tpi-sws-store #myCarousel .carousel-btn {
  font-size: 0.9rem;
}

.tpi-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-height: 300px;
}
/**************************************     BUTTONS     ************************************************/
.sws-tpi-buttons .tpi-grid-container {
  gap: 0.5em 0.8em;
}
.tpi-application-img img {
  max-width: 44%;
}
.sws-tpi-buttons .tpi-item .tpi-bkgr-btn {
  height: 75%;
}
.sws-tpi-buttons.sws-tpi-buttons-fr .tpi-application-title .application-title {
  font-size: 0.9rem;
}
.tpi-application-img img {
  max-width: 100%;
  height: 98%;
}
.tpi-item:not(.side-ad) {
  height: 9.5em;
}

/**************************************     SIDE AD     ************************************************/
.tpi-item.side-ad {
  max-height: 370px;
}
.sws-tpi-buttons .side-ad-btn {
  font-size: 0.9rem;
  padding: 6px 24px;
}
 .tpi-item.side-ad .tpi-side-ad-title p.application-title {
  font-size: 1rem;
  padding: 0 10px;
}
.tpi-item.side-ad .tpi-side-ad-subtitle p.application-subtitle {
  font-size: 0.9rem;
} 
.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-title p.application-title{
    font-size: 1rem;
    padding: 0 10px;
}
.sws-tpi-buttons-fr .tpi-item.side-ad .tpi-side-ad-subtitle p.application-subtitle {
  font-size: 0.9rem;
}
.tpi-item.side-ad .tpi-side-ad-img a img {
  margin: 0 auto;
  max-width: 55%;
}
/* End Side Ad*/
/* ********* END BUTTONS ********* */


/**************************************     ABOUT PAGE     ************************************************/
.tpi-hero-container {
  margin-top: 0px;
}

}
@media (min-width: 768px) and (max-width: 979px) {
  .tpi-about.span12{
    margin-top: -21px !important;
  }
  .tpi-about .row-fluid {
      padding-top: 0px !important;
  }
}
@media (max-width: 767px) {
  .row-fluid.tpi-sws-store {
    padding-top: 0px;
}
/**************************************     HEADER     ************************************************/
.navbar-inner.tpi-mobile {
  margin-left: -20px;
  margin-right: -20px;
}
.tpi-mobile .span3 {
  width: 45%;
}
.tpi-mobile .span9 {
  margin-bottom: 0;
}
/**************************************     HEROS     ************************************************/
.row-fluid.tpi-sws-store {
  padding-bottom: 0;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section, 
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 320px;
}
.tpi-sws-store #myCarousel .hero-content {
  max-width: 750px;
  min-height: 320px;
  gap: 2em;
}
.tpi-sws-store #myCarousel .text-content {
  width: 100%;
  padding: 0px 0 0 2em;
}
.tpi-sws-store #myCarousel .text-content .text-contnet-inside, 
.tpi-sws-store #myCarousel .text-content.text-content-french {
  padding: 0.5em 1em;
  min-height: 180px;
}
.tpi-sws-store #myCarousel h1 {
  font-size: 1.3rem;
}
.tpi-sws-store #myCarousel h2 {
  font-size: 1rem;
}
.tpi-sws-store #myCarousel .image-content {
  max-width: 350px;
}
.tpi-sws-store #myCarousel .hero-content .image-content img {
  box-shadow: none;
  max-height: 250px;
} 
.carousel-indicators {
  margin-bottom: 10px;
}
/**************************************     BUTTONS     ************************************************/
.tpi-item.side-ad{
  display: none;
  visibility: hidden;
}
.tpi-item:not(.side-ad) {
  height: 8em;
}
.sws-tpi-buttons .tpi-grid-container {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8em;
  margin-bottom: 2%;
}
.sws-tpi-buttons .tpi-item .tpi-bkgr-btn {
  height: 75%;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .row-fluid.about-tpi-main-content {
  gap: 1.9em 0;
  grid-template-columns: initial;
}
.tpi-about.tpi-about-french h1 {
  font-size: 2.5rem;
}
}

@media (max-width: 600px) {
/**************************************     HEADER     ************************************************/
.tpi-mobile .span3 {
  width: 60%;
}

/**************************************     NAV     ************************************************/
.tpi-mobile .tpi-mobile-sub-nav.collapse ul.tpi-whole-cateogies-list-menu {
  display: flex;
  flex-direction: column;
}
/* Remove border-bottom for the last link */
.tpi-mobile .tpi-mobile-sub-nav.collapse .first-col li:last-child a {
 border-bottom: 1px solid #d6e03d33;
}
/**************************************     HERO     ************************************************/
.row-fluid.tpi-sws-store {
  padding-top: 4px;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section, 
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 350px;
  margin-top: 0px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.tpi-sws-store #myCarousel .hero-content {
  max-width: 600px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 0;
  gap: 0;
}
.tpi-sws-store #myCarousel .text-content {
  width: 100%;
  padding: 0;
  text-align: center;
  display: flex;
  margin: 0 auto;
}
.tpi-sws-store #myCarousel .text-content .text-contnet-inside {
  padding: 0.5em 1em;
  min-height: 100px;
  display: flex;
  align-items: center;
  width: 680px;
}
.tpi-sws-store #myCarousel .text-content.text-content-french .text-contnet-inside {
  padding: 0.7em 1em;
}
.tpi-sws-store #myCarousel h1,
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.1rem;
}
.tpi-sws-store #myCarousel h2 {
  font-size: 0.9rem;
  margin: 10px auto;
}
.tpi-sws-store #myCarousel .hero-section, 
.tpi-sws-store #myCarousel .image-content {
  order: -1;
  padding: 0em;
}
.tpi-sws-store #myCarousel .hero-content .image-content img {
  box-shadow: none;
  max-height: 185px;
  height: 100%;
  width: 100%;
  margin-left: 1.5em;
}
/********/  

/**************************************     BUTTONS     ************************************************/
.tpi-item:not(.side-ad) {
  height: 8em;
}
.sws-tpi-buttons.sws-tpi-buttons-fr .tpi-application-title .application-title {
  font-size: 0.8rem;
}

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .about-tpi-hero h1 {
  padding: 0.5em 0.3em;
}
.tpi-about.tpi-about-french h1 {
  font-size: 2.2rem;
}

}

@media (max-width: 480px) {
/**************************************     HEADER     ************************************************/
.tpi-mobile img.brand.mobile-logo {
  width: 45%;
}
.tpi-mobile .span3 {
  width: 40%;
}
/**************************************     SEARCH BAR     ************************************************/

.tpi-mobile .mobile-search .input-append {
  height: 30px;
}
.tpi-mobile .input-append input {
  padding: 4px 10px;
  font-size: 12px !important;
}
.tpi-mobile .input-append .btn {
  height: 30px;
}
/**************************************     NAV     ************************************************/

/**************************************     HERO     ************************************************/
.carousel-top.tpi-sws-store {
  padding-bottom: 0em;
}
.tpi-sws-store #myCarousel .hero-content {
  max-width: 480px;
}
.tpi-sws-store #myCarousel h1 {
  font-size: 0.9rem;
}
.tpi-sws-store #myCarousel h2 {
  font-size: 0.8rem;
}
.tpi-sws-store #myCarousel .text-content,
.tpi-sws-store #myCarousel .text-content.text-content-french {
  max-width: 380px;
}
/**************************************     BUTTONS     ************************************************/
.tpi-item:not(.side-ad) {
  height: 7em;
}
.sws-tpi-buttons .tpi-item {
  grid-template-columns: repeat(1, 1fr);
  align-content: center;
  justify-items: center;
}
.sws-tpi-buttons .tpi-application-title .application-title {
  font-size: 0.8rem;
}
.sws-tpi-buttons.sws-tpi-buttons-fr .tpi-application-title .application-title {
  font-size: 0.6rem;
}

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .about-tpi-hero {
  height: 250px;
}
.tpi-about .about-tpi-hero h1 {
  padding: 0.3em;
  font-size: 2.5rem;
}
.tpi-about.tpi-about-french h1 {
  font-size: 1.8rem;
}

}

@media (max-width: 399px) {
/**************************************     HEADER     ************************************************/
.tpi-mobile .logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 8px;
  align-items: center;
}
.tpi-mobile .logo-wrapper .span3 a{
  display: flex;
}
.tpi-mobile img.brand.mobile-logo {
  width: 60%;
  margin: 0 auto;
}
.tpi-mobile .span9 {
  margin-bottom: 10px;
  width: 100%;
}

/**************************************     NAV     ************************************************/
.tpi-mobile #SWS-mobile-nav-button-adjust > li.nav-item.tpi-home {
  flex: 0 0 40px;
}
.tpi-mobile #SWS-mobile-nav-button-adjust > li > a, 
.tpi-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
  font-size: 0.9rem;
}
.nav-home-icon-svg {
  width: auto;
  height: 15px;
}
/**************************************     HERO     ************************************************/
.tpi-sws-store #myCarousel .hero-content {
  max-width: 399px;
}
.tpi-sws-store #myCarousel .text-content, 
.tpi-sws-store #myCarousel .text-content.text-content-french {
  max-width: 300px;
}
.tpi-sws-store #myCarousel .image-content {
  max-width: 180px;
}
/**************************************     BUTTONS     ************************************************/
.sws-tpi-buttons .tpi-grid-container {
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5em;
}
.sws-tpi-buttons .tpi-application-title {
  width: 80%;
}
.sws-tpi-buttons .tpi-application-title .application-title,
.sws-tpi-buttons.sws-tpi-buttons-fr .tpi-application-title .application-title {
  font-size: 0.9rem;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .about-tpi-hero {
  height: 200px;
}
.tpi-about .about-tpi-hero h1 {
  font-size: 2rem;
}
.tpi-about.tpi-about-french h1 {
  font-size: 1.5rem;
}
.tpi-about .row-fluid p {
  font-size: 0.8rem;
}
}
@media (max-width: 329px) {
/**************************************     HEADER     ************************************************/
.navbar-inner.tpi-mobile {
  padding-bottom: 0px;
}
.tpi-mobile img.brand.mobile-logo {
  width: 65%;
}
.tpi-mobile .span9 {
  margin-bottom: 5px;
}
.tpi-mobile .sws-mobile-header-nav .nav > li > a {
  font-size: 0.8em;
}
/**************************************     SEARCH BAR     ************************************************/
.tpi-mobile .mobile-search .input-append {
  height: 25px;
}
.tpi-mobile .input-append input {
  padding: 2px 10px;
}
.tpi-mobile .input-append .btn {
  height: 25px;
  padding: 0px;
}
/**************************************     HERO     ************************************************/
.tpi-sws-store #myCarousel .hero-content {
  max-width: 329px;
}
.tpi-sws-store #myCarousel .text-content, 
.tpi-sws-store #myCarousel .text-content.text-content-french {
  max-width: 270px;
}
.tpi-sws-store #myCarousel .carousel-inner.hero-section-french h2 br{
  display: none;
}
/**************************************     BUTTONS     ************************************************/
.sws-tpi-buttons .tpi-application-title {
  width: 60%;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.tpi-about .about-tpi-hero h1 {
  font-size: 1.7rem;
}
.tpi-about.tpi-about-french h1 {
  font-size: 1.4rem;
}
.tpi-about.tpi-about-french .row-fluid.about-tpi-main-content h2 {
  font-size: 1rem;
}

}