#g-header {
	background-color: $header-background-color;
	@if $header-background-image {
    	background-image: url($header-background-image);
    	background-repeat: unquote($header-background-repeat);
    	background-size: unquote($header-background-size);
    	background-attachment: unquote($header-background-attachment);
	}
	color: $header-text-color;
	position: relative;
	z-index: 1002;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);

	h1, h2, h3, h4, h5, h6, strong {
		color: $header-heading-color;
	}

	> .g-container {
		position: relative;
	}

	.g-content {
		padding-top: 0;
		padding-bottom: 0;
		margin-top: 0;
		margin-bottom: 0;
	}

	.g-header-shadow {
		background: url("gantry-theme://images/header-shadow.png") no-repeat center;
		position: absolute;
		height: 42px;
		bottom: -42px;
		width: 100%;
		@include breakpoint(mobile-only) {
			display: none;
		}
		@include breakpoint(tablet-range) {
			display: none;
		}
	}
	&.g-fixed-second {
		.g-logo {
			margin: 0;
		}
		.g-main-nav .g-toplevel > li > .g-menu-item-container {
			padding-top: 26px;
			padding-bottom: 26px;
		}
		.g-main-nav .g-toplevel > li:last-child > .g-menu-item-container {
			padding-right: 0;
		}
		#header-search {
			height: 69px !important;
			line-height: 69px !important;
			.uk-close {
				top: 25.5px !important;
			}
			input.search-query {
				height: 69px !important;
				line-height: 69px !important;
			}
		}
	}
	&.g-absolute-header {
		position: absolute;
		width: 100%;
		&.uk-sticky-placeholder {
			position: absolute;
			width: 100%;
		}
		.g-main-nav {
			.g-toplevel {
				> li {
					&.active {
						> .g-menu-item-container {
							background: none;
						}
					}
				}
			}
		}
		#header-search {
			background: #000000;
			.search, .search-field, .uk-close {
				color: $header-text-color !important;
				input {
					color: $header-text-color !important;
				}
			}
			.uk-close {
				&:hover {
					color: $accent-color-1 !important;
				}
			}
		}
	}
}

@media print {
	#g-header {
		background: #fff !important;
		color: #000 !important;
	}
}