﻿.clear{clear:both;}

/*==========
/*===================== 
	nav styles
=======================*/
#menu-button{ /* hiding responsive menu button */
	display: none;
	}
nav.mobile { /* hiding responsive menu */
	display:none;
}

nav{float:right; margin-top: 10px}
/***** Start of primary nav ******/
nav.primary {
	padding:0;
	}
	nav.primary ul {
		margin:0 auto;
		padding:0;
		}
		nav.primary ul li {
			margin:0;
			padding:0;
			float:left;
			list-style-type:none;
		}

nav.primary ul li a {
    margin:0;
    -webkit-transition:.4s ease-in;  
    -moz-transition:.2s ease-in;  
    -o-transition:.2s ease-in;  
    transition:.2s ease-in;	
    font-weight:900;
    display:block;
    font-family: 'bebas_neuebold';
	color: #000;
	text-decoration:none;
	text-transform: uppercase;
	font-size: 18px;
	padding: 10px 15px;
    }	
nav.primary ul li a:hover {
    background: #ffce12;
	color: #fff;
	border-radius: 5px;
    }
/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				line-height:14px;
				text-align:left;
				border-right:none;
				border-left:none;
				padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: #000;
                background:#fff;
                border-bottom: 1px #eeeeee solid;
			}
			/* 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: 100;
}
nav.primary ul ul li {
    float: none; 
	width: 270px;
    position: relative;
    margin:0;
	display: block;
}


@media screen and (max-width: 1010px) {
    nav.primary{display:none;}
    nav{float:none;}
    .wrap {margin: 0;}

    /*==============================
        Mobile Nav Styles			
    ================================*/	

        #menu-button{ 
            background: #ffce12;
            color:#333;
            width: 100%;
            display: block;
            font-size: 24px;
            position: relative;
            line-height:40px; 
            z-index: 999; /* needs to be lower than nav.mobile, adjust as needed */
            text-align: center;
            box-shadow:0px 0px 3px #ccc;
        }
            #menu-button a{
                text-decoration: none;
                font-size: 25px;
                text-transform:uppercase;
                font-weight:100;
                color:#333;
				font-family:'bebas_neuebold'!important;
				vertical-align: middle;
            }

    nav.mobile {
        display:block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #333;
        z-index: 99999999999; /* 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: 1.2em;
        font-weight: 400;
        border-bottom: 4px solid #222;
		font-family:'bebas_neuebold'!important;
    }
    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: 10px;
        color: #999;
        text-decoration: none;
        border-left:4px #333 solid;
        font-size: 20px;
		font-family:'bebas_neuebold'!important;
    }
    nav.mobile ul li a:hover {
        background:rgba(45,45,45,0.5); 
        color: #fff; 
        border-left:4px #ffce12 solid; /* border highlight - Change to fit match site colors */
    }
    nav.mobile ul li li a { /* appearance of the sub-level links */
        background: #444;
        position: relative;
        display: block;
        padding: 10px 10px 10px 15px;
        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%;}
}