:root {
  --brand-aemc-logo-yellow: #FFDE00;
  --brand-aemc-light-grey: #ececec;
  --brand-aemc-grey: #676767;
  --brand-header-aemc-font: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
  --body-aemc-font: "Arial", sans-serif;
}
/* ********* HEADER ********* */


.row-fluid .aemc-sws-store
{
    background-color: none;
    margin-top: 0px !important;
}


.aemc-header {
	width: 100vw !important;
	position: relative;
	margin-left: -50vw;
	left: 50%;
	box-sizing: border-box;
	padding: 0.2em 0;
	background-color: var(--brand-aemc-light-grey);
}

.aemc-header > .row-fluid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 7px;
}
.aemc-header .span4.logo-aemc-sws {
  width: 166px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.row-fluid.ipad-view-setting.sws-aemc-buttons {
    padding-bottom: 1em;
}

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

.navbar .nav.navbar-aemc-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-aemc-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-aemc-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 0.7em;
  text-align: center;
  line-height: 3px;
}

.navbar.navbar-inner-aemc-subsite .nav > :first-child > a {
    padding: 9px !important;
    display: inline-block;
    width: 0px;
    height: 0px;
    vertical-align: text-top;
    margin: 0em auto;
    -webkit-mask: url('/images/pages/aemc/aemc-home-icon.svg') no-repeat center;
  mask: url('/images/pages/aemc/aemc-home-icon.svg') no-repeat center;
  background-color: black; 
}

.navbar.navbar-inner-aemc-subsite .nav > :first-child > a:hover {
    background-color: var(--brand-aemc-grey); 
}


.aemc-header .row-fluid .navbar.navbar-inner-aemc-subsite {
float: right;
width: 90%;
}

.aemc-header .subheading-nav {
    width: 80% !important;
    float: right;
    margin-top: 17px !important;
}
.aemc-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 4px !important;
}
.navbar-aemc-subsite a.nav-home-icon > i {
  margin-top: 3px;
  display: inline-block;
  vertical-align: text-top;
}

.navbar.navbar-inner-aemc-subsite .nav > li > a {
  text-shadow: none;
  color: black;
  font-weight: 600;
  display: block;
  font-size: 18px;
  white-space: break-spaces;
  font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
}

.navbar.navbar-inner-aemc-subsite-french .nav > li > a {
  text-shadow: none;
  color: black;
  font-weight: 600;
  display: block;
  font-size: 19px;
  white-space: break-spaces;
  font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
}


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

.navbar.navbar-inner-aemc-subsite.navbar-inner-aemc-subsite-french.mhide .dropdown-menu.aemc-whole-cateogies-list-menu.industries{
    width:588px;
}

.navbar .nav>li>.aemc-whole-cateogies-list-menu.dropdown-menu:before, .navbar .nav>li>.aemc-whole-cateogies-list-menu.dropdown-menu:after {
	display: none;
}
.dropdown-menu.aemc-whole-cateogies-list-menu li a {
  white-space: break-spaces;
  padding: 8px 18px 5px 18px !important;
  line-height: 20px;
  font-weight: normal;
  font-size: 15px;
  color: var(--brand-aemc-grey);
  text-align: left;
  font-family: 'Arial', sans-serif;
}

.dropdown-menu.aemc-whole-cateogies-list-menu li a:hover {
  color: white !important;
  }

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


.aemc-whole-cateogies-list-menu ul:first-child{
    width: 50%;
}


.aemc-whole-cateogies-list-menu ul:last-child{
    padding-left: 10px;
}
.dropdown-header a {
    color: var(--brand-aemc-grey) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif !important;
}



.aemc-whole-cateogies-list-menu ul:nth-child(2) {
	border-left: none;
}

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


.dropdown-menu.aemc-whole-cateogies-list-menu {
	width: 740px;
	left: -40px;
}

.dropdown-menu.aemc-whole-cateogies-list-menu.industries {
	width: 575px;
	left: -40px;
}

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

.navbar-aemc-subsite .dropdown-menu li.dropdown-header {
	border-top: 1px solid #d5d5d5;
	margin-top: 5px;
}

.navbar-aemc-subsite .dropdown-menu li.dropdown-header>a, 
.navbar-aemc-subsite .dropdown-menu li.dropdown-header>a:hover {
	font-weight: 700 !important;
	color: #676767;
	padding: 5px 0px;
	text-transform: uppercase;
	margin-top: 5px;
}

.navbar-aemc-subsite .dropdown-menu li.dropdown-header:first-child, 
.navbar-aemc-subsite .dropdown-menu li.dropdown-header:first-child>a {
	border-top: none;
	margin-top: 0;
	font-size: 15px !important;
}

.navbar-aemc-subsite .hover-underline-animation a {
    padding: 15px 8px 16px !important;
   
}
/* NAV HOVER COLOURS */
.navbar.navbar-inner-aemc-subsite .nav > li > a:active,
.navbar .nav.navbar-aemc-subsite li.dropdown.open > .dropdown-toggle,
.navbar .nav.navbar-aemc-subsite li.dropdown.active > .dropdown-toggle,
.navbar .nav.navbar-aemc-subsite li.dropdown.open.active > .dropdown-toggle {
  color: white !important;
  background-color: var(--brand-aemc-grey);
}

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


.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: var(--brand-aemc-grey) !important;
}


