:root {
  --brand-dwyer-primary-color: #262B69; /* primary color */
  --brand-dwyer-secondary-color: #E11E25; /* secondary color */
  --white-dwyer-color: #FFFFFF; /* white */ 
  --body-dwyer-font: Arial, sans-serif;
}
html {
  font-size: 16px; /* Base size */
}
html {
  -webkit-font-smoothing: antialiased; /* For WebKit-based browsers */
  -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
}
.content {
    padding-bottom: 0;
}
/**************************************     HEADER     ************************************************/
.container .dwyer-header {
  font-family: var(--body-dwyer-font);
}
.dwyer-header {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  box-sizing: border-box;
  padding: 1em 0;
  border-bottom: solid 2.5px #E11E25;
}

/* Ensure header text is above the ::before */
.dwyer-header > * {
  position: relative;
  z-index: 2;
}
.dwyer-header > .row-fluid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 7px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.dwyer-header .span3.logo-dwyer-sws img.brandlogo{
  width: 100%;
  margin-left: 0px;
}
.dwyer-header .row-fluid .navbar.navbar-inner-dwyer-subsite {
  float: right;
}
.dwyer-header .subheading-nav {
  float: right;
  margin-top: 10px;
}
.dwyer-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 5px !important;
  width: 53rem;
}

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

