/* SWIM2.0 :: Simple website menu
****************************************************************
* DOM scripting by brothercake -- http://www.brothercake.com/
* Licensed under GPL -- http://www.gnu.org/copyleft/gpl.html
****************************************************************
* For professional menu solutions visit -- http://www.udm4.com/ 
****************************************************************
*/

/*div.navbar {
    height: 27px;
	 padding-top: 7px;
}
*:first-child+html div.navbar{
	margin-bottom: -7px;
}*/

a.cssmnu_top_select {
    font-size: 14px;
    text-decoration: none;
    color: #136570;
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: bold;
	 /*line-height: 23px;
    padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;

    
}
a.cssmnu_top_select:visited {
    font-size: 14px;
    text-decoration: none;
    color: #136570;
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: bold;
    /*line-height: 23px;
    padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;


}
a.cssmnu_top_select:hover {
    font-size: 14px;
    text-decoration: none;
    color: #136570;
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: bold;
    /*line-height: 34px;
     padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;


}
a.cssmnu_top_noselect img{
    border: none;
}

a.cssmnu_top_noselect {
    border: 0px solid white;
    font-size:14px;
    text-decoration:none;
    color:#195966;
    display:block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: normal;
    /*line-height: 34px;
     padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    
    
}
a.cssmnu_top_noselect:visited {
    border: 0px solid white;
    font-size:14px;
    text-decoration:none;
    color:#195966;
    display:block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: normal;
    /*line-height: 34px;
     padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;

    
    
}

a.cssmnu_top_noselect:hover {
    border: 0px solid white;
    font-size:14px;
    text-decoration: none;
    color:#195966;
    display:block;
    padding-left: 12px;
    padding-right: 12px;
    font-weight: normal;
    /* line-height: 34px;
    padding-top: 7px;*/
    padding-bottom: 10px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;

    
}

a.cssmnu_sub {
    font-size:11px;
    text-decoration:none;
    color:#136570;
    display:block;
    background-color: #ffffff;
    padding-left:12px;
    padding-right: 5px;
    height:100%;
    border-bottom:solid 1px #9ac8cd;
	 border-left: solid 1px #9ac8cd; 
	 border-right: solid 1px #9ac8cd;
    line-height:16px;
    margin-top: 1px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 169px;
}

a.cssmnu_sub:visited {
    font-size:11px;
    text-decoration:none;
    color:#136570;
    display:block;
    background-color: #ffffff;
    padding-left:12px;
    height:100%;
    border-bottom:solid 1px #9ac8cd;
    line-height:16px;
    margin-top: 1px;
    font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 5px;
    width: 169px;
}
a.cssmnu_sub:hover {
    font-size:11px;
    text-decoration:none;
    color:#FFFFFF;
    display:block;
    background-color: #9ac8cd;
    padding-left:12px;
    height:100%;
    border-bottom:solid 1px #9ac8cd;
    line-height:16px;
    margin-top: 1px;
    font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 5px;
    width: 169px;
}


/* tame the lists */
ul.cssmnu_top_ul, ul.cssmnu_top_ul li {
    margin:0;
    padding:0;
    list-style-type:none;
    font-size:100%; /* fix for win/ie's "non-linear text scaling" bug */
    
    }


/* navbar list */
ul.cssmnu_top_ul {
    position:relative;
    left:0px;
    width:100%;
    cursor:default;
    z-index:2000;
    
    
    /* navbar top position 
       this DOES NOT already include 1px compensation 
       on TOP, for list-item border collapse 
       (1px defaults to around 0.05em) */
    top:0px;
    }

/* navbar list-items */
ul.cssmnu_top_ul li {
    width:auto;
    float:left;
    /*position:relative;*/
    cursor:pointer;
    cursor:hand;
    
    text-align:left;
    
    /* navbar items' left position relative to the container
       this DOES NOT already include 1px compensation 
       on LEFT, for list-item border collapse 
       (1px defaults to around 0.05em) */
    left:0px;

    /* shift list-items to collapse borders cssmnu_top_ully */
    margin:0 0 0 0px;
    }
    
/* we have to use a different positioning trick for ie, so: 
   - set the two values below to reflect the navbar items' left position,  
   - then reduce the margin-left value by 1px (approx 0.05em)  
     to re-apply the list-item border-collapse */
* html ul.cssmnu_top_ul li {
/*    margin:0 -10.55em 0 10.5em;*/
    margin:0px;
    }

/* we also need to use the same trick for safari < 1.2, so 
   - apply the same values again 
   we're also increasing the border-collapse and compensation slightly
   to cover for a float-related rounding-error in mozilla and safari 
   this is using a substring-matching attribute selector 
   which is also visible to safari 1.2, konqueror, mozilla and osx/msn  
   but that's okay, because it still works 
   we can't do that for everybody, because it breaks in opera */