.hover-underline-animation::before {
  display: block;
  content: ""; 
  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-aemc-grey) !important; /* 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-aemc-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-aemc-subsite .dropdown-menu li > a:hover,
.navbar-aemc-subsite .dropdown-menu li > a:focus,
.navbar-aemc-subsite .dropdown-submenu:hover > a,
.navbar-aemc-subsite .dropdown-submenu:focus > a,
.navbar-aemc-subsite .dropdown-menu li > a:active,
.navbar-aemc-subsite .dropdown-submenu:active > a {
  background-color: var(--brand-aemc-grey) !important;
  text-decoration: none;
  background-image: none;
}



.dropdown-menu.aemc-whole-cateogies-list-menu li a:focus {
  color: var(--brand-aemc-light-grey)!important;
  }

/*Search bar*/

.input-append.aemc-search input#ProductSearch {
    height: 20px !important;
}

.aemc-search form#ProductDisplayForm button.btn.btn-default {
  border: 1px solid var(--brand-aemc-grey);
  background-color: var(--brand-aemc-grey);
  border-radius: 0px;
  margin-top: 0px;
  height: 30px !important;
}
.aemc-search form#ProductDisplayForm button.btn.btn-default i.icon-search,
.aemc-mobile .mobile-search button .icon-search {
  margin-top: 0px !important;
  background-image: url(/img/glyphicons-halflings-white.png);
}
.aemc-search form#ProductDisplayForm button.btn.btn-default:hover
  i.icon-search {
  margin-top: 0px !important;
  background-image: url(/img/glyphicons-halflings.png);
  background-color: var(--brand-aemc-light-grey);
}

.aemc-search form#ProductDisplayForm button.btn.btn-default:hover {
    background-color: var(--brand-aemc-light-grey);
}


.aemc-search.input-append {
  margin-left: 0;
  padding-right: 5px;
}
.aemc-search input#ProductSearch.appendInputButton {
  border-radius: 0px;
  color: #676767;
  border: 1px solid var(--brand-aemc-grey);
  box-shadow: none !important;
}
.aemc-search input.refine-search.appendInputButton:focus,
.aemc-search input.refine-search.appendInputButton:focus:invalid:focus {
  color: #093254;
  box-shadow: inset 0 0px 3px 1px rgba(56,124,181, 10%),
    0 0px 4px rgba(82,168,236, 50%);
    border-color: #d8d8d8;
}
.aemc-search
  input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-aemc-grey);
}
.aemc-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-aemc-grey);
}
.aemc-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-aemc-grey);
}
.aemc-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-aemc-grey);
}
.aemc-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-aemc-grey);
}
.aemc-search input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-aemc-grey);
}

/* --- FRENCH --- */

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


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

.aemc-sws-store #myCarousel .hero-section {
  width: 100%;
  background-image: url(/images/pages/aemc/aemc-background.webp);
  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 */
.aemc-sws-store #myCarousel .carousel-inner.hero-section,
.aemc-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 380px; /* Adjust this value as needed */
  margin-top: -15px !important;
}
.aemc-sws-store #myCarousel .hero-content {
  max-width: 1170px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    align-items: start;
    padding: 54px 20px 0;
    height: auto;
    margin: 0 auto;
}
.aemc-sws-store #myCarousel .text-content {
  color: white;
  padding: 30px 92px 20px 14px;
}
.aemc-sws-store #myCarousel .image-content {
  display: flex;
  justify-content: center;
}
.aemc-sws-store #myCarousel .image-content img {
  height: 420px;
  margin-top: -54px;
}


.aemc-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.aemc-sws-store {
  margin-top: -15px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  margin-bottom: 0px;
}

/* Other Carousel Styles */
.aemc-sws-store #myCarousel h2 {
  font-size: 38px;
  color: black;
  line-height: 100%;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase !important;
  font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
}
.aemc-sws-store #myCarousel h3 {
  color: black;
  font-weight: 400;
  font-size: 20px;
  font-family: var(--body-aemc-font);
  padding-right: 1em;
  font-style: italic;
}

.first-line-heading {
    display: inline-block;
    vertical-align: middle;
}

.first-line-heading::before {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background-color: black;
    margin-right: 0.5em;
    margin-bottom: 0.1em;
    vertical-align: middle;
}

.aemc-sws-store #myCarousel .carousel-btn, .side-ad-btn{
  position: relative;
  color: black;
  background-color: var(--brand-aemc-logo-yellow);
  border-radius: 2px;
  font-size: 17px;
  padding: 13px 20px;
  display: inline-flex;
  font-family: var(--body-aemc-font);
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: padding-right 0.3s ease;
}

.side-ad-btn{
  margin: 1em 0 0 1em;
}

.aemc-sws-store #myCarousel .carousel-btn::after, .side-ad-btn::after {
    content: '\2192';
    font-size: 1em; /* Adjust size as needed */
    color: black;
    position: absolute;
    right: 5px; 
    top: 47%;
    transform: translateY(-50%);
    opacity: 0;
    transition: right 0.3s ease, opacity 0.3s ease;
}

.aemc-sws-store #myCarousel .carousel-btn:hover, .side-ad-btn:hover {
  padding-right: 35px;
}

.aemc-sws-store #myCarousel .carousel-btn:hover::after, .side-ad-btn:hover::after {
    right: 10px;
    opacity: 1; 
}


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

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

.sws-aemc-buttons .aemc-grid-item img{
    box-sizing: border-box;
    transition: 0.15s ease-in-out;
    max-height: 200px;
}
.aemc-application-title .application-title {
    font-size: 20px;
    font-weight: 500;
    color: black;
    text-align: left;
    padding-left: 12px;
    line-height: 20px;
    font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
    text-transform: uppercase;
}

.sws-aemc-buttons-fr .aemc-application-title .application-title {
    font-size: 19px;
    line-height: 19px;
}

.aemc-item.side-ad .aemc-side-ad-title p.application-title{
    font-size: 32px;
    font-weight: 600;
    color: black;
    text-align: left;
    line-height: 36px;
    font-family: "Roboto Condensed", "Archivo Narrow", "Open sans", sans-serif;
    text-transform: uppercase;
    margin:0 0.5em;
}

