:root {
  --brand-criterion-logo-blue: #2466aa;
  --brand-criterion-light-grey: #CCCACA;
  --brand-criterion-grey: #595959;
  --brand-header-criterion-font: 'Oxanium', Arial, sans-serif;
  --body-criterion-font: 'Open Sans', Arial, sans-serif;
  --gradient-criterion: 
}

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

.row-fluid .criterion-sws-store {
    background: linear-gradient(115deg, #F5F5F5 50%, #2466aa 50%);
}

.criterion-header {
	width: 100vw !important;
	position: relative;
	margin-left: -50vw;
	left: 50%;
	box-sizing: border-box;
	background-color: white !important;
}

.criterion-header > .row-fluid {
  max-width: 1140px;
  margin: 0 auto;
}

.criterion-header .span4.logo-criterion-sws {
  width: 290px;
  padding-top: 11px;
  padding-bottom: 11px;
}

/*
.row-fluid.ipad-view-setting.sws-criterion-buttons {
    padding-bottom: 2em;
}
*/

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

.navbar .nav.navbar-criterion-subsite {
  margin-right: 0;
  width: 100%;
  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;
}

.navbar .nav.navbar-criterion-subsite > li.home-btn {
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin: auto 12px;
}

.navbar .nav.navbar-criterion-subsite > li {
  -webkit-box-flex: 4 1 auto;
  -moz-box-flex: 4 1 auto;
  -webkit-flex: 4 1 auto;
  -ms-flex: 4 1 auto;
  flex: 4 1 auto;
  margin: auto 1em;
  text-align: center;
  line-height: 3px;
}

.navbar.navbar-inner-criterion-subsite .nav > :first-child > a {
    padding: 9px !important;
    display: inline-block;
    width: 1px;
    height: 1px;
    background-image: url(/images/pages/hioki/hioki-home-icon.svg);
    vertical-align: text-top;
    margin: 0em auto;
}

.navbar.navbar-inner-criterion-subsite .nav > :first-child > a:hover {
    background-image: url(/images/pages/hioki/hioki-home-icon-1.svg);
}


.criterion-header .row-fluid .navbar.navbar-inner-criterion-subsite {
float: right;
}

.criterion-header .subheading-nav {
    width: 71% !important;
    float: right;
    margin-top: 2em !important;
}

.criterion-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 4px !important;
}

.navbar-criterion-subsite a.nav-home-icon > i {
  margin-top: 3px;
  display: inline-block;
  vertical-align: text-top;
}

.navbar.navbar-inner-criterion-subsite .nav > li > a {
  text-shadow: none;
  color: var(--brand-criterion-logo-blue);
  font-weight: 600;
  display: block;
  font-size: 20px;
  white-space: break-spaces;
  font-family: 'Oxanium', sans-serif !important;
}

.navbar.navbar-inner-criterion-subsite-french .nav > li > a {
  text-shadow: none;
  color: var(--brand-criterion-logo-blue);
  font-weight: 600;
  display: block;
  font-size: 20px;
  white-space: break-spaces;
  font-family: 'Oxanium', sans-serif !important;
}

/* home button */
.navbar.navbar-inner-criterion-subsite .nav > :first-child > a{
  padding: 8px 14px 21px !important;
}
.dropdown-menu.criterion-whole-cateogies-list-menu{
    width:542px;
    left: 0px !important;
    border-radius: 1px;
}
.navbar.navbar-inner-criterion-subsite.navbar-inner-criterion-subsite-french.mhide .dropdown-menu.criterion-whole-cateogies-list-menu{
    width:498px;
}

.navbar .nav>li>.criterion-whole-cateogies-list-menu.dropdown-menu:before, .navbar .nav>li>.criterion-whole-cateogies-list-menu.dropdown-menu:after {
	display: none;
}
.dropdown-menu.criterion-whole-cateogies-list-menu li a {
  white-space: break-spaces;
  padding: 8px 18px 5px 18px !important;
  line-height: 24px;
  font-weight: normal;
  font-size: 15px;
  text-align: left;
  font-family: 'Oxanium', sans-serif;
}

.criterion-whole-cateogies-list-menu ul {
	list-style: none;
	width: 100%;
	float: left;
	margin-left: 0;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}


.criterion-whole-cateogies-list-menu ul:last-child{
    padding-left: 10px;
}

.dropdown-header p {
    color: var(--brand-criterion-logo-blue) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: underline solid 1px #2466aa;
    text-underline-offset: 0.3rem;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}

.criterion-whole-cateogies-list-menu ul:nth-child(2) {
	border-left: 1px solid #c8cfde;
}

.criterion-whole-cateogies-list-menu ul:last-child li {
	border-right: none;	
}

.navbar-criterion-subsite .dropdown-menu li.dropdown-header>a, 
.navbar-criterion-subsite .dropdown-menu li.dropdown-header>a:hover {
	font-weight: 700 !important;
	color: #2466aa;
	padding: 5px 10px;
	text-transform: uppercase;
	margin-top: 5px;
	font-size: 16px !important;
}

.dropdown-menu.criterion-whole-cateogies-list-menu {
	width: 477px;
	left: -40px;
}

.navbar .nav>li>.criterion-whole-cateogies-list-menu.dropdown-menu:before {
	left: 49px;
}
.navbar .nav>li>.criterion-whole-cateogies-list-menu.dropdown-menu:after {
	left: 50px;
}

.criterion-whole-cateogies-list-menu ul:nth-child(2) {
	border-left: 1px solid #f1f1f2;
}
.criterion-whole-cateogies-list-menu ul:last-child li {
	border-right: none;
}

.navbar-criterion-subsite .dropdown-menu li.dropdown-header {
	border-top: 1px solid #d5d5d5;
	margin-top: 5px;
}
.navbar-criterion-subsite .dropdown-menu li.dropdown-header>a, 
.navbar-criterion-subsite .dropdown-menu li.dropdown-header>a:hover {
	font-weight: 700 !important;
	color: #2466aa;
	padding: 5px 0px;
	text-transform: uppercase;
	margin-top: 5px;
}
.navbar-criterion-subsite .dropdown-menu li.dropdown-header:first-child, 
.navbar-criterion-subsite .dropdown-menu li.dropdown-header:first-child>a {
	border-top: none;
	margin-top: 0;
}

