@font-face {
  font-family: "Open Sans";
  src: url('fonts/OpenSans-Regular.woff2') format('woff2'),
       url('fonts/OpenSans-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url('fonts/Roboto-Regular.woff2') format('woff2'),
       url('fonts/Roboto-Regular.woff') format('woff');
  font-display: swap;
}
:root {
  --brand-starrett-primary-color: #da2128; /* primary color */
  --brand-starrett-secondary-color: #1C1C2B; /* secondary color */
  --brand-starrett-third-color: #565B60; /* third color */
  --white-starrett-color: #FFFFFF; /* white */ 
  --body-starrett-font: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
  --body-hero-title-starrett-font: "Open Sans", "Roboto", sans-serif;/* header and title font family */
}
html {
  font-size: 16px; /* Base size */
}
html {
  -webkit-font-smoothing: antialiased; /* For WebKit-based browsers */
  -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
}
/**************************************     HEADER     ************************************************/
.container .starrett-header {
  font-family: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
}
.starrett-header {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  box-sizing: border-box;
  padding: 1.5em 0;
  background-image: linear-gradient(
    to right,
    var(--white-starrett-color) 0%,
    var(--white-starrett-color) var(--white-stop, 35.6%),
    var(--brand-starrett-primary-color) var(--white-stop, 35.6%),
    var(--brand-starrett-primary-color) 100%);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}
/* the slanted effect ONLY on the white side */
.starrett-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 10px);
  background: var(--white-starrett-color);
  clip-path: polygon(0 0, 41% 0, 38% 100%, 0% 100%);
  z-index: 2;
}
/* Ensure header text is above the ::before */
.starrett-header > * {
  position: relative;
  z-index: 2;
}
.starrett-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;
}
.starrett-header .span3.logo-starrett-sws img.brandlogo{
  width: 100%;
  margin-left: 0px;
}
.starrett-header .row-fluid .navbar.navbar-inner-starrett-subsite {
  float: right;
}
.starrett-header .subheading-nav {
  float: right;
  margin-top: 10px;
}
.starrett-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 5px !important;
  width: 53rem;
}

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

.navbar .nav.navbar-starrett-subsite {
  margin-right: 0;
  width: 95%;
  font-family: var(--body-hero-title-starrett-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-between;   Distribute items */
  justify-content: flex-end;  /* Distribute items */
  align-items: center;             /* Align vertically */
}
.navbar.navbar-inner-starrett-subsite-french .nav.navbar-starrett-subsite {
  margin-right: 0;
  width: 85%;
  font-family: var(--body-hero-title-starrett-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-between;   Distribute items */
  justify-content: flex-end;  /* Distribute items */
  align-items: center;             /* Align vertically */
}

.navbar .nav.navbar-starrett-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 */
  margin: 0 0.5em;        /* Adjust spacing */
}

.navbar .nav.navbar-starrett-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 */
  margin: 0 1em;          /* Consistent spacing */
  text-align: center;
}

.navbar.navbar-inner-starrett-subsite-french .nav.navbar-starrett-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;                /* Same as above, use consistent flex values */
  margin: 0 0.6em;        /* Adjust spacing for the French navbar */
  text-align: center;
}

.navbar.navbar-inner-starrett-subsite .nav > li > a {
  text-shadow: none;
  color: var(--white-starrett-color);
  font-weight: 700;
  display: block;
  font-size: 18px;
  white-space: nowrap;
  font-family: var(--body-hero-title-starrett-font);
}
.navbar.navbar-inner-starrett-subsite .nav > li > a:hover {
  color: var(--white-starrett-color);
}
/* home button */
.navbar.navbar-inner-starrett-subsite .nav > :first-child > a{
  padding: 15px 20px !important;
}

.navbar.navbar-inner-starrett-subsite .nav > li > a > img{
  width: 17px;
  height: auto;
  margin-bottom: 3px;
}

