.mobile-only {
  display: none;
}

.modal-content {
  border: none;
}

.hs-video-wrapper iframe {
  border-radius: 5px;
}

@media screen and (max-width: 1300px) and (min-width: 767px) {
  .container-fluid.body-container.no-padding {
    padding-top: 140px !important;
  }
}

.tns-outer {
  padding: 0 !important;
}

.tns-outer [hidden] {
  display: none !important;
}

.tns-outer [aria-controls],
.tns-outer [data-action] {
  cursor: pointer;
}

.tns-slider {
  -webkit-transition: all 0s;
  -moz-transition: all 0s;
  transition: all 0s;
}

.tns-item {
  transition: transform 0.4s ease-in-out;
}

.tns-slider > .tns-item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.tns-horizontal.tns-subpixel {
  white-space: nowrap;
}

.tns-horizontal.tns-subpixel > .tns-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.tns-horizontal.tns-no-subpixel:after {
  content: '';
  display: table;
  clear: both;
}

.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
}

.tns-horizontal.tns-carousel.tns-no-subpixel > .tns-item {
  margin-right: -100%;
}

.tns-no-calc {
  position: relative;
  left: 0;
}

.tns-gallery {
  position: relative;
  left: 0;
  min-height: 1px;
}

.tns-gallery > .tns-item {
  position: absolute;
  left: -100%;
  -webkit-transition: transform 0s, opacity 0s;
  -moz-transition: transform 0s, opacity 0s;
  transition: transform 0s, opacity 0s;
}

.tns-gallery > .tns-slide-active {
  position: relative;
  left: auto !important;
}

.tns-gallery > .tns-moving {
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  transition: all 0.25s;
}

.tns-autowidth {
  display: inline-block;
}

.tns-lazy-img {
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  transition: opacity 0.6s;
  opacity: 0.6;
}

.tns-lazy-img.tns-complete {
  opacity: 1;
}

.tns-ah {
  -webkit-transition: height 0s;
  -moz-transition: height 0s;
  transition: height 0s;
}

.tns-ovh {
  overflow: hidden;
}

.tns-visually-hidden {
  position: absolute;
  left: -10000em;
}

.tns-transparent {
  opacity: 0;
  visibility: hidden;
}

.tns-fadeIn {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 0;
}

.tns-normal,
.tns-fadeOut {
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -1;
}

.tns-vpfix {
  white-space: nowrap;
}

.tns-vpfix > div,
.tns-vpfix > li {
  display: inline-block;
}

.tns-t-subp2 {
  margin: 0 auto;
  width: 310px;
  position: relative;
  height: 10px;
  overflow: hidden;
}

.tns-t-ct {
  width: 2333.3333333%;
  width: -webkit-calc(100% * 70 / 3);
  width: -moz-calc(100% * 70 / 3);
  width: calc(100% * 70 / 3);
  position: absolute;
  right: 0;
}

.tns-t-ct:after {
  content: '';
  display: table;
  clear: both;
}

.tns-t-ct > div {
  width: 1.4285714%;
  width: -webkit-calc(100% / 70);
  width: -moz-calc(100% / 70);
  width: calc(100% / 70);
  height: 10px;
  float: left;
}

.modal-body {
  padding: 0px !important;
}

.modal-backdrop,
.modal-backdrop.in {
  z-index: 10000000 !important;
}

.modal {
  z-index: 10000001 !important;
  top: 100px;
}

.close,
.close:active,
.close:hover {
  outline: none !important;
  position: absolute;
  right: -30px;
  top: -35px;
  z-index: 999;
  font-size: 2rem;
  font-weight: normal;
  color: #fff;
  opacity: 1;
  background: none;
  font-family: Montserrat, sans-serif !important;
  font-style: normal;
  border: none;
}

.modal-dialog {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.modal-backdrop.show,
.modal-backdrop.in {
  opacity: 0.8;
}

.learn-more-button,
.learn-more-button:active,
.learn-more-button:active:hover {
  background: #1E47A4 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 4px;
  border: none;
  font-size: 24px;
  font-family: Montserrat, sans-serif !important;
  font-weight: lighter !important;
}

.learn-more-button:hover {
  background: #515151 0% 0% no-repeat padding-box;
  border: none !important;
  color: white !important;
  font-size: 24px !important;
  font-family: Montserrat, sans-serif !important;
  font-weight: lighter !important;
}

.tns-nav {
  display: none !important;
}

.play-button {
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 25%;
}

.item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 350px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.item-content p {
  text-align: center;
  font-size: 16px; /* Adjust font size as needed */
  color: black;
  text-decoration: none;
}

.item {
  width: 20%; /* Ensure four items fit in a row */
  padding: 0 10px; /* Add padding around each item */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  margin: 30px 0;
}

.item img {
  width: 100%;
  min-height: 250px; /* Set a fixed height */
  object-fit: cover;
}

.item-content:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.item-content:hover p{
  color: #1b439a;
}

.main-container2 {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0px 3px 6px #00000029;
  text-decoration: none;
}

:focus {
  outline: none !important;
}

a:active {
  color: black;
}

#items-outer:active {
  cursor: grabbing;
}

#items-outer {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap if necessary */
  width: 100%;
}

.slider-controls button,
.prev-button,
.next-button {
  background: none;
  border: none;
  color: #333;
  font-size: 24px;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 2;
}

.slider-controls button:hover,
.prev-button:hover,
.next-button:hover {
  color: #000;
}

#items-after {
  flex: 1; /* Allows the slider to expand fully between the buttons */
  overflow: hidden; /* Keeps items from spilling out */
}

@media only screen and (max-width: 767px) {
  .item {
    width: 50%; /* Adjust to show 2 items per row on smaller screens */
  }

  .slider-controls button {
    font-size: 18px;
  }

  .slider-controls {
    padding: 0 10px; /* Less padding on smaller screens */
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
    text-align: center; /* Center justify text */
    text-decoration: none; /* Remove text decoration */
    color: inherit; /* Ensure the link inherits the text color */
  }

  .mobile-only .hs-video-widget {
    width: 100%;
  }
}
``
