/*
 Theme Name:   Aperture
 Theme URI:    http://graphpaperpress.com/themes/aperture
 Description:  A classic header with two side menus on top of header image
 Author:       Graph Paper Press
 Author URI:   http://graphpaperpress.com
 Template:     _vs
 Version:      100
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  aperture
*/

.site-header {
	background-color: transparent;
	padding: 4em 0 1em;
}

.has-header-image .site-header {
	height: 300px;
	padding-bottom: 5em;
}

.has-header-video .site-header {
	height: 100vh;
}

._vs-front-page.has-header-image .custom-header-media,
._vs-front-page.has-header-video .custom-header-media,
.home.blog.has-header-image .custom-header-media,
.home.blog.has-header-video .custom-header-media {
	height: auto;
}

.admin-bar._vs-front-page.has-header-image .custom-header-media,
.admin-bar._vs-front-page.has-header-video .custom-header-media,
.admin-bar.home.blog.has-header-image .custom-header-media,
.admin-bar.home.blog.has-header-video .custom-header-media {
	height: auto;
}

.custom-header-media:before {
	background: transparent;
}

.site-header .menu-scroll-down {
	display: none;
}

.site-nav-container {
	margin-top: 6em;   
}

.left-menu-item {
	margin-right: auto;
}

.site-branding {
	width: auto;
	float: left;
	padding: 0;
}

.has-header-image._vs-front-page .site-branding,
.has-header-video._vs-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	position: relative;
	width: auto;
}

.site-title {
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0;
	margin-top: 0em;
}

.site-navigation-fixed.navigation-primary,
body:not(.home) .site-navigation-fixed.navigation-primary {
	float: right;
	width: auto;
	position: static;
}

.navigation-primary .wrap {
	margin: 0;
	padding: 0;
	display: flex;
}

.main-navigation li a {
	padding: 0.25em 0 0;
	display: block;
}

.navigation-primary {
	position: static;
	background: transparent;
	border: none;
}

.has-header-image .main-navigation #primary-menu > li > a {
	padding: 0.5em 1em;
	display: block;
}

.site-content-contain {
	clear: both;
}

.has-header-image._vs-front-page .site-branding, 
.has-header-video._vs-front-page .site-branding, 
.has-header-image.home.blog .site-branding, 
.has-header-video.home.blog .site-branding {
	height: auto;
}

.has-header-image:not(._vs-front-page):not(.home) .custom-header-media img {
	position: fixed;
}

.entry-content a img, .widget a img {
	box-shadow: none;
	-webkit-box-shadow: none;
}

.search-form {
	position: relative;
	top: -6px;
	right: auto;
}


/* responsive */
@media screen and (max-width: 48em) {

	.site-address {
		margin-bottom: 0;
		text-align: center;
	}
	.site-branding {
		float: none;
		text-align: center;
	}

	.navigation-primary,
	.site-navigation-fixed.navigation-primary {
		float: none;
		
		position: relative;
	}

	.site-header {
		padding-left: 2em;
		padding-right: 2em;
	}

	.site-header .wrap {
		display: block;
	}

	.search-form {
		margin-top: 3em;
		z-index: 0;
		margin-left: 2em;
		margin-right: 2em;
	}

	.menu-toggle {
		margin: 2em auto;
	}

	.search-form svg {
		top: 10px;
	}

	.search-form .search-field {
		width: 100%;
		margin: auto;
		border: 1px solid #ccc;
		background: rgba(255,255,255,0.6);
	}

	.search-form .search-field:focus {
		width: 100%;
	}

	.site-content-contain {
		margin-top: 0em;
	}


	.has-header-image._vs-front-page .custom-header,
	.has-header-video._vs-front-page .custom-header,
	.has-header-image.home.blog .custom-header,
	.has-header-video.home.blog .custom-header {
		height: auto;
	}

	.icon {
		margin-right: 10px;
	}

}