.navbar .nav.navbar-starrett-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-starrett-subsite-french .nav.navbar-starrett-subsite > li:last-child {
  flex-grow: 1;
  max-width: 255px;
}
.starrett-header .navbar .nav>li>a{
  padding: 11px;
}
/* Underline Effect */
.hover-underline-animation::before {
  display: block;
  content: ""; /* Add content after the element */
  position: absolute; /* Position absolute for pseudo-element */
  width: 100%;
  transform: scaleX(0);
  height: 4px; /* Height of the underline */
  bottom: 5px;
  left: 0;
  background: var(--white-starrett-color);
  transform-origin: left; /* Expands from left to right */
  transition: transform 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
}
.active,
.hover-underline-animation:hover::before {
  transform: scaleX(1); /* Scale the underline on hover */
  visibility: visible;
}
.active,
.hover-underline-animation {
  position: relative;
}
.navbar .nav>li>.starrett-whole-cateogies-list-menu.dropdown-menu:before, 
.navbar .nav>li>.starrett-whole-cateogies-list-menu.dropdown-menu:after {
  display: none;
} 
.starrett-header .navbar .nav li.dropdown.open>.dropdown-toggle{
  background-color: transparent;
}
.starrett-header  .navbar .nav li.dropdown.open>.dropdown-toggle{
color: white;
}
.dropdown-menu.starrett-whole-cateogies-list-menu{
  width: 990px;
  left: -472px !important;
  border-radius: 3px;
  background-color: var(--white-starrett-color);
  font-family: var(--body-starrett-font);
  opacity: 1;
  border: 1px solid var(--brand-starrett-primary-color);
  top: 45px;
  text-align: left;
  padding: 5px 12px 0px;
}
.dropdown-menu.starrett-whole-cateogies-list-menu .starrett-flex-dropdown{
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.navbar.navbar-inner-starrett-subsite.navbar-inner-starrett-subsite-french.mhide .dropdown-menu.starrett-whole-cateogies-list-menu{
  width: 1020px;
  left: -524px !important;
}

 .starrett-whole-cateogies-list-menu ul {
  list-style: none;
  margin-left: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 5px;
  box-sizing: border-box;
  padding-right: 5px;
  width: 100%;
  float: left;
  text-align: left;
}
.starrett-whole-cateogies-list-menu li{
  flex: 1;
}
/* The second column has a width that depends on its maximum content. */
.starrett-whole-cateogies-list-menu ul.second-col{
  width: max-content;
}
.starrett-whole-cateogies-list-menu .dropdown-header {
  line-height: 1.5;
  font-family: var(--body-starrett-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-starrett-primary-color);
  text-align: left;
  display: block;
  text-decoration: none;
}
.navbar-starrett-subsite .dropdown-menu li.dropdown-header>a {
  font-weight: 700 !important;
  color: var(--brand-starrett-primary-color);
  text-transform: uppercase;
  border-bottom: 0.75px solid #e5e5e5;
  text-decoration: none;
  border-image-slice: 1;
  padding: 5px;
} 

.nav.navbar-starrett-subsite .dropdown-menu li>a {
  padding: 5px;
  clear: both;
  line-height: 1.5;
}
.navbar-starrett-subsite .dropdown-menu li>a:hover,
.navbar-starrett-subsite .dropdown-menu li>a:active
.navbar-starrett-subsite .dropdown-menu li>a:focus{
  color: var(--brand-starrett-primary-color) !important;
  background-color: transparent !important;
} 

.navbar-starrett-subsite ul.dropdown-menu.pull-left{
  left: 100% !important;
  right: auto !important;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  width: auto;
  border-radius: 0px !important;
  border: 1px solid var(--brand-starrett-primary-color);
  padding: 10px;
}
.navbar-starrett-subsite .dropdown-menu li>a:hover, 
.dropdown-menu li>a:focus, 
.dropdown-submenu:hover>a {
  font-weight: normal;
  color: var(--brand-starrett-primary-color) !important;
  background-color: white !important;
}
.nav.navbar-starrett-subsite .dropdown-submenu>a:after {
  display: none;
  float: right;
  width: 0;
  height: 0;
  margin-top: 5px;
  margin-right: -17px;
  border-color: transparent;
  border-left-color: #ccc;
  border-style: solid;
  border-width: 5px 0px 5px 5px;
  content: " ";
}
.nav.navbar-starrett-subsite .dropdown-submenu .chevron {
  float: right;
  font-size: 16px;
  margin-top: -1px;
  color: var(--brand-starrett-secondary-color);
  margin-left: 10px;
  font-weight: 700;
  transition: transform 0.3s ease;
}
/* Move it slightly to the right when hovering the link */
.dropdown-submenu>.dropdown-toggle:hover .chevron {
  transform: translateX(4px); /* or 6px if you want more movement */
  color: var(--brand-starrett-primary-color);
}


/**************************************     SEARCH BAR     ************************************************/
.starrett-search form#ProductDisplayForm button.btn.btn-default i.icon-search,
.starrett-mobile .mobile-search button .icon-search {
  margin-top: 1px !important;
  background-image: url(/images/pages/starrett/starrett-search-btn.svg);
}
.starrett-search .btn{
  padding: 6px 6px;
}
/* Style for the search button */
.starrett-search form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-starrett-primary-color);
  border-radius: 18%;
  border: none;
  width: 36px;
  height: 36px !important;
  position: absolute; /* Anchor the button */
  right: 2px; /* 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 */
.starrett-search.input-append {
  margin-left: auto;
  margin-right: 0;
  position: absolute;
  right: 0;
  transform: translate(0, -50%);
  background: white;
  height: 40px;
  border-radius: 8px;
  padding: 0;
  width: 35%; /* Default width */
  transform-origin: right;
  transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
  border: 1.5px solid var(--brand-starrett-primary-color);
}
/* Search Bar - Expand on Hover/Focus */
.starrett-search.input-append:hover,
.starrett-search.input-append:focus-within {
  width: 38%; /* Expanded width */
  background-color: var(--white-starrett-color);
}
/* Input field styling */
.starrett-search input#ProductSearch.appendInputButton {
  border-radius: 40px;
  color: var(--brand-starrett-primary-color);
  border: none;
  background-color: transparent;
  padding: 7px 32px 8px 12px;
  width: 100% !important;
  margin-right: 0px; /* Leave space for the button */
  margin-left: 0px;
  font-weight: 500;
}
/* Change Button Color & Move Left when Hovering */
.starrett-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.starrett-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-starrett-secondary-color); /* Darker blue */
}

