
#headerx {
	position: relative;

}

#headerx.header-wrapper {
	z-index: +2;
}

@media screen and (max-width: 767px) and (orientation: landscape) {
    #headerx.header-wrapper {
		height: auto;
		min-height: 100vh;
		padding: 0px;
	}
}

#headerx.header-wrapper .header-wrapper-inner {
    text-align: center;
    vertical-align: middle;
}

#headerx .top {
	position:fixed;
	top:0;
	width: 100%;
	padding: 30px;
	height: auto;
	z-index: 500;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;
	transition: all .5s;
}

#headerx .top.solid {
    background: rgba(0, 0, 0, 0.7);;
    padding-top: 15px;
    padding-bottom: 15px;
		height: 75px;
}

#headerx .top h1{
	margin-bottom: 0;
}
#headerx .top.solid .toggleDrawer i {
    padding-top: 8px;
}

#headerx .logo, #headerx .toggleDrawer{
	font-family: 'Alegreya SC';
	color: white;
}




/*////////////////////////////////////////////////////////////////////////
//  03 - Drawer with menu
///////////////////////////////////////////////////////////////////////*/

#drawer-right {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    margin-right: -300px;
    background: rgba(0, 0, 0, 0.7);;
    width: 300px;
    padding: 20px;
    z-index: 999;
}

#drawer-right h1, #drawer-right h2 {color: white;}
/*#drawer-right ul > li > a {color: white;}*/

#drawer-right .nav-pills>li>a {
	font-size: 18px;
	border-radius: 0;
}

#drawer-right .social{margin-top: 30px}
#drawer-right .social ul {
    list-style: none;
    padding-left: 20px;
}
#drawer-right .social ul > li {
    display: inline-block;
}
#drawer-right .social ul > li > a:hover{
	color: white;
}






#footer{ background: #2B3E51; color: white;}



/*////////////////////////////////////////////////////////////////////////
//  11 - Responsive styles
///////////////////////////////////////////////////////////////////////*/


@media (max-width: 767px){
	#header .slogan {
		font-size: 2.8em;
	}

	#header .secondary-slogan {
		font-size: 1.2em;
	}

	#header .bottom {
		bottom: 13%;
	}

	.blog-post {
		margin-bottom: 40px;
	}

	.recent-work {
		background-position: center;
	}

	.recent-work:before {
		opacity: 1;
	}

	.recent-work span {
		opacity: 1;
	}
}

@media (max-width: 480px) {
	#drawer-right {
		padding: 10px 20px;
	}

	#drawer-right .nav-pills>li>a {
		font-size: 17px;
	}

	.nav-stacked>li+li {
		margin-top: 0;
	}

	.nav>li>a {
		padding: 8px 15px;
	}

	#drawer-right .social {
		margin-top: 5px;
	}

	#header {
		background-size: cover;
	}
}
