/*Makes resizing smoother w/borders & percentages*/
* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

/*html { 
  background: url(structure/background.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}*/

@font-face {
   font-family: neherpfont;
   src: url(data/levenim-mt.woff);
   font-size:12px; /*Base Font Size, From Which All EM#s Scale To*/
}

img{
border:0px;
}
img a, img a:link, img a:active, img a:visited, img a:hover{
border:0px;
}

body{
	overflow-y: scroll;/*Forces vertical scroll bar*/
	background-image:url("structure/mainbg.jpg");
	background-size: 100% auto;
	}

header {
	display:block;
    width: 95%;
	margin-right:auto;
	margin-left:auto;
	max-height:114px;/*Forces .onestop class to bottom of header div*/
	border-color: #000000;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-style: solid;

    border-width: 2px;
    box-shadow: 0px 2px 4px #000000;
	/*background: #669900 url('structure/background.jpg');*/
	background-image:url("structure/hdbg6.jpg");
    background-repeat: X;
    background-size: 100% auto;
	background-position:left:auto; right:auto;
	margin-bottom:-2px;/*Brings menu upward*/

}

header .logo {
	display:inline-block;
	padding-left:0.5%;
	/*padding-top:0.25%;/*0.5% Less than .onestop, to ensure .onestop stays at bottom border*/
	width:46%;
	max-width:436px;
	overflow: auto;
}

.onestop {
	display:block;
	width:49%;
	max-width:461px;
	overflow: auto;
	float:right;
}
.onestop2 {display:none;}



header .cart {
	display:block;
	padding-right:3px;
	width:40px;
	height:43px;
	overflow: auto; 
	float:right;
}
header .cartsearch2 {display:none;}

#menuwrapper { width:100%; height:40px; }
#menuwrapperwithundernav { width:100%; height:35px;}

#menustick {
	margin: 0 auto; 
	width:100%;
	margin-right:auto;
	margin-left:auto;
	text-align:center;
	z-index:10;
}

#menunostick {
	margin: 0 auto; 
	width:100%;
	margin-right:auto;
	margin-left:auto;
	text-align:center;
	z-index:10;
}
/*------------------------------------------NAV------------------------------------------*/
nav {
	display:block;
	position: relative;    
	
    width: 95%;
    margin-top:auto;
	margin-right:auto;
	margin-left:auto;
	font-size:12px; /*Base Font Size, From Which All EM#s Scale To*/
	
	/*MeiK Elements*/
	border-color: #000000;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-style: solid;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 2px 4px #000000;
	background-image:url("structure/hdbg6.jpg");
    background-repeat: X;
    background-size: 100% auto;
	background-position:left:auto; right:auto;
    background-position: 0 -116px;
	padding-bottom:0px;
	padding-left:0px;
	padding-right:0px;
	z-index:10;
	

}
 
nav ul {
    list-style: none;
    overflow: hidden;
	z-index:10;
}

nav li a {
	position:relative;
    display: block;
    float: left;
    width: 14.28%;
    padding: 3px;
	background-color: rgb(102,153,0); 
	background-color: rgba(102,153,0, 0.60);
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	
    box-shadow: -2px 0px 6px #000000;
     
    color: #FFFFFF;
	text-shadow:-1px 1px 1px #000000;
    font: 1.5em neherpfont, Arial, Helvetica, Verdana;
    text-align: center;
    text-decoration: none;
	
	    /*TRANSISTIONS*/
    -webkit-transition: background 0.4s;
       -moz-transition: background 0.4s;
         -o-transition: background 0.4s;
        -ms-transition: background 0.4s;
            transition: background 0.4s;
			
	z-index:10;
}

nav li:first-child a {
    border: none;/*Removes border on last menu item*/
	border-bottom-left-radius: 15px;
	z-index:10;
}

nav li:last-child a {
    border: none;/*Removes border on last menu item*/
	border-bottom-right-radius: 15px;
	z-index:10;
}
 
/*SMALL*/
nav small {
    color: #aaa;    
    font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;
    text-transform: none;
     
}

/*HOVER*/
nav li a:hover {
	background-color: rgb(102, 204, 0); 
	background-color: rgba(255, 102, 0, 0.6);
	z-index:10;
}

/*------------------------------------------UNDERNAV------------------------------------------*/