/* Input Field */
.starrett-search input#ProductSearch.appendInputButton {
  border-radius: 8px;
  color: #565B60;
  border: none;
  background-color: transparent;
  padding: 7px 32px 8px 12px;
  width: 100% !important;
  margin-right: 0px;
  margin-left: 0px;
  font-weight: 500;
  /* text-transform: uppercase; */
}
/* Input focus styling */
.starrett-search input.refine-search.appendInputButton:focus {
  color: #9c9fa1;
  box-shadow: none;
  border-color: var(--brand-starrett-primary-color);
}
.starrett-search input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: #9c9fa1;
}
.starrett-search input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: #9c9fa1;
}
.starrett-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: #9c9fa1;
}
.starrett-search input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: #9c9fa1;
}
.starrett-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: #9c9fa1;
}
.starrett-search input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: #9c9fa1;
}

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


/**************************************     HEROS     ************************************************/
.carousel-top.starrett-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 2em;
}
.starrett-sws-store #myCarousel .hero-section {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 2em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* Pseudo-element background */
.starrett-sws-store #myCarousel .hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image: url(/images/pages/starrett/starrett-background-opt.webp);
  background-size: cover;
  background-position: left center;
  clip-path: polygon(0 0, 66% 0, 54% 100%, 0 100%);
  z-index: 0;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 61%);
}

/* Set a fixed height for the carousel inner to prevent jumping */
.starrett-sws-store #myCarousel .carousel-inner.hero-section,
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 400px;
  margin-top: -15px;
}
.starrett-sws-store #myCarousel .hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 15px 20px;
  height: 100%;
  margin: 0 auto;
}
.starrett-sws-store #myCarousel .text-content {
   padding: 5em 1em 5em 8em;
  width: 100%;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french .text-content {
  padding: 3em 1em 3em 4em;
  width: 100%;
}
.starrett-sws-store #myCarousel .image-content{
  width: 100%;
  text-align: center;
}
.starrett-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 400px;
}
.starrett-sws-store #myCarousel .hero-content.starrett-slide1 .image-content img {
  padding-top: 1em;
}
.carousel-control-new {
  color: white;
  background-color: var(--brand-starrett-primary-color);
  border: 1px solid var(--brand-starrett-primary-color);
  border-radius: 50% !important; /* Rounded shape */
  width: 40px !important; /* Width of the circle */
  height: 40px !important; /* Height of the circle */
  line-height: 40px; /* Center the arrow vertically */
  text-align: center; /* Center the arrow horizontally */
  font-size: 20px; /* Adjust the size of the arrow */
  position: absolute; /* Position the arrows */
  top: 50%; /* Position vertically in the middle */
  transform: translateY(-50%); /* Adjust vertical position */
  transition: 0.3s ease-in-out;
  z-index: 1;
}
.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-starrett-secondary-color);
}

/* Other Carousel Styles */
.starrett-sws-store #myCarousel h1 {
  font-size: 34px;
  margin-bottom: 0px;
  color: var(--brand-starrett-secondary-color);
  line-height: 1.2;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-family: var(--body-hero-title-starrett-font);
  display: inline-block;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1{
  font-size: 34px;
}
.starrett-sws-store #myCarousel h2 {
  color: var(--brand-starrett-secondary-color);
  font-weight: 400;
  font-size: 25px;
  font-family: var(--body-starrett-font);
  line-height: 1.2;
}
.starrett-sws-store #myCarousel .carousel-btn {
  color: var(--white-starrett-color);
  background-color: var(--brand-starrett-primary-color);
  border-radius: 8px;
  margin-top: 0px;
  font-size: 18px;
  padding: 11px 36px;
  display: inline-flex;
  font-family: var(--body-hero-title-starrett-font);
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.starrett-sws-store #myCarousel .carousel-btn:hover {
  background-color: var(--brand-starrett-secondary-color);
}


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

/**************************************     BUTTONS     ************************************************/
.sws-starrett-buttons .starrett-flex-container {
  display: flex;
  display: -ms-grid; /* IE10+ Fallback */
  /* Explicit columns for IE */
  -ms-grid-columns: 1fr 1fr 1fr;
}
.sws-starrett-buttons .starrett-grid-container {
  display: grid;
  display: -ms-grid; /* For IE10+ */
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em 1em;
  margin-bottom: 3%;
  margin-top: -2em;
}

.sws-starrett-buttons .starrett-item {
  position: relative; /* Required for the pseudo-element */
  display: grid;
  display: -ms-grid; /* IE10+ Fallback */
  grid-template-columns: repeat(2, 1fr);
  border-radius: 9px;
  overflow: hidden;
  gap: 5px;
  -ms-grid-columns: 1fr 1fr; /* Explicit columns for IE */
  align-items: center;
  justify-items: start;
  background-color: white;
  padding: 7px;
  border: 1px solid var(--brand-starrett-secondary-color);
  align-content: center;
  z-index: 1;
}

.sws-starrett-buttons .starrett-application-title{
    padding: 0px 10px 0px 0px;
}
.sws-starrett-buttons .starrett-application-title .application-title{
  font-family: var(--body-starrett-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-starrett-secondary-color);
  text-align: left;
  text-transform:uppercase;
  line-height: 1.2;
  padding-left: 10px;
  padding-right: 0px;
}
.sws-starrett-buttons .starrett-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.starrett-item:not(.side-ad){
    height: 9em;
}

.starrett-item img {
  max-width: 70%; /* Ensure the image fits inside its parent */
  height: auto; /* Maintain the image's aspect ratio */
  padding-left: 0; /* Remove unnecessary padding */
  padding-bottom: 0px; /* Remove unnecessary padding */
  margin: 0 auto;
  text-align: center;
  overflow: hidden; 
  width: 100%;
  height: auto;
  display: flex;
}
@supports (gap: 1em) {
  .sws-starrett-buttons .starrett-grid-container > * {
    margin: 0; /* Reset when gap is supported */
  }
}