.navbar-criterion-subsite .hover-underline-animation a {
    padding: 19px 8px 12px !important;  
}

.navbar.navbar-inner-criterion-subsite .nav > li > a:active,
.navbar .nav.navbar-criterion-subsite li.dropdown.open > .dropdown-toggle,
.navbar .nav.navbar-criterion-subsite li.dropdown.active > .dropdown-toggle,
.navbar .nav.navbar-criterion-subsite li.dropdown.open.active > .dropdown-toggle {
  color: white;
  background-color: var(--brand-criterion-logo-blue);
}

.navbar.navbar-inner-criterion-subsite .nav > :first-child > a:active {
  background-color: white !important;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: var(--brand-criterion-logo-blue);
}

.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: 2px; /* Height of the underline */
  bottom: 0;
  left: 0;
  background-color: var(--brand-criterion-logo-blue); /* Background color of the underline */
  transition: transform 0.3s ease-out; /* Transition effect for the underline */
  transition: all 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;
}

.active, .hover-underline-animation::after {
  background-color: rgb(var(--brand-criterion-light-grey), 20%);
  transition: all 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;
}

/*dropdown*/
.navbar-criterion-subsite .dropdown-menu li > a:hover,
.navbar-criterion-subsite .dropdown-menu li > a:focus,
.navbar-criterion-subsite .dropdown-submenu:hover > a,
.navbar-criterion-subsite .dropdown-submenu:focus > a,
.navbar-criterion-subsite .dropdown-menu li > a:active,
.navbar-criterion-subsite .dropdown-submenu:active > a {
  background: linear-gradient(to bottom right, #FF9127, #ED1B23) !important;
  text-decoration: none;
  background-image: none;
  color: white !important;
}

/*Search bar*/
.criterion-search form#ProductDisplayForm button.btn.btn-default {
  border: none;
  background: linear-gradient(to bottom right, #FF9127, #ED1B23);
  border-radius: 0 3px 3px 0;
  margin-top: 0px;
}

.criterion-search form#ProductDisplayForm button.btn.btn-default i.icon-search,
.criterion-mobile .mobile-search button .icon-search {
  margin-top: 1px !important;
  background-image: url(/img/glyphicons-halflings-white.png);
}

.criterion-search form#ProductDisplayForm button.btn.btn-default:hover
  i.icon-search {
  margin-top: 1px !important;
  background-image: url(/img/glyphicons-halflings.png);
}

.criterion-search.input-append {
  margin-left: 0;
  padding-right: 5px;
}

.criterion-search input#ProductSearch.appendInputButton {
  border-radius: 3px 0 0 3px;
  color: var(--brand-criterion-grey) !important;
  border: 1px solid rgba(204, 202, 202, 0.9);
}

.criterion-search input.refine-search.appendInputButton:focus,
.criterion-search input.refine-search.appendInputButton:focus:invalid:focus {
  color: var(--brand-criterion-grey) !important;
  box-shadow: inset 0 0px 3px 1px white, 0 0px 4px white;
  border-color:rgba(204, 202, 202, 0.9);
}

.criterion-search input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-criterion-grey);
}

.criterion-search input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-criterion-grey);
}

.criterion-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-criterion-grey);
}

.criterion-search input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-criterion-grey);
}

.criterion-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-criterion-grey);
}

.criterion-search input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-criterion-grey);
}

/*--end of Search bar*/

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

/* ********* HEROS ********* */



.criterion-sws-store #myCarousel .hero-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 5em;
}

/* Set a fixed height for the carousel inner to prevent jumping */
.criterion-sws-store #myCarousel .carousel-inner.hero-section,
.criterion-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 395px; /* Adjust this value as needed */
/*   margin-top: 0px; */
}

.criterion-sws-store #myCarousel .hero-content {
  max-width: 1170px;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: auto;
    margin: auto;
}

.criterion-sws-store #myCarousel .text-content {
  width: 42%;
  display: flex;
  flex-direction: column;
  padding-left: 1em;
  margin: auto;
}

.criterion-sws-store #myCarousel .image-content {
  width: 42%;
  display: flex;
  flex-direction: column;
}

.criterion-sws-store #myCarousel .image-content img {
  height: auto;
  width: 100%;
}

.criterion-sws-store #myCarousel .criterion-icons {
  width: 16%; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
}


.criterion-sws-store #myCarousel .criterion-icons img{
  width: 25%;  
}

.criterion-sws-store #myCarousel .criterion-icons .icon {
    padding: 15px;
    align-items:center;
    display:flex;
    flex-direction: row;
} 
 

.criterion-sws-store #myCarousel .criterion-icons .icon p {
    color: white;
    font-weight: 400;
    font-family: var(--body-criterion-font);
    font-size: 13px;
    line-height: 16px;
    padding-left: 15px;
    margin: auto 0 !important;
} 

.criterion-sws-store #myCarousel .criterion-icons .made-in-canada img {
  width: 60%;  
}

.criterion-sws-store #myCarousel .image-content a {
  margin: auto;
}

.carousel-control-new {
  color: white;
  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 */
  text-shadow: 1px 0px 2px rgba(0, 0, 0, 1) !important;
}

.carousel-control-new.left {
  left: 10px; /* Position the left arrow */
}

.carousel-control-new.right {
  right: 10px; /* Position the right arrow */
}
.carousel-top.criterion-sws-store {
  margin-top: -15px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  margin-bottom: 0px;
}

.criterion-sws-store #myCarousel h2 {
  font-size: 36px;
  line-height: 40px;
  margin-bottom: 15px;
  color: var(--brand-criterion-logo-blue);
  letter-spacing: 0.5px;
  font-weight: 600;
  font-family: 'Orbitron' !important;
}

.criterion-sws-store #myCarousel h3 {
  color: var(--brand-criterion-logo-blue);
  font-weight: 400;
  font-size: 20px;
  font-family: var(--body-criterion-font);
  padding-bottom: 1em;
  padding-right: 3em;
}

.criterion-sws-store #myCarousel .carousel-btn, .side-ad-btn {
  color: white;
  border: none;
  background: linear-gradient(to bottom right, #FF9127, #ED1B23) !important; 
  border-radius: 3px;
  margin-top: 0px;
  font-size: 16px;
  padding: 12px 26px;
  display: inline-flex;
  text-transform: uppercase;
  font-family: var(--body-criterion-font);
  font-weight: 600;
  width: max-content;
}