.text-with-indicator {
  position: relative; 
  padding-left: 20px; 
  display: inline-block; 
}

.text-with-indicator::before {
  content: ""; 
  position: absolute; 
  top: 0;
  left: 0;
  width: 15px; 
  height: 100%; 
  background-color: var(--brand-aemc-logo-yellow);
}


.aemc-flex-container{
    display: flex;
    padding-top: 2em;
}
.aemc-item{
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid black;
    background-color: var(--brand-aemc-light-grey);
}

.aemc-application-title{
    width: 100%;
    align-self: flex-start;
}


.aemc-item:not(.side-ad){
    height: 8em;
    position: relative; /* Crucial for positioning the absolutely placed image inside */
    overflow: hidden; 
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease; 
    cursor: pointer;
}

.aemc-item.comparison{
    position: relative; 
    overflow: visible; 
}

.overlay-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 190px; 
    height: auto; 
    object-fit: cover;
    z-index: 10; 
    opacity: 0.5; 
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out, transform 0.5s ease-in-out; 
    filter: grayscale(100%);
    transform: scale(1);
}

.overlay-image-comparison {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 240px; 
    height: auto; 
    object-fit: cover; 
    z-index: 10;
    opacity: 1; 
    filter: grayscale(100%);
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1);
}

.aemc-item:not(.side-ad) .aemc-application-title {
    position: relative; 
    z-index: 5; 
    color: inherit; 
    transition: color 0.3s ease;
}

/* Hover state: Show the image */
a:hover .aemc-item:not(.side-ad) .overlay-image {
    opacity: 1; 
    filter: grayscale(0%);
    transform: scale(1.05);
}

a:hover .aemc-item:not(.side-ad) .overlay-image-comparison {
    opacity: 1; 
    filter: grayscale(0%);
}

a:hover .aemc-item:not(.side-ad) .application-title  {
    background-image: linear-gradient(to right,
                                     transparent 0,      
                                     transparent 15px,   
                                     var(--brand-aemc-logo-yellow) 15px, 
                                     var(--brand-aemc-logo-yellow) 100%); 
    background-color: transparent;
    transition: background-size 0.5s ease, color 0.5s ease;
}

.aemc-item.side-ad{
    background-image: url(/images/pages/aemc/megohmmeter-6550.webp);
    background-repeat: no-repeat;
    background-position: -148% 118%;
    background-size: 110%;
    background-color: white;
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 5;
    flex-direction: column;
    border: 1.5px solid black;
    align-items: flex-start;
    display: flex;
}

.aemc-item.side-ad .aemc-application-img {
    align-self: flex-end !important;
}
.aemc-item.side-ad .aemc-application-img img {
    width: 27%;
    height: auto;
    margin: 0.7em 0 0 1.5em;
}

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


.comparison-tables {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap:3%;
    margin-top:1.2em;
}

/*Side ad*/
.aemc-side-ad-cta {
    margin: 0.5em 0 1.5em 0;
}

.aemc-item.side-ad .aemc-side-ad-subtitle p.application-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: black;
    text-align: left;
    margin: 1em;
    font-style: italic;
}

/*Buttons hover*/
.aemc-item:hover .application-title {
  transition: 0.3s ease-in-out;
}

/* --- FRENCH --- */

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

/* ********* About Page ********* */
.aemc-about .about-aemc-hero {
    background-image: url(/images/pages/aemc/aemc-background.webp);
    background-repeat: no-repeat;
    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%;
} 


.aemc-hero-container{
    margin-top: -15px;
    width: 100vw !important;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}
.row-fluid.about-aemc-hero h1{
    font-family: var(--brand-header-aemc-font);
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    line-height: 120%;
    padding-bottom: 1em;
    color: black;
    margin: 0px !important;
}
span.hero-h1{
    color: var(--brand-aemc-grey);
    text-transform: capitalize;
}
.about-aemc {
    margin-top: 0px;
    width: 100vw !important;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    background: white;
}

.about-aemc-3 {
    margin-top: 0px;
    width: 100vw !important;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    background-color:var(--brand-aemc-grey); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 25%; 
    border-bottom: black 3px solid;
}



.row-fluid.about-aemc-container p {
    color: var(--brand-aemc-grey);
    font-size: 16px;
    line-height: 150%;
    text-align: left;
    padding: 0 1em;
    font-family: 'Arial', sans-serif;
}
.row-fluid.about-aemc-container h2{
    color: var(--brand-aemc-grey);
    direction: ltr;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: left;
    margin: 0.5em 0.45em;
    padding: 0 1em;
    font-family: var(--brand-header-aemc-font);
    text-transform: uppercase;
}

.row-fluid.about-aemc-3 .row-fluid.about-aemc-container h2{
    color: white;
    direction: ltr;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: left;
    margin-top: 0;
    font-family: var(--brand-header-aemc-font);
    text-transform: uppercase;
}
 .row-fluid.about-aemc-3 .row-fluid.about-aemc-container p {
    color: white;
    font-size: 16px;
    line-height: 150%;
    text-align: left;
    font-family: 'Arial', sans-serif;
}
 

.row-fluid.about-aemc-container {
    margin: 0 auto;
    width: 1170px;
    padding: 40px 20px;
}
.row-fluid.about-aemc-main-content h2 {
    color: #093254;
    font-weight: 700;
    text-align: center;
    font-size: 38px;
    line-height: 120%;
    padding-top: 0.5em;
}
.row-fluid.about-aemc-main-content p {
    text-align: center;
    font-size: 18px;
    padding-bottom: 1em;
    font-family: 'Arial', sans-serif;
}
.aemc-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-aemc-hero.about-us-hero{
    height: 300px;
    margin-bottom: 0;
}
.row-fluid.about-aemc-main-content.last-p p {
    font-size: 16px;
    line-height: 150%;
}


