/*
	Theme Name: Nibavlifts
	Theme URI: https://www.nibavlifts.com/
	Description: Nibav theme
	Version: 1.0.0
	Author: nibav
	Author URI: https://www.nibavlifts.com/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

*{ 
	font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  background-color: #111;
  color: #fff;
}



.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('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: 10px;
	padding-bottom: 10px;
}
.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: #be8707; }
.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: #be8707;
}
.custom-single .breadcrumb-item + .breadcrumb-item::before {
	color: #fff !important;
	text-decoration: none;
	content: " » " !important;
}
#horizontalForm .frm_error,
#verticalForm .frm_error {
  font-size: 14px !important;
}
.horizontal-form #frm_error_city {
  margin-left: -14px;
}
.div-horizontal-form form#horizontalForm button  { background: #be8707 !important; color:#fff !important; }
@media only screen and (max-width: 1400px) {
.header-top .mainmenu .navbar-nav .nav-item {
    margin: 0 10px;
}
.header-top .mainmenu .navbar-nav .nav-item .nav-link {
    font-size: 14px;
}
.header-top .header-btn .btn {
     padding: 12px 15px;   
}
}
@media only screen and (max-width: 767px) {
  .custom-single-left p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7em;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .horizontal-form #frm_error_city {
    margin-left: 0;
  }
}


/* mega menu */
.product-grid .product {
    text-align: center;
    width: auto;
    margin: 0 auto;
}
.product-grid a {
    text-decoration: none;
}
.menu-item-has-children{position: relative !important;}
.navbar-nav .menu-item-has-children:hover .dropdown-menu {
    display: block;
}
.nav-item.mega-parent {
  position: static !important;
}
.nav-item.mega-parent > a {
  display: inline-block;
  padding-bottom: 12px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -12%;
  width: 100vw;
  background: #000;
  padding: 3rem 4rem;
  display: none;
  z-index: 9999;
  margin-top: -15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mega-menu .product-grid {
  display: grid;
  grid-auto-flow: column;
  gap: 5rem;
  max-width: 100%;
  margin: 0 auto;
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    li.nav-item.mega-parent {
    width: 90%;
}
  .mega-menu .product-grid,
  .mobile-submenu .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 10px;
  }
}

/* Very small screens: 1 column */
@media (max-width: 420px) {
  .mega-menu .product-grid,
  .mobile-submenu .product-grid {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 auto;
    justify-items: center;
  }
}
.nav-item.mega-parent:hover .mega-menu {
  display: block;
}

.product {
  text-align: center;
  width: 150px;
}

.product-grid h4 {
  font-size: 16px;
  padding-top: 10px;
  color: #be8707;
}

.product-grid a {
  color: #fff;
}

.nav-item.mega-parent .mega-menu {
  display: none;
}
.nav-item.mega-parent.open .mega-menu {
  display: block;
}
/*mobile menu*/
.offcanvas-body {
  background: #000;
}
.offcanvas-header {
  background: #000;
}
