/* CORE MENU ITEMS ***************************************************** */

/* nav is the menu container, float left/right or margin auto for a centered menu
to auto size menu items open /js/flexnav.js and set 'calcItemWidths': false on line 14 to true

COLOURS

Dark Brown #603813
Brown #88630f
Light Brown #c69016
Tan #DCB98A
Salmon #ffdac3

*/
nav {
    position: absolute;
	top: auto;
	right: 90px;
	bottom: 0;
	padding: 0px 0 0 0;
}

nav .menu-main-menu-container {
    float: right;
}

.flexnav {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: visible;
  margin: 50px auto auto auto;
  width: 100%;
  max-height: 0;
  list-style: none;
  padding: 0px;
  margin: 0px;	    
}

.flexnav.opacity {
	opacity: 1; 
}

.flexnav.flexnav-show {
	max-height: 2000px;
	opacity: 1;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out; 
}

.flexnav.one-page {
	position: fixed;
	top: 50px;
	right: 5%;
	max-width: 200px; 
}

.flexnav li {
    font-size: 100%;
    position: relative;
    padding: 0px ;
    margin: 0px 18px;
    z-index: 999;
    list-style: none;
    list-style: none;
    float: left;
    display: block;
    overflow: visible;
}

/* modify to change the appearance of menu items */
.flexnav li a {
	    font-family: "Alexandria", Sans-serif;
	font-weight: 200 !important;
	font-style: normal;
	position: relative;
	display: block;
	padding: 0px 0 45px 0;
	z-index: 2;
	overflow: hidden;
	color: #ffffff;
	text-decoration: none; 
	font-size: 18px;
	line-height: 18px;
	transition: 0.2s;
	border-bottom: solid 6px #c69016;
}

.flexnav:hover li a {
	opacity: 0.7
}

.flexnav li a:hover {
	opacity: 1;
	/*-moz-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);*/
	border-bottom: solid 6px #ffdac3;
	color: #ffdac3;
}

.flexnav li:hover a {
	opacity: 1;
	/*-moz-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);*/
}

.flexnav li ul {
    width: 200px;
    padding: 0px;
    margin: 0px;
    display: none;
    list-style: none;
    position: absolute;
    top: auto;
    left: 0;
    padding-top: 15px;
    z-index: 9999;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
}

.flexnav li ul li {
	font-size: 100%;
	position: relative;
	overflow: hidden;
    width: 100%; 
}

.flexnav li ul.flexnav-show li {
	overflow: visible; 
}

.flexnav li ul li > ul {
	margin-left: 100%;
	top: 0;
}


.flexnav li ul li a {
    display: block;
    background: white;
    border-bottom: 1px solid #e8e8e8 !important;
    border-left: 1px solid #e8e8e8 !important;
    border-right: 1px solid #e8e8e8 !important;
    color: black;
    font-size: 12px;
    padding: 13px 15px;
    text-transform: uppercase;
    text-align: center;
}

.flexnav li ul::before {
    content: "";
    top: 10px;
    left: 0px;
    right: 0px;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 1px solid #e8e8e8;
    position: absolute;
    transform: rotate( 
45deg);
    z-index: 0;
    margin: auto;
}

.flexnav li ul::after {
    content: "";
    position: absolute;
    top: 14px;
    height: 1px;
    background-color: #e8e8e8;
    left: 0px;
    right: 0px;
    z-index: -1;
}

.flexnav li ul li a:hover {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    background-color: #f2f2f2;
}

