/*
	Theme Name: Elite Malaysia
	Theme URI: www.eliteelevators.my
	Description: Elite theme
	Version: 1.0.0
	Author: Elite
	Author URI: www.eliteelevators.my
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
#header.header-top.header-fixed.sticky
  .mainmenu
  .navbar-nav
  .nav-item.dropdown
  ul.dropdown-menu
  li
  a,
#header.header-top.header-fixed.sticky
  .mainmenu
  .navbar-nav
  .nav-item.dropdown
  ul.dropdown-menu
  li
  ul
  li
  a {
  color: #fff !important;
}

.faq-header .dropdown-menu{
	width: 250px;
}

button.dropdown-toggle {
  display: none;
}
ul.dropdown-menu {
  background: linear-gradient(
    to bottom,
    rgba(69, 72, 77, 1) 0%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: OpenSans !important;
}
p,
li,
ul {
  font-family: Exo2 !important;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #fff;
  color: #fff;
}
.header-banner-btn .btn.dw-btn {
  background-color: #c6a664 !important;
  color: #fff !important;
}
.header-banner-btn .btn,
.header-banner-btns #btn {
  display: inline-block;
  align-items: center;
  padding: 12px 30px;
  font-size: 16px;
  text-decoration: none;
  color: #000;
  background-color: #fff !important;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contact {
  margin-left: 30px;
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
}

.video-gallery {
  padding: 40px 20px;
  background-color: #000;
  text-align: center;
}

.filter-options {
  margin-bottom: 20px;
}

.filter-btn {
  background: none;
  border: none;
  color: #fff;
  margin: 0 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
}

.filter-btn.active {
  background-color: #fff;
  color: #000;
  border-radius: 20px;
}

.video-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.video-card {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 400px;
}

.video-card img {
  max-width: 100%;
  border-radius: 10px;
}

.play-button {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background-image: url('/wp-content/themes/elitemalaysia/img/play-icon.png');
  background-position: center;
  background-size: 35%;
  background-repeat: no-repeat;
}

.video-card:hover .overlay {
  opacity: 1;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container {
  max-width: 640px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  cursor: pointer;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 75px;
  padding-bottom: 56.25%;
  background-color: #000;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-icon {
  opacity: 1;
}

.video-iframe {
  border: none;
  display: none;
}

#loading img {
  width: 80px;
  height: 80px;
}
/* Blog Single Page */
.custom-blogs .breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
  text-decoration: none;
  content: " » " !important;
}
.custom-sidebar h4 {
  font-size: 20px;
  line-height: 1.5;
  padding-top: 20px;
}
.custom-sidebar {
  /*	background: #424242;
	border: 1px solid #ddd;*/
  padding: 15px 15px 25px 15px;
  border-radius: 5px;
  /*margin-top: 20px;*/

  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 99;
}
.custom-sidebar.custom-sidebar-blog {
  top: 50px;
}
.custom-single-left h1 {
  font-size: 32px;
  font-weight: bold;
  padding-bottom: 15px;
  padding-top: 5px;
}
.custom-single-left .accordion-button.collapsed {
  padding-bottom: 0;
  padding-top: 20px;
}
.custom-single-left .price-section-home h2 {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 0;
  padding-top: 0;
  margin-bottom: 0;
  margin-top: 0;
}
.custom-single-left h2 {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 15px;
  padding-top: 15px;
  margin-bottom: 0;
  margin-top: 0;
}
.custom-single-left .product-box1 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.custom-single-left .price-section-home {
  padding-left: 0;
  padding-right: 0;
}
.custom-single-left .accordion-button:focus {
  box-shadow: none;
}
.custom-single-left h3 {
  font-size: 22px;
}
.custom-single-left ul li {
  font-size: 15px;
  line-height: 2;
}
.custom-single-left p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7em;
  padding-top: 0px;
  padding-bottom: 0px;
}
.download-brochure a.btn.btn-primary.Downbutton {
  background-color: #000;
  color: #fff;
}
.download-brochure .newsec h2 {
  padding-top: 0px;
}
.download-brochure .newsec p {
  text-align: left;
  color: #fff;
  line-height: 2;
  margin-top: 25px;
}

/* Table of content*/
.table-of-contents {
  background: #424242;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.table-of-contents h2 {
  margin-top: 0;
  font-size: 18px;
  color: #d7d7d7;
}

.table-of-contents ul {
  margin: 0;
  padding-left: 0px;
  list-style-type: none;
}

.table-of-contents ul ul {
  margin-left: 0px;
  padding-left: 0px;
  list-style-type: none;
}
.table-of-contents ul ul ul li ul {
  padding-left: 20px;
}

.table-of-contents li {
  margin: 5px 0;
}

.table-of-contents li a {
  text-decoration: none;
  color: #f4f4f4;
  font-size: 13px;
}
.table-of-contents li a:hover {
  text-decoration: underline;
}
.table-of-contents .bi.bi-chevron-double-right {
  padding-right: 10px;
  color: #f4f4f4;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.post-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-title {
  font-size: 1em;
  margin: 15px;
  color: #333;
  text-align: center;
}

.post-meta {
  font-size: 0.8em;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  background: #f9f9f9;
  transition: background 0.3s ease;
}

.pagination a:hover {
  background: #0073aa;
  color: #fff;
}