.navbar .nav.navbar-dwyer-subsite {
  margin-right: 0;
  width: 93.5%;
  font-family: var(--body-dwyer-font);

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

  /* Vendor prefixes for flex-wrap */
  -webkit-box-flex-wrap: nowrap;   /* Safari 6-9 */
  -moz-box-flex-wrap: nowrap;      /* Firefox 19-28 */
  -webkit-flex-wrap: nowrap;       /* Safari 9+ */
  -ms-flex-wrap: nowrap;           /* IE 10 */
  flex-wrap: nowrap;               /* Standard flex-wrap */
  
  /*justify-content: space-between;   Distribute items */
  justify-content: flex-end;  /* Distribute items */
  align-items: center;             /* Align vertically */
}
.navbar.navbar-inner-dwyer-subsite-french .nav.navbar-dwyer-subsite {
  margin-right: 0;
  width: 85%;
  font-family: var(--body-dwyer-font);

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

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

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

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

.navbar.navbar-inner-dwyer-subsite-french .nav.navbar-dwyer-subsite > li {
  /* Vendor prefixes for flex-grow, flex-shrink, and flex-basis */
  -webkit-box-flex: 0;     /* Safari 6-9 */
  -moz-box-flex: 0;        /* Firefox 19-28 */
  -webkit-flex: 0;         /* Safari 9+ */
  -ms-flex: 0;            /* IE 10 */
  flex: 0;                /* Same as above, use consistent flex values */
  margin: 0 0.6em;        /* Adjust spacing for the French navbar */
  text-align: center;
}
.navbar.navbar-inner-dwyer-subsite .nav > li > a {
  text-shadow: none;
  color: var(--white-dwyer-color);
  font-weight: 400;
  display: block;
  font-size: 17px;
  white-space: nowrap;
  font-family: var(--body-dwyer-font);
  text-transform: none;
}
.navbar.navbar-inner-dwyer-subsite .nav > li > a:hover {
  color: var(--white-dwyer-color);
}
.navbar.navbar-inner-dwyer-subsite .nav > li > a > img{
  width: 17px;
  height: auto;
  margin-bottom: 3px;
}
.navbar .nav.navbar-dwyer-subsite > li:last-child {
  flex-grow: 2; /* Allow more space for the search bar */
  max-width: 270px; /* Constrain the search bar width */
}
.navbar.navbar-inner-dwyer-subsite-french .nav.navbar-dwyer-subsite > li:last-child {
  flex-grow: 1;
  max-width: 255px;
}
.dwyer-header .navbar .nav>li>a{
  padding: 2px 11px;
}
/*nav items*/
.navbar-inner-dwyer-subsite .nav>li>a {
    padding: 2px 46px;
}
ul.nav.navbar-dwyer-subsite.pull-right .hover-underline-animation.active-animation, li.home-btn.active-animation{
  background-color: var(--brand-dwyer-primary-color);
  border-radius: 5px;
  padding: 0.43em;
}
.navbar-dwyer-subsite li.dropdown.open>.dropdown-toggle{
  background-color: var(--brand-dwyer-primary-color) !important;
}
.navbar .nav>li>.dwyer-whole-cateogies-list-menu.dropdown-menu:before, 
.navbar .nav>li>.dwyer-whole-cateogies-list-menu.dropdown-menu:after {
  display: none;
} 
.dwyer-header .navbar .nav li.dropdown.open>.dropdown-toggle{
  background-color: transparent;
}
.dwyer-header  .navbar .nav li.dropdown.open>.dropdown-toggle{
color: white;
}
.dropdown-menu.dwyer-whole-cateogies-list-menu{
  width: 926px;
  left: -472px !important;
  border-radius: 3px;
  background-color: var(--white-dwyer-color);
  font-family: var(--body-dwyer-font);
  opacity: 1;
  border: 1px solid var(--brand-dwyer-primary-color);
  top: 45px;
  text-align: left;
  padding: 5px 14px 0px;
}
.dropdown-menu.dwyer-whole-cateogies-list-menu .dwyer-flex-dropdown{
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.navbar.navbar-inner-dwyer-subsite.navbar-inner-dwyer-subsite-french.mhide .dropdown-menu.dwyer-whole-cateogies-list-menu{
  width: 1020px;
  left: -524px !important;
}
.dwyer-whole-cateogies-list-menu ul {
  list-style: none;
  margin-left: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 5px;
  box-sizing: border-box;
  padding-right: 5px;
  width: 100%;
  float: left;
  text-align: left;
}
.dwyer-whole-cateogies-list-menu li{
  flex: 1;
  padding-left: 4px;
}
/* The second column has a width that depends on its maximum content. */
.dwyer-whole-cateogies-list-menu ul.second-col{
  width: max-content;
}
.dwyer-whole-cateogies-list-menu .dropdown-header {
  line-height: 1.5;
  font-family: var(--body-dwyer-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-dwyer-primary-color);
  text-align: left;
  display: block;
  text-decoration: none;
}
.navbar-dwyer-subsite .dropdown-menu li.dropdown-header>a {
  font-weight: 700 !important;
  color: var(--brand-dwyer-primary-color);
  text-transform: uppercase;
  border-bottom: 1.75px solid var(--brand-dwyer-primary-color);
  text-decoration: none;
  border-image-slice: 1;
  padding: 5px;
  width: fit-content;
} 
.nav.navbar-dwyer-subsite .dropdown-menu li>a {
  padding: 5px;
  clear: both;
  line-height: 1.5;
}
.navbar-dwyer-subsite .dropdown-menu li>a:hover,
.navbar-dwyer-subsite .dropdown-menu li>a:active
.navbar-dwyer-subsite .dropdown-menu li>a:focus{
  color: var(--brand-dwyer-primary-color) !important;
  background-color: transparent !important;
} 
.navbar-dwyer-subsite ul.dropdown-menu.pull-left{
  left: 100% !important;
  right: auto !important;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  width: auto;
  border-radius: 0px !important;
  border: 1px solid var(--brand-dwyer-primary-color);
  padding: 10px;
}
.navbar-dwyer-subsite .dropdown-menu li>a:hover, 
.dropdown-menu li>a:focus, 
.dropdown-submenu:hover>a {
  font-weight: normal;
  color: var(--brand-dwyer-primary-color) !important;
  background-color: #f5f5f5 !important;
}
.nav.navbar-dwyer-subsite .dropdown-submenu>a:after {
  display: none;
  float: right;
  width: 0;
  height: 0;
  margin-top: 5px;
  margin-right: -17px;
  border-color: transparent;
  border-left-color: #ccc;
  border-style: solid;
  border-width: 5px 0px 5px 5px;
  content: " ";
}
.nav.navbar-dwyer-subsite .dropdown-submenu .chevron {
  float: right;
  font-size: 16px;
  margin-top: -1px;
  color: var(--brand-dwyer-secondary-color);
  margin-left: 10px;
  font-weight: 700;
  transition: transform 0.3s ease;
}
/* Move it slightly to the right when hovering the link */
.dropdown-submenu>.dropdown-toggle:hover .chevron {
  transform: translateX(4px); /* or 6px if you want more movement */
  color: var(--brand-dwyer-primary-color);
}

/**************************************     SEARCH BAR     ************************************************/
.dwyer-search form#ProductDisplayForm button.btn.btn-default i.icon-search,
.dwyer-mobile .mobile-search button .icon-search {
  margin-top: 1px !important;
  background-image: url(/images/pages/dwyer/dwyer-search-btn.svg);
}
.dwyer-search .btn{
  padding: 6px 6px;
}
.input-append.dwyer-search input{
  font-size: 15px;
}
/* Style for the search button */
.dwyer-search form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-dwyer-primary-color);
  border: none;
  border-radius: 18%;
  width: 36px;
  height: 36px !important;
  position: absolute; 
  right: 2px; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 2; 
}
/* Search bar container */
.dwyer-search.input-append {
  margin-left: auto;
  margin-right: 0;
  position: absolute;
  right: 0;
  transform: translate(0, -50%);
  background: var(--brand-dwyer-primary-color);
  height: 36px;
  border-radius: 5px;
  padding: 0;
  width: 35%; /* Default width */
  transform-origin: right;
}
.input-append.dwyer-search.dwyer-search-fr{
  width: 36.5%;
}
/* Input Field */
.dwyer-search input#ProductSearch.appendInputButton {
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  background-color: transparent;
  padding: 7px;
  width: 100% !important;
  margin-right: 0px;
  margin-left: 0px;
  text-align: center;
}
/* Input focus styling */
.dwyer-search input.refine-search.appendInputButton:focus {
  color: #cdd2d6;
  box-shadow: none;
  border-color: var(--brand-dwyer-primary-color);
}
.dwyer-search input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: #cdd2d6;
}
.dwyer-search input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: #cdd2d6;
}
.dwyer-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: #cdd2d6;
}
.dwyer-search input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: #cdd2d6;
}
.dwyer-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: #cdd2d6;
}
.dwyer-search input.refine-search.appendInputButton::placeholder {
  color: #cdd2d6;
}

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