.criterion-sws-store #myCarousel .carousel-btn:hover, .side-ad-btn:hover {
  background: linear-gradient(to bottom right, #ED1B23, #FF9127) !important; 
  text-decoration: none;
  transition: 0.3s;
  color: white;
}


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

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

.sws-hioki-buttons .criterion-grid-item img{
    box-sizing: border-box;
    transition: 0.15s ease-in-out;
    max-height: 200px;
}
.criterion-application-title .application-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-align: left;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 4px;
    line-height: 23px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing:0.7px;
}

.sws-criterion-buttons.sws-criterion-buttons-fr .application-title {
    font-size: 16px;
}

.criterion-flex-container{
    display: flex;
    padding-top: 2em;
}
.criterion-item{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: none;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    cursor: pointer;
}

.criterion-item.button5kvac{
    background-image: url(/images/pages/criterion/button-5kvac.png);
}

.criterion-item.button25kvac{
    background-image: url(/images/pages/criterion/button-25kvac.png);
}

.criterion-item.button25kvacdc{
    background-image: url(/images/pages/criterion/button-25kvacdc.png);
}

.criterion-item.button25kvdc{
    background-image: url(/images/pages/criterion/button-25kvdc.png);
}

.criterion-item.button10kvdc{
    background-image: url(/images/pages/criterion/button-10kvdc.png);
}

.criterion-item.cable-fault-locators{
    background-image: url(/images/pages/criterion/button-cable-fault-locators.png);
}

.criterion-item.power-suppliers{
    background-image: url(/images/pages/criterion/button-power-suppliers.png);
}

.criterion-item:not(.side-ad){
    height: 13em;
}

.criterion-application-title{
    width: 100%;
    align-self: flex-start;
    background: linear-gradient(180deg, #2466aa, transparent);
}

.sws-criterion-buttons .criterion-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4% 3%;
  margin-bottom: 5%;
}

/*Side ad*/


.side-ad-btn{
 margin-top: 10px;
 margin-bottom: 24px;
 }
 

.criterion-item.side-ad{
background-image: url(/images/pages/criterion/side-ad.png);
background-position-x: center;
background-position-y: top;
background-color: white;
background-size:cover;
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
    flex-direction: column;
    display:flex;
    justify-content: end;
}

.criterion-item.side-ad .criterion-side-ad-title p.application-title{
    font-size: 21px;
    font-weight: 800;
    color: white;
    text-align: center;
    line-height: 26px;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    align-self: center;
    padding-top:10px
}




.side-ad-line {
    border: 0.1em solid white;
    margin: 0.5em 3em;
}

.side-ad-logo{
    width: 35%;
    height: auto;
    align-self: center;
    padding-bottom: 17px;
}

.line {
    border: 0.075em solid #2466aa;
    margin: 0.5em 1em;
}

/*Buttons hover*/
.criterion-item:hover .application-title {
  transition: 0.3s ease-in-out;
}
.criterion-item:hover:not(.side-ad){
  overflow: hidden;
  border-radius: 2px;
  background-size: auto 103%;
  transition: 0.3s ease-in-out;
}

/* --- FRENCH --- */

/* --- END FRENCH --- */

/* ********* About Page ********* */
.criterion-about .about-criterion-hero {
    background-image: url(/images/pages/criterion/criterion-about-us-background.png);
    background-repeat: no-repeat;
    background-color: #2466aa;
    background-size: cover;
    position: relative;
    height: 355px;
    margin-bottom: 20px;
    width: 100%;
    background-position: center;
    display: flex;
    align-items: center !important;
}

.about-us-logo {
    text-align: center;
}

.about-us-logo img {
    width: 19%;
} 

.criterion-hero-container{
    margin-top: -15px;
    width: 100vw !important;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}


.row-fluid.about-criterion-hero .about-title{
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    }
.row-fluid.about-criterion-hero h1{
    position: relative; /* Needed for absolute positioning of the pseudo-element */
    font-size: 38px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    line-height: 120%;
    color: white;
    font-family: 'Orbitron', sans-serif;
    padding-left: 20px;
}

.row-fluid.about-criterion-hero h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px; /* Adjust the width of the border */
  background: linear-gradient(to bottom right, #ED1B23, #FF9127);
}


.about-title .icon.made-in-canada {
    width: 15%;
}


span.hero-h1{
    color: var(--brand-criterion-grey);
    text-transform: capitalize;
}

.about-criterion {
    margin-top: 0px;
    width: 100vw !important;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    background: white;
}

.row-fluid.about-criterion-container p {
    color: #333;
    font-size: 16px;
    line-height: 150%;
    text-align: left;
    padding: 0 20px;
    font-family: 'Open Sans', sans-serif;
}

.row-fluid.about-criterion-container.products img{
    width: 50%;
    padding-left: 20px;
}

.row-fluid.about-criterion-container.products {
    background-image: url(/images/pages/criterion/about-products-bg.png);
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: 87% 10%;
  position: relative;
  }

.row-fluid.about-criterion-container h2{
    position: relative;
    color: var(--brand-criterion-logo-blue);
    direction: ltr;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: left;
    margin-top: 0;
    padding: 0px 20px 0px 45px;
    margin-left: 20px;
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
}

.row-fluid.about-criterion-container h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35px; /* Adjust the width of the border */
  background: linear-gradient(to bottom right, #ED1B23, #FF9127);
}

.row-fluid.about-criterion-3 .row-fluid.about-criterion-container h2{
    color: white;
    direction: ltr;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: center;
    margin-top: 0;
    font-family: 'Orbitron', sans-serif;
}
 .row-fluid.about-criterion-3 .row-fluid.about-criterion-container p {
    color: white;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}
 

.row-fluid.about-criterion-container {
    margin: 0 auto;
    width: 1170px;
    padding: 40px 20px;
}
.row-fluid.about-criterion-main-content h2 {
    color: #093254;
    font-weight: 700;
    text-align: center;
    font-size: 38px;
    line-height: 120%;
    padding-top: 0.5em;
}
.row-fluid.about-criterion-main-content p {
    text-align: center;
    font-size: 18px;
    padding-bottom: 1em;
    font-family: 'Open Sans', sans-serif;
}
.criterion-grid-container.about-us-grid-container {
    margin: 0;
}
.about-us-blue-col {
    background: #c8cfde;
}
.about-us-application-title p {
    text-align: center;
    font-size: 15px;
    padding: 5px 20px 20px;
}
p.about-us-application-title-p {
    color: #ffffff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 0.2em;
}
.row-fluid.about-criterion-hero.about-us-hero{
    height: 300px;
    margin-bottom: 0;
}
.row-fluid.about-criterion-main-content.last-p p {
    font-size: 16px;
    line-height: 150%;
}