/* Overlay base (only for non-side-ad buttons) */
.sws-starrett-buttons .starrett-item:not(.side-ad)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1C1C2B00;
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

/* Hover effect (only for non-side-ad buttons) */
.sws-starrett-buttons .starrett-item:not(.side-ad):hover::after {
  background-color: #1C1C2B90;
}

/* Text color transition */
.sws-starrett-buttons .starrett-application-title,
.sws-starrett-buttons .starrett-application-title .application-title {
  position: relative;
  z-index: 3;
  transition: color 0.3s ease; /* match timing */
}
/* Change text color only on hover for non-side-ad */
.sws-starrett-buttons .starrett-item:not(.side-ad):hover .application-title {
  color: white;
}


/**************************************     SIDE AD     ************************************************/
.starrett-item.side-ad {
  position: relative;
  overflow: hidden;
  background: white; /* or your base color */
  color: black; /* ensure text remains visible */
  
  /* layout styles */
grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 4;
  padding: 3px 0px 0px;
  place-items: center;
  text-align: center;
  max-height: 300px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  flex-wrap: nowrap;
}

/* Pseudo-element for red angled background with image */
.starrett-item.side-ad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-starrett-primary-color) url(/images/pages/starrett/carouseloverlay.svg) no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 45%);
  background-blend-mode: multiply;
}

/* Make sure inner content appears on top */
.starrett-item.side-ad > * {
  position: relative;
  z-index: 1;
}

.starrett-item.side-ad .starrett-side-ad-title p.application-title{
  line-height: 1.2;
    color: var(--white-starrett-color);
    font-size: 22px;
    font-weight: 700;
    margin-top: 9px;
    font-family: var(--body-hero-title-starrett-font);
    padding: 0px 5px;
}
.starrett-item.side-ad .starrett-side-ad-subtitle p.application-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--white-starrett-color);
  line-height: 1.2;
  font-family: var(--body-starrett-font);
  padding: 0 16px;
}
.sws-starrett-buttons-fr .starrett-item.side-ad .starrett-side-ad-title p.application-title{
  line-height: 1.2;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-top: 9px;
    font-family: var(--body-hero-title-starrett-font);
}
.sws-starrett-buttons-fr .starrett-item.side-ad .starrett-side-ad-subtitle p.application-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  font-family: var(--body-starrett-font);
  padding: 0 16px;
}
.starrett-item.side-ad .starrett-side-ad-img a{
  overflow: hidden; /* Prevents overflow */
  display: inline-block;
}
.starrett-item.side-ad .starrett-side-ad-img a img{
  height: auto;
  display: block;
  width: 100%;
  max-width: 75%;
  padding: 5px;
}
.sws-starrett-buttons .side-ad-btn {
  color: var(--white-starrett-color);
  background: var(--brand-starrett-primary-color);
  border-radius: 8px;
  margin-top: 0px;
  font-size: 16px;
  padding: 11px 36px;
  display: inline-flex;
  font-family: var(--body-hero-title-starrett-font);
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.sws-starrett-buttons .side-ad-btn:hover {
  background-color: var(--brand-starrett-secondary-color);
}

.row-fluid .sws-starrett-buttons.sws-starrett-buttons-fr .starrett-item.side-ad .starrett-side-ad-subtitle p.application-sub-subtitle{
  padding: 0px 60px 0px 0px;
  line-height: normal;
}
.starrett-item:hover:not(.side-ad){
  overflow: hidden;
  transition: background 0.3s ease-in-out, transform 0.15s ease-in-out;
  box-shadow: none; /* Removes the shadow */
}

.starrett-item:hover:not(.side-ad) img {
  transform: scale(1.05); /* Enlarges the image */
  transition: transform 0.15s ease-in-out;
}

/**************************************     ABOUT US     ************************************************/
.starrett-hero-container {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  /* Solid red background base */
  background-color: var(--brand-starrett-primary-color);
  overflow: hidden;
  margin-top: -15px;
  max-height: 500px;
}

/* Background image with blend and mask */
.starrett-hero-container::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
  /* The image overlaid */
  background: url('/images/pages/starrett/starrett-background-opt-red-blend.webp') center center / cover no-repeat;
  /* Linear transparency from left to right */
  mask-image: linear-gradient(to top right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 0) 60%);
  -webkit-mask-image: linear-gradient(to top right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.3;
  z-index: 0;
}
/* Content stays above background */
.starrett-hero-container > * {
  position: relative;
  z-index: 1;
}

