
p {
  margin: 0;
  padding: 0;
}

body {
        font:13px Arial, Verdana, Helvetica, sans-serif;
		line-height: 1.5;
        background-image: url(/qmc/images/tausta_qmc3.jpg);
        background-repeat: no-repeat;
        background-position: center top;
		margin: 0px; 
		padding: 0px; 
}

a, a:link, a:visited {
  color: #900;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #000;
}
 
p.search_title 
{
	margin-left:5px;
	color:#aaaaaa;
	font-weight:bold;
	text-align:left;
}

table.moduletable-top {
	width: 509px;
	border: 0px;
}

a.mainlevel-top { 
float:left;background:url(/qmc/images/menu_bg.gif) no-repeat;display:block; width:101px; height:24px;  padding-top:16px; padding-left:0px;color:#333333; font:bold 12px Tahoma, Arial, Verdana, Helvetica, sans-serif; text-decoration:none; text-align:center;
}

a.mainlevel-top:hover { 
float:left;background:url(/qmc/images/menu_bg.gif) no-repeat;display:block; width:101px; padding-top:16px; padding-left:0px;color:#C20000; font:bold 12px Tahoma, Arial, Verdana, Helvetica, sans-serif; text-decoration:none; text-align:center;
}
 
table.moduletable-bottom {
	border: 0px;
	text-align:center;
}

/*
ul#mainlevel-bottom {
	list-style:none;
text-align:center;
}


table.moduletable-bottom li {
	float:left;
	display:list-item;

	padding: 0px 5px 0px 5px;
	border-left: #000 1px solid;
}
*/

div.moduletable_common table {
 top: 0px; 
 left: 0px; 
 position:relative ; 
 margin:0px !important ; 
 border: 0px solid #C70000 ; 
 z-index: 1; 
}

div.moduletable_common a,
div.moduletable_common a:visited,
div.moduletable_common a:link  {

 font-size: 12px !important ; 
 font-family: Tahoma, Arial, sans-serif !important ; 
 text-align: left !important ; 
 font-weight: normal !important ; 
 color: #520020 !important ; 
 text-decoration: none !important ; 
 margin-bottom:0px !important ; 
 display:block !important; 
 white-space:nowrap ; 
 padding: 5px 5px 5px 15px !important;  
}

div.moduletable_common td {
 border-right: 2px solid #FFFFFF ; 
 border-top: 2px solid #FFFFFF ; 
 border-left: 2px solid #FFFFFF ; 
 background-color: #F5F5F5 !important ; 
} 
 
div.moduletable_common a:hover   { 
 color: #FFFDED !important ; 
 background-color: #C70000 !important ; 
} 
 
h1#sitetitle {
  padding: 100px 0 0;
  background: #fff url(../images/logo.png) center top no-repeat;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #000;
}
h1#sitetitle a, h1#sitetitle a:link, h1#sitetitle a:visited {
  text-decoration: none;
  color: #000;
}
h1#sitetitle a:hover {
  text-decoration: none;
  color: #000;
}
h2#siteslogan {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 10px;
  text-align: center;
  color: #000;
}
 
#sidebar {
  width: 215px;
  margin: 10px 0 10px 10px; 
  float: left;
  color: #000;
}
 
#mainbar {
  margin: 10px 10px 10px 235px;
}
 
/* Joomla Elements */
 
/* Moduletable DIV's */
#sidebar .moduletable {
  margin: 10px 0;
}
#sidebar .moduletable h3 {
  border-bottom: 1px solid #ccc;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
  padding: 0 0 0 5px;
}
 
/* Main Menu */

li#mainlevel {
  list-style-type: none;
  padding: 3px 0 3px 18px;
  background: #fff url(../images/bullet.gif) 0 5px no-repeat;
}
ul#mainlevel a, ul#mainlevel a:link, ul#mainlevel a:visited {
  text-decoration: none;
  color: #900;
}
ul#mainlevel a:hover {
  text-decoration: underline;
  color: #000;
}
 
/* Login Form */
#mod_login_username {
  margin: 0 5px 1px;
  border: 1px solid #ccc;
}
#mod_login_password {
  margin: 0 5px 1px;
  border: 1px solid #ccc;
}
#mod_login_remember {
  margin: 0 0 0 1px;
}
input.button {
  border: 1px solid #ccc;
  background-color: #eee;
  color: #666;
  padding: 1px;
  margin: 3px;
  font-size: 10px;
}
label {
  margin: 0 0 0 5px;
}
 
/* Search Form */
#mod_search_searchword {
  width: 100px;
  margin: 0 5px 5px;
  border: 1px solid #ccc;
}
 
/* Main Content Area */
#content {
  text-align: left;
  padding: 2px 3px 3px 3px;
}

.componentheading {
  display: block;
  font-size: 20px;
  color: #666;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  margin: 0 0 10px;
}
 
.contentheading {
  font-size: 20px;
  color: #900;
  font-weight: bold;
  margin: 0 0 2px;
}
 
.small, .createdate, .modifydate {
  font-size: 10px; 
  font-weight: normal;
}
 
a.readon {
  display: block;
  padding: 3px 0 3px 18px;
  background: #fff url(../images/arrow1.png) left center no-repeat;
  margin: 5px 0 0;
}
 
.article_seperator {
  display: block;
  height: 10px;
}

.pathway{
	color: #fff;
	font-size: 12px;
}

a.pathway{
	color: #fcc;
	font-size: 12px;
}

div#content h1 {
  font-size: 20px;
  color: #900;
  font-weight: bold;
  margin: 0 0 2px;
}

div#content h2 {
  font-size: 16px;
  color: #666666;
  font-weight: bold;
  margin: 0 0 2px;
}

div#content h3 {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  margin: 0 0 2px;
}

div#content h4 {
  font-size: 14px;
  color: #666666;
  font-weight: bold;
  margin: 0 0 2px;
  border-left:#CC0000 solid 12px;
  border-bottom:#CC0000 dashed 1px;
  padding: 0px 0px 0px 5px;
}


div#content h5 {
  font-size: 14px;
  color: #0099FF;
  font-weight: bold;
  margin: 0 0 2px;
}


div#content h6 {
  font-size: 12px;
  color: #900;
  font-weight: normal;
  margin: 0 0 2px;
  border-left:#CC0000 solid 10px;
  border-bottom:#CC0000 solid 1px;
  padding: 0px 0px 0px 5px;
}

div#content ul
{
	margin: 0;
	padding: 0;
	list-style:none;
	list-style-image: url(../images/arrow2.png);
	list-style-position: outside;
}

div#content ol
{
	margin: 0px 0px 0px 25px;
	padding: 0;
}

div#content li
{
	line-height: 1.5;
	padding-left: 0px;
	padding-top: 0px;
	margin-left: 20px;
	margin-top: 0px;
	margin-bottom: 1em;
}