#undernav {
	display:block;
	position: relative;    
    width: 100%;
    margin-top:auto;
	margin-right:auto;
	margin-left:auto;
	font-size:12px; /*Base Font Size, From Which All EM#s Scale To*/
	
	/*MeiK Elements*/
	border-color: #000000;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-style: none;
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 2px 4px #000000;
	background-image:url("structure/hdbg6.jpg");
    background-repeat: X;
    background-size: 100% auto;
	background-position:left:auto; right:auto;
    background-position: 0 -116px;
	padding-bottom:0px;
	padding-left:0px;
	padding-right:0px;

	z-index:1;
	

}
 
#undernav ul {
    list-style: none;
    overflow: hidden;
	z-index:10;
}

#undernav li a {
	position:relative;
    display: block;
    float: left;
    width: 14.28%;
    padding: 3px;
	background-color: rgb(102,153,0); 
	background-color: rgba(153,0,204, 0.50);
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	
    box-shadow: -2px 0px 6px #000000;
     
    color: #FFFFFF;
	text-shadow:-1px 1px 1px #000000;
    font: 1.3em neherpfont, Arial, Helvetica, Verdana;
    text-align: center;
    text-decoration: none;
	
	    /*TRANSISTIONS*/
    -webkit-transition: background 0.4s;
       -moz-transition: background 0.4s;
         -o-transition: background 0.4s;
        -ms-transition: background 0.4s;
            transition: background 0.4s;
			
	z-index:10;
}

#undernav li:first-child a {
    border: none;/*Removes border on last menu item*/
	border-bottom-left-radius: 15px;
	border-top-left-radius: 15px;
	z-index:10;
}

#undernav li:last-child a {
    border: none;/*Removes border on last menu item*/
	border-bottom-right-radius: 15px;
	border-top-right-radius: 15px;
	z-index:10;
}
 
/*SMALL*/
#undernav small {
    color: #aaa;    
    font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;
    text-transform: none;
     
}

/*HOVER*/
#undernav li a:hover {
	background-color: rgb(102, 204, 0); 
	background-color: rgba(255, 102, 0, 0.6);
	z-index:10;
}

/* Submenu Navigation */

#subnav {
	display:block;
	position: relative;
	height:15px;
	padding-left:5px;
	padding-top:2px;
	margin-bottom:-15px;
	text-align:left;
	font-family: neherpfont;
	font-size:0.9em;
    line-height: 0.9;
	font-color:#6600CC;
	font-weight:bold;
	z-index:10;
}

#subnav .rc{
	display:block;
	text-align:right;
	padding-right:5px;
	padding-top:3px;
	margin-top:-15px;

	}

#subnav a:link {color:#6600CC; text-decoration: none;}
#subnav a:visited {color:#6600CC; text-decoration: none;}
#subnav a:hover {color:#FF6600; text-decoration:none;}
#subnav {color:#FF9900; text-decoration: none;}
#subnav {color:#000000; text-decoration: none;}

/* Footer */

footer {
	display:block;
    width: 95%;
	margin-right:auto;
	margin-left:auto;
	border-color: #000000;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-style: solid;
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;

    border-width: 2px;
    box-shadow: 0px 2px 4px #000000;
	/*background: #669900 url('structure/background.jpg');*/
	background-image:url("structure/hdbg6.jpg");
    background-repeat: X;
    background-size: 100% auto;
	background-position:left:auto; right:auto;
	
	text-align: center;
    vertical-align: text-top;
	word-wrap: break-word;
}

.footeroverlay {

	display:block;
    width: 100%;
	margin-right:auto;
	margin-left:auto;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-style: none;
	border-top-right-radius: 14px;
	border-top-left-radius: 14px;

	background-color: rgba(102,153,0, 0.60);
	
	padding:5px;
	text-align: center;
    vertical-align: text-top;
	word-wrap: break-word;
}

footer .stack1 {
	display:inline-block;
    width: 66%;
	margin-right:auto;
	margin-left:auto;
	text-align: center;
    vertical-align: text-top;
	word-wrap: break-word;
}

footer .stack2 {
	padding-top:6px;
	display:inline-block;
    width: 16.25%;
	margin-right:auto;
	margin-left:auto;
	text-align: center;
    vertical-align: text-top;
	word-wrap: break-word;
}