/* Remove background from child sections */
.about-starrett-hero,
.about-starrett-container {
  background: none !important;
}
.about-starrett-hero {
  height: auto;
}
.about-starrett-container {
  height: auto;
}
.row-fluid.about-starrett-main-content h2 {
  color: var(--brand-starrett-primary-color);
  font-weight: 700;
  text-align: left;
  font-size: 25px;
  line-height: normal;
  padding-top: 0.1em;
  margin-bottom: 5px;
  font-family: var(--body-hero-title-starrett-font);
  display: block;
}
.row-fluid.about-starrett-main-content .span12 h2 {
margin-top: 0px;
}
.row-fluid.about-starrett-main-content p {
  text-align: left;
  font-size: 16px;
  padding-bottom: 1em;
  font-family: var(--body-starrett-font);
  color: var(--brand-starrett-secondary-color);
}
.starrett-hero-container{
  margin-top: -15px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  background: var(--brand-starrett-primary-color);
}
 .row-fluid.about-starrett-hero.about-us-hero .span12{
  display: flex;
  flex-direction: column;
  align-items: center;
}
 .about-starrett-hero .span12 h1{
  position: relative;
  z-index: 1;
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: normal;
  margin-bottom: 0px;
  padding: 0.2em 0.5em 0;
  font-family: var(--body-hero-title-starrett-font);
  display: block;
  color: white;
}
.about-starrett-hero .span12 p{
  color: white;
  font-family: var(--body-starrett-font);
  font-weight: 300;
  font-size: 21px;
  text-underline-position: under;
  text-align: center;
  padding: 0 0.5em;
}
/* Ensure content is above the background */
.about-starrett > * {
  position: relative;
  z-index: 1;
}
.row-fluid.about-starrett-container p {
  color: white;
  font-size: 16px;
  line-height: normal;
  font-family: var(--body-starrett-font);
  margin: 0 auto;
  text-align: center;
  float: none;
  padding: 0 0em;
}
.row-fluid.about-starrett-container h2{
    color: #fff;
    direction: ltr;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: center;
    margin-top: 0;
}
.row-fluid.about-starrett-container {
  margin: 0 auto;
  max-width: 1095px;
  padding: 0.5rem 0.5rem 1.5rem;
  position: relative;
}

@media (max-width: 1199px) {
/**************************************     HEADER     ************************************************/
.starrett-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100% + 10px);
  background: var(--white-starrett-color);
  clip-path: polygon(0 0,39% 0,36% 100%,0% 100%);
  /* clip-path: polygon(0 0, 34% 0, 31% 100%, 0% 100%); */
  /* z-index: 0; */
}
.starrett-header > .row-fluid {
  max-width: 979px;
  margin: 0 auto;
  padding: 0px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-around;
}
.starrett-header .span9.subheading-nav {
  width: 40.5rem !important;
  float: right;
  margin-top: 0px;
}

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

.starrett-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 10px !important;
  width: 40rem;
}

.navbar .nav.navbar-starrett-subsite {
  margin-right: 0;
  width: 89%;
  font-family: var(--body-hero-title-starrett-font);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex-wrap: nowrap;
  -moz-box-flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}
.starrett-whole-cateogies-list-menu .dropdown-header{
  font-size: 15px;
}

.dropdown-menu.starrett-whole-cateogies-list-menu {
  left: -435px !important;
  width: 893px;
}
.navbar.navbar-inner-starrett-subsite.navbar-inner-starrett-subsite-french.mhide .dropdown-menu.starrett-whole-cateogies-list-menu {
  width: 893px;
  left: -458px !important;
}
.navbar-starrett-subsite ul.dropdown-menu.pull-left {
  width: 87%;
}
.navbar.navbar-inner-starrett-subsite.navbar-inner-starrett-subsite-french .navbar-starrett-subsite ul.dropdown-menu.pull-left {
  width: 81%;
}
.nav.navbar-starrett-subsite .dropdown-menu li>a {
  text-wrap: auto;
  white-space: break-spaces
}

/* ********* END NAV ********* */
    
/**************************************     HEROS     ************************************************/
.starrett-sws-store #myCarousel .hero-content {
  max-width: 979px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0.938em 0em;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  align-content: space-between;
}
.starrett-sws-store #myCarousel .hero-section::before {
  clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 17%, rgba(0, 0, 0, 0) 57%);
}
.starrett-sws-store #myCarousel .text-content {
  padding: 4em 0em 4em 6em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french .text-content {
  padding: 4em 0em 4em 9em;
}
.carousel-control-new.left {
  left: 0.75rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 0.75rem; /* Position the right arrow */
}
/**************************************     BUTTONS     ************************************************/
.navac-item.side-ad {
  height: 294px;
}
.sws-starrett-buttons .starrett-grid-container {
    gap: 1.5em 1em;
}
.starrett-item img {
  max-width: 80%;
  height: auto;
  padding-left: 0;
  display: block;
  margin: 0 auto;
}
/**************************************     SIDE AD     ************************************************/
.starrett-item.side-ad .starrett-side-ad-title p.application-title {
  font-size: 20px;
}
.starrett-item.side-ad .starrett-side-ad-subtitle p.application-subtitle {
  font-size: 18px;
}
.sws-starrett-buttons-fr .starrett-item.side-ad .starrett-side-ad-title p.application-title{
    font-size: 18px;
}
.sws-starrett-buttons-fr .starrett-item.side-ad .starrett-side-ad-subtitle p.application-subtitle {
  font-size: 16px;
}
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-starrett-container {
    width: 82vw;
}
p.about-us-application-title-p {
    line-height: 26px;
    padding: 5px 28px 12px;
}
.about-third-col p.about-us-application-title-p{
    padding: 5px 34px 12px;
}   
/* ********* END About Page ********* */
  
}

