	/***
	*   TAGS
	***/
	a{
		transition: all .25s;
		-webkit-transition: all .25s;
		-moz-transition: all .25s;
		-o-transition: all .25s;
	}

	a:hover{
		text-decoration:none;
		cursor:pointer;
	}
	.element-hidden{
		display:none;
	}

	button, button:active{
	    border:none;
	    background-color:transparent;
			box-shadow:none;
			user-select:none;
			outline:none;
	}

/***
*   NAV BANNER
***/
#nav-banner {
	max-height: 75px;
	position: fixed;
	text-align: left;
	color: #282828;
	border-top:3px solid #C8102E;
	z-index: 1000;
	width: 100%;
	top: 0;
	transition: background-color .25s, box-shadow .5s, border-bottom .25s, max-height .75s;
	-webkit-transition: background-color .25s, box-shadow .5s, border-bottom .25s, max-height .75s;
	-moz-transition: background-color .25s, box-shadow .5s, border-bottom .25s, max-height .75s;
	-o-transition: background-color .25s, box-shadow .5s, border-bottom .25s, max-height .75s;
}
#nav-banner.opaque{
	background-color:#282828;
	background-color:rgba(251,251,251,.95);
	border-bottom:1px solid #282828;
	border-bottom:1px solid rgba(40,40,40,.15);
}
/***
*   LOGO
***/
#logo {
    display: inline-block;
    text-align: left;
    width: 13%;
    height: 60px;
}


/***
*   MAIN NAV
***/
#main-nav {
    display: inline-block;
    text-align: right;
    width: 80%;
    vertical-align: top;
    color: inherit;
    height: 100%;
}
#main-nav nav{
	position:relative;
	height:100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    transition: all .25s;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
}
.top-level-nav, .button-nav, .logo-nav {
    display: inline-block;
    width: inherit;
    max-height: 75px;
    color: inherit;
    font-size: 1em;
    padding: 0 20px 0 20px;
		vertical-align: top;
    transition: background-color .25s, max-height .5s;
    -webkit-transition: background-color .25s, max-height .5s;
    -moz-transition: background-color .25s, max-height .5s;
    -o-transition: background-color .25s, max-height .5s;
}

#nav-banner .top-level-nav:hover{
	background-color:#C8102E;
	color:#fff;
}
.top-level-nav>a{
	display: block;
	font-family: 'Raleway', sans-serif;
	margin-top: 65px;
	font-size: 1.2em;
	font-weight: 400;
	text-decoration: none;
	color: inherit;
	line-height: 1.1em;
	transform: translate(0, -100%);
	-webkit-transform: translate(0, -100%);
	-moz-transform: translate(0, -100%);
	-o-transform: translate(0, -100%);
}
.top-level-nav>a:hover{
	color:#fff !important;
}
.logo-nav a{
    display: block;
    margin-top: 65px;
    transform: translate(0,-100%);
    border-left: 2px solid #C8102E;
    padding: 10px;
    font-size: 1.5em;
    color: #282828;
}

/***
*   NAV BUTTON
***/
.nav-button-wrapper{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80px;
		color:#282828;
		transition:all .25s;
		-webkit-transition:all .25s;
		-moz-transition:all .25s;
		-o-transition:all .25s;
}
.nav-button-wrapper:hover{
	background-color:#C8102E;
	color:#fff;
}

.nav-button-wrapper button {
    position: absolute;
    top: 50%;
    left: 50%;
		color:inherit;
    transform: translate(-50%,-50%);
		-webkit-transform: translate(-50%,-50%);
		-moz-transform: translate(-50%,-50%);
		-o-transform: translate(-50%,-50%);
    font-size: 2.8em;
}
.nav-button-wrapper button:hover{
	cursor:pointer;
}
/***
*   MOBILE BUTTON
***/
#mobile-menu-button{
	display:none;
}

@media screen and (max-width:1200px){
	#logo {
    width: 11%;
	}
	.logo-nav a{
		font-size:1.2em;
	}
	.top-level-nav>a {
    font-size: 1em;
	}
	#search-button-wrapper button {
    font-size: 2.5em;
	}
}
@media screen and (max-width:1000px){
	.top-level-nav, .button-nav, .logo-nav {
    padding: 0 15px;
	}
}
@media screen and (max-width:900px){
	.top-level-nav, .button-nav, .logo-nav {
		padding: 0 10px 0 10px;
	}
	#search-button-wrapper{
		width:60px;
	}
	#search-button-wrapper button {
    font-size: 2em;
	}
}
@media screen and (max-width:810px), only screen
 and (min-device-width : 768px)
 and (max-device-width : 1024px), only screen
 and (min-device-width : 375px)
 and (max-device-width : 667px), only screen
 and (min-device-width : 414px)
 and (max-device-width : 736px), only screen
 and (min-device-width : 320px)
 and (max-device-width : 568px), only screen
 and (min-device-width : 320px)
 and (max-device-width : 480px){
		#main-nav {
    display: block;
    position: fixed;
    overflow: scroll;
    right: 0;
    width: 0;
    height: 100%;
    top: 64px;
    padding-bottom: 100px;
    background-color: rgba(251,251,251,.95);
    transition: width .5s;
    -webkit-transition: width .5s;
    -moz-transition: width .5s;
    -o-transition: width .5s;
	}
	#main-nav.open {
		width: 100%;
	}
	.logo-nav a {
    margin-top: 50px;
	}
	.nav-button-wrapper {
    right: 80px;
	}
	#mobile-menu-button {
    display: block;
    right: 0;

	}
	#mobile-menu-icon i{
		transition:transform .5s;
		-webkit-transition:-webkit-transform .5s;
		-moz-transition:-moz-transform .5s;
		-o-transition:-o-transform .5s;
	}
	#mobile-menu-icon.rotate i {
    transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-o-transform: rotate(90deg);
	}
	.top-level-nav {
    display: block;
    width: 95%;
    border-bottom: 1px solid rgba(40,40,40,.15);
		padding-bottom: 10px;
	}
	.top-level-nav>a {
    transform: none;
		margin-top:30px;
	}
	.top-level-nav>a br {
    display: none;
	}
}
