
/*
CSSGrid is a Responsive CSS Grid designed to work on web and mobile devices. (www.cssgrid.co)
Please don't steal. Support this grid and buy a license from: http://codecanyon.net/item/responsive-html5-css-grid/4928861

The following styles are used on the navigation only. You do not need to use this CSS as part of the CSS Grid.

-------------------------------------------------------------
CSS Structure:

01. Desktop Wrapper + Header
02. Desktop Navigation
03. Mobile Wrapper + Header
04. Mobile Toggle Menu
05. Mobile Navigation
06. Retina Support (mobile toggle icon + desktop down arrow)
-------------------------------------------------------------
*/

/* 01. Desktop Wrapper + Header -------------------------- */

header {
	width:100%;
	margin:0;
	padding:0;
	height:40px;
	position:fixed;
	background-color:#283942;
	left:0;
	top:0;
	z-index:2;
}
.logo {
	float:left;
	width:40px;
	height:40px;
	margin-left:10px;
	background-image: url(../images/logo.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:32px;
	-moz-background-size:32px;
	color:transparent;
}
.logo a {
	width:40px;
	height:40px;
	display:block;
	color:transparent;
}
.logo-mob {
	display:none;
}

/* 02. Desktop Navigation -------------------------- */

.navclosed,
.navclicked {
	display:none;
}
nav {
	z-index:2;
	height:40px;
	max-width:1430px;
	margin:0 auto;
	-o-transition:.3s;
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	transition:.3s;
	text-align:center;
}
ul.nav-buttons {
	float:right;
	margin:0px;
	padding:0px;
	z-index:2;
	list-style:none;
}
ul.nav-buttons li {
	margin:0px;
	padding:0px;
	position:relative;
	display:inline-block;
	border:0;
	color:transparent;
}
ul.nav-buttons li a {
	font-family:'textamedium', Arial, Helvetica, sans-serif;
	font-size:15px;
	font-weight:normal;
	color:#e0e2dc;
	margin:0;
	border:0;
	padding-left:20px;
	padding-right:20px;
	line-height:40px;
	display:inline-block;
	text-decoration:none;
	background-position: center -10px;
}
ul.nav-buttons li a:hover {
	color:#fff;
	font-size:15px;
	text-decoration:none;
	opacity: 1.0;
}
ul.nav-buttons li a.selected
{
	color:#c6a25f;
	font-size:15px;
	text-decoration:none;
	opacity: 1.0;
	border:0;
}
ul.nav-buttons li.rego a {
	background-color:#eae8df;
	color:#a57344;
	line-height:24px;
	padding-left:10px;
	padding-right:10px;
	margin-right:10px;
}
ul.nav-buttons li.rego a:hover {
	background-color:#fff;
}


@media screen and (min-width: 768px) and (max-width: 1023px) {

ul.nav-buttons li a {
	padding-left:6px;
	padding-right:20px;
}

}


/* 03. Mobile Wrapper + Header -------------------------- */

/* Browsers from 0 up to 767 iPhone Portrait + Landscape (iPad Portrait width is 768) */
@media screen and (min-width: 0px) and (max-width: 767px) {

.wrapper {
/*	right:0px;
	padding-top:80px;
	width:100%;
	*/
/*	transition-property: right; Timers for sliding in the wrapper, when closing the navigation 
	-moz-transition-duration: 0.8s;
	-webkit-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function:ease;
	-o-transition:.8s;
	-ms-transition:.8s;
	-moz-transition:.8s;
	-webkit-transition:.8s;
	transition:.8s; */
	-o-transition:.8s;
	-ms-transition:.8s;
	-moz-transition:.8s;
	-webkit-transition:.8s;
	transition:.8s;
	width:100%;
	position:relative;
	opacity:1;
	z-index:0;
}
.wrapper-push {
/*	right:270px;
	position:absolute;
	transition-property: right;  Timers for sliding out the wrapper, when opening the navigation 
	-moz-transition-duration: 0.8s;
	-webkit-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function:ease;
	 /* Change this to 1 to keep the wrapper 100% visibility */
/*	 */
	-o-transition:.8s;
	-ms-transition:.8s;
	-moz-transition:.8s;
	-webkit-transition:.8s;
	transition:.8s;
	width:100%;
	position:relative;
	opacity:1;
	z-index:0;
}
header {
	height:50px;
}
.logo {
	display:none;
}
.logo-mob {
	display:block;
	float:left;
	width:50px;
	height:50px;
	margin-left:0;
	background-image: url(../images/logo.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:32px;
	-moz-background-size:32px;
	color:transparent;
}
.logo-mob a {
	width:40px;
	height:40px;
	display:block;
	color:transparent;
}


nav {
	height:50px;
	text-align:left;
}
ul.nav-buttons li a {
	line-height:50px;
}
/* 04. Mobile Toggle Menu -------------------------- */

.navclosed {
	z-index:3;
	color:#fff;
	margin:0px;
	padding:0px;
	display:block;
	background-image: url(../images/nav.png);
	background-repeat: no-repeat;
	background-position: left top;
	width:50px;
	height:50px;
	float:right;
	transition-property: right; /* Timers for returning the X (close button) back to it's original position */
	-moz-transition-duration: 0.8s;
	-webkit-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function:ease;
}
.navclosed.slide + nav { /* Nav Closed */
	display:block;
	overflow: hidden;
	padding-top:0px;
	max-height:0;
	padding-bottom:0;
	margin-bottom:0;
	height:0;
	position:absolute;
	margin-top:50px;
	-moz-transition-duration: 0.5s;  /* Timers for closing the navigation panel */
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function: ease;
	z-index:4;
}
.navclosed a {
	color:transparent;
	margin:0px;
	padding:0px;
	width:50px;
	height:50px;
	display:block;
}
.navclicked.slide + nav { /* Nav Clicked */
	margin-top:0px;
	height:347px;
	position:absolute;
	margin-top:50px;
	-moz-transition-duration: 0.5s;  /* Timers for closing the navigation panel */
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function: ease;
	max-height:999px;
	overflow: hidden;
	z-index:4;
}
.navclicked {
	color:#fff;
	margin:0px;
	padding:0px;
	z-index:4;
	width:50px;
	height:50px;
	right:0;
	position:fixed;
}
.navclicked a {
	color:transparent;
	margin:0px;
	padding:0px;
	width:50px;
	height:50px;
	display:block;
	float:right;
	background-color:#283942;
	background-image: url(../images/nav.png);
	background-repeat: no-repeat;
	background-position: left -50px;
}

/* 05. Mobile Navigation -------------------------- */

nav {
	display:none;
	z-index:2;
	width:100%;
	height:auto;
	background-color:rgba(40,57,66,0.9);
	position:absolute;
}
ul.nav-buttons {
	float:none;
	width:100%;
	height:auto;
	overflow-x:hidden;
	overflow-y:auto;
	padding:0px;
	position:static;
}
ul.nav-buttons li {
	width:100%;
	height:auto;
	margin-right:0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #283942;
	float:left;
}
ul.nav-buttons li a {
	display:block;
	width:100%;
}
ul.nav-buttons li.rego a {
	background-color:transparent;
	color:#fff;
	line-height:50px;
	padding-left:20px;
	padding-right:0;
	margin-right:0;
}
ul.nav-buttons li.rego a:hover {
	background-color:transparent;
}

.callus {
	font-family:'textamedium', Arial, Helvetica, sans-serif;
	color:#fff;
	font-size:14px;
	line-height:40px;
	float:right;
	top:0;
	z-index:5;
	padding-right:15px;
	text-align:left;
}


}

/* 06. Retina Support (mobile toggle icon + desktop down arrow) -------------------------- */

/* Change images to higher res versions, if screen resolution is high, such as Retina on Apple devices. */
@media
screen and (-webkit-min-device-pixel-ratio: 1.5),
screen and (-moz-min-device-pixel-ratio: 1.5),
screen and (min-device-pixel-ratio: 1.5) { 

.navclosed {
	background-image: url(../images/nav2x.png);
	background-repeat: no-repeat;
	background-position: right top;	
	background-size:50px;
	-moz-background-size:50px;
}
.navclicked {
	background-image: url(../images/nav2x.png);
	background-repeat: no-repeat;
	background-position: right -50px;
	background-size:50px;
	-moz-background-size:50px;
}


}
