/* ==========================================================================
# Sticky Header default style
========================================================================== */

$sticky-header-height: 70px;

.qodef-header-sticky {
	position: fixed;
	top: 0;
	left: 0;
	height: $sticky-header-height;
	width: 100%;
	background-color: #fff;
	transform: translateY(-100%);
	transition: transform 0.5s ease, top 0.5s ease;
	z-index: 100;
	pointer-events: none;
	
	.qodef-header-logo-link {
		
		.qodef-sticky-header--light & {
			
			.qodef--light {
				opacity: 1;
			}
			
			.qodef--dark,
			.qodef--main {
				opacity: 0;
			}
		}
		
		.qodef-sticky-header--dark & {
			
			.qodef--dark {
				opacity: 1;
			}
			
			.qodef--light,
			.qodef--main {
				opacity: 0;
			}
		}
	}
	
	.qodef-header-navigation > ul > li {
		
		> a {
			
			.qodef-sticky-header--light & {
				color: #fff !important;
				
				&:hover {
					color: $main-color !important;
				}
			}
			
			.qodef-sticky-header--dark & {
				color: #000 !important;
				
				&:hover {
					color: $main-color !important;
				}
			}
		}
		
		&.current-menu-ancestor,
		&.current-menu-item {
			
			> a {
				
				.qodef-header--light &,
				.qodef-header--dark & {
					color: $main-color !important;
				}
			}
		}
	}
	
	.qodef-header--sticky-display & {
		transform: translateY(0%);
		pointer-events: all;
	}
	
	.admin-bar.qodef-header--sticky-display & {
		top: 32px;
	}
}

.qodef-header-sticky-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: $full-width-side-padding;
	
	&.qodef-content-grid {
		padding: 0;
	}
	
	.qodef-header-standard--right & {
		
		.qodef-header-logo-link {
			margin-right: auto;
		}
	}
	
	.qodef-header-standard--left & {
		justify-content: flex-start;
		
		.qodef-header-navigation {
			margin-left: 45px;
		}
		
		.qodef-widget-holder {
			margin-left: auto !important;
		}
	}
}