.hero-slider-container {
  width: 100%;
  max-width: 1210px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
section.meritoem-hero-slider-wrapper {
    padding: 0px 0px;
}

a.meritoem-slider-bg {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}

a.meritoem-slider-bg img {
    z-index: -1 !important;
    position: relative !important;
}

/* .meritoem-slider-hero-item {
    z-index: 1 !important;
} */

.meritoem-slider-hero-item .animated {
    transition: all .5s ease;
}

.meritoem-slider-hero-item [data-animation-in] {
    opacity: 0;
    animation-duration: 1.5s;
    transition: opacity 0.5s ease 0.3s;
}

.meritoem-slider-hero-item {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.merit-oem-content-wrap {
  display: flex;
  /* padding: 120px 0; */
  justify-content: space-between;
  /* flex-wrap: wrap; */
}

.meritoem-slider-left-content h2 {
  color: #4D4D4D;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.3;
  text-transform: capitalize;
}
/*
slider one
*/
.meritoem-slider-left-content.item-1{
  width: 45%;
  padding-bottom: 115px;
}


.merit-oem-content-wrap.item-1{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Background Image Properties */

  background-repeat: no-repeat;
  background-position: right center;
  background-size: 850px auto;
}

.meritoem-slider-left-content.item-2{
  width: 300px;
  padding-bottom: 140px;
}


.merit-oem-content-wrap.item-2{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Background Image Properties */

  background-repeat: no-repeat;
  background-position: right center;
  background-size: 930px auto;
  margin-top: 15px;
}


.meritoem-slider-left-content.item-3{
  width: 450px;
  padding-bottom: 110px;
}


.merit-oem-content-wrap.item-3{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Background Image Properties */

  background-repeat: no-repeat;
  background-position: right center;
  background-size: 590px auto;
  
}

.meritoem-slider-left-content.item-4{
  width: 465px;
  padding-bottom: 100px;
}


.merit-oem-content-wrap.item-4{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Background Image Properties */

  background-repeat: no-repeat;
  background-position: right center;
  background-size: 800px auto;
}

.meritoem-slider-left-content h3 {
  color: #000;
  font-size: 20px;
  font-weight: 300;
  line-height: 52px;
}

.meritoem-slider-left-content a {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    transition: 0.3s ease;
    background: #1989D9;
    margin-top: 15px;
    font-size: 15px;
    font-weight: 600;
}

.meritoem-slider-left-content a:hover{
  background: #eb3b3b;
  /* border: 1px solid #c91919; */
}




@keyframes zoomInImage {
  from {
    transform: scale3d(1, 1, 1);
  }
  to {
    transform: scale3d(1.1, 1.1, 1.1);
  }
}

.zoomInImage {
  animation-name: zoomInImage;
}

@keyframes zoomOutImage {
  from {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

.zoomOutImage {
  animation-name: zoomOutImage;
}
@media (max-width: 1210px) {
  .hero-slider-container {
    padding-left: 30px;
    padding-right: 30px;
  }
.merit-oem-content-wrap.item-2 {
  background-size: 760px auto !important;
}
.meritoem-slider-left-content.item-2 {
  width: 260px;

}
.merit-oem-content-wrap.item-1 {
  background-size: 700px auto !important;
}
  .meritoem-slider-left-content.item-1 {

  width: 450px;
}
.merit-oem-content-wrap.item-4 {
  background-size: 680px auto !important;
  margin-top: 0px;
}

.merit-oem-content-wrap.item-3 {
  background-size: 600px auto !important;
}
.meritoem-slider-left-content.item-4 {
  width: 435px;
}
.meritoem-slider-left-content h2 {
  font-size: 36px;
}
}
@media (min-width: 992px) and (max-width: 1070px) {
  .merit-oem-content-wrap.item-3 {
    background-size: 515px auto !important;
    margin-top: -25px;
  }
  .meritoem-slider-left-content.item-3 {

  padding-bottom: 50px;
}
 .merit-oem-content-wrap.item-4 {
    background-size: 585px auto !important;
    margin-top: 0px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
 .merit-oem-content-wrap.item-1 {
    background-size: 600px auto !important;
  }
.meritoem-slider-left-content.item-2 {
  width: 270px;
 
}
    .merit-oem-content-wrap.item-2 {
    background-size: 620px auto !important;
  }
 .merit-oem-content-wrap.item-3 {
    background-size: 450px auto !important;
    margin-top: -47px;
  }
.meritoem-slider-left-content.item-4 h2 {
  font-size: 32px !important;
}
  .meritoem-slider-left-content.item-3 {
  width: 340px;
padding-bottom: 0px;
}
.meritoem-slider-left-content.item-4 {
  width: 320px;
  padding-bottom: 109px;
}
 .merit-oem-content-wrap.item-4 {
    background-size: 600px  auto !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 850px) {
  .merit-oem-content-wrap.item-1 {
    background-size: 555px auto !important;
    margin-top: 35px;
  }
  .meritoem-slider-left-content.item-1 {
  
  padding-bottom: 190px;
}
    .merit-oem-content-wrap.item-2 {
    background-size: 640px auto !important;
  }
 .merit-oem-content-wrap.item-2 {
    background-size: 530px auto !important;
  }
  .meritoem-slider-left-content.item-2 {
  width: 260px;
}
    .merit-oem-content-wrap.item-3 {
background-size: 350px auto !important;
    margin-top: -80px;
    
  }
    .meritoem-slider-left-content.item-3 {
 
    padding-bottom: 0px;
        margin-top: 35px;
  }
  .meritoem-slider-left-content.item-4 {
  width: 260px;
  padding-bottom: 109px;
}
  .merit-oem-content-wrap.item-4 {
    background-size: 550px auto !important;
 
  }
}


@media (max-width: 767px ){
  .merit-oem-content-wrap.mobile.mobile-item-1 .meritoem-slider-left-content{
    width: 400px !important;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
  .merit-oem-content-wrap.mobile.mobile-item-3 .meritoem-slider-left-content{
    width: 400px !important;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
    .merit-oem-content-wrap.mobile.mobile-item-4 .meritoem-slider-left-content{
    width: 365px !important;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
.merit-oem-content-wrap.mobile.mobile-item-1 .meritoem-slider-right-content img {
  max-width: 465px !important;
}
.merit-oem-content-wrap.mobile.mobile-item-2 .meritoem-slider-right-content img {
  max-width: 670px !important;
}
.merit-oem-content-wrap.mobile.mobile-item-3 .meritoem-slider-right-content img {
  max-width: 265px !important;
  
}
.merit-oem-content-wrap.mobile.mobile-item-4 .meritoem-slider-right-content img {
  max-width: 505px !important;
}
.merit-oem-content-wrap.mobile.mobile-item-2 .meritoem-slider-left-content {
  width: 200px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.merit-oem-content-wrap.desktop {
  display: none !important;
}

.merit-oem-content-wrap.mobile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 27px 0px;
  background-position: center center;
  background-size: cover;
}
.merit-oem-content-wrap.mobile .meritoem-slider-left-content h3 {
  
  line-height: 22px;
}
.meritoem-slider-right-content {
  margin-top: -40px;
}
.merit-oem-content-wrap.mobile .meritoem-slider-left-content h2 {
  font-size: 28px;
}

.meritoem-slider-left-content h3{
  font-size: 16px;
}
  .hero-slider-container{
    padding: 0 20px;
  }
  .merit-oem-content-wrap {
    display: block;
  }
}

@media (max-width: 480px) {
    .merit-oem-content-wrap.mobile.mobile-item-1 .meritoem-slider-left-content {
    width: 350px !important;
  }
    .merit-oem-content-wrap.mobile.mobile-item-3 .meritoem-slider-left-content {
    width: 330px !important;
  }
  .merit-oem-content-wrap.mobile .meritoem-slider-left-content h2 {
    font-size: 28px;
    margin-bottom: 0px;
  }

  .merit-oem-content-wrap.mobile .meritoem-slider-left-content h3 {
    font-size: 16px;
  }

  .merit-oem-content-wrap.mobile .meritoem-slider-left-content a {
    font-size: 14px;
    padding: 8px 16px;

  }
}

@media (max-width: 360px) {

  .merit-oem-content-wrap.mobile .meritoem-slider-left-content h2 {
  font-size: 22px !important;
}
.merit-oem-content-wrap.mobile .meritoem-slider-left-content h3 {
  font-size: 16px !important;
}
  .merit-oem-content-wrap.mobile.mobile-item-4 .meritoem-slider-left-content {
    width: 330px !important;
  }
    .merit-oem-content-wrap.mobile.mobile-item-2 .meritoem-slider-left-content {
    width: 160px;
  }
}
/* Initially hide the fallback image */
#fallback-image {
  display: none;
}

/* Hide the slider and show the fallback image if the required classes are not present */
#meritome-hero-slider:not(.slick-initialized):not(.slick-slider):not(.slick-dotted) {
  display: none;
}

#meritome-hero-slider:not(.slick-initialized):not(.slick-slider):not(.slick-dotted) + #fallback-image {
  display: block;
}

/* When the classes are added, hide the fallback image */
#meritome-hero-slider.slick-initialized.slick-slider.slick-dotted {
  display: block;
}

#meritome-hero-slider.slick-initialized.slick-slider.slick-dotted + #fallback-image {
  display: none;
}


/* Desktop view only */
.merit-oem-content-wrap.desktop {
  display: flex;
}

.merit-oem-content-wrap.mobile {
  display: none;
}



.merit-oem-content-wrap.mobile {
  gap: 20px;

}

.merit-oem-content-wrap.mobile .meritoem-slider-left-content {
  width: 100%;
}

.merit-oem-content-wrap.mobile .meritoem-slider-left-content h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  margin-bottom: 15px;
}

.merit-oem-content-wrap.mobile .meritoem-slider-left-content h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: left;
}

.merit-oem-content-wrap.mobile .meritoem-slider-left-content a {
  display: inline-block;
  background-color: #1989D9;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.3s;
  border-radius: 5px;
}

.merit-oem-content-wrap.mobile .meritoem-slider-left-content a:hover {
  background-color: #eb3b3b;
}

/* Mobile image style */
.merit-oem-content-wrap.mobile .meritoem-slider-right-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  animation-duration: 1s;
}