/**************************************     HEROS     ************************************************/
.carousel-top.dwyer-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 0em;
  margin-bottom: 0;
}
/* Set a fixed height for the carousel inner to prevent jumping */
.dwyer-sws-store #myCarousel .carousel-inner.hero-section,
.dwyer-sws-store #myCarousel .carousel-inner.hero-section-french{
  height: 450px;
}
.dwyer-sws-store.carousel-top .carousel.slide{
  margin-bottom: 0;
}
.dwyer-sws-store #myCarousel .hero-section {
  width: 100%;
  background-image: url(/images/pages/dwyer/dwyer-background.webp);
  background-size: cover;
  background-position: center bottom;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -15px;
}
.dwyer-sws-store #myCarousel .hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  padding: 4em 20px;
  height: fit-content;
  margin: 0 auto;
}
.dwyer-sws-store #myCarousel .text-content {
  padding: 0px 30px;
  width: 100%;
  max-width: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
}
.dwyer-sws-store #myCarousel .image-content{
  width: 100%;
  text-align: center;
}
.dwyer-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 400px;
}
.carousel-control-new {
  color: var(--white-dwyer-color) !important;
  background-color: var(--brand-dwyer-primary-color);
  border-radius: 50% !important; /* Rounded shape */
  width: 40px !important; /* Width of the circle */
  height: 40px !important; /* Height of the circle */
  line-height: 40px; /* Center the arrow vertically */
  text-align: center; /* Center the arrow horizontally */
  font-size: 20px; /* Adjust the size of the arrow */
  font-weight: lighter;
  text-shadow: none;
  position: absolute; /* Position the arrows */
  top: 50%; /* Position vertically in the middle */
  transform: translateY(-50%); /* Adjust vertical position */
  transition: 0.3s ease-in-out;
}
.carousel-control-new.left {
  left: 2rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 2rem; /* Position the right arrow */
}
.carousel-control-new:hover{
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
}
/* Other Carousel Styles */
.dwyer-sws-store #myCarousel h1 {
  font-size: 2rem;
  margin-bottom: 0px;
  color: var(--brand-dwyer-primary-color);
  line-height: 1.2;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-family: var(--body-dwyer-font);
  white-space: normal;
  text-shadow: 0.5px 0.5px 0.5px white;
}
.dwyer-sws-store #myCarousel .carousel-inner.hero-section-french h1{
  font-size: 30px;
}
.dot{
  color: var(--brand-dwyer-secondary-color);
}
.dwyer-sws-store #myCarousel h2 {
  color: var(--brand-dwyer-primary-color);
  font-weight: 400;
  font-size: 1.25rem;
  font-family: var(--body-dwyer-font);
  line-height: 1.2;
  margin-top: 5px;
  white-space: normal;
}
.dwyer-sws-store #myCarousel .carousel-btn {
  color: var(--white-dwyer-color);
  background-color: var(--brand-dwyer-primary-color);
  border-radius: 5px;
  margin-top: 1.5em;
  font-size: 1.15rem;
  padding: 14px 66px;
  display: inline-flex;
  font-family: var(--body-dwyer-font);
  font-weight: 400;
  text-decoration: none;
  transition: 0.3s ease-out;
  box-shadow: none;
}
.dwyer-sws-store #myCarousel .carousel-btn:hover {
  color: var(--white-dwyer-color);
  background-color: var(--brand-dwyer-secondary-color);
}

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


