﻿.clear{clear:both;}

/*==========
/*===================== 
	nav styles
=======================*/
#menu-button{ /* hiding responsive menu button */
	display: none;
	}
nav.mobile { /* hiding responsive menu */
	display:none;
}

/***** Start of primary nav ******/
nav.primary {
	margin:0;
	padding:0;
    background: #10387e;
    position: relative;
    z-index: 1;
	}
	nav.primary ul {
		margin:0 auto;
		padding:0;
        text-align: center;
            position: relative;
		}
	nav.primary > ul:nth-of-type(1) {
		    padding-right: 110px;   
			padding-left: 50px;
		}
	nav.primary > ul:nth-of-type(2) {
		    padding-left: 110px;   
			padding-right: 50px;
		}
	nav.primary > ul {
		    display: flex;
			justify-content: space-around;
			width: 100%;
		}
	nav.primary {
		margin:0 auto;
		padding:0;
        text-align: center;
            position: relative;
		display: flex;
		justify-content: space-between;
		}
		nav.primary ul li {
			margin:0;
			padding:0;
			list-style-type:none;
            display: inline-block;
            vertical-align: middle;
		}
nav.primary .logo:after {
    width: 220px!important;
    content: ' ';
    background: url("/siteart/CECO-logo.png") no-repeat 50% 50% transparent;
    height: 171px;
    background-size: contain !important;
    padding: 0 15px;
    display: inline-block;
    position: absolute;
    top: -57px;
    right: 50%;
    transform: translateX(50%);
	z-index: 300;
}

nav.primary ul li a {
    font-family: 'Roboto Condensed', sans-serif;
    color:#fff;
    font-size:16px;
    text-decoration:none;
    text-transform:uppercase;
    position: relative;
    display:block;
    text-align:center;
    padding: 20px 5px;
    background: #10387e;
    margin:0;
    -webkit-transition:.4s ease-in;  
    -moz-transition:.2s ease-in;  
    -o-transition:.2s ease-in;  
    transition:.2s ease-in;	
    font-weight:400;
    }	

@media screen and (max-width: 1400px) {
    nav.primary ul li a {font-size:15px;}
}

@media screen and (max-width: 1100px) {
    nav.primary ul li a {font-size:14px;}
}




nav.primary ul li a:hover {
    background:#133873!important;
    }
/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:14px;
				line-height:14px;
				padding:10px;
				color:#fff;
				background: #181818;
				text-align:left;
				border-right:none;
				border-left:none;
				border-bottom: #303030 solid 1px;
			}
            nav.primary ul li li:nth-child(4) { 
                padding-right: 0;
            }
            nav.primary ul li li:nth-child(4):after {
                display: none
            }
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 999;
} 
nav.primary ul ul li {
    float: none; 
	width: 270px;
    position: relative;
    margin:0;
	display: block;
}


@media screen and (max-width: 1220px) {
nav.primary{display:none;}
.wrap {margin: 0;}
.nav-footer{color: #fff; padding: 15px;}
    
/*==============================
	Mobile Nav Styles			
================================*/	
    #menu-button{ 
		font-family: 'Roboto Condensed', sans-serif;
		width: 100%;
		display: block;
		font-size: 24px;
		  position: sticky;
    position: -webkit-sticky;
          top: 0;
		z-index: 1; /* needs to be lower than nav.mobile, adjust as needed */
		text-align: center;
	}
        #menu-button a{
            text-decoration: none;
            font-size: 25px;
            text-transform:uppercase;
            font-weight:100;
            width: 100%;
            background: #10387e;
            padding: 20px 0;
            text-align: center;
            color:#fff;
            display: block;
            font-family: 'Roboto Condensed', sans-serif;
        }
  
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #333;
	z-index: 500; /* 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: 40px;
    text-transform: uppercase;
	font-weight: 400;
	border-bottom: 4px solid #222;
}
nav.mobile .menu-toggle { /* Menu close button */
	position: absolute;
	top: 12px;
	right: 10px;
	display: inline-block;
	padding: 6px 9px 5px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	line-height: 1;
	background: #222;
	color: #999;
	text-decoration: none;
	vertical-align: top;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #fff;
}

nav.mobile ul {
	list-style: none;
	font-weight: 300;
	border-top: 1px solid #151515;
	border-bottom: 1px solid #454545;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	border-top: 1px solid #454545;
	border-bottom: 1px solid #151515;
}
nav.mobile ul li a {
	position: relative;
	display: block;
	padding: 15px 10px !important;
	color: #fff;
	text-decoration: none;
    border-left:4px #333 solid;
    font-size: 19px !important;
    font-weight: 700;
    text-transform: uppercase;
    
    
}
nav.mobile ul li a:hover {
	background:#1d1d1d; 
    color: #fff; 
    border-left:4px #a11317 solid; 
}
nav.mobile ul li li a { /* appearance of the sub-level links */
	background: #444;
	position: relative;
	display: block;
	padding: 18px;
	color: #ccc;
	text-decoration: none;
}
nav.mobile ul li li li a { /* appearance of third level sub-level links if needed */
	background: #666;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #000;
	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(../siteart/arrow.png) 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%;}
}