
.menu-thumb {
	@include breakpoint (max-xl){
		display: none !important;
	}
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	
	.main-menu {
		ul {
			margin-bottom: 0;
			li {
				position: relative;
				list-style: none;
				display: inline-block;
				margin-inline-end: 50px;

				@include breakpoint (max-xl4){
					margin-inline-end: 35px;
				}

				@include breakpoint (max-xxxl){
					margin-inline-end: 30px;
				}

				@include breakpoint (max-xxl){
					margin-inline-end: 25px;
				}
				
	
			&:last-child {
				margin-inline-end: 0;
			}
	
			a {
				display: inline-block;
				font-size: 18px;
				font-weight: 500;
				color:  $white;
				padding: 20px 0;
				text-align: left;
				position: relative;
				text-transform: uppercase;
				@include transition;
				font-family: $heading-font;

                .head-icon {
                    margin-left: 0;
                    margin-right: 5px;
                }

				i {
					margin-left: 5px;
				}
	
				&:hover {
					color: $theme-color !important;
				}
	
			}
			.sub-menu {
				position: absolute;
				top: 100%;
				inset-inline-start: 0;
				min-width: 250px;
				background: $white;
				z-index: 99999;
				visibility: hidden;
				opacity: 0;
				transform-origin: top center;
				color: $header-color;
				box-shadow: 0px 0px 40px 0px rgba(11, 13, 17, 0.08);
				transform: translateY(10px);
				@include transition;
				padding: 30px 30px;

				li {
					display: block;
					width: 100%;
					margin: 0;
					padding: 0;

					&:not(:last-child){
						padding-bottom: 15px;
					}
	
					a {
						position: relative;
						z-index: 11;
						font-size: 18px;
						font-weight: 500;
						color: $header-color;
						padding: 0 0;
						padding-bottom: 0;
						padding-top: 0;
						text-transform: uppercase;
						font-family: $heading-font;
						width: 100%;
						display: flex;
						align-items: center;
						justify-content: space-between;


						&:hover {
							color: $white !important;
						}
					}
					.sub-menu {
						inset-inline-start: 113%;
						top: 0;
						visibility: hidden;
						opacity: 0;
					}
					&:hover {
						>a {
							color: $theme-color !important;

							&::after {
								color: $theme-color;
							}
						}
						>.sub-menu {
							-webkit-transform: translateY(1);
							-moz-transform: translateY(1);
							-ms-transform: translateY(1);
							-o-transform: translateY(1);
							transform: translateY(1);
							visibility: visible;
							opacity: 1;
						}
					}
				}
				li.has-dropdown {
					>a {
						&::after {
							position: absolute;
							top: 50%;
							inset-inline-end: 25px;
							-webkit-transform: translateY(-50%);
							-moz-transform: translateY(-50%);
							-ms-transform: translateY(-50%);
							-o-transform: translateY(-50%);
							transform: translateY(-50%);
							color: $theme-color;
						}
					}
				}
			}

			.has-homemenu {
				width: 800px;
				padding: 30px 30px 10px 30px;
				opacity: 0;
				left: -250px;
				visibility: hidden;
				padding: 30px 30px 10px 30px;

				.homemenu-items {
					@include flex;
					gap: 30px;
					justify-content: space-between;

					@include breakpoint (max-lg){
						flex-wrap: wrap;
					}

					.homemenu {
						position: relative;
						.homemenu-thumb {
							position: relative;
	
							.demo-button {
								position: absolute;
								top: 50%;
								left: 50%;
								transform: translate(-50%, -50%);
								width: 70%;
								gap: 10px;
								display: flex;
								justify-content: center;
								flex-direction: column;
								opacity: 0;
								visibility: hidden;
								@include transition;
								margin-top: 20px;
	
								.theme-btn {
									padding: 14px 20px;
									color: $white !important;
									width: initial;
									font-size: 18px;
									text-align: center;
									background-color: $black;
									line-height: initial;
									justify-content: center;
									border-radius: 100px;

									&::after,&::before {
										display: none;
									}
	
									&:hover {
										background-color: $white;
										color: $header-color !important;
									}
								}
							}
	
							&::before {
								background: -webkit-gradient(linear, left top, left bottom, from(rgba(20, 19, 19, 0)), to(#5e5ef6));
								background: linear-gradient(to bottom, rgba(99, 92, 92, 0) 0%, #252527 100%);
								background-repeat: no-repeat;
								background-size: cover;
								background-position: center;
								width: 100%;
								height: 100%;
								position: absolute;
								left: 0;
								top: 0;
								overflow: hidden;
								opacity: 0;
								-webkit-transition: all 0.3s ease-in-out;
								transition: all 0.3s ease-in-out;
								content: "";
							}
							&:hover{
	
								&::before {
									visibility: visible;
									opacity: 1;
								}
	
								.demo-button {
									opacity: 1;
									visibility: visible;
									margin-top: 0;
								}
								& .homemenu-btn {
									opacity: 1;
									visibility: visible;
									bottom: 50%;
									transform: translateY(50%);
								}
							}
							img {
								width: 100%;
							}
						}
	
						.homemenu-title {
							text-align: center;
							margin: 15px auto;
							display: inline-block;
							font-size: 18px;
                            font-weight: 600;
                            font-family: $body-font;
						}
					}
				}
			}
			
			&:hover {
				>a {
					color:  $theme-color;
					&::after {
						color:  $theme-color;
					}
				}
				>.sub-menu {
					visibility: visible;
					opacity: 1;
					transform: translateY(0px);
				}
			  }
			}
		}
	}

	.header-right {
		gap: 30px;

		@include breakpoint (max-xxl){
			gap: 20px;
		}

		.header-button {
			@include breakpoint (max-xl){
				display: none;
			}
		}

        .search-icon {
            color: $header-color;
            font-size: 18px;
        }
	}

	.sidebar__toggle {
		cursor: pointer;
	
		.header-bar {
			position: relative;
			width: 31px;
			height: 18px;
		
			span {
				position: absolute;
				width: 100%;
				height: 2px;
				display: inline-block;
				transition: all 0.3s;
				left: 0;
				background: $header-color;
				overflow: hidden;
				&:first-child {
					top: 0;
					background: $header-color;
					left: 16px;
					width: 15px;
				}
				&:nth-child(2) {
					top: 44%;
					background: $header-color;
					width: 30px;
				}
				&:last-child {
					bottom: 0;
					background: $header-color;
					width: 15px;
				}
			}
			&.active {
				span {
					&:first-child {
						transform: rotate(45deg) translate(3px, 9px);
					}
					&:nth-child(2) {
						opacity: 0;
					}
					&:last-child {
						transform: rotate(-45deg) translate(3px, -9px);
					}
				}
			}
			&:hover{
				cursor: pointer;
			}
		}
	}
}

.header-1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;

	.container-fluid {
        padding: 0 60px;

        @include breakpoint (max-xxxl){
            padding: 0 50px;
        }

        @include breakpoint (max-xxl){
            padding: 0 40px;
        }

        @include breakpoint (max-xl){
            padding: 0 30px;
        }
    }

	.sidebar__toggle {
		.header-bar {
			span {
				
				background: var(--header);
				&:first-child {
					background: var(--header);
				}
				&:nth-child(2) {
					background: var(--header);
				}
				&:last-child {
					background: var(--header);
				}
			}
		}
	}

	&.header-2 {
		.sidebar__toggle {
			.theme-btn {
				padding: 16px 20px;
				background-color: $white;
				min-width: 90px;

				&::before,&::after {
					background-color: $theme-color-2;
				}

				.icon-1 {
					position: absolute;
					top: 0px;
					left: 14px;
					transition: all 0.4s ease-in-out;
				}
			}
		}

		p {
			text-transform: uppercase;
			font-size: 20px;
			color: #888888;
			width: 100%;
			text-align: center;
			font-family: $heading-font;

			@include breakpoint (max-xl){
				display: none;
			}

			a {
				color: #888888;
			}
		}
	}

	&.header-3 {
		.header-main {
			.main-menu {
				ul {
					li {
					a {
						color:  $white;
						&:hover {
							color: $theme-color-3 !important;
						}
			
					}
					.sub-menu {
						color: $header-color;
		
						li {
							a {
							
								color: $header-color;
		
								&:hover {
									color: $white !important;
								}
							}
							
							&:hover {
								>a {
									color: $theme-color-3 !important;
		
									&::after {
										color: $theme-color-3;
									}
								}
							}
						}
					}
					}
				}
			}
		}
	}
}


//>>>>> Header 01 Start <<<<<//


//>>>>> Sticky Start <<<<</
.sticky {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: all 0.9s;
	background-color: $white;
	-webkit-animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
	animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
	box-shadow: $shadow;

	&.header-1 {
		.logo {
			filter: brightness(0);
		}

		.header-main {
			.main-menu {
				ul {
					li {
			
					a {
					
						color:  $header-color;
		
						&:hover {
							color: $theme-color !important;
						}
			
					}

					}
				}
			}
		}

		.header-button {
			.theme-btn {
				background-color: $black;
				color: $white;
			}
		}

		.sidebar__toggle {
			cursor: pointer;
		
			.header-bar {
				span {
					
					background: $header-color;
					&:first-child {
						background: $header-color;
					}
					&:nth-child(2) {
						background: $header-color;
					}
					&:last-child {
						background: $header-color;
					}
				}
			}
		}
	}

	&.header-2 {
		.sidebar__toggle {
			.theme-btn {
				background-color: $black;
				color: $white;

				&::before,&::after {
					background-color: $theme-color-2;
				}

				.icon-1 {
					filter: brightness(100);
				}

				.icon-2 {
					filter: brightness(100);
				}

				&:hover {
					color: $header-color;

					.icon-1 {
						filter: brightness(0);
					}
	
					.icon-2 {
						filter: brightness(0);
					}
				}
			}
		}
	}

	&.header-3 {
		.header-main {
			.main-menu {
				ul {
					li {
			
					a {
					
						color:  $header-color;
		
						&:hover {
							color: $theme-color-3 !important;
						}
			
					}

					}
				}
			}
		}
	}
}

//>>>>> Offcanvas Start <<<<<//
.offcanvas__info {
	background: $white none repeat scroll 0 0;
	border-left: 2px solid  $theme-color;
	position: fixed;
	right: 0;
	top: 0;
	width: 400px;
	height: 100%;
	-webkit-transform: translateX(calc(100% + 80px));
	-moz-transform: translateX(calc(100% + 80px));
	-ms-transform: translateX(calc(100% + 80px));
	-o-transform: translateX(calc(100% + 80px));
	transform: translateX(calc(100% + 80px));
	-webkit-transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
	-moz-transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
	transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
	z-index: 99999;
	overflow-y: scroll;
	overscroll-behavior-y: contain;
	scrollbar-width: none;
	// &::-webkit-scrollbar {
	// 	display: none;
	// }

	&.style-2 {
		width: 600px;
		overflow-y: scroll;
		overscroll-behavior-y: contain;
		scrollbar-width: none;

		@include breakpoint (max-md){
			width: 500px;
		}

		@include breakpoint (max-sm){
			max-width: 400px;
			width: 100%;
		}

		.offcanvas__content {
			.offcanvas__close {
				position: relative;
				z-index: 9;
				width: initial;
				height: initial;
				line-height: initial;
				border-radius: initial;
				background-color: transparent;
	
				.close-btn {
					display: inline-block;
					color: $white;
					font-weight: 500;
					text-align: center;
					padding: 10px 20px 8px;
					background-color: $black;
					position: relative;
					z-index: 9;
					//min-width: 30px;
					font-family: $heading-font;
					font-size: 16px;
					text-transform: uppercase;
					line-height: 1;
					@include transition;
					border-radius: 30px;
				
				
					&:hover {
						color: $header-color;
						background-color: $theme-color;
					}
				}
	
				i {
					color: $white;
				}
			}
		}

		.social-text {
			@include flex;
			border: 1px solid $border-color;
			//justify-content: space-between;
			position: relative;
			z-index: 9;
			width: 100%;

			@include breakpoint (max-sm){
				flex-wrap: wrap;
				gap: 20px;
			}

			li {
				padding: 18px 30px;
				text-align: center;
				width: 100%;
				font-family: $heading-font;
				text-transform: uppercase;
				border-radius: 4px;

				@include breakpoint (max-sm){
				padding-bottom: 0;
				}

				&:not(:last-child){
					border-right: 1px solid $border-color;
				}
				a {
					font-size: 24px;
					color: $header-color;
					font-family: $heading-font;
					position: relative;
					border-radius: 4px;
		
					&:hover {
						&::before {
							width: 100%;
							height: 100%;
							visibility: visible;
							opacity: 1;
						}
					}
				}
			}
		}

		

	&::-webkit-scrollbar {
		display: none;
	}
	}
}

.offcanvas__info.info-open {
	opacity: 1;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

.offcanvas__logo {
	a {
		img {
			width: 150px;
		}
	}
}

.offcanvas__wrapper {
	position: relative;
	height: 100%;
	padding: 30px 30px;

	.offcanvas-title {
		font-size: 32px;
		margin-bottom: 15px;
	}

	.offcanvas__content {
		p {
			color: $header-color;
		}

		.offcanvas__close {
			width: 45px;
			height: 45px;
			line-height: 45px;
			text-align: center;
			border-radius: 50%;
			background-color: $theme-color;
			position: relative;
			z-index: 9;
			cursor: pointer;

			i {
				color: $black;
			}
		}

		.social-icon {
			margin-top: 30px;
			gap: 10px;
			margin-bottom: 30px;

			a {
				width: 52px;
				height: 52px;
				line-height: 52px;
				text-align: center;
				font-size: 16px;
				display: block;
				background: transparent;
				color: $header-color;
				-webkit-transition: all .4s ease-in-out;
				transition: all .4s ease-in-out;
				text-align: center;
				border: 1px solid $border-color;

				&:hover {
					background-color: $theme-color;
					color: $white;
					border: 1px solid $theme-color;
				}
			}
		}

		.offcanvas__contact {
			margin-top: 20px;

			h3 {
				font-size: 32px;
				margin-bottom: 15px;
			}

			.contact-list {
				li {
					font-size: 16px;
					color: $header-color;

					&:not(:last-child){
						margin-bottom: 15px;
					}

					span {
						font-weight: 600;
						color: $header-color;
						font-size: 18px;
					}

					a {
						font-size: 16px;
						color: $header-color;
					}
				}
			}

			span {
				text-transform: initial;
			}

			.header-button {
				@include flex;
			}
		}

		.offcanvas-button {
			margin-top: 300px;
			@include flex;
			gap: 20px;

			@include breakpoint (max-xxl){
				margin-top: 30px;
			}

			// .theme-btn {
			// 	width: 100%;
			// 	justify-content: center;
			// 	padding: 19px 36px;
			// 	background-color: $theme-blue;

			// 	&::after,&::before {
			// 		display: none;
			// 	}

			// 	&:hover {
			// 		background-color: $white;
			// 		color: $header-color;
			// 	}
			// }
		}
	}
}

.offcanvas__overlay {
	position: fixed;
	height: 100%;
	width: 100%;
	background: #151515;
	z-index: 900;
	top: 0;
	opacity: 0;
	visibility: hidden;
	right: 0;
}

.offcanvas__overlay.overlay-open {
	opacity: 0.8;
	visibility: visible;
}

@media (max-width:450px) {
	.offcanvas__info {
		width: 350px;
	}
}

@media (max-width: 575px) {
	.offcanvas__wrapper {
		padding: 20px;
	}
}


//>>>>> Breadcrumb Start <<<<<//
.breadcrumb-wrapper{
	position: relative;
	overflow: hidden;
    z-index: 9;

	&::before {
		@include before;
		background: rgba(0, 0, 0, 0.70);
	}
    
	.page-heading{
		position: relative;
		padding: 170px 0 170px;
		z-index: 9;
        text-align: center;

		@include breakpoint (max-md){
			flex-wrap: wrap;
			justify-content: center;
			gap: 50px;
			padding: 140px 0;
		}

		h1 {
			color: $white;
			font-size: 64px;
			position: relative;
			z-index: 9;
            font-weight: 700;

			@include breakpoint(max-sm){
				font-size: 44px;
			}
		}

		.breadcrumb-items{
			display: inline-flex;
            justify-content: center;
			margin-top: 20px;
			gap: 10px;
            justify-content: center;

			@include breakpoint (max-sm){
				margin-top: 15px;
			}
			
			li{
				color: $white;
				text-transform: uppercase;
				font-weight: 400;
				font-size: 16px;
	
				a {
					color: $white;				;
					@include transition;
	
					&:hover{
						color: $theme-color;
					}

					i {
						color: $theme-color;
						margin-right: 5px;
					}
				}
	
				i {
					color: $white;
				}
			}
		}
	}
}


.error-content {
	text-align: center;

	h2 {
		font-size: 300px;
		font-weight: 400;
		line-height: 1;
		color: $theme-color;
	}

	h3 {
		font-size: 90px;
		font-weight: 500;
		color: $black;
		line-height: 1;

		@include breakpoint(max-sm){
			font-size: 60px;
		}
	}

	p {
		max-width: 360px;
		margin: 0 auto 50px;
	}
}


// Theme unit test Css

.header-main .main-menu ul li a{
	color: var(--header);
}

.header-main .main-menu ul li a:focus, .header-main .main-menu a:focus,  a:focus, button:focus, input:focus, textarea:focus, .mean-container .mean-nav ul li a:focus{
	outline: 1px dashed !important;
}

.offcanvas__info.style-2 .offcanvas__content .offcanvas__close .close-btn:focus-within {
    color: var(--header);
    background-color: var(--theme);
}

.header-main .main-menu ul li:focus-within >  .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.header-main .main-menu ul li .sub-menu li:focus-within  > .sub-menu {
    transform: translateY(1);
    visibility: visible;
    opacity: 1;
}

.logo a {
    font-size: 25px;
    text-transform: capitalize;
    font-weight: 600;
}

.blog-page-content-area a {
    text-decoration: underline;
}

.header-main .main-menu ul li .sub-menu ul.sub-menu {
    right: 100%;
    left: auto;
   
}

body{
	&.archive {
		.archive-page-content-area a {
			text-decoration: underline;
		}
		.header-main{
			.main-menu  ul  li > a{
				color: var(--white);
			}
			.main-menu{
				.sub-menu{
					li a{
						color: var(--header);
					}
				}
			}
			.logo a{
				color: var(--white);
			}
			.sidebar__toggle .header-bar span{
				background: var(--white);
			}
		}
	
	}
	&.search {
		.archive-page-content-area a {
			text-decoration: underline;
		}
		.header-main{
			.main-menu  ul  li > a{
				color: var(--white);
			}
			.main-menu{
				.sub-menu{
					li a{
						color: var(--header);
					}
				}
			}
			.logo a{
				color: var(--white);
			}
			.sidebar__toggle .header-bar span{
				background: var(--white);
			}
		}
	
	}
	&.page {
		.archive-page-content-area a {
			text-decoration: underline;
		}
		.header-main{
			.main-menu  ul  li > a{
				color: var(--white);
			}
			.main-menu{
				.sub-menu{
					li a{
						color: var(--header);
					}
				}
			}
			.logo a{
				color: var(--white);
			}
			.sidebar__toggle .header-bar span{
				background: var(--white);
			}
		}
	
	}
	&.single {
		.archive-page-content-area a {
			text-decoration: underline;
		}
		.header-main{
			.main-menu  ul  li > a{
				color: var(--white);
			}
			.main-menu{
				.sub-menu{
					li a{
						color: var(--header);
					}
				}
			}
			.logo a{
				color: var(--white);
			}
			.sidebar__toggle .header-bar span{
				background: var(--white);
			}
		}
	
	}
}

header{
	.header-1{
		&.sticky{
			.logo a{
				color: var(--header);
			}
		}
	}
}

.widget-area {
	a{
		text-decoration: underline;
	}
}

.content-area{
	a{
		text-decoration: underline;
	}
}