/*********/


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


@media (max-width: 480px) {
.french-about-us .row-fluid.about-aemc-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) {
.aemc-item.side-ad{
    max-height: 402px !important;
}
}
*/

@media (min-width: 1199px) {
.about-us-logo img {
    width: 15%;
} 
}


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

.row-fluid.ipad-view-setting.sws-aemc-buttons {
    padding-bottom: 1em;
}
.dropdown-menu.aemc-whole-cateogies-list-menu {
	width: 622px;
}

.dropdown-menu.aemc-whole-cateogies-list-menu.industries {
	width: 485px;
}

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

.navbar.navbar-inner-aemc-subsite.navbar-inner-aemc-subsite-french.mhide .dropdown-menu.aemc-whole-cateogies-list-menu.industries{
    width:497px;
}

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

.navbar.navbar-inner-aemc-subsite-french .nav > li > a {
  font-size: 15px;
}
.navbar .nav.navbar-aemc-subsite > li {
  margin: auto 0.2em;
}

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

.aemc-header .span4.logo-aemc-sws {
    width: 160px;
    margin-top: 2px;
}
  
.aemc-header .row-fluid .navbar.navbar-inner-aemc-subsite{
    width: 94%;
}

.aemc-search.input-append {
    width: 87%;
}

.navbar-aemc-subsite .hover-underline-animation a {
    padding: 16px 6px 16px !important;
}

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

.aemc-header .subheading-nav {
    margin-top:17px !important;
}

.navbar .nav.navbar-aemc-subsite {
    display: -moz-box;
    display: -ms-flexbox;
}
.aemc-header .row-fluid .navbar .nav-collapse.sws.collapse {
    margin-top: 0.1em !important;
}	
.aemc-sws-store #myCarousel .text-content {
    margin-left: 7%;
    padding: 1.2em 0 0em 2em;
}

.aemc-header {
    padding: 0;
}
	
/* ********* NAV ********* */
		
/* ********* END HEADER ********* */

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

.sws-aemc-buttons .aemc-grid-container {
  margin-bottom: 23%;
}


.overlay-image {
    width: 140px; /* Make it fill the button horizontally */
}

.line {
    margin: 0 15px;
}

.aemc-application-title .application-title, .aemc-item.side-ad .aemc-side-ad-title p.application-title {
    font-size: 17px;
    line-height: 20px;
}


.sws-aemc-buttons-fr .aemc-application-title .application-title {
    font-size: 16px;
    line-height: 20px;
}

	/* Side Ad*/
.aemc-item.side-ad p.application-title {
    padding: 0 10px;
    font-size: 20px !important;
}
.aemc-item.side-ad .aemc-side-ad-subtitle p.application-subtitle {
    font-size: 15px;
    line-height: 17px;
    padding: 5px 5px;
}

.aemc-item.side-ad {
    background-position: -120% 108%;
}

    /* End Side Ad*/		
	
/* ********* About Page ********* */
.row-fluid.about-aemc-container {
    width: 90vw;
}

.row-fluid.about-aemc-container p {
    padding: 0em;
}

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


.row-fluid.about-aemc-container h2 {
    font-size: 30px;
    margin: 0.5em 0.05em;
}

.row-fluid.about-aemc-3 .row-fluid.about-aemc-container h2{
    font-size:30px;
    margin: 0.5em 0.05em;
}

}

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

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


.aemc-sws-store #myCarousel .hero-section-french h2 {
  font-size: 30px;
  line-height: 110%;
} 

.aemc-header-nav .navbar-inner.aemc-mobile {
    background-color: white !important;
}

.aemc-mobile .span4 {
    margin: 10px 10px 13px 0px;
    width: 25%;
    max-width: 250px;
}

.aemc-mobile img.brand.mobile-logo {
    width: 90%;
    padding: 0px;
    margin-left: 0px;
}

.aemc-mobile .span8 {
    width: auto;
    /*margin-bottom: 13px;*/
    float: none;
    overflow: hidden;
    margin-top: 0.05em;
}
  /* ********* NAV ********* */

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

