
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease; /* Add transition effect */
}

.hidden {
  opacity: 0;
}


html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #eee;
  font-size: 14px;
}

.animated-scale{
  scale: 0.95;
  transition: 0.2s ease-in-out;
}

.animated-scale:hover{
  scale: 1;
}

.navbar-brand > img{
  width: 100%;
  height: 40px;
}

.navbar-brand{
  width: 220px !important;
}

.margin-standard{
  margin-top: 150px;
}

.text-white{
  color: #fff !important;
  transition: 0.3s;
}

.text-white:hover{
  text-decoration: none;
}

input, textarea{
  border: 1px #dc3545 solid !important;
}


swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  margin-top: 75px;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}


swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-text{
    position: absolute;
    top: auto;
    left: 12px;
    right: auto;
    bottom: 100px;
    margin: auto;
    color: #FFF;
    background: rgb(0, 0, 0, 0.5);
    min-height: 200px;
    max-height: 400px;
    min-width: 500px;
    max-width: 625px;
    height:fit-content;
    width: auto;
    padding: 22px;
    opacity: 1;
    letter-spacing: 1px;
    line-height: 1.2;
    border-radius: 12px;
}

.slide-head{
  text-transform: uppercase;
  font-size: 40px;
  text-shadow: 3px 3px #000;
}

.slide-content{
  font-size: 14px;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 3.6em; /* Line height X Number of lines you want to show = max height   (Example - 1.8 X 2 = 3.6) */
  line-height: 1.8em;
}


swiper-slide>img{opacity: 1;}

.swiper-pagination-bullet-active{
  color: #dc3545;
  background: rgb(220, 53, 69) !important;
}

.custom-head{
  color: #4D4D4D;
  text-decoration: underline;
  font-size: 22px;
  margin-bottom: 12px;
}

.section-social{
position: fixed;
z-index: 99999;
right: 10px;
top: 50%;
transform: translateY(-50%);
}

.social{
  position: relative;
  scale: 0.9;
  height: 35px;
  width: 35px;
  background: #fff;
  box-shadow: 0 0 0 1px #dc3545;
  border-radius: 50%;
  margin: 10px 0;
  transition: 0.2s ease-in-out;
}

.social:hover{
  scale: 1;
  background: #dc3545;
  box-shadow: 0 0 0 1px #FFF;
}

.social>a{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #dc3545;
}

.social:hover a{
  color: #fff;
}

.navbar{padding: 0; box-shadow: 0 0px 3px 1px #ccc;}

.navbar .megamenu{ padding: 1rem; }

.nav-link{
  padding-top: 28px;
  padding-bottom: 28px;
  max-height: 75px;
}

.dropdown-menu{
  top: 73px;
  left: 0;
  right: 0;
  margin: auto;
}

.footer-margin{
  margin-bottom: 1.5em;
  margin-top: 0.5em;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

  .navbar .has-megamenu{position:static!important;}
  .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }

}	
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px){
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
      max-height: 90vh;
      margin-top:10px;
  }
}
/* ============ mobile view .end// ============ */

header>nav{
    position: fixed !important;
    z-index: 999999;
    width: 100%;
}

.nav-item{
  position: relative;
  margin: 0 6px;
}

.nav-item::before{
  content: "";
  position: absolute;
  width: 100%;
  max-width: 80px;
  height: 2.5px;
  background: #dc3545;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 10rem;
  display: none;
  transition: 0.5s ease-in-out;
}

.active .nav-item::before {
  display: block !important;
}

.nav-item .active{
  color: #dc3545 !important;
}

.nav-item:hover::before {
  display: block;
}

.nav-item a{
  font-family: 'Inter Regular', sans-serif;
  color: #4D4D4D !important;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-arrow{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 20px;
  width: 13px;
  color: #dc3545;
  transition: 0.2s ease-in-out;
}

.buy-tickets{margin-left: 20px;}

.nav-item:hover .nav-arrow{
  transform: rotate(180deg);
}

.nav-item:hover a{
  color: #dc3545 !important;
}

