/*.main_menu, .main_menu li ul{*/

.main_menu {
list-style-type: none;
margin: 0;
padding: 0;
width: 150px; /*WIDTH OF MAIN MENU ITEMS*/

}
.main_menu li{
position: relative;
/*border-bottom:2px solid #000;*/
}

.main_menu li a{	
background: #E2F7D7;
border-bottom:2px solid #000;
font: 15px Arial, Helvetica, sans-serif; 
color:#000;
display: block;
width: auto;
padding-left: 10px;
text-decoration: none;
}
.main_menu li .arrow{
background:url(../images/arrow.gif) #E2F7D7  no-repeat center right;
}

.main_menu li ul { /*ALL SUB MENUS STYLE*/
font: bold 12px Arial, Helvetica, sans-serif;
color: #000;
list-style:none;
position: absolute;
height:300px;
left: 0;
top: 0;
display: none;
}
.main_menu li ul li{   /*All SUB MENU ITEMS*/
float: left;
text-align:center;
width:90px;		/*WIDTH OF SUB MENU ITEMS*/
border:none;
}
#fences li #main_1, #fences li #main_2, #fences li #main_3, #fences li #main_4 {
filter: alpha(opacity=93); /* internet explorer */
-khtml-opacity: 0.9;      /* khtml, old safari */
-moz-opacity: 0.9;       /* mozilla, netscape */
opacity: 0.9;           /* fx, safari, opera */
}

#fences li #main_1 { /*SUB MENU 1*/
margin-left:89px;
margin-top:-19px;
width: 500px; /*WIDTH OF SUB MENU 1*/
height:300px;
background:url(../images/nav_sub2_3rows_1.gif) no-repeat top left;
}
#fences li #main_2 {  /*SUB MENU 2*/
margin-left:90px;
margin-top:-19px;
width: 478px; /*WIDTH OF SUB MENU 2*/
height:300px;
background: url(../images/nav_sub1_2rows_bkgd_1.gif) no-repeat top left;
}
#fences li #main_3 { /*SUB MENU 3*/
margin-left:89px;
margin-top:-19px;
width: 500px; /*WIDTH OF SUB MENU 3*/
height:450px;
background: url(../images/nav_sub3_2rows_odd.gif) no-repeat top left;
}
#fences li #main_4{ /*SUB MENU 4*/
margin-left:89px;
margin-top:-19px;
width: 675px; /*WIDTH OF SUB MENU 4*/
height:450px;
background: url(../images/nav_sub_single_item.gif) no-repeat top left;
}

#sub1_r1, #sub1_r2, #sub1_r3 {  /*Sub menu 1, rows 1 and 2*/
	margin-left:19px;
}
#sub2_r1, #sub2_r2 {	 /*Sub menu 2, rows 1 and 2*/
	margin-left:19px;
}
#sub3_r1, #sub3_r2 {	 /*Sub menu 2, rows 1,2 and 3*/
	margin-left:18px;
}
#sub4_r1 {	 /*Sub menu 4, rows 14*/
	margin-left:24px;
}
#fences li #main_1 a img {		/* Sub menu 2*/
	border:none;
	margin-top:5px;
}
#fences li #main_2 a img {  	/* Sub menu 1*/
	border:none;
	margin-top:7px;	
}
#fences li #main_3 a img {		/* Sub menu 2*/
	border:none;
	margin-top:11px;
}
#fences li #main_4 a img {		/* Sub menu 2*/
	border:none;
	margin-top:6px;
}
#fences  li #main_1 a, #fences  li #main_2 a, #fences  li #main_3 a,  #fences  li #main_4 a {   /*All Sub menus FONT SIZE*/
padding-top:12px;
height:72px;
background:none;
padding-left:10;
border:none;
font: normal 10px Arial, Helvetica, sans-serif;
color: #000;
}
#cssmenu1 li #fences li a{  /*color of menu sub-items*/
	color: #000;
}
#fences li #main_1 .second_row {		/*Sub menu 2 second row*/
	margin-top:-7px;;
}
#fences li #main_1 .third_row {		/*Sub menu 2 third row*/
	margin-top:-11px;
	margin-left:20px;
}
#fences li #main_1 #sub1_r3 {		/*Sub menu 2 third row*/
	margin-top:-7px;
}
#fences li #main_2 .second_row {		/*Sub menu 1 second row*/
	margin-top:3px;
}
#fences li #main_3 .second_row {		/*Sub menu 2 second row*/
	margin-top:2px;
}
.main_menu .arrowdiv{
position: absolute;
right: 2px;
}
.main_menu li a:visited, .main_menu li a:active{
color: #000;
}
.main_menu li a:hover{
background:#438E17;
color:#E2F7D7;
}
#fences li .sub_menu a:hover {  /*all sub menu sub-menu*/
	text-decoration:underline;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
	
/* Holly Hack for IE \*/
* html .main_menu li { float: left; height: 1%; }
* html .main_menu li a { height: 1%; }
* html #fences li #main_1 a, #fences li #main_2 a, #fences li #main_3 a { height: 1%; }
* html .main_menu li ul li { height: 1%; }
* html .main_menu li ul li a { height: 1%; }

/* End */