.aemc-mobile .navbar-search {
    position: relative;
    float: left;
    margin-top: 22px;
    margin-bottom: 0px !important;
    max-width: 100%;
    margin-left: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    background-color: white;
    border: 1px solid var(--brand-aemc-grey);
    background-color: var(--brand-aemc-grey);
  }
  
    .aemc-mobile .input-append input {
    font-size: 13px;
    -webkit-border-radius:0 !important;
    box-shadow: none !important;
    }
    .aemc-mobile .input-append .btn {
      margin-left: -1px;
      border: 0;
      padding: 6px 14px;
      background-color: var(--brand-aemc-grey);
    }
    
    .aemc-mobile .input-append .btn:hover {
      background-color: var(--brand-aemc-grey);
    }
    
    
    input#ProductSearch:focus:invalid:focus {
    border-color: var(--brand-aemc-light-grey)!important;
    box-shadow: none !important;
    }
    
    li#mobile-sws-1.nav-collapse.aemc-mobile-sub-nav.collapse,
	li#mobile-sws-2.nav-collapse.aemc-mobile-sub-nav.collapse,
	li#mobile-sws-3.nav-collapse.aemc-mobile-sub-nav.collapse
	{
		width: 100% !important;
	}
    
    .aemc-mobile-sub-nav#mobile-sws-1{
        /*border-top: 1px solid white;*/
    }
    .aemc-mobile-sub-nav#mobile-sws-2{
       /* border-top: 1px solid white;*/
    }
    .aemc-mobile-sub-nav{
        /*margin-top: -1px;*/
    }
      /****** English ******/
   
    .aemc-mobile #SWS-mobile-first-nav {
      width: 30% !important;
      /*border-right: 1px solid white;*/
    }
    
    .aemc-mobile #SWS-mobile-second-nav {
      width: 30.25% !important;
      border-left: 1px solid white !important;
      border-right: 1px solid white !important;
    }
    
    .aemc-mobile #SWS-mobile-third-nav {
      width: 31% !important;
    }
    
    .aemc-mobile #SWS-mobile-hamburger-nav {
      width: 8.4% !important;
    }
        
    
    .aemc-mobile .aemc-mobile-sub-nav .nav {
    border-top:none !important;
}
    
   
    /****** End English ******/

    /* HUMBURGER */

    .aemc-mobile .sws-mobile-header-nav .btn-navbar {
      background-color: var(--brand-aemc-grey) !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 !important;
    }
    
    
    
    .navbar .aemc-mobile .btn-navbar .icon-bar,
    .navbar .aemc-mobile .btn-navbar:hover .icon-bar {
      width: 100%;
      max-width: 15px;
      background-color: white !important;
      box-shadow: none;
      margin: 3px auto 3px;
    }
    
    .navbar .aemc-mobile .btn-navbar:hover{
        background-color: black!important;
    }
    
     .row-fluid.about-aemc-3 .row-fluid.about-aemc-container h2, .row-fluid.about-aemc-container h2{
    font-size: 24px;
    }
    
    .about-us-logo img {
    width: 30%;
}

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

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

  
  li.home-btn.active-animation.dropdown a{
  padding-bottom: 3.5px;
  }
  
  .aemc-mobile .sws-mobile-header-nav .nav > li > a:hover,
  .aemc-mobile .sws-mobile-header-nav .nav > li > a:active, .aemc-mobile .sws-mobile-header-nav .nav > li > a:focus {
  background-color: black!important;
  color: white!important;
  font-weight: 800;
  font-size: 15px !important;
  box-shadow: none;
  }  
  
  .aemc-mobile li.home-btn.active-animation.dropdown:hover i.icon-home.icon-blue {
    background-image: url(/images/pages/aemc/aemc-glyphicons-halflings-white.png);
  }
  
  .aemc-mobile .sws-mobile-header-nav .nav > li:nth-child(3):hover a{
  margin-right: -1px;
  }
  
  .aemc-mobile .aemc-mobile-sub-nav .nav .dropdown-sup a{
  border-radius: 0px;
  text-align: left;
  padding-left: 10px;
  }
  
  .aemc-mobile .aemc-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle {
  width: 100%;
  border-radius: 0px;
  text-align: left;
  padding-left: 10px;

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

  .aemc-mobile .aemc-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle:hover {
  width: 100%;
  background-color: var(--brand-aemc-light-grey) !important;
  }
  .aemc-mobile .aemc-mobile-sub-nav .nav .dropdown.open>.dropdown-toggle{
    background-color: var(--brand-aemc-light-grey);
  }
    
  .aemc-mobile .aemc-mobile-sub-nav .nav .dropdown-sup .dropdown-toggle:active {
    background-color: var(--brand-aemc-light-grey) !important;
  }
  
  .aemc-mobile .aemc-mobile-sub-nav .nav > li:nth-child(3):hover a{
    margin-right: 0px;
  } 
  
  
  /** DROPDOWN ABOUT US margin-right->0 **/
  .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > a,
  .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a,
  .aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a
  {
    font-size: 15px;
    line-height: 22px;
    padding: 5px 0px 5px 10px !important;
    color: var(--brand-aemc-grey) !important;
    background-image: none !important;
    font-weight: normal;
    margin-bottom: 2px;
    border: none;
    white-space: break-spaces;
  }
  
  .aemc-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-aemc-grey) !important;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-radius: 0 !important;
  }
  
  
  .navbar-aemc-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-aemc-grey) !important;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-radius: 0 !important;
  }
  
    
   
  .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > a:hover, 
  .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a:hover,
  .aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a:hover,
  .aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > strong > a:hover{
    background-color: var(--brand-aemc-grey) !important;
    color: white !important;
    text-decoration: none;
    background-image: none; 
    border-radius: 0;
  }
  
  .aemc-mobile .sws-mobile-header-nav #mobile-sws-3 .nav > li > a {
        text-align: left;
        padding: 7px 0px 7px 15px !important;
        line-height: 14px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 0px;
        margin-bottom: 0px;
        color: white !important;
        box-shadow: none;
        background-color:var(--brand-aemc-grey)!important;
        border-bottom: 1px solid white!important;
    }
  
  .aemc-mobile .sws-mobile-header-nav #mobile-sws-3 .nav > li > a:hover, .aemc-mobile .sws-mobile-header-nav #mobile-sws-3 .nav > li > a:active, .aemc-mobile .sws-mobile-header-nav #mobile-sws-3 .nav > li > a:focus {
        background-color:black!important;
        text-transform: uppercase;
    }
  
  .aemc-mobile .accordion-inner .accordion-inner-sub{
    display: block;
    margin: 0 auto;
  }
  
  .aemc-mobile .accordion-inner .accordion-inner-sub li{
    list-style: none;
    }
  .aemc-mobile .aemc-mobile-sub-nav .dropdown-sup .dropdown-menu{
    margin-left: 0px;
  }
  .aemc-mobile .aemc-mobile-sub-nav .accordion-inner .mshow .nav{
    margin-bottom: 0px;
  }
  .aemc-mobile .aemc-mobile-sub-nav .nav {
    margin: 0;
    padding: 0;
  }
  .aemc-mobile #mobile-sws-1.aemc-mobile-sub-nav .nav, .aemc-mobile #mobile-sws-2.aemc-mobile-sub-nav .nav  {
    margin: 1px 0 0 0;
    padding: 10px;
    width: 100%;
    float: left;
    box-sizing: border-box;
    border-top: none;
    background-color: white;
    font-family: Arial, sans-serif;
  }

  
  .aemc-mobile .sws-mobile-header-nav li.dropdown.dropdown-sup {
    border: none;
    clear: both;
    /*border-bottom: 1px solid white;*/
  }
  .aemc-mobile .sws-mobile-header-nav li:last-child.dropdown.dropdown-sup {
    margin-bottom: 0;
    border-bottom: none;
    /*border-top: 1px solid white;*/
  }
  .aemc-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;
  }
  

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

