/**
 * The header styles
 * 
 * @since 1.0.0
 */

/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	padding: 10px 0;
	background: rgba( 255, 255, 255, 0.98 );
	box-shadow: 0 1px 2px 0 rgba( 0, 0, 0, 0.1 );
	z-index: 1000;
	-webkit-transition: all 200ms linear;
	   -moz-transition: all 200ms linear;
	        transition: all 200ms linear;
}

@media screen and ( min-width: 783px ) {
	
	.admin-bar .site-header {
		top: 32px;
	}
}

.site-header.headroom--pinned {
    transform: translateY(0%);
}
.site-header.headroom--unpinned {
    transform: translateY(-100%);
}

/* Logo */

.site-header .site-logo {
	position: relative;
	height: 100%;
	padding: 0 80px;
	z-index: 100;
}
.site-header .site-logo a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(../images/logo-main.svg) center center no-repeat;
	background-size: contain;
	text-indent: -9999px;
}

@media screen and ( min-width: 600px ) {
	
	.site-header {
		height: 80px;
	}
	.site-header .site-logo {
		width: 244px;
		margin: 0 auto;
		padding: 0;
	}
}
@media screen and ( min-width: 800px ) {
	
	.site-header {
		padding: 0 20px;
	}
	.site-header .site-logo {
		float: left;
		margin: 0 20px 0 0;
	}
	
}


/*--------------------------------------------------------------
2.0 Alt Header
--------------------------------------------------------------*/

.site-header.alt-header {
	background: none;
	box-shadow: none;
}

.site-header.alt-header .site-logo a {
	background-image: url(../images/logo-footer.svg);
}


/*--------------------------------------------------------------
2.0 Main Menu
--------------------------------------------------------------*/

/* Toggle */

.main-menu-toggle {
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 100%;
	color: rgb( 195, 154, 100 );
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	z-index: 150;
}
.main-menu-toggle:hover,
.main-menu-toggle:active,
.main-menu-toggle:focus {
	text-decoration: none;
}
.main-menu-toggle::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 20px;
	margin: -10px 0 0 -12px;
	font-size: 20px;
	vertical-align: top;
}
.main-menu-toggle span {
	display: none;
	font-family: "museo-slab", serif;
}

.site-header.alt-header .main-menu-toggle {
	color: rgb( 255, 255, 255 );
}

@media screen and ( max-width: 599px ) {
	
	body.main-menu-open .main-menu-toggle {
		border-right: 1px solid rgb( 230, 230, 230 );
	}
	body.main-menu-open .main-menu-toggle::before {
		width: 20px;
		height: 24px;
		margin: -12px 0 0 -10px;
		content: '\e816';
		color: rgb( 195, 154, 100 );
	}
	body.main-menu-open .main-menu-toggle::after {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		width: 100%;
		height: 1px;
		content: '';
		background: rgb( 255, 255, 255 );
	}
	body.main-menu-open .site-header.alt-header .main-menu-toggle {
		color: rgb( 0, 0, 0 );
		background: rgba( 255, 255, 255, 0.98 );
		border-right: none;
	}
	body.main-menu-open .site-header.alt-header .main-menu-toggle::after {
		display: none;
	}
}

@media screen and ( min-width: 600px ) {
	
	.main-menu-toggle {
		left: 20px;
		width: auto;
		padding: 30px 0 0 0;
	}
	.main-menu-toggle::before {
		position: relative;
		top: auto;
		left: auto;
		margin: 0 10px 0 0;
	}
	.main-menu-toggle span {
		display: inline;
	}
	.main-menu-toggle:hover,
	.main-menu-toggle:active,
	.main-menu-toggle:focus {
		text-decoration: none;
		outline: none;
	}
}
@media screen and ( min-width: 800px ) {
	
	.main-menu-toggle {
		display: none;
	}
}

.main-navigation {
	position: fixed;
	top: 60px;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba( 3, 67, 142, 0.6 );
	border-top: 1px solid rgb( 230, 230, 230 );
	opacity: 0;
	overflow: auto;
	visibility: hidden;
	z-index: 75;
	-webkit-transition: opacity 0.2s;
	   -moz-transition: opacity 0.2s;
	        transition: opacity 0.2s;
}
.site-header.alt-header .main-navigation {
	border-top: none;
}
body.main-menu-open .main-navigation {
	opacity: 1;
	visibility: visible;
}
body.main-menu-open .headroom--unpinned ~ .main-navigation {
	opacity: 0;
	visibility: hidden;
}

@media screen and ( min-width: 600px ) {
	
	.main-menu-wrap {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
	}
	
	.main-menu-toggle {
		width: 120px;
	}
	
	.main-navigation {
		position: absolute;
		top: 100%;
		right: auto;
		bottom: auto;
		left: 10px;
		width: 660px;
		background: none;
		border-top: none;
		overflow: visible;
	}
	.main-navigation::before {
		position: absolute;
		top: -10px;
		left: 10px;
		width: 0;
		height: 0;
		content: '';
		border-right: 10px solid transparent;
		border-bottom: 10px solid rgb( 255, 255, 255 );
		border-left: 10px solid transparent;
	}
}

@media screen and ( min-width: 1025px ) {
	
	.main-menu-wrap:hover .main-navigation {
		opacity: 1;
		visibility: visible;
	}
}

.main-navigation ul {
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
	list-style: none;
	overflow: hidden;
}
.main-navigation > ul {
	background: rgba( 255, 255, 255, 0.98 );
	z-index: 1000;
}

.main-navigation li {
	border-bottom: 1px solid rgb( 230, 230, 230 );
}
.main-navigation li:last-child {
	border-bottom: none;
}