/**************************************     BUTTONS     ************************************************/
/* Full-width section with background */
.sws-dwyer-buttons {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: var(--dwyer-light-background, #f2f2f2); /* or any background */
  padding: 40px 0; /* vertical spacing */
}
/* Constrain inner layout */
.dwyer-buttons-inner-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px; /* optional side padding for smaller screens */
}
.sws-dwyer-buttons .dwyer-flex-container {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.sws-dwyer-buttons .dwyer-grid-container {
  gap: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.dwyer-item.two-columns.wide{
  grid-column: span 2;
}
.sws-dwyer-buttons .dwyer-item {
  position: relative; 
  overflow: hidden;
  gap: 5px;
  align-items: center;
  justify-items: start;
  background-color: white;
  border-radius: 4px;
  padding: 7px;
  z-index: 1;
}
.dwyer-item.two-columns a{
  color: rgba(111, 111, 111, 1);
  font-size: 15px;
  line-height: 24px;
}
.dwyer-item.two-columns a:hover{
  color: var(--brand-dwyer-primary-color);
}
.sws-dwyer-buttons .dwyer-application-title{
    padding: 0px 10px 0px 0px;
}
.sws-dwyer-buttons .dwyer-application-title .application-title{
  font-family: var(--body-dwyer-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dwyer-primary-color);
  text-align: left;
  text-transform:uppercase;
  line-height: 1.2;
  padding-left: 10px;
  padding-right: 0px;
}
.dwyer-item.two-columns .view-all a{
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dwyer-primary-color);
  display: inline-block;
}
.dwyer-item.two-columns .view-all a:hover{
  transform: scale(1.05);
  transition: transform 0.15s ease-in-out;
}
li.view-all {
    padding-top: 1em;
}
.dwyer-item.two-columns .left-column li{
  list-style: none;
}
.dwyer-item.two-columns .left-column ul{
  margin-left: 10px;
}
.dwyer-item img {
  margin: 0 auto;
  display: block;
}
@supports (gap: 1em) {
  .sws-dwyer-buttons .dwyer-grid-container > * {
    margin: 0; /* Reset when gap is supported */
  }
}

/* Text color transition */
.sws-dwyer-buttons .dwyer-application-title,
.sws-dwyer-buttons .dwyer-application-title .application-title {
  position: relative;
  z-index: 3;
  transition: color 0.3s ease; /* match timing */
}

/**/
.dwyer-item.two-columns {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 14px;
    align-items: flex-start; /* keep text aligned to top */
    grid-column: span 1;
}
.dwyer-application-img img {
    max-width: 150px;
    height: auto;
    margin-right: 2em;
}
.dwyer-item.two-columns .right-column {
  display: flex;
  align-items: center;     /* vertical centering */
  justify-content: center; /* optional: horizontal centering */
  height: 100%;            /* force full height of container */
}

/**************************************     SIDE AD     ************************************************/
/* Make sure inner content appears on top */
.dwyer-item.side-ad > * {
  position: relative;
  z-index: 1;
}
.dwyer-item.two-columns.narrow {
    grid-column: span 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1px;
}
.dwyer-side-ad-title p{
  line-height: 1.2;
    color: var(--brand-dwyer-primary-color);
    font-size: 17px;
    font-weight: 700;
    font-family: var(--body-dwyer-font);
    padding: 0px 5px;
    text-align: center;
}
.dwyer-side-ad-subtitle p.application-subtitle {
  color: var(--brand-dwyer-primary-color);
  line-height: 1.2;
  font-family: var(--body-dwyer-font);
  padding: 0 16px;
  text-align: center;
}
.sws-dwyer-buttons-fr .dwyer-item.side-ad .dwyer-side-ad-title p.application-title{
  line-height: 1.2;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-top: 9px;
    font-family: var(--body-dwyer-font);
}
.sws-dwyer-buttons-fr .dwyer-item.side-ad .dwyer-side-ad-subtitle p.application-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  font-family: var(--body-dwyer-font);
  padding: 0 16px;
}
.dwyer-item.side-ad .dwyer-side-ad-img a{
  overflow: hidden; /* Prevents overflow */
  display: inline-block;
}
.dwyer-item.side-ad .dwyer-side-ad-img a img{
  height: auto;
  display: block;
  width: 100%;
  max-width: 75%;
  padding: 5px;
}
.sws-dwyer-buttons .side-ad-btn {
  color: var(--white-dwyer-color);
  background: var(--brand-dwyer-secondary-color);
  border-radius: 5px;
  margin-top: 5px;
  font-size: 15px;
  padding: 8px 44px;
  display: inline-flex;
  font-family: var(--body-dwyer-font);
  border: none;
  text-decoration: none;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.sws-dwyer-buttons .side-ad-btn:hover {
  background-color: var(--brand-dwyer-primary-color);
}
.row-fluid .sws-dwyer-buttons.sws-dwyer-buttons-fr .dwyer-item.side-ad .dwyer-side-ad-subtitle p.application-sub-subtitle{
  padding: 0px 60px 0px 0px;
  line-height: normal;
}
.dwyer-item:hover img {
  overflow: hidden;
  box-shadow: none; /* Removes the shadow */
  transform: scale(1.05);
  transition: transform 0.15s ease-in-out;
}
/* Reset any hover effect on the image */
.dwyer-side-ad-img img {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    max-width: 80%;
}
/*******New rows********/
.dwyer-flex-container.new-row {
    margin-top: 20px;
}
.dwyer-flex-container.new-row .dwyer-grid-container{
      grid-template-columns: repeat(2, 1fr);
}

/**************************************     ABOUT US     ************************************************/
.row-fluid.about-dwyer-hero.about-us-hero{
    width: 100%;
    background-image: url(/images/pages/dwyer/about-us-pale-background.webp);
    background-size: cover;
    background-position: top;
    position: relative;
    display: flex;
    justify-content: center;
    height: auto;
}
/* Content stays above background */
.dwyer-hero-container > * {
  position: relative;
  z-index: 1;
}
/* New wrapper to constrain the text inside full-width background */
.about-hero-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2em 1em;
  text-align: center;
  color: white;
}
.row-fluid.about-dwyer-hero.about-us-hero.dwyer-about-us-content{
  /* background-color: #262b691c; */
  background: linear-gradient(
    to left,
    rgba(38, 43, 105, 0) 0%,    /* fully transparent on the left */
    rgba(38, 43, 105, 0.11) 100% /* solid color on the right */
  );
  height: auto;
}
.row-fluid.about-dwyer-hero.about-us-hero.dwyer-about-us-content .about-hero-content {
  padding: 0;
}
.row-fluid.about-dwyer-main-content {
    padding: 0.5em 0 2em;
}
.row-fluid.about-dwyer-hero.about-us-hero .span12 .about-hero-content p{
  color: var(--brand-dwyer-primary-color);
  text-shadow: 0.15px 0.2px 0.3px white;
  font-size: 16px;
}
.row-fluid.about-dwyer-main-content h2, .about-hero-content h2 {
  color: var(--brand-dwyer-primary-color);
  font-weight: 700;
  text-align: center;
  font-size: 25px;
  line-height: normal;
  padding-top: 0.1em;
  margin-bottom: 5px;
  font-family: var(--body-dwyer-font);
  display: block;
}
.row-fluid.about-dwyer-main-content .span12 h2 {
margin-top: 0px;
}
.row-fluid.about-dwyer-main-content p, .row-fluid.about-dwyer-hero.about-us-hero.dwyer-about-us-content .about-hero-content p {
  text-align: center;
  font-size: 16px;
  padding-bottom: 1em;
  font-family: var(--body-dwyer-font);
  color: #3a414b;
}
.dwyer-hero-container{
  margin-top: -6px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  margin-bottom: 2.5em;
}
 .row-fluid.about-dwyer-hero.about-us-hero .span12{
  display: flex;
  flex-direction: column;
  align-items: center;
}
 .about-dwyer-hero .span12 h1{
  position: relative;
  z-index: 1;
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: normal;
  margin-bottom: 0px;
  padding: 0.2em 0.5em 0.5em;
  font-family: var(--body-dwyer-font);
  display: block;
  color: var(--brand-dwyer-primary-color);
  text-shadow: 0.5px 0.5px 0.5px white;
}
/* Ensure content is above the background */
.about-dwyer > * {
  position: relative;
  z-index: 1;
}
.row-fluid.about-dwyer-container h2{
    color: #fff;
    direction: ltr;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 120%;
    text-align: center;
    margin-top: 0;
}
.row-fluid.about-dwyer-container {
  margin: 0 auto;
  max-width: 1095px;
  padding: 0.5rem 0.5rem 1.5rem;
  position: relative;
}
.row-fluid.about-dwyer-main-content.last-p {
    padding-bottom: 1em;
}

