/* Header Main */
@media #{$min-xl} {
	#ct-header-default {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		z-index: 999;
		background-color: transparent;
		.row {
			align-items: center;
		}
		.ct-header-branding {
			flex-grow: 1;
			img {
				max-height: 35px;
				max-width: inherit;
			}
		}
		.ct-main-menu > li > a {
			line-height: 100px;
		}
	}
}

#ct-header-elementor {
	.elementor-widget, .elementor-widget-wrap, .elementor-column, .elementor-column-wrap {
		position: static;
	}
	.ct-header-mobile {
		display: none;
	}
	.ct-header-elementor-sticky {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 999;
		top: 0;
		@include transform(translateY(-100%));
		@include transition(.6s cubic-bezier(.24,.74,.58,1));
		visibility: hidden;
		&.h-fixed {
			@include transform(translateY(0%));
			visibility: visible;
			@include box-shadow(0 3px 18px rgba(#02154e, 0.09));
		}
	}
	.ct-header-elementor-main {
		position: relative;
		z-index: 999;
	}
	.ct-header-fixed-transparent-wrap {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		z-index: 999;
	}
}

@media #{$max-lg} {
	#ct-header-elementor {
		.ct-header-elementor-main, .ct-header-elementor-sticky {
			display: none;
		}
		.ct-header-mobile {
			display: block;
		}
	}
	#ct-header-default, .ct-header-mobile {
		position: relative;
		@include box-shadow(0 0px 5px rgba(0, 0, 0, 0.15));
		background-color: #000;
		.ct-header-main {
			position: relative;
		}
		.ct-header-branding {
			margin: 15px;
			min-height: 50px;
			align-items: center;
			display: flex;
			img {
				max-height: 45px;
			}
		}
		#ct-menu-mobile {
			position: absolute;
			top: 50%;
			right: 15px;
			@include transform(translate(0,-50%));
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			.ct-mobile-meta-item {
				margin-left: 10px;
			}
		}
	}
	.ct-header-mobile.h-mobile-fixed .ct-header-main {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 109;
		background-color: inherit;
		box-shadow: 0 10px 20px rgba(0,0,0,0.08);
	}
}

.admin-bar #ct-header-elementor .ct-header-elementor-sticky.h-fixed {
	top: 32px;
	@media screen and (max-width: 782px) {
		top: 46px;
	}
	@media screen and (max-width: 600px) {
		top: 0;
	}
}
/* End Header Main */

.ct-cursor {
	visibility: hidden;
	position: fixed;
	pointer-events: none;
	z-index: 10000;
	display: flex;
	justify-content: center;
	align-items: center;
	@include transition(transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1));
	pointer-events: none;
	top: 0;
	left: 0;
	.ct-cursor-wrapper {
		display: flex;
		justify-content: center;
		align-items: center;
		@include transition(transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1));
	}
	.ct-cursor--follower {
		position: absolute;
		background-color: #888888;
		opacity: 0.25;
		border-radius: 100%;
		width: 1.5rem;
		height: 1.5rem;
		@include transition(transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.1s cubic-bezier(0.165, 0.84, 0.44, 1));
	}
	.ct-cursor--label {
		position: absolute;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		letter-spacing: 0.05em;
		transform: scale(0);
		will-change: transform, opacity;
		@include transition(transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1));
	}
	.ct-cursor--icon {
		position: absolute;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		transform: scale(0);
		will-change: transform, opacity;
		@include transition(transform 500ms cubic-bezier(0.165, 0.84, 0.44, 1), opacity 500ms cubic-bezier(0.165, 0.84, 0.44, 1));
		color: rgba(#fff, 0.76);
		&:before {
			content: "\f121";
			font-family: Caseicon;
			font-size: 24px;
		}
	}
	&.is-enabled {
		visibility: visible;
	}
	&.is-hidden .ct-cursor-wrapper {
	  transform: scale(0) !important;
	}
	&.is-mouse-down .ct-cursor-wrapper {
	  transform: scale(0.8);
	}
	&.is-active .ct-cursor--follower {
		@include box-shadow(0 0 8px 0 rgba(0, 0, 0, 0.7));
		@include transform(scale(3.6));
		opacity: 0.25;
	}
	&.is-active.has-label .ct-cursor--follower {
	  background-color: black;
	  opacity: 0.8;
	}

	&.is-active.has-label .ct-cursor--label {
	  transform: scale(1);
	}

	&.is-active.has-icon .ct-cursor--follower {
	  background-color: black;
	  opacity: 0.8;
	}

	&.is-active.has-icon .ct-cursor--icon {
	  transform: scale(1);
	}
}

/* Mobile Style */
@media #{$max-lg} {
	.mobile-style-light {
		.ct-menu-toggle {
			color: #000;
		}
		.ct-main-menu li {
			a {
				color: #000;
				border-color: rgba(0, 0, 0, 0.08);
			}
			> a:hover,
            &.current_page_item > a,
            &.current-menu-item > a,
            &.current_page_ancestor > a {
            	color: $primary_color;
            }
		}
		.ct-header-mobile, .ct-header-navigation .ct-main-navigation {
			background-color: #fff;
		}
		#ct-menu-mobile .ct-mobile-meta-item.btn-nav-mobile::before, 
		#ct-menu-mobile .ct-mobile-meta-item.btn-nav-mobile::after, 
		#ct-menu-mobile .ct-mobile-meta-item.btn-nav-mobile span {
			background-color: #000;
		}
	}
}