@media (max-width: 979px) {
  .nav-pills > li > a {
    white-space: normal !important;
    word-wrap: break-word;
    display: inline-block;
    max-width: 100%;
  }
  .row-fluid.starrett-sws-store{
    padding-top: 9px;
  }
/**************************************     HEADER     ************************************************/
.starrett-header-nav .navbar-inner .logo-wrapper {
  position: relative;
  top: 0px;
  left: 0;
  width: 100%;
  /* height: 100%; */
  background-color: var(--brand-starrett-primary-color);
  -webkit-box-shadow: 0px 10px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.1);
  padding: 0px 0px 0.5em;
}
.starrett-header-nav .navbar-inner .logo-wrapper .logo-angled-bg {
  /* height: 100%; */
  padding: 5px 20px 5px 20px;
  clip-path: polygon(0 0, 93% 0, 83% 100%, 0% 100%);
  background: #FFF;
  display: flex;
  align-items: center;
  box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}
.navbar-inner.starrett-mobile {
  font-family: var(--body-starrett-font);
  background-color: var(--white-starrett-color);
  background: #ffffff;
  padding-top: 7px;
  padding-bottom: 0px;
}
 .starrett-mobile .span3 {
  width: 30%;
  float: left;
  margin-left: 0px;
  margin-bottom: 10px;
}
.navbar .starrett-mobile .span9 {
  width: auto;
  margin-left: 0;
  overflow: hidden;
  float: none;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-right: 10px;
}
.starrett-mobile img.brand.mobile-logo {
  width: 90%;
  padding: 2px 5px 4px 0px;
}
/**************************************     SEARCH BAR     ************************************************/

 .starrett-mobile .navbar-search {
  padding: 0px !important;
  background-color: white;
  height: 40px;
  border-radius: 40px;
  border: 1.5px solid var(--brand-starrett-primary-color);
  position: relative;
  float: left;
  margin-top: 10px;
  margin-bottom: 0 !important;
  max-width: 100%;
  margin-left: 0;
  padding-left: 0 !important;
  padding-top: 0px !important;
  margin-right: 0;
}
.starrett-mobile .logo-wrapper .input-append{
  margin-bottom: 0px;
  background: white;
  border-radius: 8px;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0px;
}
.starrett-mobile .logo-wrapper .input-append input {
  background: white;
  padding: 10px 0px 10px 9px;
  width: 100%;
  font-size: 14px !important;
  margin: 0px 0 0px 0px;
  border: 1px solid white;
  border-radius: 8px;
  -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);
  box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);
}
.starrett-mobile .input-append input.refine-search:focus:invalid:focus {
  color: var(--brand-starrett-primary-color);
  border-color: 1px solid var(--brand-starrett-primary-color) !important;
  outline: 0;
  outline: thin dotted \9;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.starrett-mobile .input-append input[type="text"]:focus{
  box-shadow: none !important;
}
.starrett-mobile .input-append .btn {
  order: none;
  padding: 6px;
  background-color: var(--brand-starrett-primary-color);
  height: 40px !important;
  border-radius: 6px;
  width: 40px;
  transform: translateY(0%);
  margin-right: 2px;
  margin-top: 0px;
} 

/**************************************     NAV     ************************************************/
.starrett-mobile .sws-mobile-header-nav .navbar-starrett-subsite-mobile {
  width: 100%;
  border: none;
  margin-right: 0px;
}
.starrett-mobile #SWS-mobile-first-nav {
  width: 11.33%;
}
.starrett-mobile #SWS-mobile-second-nav {
  width: 44.33%;
}
.starrett-mobile #SWS-mobile-third-nav {
  width: 44.33%;
}
.starrett-mobile .sws-mobile-header-nav .nav > li > a {
  background: var(--brand-starrett-primary-color);
  font-size: 16px;
  color: white;
  padding: 4px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  font-weight: 700;
  font-family: var(--body-hero-title-starrett-font);
} /* main NAV */

.starrett-mobile .sws-mobile-header-nav .nav>li#SWS-mobile-first-nav>a{
  margin-left: 0;
}
.starrett-mobile .sws-mobile-header-nav .nav>li.starrett-nav-buttons>a{
  margin-left: 3px;
}
a.mobile-sws-1.collapsed{
  margin-left: 3px;
}
li#mobile-sws-1 {
  float: none;
}
ul.accordion-inner.nav.mshow{
  border: 1px solid var(--brand-starrett-primary-color);
  margin-top: -1px;
  margin-bottom: 0px;
  background-color: white;
}
.starrett-mobile .sws-mobile-header-nav .navbar-starrett-subsite-mobile .nav>li>a{
  background-color: var(--white-starrett-color);
  text-align: left;
  color: var(--brand-starrett-primary-color);
}
/* sub category styles */
.starrett-mobile-sub-nav>.accordion-inner>.accordion-inner>.dropdown-menu {
  border-left: 2px solid var(--brand-starrett-primary-color);
  margin-left: 5px;
}
.starrett-mobile .navbar-starrett-subsite-mobile li.accordion-inner.nav ul.dropdown-menu>li>a, 
.starrett-mobile .navbar-starrett-subsite-mobile li.accordion-inner.nav ul.dropdown-menu>li>a:hover {
  text-align: left;
  padding: 2px 0px 2px 11px;
  line-height: 1.5;
  font-size: 14px;
  border-radius: 0px;
  font-weight: normal;
  text-transform: none;
  color: black;
  background-color: white !important;
}

.last-bold-item > a {
  font-weight: bold !important;
}

.starrett-mobile .sws-mobile-header-nav .nav > li > a:active {
  background: none;
  color: var(--brand-starrett-primary-color) !important;
}