/*********/


/* --- FRENCH --- */
.french-about-us .row-fluid.about-criterion-hero h1{
    font-size: 68px;
}
.french-about-us span.hero-h1 {
    font-size: 80px;
}

@media (max-width: 480px) {
.french-about-us .row-fluid.about-criterion-hero h1 {
    font-size: 36px;
    line-height: 120%;
}
.french-about-us span.hero-h1 {
    font-size: 64px;
}
}
/* --- END FRENCH --- */
/* ********* END About Page ********* */

@media (min-width: 1200px) {
.criterion-item.side-ad{
    max-height: 402px !important;
}
}



@media (max-width: 1199px) {
/* ********* HEADER ********* */

.criterion-sws-store #myCarousel .hero-content {
    max-width: 964px;
}

.row-fluid.ipad-view-setting.sws-criterion-buttons {
    padding-bottom: 0.7em;
}
.dropdown-menu.criterion-whole-cateogies-list-menu {
	width: 440px;
}

.navbar.navbar-inner-criterion-subsite.navbar-inner-criterion-subsite-french.mhide .dropdown-menu.criterion-whole-cateogies-list-menu{
    width:444px;
}

.navbar.navbar-inner-criterion-subsite .nav > li > a {
  font-size: 18px;
}

.navbar.navbar-inner-criterion-subsite-french .nav > li > a {
  font-size: 16px;
}
.navbar .nav.navbar-criterion-subsite > li {
  margin: auto 1em;
}
.criterion-header > .row-fluid {
    max-width: 940px;
    margin: 0 auto;
  }
.criterion-header .span4.logo-criterion-sws {
    width: 250px;
    margin-top: 2px;
  }
  
/*  .criterion-header .row-fluid .navbar.navbar-inner-criterion-subsite{
    width: 630px;
  }*/
  
.criterion-search.input-append {
width: 92%;
  }
.navbar-criterion-subsite .hover-underline-animation a {
    padding: 16px 6px 16px !important;
  }

.criterion-header .span8.subheading-nav {
    width: 75%;
}

.criterion-header .subheading-nav {
    margin-top:1.85em !important;
}


.navbar .nav.navbar-criterion-subsite {
    display: -moz-box;
    display: -ms-flexbox;
}
.criterion-header .row-fluid .navbar .nav-collapse.sws.collapse {
    margin-top: 0.1em !important;
}	
.criterion-header {
    padding: 0;
}
	

/* Set a fixed height for the carousel inner to prevent jumping */
.criterion-sws-store #myCarousel .carousel-inner.hero-section,
.criterion-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 340px; /* Adjust this value as needed */
/*   margin-top: 0px; */
}


.criterion-sws-store #myCarousel .text-content {
  width: 40%;
}

.criterion-sws-store #myCarousel .image-content {
  width: 40%;
}

.criterion-sws-store #myCarousel .criterion-icons {
  width: 20%; 
}


.criterion-sws-store #myCarousel .criterion-icons img{
  width: 20%; 
}

	
.criterion-sws-store #myCarousel h2 {
  font-size: 34px;
  line-height: 38px;
}

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

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

.criterion-item{
    background-position: 50% 0%;
    
}

.line {
    margin: 0 15px;
}


.criterion-application-title .application-title, .criterion-item.side-ad .criterion-side-ad-title p.application-title {
    font-size: 17px;
    line-height: 22px;
}
	/* Side Ad*/
.criterion-item.side-ad p.application-title {
    padding: 0 10px;
    text-align: center !important;
    font-size: 20px !important;
}
.criterion-item.side-ad .criterion-side-ad-subtitle p.application-subtitle {
    font-size: 15px;
    line-height: 20px;
    padding: 10px 12px;
}
.criterion-item.side-ad {
   /* padding-top: 1em;*/
}
.criterion-item.side-ad{
    max-height: 400px !important;
}
    /* End Side Ad*/		
	

/* ********* About Page ********* */
.row-fluid.about-criterion-container {
    width: 90vw;
}

.row-fluid.about-criterion-container p {
    padding: 0em;
    padding-left: 20px;
}

p.about-us-application-title-p {
    line-height: 26px;
    padding: 5px 28px 12px;
}
	
/* ********* END About Page ********* */
	

.row-fluid.about-criterion-hero h1{
    font-size: 34px;
}
}

@media (max-width: 979px) {
/* ********* HEADER ********* */

.criterion-sws-store #myCarousel .hero-content {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.criterion-sws-store #myCarousel .text-content {
  width: 44%;
}

.criterion-sws-store #myCarousel .image-content {
  width: 44%;
}

.criterion-sws-store #myCarousel .criterion-icons {
  flex-direction: row;
  justify-content: flex-end;
  width: 63%;
}

.criterion-sws-store #myCarousel .criterion-icons .icon{
  width: 25%;
  padding: 0 10px;
}