ul[class^="cssmnu_top_ul"] li {
/*    margin:0 -10.55em 0 10.45em;
    left:0.05em;*/
    margin:0px;
    left:0px;
    }

/* menu lists */
ul.cssmnu_top_ul ul {
    z-index:20200;
    padding:0;
    cursor:default;
    position:absolute;
    top:auto;
    display: block;
    /*background-image: url(/file?fle=113);
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-bottom: 15px;*/
    
    /* menu width */
    width: 189px;
    
    /* menu offset, which already includes 1px compensation 
       for list-item border collapse */
    margin:0 0 0 0;
    
    /* 
    position menus off the screen to hide 
    because using display, visibility, overflow or clip,  
    would hide them from browser-based screenreaders as well 
    using left this time because top doesn't work correctly in safari
    and using px because left:-Nem causes a cssmnu_top_ul scrollbar in some opera builds
    it also has the advantage that menus which might extend beyond the window
    won't create a cssmnu_top_ul scrollbar unless they're open
    */
    left:-10000px;
    }
*html ul.cssmnu_top_ul ul{
    margin:0px 0 0 0;
}    
*:first-child+html ul.cssmnu_top_ul ul{
    margin: 0px 0 0 0;
}    
    
/* menu list-items */
ul.cssmnu_top_ul ul li {
    /* duplicate menu width */
    width:8.2em;
    /* compensate for navbar positioning */
    left: 0px;
    width: 190px;
    /* shift list-items to collapse borders vertically */
    margin:-1px 0 0 0;
    }


/* you can use <ul> classes to specify different menu widths */
ul.cssmnu_top_ul ul.wider, ul.cssmnu_top_ul ul.wider li {
    width:12.2em;
    }


/* further child-menu offset */
ul.cssmnu_top_ul ul ul {
    /* this DOES NOT already include 1px compensation 
       on TOP and LEFT, for list-item border collapse 
       (1px defaults to around 0.05em) */
    margin:1 0 0 182px;
    /* overlapping the menus improves usability */
    }
*html ul.cssmnu_top_ul ul ul{
    margin:1 0 0 165px;
}

/* menu triggers -- position menus back on the screen to show 
   hide these from safari < 1.2 because of it's "sticky hover" bug 
   and because the menu positioning doesn't work
   using the "@media with Media Type in Mixed Case" hack
   http://www.dithered.com/css_filters/css_only/media_mixed_case.html */
@media Screen, Projection { 
    ul.cssmnu_top_ul li:hover > ul { left:0px; }
    ul.cssmnu_top_ul li:hover > ul { top:0; }
    }


/* links */
/*
ul.horizontal a, ul.horizontal a:visited {
    display:block;
    cursor:pointer;
    cursor:hand;
    
    background:#ffc;
    border:1px solid #edbb85;
    padding:5px 7px;
    font:normal normal bold 0.7em tahoma, verdana, sans-serif;
    color:#008000;
    text-decoration:none;
    letter-spacing:1px;
    }

/* rollover pseudo-classes, and scriptable persistence class */
ul.cssmnu_top_ul a:hover, ul.horizontal a:focus, ul.horizontal a.rollover, ul.horizontal a.rollover:visited {
    /*background:#FB9C14;
    color:#806020;
    }

/* opera 5 and 6, and mac/ie5, need float on the links */
ul.cssmnu_top_ul a { float:left; }

/* but it would break other browsers, so we need to negate it
   using a rule that's hidden from them with the "@media with Media Type in Mixed Case" hack
   http://www.dithered.com/css_filters/css_only/media_mixed_case.html */
@media Screen, Projection { ul.cssmnu_top_ul a { float:none; } }

/* msn/osx can see through that, but needs the float as well, 
   so re-apply it using the "not my child" hack
   http://www.jasonkarldavis.com/articles/notmychild/ */
ul.cssmnu_top_ul a:not(:nth-child(n)) { float:left; }

/* compensate submenus, using !important to increase specificity for osx/msn */
ul.horizontal ul a { float:none !important; }

/* hacks for win/ie to cure 'excess hidden margins' and 'double margin float' bugs */
@media screen, projection {
    * html ul.cssmnu_top_ul li {
        /* for ie5.0 */
        display:inline; 
        /* for ie5.5+ */
        f\loat:left; 
        /* this cures 'events fall through the menu' bug in ie6 
           you can can change the color, but don't remove it or use an image */ 
        background: transparent;
        }
    }

/* use different comparative positioning for ie, 
   to avoid problems with virtual z-ordering */
* html ul.cssmnu_top_ul li { position:static; }
* html ul.cssmnu_top_ul a { position:relative; }

/* hide menus from konqueror < 3.2 */
ul[class^="cssmnu_top_ul"] ul { display:none; }
ul[class^="cssmnu_top_ul"] ul { displa\y:block; }