.aemc-sws-store #myCarousel .carousel-btn { 
    font-size: 18px;
}

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

/* ********* BUTTONS ********* */
	/* Side Ad*/
	.sws-aemc-buttons .aemc-grid-container {
    margin-bottom: 22%;
}
.overlay-image-comparison {
    width: 220px;
}

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


@media (min-width: 840px) and (max-width: 910px) {
    .sws-aemc-buttons .aemc-grid-container {
    margin-bottom: 15%;
}

.aemc-item.side-ad {
    background-image: url(/images/pages/aemc/megohmmeter-6550.webp);
    background-position: 302% 144% !important;
    background-size: 88%;
}

}

@media (min-width: 768px) and (max-width: 910px) {
    .overlay-image {
        display: none;
    }
    .aemc-item:not(.side-ad) {
    height: 5em;
}

.overlay-image-comparison {
    width: 164px;
}
}

@media (min-width: 768px) and (max-width: 839px) {
    .sws-aemc-buttons .aemc-grid-container {
    margin-bottom: 17% !important;
}

.aemc-item.side-ad {
    background-image: url(/images/pages/aemc/megohmmeter-6550.webp);
    background-position: 302% 144% !important;
    background-size: 88%;
}
}

@media (min-width: 768px) and (max-width: 979px) {
	
.carousel-top.aemc-sws-store {
  margin-top: -15px !important;
}	

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

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

.navbar-inner.aemc-mobile {
    padding: 0 !important;
}


.aemc-mobile .navbar-search {
    margin-top: 19px;
}

.aemc-sws-store #myCarousel .hero-section-french h2 {
  font-size: 28px;
  line-height: 110%;
}

.aemc-sws-store #myCarousel .hero-section, .aemc-sws-store #myCarousel .image-content{
    justify-content: center;
}
.aemc-sws-store #myCarousel .image-content img{
    height: 300px;
    box-shadow: none;
    padding-top: 2em;
}
.aemc-sws-store #myCarousel .text-content{
    padding-top: 0;
}
.aemc-sws-store #myCarousel .carousel-inner.hero-section, .aemc-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 360px;
    box-shadow: none;
}
.aemc-sws-store #myCarousel .text-content{
    margin-left: 0;
}
.aemc-sws-store #myCarousel .carousel-btn{
    padding: 12px 34px;
}
.row-fluid.ipad-view-setting.sws-aemc-buttons {
    margin-top: 0;
    padding-bottom: 1.5em;
}
.row-fluid.aemc-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting{
    margin-top: 0;
    margin-bottom: 1em;
}	
.aemc-item.side-ad, .multi-gas-detector-pumps{
    display: none;
    visibility: hidden;
}
.sws-aemc-buttons .aemc-grid-container{
    grid-template-columns: repeat(2,1fr);
    margin: 0 auto 2em;
    width: 96%;
}
.aemc-sws-store #myCarousel .hero-content{
    padding-top: 54px;
}
.aemc-mobile #SWS-mobile-hamburger-nav {
    width: 8.35% !important;
}
.aemc-mobile .sws-mobile-header-nav .navbar-aemc-subsite-mobile {
    margin-top: 8px !important;
    margin-bottom: 10px;
    z-index: 9;
  }


	
/* ********* END HEADER ********* */
/* ********* BUTTONS ********* */
.aemc-flex-container{
    margin-bottom: 2em;
}

.comparison-tables {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

.aemc-application-title .application-title{
    font-size: 15px;
    line-height: 18px;
    padding-left: 8px;
}

.aemc-item img {
    height: 180px;
}	

.aemc-item.comparison img {
    height: 108px;
}

.overlay-image {
    width: 160px; /* Make it fill the button horizontally */
}

.overlay-image-comparison {
    width: 208px; 
    opacity: 0.5;
}

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

    .about-us-logo img {
    width: 40%;
}
	
/* ********* END BUTTONS ********* */
}

@media (min-width: 601px) and (max-width:767px) {

.sws-aemc-buttons .aemc-grid-container{
    grid-template-columns: repeat(2,1fr);
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 23%;
    width: 96%;
    gap: 2%;
}

.overlay-image-comparison {
    z-index: 1; 
    }
    
    
.comparison-tables {
    gap:2%;
}
.navbar.mshow.aemc-header-nav {
    padding-bottom: 0.5em;
}

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

.aemc-sws-store #myCarousel .image-content img{
    height: 280px;
    box-shadow: none;
    margin-top: -6em;
    width: auto;
    }

}

@media (max-width: 600px) {
     .aemc-mobile-sub-nav{
        /*margin-top: 1px;*/
    }

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

.aemc-mobile #SWS-mobile-first-nav {
      width: 30% !important;
}
.aemc-mobile #SWS-mobile-second-nav {
      width: 31.25% !important;
}
.aemc-mobile #SWS-mobile-third-nav {
      width: 30% !important;
}
.aemc-mobile #SWS-mobile-hamburger-nav {
    width: 8.15% !important;
}