@media (max-width: 1199px) {
/**************************************     HEADER     ************************************************/
.dwyer-header > .row-fluid {
  max-width: 979px;
  margin: 0 auto;
  padding: 0px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-around;
}
.dwyer-header .span9.subheading-nav {
  width: 40.5rem !important;
  float: right;
  margin-top: 0px;
}

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

.dwyer-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 10px !important;
  width: 40rem;
}
.navbar .nav.navbar-dwyer-subsite {
  margin-right: 0;
  width: 89%;
  font-family: var(--body-dwyer-font);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex-wrap: nowrap;
  -moz-box-flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}
.dwyer-whole-cateogies-list-menu .dropdown-header{
  font-size: 15px;
}

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

/* ********* END NAV ********* */
    
/**************************************     HEROS     ************************************************/
.dwyer-sws-store #myCarousel .hero-content {
  max-width: 979px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0.938em 0em;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  align-content: space-between;
}
.dwyer-sws-store #myCarousel .hero-section::before {
  clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 17%, rgba(0, 0, 0, 0) 57%);
}
.dwyer-sws-store #myCarousel .text-content {
  padding: 3.75em 0em 3.75em 9em;
}
.carousel-control-new.left {
  left: 0.75rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 0.75rem; /* Position the right arrow */
}
/**************************************     BUTTONS     ************************************************/

