





/***************************************************************
horizontal menu. dynamic background color. 
\***************************************************************/




/*--------------------------------
 the pretty stuff
---------------------------------*/


.udm{
  width:100%; 
}


ul.udm ul {
	display: none;
}

ul.udm li:hover > ul {
		display: block;
	}


ul.udm,
ul.udm li,
ul.udm span,
ul.udm a {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type:none;
  font-size:18px;
  text-transform:uppercase; 
}



ul.udm {
	position: relative;
	
	list-style: none;
	margin-right: auto;
	margin-left: auto;
}




@media (min-width: 768px) {
  ul.udm  {
    width: 750px;
  }
}
@media (min-width: 992px) {
  ul.udm  {
    width: 970px;
  }
}
@media (min-width: 1200px) {
 ul.udm  {
    width: 1170px;
  }
}





ul.udm:after { 
    display: block; 
    clear: both;
	content: "";
}

ul.udm li {
	float: left;
	border:0px;
	padding: 0em 0em;
    /*fade in pretty like*/
    -webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

ul.udm li:hover {
	background:#006fa1;	
	text-decoration:none;
}

ul.udm li:hover a {
	color: #ffffff;
}

ul.udm li a {
	display: block; 
	padding: .5em 0.8em;
	color: #;; 
	text-decoration: none;
}
ul.udm ul {
	position: absolute; 
	top: 100%; 
	z-index:1000; 
	padding: 0; 
	width:300px;

}
ul.udm ul li { 
  position: relative;
  float: none; 
  background:#006fa1;	
  padding:.3em;
  line-height:.9em;
}

/*--------------------------------
makes the last menu item sub-menu open to the left rather than right.
---------------------------------*/
ul.udm li:last-child ul {
    left: auto !important;
    right: 0 !important;
}

/*--------------------------------
makes the last menu sub-sub item to open to the left rather than the right
---------------------------------*/
ul.udm li:last-child ul ul {
   right: 170px !important;
   top:5px;
}

ul.udm ul li a {

}	
ul.udm ul li a:hover {
	background: #;
	box-shadow:inset 0 0 0 99999px rgba(0,0,0,0.5);
}
ul.udm ul ul {
    position: absolute; 
    top:0; 
    left: 100%;
}
		

@media only screen and (max-width: 768px){




ul.udm{
	margin: 0px auto 10px; 
	text-align: center;
}

ul.udm, ul.udm > li, ul.udm > li > a{
		height: auto;
		width: 100%;
}
	
/*Make all menu links full width*/
ul.udm li, ul.udm li a, ul.udm li ul {
		width: 100%;
		background: #; 
	}
 
/*stack 3 level subs*/ 
ul.udm ul ul {
    position: absolute;
    left: 0px;
    top: 0px;
    position: static;
		display: none;
}
    
ul.udm a {
        padding:0 50px;
    }    


  
}


@media only screen and (max-width: 479px){

#sitelogo{
    float:none;
    clear:both;
    margin:0;
    padding:0px;
    text-align:center;
    }

ul.udm{
    margin:0px auto;
    text-align:center;
}


	
ul.udm li {
  text-align:left;
  width:100%; /*one column%*/
}

ul.udm > li {  float: none; width: 100%; }
ul.udm a { line-height: 40px; }
    
ul.udm { 
  position: relative;
  float:none;
}

ul.udm, ul.udm > li, ul.udm > li > a{
  width: 100%; 
}

ul.udm ul ul {
    position: relative; 
    top:0; 
    left: 0;
}
  
}
