@charset "UTF-8";
/* ===================== Table Content Start ======================= 
Project Name 	:  NEM
File 			:  CSS Base
Version 		:  1.0.0
Created     	:  05/09/2024
Author 			:  Pentagon Information Technology LLC
======================== Table Content End ===================== */
label.error {
    color: #ff5656;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .form-control.error {
    border-bottom: 2px solid red !important;
  }
  div#formResult, div#BookingResult {
    margin-top: 30px;
  }
  div#formResult .form-error, div#BookingResult .form-error {
    background: #fbdfdf;
    color: rgb(209, 48, 48);
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
  }
  div#formResult .form-success, div#BookingResult .form-success {
    background: #dffbdf;
    color: green;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
  }

  .news-events {
    background: #fff;
    padding: 30px;
    min-height: 300px;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    border-radius: 20px;
}
.news-events figure {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}
.news-events figure img {
    border-radius: 15px;
}
.news-events h3 {
    font-size: 20px;
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-events h5 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #1c49a6;
}
.news-events .button-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.news-events  .text h6 {
    font-size: 15px;
    font-weight: 500;
}
.news-events .button-wrapper  .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c49a6;
    border-radius: 100%;
    transition: all .3s;
    transform: rotate(45deg);
}
.news-events .button-wrapper .icon img {
    max-width: 10px;
}
.news-events .icon svg{
    width: 12px;
    height: 12px;
    fill: #000;
}
.news-events .icon svg path {
    fill: #000;
}
.news-events:hover .icon{
 background: #1c49a6;
 transition: all 400ms;
}
 
.news-events:hover .icon svg path{
  fill: #fff;
  transition: all 400ms;
}
.news-events a:hover h3 {
    color: #000;
}
.news-events .button-wrapper .text {
    display: flex;
    align-items: center;
}
.news-events:hover figure img {
    transform: scale(1.1);
    transition: all 400ms;
}

@media (max-width: 1250px) {
.news-events h3 {
    font-size: 17px;
}
}
    @media (max-width: 767px) {
  .news-events {
    padding: 20px;
    min-height: auto;
}
.news-events .icon {
    position: static;
    margin: 0 auto;
}
.news-events h5 {
    position: static;
    margin: 20px 0;
}
}
  