.flexnav li:hover ul li a {
	-moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.flexnav ul li ul li a {
	background: #bfbfbc; 
}

.flexnav ul li ul li ul li a {
	background: #cbcbc9; 
}

.flexnav li ul.open {
	display: block;
	opacity: 1;
	visibility: visible;
	z-index: 1; 
}

.flexnav li ul.open li {
	overflow: visible;
	max-height: 100px; 
}

.flexnav li ul.open ul.open {
	margin-left: 100%;
	top: 0; 
}

.flexnav .touch-button {
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
    width: 52px;
    height: 52px;
	display: inline-block;
	background: #acaca1;
	background: rgba(0, 0, 0, 0.075);
	text-align: center; 
    display: none;
}

.flexnav .touch-button:hover {
	cursor: pointer; 
}

.flexnav .touch-button .navicon {
    position: relative;
    top: 33%;
    font-size: 12px;
    color: #666;
}

.menu-button {
    position: relative;
    display: none;
    padding: 1em;
    background: #DCB98A;
    color: black;
    cursor: pointer;
    width: 60px;
    height: 60px;
    float: right;
    margin: 20px 0px 20px 20px;
    z-index: 888;
    background-image: url(../images/menu_icon-white.png);
    /* background-image: url(../images/menu_icon.png); */
    background-position: center;
    background-size: 36px;
    background-repeat: no-repeat !important;
	transition: 0.3s;
	border-radius: 100%;
}

.menu-button.opened {
    background-image: url(../images/menu_icon_close-white.png);
    /* background-image: url(../images/menu_icon_close.png); */
    z-index: 9999;
	-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}

.menu-button span.navicon {
    display: none;
}

header.alt-nav.tiny .flexnav li a {
    /*padding: 0px 0 20px 0;*/
}


/* ****************** */
/* ***** DESKTOP ***** */
/* ****************** */
@media screen and (min-width:1026px) and (max-width:1250px) { 
	.flexnav li {
    margin: 0px 10px;
}

/* modify to change the appearance of menu items */
.flexnav li a {
	font-size: 18px;
}
}
/* ****************** */
/* ***** TABLET ***** */
/* ****************** */
@media screen and (min-width:481px) and (max-width:1025px) { 
	
	body.fixed {
		overflow: hidden;
	}
	
	nav {
		position: relative;
		float: left;
		width: 100%;
		height: auto !important;
		top: 0px;
		transform: translateY(0px);
		-webkit-transform-origin-y: 0px;
		-ms-transform: translateY(0px);
		-ms-transform-origin-y: 0px;
		-moz-transform: translateY(0px);
		-o-transform: translateY(0px);
		-webkit-transform: -webkit-translateY(0px);
	}
	
	nav#nav.searchactive div {
		opacity: 0;
	}


	.flexnav {	
		padding: 0px;
		margin: 0px;
		overflow: hidden;
	}

	.flexnav-show {
		border-top: 1px solid #e8e8e8;
	}

	.flexnav li ul {
		width: 100%;
		position: relative;
	}

	.flexnav li {
		width: 100%;
		float: left;
		margin: 0 0 0 0;
		text-align: center;
	}

	.flexnav li a {
		float: left;
		width: 100%;
		padding: 17px;
		border-bottom: 1px solid #e8e8e8;
	} 
	
	.flexnav .touch-button span {
		display: none;
	}

	.flexnav .touch-button::before {
		content: "\f0c9";
		font-style: normal;
		font-family: 'Font Awesome 5 Free';
		font-weight: 600;
		font-size: 18px;
		color: white;
		position: absolute;
		top: 14px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		text-align: center;
		opacity: 0.4;
	}

	.flexnav li ul::before, .flexnav li ul::after {
		display: none;
	}

	.flexnav li ul li a {
		background-color: #ffffff;
		border-bottom: 1px solid #e8e8e8 !important;
		border-left: 0px !important;
		border-right: 0px !important;
		font-size: 13px;
		line-height: 24px;
		font-weight: 500;
	}

	.flexnav .touch-button {
		display: block;
	}

	.menu-button {
		display: block;
	}
	
	/* ALTERNATE NAVIGATION ****** */
	
	body.fixed header.alt-nav .logo {
		position: fixed;
		z-index: 9999;
		top: 10px;
	}

	header.alt-nav .topbar {
		z-index: 9999;
		position: fixed;
		height: 0px;
		display: none;
		overflow: hidden;
	}

	header.alt-nav .menu-button {
		position: fixed;
		top: 19px;
		right: 15px;
		margin: 0px;
	}
	
	header.alt-nav.tiny .menu-button {
		opacity: 0.6;
	}

	header.alt-nav.tiny .menu-button.opened {
		opacity: 1;
	}

	header.alt-nav nav {
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 100%;
		overflow: hidden;
	}

	header.alt-nav nav.active {
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		background-color: #603813;
		z-index: 999;
	}

	header.alt-nav nav.active .menu-main-menu-container {
		position: fixed;
		top: 100px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		overflow: scroll;
		padding-bottom: 100px;
		z-index: 9992;
		background-color: #603813;
		margin: 0px;
	}
	
	header.alt-nav .flexnav-show {
		border-top: 1px solid #e8e8e8;
	}
	
	header.alt-nav .flexnav li a {
		border-bottom: 1px solid #e8e8e8;
	}
	
	header.alt-nav .flexnav li a:hover, header.alt-nav .flexnav li a:focus {
		background-color: #603813;
	}
	
	header.alt-nav .topbar.show {
		display: block;
		height: auto !important;
		bottom: 0px;
	}

	header.alt-nav .topbar .search-form, header.alt-nav .topbar .site-description {
		display: none;
	}

	header.alt-nav .topbar.show .social_icons {
		margin: auto;
		float: none;
		display: table;
	}

	header.alt-nav .topbar.show .social_icons .icon i {
		margin: 10px 10px;
		padding: 0px;
	}

	header.alt-nav .topbar.show .phonenumber {
		float: none;
		margin: auto;
		display: table;
		font-size: 19px;
		line-height: 19px;
	}

	header.alt-nav .topbar.show .phonenumber i {
		font-size: 17px;
	}
	
	.logo img {
		height: 70px;
	}

	header .topsection {
		position: fixed;
		bottom: 0px;
		left: 0px;
		right: 0px;
		padding: 15px;
		display: none;
		margin: 0px;
		width: auto;
		min-width: 0px;
	}

	body.fixed header .topsection {
		display: block;
		z-index: 9999;
		margin-bottom: 0px;
	}


	header .topsection .search-form {
		float: left !important;
	}

	header .topsection .search-form:focus, header .topsection .search-form:focus-within {
		width: 100%;
		position: fixed;
		top: 50%;
		left: 0px;
		right: 0px;
		padding: 0px 20px;
		z-index: 9999;
	}

	header .topsection .search-form:focus-within input, header .topsection .search-form:focus input {
		width: calc(100% - 100px);
	}
	
	body.fixed header .topsection.searchactive .social_icons, body.fixed header .topsection.searchactive .currently_open {
    	width: 0px;
		overflow: hidden;
		opacity: 0;
	}
	
	header.tiny nav {
		width: 100% !important;
	}

	header.tiny .logo {
		display: block !important;
	}

	header.tiny .topsection .search-form {
		margin-bottom: 0px !important;
		margin-top: 0px !important;
	}

	header.tiny .topsection .currently_open {
		display: block !important;
	}

	header.tiny .topsection .social_icons {
		display: block !important;
	}

	header.tiny .topsection {
		padding: 15px !important;
	}

	header.tiny {
		position: absolute !important;
	}


}