.megamenu{
  padding: 40px !important;
  border-radius: 0 0 6px 6px;
  border-top: 3px solid #dc3545;
  max-height: 400px;
  overflow-y: scroll;
  background-image: url('https://thetop.com.my/wp-content/uploads/2019/01/menu_bg.jpg');
  background-size:cover;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(220, 53, 69, 0.8);
  transition: 0.2s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(220, 53, 69, 1);
}

.dropdown-toggle::after{display: none;}

.bg-body-light{
    background-color: #FFF !important;
}


.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.img-owg{
  text-align: center;
  width: 250px;
  height: 250px;
}

.jumb-head{
  font-size: 32px !important;
  font-weight: 800;
  color: #dc3545;
}

.jumbo-custom-bg{
  background-image: url('https://thetop.com.my/wp-content/uploads/2019/01/menu_bg.jpg');
  background-size: contain;
}

.center{text-align: center;}

.custom-lead{
  color: #4D4D4D;
  line-height: 1.5;
}

/* .contact-footer{
  position: absolute;
  width: 100%;
  bottom: 0;
} */

.custom-footer{
  background: #dc3545;
  color: #FFF;
}

.footer-head{
  font-size: 1.8rem;
  font-weight: 800;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
  
}

.custom-footer-button{
  width: 100%;
}

.arrow-left, .arrow-right{
  position: absolute;
  z-index: 9999;
  top: 50%;
  transform: translateY(-50%);
  background-color: #dc3545;
  border:1px solid #dc3545;
  color: #FFF;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}

.arrow-left:hover, .arrow-right:hover{
  background-color: #dc3545;
  border:1px solid #dc3545;
  color: #FFF;
  opacity: 1;
}

.arrow-left{
  left: -5px;
}

.arrow-right{
  right: -5px;
}


.custom-attraction{min-height: 150px; max-height: 150px; height: 150px; margin-bottom: 30px;} 

.custom-attraction .card-img{
  height: 400px;
  width: 100%;
}

.custom-attraction{
  padding: 6px;
  text-decoration: none;
  text-transform: capitalize;
  transform: scale(1.05);
  transition:  0.2s ease-in-out;
}

/* .custom-attraction:hover >img{
  transform: scale(1.1);
} */


.custom-attraction .card-title{
  position: relative;
  font-weight: bold;
  color: #4D4D4D;
}

.custom-attraction:after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0%;
  background: #dc3545;
  transition: 0.2s ease-in-out;
}

.custom-attraction:before{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2px;
  height: 0%;
  background: #dc3545;
  transition: 0.2s ease-in-out;
}

.custom-attraction:hover::before{
  height: 100% !important;
}

.custom-attraction:hover::after{
  height: 100% !important;
}

.custom-attraction .card-body{
  padding: 4px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.custom-attraction:hover{transform: scale(1.1);}

* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  text-align: center;
}

.flex-item-left {
  background-color: transparent;
  padding: 10px;
  flex: 50%;
}

.flex-item-right {
  background-color: transparent;
  padding: 10px;
  flex: 50%;
}

.small-para{
  font-size: 12px;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 800px) {
  .flex-item-right, .flex-item-left {
    flex: 100%;
  }
}

/* Slider */

.swiper{padding: 30px 0 40px 0;}

.custom-multi-slider{
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #efefef; */
  padding: 22px 0 40px 0;
}

.card-wrapper{margin: 10px 0;}

.card-wrapper{
  /* scale: 0.95; */
  cursor: pointer;
}

.attraction-wrapper{
  scale: 0.95;
  transition: 0.2s ease-in-out;
}

.card-wrapper:hover{
  /* scale: 1; */
}

.attraction-wrapper:hover{
  scale: 1;
}


.attraction-wrapper .image-box{
  position: relative; 
}

.home-box{
  position: relative;
}


.attraction-wrapper .image-box:before{
  content: "";
  position: absolute;
  width: 0%;
  height: 4px;
  background-color: #dc3545;
  bottom: 0;
  left: 0;
  transition: 0.5s ease-in-out;
}

.home-box:before{
  content: "";
  position: absolute;
  width: 0%;
  height: 4px;
  background-color: #dc3545;
  bottom: 0;
  left: 0;
  transition: 0.5s ease-in-out;
}



.attraction-wrapper:hover .image-box:before{
  width: 100%;
}