.aemc-mobile-french #SWS-mobile-first-nav {
      width: 28% !important;
}
.aemc-mobile-french #SWS-mobile-second-nav {
      width: 36.25% !important;
}
.aemc-mobile-french #SWS-mobile-third-nav {
      width: 27% !important;
}

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

.aemc-mobile .span4 {
    margin-top: 9px;
    width: 32%;
}

.aemc-mobile .span8 {
    margin-bottom: 0px;
}

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

.aemc-sws-store #myCarousel .text-content{
    padding: 0.2em 2em 0em 2em !important;
    margin-left: 0;
}
.aemc-sws-store #myCarousel .carousel-inner.hero-section {
    height: 400px;
    box-shadow: none;
    justify-content: flex-start;
}
.aemc-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 396px;
    box-shadow: none;
    justify-content: flex-start;
}

.aemc-sws-store #myCarousel .carousel-btn{
    padding: 10px 32px;
    font-size: 16px;
}
.row-fluid.ipad-view-setting.sws-aemc-buttons {
    margin-top: 1em;
    padding-bottom: 1em;
}
.row-fluid.aemc-sws-store.carousel-top ol.carousel-indicators.mshow.ipad-view-setting{
    margin-top: 0;
    margin-bottom: 1em;
}	
.aemc-item.side-ad {
    display: none;
    visibility: hidden;
}
.sws-aemc-buttons .aemc-grid-container{
gap: 1%;
}

.comparison-tables {
    gap:1%;
    margin-top: 4em; 
}

.aemc-sws-store #myCarousel .hero-content{
    grid-template-columns: 1fr;
}
.aemc-sws-store #myCarousel .hero-content{
    padding: 0;
}
/********/	
.row-fluid.about-aemc-main-content p {
    padding-bottom: 0em;
}	
.aemc-grid-container.about-us-grid-container {
    grid-template-columns: repeat(1, 1fr);
}

.aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.dropdown-header.first-element, 
.aemc-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-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element, .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li.dropdown-header.first-element>a {
        border-top: none !important;
        margin-top: 0 !important;
}

    .about-us-logo img {
    width: 50%;
}
.aemc-flex-container {
    padding-top: 0;
}


.aemc-item:not(.side-ad){
    height: 7em;
}

.aemc-item img {
    height: 110px;
}	


.overlay-image {
    width: 118px; /* Make it fill the button horizontally */
}

.overlay-image-comparison {
    z-index: 1;
    width: 160px;
}

.aemc-item.comparison img {
    height: 80px;
}


.aemc-application-title .application-title {
    font-size: 14px;
}

	
}

@media (max-width: 511px) {
.row-fluid.ipad-view-setting.sws-aemc-buttons.sws-aemc-buttons-fr .faq-aemc-item:hover .aemc-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: 44%;
    display: inline-block !important;
    vertical-align: text-top;
    padding: 0 10px 10px 10px;
}   


ul.accordion-inner-sub.dropdown-menu, ul.accordion-inner.nav.mshow ul.accordion-inner-sub:first-child {
	border-right: 1px solid #f1f1f2;
} 
ul.accordion-inner-sub.dropdown-menu, ul.accordion-inner.nav.mshow ul.accordion-inner-sub:last-child {
	border-right: none;
} 

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

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

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

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

}

@media (max-width: 480px) {
    
    .aemc-mobile .span4 {
    margin-top: 8px;
    margin-bottom: 6px;
    width: 100%;
    
}

.aemc-mobile .span8 {
    width: 100%;
}
    .aemc-mobile img.brand.mobile-logo {
        width: 70%;
        }
    
    .aemc-mobile .navbar-search {
        margin-top: 11px;
        } 
    
    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: 0px !important;
    margin-bottom: 0px !important;
    }
    .aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li.mob-view-all > a, .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li.mob-view-all > a{
        font-weight: 600 !important;
    }
    
    .aemc-sws-store #myCarousel .carousel-inner.hero-section{
        min-height: 370px;
        max-height: 480px;
    }
    
    .aemc-sws-store #myCarousel .carousel-inner.hero-section-french {s
        min-height: 402px;
        max-height: 480px;
    }

    li.home-btn.active-animation.dropdown {
        width: 14% !important;
    }
    
     .aemc-mobile #SWS-mobile-first-nav {
      width: 30.3% !important;
    }
    
    .aemc-mobile #SWS-mobile-second-nav {
      width: 33.5% !important;
    }
    
    .aemc-mobile #SWS-mobile-third-nav {
      width: 27% !important;
    }
    
    
    
    .aemc-mobile #SWS-mobile-hamburger-nav {
      width: 8.4% !important;
      }    
    
    
    
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-first-nav {
        width: 26.75% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-second-nav {
      width: 33.3% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-third-nav {
        width: 30.75% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 13px;
        font-weight: 400 !important;
    }
    
    .aemc-mobile .sws-mobile-header-nav .nav > li > a {
    font-weight: 400 !important;
}

	.row-fluid.about-aemc-hero h1 {
        font-size: 22px;
        line-height: 100%;
    }
    .row-fluid.about-aemc-hero.about-us-hero {
        height: 230px;
    }
    .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > a, .navbar-aemc-subsite-mobile .nav-collapse .open > .dropdown-menu li > strong > a, .aemc-mobile-sub-nav .accordion-inner .accordion-inner-sub.dropdown-menu li > a {
        font-size: 14px;
        line-height: 18px;
    }
    
    .aemc-mobile .sws-mobile-header-nav .nav > li > a:hover, .aemc-mobile .sws-mobile-header-nav .nav > li > a:active, .aemc-mobile .sws-mobile-header-nav .nav > li > a:focus {
    font-size: 14px !important;
}
    
    .aemc-sws-store #myCarousel h2{
    font-size: 22px !important;
    line-height: 24px;
}


.aemc-sws-store #myCarousel h3{
    font-size: 15px;
    padding-bottom: 0;
    line-height: 20px;
}

