/*---------- Flintshire Freeze site structure styles ----------*/

/*---------- generated by csscreator.com ----------*/ 

/*---------- General layout styles ----------*/ 

html, body{ 
 margin:0; 
 padding:0; 
 font-family: Arial, Helvetica, sans-serif;
 background-image: url(../images/structure/bg.jpg);
 background-position: top;
 background-repeat: no-repeat;
}

#pagewidth{ 
 width:790px; 
 text-align:left;  
 margin-left:auto; 
 margin-right:auto; 
 height: 100%;
} 

/*---------- Header layout ----------*/

#header{
 margin: 10px 0 0 0;
}

/*---------- Main content layout ----------*/

#twocols{
 width:615px; 
 float:right;
 margin-top: 10px;
}

#maincol{
 float: left; 
 display:inline; 
 width:430px;
 height: auto;
 padding-left: 10px;
}

#wrapper{
}
 
/*---------- Left column layout ----------*/

#leftcol{
 width:162px; 
 float:left;
 margin-top: 10px;
 padding-left: 13px;
}

/*---------- Right column layout ----------*/

#rightcol{
 width:175px; 
 float:right; 
 display:inline;
}

/*---------- Footer layout ----------*/

#footer{
 clear:both;
 }

/*---------- Main Navigation layout ----------*/

/* style the outer div to give it width */
.menu {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: -4px 0;
}
* html .menu {
margin: -3px 0;
}

.menu img{
 border: none;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;

}
.menu ul ul {
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
position:relative;
padding-right: 1px;
}

.menu li.nopad{
 padding: 0;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
color:#fff; 
height:auto;
text-decoration: none;
font-size: 0.6em;
padding: 5px 0 5px 5px;
background-color: #87728f;
width: 150px;
border-bottom: 1px solid #4b3247;
border-left: 1px solid #4b3247;
border-right: 1px solid #4b3247;
font-weight: bold;
}
/* style the third level hover */
.menu ul ul ul a:hover {
 background-color: #4b3247;
 color: #fff;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:20px;
left: 0; 
}

/* position the third level flyout menu */
.menu ul ul ul{
left:156px; 
top:-1px;;
width:150px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
table {top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited{
color:#fff; 
height:auto;
text-decoration: none;
font-size: 0.6em;
padding: 5px 0 5px 5px;
background-color: #4b3247;
width: 150px;
border-bottom: 1px solid #87728f;
border-left: 1px solid #87728f;
border-right: 1px solid #87728f;
font-weight: bold;
/* yet another hack for IE5.5 */
}

* html .menu ul ul a{
width:150px;
}

.menu ul ul a:hover{
 background-color: #87728f;
 color: #fff;
}

.menu ul ul a.top{
 border-top: 1px solid #87728f;
}

.menu ul ul ul a.top{
 border-top: 1px solid #4b3247;
}

/* style the top level hover */
.menu a:hover{
color:#4b3247; 
background:#fff;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}





/*---------- Misc Styles ----------*/

.clr{
 clear: both;
 height: 0px;
 overflow: hidden;
}