/* ****************** */
/* ***** MOBILE ***** */
/* ****************** */
@media screen and (max-width:480px) { 
	
	body.fixed {
		overflow: hidden;
	}
	
	nav {
		position: relative;
		float: left;
		width: 100%;
		height: auto !important;
		top: 0px;
		transform: translateY(0px);
		-webkit-transform-origin-y: 0px;
		-ms-transform: translateY(0px);
		-ms-transform-origin-y: 0px;
		-moz-transform: translateY(0px);
		-o-transform: translateY(0px);
		-webkit-transform: -webkit-translateY(0px);
	}
	
	nav#nav.searchactive div {
		opacity: 0;
	}


	.flexnav {	
		padding: 0px;
		margin: 0px;
		overflow: hidden;
	}

	.flexnav-show {
		border-top: 1px solid #e8e8e8;
	}

	.flexnav li ul {
		width: 100%;
		position: relative;
	}

	.flexnav li {
		width: 100%;
		float: left;
		margin: 0 0;
		text-align: center;
	}

	.flexnav li a {
		float: left;
		width: 100%;
		padding: 17px;
		border-bottom: 1px solid #e8e8e8;
	} 
	
	.flexnav .touch-button span {
		display: none;
	}

	.flexnav .touch-button::before {
		content: "\f0c9";
		font-style: normal;
		font-family: 'Font Awesome 5 Free';
		font-weight: 600;
		font-size: 18px;
		color: white;
		position: absolute;
		top: 14px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		text-align: center;
		opacity: 0.4;
	}

	.flexnav li ul::before, .flexnav li ul::after {
		display: none;
	}

	.flexnav li ul li a {
		background-color: #ffffff;
		border-bottom: 1px solid #023964 !important;
		border-left: 0px !important;
		border-right: 0px !important;
		font-size: 13px;
		line-height: 24px;
		font-weight: 500;
	}

	.flexnav .touch-button {
		display: block;
	}

	.menu-button {
		display: block;
	}
	
	/* ALTERNATE NAVIGATION ****** */
	
	body.fixed header.alt-nav .logo {
		position: fixed;
		z-index: 9999;
		top: 10px;
	}

	header.alt-nav .topbar {
		z-index: 9999;
		position: fixed;
		height: 0px;
		display: none;
		overflow: hidden;
	}

	header.alt-nav .menu-button {
		position: fixed;
		top: 18px !important;
		right: 15px;
		margin: 0px;
	}
	
	header.alt-nav.tiny .menu-button {
		opacity: 0.6;
	}

	header.alt-nav.tiny .menu-button.opened {
		opacity: 1;
	}

	header.alt-nav nav {
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 100%;
		overflow: hidden;
	}

	header.alt-nav nav.active {
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		background-color: #603813;
		z-index: 999;
	}

	header.alt-nav nav.active .menu-main-menu-container {
		position: fixed;
		top: 100px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		overflow: scroll;
		padding-bottom: 100px;
		z-index: 9992;
		background-color: #603813;
		margin: 0px !important;
	}
	
	header.alt-nav .flexnav-show {
		border-top: 1px solid #eeeeee;
	}
	
	header.alt-nav .flexnav li a {
		border-bottom: 1px solid #eeeeee;
	}
	
	header.alt-nav .flexnav li a:hover, header.alt-nav .flexnav li a:focus {
		color: white;
		background-color: #144e7a;
	}
	
	header.alt-nav .topbar.show {
		display: block;
		height: auto !important;
		bottom: 0px;
	}

	header.alt-nav .topbar .search-form, header.alt-nav .topbar .site-description {
		display: none;
	}

	header.alt-nav .topbar.show .social_icons {
		margin: auto;
		float: none;
		display: table;
	}

	header.alt-nav .topbar.show .social_icons .icon i {
		margin: 10px 10px;
		padding: 0px;
	}

	header.alt-nav .topbar.show .phonenumber {
		float: none;
		margin: auto;
		display: table;
		font-size: 19px;
		line-height: 19px;
	}

	header.alt-nav .topbar.show .phonenumber i {
		font-size: 17px;
	}
	
	.logo img {
		height: 70px;
	}

	header .topsection {
		position: fixed;
		bottom: 0px;
		left: 0px;
		right: 0px;
		padding: 15px;
		display: none;
		margin: 0px;
		width: auto;
		min-width: 0px;
	}

	body.fixed header .topsection {
		display: block;
		z-index: 9999;
		margin-bottom: 0px;
	}


	header .topsection .search-form {
		float: left !important;
	}

	header .topsection .search-form:focus, header .topsection .search-form:focus-within {
		width: 100%;
		position: fixed;
		top: 50%;
		left: 0px;
		right: 0px;
		padding: 0px 20px;
		z-index: 9999;
	}
	header .topsection .search-form:focus-within input, header .topsection .search-form:focus input {
		width: calc(100% - 100px);
	}
	
	body.fixed header .topsection.searchactive .social_icons {
    	width: 0px;
		overflow: hidden;
		opacity: 0;
	}
	
	header.tiny nav {
		width: 100% !important;
	}

	header.tiny .logo {
		display: block !important;
	}

	header.tiny .topsection .search-form {
		margin-bottom: 0px !important;
		margin-top: 0px !important;
	}

	header.tiny .topsection .currently_open {
		display: block !important;
	}

	header.tiny .topsection .social_icons {
		display: block !important;
	}

	header.tiny .topsection {
		padding: 15px !important;
	}

	header.tiny {
		position: absolute !important;
	}

	
}