
html.freeze {
	overflow: hidden;
}
#offnav-wrapper {
	display: none;
}
#offnav,
#offnav-btn,
#offnav-btn .burger {
	-moz-transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#offnav-btn {
	width: 24px;
	height: 24px;
	position: fixed;
	background: none;
	top: 0;
	right: 0;
	padding: 15px;
	z-index: 1000001;
	cursor: pointer;	
}
#offnav-btn .burger {
	width: 24px;
	height: 4px;
	background: #fff;
	margin-bottom: 4px;	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
#offnav-btn:hover > .burger {
	background: #04b9b6;
}
#offnav-btn .bar3 {
	margin-top: -8px;
}
#offnav-btn.active .bar1,
#offnav-btn.active .bar4 {
	opacity: 0;
}
#offnav-btn.active .bar2 {
	transform: rotate(45deg)
}
#offnav-btn.active .bar3 {
	transform: rotate(-45deg);
}
#offnav {
	height: 100%;
	width: 100%;
	display: none;
	position: fixed;
	top: 60px; 
	left: 0;
	z-index: 1000001;
}
#offnav.active {
	display: block;
	overflow-y: scroll;
}
#offnav li {
	background: 0 0 rgba(255, 255, 255, 0.9);
	padding: 0;
	margin: 15px;
}
#offnav ul,
#offnav li {
	list-style: none;
	display: block;
}
#offnav li:last-child {
	margin-bottom: 60px;
}
#offnav a {
	font-family: 'Lato', sans-serif;
	color: #000;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	display: block;
	padding: 16px 24px;
	line-height: 1.6em;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	text-align: center;
}

#offnav .current-menu-item a,
#offnav a:hover { 
    color: #04b9b6 !important;
}
/*#offnav .current-menu-item {	
	background: #333;
}*/
#offnav .current-menu-item.inactive > a  {
	color: #000 !important;
}
#offnav li:hover > a {
	color: #04b9b6 !important;
}
#offnav li:hover {
	background: #fff;
}
#main.inactive {
	overflow: hidden;
}

#backbutt {
	background: 0 0 rgba(255, 255, 255, 0);
	height: 100%;
	display: none;
    position: fixed;
    top: 0; 
	left: 0;
    width: 100%;
	z-index: 9999;
}
#overlay {
	background: 0 0 rgba(0, 0, 0, 0.8);

	height: 100%;
	display: none;
    position: fixed;
    top: 0; 
	left: 0;
    width: 100%;
	z-index: 999;
}


@media only screen and (min-width: 1141px)  {
#offnav-wrapper,
#offnav,
#offnav.active {
	display: none;
}
html.freeze {
	overflow: auto;
}
}

@media only screen and (max-width: 1140px)  {

}

@media only screen and (min-width: 761px) and (max-width: 1140px) { 

#offnav {
	top: 50%;
	left: 50%;
	width: 450px;
	height: 640px;
	margin: -320px auto auto -225px;
	/*overflow: hidden !important;*/
}
}

@media only screen and (max-width: 760px)  { 
 #offnav-wrapper {
	display: block;
}
#offnav {
	top: 0;
	left: 0;
	width: 60%;
	height: 90%;
	margin: 0;
	padding-top: 60px;
	padding-left: 20%;
	padding-right: 20%;
	overflow-y: scroll !important;
}
}