footer .stack3 {
	display:none;
}

/*------------------------------------------IMG Tools------------------------------------------*/

#preload{display:none;}

/*Animate Images*/
.animate img {
-webkit-filter: contrast(1.0);
-webkit-transition: all .8s ease;
-moz-transition: all .8s ease;
-o-transition: all .8s ease;
-ms-transition: all .8s ease;
transition: all .8s ease;
}
.animate img:hover {
-webkit-filter: contrast(1.5);
-webkit-transform: scale(0.95);
-ms-transform: scale(0.95);
transform: scale(0.95);
}

	
/*------------------------------------------MEDIA QUERIES------------------------------------------*/


@media only screen and (max-width : 1300px),
only screen and (max-device-width : 1300px){
#undernav li a {
    	font: 1.1em neherpfont, Arial, Helvetica, Verdana;
    }
}

@media only screen and (max-width : 1015px),
only screen and (max-device-width : 1015px){
nav li a {
        width: 33.333%;
    	font: 1.5em neherpfont, Arial, Helvetica, Verdana;
		padding-top: 2px;
        padding-bottom: 2px;
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 15px;
		border-top-right-radius: 15px;
		border-top-left-radius: 15px;
    }
	
#undernav li a {
        width: 33.333%;
    	font: 1.4em neherpfont, Arial, Helvetica, Verdana;
		padding-top: 2px;
        padding-bottom: 2px;
		
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 15px;
		border-top-right-radius: 15px;
		border-top-left-radius: 15px;
    }
	
#menuwrapperwithundernav {margin-bottom:-2px;}/*Keeps undernav against nav*/
	
header .onestop {display:none;}
header .onestop2 {
	display:block;
	width:39%;
	/*max-width:300px;*/
	max-height:110px;
	max-width:360px;
	overflow: auto;
	float:right;
}

#menuwrapper { width:100%; height:70px; }
#menuwrapperwithundernav { width:100%; height:64px; }

.hideonshrink {display:none;}

footer {
    background-size: 135% auto;	
	}
	
#subnav {margin-bottom:5px;}

.notab{display:none;}

footer .stack1 {width:100%}

footer .stack2 {display:none;}

footer .stack3 {display:inline-block;}
	
}

@media only screen and (max-width : 580px),
only screen and (max-device-width : 580px){
    nav li a {
        width: 50%;
  		font: 1.5em neherpfont, Arial, Helvetica, Verdana;
        padding-top: 4px;
        padding-bottom: 4px;
    }
	 
    nav li:nth-child(even) a {
        border-right: none;
    }
	
	#undernav li a {
        width: 50%;
	}
	
	nav li.nomob {
       display:none; 
    }
	
	header {
    background-size: auto 100%;	
	}
	
	footer {
    background-size: auto 100%;	
	}
	
	header .onestop {display:none;}
	header .onestop2 {display:none;}
	
	header .logo {
	display:inline-block;
	padding-top:0.25%;/*0.5% Less than .onestop, to ensure .onestop stays at bottom border*/
	width:75%;
	margin-left:12.5%;
	margin-right:12.5%;
	overflow: auto;
}

header .cart {display:none;}

#menuwrapper { width:100%; height:80px; }
#menuwrapperwithundernav { width:100%; height:72px; }
	
#subnav .rc{display:none;}
}


 
/*BELOW REMOVED UNTIL WE HAVE A SCREEN SMALL ENOUGH TO TEST THIS...*/
@media only screen and (max-width : 320px),
only screen and (max-device-width : 320px){
nav li a {
        width: 50%;
  		font: 1.1em neherpfont, Arial, Helvetica, Verdana;
        padding-top: 4px;
        padding-bottom: 4px;
    }
     
    nav li:nth-child(even) a {
        border-right: none;
    }
	
	nav li.nomob {
       display:none; 
    }
	
	header .onestop {display:none;}
	header .onestop2 {display:none;}
	
	header .logo {
	display:inline-block;
	padding-top:0.25%;/*0.5% Less than .onestop, to ensure .onestop stays at bottom border*/
	width:75%;
	margin-left:12.5%;
	margin-right:12.5%;
	overflow: auto;
}

header .cart {display:none;}

#subnavl {margin-bottom:0px;}
#subnavr {display:none;}	
}