﻿
.clear{clear:both;}

/***** Start of primary nav ******/
.mobile{display:none;}
#menu-button{display:none;}

.top-row{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	align-content: stretch;
	background: #2d5c88;
	text-align: right;
	padding: 0 4%;
}
.top-row img{ width: 100%;}
.top-row a{ width: 2%; padding-left: 1%;}
.logo{text-align: center; padding: 0.5%;}
.logo img { max-height: 155px;}
.logo p{font-size: 14px;}

nav.primary-menu{padding:0;
	margin:0;
	z-index: 500;
	position:relative;}

.header{
	padding: 35px 60px;
}

nav ul li a{
	color: #152e54!important;
    font-size: 23px;
    padding: 5px 13px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	letter-spacing: 1.5px;
	-webkit-transition:.4s ease-in;  
	-moz-transition:.2s ease-in;  
	-o-transition:.2s ease-in;  
	transition:.2s ease-in;
}

nav ul li a:hover{color: #c9bd1c!important;}

.horizontal-menu{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
	padding-top: 1%;
	line-height: 27px;
}

	/* Appearance of the sub-level links */
			nav.primary-menu ul li li a { 
				font-size:12px;
				line-height:16px;
				padding:0px;
				color:#000;
				text-align:left;
				border-right:none;
				border-left:none;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary-menu ul li li a:hover { 
				color: #c9bd1c;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary-menu ul ul {
    display: none;
    position: absolute; 
}
nav.primary-menu ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary-menu ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 100;
	padding-right: 2px;
	padding-left: 2px;
    padding-top: 0px;
}
nav.primary-menu ul ul li {
    float: none; 
	width: 156px;
    position: relative;
    margin:0;
	display: block;
	background: white;
	padding: 5% 7%;
	-webkit-transition:.4s ease-in;  
	-moz-transition:.2s ease-in;  
	-o-transition:.2s ease-in;  
	transition:.2s ease-in;
}
nav.primary-menu ul ul li:hover{
	color:  #cccccc;
}

.brand-bar img{width: 100%;}
/******** End of primary Nav ***************/

@media screen and (max-width: 1440px) {
	nav ul li a{
	    padding: 0 13px;
	}
}

@media screen and (max-width: 1024px) {
	nav ul li a{
	}
	nav.primary-menu ul li li a {
		font-size: 11px;
	}
}

/*==============================
	Mobile Nav Styles			
================================*/	
@media only screen and (max-width: 990px) {
	nav.mobile ul li a.arrow{width: 5%;}
	.arrow img{width: 100%;}
		
	nav.mobile ul li a.arrow2{width: 5%;}
	.arrow2 img{width: 100%;}
	
	.primary-menu{display:none;}
	.contact-info{display:none;}
	
	.logo{padding: 0.5% 7%;}
	.logo img{ max-height: 130px; }
	
	.brand-bar{width: 86%; padding-top: 1%;}
	/*==============================
			Mobile Nav Styles			
	================================*/	
	.header{position: relative; z-index: 1; padding: 5.5% 4%; width: 92%; background: white;  top: 0; left: 0;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
	}
	#menu-button{ /* initially will need to be hidden */
/*		display: block;*/
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		font-size: 20px;
		z-index: 99999999999999;/* needs to be lower than nav.mobile, adjust as needed */
		text-align: right;
		position: relative;
		width: 80%;
		padding: 1.5% 3%;
		margin: 0 auto;
		background: #f2f2f2;
	}
	#menu-button a{color:black;text-decoration: none; }
	#menu-button a:hover{color: #c9bd1c;}
	.menu-toggle:hover{color: #c9bd1c;}
	nav.mobile {
		display:block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background-color: #f2f2f2!important;
		z-index: 9999999999; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}
	nav.mobile h3 { /* Menu header styles */
		position: relative;
		padding: 12px 10px;
		color: #fff;
		font-size: 22px;
		font-weight: normal;
		letter-spacing:1px;
	}
	nav.mobile .menu-toggle { /* Menu close button */
		position: absolute;
		top: 12px;
		right: 10px;
		display: inline-block;
		padding: 6px 9px 5px;
		font-weight: bold;
		line-height: 1;
		background: white;
		color: black;
		text-decoration: none;
		vertical-align: top;
	}
	nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
		color: #cccccc;
	}
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin:0;
		padding:0;
	}
	
	
	nav.mobile ul li {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}
	nav.mobile ul li a {
		position: relative;
		display: block;
		padding: 15px;
		text-decoration: none;
		font-size: 14px;
    	letter-spacing: 1px;
		color: white;
		    width: 66%;
	}
	nav.mobile ul li a:hover {
		background: transparent;
		color: #cccccc; 
	}
	
	nav.mobile ul ul { width: 100%; background: white;}
	
	nav.mobile ul ul ul{ width: 100%; background: #cccccc; }
	
	nav.mobile ul ul li {margin-right: 0;}
	
	nav.mobile ul li li a { /* appearance of the sub-level links */
		background: #fff;
		position: relative;
		display: block;
		font-size: 13px;
		color: #666;
		text-decoration: none;
	}
	nav.mobile ul li li li a { /* appearance of third level sub-level links if needed */
		background: #ccc;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		color: #fff;
		text-decoration: none;
	}
	

	
	nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		background:url() 10px 12px no-repeat;
		background-size:55%;
		position:relative;
		display:block;
		float:right;
		margin:-44px 0 0 0;
		cursor:pointer;
		z-index: 12399994;
		width:44px;
		height:44px;
		-webkit-transition:background-size .3s ease-in-out;
		-moz-transition:background-size .3s ease-in-out;
		transition:background-size .3s ease-in-out;
	}
	nav.mobile ul li span.click:hover{
		background-size:60%;
	}
	
	.nav-footer{
		font-family: 'Castoro', serif;
		font-weight: 400;
		color: #87949a;
		padding: 15px;
		font-size: 14px;
		letter-spacing: 1px;
	}
	
	/*  	end of Mobile Nav Styles    */
	
/*	footer styles  */
	.column{width: 30%;}
	
}

@media only screen and (max-width: 767px){
	.top-row a { width: 3%;}
}

@media only screen and (max-width: 500px){
	nav.mobile { left: -100%; width: 100%;}
	.top-row a { width: 4%;}
	.top-row{justify-content: flex-start;}
}

@media only screen and (max-width: 425px){
	#menu-button{top: -4%; margin: 3% 0;}
	.top-row a { width: 5%;}
}

@media only screen and (max-width: 320px){
	.top-row a { width: 6%;}
	.ProductsView .page-header, .RentalsView .page-header{
		text-align: center;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
	}
}