.row-fluid.about-aemc-container p, .row-fluid.about-aemc-3 .row-fluid.about-aemc-container p {
    font-size: 14px;
}

.sws-aemc-buttons .aemc-grid-container {
    grid-template-columns: repeat(1, 1fr);
    width: 96%;
    margin-bottom: 53%;
}
 
 .comparison-tables {
    grid-template-columns: repeat(1, 1fr);
    gap:8%;
    margin-top: 6em;
    margin-bottom: 1em;
}


    .aemc-item:not(.side-ad) {
        height: 8em;
        margin: 0 1em;
    }
    
	.aemc-application-title .application-title {
    font-size: 18px;
}
.aemc-item img {
    height: 160px;
}

.overlay-image {
    width: 140px;
}
}


@media (min-width: 430px) and (max-width: 450px){
 .comparison-tables {
    grid-template-columns: repeat(1, 1fr);
    gap:8%;
    margin-top: 7em;
}
} 
 
 
@media (min-width: 400px) and (max-width: 429px){
 .comparison-tables {
    grid-template-columns: repeat(1, 1fr);
    gap:8%;
    margin-top: 8em;
}
} 
 
@media (max-width: 399px) {
    .row-fluid.ipad-view-setting.sws-aemc-buttons {
    padding-bottom: 2em !important;
}
    

	.sws-aemc-buttons .aemc-grid-container {
        grid-template-columns: repeat(1, 1fr);
        width: 96%;
    }
    .aemc-item:not(.side-ad) {
        height: 7em;
        margin: 0 1em;
    }
    .aemc-application-title .application-title {
        font-size: 18px;
        line-height: 20px;
    }
    .aemc-item img {
        height: 9em;
    }
    .sws-aemc-buttons .aemc-grid-container {
        gap: 0.75%;
        margin-bottom: 1em;
    }
    .comparison-tables {
        margin-top:15em;
    }
	
	li.home-btn.active-animation.dropdown {
        width: 12% !important;
    }
    .aemc-mobile #SWS-mobile-first-nav {
        width: 30% !important;
    }
    .aemc-mobile #SWS-mobile-second-nav {
        width: 33% !important;
    }

    .aemc-mobile #SWS-mobile-third-nav {
        width: 27% !important;
    }
    .aemc-mobile #SWS-mobile-hamburger-nav {
        width: 9.3% !important;
    }
    .aemc-mobile img.brand.mobile-logo {
        width: 90%;
        padding-top: 3px;
    }
    .aemc-mobile .sws-mobile-header-nav .nav > li > a{
        font-size: 11px;
        }
        
        
    .aemc-mobile .sws-mobile-header-nav .nav > li > a:hover, .aemc-mobile .sws-mobile-header-nav .nav > li > a:active, .aemc-mobile .sws-mobile-header-nav .nav > li > a:focus {
    font-size: 11px !important;
}   
        
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-first-nav {
        width: 25.75% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-second-nav {
      width: 31.25% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-third-nav {
        width: 33% !important;
    }    
        
        
        
    .navbar-inner.aemc-mobile-french.aemc-mobile .sws-mobile-header-nav .nav > li > a{
        font-size: 11px;
        
    }
    .aemc-mobile .span4 {
        margin-top: 14px;
        width: 50%;
    }
    li.home-btn.active-animation.dropdown a {
        padding-bottom: 4px;
    }
    .about-us-blue-col {
        width: 80%;
    }
    .row-fluid.about-aemc-container h2 {
        line-height: 100%;
    }
    .row-fluid.about-aemc-main-content h2 {
        font-size: 32px;
        line-height: 108%;
}	
    
     .aemc-sws-store #myCarousel .carousel-inner.hero-section-french {
        min-height: 406px;
        max-height: 480px;
    }
	.row-fluid.about-aemc-hero h1{
    font-size: 20px;
}
}

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

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

.comparison-tables {
        margin-top:15em;
    }
}
@media (max-width: 329px) {
    li.home-btn.active-animation.dropdown {
        width: 10.5% !important;
    }
   
    .aemc-mobile #SWS-mobile-first-nav {
        width: 27% !important;
    }
    .aemc-mobile #SWS-mobile-second-nav {
        width: 33% !important;
    }

    .aemc-mobile #SWS-mobile-third-nav {
        width: 30% !important;
    }
    .aemc-mobile #SWS-mobile-hamburger-nav {
        width: 9.1% !important;
    }
    
     .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-first-nav {
        width: 27.9% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-second-nav {
      width: 30.7% !important;
    }
    .navbar-inner.aemc-mobile-french.aemc-mobile #SWS-mobile-third-nav {
        width: 30.45% !important;
    }

    .aemc-sws-store #myCarousel .carousel-inner.hero-section  {
        min-height: 460px;
        max-height: 480px;
    }
     .aemc-sws-store #myCarousel .text-content {
        padding: 2em !important;
        
        /* margin-left: 0; */
    }
    .aemc-application-title .application-title {
        line-height: 18px;
    }
    .aemc-item:not(.side-ad) {
        height: 8em;
        margin: 0 0em;
    }
    .aemc-item img:not.qa img {
        height: 8em;
    }
    .aemc-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 11px;
        font-weight: 500;
    }
    
    .navbar-inner.aemc-mobile-french.aemc-mobile .sws-mobile-header-nav .nav > li > a {
        font-size: 9px;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
    
    .comparison-tables {
        margin-top:17em;
    }

}