.pagination .current {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
}
.main-content.page.single-blog {
  padding-top: 2%;
}
.main-content.page.single-blog h1 {
  text-align: center;
}
.main-content.page.single-blog .breadcrumb li a {
  color: #eee;
  text-decoration: none;
}
.main-content.page.single-blog .breadcrumb li,
.main-content.page.single-blog .breadcrumb li:before {
  color: #fff;
}
.main-content.page.single-blog .post-item a {
  text-decoration: none;
}
.main-content.page.single-blog form.vertical-form input,
form.vertical-form select {
  min-width: 100% !important;
}
.recent-posts-list li a {
  color: #eee;
  text-decoration: none;
  font-size: 1em;
  line-height: 2em;
}
.custom-sidebar-blog h2 {
  font-size: 1.7rem;
  padding-top: 40px;
  padding-bottom: 15px;
  text-align: left;
}
.single-post form.vertical-form input,
.single-post form.vertical-form select {
  min-width: 100% !important;
}
.newsec.text-center {
  padding-top: 0%;
}

.main-content.page.single-blog .breadcrumb li.active {
  color: #007bff;
}
.custom-single-left h4 {
  font-size: 1em;
}
.loading-spinner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  /* background: rgba(0, 0, 0, 0.8); */
  /* color: #fff; */
  /* padding: 10px 20px; */
  /* border-radius: 5px; */
  /* font-size: 14px; */
  z-index: 9999;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
  top: 30%;
  border: 0px !important;
  /*height: auto;
	width: auto;
	border-radius: 0;*/
  animation: none;
}
.custom-sidebar ul.recent-posts-list {
  position: relative;
}
.custom-sidebar ul.recent-posts-list li {
  list-style-type: none;
  line-height: 1.8;
}
.custom-sidebar ul.recent-posts-list .bi.bi-chevron-double-right {
  position: absolute;
  left: 5px;
}
.custom-single ol.breadcrumb {
  text-align: left;
}
.custom-single .post-meta {
  text-align: left;
  color: #eee;
}
.custom-single ol.breadcrumb {
  text-align: left !important;
  justify-content: left !important;
}
.custom-single .breadcrumb li a {
  color: #eee;
  text-decoration: none;
}
.custom-single .breadcrumb li.active {
  color: #007bff;
}
.custom-single .breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
  text-decoration: none;
  content: " » " !important;
}

/* Show the first-level dropdown on hover */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Show the second-level (inner) dropdown on hover */
.nav-item.dropdown .dropdown-menu .nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  left: 100%;
  top: 0;
  position: absolute;
}

/* Ensure submenus align properly */
.nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

/* Adjust the styling for second-level dropdowns */
.nav-item.dropdown .dropdown-menu .nav-item.dropdown .dropdown-menu {
  top: 0;
  left: 100%;
  display: none;
}

/* Fix Bootstrap's dropdown-toggle button */
.nav-item.dropdown:hover > button.dropdown-toggle {
  pointer-events: none;
}

/* Optional: Add transition for smooth appearance */
.dropdown-menu {
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown .dropdown-menu .nav-item.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
@media screen and (min-device-width: 1025px) and (max-device-width: 1200px) {
  #header.header-top .mainmenu .navbar-nav .nav-item .nav-link {
    font-weight: 700;
    font-size: 11px;
    color: #fff !important;
  }
}
@media only screen and (max-width: 1024px) {
  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    color: #fff !important;
  }
  header
    #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    color: #000 !important;
  }

  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    ul.dropdown-menu
    a.nav-link {
    font-weight: 400;
    font-size: 13px;
    color: #fff !important;
  }
  #header.header-top.header-fixed.sticky .navbar-toggler-icon {
    filter: invert(1);
  }

  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    font-weight: 400;
    font-size: 13px;
  }
  #header.header-top .mainmenu .navbar-nav .nav-item .nav-link {
    font-weight: 400;
    font-size: 13px;
    color: #fff !important;
  }
  .navbar-nav .dropdown-menu {
    display: block;
    background: #ffffff00 !important;
  }
}
@media only screen and (max-width: 1023px) {
  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    color: #fff !important;
  }
  header
    #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    color: #fff !important;
  }

  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    ul.dropdown-menu
    a.nav-link {
    font-weight: 400;
    font-size: 13px;
    color: #fff !important;
  }
  #header.header-top.header-fixed.sticky .navbar-toggler-icon {
    filter: invert(1);
  }

  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item
    .nav-link {
    font-weight: 400;
    font-size: 13px;
  }
  #header.header-top .mainmenu .navbar-nav .nav-item .nav-link {
    font-weight: 400;
    font-size: 13px;
    color: #fff !important;
  }
  .navbar-nav .dropdown-menu {
    display: block !important;
    background: #ffffff00 !important;
  }
}
@media only screen and (max-width: 990px) {
  .mainmenu .nav-item.dropdown .dropdown-menu {
    position: relative;
  }
  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item.dropdown
    ul.dropdown-menu
    li
    a,
  #header.header-top.header-fixed.sticky
    .mainmenu
    .navbar-nav
    .nav-item.dropdown
    ul.dropdown-menu
    li
    ul
    li
    a {
    color: #fff !important;
  }
  .navbar-nav .dropdown-menu {
    display: block;
    background: #ffffff00 !important;
  }
  .form-container.div-horizontal-form {
    display: block;
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .review-block .testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(246px, 2fr));
    gap: 0.5rem;
    padding: 0rem;
  }
  .custom-single-left p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7em;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

@media (max-width: 980px) {
  .custom-column {
    width: 100%;
  }
}

.benefits-section {
  padding: 60px 0;
  text-align: center;
}
.benefits-list {
  font-size: 16px;
  text-align: left;
}
.progress {
  height: 6px;
  background-color: #30123d !important;
}
.progress-bar {
  background-color: #30123d !important;
}
.footer-widget.footer-widget-2:nth-of-type(2){
	display: block !important;
}