.main-navigation a {
	display: block;
	padding: 10px 20px;
	color: rgb( 50, 50, 50 );
	text-decoration: none;
}
.main-navigation a::before {
	margin-right: 10px;
}
.main-navigation li:hover a,
.main-navigation li.current-menu-item a,
.main-navigation li.current-menu-parent a {
	color: rgb( 255, 255, 255 );
	background: rgb( 223, 87, 58 );
}

.main-navigation ul ul {
	display: none;
	border-top: 1px solid rgb( 230, 230, 230 );
}
.main-navigation ul ul li {
	background: rgba( 0, 0, 0, 0.03 );
}
.main-navigation ul ul li:hover a {
	background: rgb( 200, 81, 54 );
}
.main-navigation ul ul li.current-menu-item a {
	background: rgb( 231, 93, 62 );
}

.main-navigation li:hover > ul {
	display: block;
}

@media screen and ( min-width: 600px ) {
	
	.main-navigation > ul {
		float: left;
		width: 50%;
		border-radius: 5px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		box-shadow: 0 0 10px rgba( 0, 0, 0, 0.2 );
	}
}

@media screen and ( min-width: 800px ) {
	
	.main-menu-wrap {
		position: relative;
		float: left;
		top: auto;
		left: auto;
		height: auto;
	}
	.main-navigation {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: auto;
		line-height: 1;
		opacity: 1;
		visibility: visible;
	}
	.main-navigation::before {
		display: none;
	}
	.main-navigation ul {
		float: none;
		width: auto;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}
	.main-navigation li {
		position: relative;
		float: left;
		border: none;
	}
	.main-navigation a {
		padding: 32px 20px;
	}
	
	.main-navigation ul ul {
		position: absolute;
		top: 100%;
		left: 0;
		width: 200px;
		border: none;
	}
	.main-navigation ul ul li {
		float: none;
		font-size: 14px;
		background: none;
		border: none;
	}
	.main-navigation ul ul a {
		padding: 20px;
		color: rgb( 255, 255, 255 );
	}
	
	/* Alt Header */
	
	.site-header.alt-header .main-navigation a {
		color: rgb( 255, 255, 255 );
	}
}


/*--------------------------------------------------------------
2.0 Social Links
--------------------------------------------------------------*/

.site-header .social-links {
	display: none;
}

@media screen and ( min-width: 1000px ) {
	
	.site-header .social-links {
		display: block;
		position: absolute;
		top: 50%;
		left: 15%;
		-webkit-transform: translateY( -50% );
	    	-ms-transform: translateY( -50% );
	        	transform: translateY( -50% );
	}
}


/*--------------------------------------------------------------
2.0 Action Buttons
--------------------------------------------------------------*/

/* Download */

.site-header .actions .download-button {
	display: none;
}

/* Account */

.site-header .actions a:hover {
	text-decoration: none;
}

@media screen and ( max-width: 599px ) {
	
	.site-header .actions .account,
	.site-header .actions .log-in {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 60px;
		height: 100%;
		font-size: 2.4rem;
		font-weight: 700;
		line-height: 1;
		z-index: 150;
	}
	.site-header .actions .account::before,
	.site-header .actions .log-in::before {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 24px;
		height: 24px;
		margin: -12px 0 0 -12px;
		font-size: 24px;
		vertical-align: top;
	}
	.site-header .actions .account span,
	.site-header .actions .log-in span {
		display: none;
	}
}

@media screen and ( min-width: 600px ) {
	
	.site-header .actions {
		position: absolute;
		top: 0;
		right: 20px;
		z-index: 150;
	}
	.site-header .actions a {
		float: left;
		margin-left: 20px;
	}
	.site-header .actions a:first-child {
		margin-left: 0;
	}
	.site-header .actions a {
		display: block;
		padding: 32px 20px;
		color: rgb( 50, 50, 50 );
		font-size: 16px;
		line-height: 1;
	}
	.site-header .actions a:hover {
		color: rgb( 255, 255, 255 );
		background: rgb( 223, 87, 58 );
	}
	.site-header .actions a[role="button"] {
		margin-top: 20px;
		padding: 12px 34px 11px;
		color: rgb( 255, 255, 255 );
		font-size: 1.6rem;
	}
	.site-header .actions a[role="button"]:hover {
		background: rgb( 0, 146, 199 );
	}
	.site-header .actions a[role="button"].alt-button {
		padding-top: 10px;
		padding-bottom: 9px;
		color: rgb( 195, 154, 100 );
	}
	.site-header .actions a[role="button"].alt-button:hover {
		color: rgb( 255, 255, 255 );
		background: rgb( 195, 154, 100 );
	}
	
	/* Alt Header */
	
	.site-header.alt-header .actions a[role="button"] {
		color: rgb( 0, 0, 0 );
		background: rgb( 255, 255, 255 );
	}
	.site-header.alt-header .actions a[role="button"]:hover {
		color: rgb( 0, 0, 0 );
		background-color: rgb( 255, 255, 255 );
	}
	
	.site-header.alt-header .actions a[role="button"].alt-button {
		color: rgb( 255, 255, 255 );
		border-color: rgb( 255, 255, 255 );
	}
	.site-header.alt-header .actions a[role="button"].alt-button:hover {
		color: rgb( 0, 0, 0 );
	}
}

@media screen and ( min-width: 800px ) {
	
	.site-header .actions {
		position: relative;
		float: right;
		top: auto;
		right: auto;
	}
}

@media screen and ( min-width: 1020px ) {
	
	.site-header .actions .download-button {
		display: inline-block;
	}
}

.site-header.alt-header .actions a {
	color: rgb( 255, 255, 255 );
}