.criterion-sws-store #myCarousel .criterion-icons img{
  width: `100%; 
}

.criterion-sws-store #myCarousel .criterion-icons .made-in-canada {
    width: 14% !important;
    margin-right: 20px;
}

.criterion-sws-store #myCarousel .criterion-icons .made-in-canada img{
    width: 90% !important;
    padding-right: 15px;
}

.criterion-sws-store #myCarousel .criterion-icons .icon p {
    font-size: 10px;
    line-height: 11px;
    padding-left: 10px;
}


.criterion-sws-store #myCarousel h2 {
  font-size: 34px;
  line-height: 100%;
}


.nav-collapse.criterion-mobile-sub-nav .dropdown-menu {
        margin: 0 0px;
}

    
.navbar-inner.criterion-mobile {
    background: white;
}

.criterion-mobile .span4 {
    margin: 18px 10px 1px 0px;
    width: 42%;
    max-width: 316px;
}
  
.criterion-mobile img.brand.mobile-logo {
    width: 90%;
    padding: 0px;
    margin-left: 0px;
  }
  .criterion-mobile .span8 {
    width: auto;
    float: none;
    overflow: hidden;
    margin-top: 0.3em;
  }
  /* ********* NAV ********* */
 .navbar.navbar-inner-criterion-subsite .nav > li > a {
    font-size: 16px;
  } 
  .criterion-mobile .navbar-search {
    position: relative;
    float: left;
    margin-top: 32px;
    margin-bottom: 0 !important;
    max-width: 100%;
    margin-left: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    background-color: white;
  }
    .criterion-mobile .input-append input {
      border-radius: 4px 0 0 4px;
    }
    .criterion-mobile .input-append .btn {
      margin-left: -1px;
      border: 0px;
      padding: 6px 14px;
      background: linear-gradient(to bottom right, #FF9127, #ED1B23) !important; 
    }
    
    input#ProductSearch:focus:invalid:focus {
    border-color: var(--brand-criterion-light-grey);
    box-shadow: inset 0 0px 3px 1px white, 0 0px 4px white !important;
    }
    
    li#mobile-sws-1.nav-collapse.criterion-mobile-sub-nav.collapse,
	li#mobile-sws-2.nav-collapse.criterion-mobile-sub-nav.collapse,
	li#mobile-sws-3.nav-collapse.criterion-mobile-sub-nav.collapse
	{
    width: 100% !important;
	}
    
    .criterion-mobile-sub-nav#mobile-sws-1{
        /*border-top: 1px solid white;*/
    }
    .criterion-mobile-sub-nav#mobile-sws-2{
       /* border-top: 1px solid white;*/
    }
    .criterion-mobile-sub-nav{
        /*margin-top: -1px;*/
    }
      /****** English ******/
   
    .criterion-mobile #SWS-mobile-first-nav {
      width: 45.5%;
    }
    
    .criterion-mobile #SWS-mobile-second-nav {
      width: 45.7%;
      border-left: 2px solid white;
    }
    
    .criterion-mobile #SWS-mobile-hamburger-nav,  .criterion-mobile #SWS-mobile-hamburger-nav:hover {
      width: 8.2%;
    }
        
    

    
   
    /****** End English ******/

    /* HUMBURGER */

.criterion-mobile .sws-mobile-header-nav .btn-navbar {
      background-color: var(--brand-criterion-logo-blue) !important;
      border-image: initial !important;
      outline: none !important;
      margin: 0px;
      padding: 5px 0px;
      width: 100%;
      float: none;
      box-sizing: border-box;
      border-radius: 0;
      border: none;
      border-left: 1px solid white;
    }
    
    
    
    .navbar .criterion-mobile .btn-navbar .icon-bar,
    .navbar .fmark-10-mobile .btn-navbar:hover .icon-bar {
      width: 100%;
      max-width: 15px;
      background-color: white !important;
      box-shadow: none;
      margin: 3px auto 3px;
    }
    
     .row-fluid.about-criterion-3 .row-fluid.about-criterion-container h2, .row-fluid.about-criterion-container h2{
    font-size: 30px;
    }

 .criterion-sws-store #myCarousel .image-content img {
  height: 320px;
  width: auto;
}
.criterion-flex-container {
    display: flex;
    padding-top: 1em;
}
    
    /* END HAMBURGER */

    .criterion-mobile #mobile-sws-3 {
      top: -28px;
      background: none;
    } /** Moves the PRODUCTS section to the TOP and align it with the Hamburger button **/
  
  .criterion-mobile .sws-mobile-header-nav .navbar-criterion-subsite-mobile {
    background: transparent !important;
    width: 100%;
    margin-top: 16px !important;
    left: 0px !important;
    border-radius: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
  }
  
  .criterion-mobile .sws-mobile-header-nav .nav > li > a{
  background: var(--brand-criterion-logo-blue);
  font-size: 15px;
  color: white !important;
  padding: 4px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  font-weight: 700;
  font-family: var(--brand-header-criterion-font);
  }
  
   .criterion-mobile-french .sws-mobile-header-nav .nav > li > a{
  font-size: 14px;
  font-weight: 600;
  }

  
  li.home-btn.active-animation.dropdown a{
  padding-bottom: 3.5px;
  }
  
  .criterion-mobile .sws-mobile-header-nav .nav > li > a:hover,
  .criterion-mobile .sws-mobile-header-nav .nav > li > a:active{
   background: linear-gradient(to bottom right, #FF9127, #ED1B23) !important;
   font-weight: 700;
  }  
  
  .criterion-mobile li.home-btn.active-animation.dropdown:hover i.icon-home.icon-blue {
    background-image: url(/images/pages/hioki/hioki-glyphicons-halflings-white.png);
  }
  
  .criterion-mobile .sws-mobile-header-nav .nav > li:nth-child(3):hover a{
  margin-right: -1px;
  }
  
  .criterion-mobile .criterion-mobile-sub-nav .nav .dropdown-sup a{
  border-radius: 0px;
  text-align: left;
  padding-left: 10px;
  }
  
  .criterion-mobile .criterion-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle {
  width: 100%;
  border-radius: 0px;
  text-align: left;
  padding-left: 10px;

  }/** PRODUCTS DROPDOWN in "a" tag **/

  .criterion-mobile .criterion-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle:hover {
  width: 100%;
  }
  
  .criterion-mobile .criterion-mobile-sub-nav .nav .dropdown.open>.dropdown-toggle{
    background-color: var(--brand-criterion-logo-blue);
    color: white;
  }
    
  .criterion-mobile .criterion-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle:active {
    background-color: var(--brand-criterion-logo-blue) !important;
    color: white !important;    
  }
  .criterion-mobile .criterion-mobile-sub-nav .nav > li:nth-child(3):hover a{
    margin-right: 0px;
  } 
  
  
  /** DROPDOWN ABOUT US margin-right->0 **/
  .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > a,
  .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a,
  .criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a
  {
    font-size: 15px;
    line-height: 22px;
    background-color: transparent !important;
    padding: 5px 10px 5px 10px !important;
    color: black !important;
    background-image: none !important;
    font-weight: normal;
    margin-bottom: 2px;
    border: none;
    white-space: break-spaces;
    font-family: 'Oxanium', sans-serif;
  }
  
  .criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header > a
  {
    font-size: 16px;
    line-height: 25px;
    margin: 5px 0;
    font-weight: 700 !important;
    color: var(--brand-criterion-logo-blue) !important;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-radius: 0 !important;
  }
  
  
  .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header > a
  {
    font-size: 16px;
    line-height: 25px;
    margin: 5px 0;
    font-weight: 700 !important;
    color: var(--brand-criterion-logo-blue) !important;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-radius: 0 !important;
  }
  
    
   
  .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > a:hover, 
  .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a:hover,
  .criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a:hover,
  .criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > strong > a:hover{
    background: linear-gradient(to bottom right, #FF9127, #ED1B23) !important; 
    text-decoration: none;
    background-image: none; 
    color: white !important;
    border-radius: 0;
  }
  
  .criterion-mobile .accordion-inner .accordion-inner-sub{
    display: block;
    margin: 0 auto;
  }
  
  .criterion-mobile .accordion-inner .accordion-inner-sub li{
    list-style: none;
    }
  .criterion-mobile .criterion-mobile-sub-nav .dropdown-sup .dropdown-menu{
    margin-left: 0px;
  }
  .criterion-mobile .criterion-mobile-sub-nav .accordion-inner .mshow .nav{
    margin-bottom: 0px;
  }
  .criterion-mobile .criterion-mobile-sub-nav .nav {
    margin: 0;
    padding: 0;
  }
  .criterion-mobile #mobile-sws-1.criterion-mobile-sub-nav .nav, .criterion-mobile #mobile-sws-2.criterion-mobile-sub-nav .nav  {
    margin: 1px 0 0 0;
    padding: 10px 0 10px 0;
    width: 100%;
    float: right;
    box-sizing: border-box;
    border-top: none;
  }
  
  
  .criterion-mobile .sws-mobile-header-nav li.dropdown.dropdown-sup {
    border: none;
    clear: both;
    /*border-bottom: 1px solid white;*/
  }
  .criterion-mobile .sws-mobile-header-nav li:last-child.dropdown.dropdown-sup {
    margin-bottom: 0;
    border-bottom: none;
    /*border-top: 1px solid white;*/
  }
  .criterion-mobile .sws-mobile-header-nav li:first-child.dropdown.dropdown-sup ul.dropdown-menu .accordion-inner {
    width: 100%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: transparent;
  }
  .criterion-mobile #SWS-mobile-hamburger-nav, .criterion-mobile #SWS-mobile-hamburger-nav:hover {
        width: 8.4%;
    }
  

  /* ********* END HEADER ********* */
  
  
  /* ********* Carousel ********* */
  
 
.criterion-sws-store #myCarousel .carousel-inner.hero-section, .criterion-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 320px;
    box-shadow: none;
}

  
  /* ********* END Carousel ********* */

/* ********* BUTTONS ********* */
	/* Side Ad*/
.criterion-item img {
    max-height: 180px;
}

.row-fluid.about-criterion-container.products img {
    width: 60%;
    padding-left: 20px;
}

}
    /* End Side Ad*/
		
/* ********* END BUTTONS ********* */

@media (min-width: 768px) and (max-width: 979px) {
	
.carousel-top.criterion-sws-store {
  margin-top: -27px;
  padding-top:0px;
}	

 .criterion-mobile #mobile-sws-3 {
      background: white;
    }

}
  
@media (max-width: 767px) {
/* ********* HEADER ********* */

.criterion-sws-store #myCarousel .hero-section {
    padding-bottom: 3em;
}


.navbar-inner.criterion-mobile {
    padding: 0;
}

.criterion-mobile .navbar-search {
    margin-top: 10px;
}

.criterion-mobile .span8 {
    margin-top: 0.9em;
  }

.criterion-mobile .span4 {
    margin: 9px 10px 1px 0px;
}

.row-fluid .criterion-sws-store {
    background: linear-gradient(180deg, #F5F5F5 80%, #2466aa 80%);
}


.criterion-sws-store #myCarousel .carousel-inner.hero-section, .criterion-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 530px;
    box-shadow: none;
}


.criterion-sws-store #myCarousel .hero-content {
    flex-wrap: wrap;
    justify-content: center;
}

.criterion-sws-store #myCarousel .text-content {
  width: 100%;
  order: 3;
  background: var(--brand-criterion-logo-blue);
  margin-left: 0;
  padding-top: 0;
  padding-bottom: 20px;
  
}

.criterion-sws-store #myCarousel .image-content {
  width: 100%;
  order:1;
}

.criterion-sws-store #myCarousel .image-content img {
  padding-top: 0em;
  box-shadow: none;
}

.criterion-sws-store #myCarousel .criterion-icons {
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  order:2;
  background: var(--brand-criterion-logo-blue);
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: solid white 1px;
}

.criterion-sws-store #myCarousel .criterion-icons .icon{
  width: 20%;
}

.criterion-sws-store #myCarousel .criterion-icons img{
  width: `100%; 
  box-shadow: none;
}

