/*
CSS-kood on kopeeritud Ruthsarian Layouts'ist aadressilt

http://webhost.bridgew.edu/etribou/layouts/mbar/
*/

/*
	To get the bar to go border-to-border, the body's padding and 
	margins must be removed.
*/
body
{
	padding: 0;
	margin: 0;
	border-width: 0;
}

/*
	Define some visual characteristics of the mbar. Salt to taste.
*/
#mbar
{
	color: #000;
	background: #FFF url('../img/integraalid.jpg') no-repeat 0 50%;
	/*height: 135px;*/
	/*padding: 4px 1em 0;*/
	margin: 0;
	border: solid 1px #999;
	border-width: 0 0 1px 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 80%;
	z-index: 1;
}

/*
	For reference purposes. You shouldn't use this block. It mucks up 
	the layout really badly in narrow viewports
*/
#mbarLogo
{
	float: left;
	z-index: 2;
	padding-top: 0.2em;
}

/*
	Setup two button containers
*/
#mbarExtraNav
{
	text-align: right;
}
#mbarTabs
{
	clear: right;
	/*padding: 0.5em 5% 0 0;*/
	padding-top: 70px;
	padding-right:5%;
	text-align: right;
}

/*
	Get the gray background to carry down through all the buttons.	
*/
.mbarClear
{
	clear: both;
}
.mbarclear
{
	float: left;
}

/*
	Keep the text of the buttons together
*/
#mbarExtraNav a, #mbarTabs a
{
	white-space: nowrap;
}

/*
	Hide the pipes (|) with CSS and use CSS to make better borders.
	When CSS isn't applied, the pipes becomethe border.
*/
span.divider
{
	display: none;
}

/*
	Define the base style for the first row of links
*/
#mbarExtraNav a, #mbarExtraNav form
{
	color: #555;
	display: block;
	float: right;
	width: auto;
	border: solid 1px #999;
	border-width: 0 1px 0 0;
	padding: 0 0.5em;
	vertical-align: middle;
	margin: 0;
	z-index: 4;
}
/*
	Get the search block to fit better into the line
*/
#mbarExtraNav form input
{
	font-size: 80%;
	font-family: verdana;
}
/*
	In case this CSS gets applied by NS4, this hides the one line that really
	destroys the layout under NS4
*/
@media screen, print 
{
	#mbarExtraNav form input
	{
		border-width: 1px;
	}
}
#mbarExtraNav .extraBorder
{
	border-width: 0 1px;
}
#mbarExtraNav a:link, #mbarExtraNav a:visited
{
	text-decoration: underline;
}
#mbarExtraNav a:hover
{
	color: #300;
	text-decoration: none;
}

/*
	Set the base style for the second rows of links. We'll call them tabs.
*/
#mbarTabs a
{
	color: #fff;
	background-color: #666;
	float: right;
	padding: 4px 10px;
	display: block;
	vertical-align: middle;
	border-left: solid 1px #999;
	border-right: solid 1px #333;
	z-index: 3;
	text-decoration: none;
}
#mbarTabs a:hover
{
	background-color: #336;
	border-left: solid 1px #333;
	border-right: solid 1px #999;
	padding: 5px 9px 3px 11px;
	color: #fff;
	cursor: pointer;
}
