/* Reset */
nav,
nav a,
nav ul,
nav li,
nav div,
nav form,
nav input {
	padding: 0;
  margin: 0;
	border: none;
	outline: none;
  text-indent: 0;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: none;
  border:none;
}

nav li { list-style: none; }


/* Menu Container */
nav {
	display: inline-block;
	position: relative;
	cursor: default;
	z-index: 500;
  float:right;
}

#home-nav-wrap {
  margin-top:24px;
  }

/* Menu List */
nav > ul > li {
	display: block;
	float: left;
}

/* Menu Links */
nav > ul > li > a {
	position: relative;
	display: block;
	z-index: 510;
	padding: 0 4px 4px 8px;
	font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 11px;
	color: #222;
  text-transform: uppercase;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

nav > ul > li:hover > a {
  color: #00AEEF;
  text-decoration: none;
  border:none;
}

div.top-banner nav > ul > li:hover > a {
  color: #FFF;
}

/* Search Form */
nav > li.nav-search > form {
	position: relative;
	width: inherit;
	height: 54px;
	z-index: 510;
	border-left: 1px solid #4b4441;
}

nav > ul > li.nav-search input[type="text"] {
	display: block;
	float: left;
	width: 1px;
	padding: 15px 0;

	font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #999999;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	background: #372f2b;

	-webkit-transition: all .3s ease 1s;
	-moz-transition: all .3s ease 1s;
	-o-transition: all .3s ease 1s;
	-ms-transition: all .3s ease 1s;
	transition: all .3s ease 1s;
}

nav > ul > li.nav-search input[type="text"]:focus { color: #fcfcfc; }

nav > ul > li.nav-search input[type="text"]:focus,
nav > ul > li.nav-search:hover input[type="text"] {
	width: 110px;
	padding: 15px 20px;

	-webkit-transition: all .3s ease .1s;
	-moz-transition: all .3s ease .1s;
	-o-transition: all .3s ease .1s;
	-ms-transition: all .3s ease .1s;
	transition: all .3s ease .1s;
}

nav > ul > li.nav-search input[type="submit"] {
	display: block;
	float: left;
	width: 20px;
	height: 54px;
	padding: 0 25px;
	cursor: pointer;
	background: #372f2b url(../menu/img/search-icon.png) no-repeat center center;
	border-radius: 0 3px 3px 0;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

nav > ul > li.nav-search input[type="submit"]:hover { background-color: #4b4441; }

/* Menu Dropdown */
nav > ul > li > div {
	position: absolute;
	display: block;
	width: 100%;
	top: 20px;
	left: 0;
	opacity: 1;
  min-height: 240px;
	visibility: hidden;
	overflow: hidden;
	background-color: rgba(35, 31, 32, 1);
	border-radius: 0 0 3px 3px;
}

nav > ul > li:hover > div {
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

/* Menu Content Styles */

nav .nav-column {
	float: left;
	padding: 0 2.5% 2.5%;
}

nav .whole {
  width: 95%;
}

nav .one-half {
  width: 45%;
}

nav .one-quarter {
  width: 20%;
}

nav .one-third {
  width: 28%;
}

nav .nav-column h3 {
	line-height: 16px;
	font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
	color: #fff;
  margin-top:1.5rem;
}

nav .nav-column h3.orange { color: #ff722b; }

nav .nav-column li a {
	margin-left:0;
}

nav .nav-column li {
	margin-bottom: 5px;
}

nav .nav-column p a {
	color: #C7C7CB;
}

nav .nav-column li a {
	display: block;
	line-height: 15px;
	font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
	color: #C7C7CB;
}

nav .nav-column li a:visited { color: #C7C7CB; }
nav .nav-column li a:hover { color: #fff; }

nav .nav-column p a:visited { color: #C7C7CB; }
nav .nav-column p a:hover { color: #fff; }

nav .nav-column a:visited { color: #C7C7CB; }
nav .nav-column a:hover { color: #fff; }

/* Menu Paragraphs */
nav .nav-column p {
  font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
  font-size: 12px;
  line-height: 15px;
	color: #C7C7CB;
}



/* Place the navbar at the bottom of the page, and make it stick */
.bottomNavbar {
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
	z-index: 3000;
}

/* Style the links inside the navigation bar */
.bottomNavbar a {
  float: left;
  display: block;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-family: "Montserrat", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

/* Change the color of links on hover */
.bottomNavbar a:hover {
    color: black;
}

/* Add a green background color to the active link */
.bottomNavbar a.active {
    color: white;
}

/* Hide the link that should open and close the navbar on small screens */
.bottomNavbar .icon {
    display: none;
}

/* Hide mobile menu */
@media (min-width: 751px) {
  .bottomNavbar {
    display: none;
  }
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the navbar (.icon) */
@media screen and (max-width: 750px) {
  .bottomNavbar a:not(:first-child) {display: none;}
  .bottomNavbar a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the navbar with JavaScript when the user clicks on the icon. This class makes the navbar look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 750px) {
  .bottomNavbar.responsive a.icon {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .bottomNavbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}




/* Phone and small-screen navigation */

nav#mobile-nav-wrap {
  width: 100%;
  margin-top:24px;
}

nav#main-nav-wrap {
  margin-top:24px;
}


nav#small-nav-wrap {
  width: 100%;
  margin-top:12px;
  float:none;
  text-align: center;
}

nav#small-nav-wrap div {
  padding-top:30px;
}

ul.small-nav-submenu li a{
  font-size: 2rem;
  line-height: 150%;
}

/*  Desktop screen navigation */

nav#home-nav-wrap {
  width: 100%;
  margin-top:24px;
}

#home-logo-row {
  position: absolute;
  padding:24px 0 0 30px;
  }


div#phone-navigation-row {
    display: block;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    }

div#tablet-navigation-row {
    display: none;
    }

div#desktop-navigation-row {
    display: none;
    }


/* Shift from phone menu to tablet menu */
@media (min-width: 750px) {
  div#phone-navigation-row {
    display: none;
    }
  div#tablet-navigation-row {
    display: block;
    }
  div#desktop-navigation-row {
    display: none;
    }
}



/* Shift from tablet menu to desktop menu */
@media (min-width: 900px) {
  div#phone-navigation-row {
    display: none;
    }
  div#tablet-navigation-row {
    display: none;
    }
  div#desktop-navigation-row {
    display: block;
    }
}

/* Shift to large fonts for main navigation */

@media (min-width: 1020px) {
  nav > ul > li > a {
	  padding: 0 6px 4px 12px;
    font-size: 12px;
  }
}

.mobile-submenu {
  font-size: 2rem;
}