/**************************************     SIDE AD     ************************************************/
.dwyer-item.side-ad .dwyer-side-ad-title p.application-title {
  font-size: 20px;
}
.dwyer-item.side-ad .dwyer-side-ad-subtitle p.application-subtitle {
  font-size: 18px;
}
.sws-dwyer-buttons-fr .dwyer-item.side-ad .dwyer-side-ad-title p.application-title{
    font-size: 18px;
}
.sws-dwyer-buttons-fr .dwyer-item.side-ad .dwyer-side-ad-subtitle p.application-subtitle {
  font-size: 16px;
}
.sws-dwyer-buttons .side-ad-btn{
  padding: 8px 26px;
}
/**************************************     ABOUT PAGE     ************************************************/
.about-hero-content{
  max-width: 770px;
}
/* ********* END About Page ********* */
  
}

@media (max-width: 1199px) and (min-width:980px){
.dwyer-search.input-append{
  width: 48.5%;
}
.input-append.dwyer-search.dwyer-search-fr{
  width: 43%;
}
}
@media (max-width: 1199px) and (min-width:1018px){
.dwyer-item.two-columns.narrow{
  height: 92%;
  gap: 1%;
}
}
@media (max-width: 1017px) and (min-width:980px){
.dwyer-item.two-columns.narrow{
  height: 93%;
  gap: 3%;
}
p.application-subtitle {
    font-size: 15px;
}
.dwyer-side-ad-img img{
  max-width: 100%;
}
.sws-dwyer-buttons .side-ad-btn {
  padding: 8px 32px;
}
.sws-dwyer-buttons-fr .side-ad-btn {
  padding: 8px 24px;
}
}

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

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

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

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

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

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

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


/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-dwyer-container {
  width: 95vw;
  padding: 30px 10px 30px 20px;
}
.dwyer-about.span12{
  margin-top: -15px;
}
}

/*******/ 
@media (max-width: 979px) and (min-width:943px) {
.dwyer-item.two-columns.narrow {
    height: 94.5%;
    /* gap: 3%; */
    padding: 10px;
}
}
@media (max-width: 942px) and (min-width:901px) {
.dwyer-item.two-columns.narrow {
    height: 98%;
    gap: 3%;
    padding: 5px;
}
.dwyer-side-ad-img img{
  max-width: 100%;
}
.dwyer-side-ad-subtitle p.application-subtitle{
  padding: 0 2px;
}
}
@media (max-width: 900px) and (min-width:768px) {
.dwyer-item.two-columns.narrow {
    height: 95%;
    gap: 0;
    padding: 5px 1px 10px;
}
.dwyer-side-ad-img img{
  max-width: 70%;
}
}

