.mainslider>.item {
  height: 100vh;
  position: relative;
}
.owl-animated-out
{
  display: none;
}
.mainslider>.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainslider .item .cover {
  padding: 75px 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  color: #fff;
}
.mainslider .item .cover .header-content {
  position: relative;
  padding: 56px;
  overflow: hidden;
  text-align: center;
}
.mainslider .item .cover .header-content .line {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  border: 9px solid #fff;
  -webkit-clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
  clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
}
.mainslider .item .cover .header-content h2 {
  font-weight: 300;
  font-size: 35px;
  color: #fff;
}
.mainslider .item .cover .header-content h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 5px 0 20px;
  word-spacing: 3px;
  color: #fff;
  background: linear-gradient(to left, #1dc009 40%, #ff6500 20%);
  /*-webkit-background-clip: text;*/
  -webkit-text-fill-color: transparent;
}
.mainslider .item .cover .header-content h4 {
  font-size: 18px;
  font-weight: 300;
  line-height: 36px;
  color: #fff;
  font-style: italic;
}
.mainslider .owl-item.active h1 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInDown;
  animation-delay: 0.3s;
}
.mainslider .owl-item.active h2 {
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  animation-delay: 0.4s;
}
.mainslider .owl-item.active h4 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInUp;
  animation-delay: 0.3s;
}
/*.mainslider .owl-item.active .viewdetails {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  animation-delay: 0.3s;
}*/
.mainslider .owl-nav .owl-prev {
  position: absolute;
  left: 15px;
  top: 43%;
  opacity: 0;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  background: rgba(0, 0, 0, 0.5) !important;
  width: 40px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  display: block;
  z-index: 1000;
  border-radius: 0;
}
.mainslider .owl-nav .owl-prev span {
  font-size: 1.6875rem;
  color: #fff;
}
.mainslider .owl-nav .owl-prev:focus {
  outline: 0;
}
.mainslider .owl-nav .owl-prev:hover {
  background: #000 !important;
}
.mainslider .owl-nav .owl-next {
  position: absolute;
  right: 15px;
  top: 43%;
  opacity: 0;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  background: rgba(0, 0, 0, 0.5) !important;
  width: 40px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  display: block;
  z-index: 1000;
  border-radius: 0;
}
.mainslider .owl-nav .owl-next span {
  font-size: 1.6875rem;
  color: #fff;
}
.mainslider .owl-nav .owl-next:focus {
  outline: 0;
}
.mainslider .owl-nav .owl-next:hover {
  background: #000 !important;
}
.mainslider:hover .owl-prev {
  left: 0px;
  opacity: 1;
}
.mainslider:hover .owl-next {
  right: 0px;
  opacity: 1;
}
@media only screen and (max-width:990px)
{
  .mainslider .item
  {
    height: auto;
    margin: 20px 0 0 0;
  }
  .mainslider .item .cover .header-content h1
  {
    font-size: 15px;
    margin: 5px;
  }
  .mainslider .item .cover .header-content h4
  {
    font-size: 10px;
    line-height: 15px;
    text-overflow:ellipsis;
    white-space:hidden;
    display: -webkit-box;
   /* -webkit-line-clamp: 2;*/
    -webkit-box-orient: vertical;
    overflow:hidden;
  }
  .mainslider .item .cover .header-content {
  /*  padding: 5px 25px;*/
    padding: 0;
    width: 100%;
  }
  .mainslider .item .cover .header-content .line
  {
    border: 3px solid #fff;
  }
   .mainslider .item .cover
  {
    padding: 100px 0px;
  }

}
@media screen and (min-width: 501px ) and (max-width: 766px)
{
  .mainslider .item .cover {
    padding: 160px 0px;
  }
  .mainslider .item .cover .header-content h1
    {
      font-size: 18px;
      margin: 10px;
    }
  .mainslider .item .cover .header-content h4
  {
     font-size: 13px;
    line-height: 18px;
  }
}
@media screen and (min-width: 767px ) and (max-width: 989px)
{
  .mainslider .item .cover {
    padding: 180px 0px;
  }
  .mainslider .item .cover .header-content h1
    {
      font-size: 20px;
      margin: 10px;
    }
  .mainslider .item .cover .header-content h4
  {
     font-size: 15px;
    line-height: 18px;
  }
}