li.accordion-inner.nav,
li.accordion-inner.nav.mshow,
li.accordion-inner.nav.mshow.open,
li.dropdown-submenu.nav.mshow{
  margin-bottom: 0px;
}
span.chevron{
  padding: 0px 5px;
  top: -1px;
  position: relative;
}
/* sub-sub category styles */
ul.dropdown-menu.starrett-mobile-subdropdown {
  margin-left: 11px;
  border-left: 3px solid #cdcdcd;
}
.dropdown-menu span.chevron  {
  padding: 0px 2px;
  top: 0px;
  position: relative;
}
.dropdown-submenu>a:after {
  display: none;
}
/* ********* END HEADER ********* */

/**************************************     HEROS     ************************************************/
.carousel-top.starrett-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 1em;
  margin-top: -0.95em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section, 
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 350px;
  margin-top: 0px;
}
.starrett-sws-store #myCarousel .hero-section {
  display: flex;
  justify-content: center;
  padding-bottom: 0em;
  background-position: 50% 75%;
}
.starrett-sws-store #myCarousel .hero-content {
  max-width: 979px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0.938em 0em;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  align-content: space-between;
}
.starrett-sws-store #myCarousel .text-content {
  padding: 0.75em 0em 0.75em 8em;
}
.starrett-sws-store #myCarousel h1 {
  font-size: 2.5em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 2em;
}
.starrett-sws-store #myCarousel h2 {
  font-size: 1.75em;
}
.starrett-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 300px;
}
/**************************************     BUTTONS     ************************************************/
.starrett-item:not(.side-ad) {
  height: 9em;
}
 .starrett-item img {
  height: auto;
  padding-left: 0;
  display: block;
  margin: 0 auto;
}

/**************************************     SIDE AD     ************************************************/
.sws-starrett-buttons.sws-starrett-buttons-fr .side-ad-btn {
  font-size: 0.9rem;
}
.starrett-item.side-ad .starrett-side-ad-title p.application-title {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.starrett-item.side-ad .starrett-side-ad-subtitle p.application-subtitle {
  font-size: 1rem;
  padding: 0 8px
} 
/* End Side Ad*/
/* ********* END BUTTONS ********* */


/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-starrett-container {
  width: 95vw;
  padding: 30px 10px 30px 20px;
}
.starrett-about.span12{
  margin-top: -15px;
}
}
  
@media (max-width: 767px) {
  .row-fluid.starrett-sws-store {
    padding-top: 0px;
}
/**************************************     HEADER     ************************************************/
.navbar-inner.starrett-mobile {
  margin-left: -20px;
  margin-right: -20px;
}
.starrett-mobile .span3 {
  width: 37%;
}
.starrett-header-nav .navbar-inner .logo-wrapper .logo-angled-bg {
  margin-top: -1px;
  padding: 5px 12px 10px 12px;
}
.starrett-header-nav .navbar-inner .logo-wrapper {
  padding: 0px 0px 5px;
}
/**************************************     NAV     ************************************************/ 

/* ********* END HEADER ********* */
/**************************************     HEROS     ************************************************/
.starrett-sws-store #myCarousel h1{
  font-size: 2em;
}
.starrett-sws-store #myCarousel h2{
  font-size: 1.5em;
}
.starrett-sws-store #myCarousel .hero-section, 
.starrett-sws-store #myCarousel .image-content{
    justify-content: start;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section, 
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 300px;
  margin-top: 10px;
  box-shadow: none;
}
.starrett-sws-store #myCarousel .hero-content {
  max-width: 768px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0.5em 2em 0.5em;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  align-content: space-between;
}
.starrett-sws-store #myCarousel .image-content {
  padding-right: 6em;
}
.starrett-sws-store #myCarousel .hero-content .image-content img {
  box-shadow: none;
}
.starrett-sws-store #myCarousel .hero-content.starrett-slide1 .image-content img {
  padding-top: 0em;
  max-height: 270px;
}
.starrett-sws-store #myCarousel .text-content,
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french .text-content  {
  padding: 0.75em 0em 0.75em 0em;
}
.starrett-sws-store #myCarousel .carousel-btn {
  font-size: 1em;
  padding: 0.875em 2em;
  border: 2px solid var(--brand-starrett-secondary-yellow-color);
}
.row-fluid.starrett-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting{
  margin-top: 0.5em;
  margin-bottom: 0.5em;
} 
.carousel-top.starrett-sws-store {
  padding-bottom: 0em;
}

/**************************************     BUTTONS     ************************************************/
.starrett-item img {
  max-width: 75%;
}
.starrett-item.side-ad{
  display: none;
  visibility: hidden;
}
.sws-starrett-buttons .starrett-grid-container{
  grid-template-columns: repeat(2,1fr);
  margin: 0 auto 2em;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-starrett-hero h1 {
  font-size: 3rem;
  padding: 0.5em 0.5em 0.2em;
}
.starrett-hero-container{
  margin-top: 10px;
}

}

