/* Start of CMSMS style sheet 'agapi : grassmenu' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

#menuwrapper {

        }

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li { 
        
       }


/* Unless you know what you do, do not touch this */ 
/******* top navigation *******/
#primary-nav ul {
padding:0;
margin:0;
white-space: nowrap;
font-size:8pt;
color: #E14511;
float:left;
background: url(uploads/agapi/topnav_bg_grey.gif);
list-style:none;
}

#primary-nav ul li {
margin: 0 0 0 0;
padding: 0 0 0 0;
color: #E14511;
text-decoration:none;
float: left;
}

#primary-nav a:hover{display:block;
background-color: #E14511;
color: #ffffff;
text-decoration:none;
}

#primary-nav{
        list-style: none; 
	margin: 0px; 
	padding: 0px; 
}

#primary-nav ul { 
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	}
#primary-nav ul {
	position: absolute; 
	top: auto; 
	display: none; 
	}
#primary-nav ul ul { 
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%; 
	top: 0px; 
	}
	
#primary-nav li { 
	margin-left: -1px;
	float: left; 
	}
#primary-nav li li { 
	margin-left: 0px;
	margin-top: -1px;
	float: none; 
	position: relative; 
	}

/* Styling the basic apperance of the menu elements */


#primary-nav li a { 
        color:#E14511;
	display: block;  
	padding: 3px 10px;         
	text-decoration: none;
        border-right: 1px solid #C0C0C0; 
	}
#primary-nav li li a{
        text-align:left;
        padding: 4px 10px;
        display: block;
	border-right:none;
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
font-weight:bold;
color:#333333;
border-bottom: 0px solid #E14511;
	}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav ul li .menuparent, #primary-nav ul li .menuparent:hover{ 
	background-image: url(modules/CSSSMenu/images/arrow.gif); 
	background-position: center right; 
	background-repeat: no-repeat;

	}

/* Styling the apperance of menu items on hover */



/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul, 
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul { 
	display: none; 
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul,
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ul { 
	display: block; 
	}


/* IE Hacks */

#primary-nav li li { 
	float: left; 
	clear: both; 
	}
#primary-nav li li a { 
	height: 1%; 
	}

/* End of 'agapi : grassmenu' */

/* Start of CMSMS style sheet 'agapi : grass horizMenu' */
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* NAV */


   * html div#footer {
        /* hide ie/mac \*/
        height: 1%;
        /* end hide */
    }

    div#footer ul {margin:0 64px;
        list-style: none;
       }
    div#footer li {
        float: left;
        display: inline;
        list-style: none;
       }
    div#footer a,
    div#footer a:link,
    div#footer a:active,
    div#footer a:visited {
        text-align:center;
        padding: 5px 8px;
         

        /* hide from ie/mac \*/
        display: block;
        /* end hide */
    }

/* End of 'agapi : grass horizMenu' */

/* Start of CMSMS style sheet 'agapi : niftyCorners2' */
/*Nifty Corners Cube CSS by Alessandro Fulciniti
The following classes are added dinamically by javascript,
and their use should be avoided in the markup */

b.niftycorners,b.niftyfill{display:block}
b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;
    overflow:hidden;border-style:solid;border-width: 0 1px}
/*normal*/
b.r1{margin: 0 3px;border-width: 0 2px}
b.r2{margin: 0 2px}
b.r3{margin: 0 1px}
b.r4{height: 2px}
b.rb1{margin: 0 8px;border-width:0 2px}
b.rb2{margin: 0 6px;border-width:0 2px}
b.rb3{margin: 0 5px}
b.rb4{margin: 0 4px}
b.rb5{margin: 0 3px}
b.rb6{margin: 0 2px}
b.rb7{margin: 0 1px;height:2px}
b.rb8{margin: 0;height:2px}
b.rs1{margin: 0 1px}
/*transparent inside*/
b.t1{border-width: 0 5px}
b.t2{border-width: 0 3px}
b.t3{border-width: 0 2px}
b.t4{height: 2px}
b.tb1{border-width: 0 10px}
b.tb2{border-width: 0 8px}
b.tb3{border-width: 0 6px}
b.tb4{border-width: 0 5px}
b.tb5{border-width: 0 4px}
b.tb6{border-width: 0 3px}
b.tb7{border-width: 0 2px;height:2px}
b.tb8{border-width: 0 1px;height:2px}
b.ts1{border-width: 0 2px}
/* End of 'agapi : niftyCorners2' */

