.header-banner{
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-slide-banner .carousel-wrap{
  width: 100%;
}

.image-slide-banner .flex-banner{
  padding-top: 10vh;
}

.image-slide-banner .flex-banner .item{
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.image-slide-banner .banner-text{
  position: relative;
  max-width: 520px;
  background-color: #164A6A;
  border: 5px solid #ECA840;
  margin: 5%;
  padding: 30px;
  color: #ffffff;
}

.image-slide-banner .banner-text h2, .is-preview .image-slide-banner .banner-text h2{
  font-size: 60px;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
}

.image-slide-banner .banner-text p{
  font-size: 25px;
}

.image-slide-banner .banner-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  font-size: 0;
}

.image-slide-banner .banner-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.image-slide-banner .flex-banner .owl-dots{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px;
}

.image-slide-banner .flex-banner .owl-dots .owl-dot{
  border: 2px solid #ffffff;
  width: 15px;
  height: 15px;
  background-color: #116EB2;
}

.image-slide-banner .flex-banner .owl-dots .owl-dot.active{
  background-color: #ECA840;
}

.image-slide-banner .owl-item.active .banner-text{
  animation: fadeInUp ease 1s 0.5s both;
}

.is-preview .flex-banner .item{
  display: none;
}

.is-preview .flex-banner .item:first-child{
  display: block;
  height: 600px;
  min-height: 600px;
}

.image-text-banner{
  padding-top: 64px;
  grid-gap: 0;
  grid-template-columns: repeat(2,1fr);
}

.is-preview .image-text-banner{
  padding-top: 0;
  grid-gap: 0;
  grid-template-columns: repeat(2,1fr);
}

.image-text-banner a, .is-preview .image-text-banner a{
  color:#ffffff;
}

.image-text-banner .text-wrap{
  background: #164A6A;
  border: 5px solid #ECA840;
  color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
}

.image-text-banner .text-wrap h1 {
  margin: 0;
  color: #ffffff;
}

.image-text-banner .main-img{
  position: relative;
  padding-top: 100%;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
}

.image-text-banner .main-img img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

.image-text-banner .intro-text{
  font-size: 25px;
}

.image-text-banner .text-wrap-content{
  max-width: 60%;
}

.banner-img-grid-2{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap:0;
}

.banner-img-grid-3{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-gap:0;
}

.shortcode-wrap{
  padding: 50px 10%;
}

/* ---------------------------------------------- /*
 * Responsive
/* ---------------------------------------------- */


@media only screen 
      and (min-width: 0px) 
      and (max-width: 768px) 
{ 
  .image-slide-banner .flex-banner {
    padding-top:0 ;
}
  .image-slide-banner .banner-text{
    max-width: 100%;
    min-width: 90%;
    margin: 10% 5%;
    padding: 5%;
  }
  .image-slide-banner .flex-banner .item {
    min-height: 100vh;
    justify-content: flex-end;
    
}
.image-slide-banner .banner-text h2{
  font-size: 40px;
  margin-bottom: 20px;
}

.image-slide-banner .banner-text p{
  font-size: 18px;
}
.image-text-banner{
  padding-top: 30px;
  grid-template-columns: 100%;
}

.image-text-banner .grid-text{
  order: 2;
}
.image-text-banner .grid-image{
  order: 1;
}
.image-text-banner .main-img{
  position: relative;
  top: 0;
  left:0;
  width: 100%;
  height: 400px;
}
.image-text-banner .text-wrap{
  min-height: auto;
  height: auto;
  padding: 6%;
}

.image-text-banner .intro-text{
  font-size: 20px;
}

.banner-img-grid-2{
  grid-template-columns: auto;
}
.banner-img-grid-3{
  grid-template-columns: auto;
}

.banner-img img:nth-child(2), .banner-img img:nth-child(3){
display: none;
}

.image-text-banner .text-wrap-content{
  max-width: 100%;
}

}


@media only screen 
      and (min-width: 769px) 
      and (max-width: 1023px) 
{ 
  .image-slide-banner .banner-text{
    max-width: 420px;
  }
  .image-slide-banner .banner-text h2{
    font-size: 40px;
  } 
  
  .image-text-banner .text-wrap-content{
    max-width: 70%;
    padding: 0;
  }
}

@media only screen 
and (min-width: 1024px) 
and (max-width: 1280px) 
 { 
  .image-text-banner .text-wrap-content{
    max-width: 70%;
    padding: 0;
  }
}

@media only screen 
and (min-width: 1024px) 
and (max-width: 1460px) 
 { 
  .image-slide-banner .banner-text{
    max-width: 420px;
  }
  .image-slide-banner .banner-text h2{
    font-size: 45px;
  }
}

/* @media only screen 
   and (min-width: 1800px) 
 { 
  .image-text-banner{
    padding-top: 78px;
  }

  .image-slide-banner .banner-text h2{
    font-size: 60px;
  }
  
} */



