/*
Theme Name: HPS
Author URI: http://veebiaken.ee
Version: 1
Author: Sten Aus ja Marek Meiesaar
Description: Kujundus HPS veebilehekülje jaoks. Copyright 2011.
*/

/****************************************************************************************/

*{margin:0;padding:0;}

body{
	background: #FFFFFF url(./images/back.png) repeat-x;
	font-family: Arial, sans-serif;
	font-size: 16px;
	color: #000;
}

img a, img a:visited, img a:hover, img a:active{
	border: 0;
}

/****************************************************************************************/

#container{
	width: 1020px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 43px;
}

/****************************************************************************************/


#sidebar{
	width: 248px;
	float: left;
	height: 100%;
/*	padding-left: 40px;*/
	margin-left: 13px;
}

#logo{
	width: 237px;
	height: 237px;
	margin: 0 auto;
}

#logo a, #logo a:hover, #logo a:active, #logo a:visited{
	text-decoration: none;
	color: #555555;
}

#logo img{
	border: 0;
}

.x-x-black{
	float: left;
	background: url(./images/x-x-black.png) no-repeat;
	border-bottom: 1px dotted #b2b2b2;
	height: 21px;
	width: 100%;
	margin-bottom: 13px;
	margin-left: 13px;
}

	.x-x-black p{
		display: inline;
		float: left;
		font-size: 16px;
		margin-top: -7px;
		margin-left: 32px;
	}

#news{
	width: 206px;
	margin: 16px auto 0px;
	float: left;
	padding-left: 14px;
	font-size: 12px;
}

#news a, #news a:hover, #news a:active, #news a:visited{
	text-decoration: none;
	color: #000;
}

	#news .element{
		background: url(./images/button.png) no-repeat;
		background-position: 0px -1px;
		width: 80%;
		margin-left: 26px;
		float: left;
		margin-bottom: 18px;
	}
	
	#news .element p{
		margin-top: -5px;
		margin-left: 9px;
		line-height: 15px;
	}
	
		#news .element span.date{
			font-size: 12px;
			color: #648ac9;
		}
		
		#news .element span.headline{
			font-size: 12px;
			margin-left: 5px;
			color: #555555;
		}


#calendar{
	width: 206px;
/*	padding-left: 13px;*/
	margin: 16px 0px 0px 14px;
}

#calendar a, #calendar a:hover, #calendar a:active, #calendar a:visited{
	color: #000;
	text-decoration: none;
}

#calendar table{
	float: left;
	padding-left: 11px;
}

/****************************************************************************************/

#content{
/*	margin-top: 28px;*/
	margin-left: 16px;
	width: 683px;
	height: 100%;
	float: left;
}

#mainmenu{
	margin-left: 4px;
	margin-bottom: 13px;
/*	width: 671px;*/
	width: 100%;
	height: 12px;
	color: #191b1a;
}
	
	#mainmenu ul{
		display: inline;
		list-style: none;
	}
	
	#mainmenu ul li:last-child{
		background: 0;
	}
	
	#mainmenu ul li{
		display: inline;
		background: url(./images/x-x-white.png) no-repeat;
		background-position: right center;
		padding-right: 31px;
		padding-left: 3px;
	}
	
	#mainmenu ul li.page_item-avaleht{
		padding-left: 0px;
	}
	
	#mainmenu ul li a {
		font-size: 16px;
		padding: 0px;
		color: #191b1a;
		text-decoration: none;
	}
	
	#mainmenu ul li a:hover{
		color: #000;
		font-size: 16px;
		border-bottom: 1px solid #305081;
	}
	
	#mainmenu ul li.current_page_item a{
		font-size: 16px;
		color: #305081;
		border-bottom: 1px solid #000;
	}
	
	#mainmenu ul li.current_page_parent a{
		font-size: 16px;
		color: #305081;
		border-bottom: 1px solid #000;
	}
	
#innerbox{
	width: 100%;
	border: 1px solid #ececec;
	background: #FFF;
	padding-bottom: 33px;
	padding-right: 9px;
	font-size: 14px;
	line-height: 20px;

	-moz-border-radius: 10px;
	-webkit-border-radius:10px;
	
	-moz-box-shadow: 0px 0px 10px #ccc;
	-webkit-box-shadow: 0px 0px 30px #ccc;
	box-shadow: 0px 0px 10px #ccc;
}

#innerbox img{
	border:0;
}

#submenu{
	width: 672px;
	padding-bottom: 8px;
	border-bottom: 1px dotted #b1b1b1;
	color: #565656;
	font-size: 12px;
	margin-top: 9px;
	margin-left: 11px;
}

	#submenu ul{
		display: inline;
		list-style: none;
	}
	
	#submenu ul li:last-child{
		background: 0;
	}
	
	#submenu ul li{
		display: inline;
		background: url(./images/x-x-grey.png) no-repeat;
		background-position: right center;
		padding-right: 26px;
		padding-left: 6px;
	}
	
	#submenu ul li a {
		font-size: 12px;
		padding: 0px;
		color: #575757;
		text-decoration: none;
	}
	
	#submenu ul li a:hover{
		font-size: 12px;
		color: #575757;
		text-decoration: underline;
	}
	
	#submenu ul li.current_page_item a{
		font-size: 12px;
		color: #6688c7;
		border-bottom: 1px solid #6688c7;
	}
	
	#submenu ul li.current_page_item a:hover{
		text-decoration: none;
		border-bottom: 1px solid #6688c7;
		color: #6688c7;
	}
/*
	#submenu p{
		display: inline;
		float: left;
	}
	
		#submenu p img{
			margin: 0px 2px;
		}
*/

#inner{
	padding-top: 7px;
	padding-left: 6px;
	padding-right: 9px;
	color: #434343;
}

	#inner p{
		margin-left: 7px;
	}
	
	#inner a, #inner a:active, #inner a:visited, #inner a:hover{
		color: #648ac9;
		text-decoration: underline;
	}
	
	#inner ul{
		margin-left: 30px;
	}
	
	#inner .post-date{
		font-style:italic;
		color: #434343;
		margin-left: 6px;
		margin-bottom: 15px;
	}
	
	#inner .post_separator{
		width: 100%;
		margin-top: 22px;
		margin-bottom: 6px;
		height: 1px;
		border-bottom: 1px dotted #b1b1b1;
	}

/****************************************************************************************/

#footer{
	float: left;
	background: url(./images/footer2.png) no-repeat;
	width: 926px;
	height: 36px;
	color: #565656;
	font-size: 12px;
	padding-left: 14px;
	padding-top: 10px;
	margin-top: 10px;
	margin-bottom: 43px;
	margin-left: 40px;
}

	#footer p.left{
		float: left;
		display: inline;
	}
	
	#footer p.right{
		margin-right: 16px;
		float: right;
		clear: right;
	}
	
	#footer p.veebiaken{
		margin-right: 16px;
		margin-top: 7px;
		padding-bottom: 43px;
		clear: left;
		float: right;
	}
	
		#footer p.veebiaken a, #footer p.veebiaken a:hover, #footer p.veebiaken a:active, #footer p.veebiaken a:visited, #footer p.veebiaken img{
			text-decoration: none;
			border: 0;
		}

/****************************************************************************************/

h1{
	font-size: 28px;
	color: #648ac9;
	margin-top: 20px;
	margin-bottom: 21px;
	margin-left: 5px;
}

/****************************************************************************************/



