#banpage {
  position: relative;
  padding: 200px 0px;
}


#banpage:before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ffffff, rgb(15 44 73 / 25%));
}

#page-section {
  position: relative;
}

#page-section::before {
  content: '';
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 100vw;
  height: 100vh;
  background: url(../images/pagesecimg.png);
  background-position: bottom center;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.5;
}


#page-section h1 {
  color: #004490;
}

#page-section h2 {
  font-size: 36px;
}

.bg-navigator {
  font-size: 16px;
  color: #333;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.bg-navigator a:nth-child(1) {
  padding-right: 15px;
  padding-left: 0;
  margin: 15px 0;
  display: inline-block;
  text-decoration: none;
  border-right: solid 1px #f5f5f5;
  color: #b2e5ff;
  font-weight: 400;
}

.bg-navigator a {
  padding: 0 15px;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}

#page-section .row-serpage:nth-child(odd) .img-serpage {
  order: 0;
}


#page-section .ser-item {
  position: relative;
}

#page-section .ser-item .ser-img {
  position: relative;
  overflow: hidden;
}

#page-section .ser-item .ser-text {
  position: relative;
  overflow: hidden;
  padding: 25px;
}

#page-section .ser-item .ser-text {
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: #f59a11ce;
  opacity: 1;
  -webkit-transition: all .5s ease-in-out;
  -khtml-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.service-text p {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
}


.event-text p {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
}

.img-event{
  display: block;
  /* height: 500px; */
}

@media (min-width:992px) {

  .single-item{
    position: relative;
    overflow: hidden;

    -o-object-fit: cover;
    object-fit: cover;

    width: 100%;
    height: 400px;
  }

  .cut-text p{
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
  }



  .event-text p {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
  }

  .service-text p {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
  }

  #page-section .ser-item {
    position: relative;
  }

  #page-section .ser-item .ser-img {
    position: relative;
    overflow: hidden;
    height: 400px;
  }

  #page-section .ser-item .ser-text {
    position: relative;
    overflow: hidden;
    padding: 25px;
  }

  #page-section .ser-item .ser-text {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    background: #f59b11;
    opacity: 0;
    transform: translateX(300px);
    -webkit-transition: all .5s ease-in-out;
    -khtml-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
  }

  #page-section .ser-item:hover .ser-text {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    background: #f59b11;
    opacity: 1;
    transform: translateX(0px);
    -webkit-transition: all .5s ease-in-out;
    -khtml-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
  }

  #page-section .slick-slider img {
    width: initial;
    height: auto;
  }
  
  #page-section h2 {
    font-size: 40px;
  }

}