@media (max-width: 900px) and (min-width:601px) {
.dwyer-item.two-columns .right-column{
  display: none;
}
.dwyer-item.two-columns.wide{
     position: relative;
    overflow: hidden;
}
.dwyer-item.two-columns a{
  color: #000;
}
.dwyer-item.two-columns .left-column ul{
  margin-right: 1em;
}
/* Use a pseudo-element for image opacity */
  .dwyer-item.two-columns::after {
    content: "";
    position: absolute;
    bottom: -17px;
    right: -100px;
    width: 250px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    opacity: 0.2; 
    pointer-events: none;
  }
  .dwyer-item.two-columns.wide:first-child::after {
    background-image: url(../../images/pages/dwyer/dwyer-pressure-category.webp);
  }
  .dwyer-item.two-columns.wide:nth-child(2)::after {
    background-image: url(../../images/pages/dwyer/dwyer-test-inspection.webp);
  }
  .dwyer-flex-container.new-row.row-two .dwyer-item.two-columns:first-child::after {
    background-image: url(../../images/pages/dwyer/control-and-monitoring.webp);
  }
  .dwyer-flex-container.new-row.row-two .dwyer-item.two-columns:nth-child(2)::after {
    background-image: url(../../images/pages/dwyer/dwyer-flowmeter.webp);
  }
  .dwyer-flex-container.new-row.row-three .dwyer-item.two-columns:first-child::after {
    background-image: url(../../images/pages/dwyer/dwyer-level.webp);
  }
  .dwyer-flex-container.new-row.row-three .dwyer-item.two-columns:nth-child(2)::after {
    background-image: url(../../images/pages/dwyer/dwyer-temperature.webp);
  }
}
@media (min-width: 768px) and (max-width:979px) {
.row-fluid.about-dwyer-hero.about-us-hero.dwyer-about-us-content .about-hero-content {
    padding: 0 5.5em;
}
}
@media (max-width: 767px) {
  .row-fluid.dwyer-sws-store {
    padding-top: 0px;
}
.container.master .content.SWS-mobile-setting .row-fluid .span12{
  margin-bottom: 0;
}
/**************************************     HEADER     ************************************************/
.navbar-inner.dwyer-mobile {
  margin-left: -20px;
  margin-right: -20px;
}
.dwyer-mobile .span3 {
  width: 37%;
}
.dwyer-header-nav .navbar-inner .logo-wrapper .logo-angled-bg {
  margin-top: -1px;
  padding: 5px 12px 10px 12px;
}
.dwyer-header-nav .navbar-inner .logo-wrapper {
  padding: 0px 0px 5px;
}
.dwyer-mobile .logo-wrapper .input-append input{
  padding: 7px 19px 7px 9px;
}
.dwyer-mobile .input-append .btn{
  height: 34px !important;
  width: 38px;
}
.navbar .dwyer-mobile .span9{
  padding-right: 5px;
}
.dwyer-mobile .input-append .btn{
  margin-right: 0;
}
.dwyer-mobile .logo-wrapper .input-append{
  margin-top: 1rem;
}
/**************************************     NAV     ************************************************/ 

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

/**************************************     BUTTONS     ************************************************/
.dwyer-grid-container .dwyer-side-ad{
  display: none;
  visibility: hidden;
}
.sws-dwyer-buttons .dwyer-grid-container{
  grid-template-columns: repeat(2,1fr);
  /* margin: 0 auto 2em; */
}
.dwyer-item.two-columns.wide {
    grid-column: span 1;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-dwyer-hero h1 {
  font-size: 3rem;
  padding: 0.5em 0.5em 0.2em;
}
.dwyer-hero-container{
  margin-top: 10px;
}
.row-fluid.about-dwyer-main-content{
  padding-bottom: 0.5em;
}
.row-fluid.about-dwyer-hero.about-us-hero.dwyer-about-us-content .about-hero-content {
    padding: 1em 1.5em;
}
}

@media (max-width: 600px) {
/**************************************     HEADER     ************************************************/
.dwyer-header-nav .navbar-inner .logo-wrapper .logo-angled-bg {
  padding: 5px 12px 0px 12px;
}
.dwyer-header-nav .navbar-inner .logo-wrapper {
  padding: 0px 0px 5px;
}
.dwyer-mobile img.brand.mobile-logo {
    padding: 5px 0px 5px 0px;
  }
.dwyer-mobile .logo-wrapper .input-append input {
        padding: 5px 2.5px 5px 9px;
  }
.dwyer-mobile .input-append .btn {
        height: 30px !important;
        width: 32px;
  }
.navbar .dwyer-mobile .span9{
  width: 100%;
}
.dwyer-mobile .logo-wrapper .input-append input{
  left: 0;
}    
.navbar .dwyer-mobile .span9{
  padding-right: 0;
}
.dwyer-mobile .logo-wrapper .input-append{
  margin-top: 0;
}
.dwyer-mobile input.refine-search{
  width: 100% !important;
}
.dwyer-mobile .logo-wrapper .input-append input{
  border: none;
  box-shadow: none;
}
.input-append.mobile-search form#ProductDisplayForm{
border: 1px solid var(--brand-dwyer-primary-color);
}
.dwyer-mobile .sws-mobile-header-nav .nav > li > a{
  font-size: 15px;
}
button.btn.btn-default img {
    margin-top: -6px !important;
}

/**************************************     NAV     ************************************************/
ul.accordion-inner.nav.mshow {
  padding: 8px 5px;
}
li.accordion-inner.nav.mshow a{
  font-weight: 500;
}
li.accordion-inner.nav, li.accordion-inner.nav.mshow{
  padding-bottom: 2px;
}
/* li.accordion-inner.nav, li.accordion-inner.nav.mshow, li.accordion-inner.nav.mshow.open {
  margin-bottom: 0px;
  padding: 0 5px;
} */

/**************************************     HERO     ************************************************/
.dwyer-sws-store #myCarousel .hero-section::before {
  clip-path: none;
  visibility: visible;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  background-position: right;
}
.dwyer-sws-store #myCarousel .carousel-inner.hero-section, 
.dwyer-sws-store #myCarousel .carousel-inner.hero-section-french {
  height: 500px;
  margin-top: 10px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.dwyer-sws-store #myCarousel .hero-section, 