.card-custom:hover .home-box:before{
  width: 100%;
}

.card-wrapper .card-custom{
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  /* max-width: 312px; */
}

.card-wrapper .card-custom .image-box{
  height: 250px;
}

.card-wrapper .card-custom .image-box img{
  width: 100%;
  height: 100%;
  border-radius: 8px 8px 0 0;
}

.slide-container{
  margin: 0 30px;
  overflow: hidden;
}

.card-wrapper .card-custom .profile-details{
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 15px;
}

.card-wrapper .card-custom .profile-details img{
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.profile-details .name{
  font-size: 15px;
  font-weight: 600;
}

.profile-details .job{
  font-size: 12px;
  font-weight: 400;
  color: #4d4d4d;
}

.swiper-navBtn{
  color: #dc3545;
  height: 40px;
  width: 40px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}

.swiper-navBtn:hover{
  color: #FFF;
  height: 40px;
  width: 40px;
  background: #dc3545;
  border-radius: 50%;
}

.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 18px;
}

.swiper-pagination-bullet{
  background: #dc3545;
  margin-top: 50px;
}

.home-custom{
  scale: 1;
  transition: 0.2s ease-in-out;
}

.home-custom:hover{
  scale: 1.02;
}

.name-job{
  text-align: left;
  color: rgb(220, 53, 69, 1);
  cursor: pointer;
  text-decoration: none !important;
  transition: 0.2s ease-in-out;
}

.name-job:hover{
  color: rgb(220, 53, 69, 0.8);
}

@media screen and (max-width: 768px) {
  .swiper-navBtn {
    display: none;
  }
}

/* Footer  */

.footer-head{
  text-align: center;
}

.footer-sub-head{
  text-align: center;
  font-size: 20px;
}

.footer-lead{
  margin-bottom: 30px;
  text-align: center;
  font-size: 16px;
}

.navbar-toggler-icon{
  background-image: url('icon.svg');
}


@media only screen and (max-width: 768px) {
  
body {
  font-size: 16px;
}

.nav-item a{
  padding: 13px;
}

.custom-attraction{
  width: 100%;
}

.buy-tickets {
  margin-left: 20px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.custom-attraction{width: 100% !important;}

.custom-attraction .card-body {
  padding: 4px 0;
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  width: auto;
  margin: 0px 0 0 70px;
  transform: translate(0%, -50%);
}

.custom-attraction {
  min-height: 70px;
  max-height: 70px;
  height: 50px;
  margin-bottom: 30px;
}

.custom-head{
  font-size: 18px;
  text-align: center;
  margin-top: 25px;
}

.navbar .megamenu{
  padding: 0 !important;
}

.nav-item::before {
  max-width: 100%;
}

.card-img, .card-img-top{
  width: 40px;
  height: 40px;
}

.slide-head{
    font-size: 18px;
}

.slide-text{
  margin-top: 20px;
   top: 50%;
   left: 0;
   right: 0;
   bottom: 0;
   min-width: 80%;
   max-width: 80%;
   width: 100%;
   min-height: 100px;
   max-height: 170px;
   transform: translate(0, -50%);
}

.slide-content{
    font-size: 10px;
}

.img-fluid{
  height: 100%;
}

swiper-container{
  max-height: 280px;
}


swiper-slide{
   margin-top: 0px;
   height: 280px;
}

.swiper-container{
   max-height: 350px;
}

.jumbotron{
  padding: 0 !important;
}

.jumb-head{
  font-size: 22px !important;
  padding-top: 20px;
}

.lead{
  font-size: 15px;
  padding: 0px 10px !important;
}

.btn-lg{
  padding: 10px;
  font-size: 14px;
}

.footer-leade{
  padding: 0px !important;
}

.grid-left{
  padding-left: 0 !important;
}

.grid-right{
  padding-right: 0 !important;
}

.text-center{
  font-size: 12px;
}

.footer-margin{
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

.footer-head{
  font-size: 1.5em;
}

.footer-sub-head{
  font-size: 13px;
}

}

@media only screen and (max-width: 998px) {

}


@media only screen and (max-width: 768px) {
    .sign-in{
        margin-bottom:60px !important;
    }
}

