/* Header Main */
@media #{$min-xl} {
	#ct-header-default {
		background-color: #020033;
		.row {
			align-items: center;
		}
		.ct-header-branding {
			flex-grow: 1;
			margin-left: 15px;
			margin-top: 10px;
			margin-bottom: 10px;
			img {
				max-height: 47px;
				max-width: inherit;
			}
		}
		.ct-main-menu > li > a {
			line-height: 84px;
			color: #fff;
			&:hover {
				color: $primary_color;
			}
		}
		.ct-main-menu-not-set {
			margin-bottom: 0;
			list-style: none;
			> li > a {
				line-height: 84px;
				color: #fff;
				&:hover {
					color: $primary_color;
				}
			}	
		}
		.logo-mobile {
			display: none;
		}
	}
}
.ct-main-menu-not-set {
	list-style: none;
}
#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));
		.logo-light {
			display: none;
		}
		.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;
			}
		}
	}
}

.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: $primary_color;
		opacity: 0.35;
		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;
	}
	&.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);
	}
}