.dwyer-sws-store #myCarousel .image-content {
  order: -1;
  padding: 0em;
}
.dwyer-sws-store #myCarousel .hero-content {
  max-width: 600px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  justify-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 1.5em 0 0 0;
}
.dwyer-sws-store #myCarousel .text-content {
  padding: 1em 1em 0.75em 1em;
  width: 95%;
}
.dwyer-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.75em;
}
.dwyer-sws-store #myCarousel .image-content img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 250px;
  padding-top: 10px !important;
}
.dwyer-sws-store #myCarousel h1{
  color: #ffffff;
  text-shadow: 0.5px 0.5px 0.5px var(--brand-dwyer-primary-color);
}
.dwyer-sws-store #myCarousel h2{
  color: #ffffff;
  text-shadow: 0.5px 0.5px 0.5px var(--brand-dwyer-primary-color);
}
/**/
.dwyer-sws-store #myCarousel .text-content h1,
.dwyer-sws-store #myCarousel .text-content h2,
.dwyer-sws-store #myCarousel .text-content .carousel-btn {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.dwyer-sws-store #myCarousel .text-content h1,
.dwyer-sws-store #myCarousel .text-content h2 {
  white-space: normal; /* Override text-nowrap */
}

.dwyer-sws-store #myCarousel .text-content .carousel-btn {
  margin-top: 1em;
  max-width: max-content;
}

/**/

/**************************************     BUTTONS     ************************************************/
 .sws-dwyer-buttons .dwyer-grid-container {
  gap: 2%;
}
.sws-dwyer-buttons .dwyer-application-title .application-title {
  padding-left: 0px;
  padding-right: 0px;
}
.sws-dwyer-buttons .dwyer-grid-container, .dwyer-flex-container.new-row .dwyer-grid-container {
  grid-template-columns: repeat(1, 1fr);
}
.dwyer-flex-container.new-row {
    margin-top: 12px;
}
/* .sws-dwyer-buttons .dwyer-grid-container {
  margin: 0 auto 11em;
} */
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.row-fluid.about-dwyer-container {
  width: 94vw;
  padding: 15px 0px;
  height: auto;
}
.row-fluid.about-dwyer-hero .span12 h1 {
  font-size: 39px;
} 
.dwyer-about.span12 {
  margin-top: -5px;
}
}

@media (max-width: 480px) {
/**************************************     HEADER     ************************************************/
.dwyer-mobile .span3 {
  width: 45%;
}

/**************************************     HERO     ************************************************/
.carousel-top.dwyer-sws-store {
  padding-bottom: 0em;
}
.dwyer-sws-store #myCarousel .hero-content {
  max-width: 480px;
}
.dwyer-sws-store #myCarousel h1 {
  font-size: 1.8em;
}
.dwyer-sws-store #myCarousel .carousel-inner.hero-section-french h1 {
  font-size: 1.5em;
}
.dwyer-sws-store #myCarousel h2 {
  font-size: 1.3em;
}
/**************************************     BUTTONS     ************************************************/
.sws-dwyer-buttons .dwyer-grid-container {
  grid-template-columns: repeat(1, 1fr);
  gap: 2%;
}
.dwyer-item img {
  max-width: 50%;
  padding-bottom: 0;
}
.sws-dwyer-buttons .dwyer-application-title {
  padding: 0px 10px 0px 10px;
}
.dwyer-item:not(.side-ad) {
  padding: 5px
}
.dwyer-item.two-columns .right-column{
  display: none;
}
.dwyer-item.two-columns {
  background-image: url(/images/pages/dwyer/dwyer-background.webp);
  background-size: cover;
  background-position: left;
  /* position: relative; */
}

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
/* .dwyer-about.span12 {
  margin-top: 0px;
} */
.row-fluid.about-dwyer-container {
  width: 91vw;
  padding: 0px 0px 15px;
}
.dwyer-hero-container {
  margin-top: 10px;
}
.row-fluid.about-dwyer-hero .span12 h1 {
  font-size: 2.5em;
  padding: 1em 0.2em 0.5em;
}


}

@media (max-width: 399px) {
  /**************************************     HEADER     ************************************************/
  .dwyer-mobile .logo-wrapper .input-append input {
    padding: 3.5px 0px 3.5px 10px !important;
}
  .dwyer-mobile .sws-mobile-header-nav .nav > li > a {
    font-size: 14px;
  }
/**************************************     SEARCH BAR     ************************************************/

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

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

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

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

