@charset "UTF-8";
a {
  transition: all 0.3s ease;
}
.preload {
  display: none
}
.scroll-offset {
  position: relative;
  bottom: 115px;
  visibility: hidden;
}
/*Rig*/
ul.rig {
  list-style: none;
  font-size: 0px;
  text-align: center;
  margin: 0 auto;
  padding: 0;
}
ul.rig li {
  display: inline-block;
  padding: 10px;
  font-size: 16px;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  background: none;
  margin: 0 10px 10px 10px;
  width: 200px;
  line-height: 100px;
}
ul.rig li img {
  width: 100%;
  height: auto;
  max-width: 180px;
}
@media (max-width: 992px) {
  ul.rig {
    text-align: center;
  }
}
/* /// Rig*/
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  font-size: 16px;
}
body, html {
  margin: 0;
  padding: 0;
  /*height: 100%;*/
}
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  line-height: 1.0;
}
h1 {
  font-size: 70px
}
h2 {
  font-size: 43px;
}
h3 {
  font-size: 30px;
}
h4 {
  font-size: 25px;
  margin-bottom: 5px;
}
/*Accessiblity*/
#skiptocontent a {
  padding: 6px;
  position: absolute;
  top: -40px;
  left: 0px;
  color: white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-bottom-right-radius: 8px;
  background: #000;
  color: white;
  -webkit-transition: top 1s ease-out, background 1s linear;
  transition: top 1s ease-out, background 1s linear;
  z-index: 10000000;
}
#skiptocontent a:focus {
  position: absolute;
  left: 0px;
  top: 0px;
  box-shadow: 0 0 2px 3px red;
  background-color: #fff !important;
  color: #1e6340 !important;
  outline: 0;
  -webkit-transition: top .1s ease-in, background .5s linear;
  transition: top .1s ease-in, background .5s linear;
}
:focus-visible {
  box-shadow: 0 0 2px 3px red;
  background-color: #fff !important;
  color: #1e6340 !important;
}
/*End Accessibility*/
p, li, li a, label {
  color: #231F20;
}
.interactive-slider-v2 {
  position: relative;
  width: 100%;
  min-height: 630px;
  background-color: whitesmoke;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  padding: 0;
  transition: none;
}
@media (min-width: 1600px) {
  .interactive-slider-v2 {
    min-height: 830px;
  }
}
.interactive-slider-v2.msi-sub-hero {
  min-height: 330px;
}
.interactive-slider-v2.img-v2 {
  /* Background set via inline style in PHP template */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.interactive-slider-v2.img-v3 {
  background: url("img-msi/iStock-172938483.jpg") no-repeat center center;
  background-size: cover;
}
.interactive-slider-v2:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}
/* Hero Text */
.msi-hero-text {
  position: absolute;
  bottom: 20px;
  left: 5%;
  width: 90%;
  max-width: 1200px;
  color: #fff;
  text-align: left;
  z-index: 5;
}
@media (max-width: 1200px) {
  .msi-hero-text {
    bottom: 50px !important;
  }
}
@media (max-width: 560px) {
  .msi-hero-text {
    bottom: 40px !important;
  }
}
.msi-hero-text h1 {
  font-size: 70px;
  font-weight: 600;
  line-height: 80px;
  text-transform: uppercase;
  color: #fff;
}
/* Underline Styles */
.msi-hero-text .msi-em, .msi-em {
  text-decoration: underline;
  text-decoration-color: #d2a63a;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.msi-hero-text .msi-em {
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}
/* Text Styles */
.interactive-slider-v2 p {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}
/* Background Image Handling */
.slider-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}
/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
}
.slider-nav img {
  display: block;
  width: 3rem !important;
  height: auto;
}
.slider-nav.left {
  left: 20px;
}
.slider-nav.right {
  right: 20px;
}
/* Banner Caption */
.msi-banner-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 10px 15px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  min-height: 40px;
  min-width: 180px;
  text-align: center;
  font-size: 16px;
  color: #000;
  z-index: 5;
}
@media (max-width: 767px) {
  .msi-banner-caption {
    bottom: 0 !important;
    right: 0 !important;
    min-width: 150px;
    padding: 7px 15px;
  }
  .interactive-slider-v2 p {
    line-height: 1.2;
  }
}
span.decoration-break {
  padding: 0 10px;
  color: #1e6340;
  color: white;
  background: #ffffff;
  background: #1e6340;
  line-height: 1.2;
  -moz-box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
}
.msi-blocks {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  -moz-box-shadow: 0px 0px 11px rgba(0, 0, 0, .25);
  -webkit-box-shadow: 0px 0px 11px rgba(0, 0, 0, .25);
  box-shadow: 0px 0px 11px rgba(0, 0, 0, .25);
}
.msi-blocks div {
  border-right: 1px solid white;
}
@media (max-width: 767px) {
  .msi-blocks div {
    border-right: none;
    border-bottom: 1px solid white;
  }
  .msi-blocks div:last-child {
    border-bottom: none;
  }
}
.msi-blocks div:last-child {
  border-right: none;
}
.msi-block {
  background: #1e6340;
  transition: all 0.3s ease;
}
.msi-block h2 {
  margin: 0 auto 40px auto;
  font-size: 33px;
}
.msi-block:hover {
  background: #2a2a2a;
}
.msi-block-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin: 0px auto;
}
.msi-h1-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin: 0px 8px 0 0;
  position: relative;
  bottom: 5px;
}
@media (max-width: 560px) {
  .msi-h1-icon {
    width: 100%;
    height: auto;
    max-width: 80px;
    margin: 0px 8px 0 0;
    position: relative;
    bottom: 5px;
    float: left;
  }
}
.msi-top-phone, .msi-top-phone:hover, .msi-top-phone:active {
  font-weight: 800;
  text-decoration: none;
  /*color: #d2a63a !important;*/
  font-size: 1rem; /* Keep the same base font-size */
  line-height: inherit;
  transform: scale(2.5); /* Scale up the text visually */
  display: inline-block; /* Keep it inline */
  vertical-align: middle; /* Align the enlarged text vertically */
  margin-left: 65px;
}
footer a, footer a:active {
  color: white;
  text-decoration: underline;
}
footer a:hover {
  color: white;
  text-decoration: none;
}
.footer-logo {
  margin: 0 auto 20px auto;
  max-width: 300px;
  height: auto;
}
.footer-v1 .footer {
  padding: 40px 0 0 0;
  background: #2a2a2a;
}
.copyright {
  background: #2a2a2a;
}
.msi-topbar-offset {
  padding-right: 80px;
}
.topbar-list > li:before {
  background: #d2a63a;
}
.msi-topbar-list br {
  display: none;
}
@media (max-width: 700px) {
  .msi-topbar-offset {
    padding-right: inherit;
  }
  .msi-topbar-list {
    float: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    line-height: 1;
  }
  .msi-top-phone, .msi-top-phone:hover, .msi-top-phone:active {
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
    line-height: inherit;
    transform: none;
    display: inline-block; /* Keep it inline */
    vertical-align: middle; /* Align the enlarged text vertically */
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .msi-topbar-list br {
    display: inline;
  }
  .topbar-list .hola::before {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    position: static !important; /* Resets positioning */
  }
  .topbar-list .hola {
    padding-top: 0;
  }
}
.msi-copyright {
  margin-top: 60px;
  text-align: center;
}
.msi-socials {
  font-size: 30px;
}
/*----------BUTTONS------------*/
.msi-gaq, .msi-gaq:active, .msi-gaq:visited, .msi-gaq:hover {
  text-decoration: none !important;
}
.msi-gaq span, .msi-gaq:active span, .msi-gaq:visited span {
  /*border: 2px solid #fff;*/
  padding: 15px;
  background: #1e6340;
  color: white;
  /*transition: all 0.3s ease;*/
  font-smoothing: antialiased;
  font-optical-sizing: auto;
  /*display: inline-block;*/
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.msi-gaq span:before {
  content: '';
  position: absolute;
  border: #d2a63a solid 4px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition-duration: .3s;
  transition-property: top, right, bottom, left;
}
.msi-gaq span:hover, .msi-gaq:active span:hover, .msi-gaq:visited span:hover {
  /*border: 2px solid #AA9131;*/
  padding: 15px;
  /*background: #fff;*/
  /*color: #1e6340;*/
  background: #2a2a2a;
  color: white;
  /*border: 2px solid transparent;*/
}
.msi-gaq span:hover:before {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}
.msi-but {
  /*border: 2px solid #fff;*/
  padding: 15px;
  /*background: #1a3c6a;*/
  background: #215329;
  text-transform: uppercase;
  color: white !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .5px;
  text-decoration: none !important;
  font-style: normal;
  font-smoothing: antialiased;
  font-optical-sizing: auto;
  display: inline-block;
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  box-shadow: none !important;
  border: none !important;
}
.msi-but:before {
  content: '';
  position: absolute;
  border: #d2a63a solid 4px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition-duration: .3s;
  transition-property: top, right, bottom, left;
}
.msi-but:hover {
  /*color: #1e6340;*/
  background: #333;
  color: white;
  text-decoration: none;
}
.msi-but:hover:before {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}
.msi-but-smaller {
  border: 2px solid #fff;
  padding: 7px 15px;
  background: #1e6340;
  text-transform: uppercase;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .5px;
  text-decoration: none !important;
  font-style: normal;
  font-smoothing: antialiased;
  font-optical-sizing: auto;
  display: inline-block;
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.msi-but-smaller:before {
  content: '';
  position: absolute;
  border: #d2a63a solid 3px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition-duration: .3s;
  transition-property: top, right, bottom, left;
}
.msi-but-smaller:hover {
  /*color: #1e6340;*/
  background: #1f4280;
  color: white;
  text-decoration: none;
}
.msi-but-smaller:hover:before {
  top: -6px;
  right: -6px;
  bottom: -6px;
  left: -6px;
}
.msi-but-o {
  /*border: 4px solid #d2a63a;*/
  padding: 15px;
  background: white;
  color: #231F20 !important;
  text-decoration: none;
  font-style: normal;
  font-smoothing: antialiased;
  font-optical-sizing: auto;
  display: inline-block;
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.msi-but-o:before {
  content: '';
  position: absolute;
  border: #d2a63a solid 4px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition-duration: .3s;
  transition-property: top, right, bottom, left;
}
.msi-but-o:hover {
  /*border: 4px solid #d2a63a;*/
  background: #1f4280;
  color: #fff !important;
  text-decoration: none;
}
.msi-but-o:hover:before {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}
/*.outline-outward {
    display: inline-block;
    position: relative;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.outline-outward:before {
    content: '';
    position: absolute;
    border: #d2a63a solid 4px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: top, right, bottom, left;
    transition-property: top, right, bottom, left;
}

.outline-outward:hover:before {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}*/
/*/////////BUTTONS------------*/
.msi-f-gaq {
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
.msi-front-services {
  padding: 0 80px;
  margin-bottom: 40px;
}
@media (max-width: 1250px) {
  .msi-front-services {
    padding: 0 40px;
  }
}
@media (max-width: 975px) {
  .msi-front-services {
    padding: 0 0px;
  }
}
@media (max-width: 767px) {
  .msi-front-services {
    padding: 0 80px;
  }
}
.msi-front-services li {
  margin: 8px 0;
  padding-top: 8px;
  border-top: dotted 1px #d2a63a;
  color: white;
  font-weight: bold;
  font-size: 20px;
}
.msi-front-services li:first-child {
  padding-top: 0;
  border-top: none;
}
.msi-front-services a, .msi-front-services a:visited, .msi-front-services a:active {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  display: inline-block; /* Allows scaling effect to take effect more clearly */
  transition: all 0.3s ease-in-out;
}
.msi-front-services a:hover {
  color: white;
  text-decoration: underline;
  transform: scale(1.25); /* Try 1.1 first, or increase to 1.5 for testing */
}
#topcontrol {
  color: #fff;
  z-index: 99;
  width: 40px;
  height: 40px;
  font-size: 35px;
  background: #d2a63a;
  position: relative;
  right: 14px !important;
  bottom: 11px !important;
  border-radius: 3px !important;
  text-align: center;
}
#topcontrol:after {
  top: -7px;
  left: 8.5px;
  content: "\f106";
  position: absolute;
  text-align: center;
  font-family: FontAwesome;
}
#topcontrol:hover {
  color: #231F20;
  background: #d2a63a;
  transition: all 0.3s ease-in-out;
}
main article h2 {
  position: relative;
  padding-left: 20px;
  /*line-height: 1.2;*/
  font-size: 37px;
}
main article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px; /* Thickness of the vertical line */
  background-color: #d2a63a; /* Line color */
}
.msi-why-titles ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 20px;
  column-gap: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.msi-why-titles ul li {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  line-height: 1.0;
  font-size: 25px;
  position: relative;
  padding-left: 30px;
  flex: 0 0 calc(33.33% - 20px);
  box-sizing: border-box;
}
.msi-why-titles ul li:before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('img-msi/checkmark.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 992px) {
  .msi-why-titles ul li {
    flex: 0 0 calc(50% - 20px);
  }
}
@media (max-width: 560px) {
  .msi-why-titles ul li {
    flex: 0 0 100%;
  }
}
.msi-why {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 40px 0 60px 0;
}
.msi-why li {
  margin-bottom: 0px;
  flex: 0 0 calc(50% - 10px); /* Two columns */
  box-sizing: border-box;
}
.msi-why h3 {
  margin-bottom: 0;
}
.msi-why p {
  padding-left: 40px;
}
.msi-why h3:before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: -7px;
  background-image: url('img-msi/checkmark.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
@media (max-width: 992px) {
  .msi-why {
    margin-top: 50px;
  }
}
@media (max-width: 760px) {
  .msi-why li {
    flex: 0 0 100%; /* Single column */
    margin-bottom: 0;
  }
  .msi-why {
    gap: 10px;
  }
}
.msi-ul-checkmark {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}
.msi-ul-checkmark li {
  position: relative;
  margin-bottom: 35px;
}
.msi-ul-checkmark li:before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('img-msi/checkmark.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(10%);
}
.msi-ul-checkmark li p {
  margin: 0;
  padding-left: 40px;
}
.msi-ul-checkmark em {
  font-weight: 600;
}
.msi-ul-checkmark em:before {
  content: '— ';
  color: #d2a63a;
}
.msi-ul-checkmark-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.msi-ul-checkmark-inline li {
  position: relative;
  padding-left: 30px;
  margin-right: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.msi-ul-checkmark-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('img-msi/checkmark.png') no-repeat center center;
  background-size: contain;
}
.msi-ul-checkmark-regular {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden; /* To contain floated children */
}
.msi-ul-checkmark-regular li {
  float: left;
  position: relative;
  padding-left: 30px;
  margin-right: 20px;
  margin-bottom: 10px;
  clear: none; /* Ensures proper alignment */
}
.msi-ul-checkmark-regular li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('img-msi/checkmark.png') no-repeat center center;
  background-size: contain;
}
.side-bar-h3 {
  position: relative;
  padding-left: 20px; /* Space between the line and the text */
  line-height: 1.2; /* Adjust based on your design */
}
.side-bar-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px; /* Thickness of the vertical line */
  background-color: #d2a63a; /* Line color */
}
a.white {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding-bottom: .5px;
  border-bottom: 1px solid #fff;
  transition: border-bottom-color 0.15s ease, border-bottom-width 0.15s ease;
}
a.white:hover {
  border-bottom-color: transparent;
  border-bottom-width: 0;
}
.msi-front-icon {
  text-align: center;
  position: relative;
}
.msi-front-icon img {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: inline-block;
}
.msi-5-star {
  text-align: center;
}
.msi-5-star img {
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 250px;
}
/*.owl-item, .owl-wrapper {
    width: 100% !important;
}*/
.owl-carousel-v2 .item p:last-child {
  font-style: italic
}
.owl-carousel-v2 .item p:last-child span::before {
  color: #d2a63a;
  font-weight: bold;
  content: "\2014"; /* Unicode for em dash */
}
.owl-btn {
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  padding: 2px 9px;
  text-align: center;
  background: #333;
}
.owl-btn:hover {
  color: #fff;
  background: #1f4280;
}
.testimonials .testimonial-info span {
  color: #1e6340;
  font-weight: bold;
}
.testimonials .testimonial-info em {
  color: #231f20;
  display: inline;
  font-size: 13px;
  font-weight: normal;
}
.testimonials .testimonial-info em::before {
  content: "|";
  font-style: normal;
  color: #d2a63a;
  margin-left: 8px;
  margin-right: 8px;
  display: inline-block;
  position: relative;
  bottom: 1px;
  font-weight: bold;
}
.testimonials .carousel-control {
  opacity: 1;
  width: 100%;
  text-align: left;
  text-shadow: none;
  position: absolute;
  filter: Alpha(opacity=100);
}
.carousel-arrows-container {
  margin: 10px auto 0 40px;
  position: relative;
}
.testimonials .carousel-arrow {
  /*top: -65px;*/
  top: 0px;
  position: relative;
}
.testimonials .carousel-arrow i {
  color: #fff;
  cursor: pointer;
  padding: 2px;
  min-width: 25px;
  font-size: 20px;
  text-align: center;
  background: #1e6340;
  transition: all 0.3s ease;
}
.testimonials .carousel-arrow i:hover {
  color: #fff;
  background: #1f4280;
}
.testimonials.testimonials-v1 .item p {
  position: relative;
  min-height: 150px;
}
.msi-aside-heading {
  background: #1e6340 !important;
  color: white !important;
  line-height: 50px;
  border-left: 4px solid #d2a63a;
  padding-left: 10px;
  margin-top: 30px;
}
main a, main a:visited, main a:active {
  color: #007AA3;
  font-weight: bold;
  text-decoration: underline;
}
main a:hover {
  color: #1e6340;
  text-decoration: none;
}
.msi-map {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto;
}
/*Tabs v3
------------------------------------*/
.tab-v3 .nav-pills li a {
  color: #1e6340;
  font-size: 17px;
  padding: 4px 8px;
  margin-bottom: 3px;
  background: #fafafa;
  border: solid 4px transparent;
}
.tab-v3 .nav-pills li a:hover, .tab-v3 .nav-pills li.active a {
  color: #fff;
  background: #1e6340;
  border: solid 4px #d2a63a;
}
.tab-v3 .nav-pills li i {
  width: 1.25em;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
}
.tab-v3 .tab-content {
  padding: 0 15px 15px 15px;
  background: #fff;
  border: none;
}
.nav-pills img {
  height: auto;
  max-width: 50px !important;
  transition: all 0.3s ease;
  margin-right: 5px;
}
.tab-v3 .nav-pills li a .pill-imgb, .tab-v3 .nav-pills li a .pill-imgb {
  display: inline-block;
}
.tab-v3 .nav-pills li a:hover .pill-imgb, .tab-v3 .nav-pills li.active a .pill-imgb {
  display: none;
}
.tab-v3 .nav-pills li a .pill-img, .tab-v3 .nav-pills li a .pill-img {
  display: none;
}
.tab-v3 .nav-pills li a:hover .pill-img, .tab-v3 .nav-pills li.active a .pill-img {
  display: inline-block;
}
@media (max-width: 992px) {
  .nav-pills > li, .nav-stacked > li + li {
    text-align: center;
    width: auto;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
.tab-v3 figure {
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
}
.tab-v3 figcaption {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
  text-align: center;
}
.msi-leadership figure {
  text-align: center;
}
@media (max-width: 992px) {
  .msi-leadership figure {
    margin-bottom: 30px;
  }
}
.msi-leadership figure img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: brightness(93%);
}
@media (max-width: 992px) {
  .msi-leadership figure img {
    max-width: 80%;
  }
}
.msi-leadership figure figcaption {
  background: white;
  width: 95%;
  position: relative;
  bottom: 50px;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}
@media (max-width: 1200px) {
  .msi-leadership figure figcaption {
    min-height: 260px
  }
}
.msi-leadership figure figcaption p {
  margin: 0;
}
.msi-leadership figure figcaption p:first-child, .modal-title {
  position: relative;
  padding-left: 20px;
  line-height: 1.2;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  font-size: 30px;
  margin-bottom: 10px;
}
.msi-leadership figure figcaption p:first-child span, .modal-title span {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  font-size: 16px;
  color: #231F20;
  padding-left: 5px;
}
@media (max-width: 1200px) {
  .msi-leadership figure figcaption p:first-child span {
    display: block;
  }
}
.msi-leadership figure figcaption p:nth-child(2) {
  margin-bottom: 10px;
  font-style: italic;
}
.msi-leadership figure figcaption p:first-child::before, .modal-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px; /* Thickness of the vertical line */
  background-color: #d2a63a; /* Line color */
}
.msi-leadership figure figcaption p:last-child {
  margin-top: 10px;
  text-align: center;
}
.icon-download::before {
  content: "\f019"; /* Unicode for the desired Font Awesome icon */
  font-family: 'FontAwesome'; /* Ensure you're using the correct font */
  font-weight: 900; /* Adjust based on the specific Font Awesome icon set (solid, regular, etc.) */
  margin-right: 0.5em; /* Adds spacing between the icon and the link text */
  aria-hidden: true; /* Hides the icon from screen readers */
}
.icon-download {
  display: inline-flex; /* Ensures proper alignment of icon and text */
  align-items: center;
  text-decoration: none; /* Optional: Removes default link underline */
}
.msi-modal-photo {
  text-align: center;
  margin-bottom: 20px;
}
.msi-modal-photo img {
  width: 100%;
  height: auto;
  max-width: 350px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid silver;
  background-color: #1e6340;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=100);
  opacity: 1;
}
.modal-title {
  margin-top: 10px;
}
.msi-team figure {
  text-align: center;
}
.msi-team figure img {
  width: 100%;
  height: auto;
  filter: brightness(88%)
}
@media (max-width: 992px) {
  .msi-team figure img {
    max-width: 80%;
  }
  .msi-team figure {
    margin-bottom: 30px;
  }
}
.msi-team figure figcaption {
  background: white;
  width: 95%;
  position: relative;
  bottom: 25px;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  padding: 20px;
  min-height: 220px;
  text-align: left;
}
@media (max-width: 1200px) {
  .msi-team figure figcaption {
    min-height: 250px
  }
}
.msi-team figure figcaption p {
  margin: 0;
  font-size: 14px;
}
.msi-team figure figcaption p:first-child {
  position: relative;
  line-height: 1.2;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  font-size: 25px;
  margin-bottom: 2px;
}
.msi-team figure figcaption p:nth-child(2) {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-style: normal;
  font-optical-sizing: auto;
  font-size: 14px;
  color: #231F20;
  line-height: 1.2;
  margin-bottom: 7px;
}
.msi-team figure figcaption p:nth-child(3) {
  margin-bottom: 10px;
  font-style: italic;
  font-size: 14px;
}
.msi-team figure figcaption p:last-child {
  margin-top: 10px;
  text-align: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.msi-sub-hero {
  width: 100%;
  /*background: #1e6340;*/
  padding: 0px;
  position: relative;
  z-index: 2;
}
.leadin {
  font-size: 19px;
}
.landing-page-card2 {
  background: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, .20);
  padding: 0px;
  border-radius: 5px;
  border: 2px solid white;
}
@media (max-width: 992px) {
  .landing-page-card2 {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 60px;
  }
}
.landing-page-card2 img {
  width: 100%;
  height: auto;
  border-radius: 5px 5px 0 0;
  margin: 0 auto;
  filter: brightness(93%);
}
.landing-page-card2 h2 {
  font-size: 24px;
  color: #231F20;
  font-weight: 500;
  margin: 10px 15px 25px 15px;
}
.landing-page-card2 p {
  margin: 0 15px 15px 15px;
}
.landing-page-card2 p:last-child {
  text-align: center;
}
.landing-page-card2 figcaption {
  background: #1e6340;
  color: white;
  border-top: 2px solid #d2a63a;
  border-bottom: 2px solid #d2a63a;
  text-align: center;
}
.msi-sub-hero-bluebg {
  background: #1e6340;
  width: 100%;
  height: 200px;
  position: absolute;
  z-index: 0;
  top: 0;
}
@media (max-width: 560px) {
  .msi-sub-hero-bluebg {
    height: 150px;
  }
}
.msi-sub-hero-container {
  padding-top: 50px;
}
.msi-sub-heroL h1 {
  margin-bottom: 50px;
}
@media (max-width: 1200px) {
  .msi-sub-heroL h1 {
    font-size: 50px;
  }
}
@media (max-width: 560px) {
  .msi-sub-heroL h1 {
    font-size: 40px;
    margin-bottom: 80px;
  }
}
.msi-sub-hero-full h1 {
  margin-bottom: 100px;
}
@media (max-width: 1200px) {
  .msi-sub-hero-full h1 {
    font-size: 50px;
  }
}
@media (max-width: 560px) {
  .msi-sub-hero-full h1 {
    font-size: 35px;
    margin-bottom: 80px;
  }
  .msi-sub-heroL h1 {
    font-size: 35px;
    margin-bottom: 80px;
  }
  .msi-h1-icon {
    max-width: 50px;
  }
}
.cube-portfolio .cbp-l-filters-text .cbp-filter-item {
  font-weight: bold;
}
.cube-portfolio .cbp-l-filters-text .cbp-filter-item.cbp-filter-item-active, .cube-portfolio .cbp-l-filters-text .cbp-filter-item:hover {
  color: #007AA3 !important;
  font-weight: bold;
  text-decoration: underline;
}
.msi-cube-card {
  text-align: center;
}
.msi-cube-card p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #007AA3 !important;
  font-size: 30px;
  margin: 0 auto 0 auto;
  position: relative;
  bottom: 0px;
  z-index: -1;
  line-height: 1.0;
  display: inline-block;
  height: 70px;
}
.cbp-l-grid-gallery .msi-but {
  margin-top: 20px;
}
.legal-content h3 {
  font-weight: bold;
  font-size: 20px;
  color: #231F20;
}
.subpage {
  margin-top: 50px;
  margin-bottom: 50px;
}
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  outline: none; /* Remove outline */
  background-color: #007AA3; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 5px 15px; /* Some padding */
  border-radius: 3px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .20);
  border: 1px solid white;
}
#myBtn:hover {
  background-color: #1e6340;
  color: white;
}
#myBtn span {
  position: relative;
  bottom: 8px;
}
.msi-small {
  font-size: 11px;
  line-height: 1.1;
}
.footer-v1 .footer h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.msi-why h3 {}
.msi-about-testimonials {
  text-align: center;
}
.msi-about-testimonials p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  line-height: 1.0;
  font-size: 25px;
  margin-top: 10px;
  margin-bottom: 0;
}
/* External links that open in a new window */
main a[target="_blank"]:not(:has(img)) {
  text-decoration: underline;
}
main a[target="_blank"]:not(:has(img))::after {
  content: "\f08e";
  font-family: "FontAwesome";
  font-size: 0.9em;
  margin-left: 0.5rem;
  color: #007AA3;
  text-decoration: none;
  display: inline-block;
}
/* Links to PDF documents on the same domain that open in a new window */
main a[target="_blank"][href*=".pdf"] {
  text-decoration: underline; /* Or your desired decoration for the link */
}
main a[target="_blank"][href*=".pdf"]::after {
  content: "\f1c1"; /* FontAwesome file-pdf-o icon */
  font-family: "FontAwesome";
  font-size: 0.9em;
  margin-left: 0.5rem;
  color: #e3342f; /* Red color for PDF icon */
  text-decoration: none; /* Prevent the icon from being underlined */
  display: inline-block; /* Ensure it behaves consistently as a separate entity */
}
/* Specific styles for buttons */
main a[target="_blank"].msi-but::after, main a[target="_blank"].msi-but-smaller::after {
  color: #ffffff; /* White icon for button links */
}
.nav-trucking a::after {
  content: "\f08e";
  font-family: "FontAwesome";
  font-size: 0.9em;
  margin-left: 0.5rem;
  color: #1e6340 !important;
  text-decoration: none;
  display: inline-block;
}
.msi-trucking h2 {
  margin-top: 25px;
}
.msi-truck-insurance-logo img {
  margin: 20px auto;
  max-width: 280px;
}
.cbp-item-wrapper {
  margin-bottom: 15px;
}
.msi-truck-aside {
  width: 350px;
  float: right;
  margin: 0 0 25px 25px;
  text-align: center;
}
@media (max-width: 767px) {
  .msi-truck-aside {
    width: 245px;
  }
}
@media (max-width: 560px) {
  .msi-truck-aside {
    width: 100%;
    float: none;
    margin: 20px auto;
  }
}
.content-md {
  padding-top: 50px;
  padding-bottom: 50px;
}
table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}
table caption {
  font-size: 30px;
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1e6340;
  padding-top: 0;
}
.well {
  min-height: 20px;
  padding: 0 19px 19px 19px;
  margin-bottom: 20px;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .0);
  min-height: 500px; /* Stabilizes the container height */
}
table tr {
  border: 1px solid #ddd;
  padding: .35em;
}
table th, table td {
  padding: .625em;
  text-align: left;
  word-wrap: break-word; /* Ensures long strings break to the next line */
  overflow-wrap: break-word; /* For broader browser support */
  font-size: 14px;
  line-height: 1.1;
}
table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}
td[data-label="Name"] {
  font-weight: bold;
}
/* Specify column widths */
table th:nth-child(1), /* Name column */ table td:nth-child(1) {
  width: 20%; /* Adjust width as needed */
}
table th:nth-child(2), /* Title column */ table td:nth-child(2) {
  width: 25%; /* Adjust width as needed */
}
table th:nth-child(3), /* Phone column */ table td:nth-child(3) {
  width: 20%;
}
table th:nth-child(4), /* Email column */ table td:nth-child(4) {
  width: 35%; /* Leave more space for email addresses */
}
table th {
  font-size: .85em;
  letter-spacing: 0;
  text-transform: uppercase;
  background: #6D6E71;
  color: white;
}
table tr {
  background-color: #fff;
  border: 1px solid #ddd;
}
table tr:nth-child(odd) {
  background-color: white;
}
table tr:nth-child(even) {
  background-color: #fafafa;
}
@media screen and (max-width: 767px) {
  table {
    border: 0;
  }
  table caption {
    font-size: 30px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #1e6340;
    line-height: 1.0;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .well {
    min-height: 800px; /* Adjust for the expected height on smaller screens */
  }
  table {
    transition: all 0.3s ease-in-out; /* Smooth transition */
  }
  table tr {
    transition: all 0.3s ease-in-out;
  }
  table td, table th {
    transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
  }
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 14px;
    line-height: 1.1;
  }
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table td:last-child {
    border-bottom: 0;
  }
  table th, table td {
    width: 100% !important;
    text-align: center;
  }
  table tr:nth-child(even) {
    background-color: white;
  }
  td[data-label="Name"] {
    background: #6D6E71;
    color: white;
  }
  table tr {
    padding: 0;
  }
}
address {
  margin-bottom: 0px;
}
/* General table styles */
.directory-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.directory-container h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  text-align: center;
  color: #1e6340;
  margin-bottom: 20px;
}
.table-wrapper {
  overflow-x: auto; /* Allow horizontal scrolling for small screens */
}
table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed; /* Ensures predictable column widths */
}
th, td {
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  word-wrap: break-word;
}
th {
  background: #6D6E71;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}
tr:nth-child(even) {
  background: #fafafa;
}
/* Responsive layout for small screens */
@media screen and (max-width: 767px) {
  table, thead, tbody, th, td, tr {
    display: block; /* Switch to a block layout */
  }
  table {
    border: none; /* Remove table borders for cleaner look */
  }
  thead tr {
    display: none; /* Hide table headers */
  }
  tr {
    margin-bottom: 15px; /* Add spacing between rows */
    border: 1px solid #ddd; /* Add border to each block row */
    padding: 10px;
  }
  td {
    border: none;
    padding: 5px 10px;
    text-align: left; /* Align content to the left */
    position: relative;
  }
  td::before {
    content: attr(data-label); /* Display the column name */
    position: absolute;
    left: 0;
    top: 5px;
    font-weight: bold;
    color: #1e6340;
    text-transform: uppercase;
  }
  td[data-label="Name"] {
    font-weight: bold;
    color: #000;
  }
  td a {
    word-wrap: break-word;
  }
}
.employee-directory .tab-v3 .tab-content {
  padding-top: 0;
}
.msi-resources-ul {
  padding-left: 14px;
  margin-top: 12px;
}
.msi-carriers {
  column-count: 2
}
.msi-carriers li {
  line-height: 1.2;
  margin-bottom: 20px;
}
.msi-hola {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 55px;
}
li.ns {
  padding-left: 0;
}
li.ns:before {
  display: none;
}
.msi-br {
  display: none;
}
@media (max-width: 1200px) {
  .msi-br {
    display: inline;
  }
}
.msi-br2 {
  display: none;
}
@media (max-width: 767px) {
  .msi-br2 {
    display: inline;
  }
  .interactive-slider-v2 h1 {
    text-align: center;
    font-size: 45px !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 992px) {
  .footer {
    text-align: center;
  }
  .footer-v1 .footer .headline {
    border-bottom: none;
  }
}
main ul {
  padding-left: 18px;
}
@media (max-width: 767px) {
  main .list-inline li {
    margin-bottom: 10px;
  }
}
/*@media (max-width: 1140px) {
  .header-v8 .navbar-nav > li > a {
    font-size: 20px;
    text-align: center;
    padding: 10px 5px;
  }
  .header-v8 .navbar-nav > li > a.msi-gaq {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}*/
.msi-team script + a::before {
  content: "\f003";
  font-family: FontAwesome;
  margin-right: 0.5em;
  vertical-align: middle;
  color: #007AA3;
}
.msi-team script + a {
  color: #007AA3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.msi-team script + a:hover {
  text-decoration: underline;
}
.map-legend {
  margin-top: 40%;
}
.map-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.map-legend li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.map-legend img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: auto;
}
@media (max-width: 992px) {
  .map-legend {
    margin-top: 10%;
  }
  .map-legend ul {
    padding-left: 15vw;
  }
}
@media (max-width: 560px) {
  .map-legend ul {
    padding-left: 1vw;
  }
}
.fa-white::after {
  color: #ffffff !important;
}
.tooltips {
  display: inline-block;
  width: auto !important;
  max-width: none !important;
}
.tooltip {
  position: fixed !important; /* Removes any parent width restrictions */
  width: auto !important;
  max-width: 400px !important; /* Forces a wider tooltip */
}
/* Override Cube Portfolio filter text color */
#filters-container.cbp-l-filters-text, #filters-container .cbp-filter-item-active, #filters-container .cbp-filter-item {
  color: #231F20 !important;
}
/* /////// ENZUZO START ////////// */
.enzuzo-privacy .ez-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.enzuzo-privacy h1, .enzuzo-privacy h2, .enzuzo-privacy h3, .enzuzo-privacy h4 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  color: #1e6340 !important;
  line-height: 1.0;
}
.enzuzo-privacy h1 {
  font-size: 70px !important;
}
.enzuzo-privacy h2 {
  font-size: 37px !important;
}
.enzuzo-privacy h3, [ez-policy] h4.enzuzo-policySubSubHeader {
  font-size: 24px !important;
  color: #231F20;
  margin-bottom: 5px;
}
#enzuzo-settings-btn {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 999999 !important;
  transform: none !important;
}
main article .enzuzo-privacy h2::before {
  display: none !important;
}
main article .enzuzo-privacy h2 {
  padding-left: 0px;
}
/* /////// ENZUZO END ////////// */
.ms-footer-logo {}
#logo-footer {
  margin-right: 30px;
}
.goodwell {
  position: relative;
  bottom: 10px;
}
@media (max-width: 560px) {
  .ms-footer-logo {
    text-align: center;
    margin-bottom: 30px !important;
  }
  #logo-footer, .footer-logo {
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 15px !important;
  }
}
/* Employee Directory Filtering — WCAG-safe default visible */
.employee-directory-wrapper table.employee-directory tbody tr {
  display: table-row;
}

/* When a site class is present, hide non-matching rows only */
.employee-directory-wrapper.ed-msi  table.employee-directory tbody tr:not(.ed-msi)  { display: none; }
.employee-directory-wrapper.ed-msti table.employee-directory tbody tr:not(.ed-msti) { display: none; }
.employee-directory-wrapper.ed-bi   table.employee-directory tbody tr:not(.ed-bi)   { display: none; }

/* Reset any inherited striping from global styles */
.employee-directory tbody tr,
.employee-directory tbody td {
  background: transparent !important;
}

/* Stripe only visible rows via JS-applied class */
.employee-directory tbody td.altcell,
.employee-directory tbody th.altcell {
  background-color: #fafafa !important;
}