@media (max-width: 600px) {
/**************************************     HEADER     ************************************************/
.starrett-header-nav .navbar-inner .logo-wrapper .logo-angled-bg {
  padding: 5px 12px 10px 12px;
}
.starrett-header-nav .navbar-inner .logo-wrapper {
  padding: 0px 0px 5px;
}
.starrett-mobile img.brand.mobile-logo {
    padding: 5px 0px 5px 0px;
  }
/**************************************     NAV     ************************************************/
ul.accordion-inner.nav.mshow {
  padding: 0 5px;
}
li.accordion-inner.nav, li.accordion-inner.nav.mshow, li.accordion-inner.nav.mshow.open {
  margin-bottom: 0px;
  padding: 0 5px;
}

/**************************************     HERO     ************************************************/
.starrett-sws-store #myCarousel .hero-section::before {
  clip-path: none;
  visibility: visible;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  background-position: right;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section, 
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 470px;
  margin-top: 10px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.starrett-sws-store #myCarousel .hero-section, 
.starrett-sws-store #myCarousel .image-content {
  order: -1;
  padding: 0em;
}
.starrett-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: flex-start;
  align-items: center;
  text-align: center;
  padding: 1.5em 0 0 0;
}
.starrett-sws-store #myCarousel .text-content {
  padding: 1em 1em 0.75em 1em;
  width: 95%;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.75em;
}
.starrett-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 250px;
}
.sws-starrett-buttons .starrett-grid-container {
  gap: 2%;
}
/********/  

/**************************************     BUTTONS     ************************************************/
.starrett-item:not(.side-ad) {
  height: 7rem;
}
.sws-starrett-buttons .starrett-application-title .application-title {
  padding-left: 0px;
  padding-right: 0px;
}
.sws-starrett-buttons .starrett-grid-container {
  margin: 0 auto 18em;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-starrett-container {
  width: 94vw;
  padding: 15px 0px;
  height: auto;
}
.row-fluid.about-starrett-hero .span12 h1 {
  font-size: 39px;
} 
.starrett-about.span12 {
  margin-top: -5px;
}
}

@media (max-width: 480px) {
/**************************************     HEADER     ************************************************/
.starrett-mobile .span3 {
  width: 45%;
}
/**************************************     HERO     ************************************************/
.carousel-top.starrett-sws-store {
  padding-bottom: 0em;
}
.starrett-sws-store #myCarousel .hero-content {
  max-width: 480px;
}
.starrett-sws-store #myCarousel h1 {
  font-size: 1.8em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.5em;
}
.starrett-sws-store #myCarousel h2 {
  font-size: 1.3em;
}
/**************************************     BUTTONS     ************************************************/
.sws-starrett-buttons .starrett-grid-container {
  grid-template-columns: repeat(1, 1fr);
  gap: 1%;
  margin-bottom: 24rem;
}
.starrett-item img {
  max-width: 50%;
  padding-bottom: 0;
}
.sws-starrett-buttons .starrett-application-title {
  padding: 0px 10px 0px 10px;
}
.starrett-item:not(.side-ad) {
  height: 6rem;
  padding: 5px
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
/* .starrett-about.span12 {
  margin-top: 0px;
} */
.row-fluid.about-starrett-container {
  width: 91vw;
  padding: 0px 0px 15px;
}
.starrett-hero-container {
  margin-top: 10px;
}
.row-fluid.about-starrett-hero .span12 h1 {
  font-size: 2.5em;
  padding: 1em 0.2em 0.5em;
}


}

@media (max-width: 399px) {
  /**************************************     HEADER     ************************************************/
  .starrett-mobile .logo-wrapper .input-append input {
    width: 100% !important;
    margin: 0px;
    padding: 5px 10px !important;
}
/**************************************     SEARCH BAR     ************************************************/

.starrett-mobile .input-append .btn {
  padding: 5px;
  height: 30px !important;
  border-radius: 6px;
  width: 36px;
  margin-left: 0;
  margin-top: 0px;
} 
/**************************************     NAV     ************************************************/
.starrett-mobile .navbar-starrett-subsite-mobile li.accordion-inner.nav ul.dropdown-menu>li>a, .starrett-mobile .navbar-starrett-subsite-mobile li.accordion-inner.nav ul.dropdown-menu>li>a:hover {
  font-size: 12px;
  white-space: break-spaces;
}
/**************************************     HERO     ************************************************/
.starrett-sws-store #myCarousel .text-content {
  padding: 1.75em 1em 0.75em 1em;
}
.starrett-sws-store #myCarousel h1,
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.55em;
}
.starrett-sws-store #myCarousel h2 {
  font-size: 1.25em;
}
.row-fluid.starrett-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting {
  margin-top: 0.5em;
  margin-bottom: 0em;
}
/**************************************     ABOUT PAGE     ************************************************/

.row-fluid.about-starrett-hero h1 {
  font-size: 2.3em;
}
.row-fluid.about-starrett-hero .hero-h1 {
  font-size: 1.05em;
}
.about-starrett {
  max-height: 300px;
  height: 300px;
}
.row-fluid.about-starrett-hero .span12 h1 {
  line-height: 1.2;
}
.row-fluid.about-starrett-container {
  padding: 15px 0px 15px;
}

}
@media (max-width: 329px) {
/**************************************     HEADER     ************************************************/
.starrett-mobile .span3 {
  margin-top: 5px;
}
/**************************************     SEARCH BAR     ************************************************/

/**************************************     HERO     ************************************************/
.starrett-sws-store #myCarousel h1 {
  font-size: 1.35em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.3em;
}
.starrett-sws-store #myCarousel .carousel-inner.hero-section-french h2 {
  font-size: 1.2em;
}
/**************************************     BUTTONS     ************************************************/
.sws-starrett-buttons .starrett-application-title .application-title {
  font-size: 14px;
} 
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-starrett-hero h1 {
  font-size: 2em;
}
/* .about-starrett {
  max-height: 400px;
  height: 350px;
} */
.about-starrett::before {
  background-position: 20% 10%;
}
}