.criterion-sws-store #myCarousel .criterion-icons .made-in-canada {
    width: 10% !important;
}

.criterion-sws-store #myCarousel .criterion-icons .made-in-canada img{
    width: 70% !important;
    box-shadow: none;
}

.criterion-sws-store #myCarousel .criterion-icons .icon p {
    font-size: 10px;
    line-height: 11px;
    padding-left: 10px;
}


.criterion-sws-store #myCarousel h2 {
  font-size: 24px;
  line-height: 110%;
  margin: 10px auto;
  text-align: center;
  color: white;
}

.criterion-sws-store #myCarousel h3 {
  font-size: 14px;
  line-height: 110%;
  margin: 0 auto;
  text-align: center;
  color: white;
  padding: 10px;
}

.criterion-sws-store #myCarousel .carousel-btn {
    align-self: center;
    margin-top:15px;
}


.row-fluid.ipad-view-setting.sws-criterion-buttons {
    margin-top: 0;
    padding-bottom: 0;
}
.row-fluid.criterion-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting{
    margin-top: 0;
    margin-bottom: 1em;
}	
.criterion-item.side-ad{
    display: none;
    visibility: hidden;
}
.sws-criterion-buttons .criterion-grid-container{
    grid-template-columns: repeat(2,1fr);
    margin: 0 auto 2em;
    width: 100%;
}
/*
.criterion-sws-store #myCarousel .hero-content{
    padding-top: 54px;
}
*/
.criterion-mobile #SWS-mobile-hamburger-nav {
    width: 8.35%;
}
.criterion-mobile .sws-mobile-header-nav .navbar-criterion-subsite-mobile {
    margin-top: 8px !important;
    margin-bottom: 10px;
    z-index: 9;
  }


	
/* ********* END HEADER ********* */
/* ********* BUTTONS ********* */
.criterion-flex-container{
    margin-bottom: 1em;
}
.criterion-application-title .application-title, .sws-criterion-buttons.sws-criterion-buttons-fr .application-title{
    font-size: 13px;
    line-height: 18px;
    padding-left: 8px;
}
.criterion-item img {
    height: 100px;
}	

.criterion-item {
    height: 10.5em !important;
}

.criterion-item{
    background-size: cover;
}


.row-fluid.ipad-view-setting.sws-criterion-buttons.sws-criterion-buttons-fr .faq-criterion-item:hover .criterion-application-title {
    width: 40%;
}

.row-fluid.about-criterion-hero h1{
    font-size: 30px;
}
	
/* ********* END BUTTONS ********* */
.row-fluid.about-criterion-container.products img {
    width: 70%;
    padding-left: 20px;
}
}

@media (min-width: 601px) and (max-width:767px) {
.sws-criterion-buttons .criterion-grid-container{
    gap: 2%;
}

.navbar.mshow.criterion-header-nav {
    padding-bottom: 0.5em;
}

.row-fluid.about-criterion-main-content p {
    padding-bottom: 0;
}
 .criterion-mobile-sub-nav{
        margin-top: 0px;
    }
    
    
  .criterion-mobile img.brand.mobile-logo {
    width: 90%;
}  


}

@media (max-width: 600px) {
     .criterion-mobile-sub-nav{
        /*margin-top: 1px;*/
    }
    
.row-fluid.about-criterion-container.products {
    display: none;
}

    
    
.criterion-sws-store #myCarousel .criterion-icons {
  display:none;
}    


.criterion-sws-store #myCarousel .text-content {
  padding: 1em;
  
}

.navbar.mshow.criterion-header-nav {
    padding-bottom: 0.5em;
}
.criterion-mobile img.brand.mobile-logo {
    width: 90%;
}


.criterion-mobile #SWS-mobile-first-nav {
      width: 45.5%;
}

.criterion-mobile #SWS-mobile-second-nav {
      width: 45.7%;
}

.criterion-mobile #SWS-mobile-hamburger-nav {
    width: 8.3% !important;
}

.criterion-mobile-french #SWS-mobile-first-nav {
      width: 45.5%;
}
.criterion-mobile-french #SWS-mobile-second-nav {
      width: 45.7%;
}


.about-us-blue-col {
    width: 60%;
    margin: 0 auto;
}
.about-us-blue-col:not(:first-child){
    margin-top: 3em;
}
p.about-us-application-title-p {
    line-height: 26px;
}
.about-us-application-title {
    padding-bottom: 1em;
}
li.home-btn.active-animation.dropdown {
    width: 14.2%;
}

.criterion-mobile .span4 {
    margin-top: 10px;
    width: 45%;
}

.criterion-mobile .span8 {
    margin-bottom: 0px;
    margin-top: 0.6em;
}

/****************/
.criterion-sws-store #myCarousel .image-content{
    order: -1;
    justify-content: center;
}
.criterion-sws-store #myCarousel .image-content img{
    max-height: 280px;
    height: 100%;
    box-shadow: none;
}
.criterion-sws-store #myCarousel h2{
    font-size: 24px !important;
    line-height: 30px;
    margin: 0 auto;
}
.criterion-sws-store #myCarousel h3{
    font-size: 16px;
    padding-bottom: 1em;
    line-height: 24px;
}

.criterion-sws-store #myCarousel .carousel-inner.hero-section {
    height: 430px;
    box-shadow: none;
}
.criterion-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 430px;
    box-shadow: none;
}

.criterion-sws-store #myCarousel .carousel-btn{
    padding: 10px 32px;
    font-size: 16px;
}
.row-fluid.ipad-view-setting.sws-criterion-buttons {
    margin-top: 1em;
    padding-bottom: 0em;
}
.row-fluid.criterion-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting{
    margin-top: 0;
    margin-bottom: 1em;
}	
.criterion-item.side-ad, .multi-gas-detector-pumps{
    display: none;
    visibility: hidden;
}
.sws-criterion-buttons .criterion-grid-container{
gap: 1%;
}
.criterion-sws-store #myCarousel .hero-content{
    grid-template-columns: 1fr;
}
.criterion-sws-store #myCarousel .hero-content{
    padding: 0;
}
/********/	
.row-fluid.about-criterion-main-content p {
    padding-bottom: 0em;
}	
.criterion-grid-container.about-us-grid-container {
    grid-template-columns: repeat(1, 1fr);
}

.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header.first-element, 
.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header.first-element>a {
	border-top: none !important;
	margin-top: 0 !important;
}

.navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element, .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element>a {
        border-top: none !important;
        margin-top: 0 !important;
}

.criterion-flex-container {
    padding-top: 0;
}
	
	
.row-fluid.about-criterion-hero h1{
    font-size: 26px;
}

.row-fluid.about-criterion-container h2{
    font-size: 22px;
}

.row-fluid.about-criterion-container {
    padding: 20px 10px;
}
	
}

@media (max-width: 511px) {
.row-fluid.ipad-view-setting.sws-criterion-buttons.sws-criterion-buttons-fr .faq-criterion-item:hover .criterion-application-title {
        width: 42%;
        padding-right: 14px;
    }
}

@media (min-width: 599px) and (max-width:980px){
ul.accordion-inner-sub.dropdown-menu, ul.accordion-inner.nav.mshow ul.accordion-inner-sub {
    width: 100%;
    display: inline-block !important;
    vertical-align: text-top;
    padding: 0 0 10px 0;
}   


.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header:first-child, 
.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header:first-child>a {
	border-top: none;
	margin-top: 0;
}

.navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header:first-child, .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header:first-child>a {
        border-top: none;
        margin-top: 0;
}

.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header.first-element, 
.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header.first-element>a {
	border-top: none;
	margin-top: 0;
}

.navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element, .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element>a {
        border-top: none;
        margin-top: 0;
}



}

@media (max-width: 480px) {
    
.criterion-flex-container{
    margin-bottom: 0;
}
    
.criterion-mobile .span4 {
    margin-top: 16px;
    width: 70%;
} 

.criterion-mobile img.brand.mobile-logo {
    width: 90%;
}
    
.criterion-mobile .navbar-search {
    margin-top: 9px;
}

.criterion-mobile .span8 {
    width: 100%;
}
              
ul.accordion-inner-sub.dropdown-menu:first-child, ul.accordion-inner.nav.mshow ul.accordion-inner-sub:first-child{
   /* border-bottom: solid 1px rgb(193 196 209 / 80%);*/
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.mob-view-all > a, .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li.mob-view-all > a{
    font-weight: 600 !important;
}

.criterion-item img {
    height: 80px;
}	

.qa img {
    height: 60px;
}

.criterion-application-title .application-title {
    font-size: 13px;
    line-height: 18px;
}

.criterion-item:not(.side-ad) {
    height: 7.5em;
}

.criterion-sws-store #myCarousel .carousel-inner.hero-section{
    min-height: 370px;
    max-height: 480px;
}
    
.criterion-sws-store #myCarousel .carousel-inner.hero-section-french {
    min-height: 402px;
    max-height: 480px;
}

li.home-btn.active-animation.dropdown {
    width: 14%;
}
    
.criterion-mobile #SWS-mobile-first-nav {
    width: 45.5%;
}
    
.criterion-mobile #SWS-mobile-second-nav {
    width: 45.1%;
}
    
.criterion-mobile #SWS-mobile-hamburger-nav {
    width: 8.6% !important;
}    
    
    
    
    .navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-first-nav {
        width: 45.5%;
    }
    .navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-second-nav {
      width: 45.1%;
    }
   
    .navbar-inner.criterion-mobile-french.criterion-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 13px;
    }
    .criterion-item {
        background-image: linear-gradient(to right, white, white 68%, var(--brand-criterion-light-grey) 5%, var(--brand-criterion-light-grey) 5%);
    }
	.row-fluid.about-criterion-hero h1 {
        font-size: 24px;
        line-height: 100%;
    }
    .row-fluid.about-criterion-hero.about-us-hero {
        height: 230px;
    }
    .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > a, .navbar-criterion-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a, .criterion-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a {
        font-size: 14px;
        line-height: 18px;
    }
    
    .criterion-sws-store #myCarousel h2{
    font-size: 17px !important;
    line-height: 23px;
}
.criterion-sws-store #myCarousel h3{
    font-size: 11px;
    padding-bottom: 0.7em;
    line-height: 13px;
}

.row-fluid.about-criterion-container p {
    font-size: 14px;
}
}

@media (max-width: 399px) {
    .row-fluid.ipad-view-setting.sws-criterion-buttons {
    padding-bottom: 2em !important;
}
    

.sws-criterion-buttons .criterion-grid-container {
    grid-template-columns: repeat(1, 1fr);
}

.criterion-item:not(.side-ad) {
    height: 10em;
    margin: 0 1em;
}

.criterion-application-title .application-title {
    font-size: 14px;
    line-height: 20px;
}

.criterion-item img {
    height: 9em;
}

.sws-criterion-buttons .criterion-grid-container {
    gap: 0.75%;
    margin-bottom: 1em;
}

.qa img {
    height: 6em;
}
	
li.home-btn.active-animation.dropdown {
    width: 12%;
}

.criterion-mobile #SWS-mobile-first-nav {
    width: 45%;
}
    
.criterion-mobile #SWS-mobile-second-nav {
    width: 45%;
}

.criterion-mobile #SWS-mobile-hamburger-nav {
    width: 9.3% !important;
}

.criterion-mobile img.brand.mobile-logo {
    width: 90%;
    padding-top: 3px;
}

.criterion-mobile .sws-mobile-header-nav .nav > li > a{
    font-size: 12px;
}
        
.navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-first-nav {
    width: 35%;
}

.navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-second-nav {
    width: 55%;
}
 
        
.navbar-inner.criterion-mobile-french.criterion-mobile .sws-mobile-header-nav .nav > li > a{
    font-size: 11px;    
}

.criterion-mobile .span4 {
    margin-top: 14px;
    width: 80%;
}
    
li.home-btn.active-animation.dropdown a {
    padding-bottom: 4px;
}

.about-us-blue-col {
    width: 80%;
}

.row-fluid.about-criterion-container h2 {
    line-height: 100%;
}

.row-fluid.about-criterion-main-content h2 {
    font-size: 32px;
    line-height: 108%;
}	
    
.criterion-sws-store #myCarousel .carousel-inner.hero-section-french {
    min-height: 406px;
    max-height: 480px;
}
}

@media (min-width: 330px) and (max-width:339px){

.criterion-sws-store #myCarousel .carousel-inner.hero-section {
        min-height: 432px;
        max-height: 480px;
    }
    .criterion-sws-store #myCarousel .text-content {
        padding: 2em !important;
        /* margin-left: 0; */
}
}

@media (max-width: 329px) {
li.home-btn.active-animation.dropdown {
    width: 10.5%;
}
   
.criterion-mobile #SWS-mobile-first-nav {
    width: 45%;
}
    
.criterion-mobile #SWS-mobile-second-nav {
    width: 44%;
}

.criterion-mobile #SWS-mobile-hamburger-nav {
    width: 10.1% !important;
}
    
.navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-first-nav {
    width: 35%;
}

.navbar-inner.criterion-mobile-french.criterion-mobile #SWS-mobile-second-nav {
    width: 54%;
}

.criterion-sws-store #myCarousel .carousel-inner.hero-section  {
    min-height: 460px;
    max-height: 480px;
}

.criterion-sws-store #myCarousel .text-content {
    padding: 2em !important;
}

.criterion-application-title .application-title {
        line-height: 18px;
    }
    .criterion-item:not(.side-ad) {
        height: 8em;
        margin: 0 0em;
    }
    .criterion-item img:not.qa img {
        height: 8em;
    }
    .criterion-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 11px;
        font-weight: 500;
    }
    
    .navbar-inner.criterion-mobile-french.criterion-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 10px;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

}
