html,body
{
	margin: 0;
	padding: 0;
	height: 100%;
}

body
{
	font-family: tahoma;
	font-size: 14px;
	color: #4c4c4c;
    background: url(layout/bck_new.jpg) top center;
    background-repeat: no-repeat;
    background-color: #fff; 
    margin: 0 auto;
    line-height: 20px;
    margin: 0;
	padding: 0;
}


h1{
    display: inline;
    font-size: 18px;
    color: #d70000;
}

#header
{
  width: 100%;
  height: 91px;
  background: url(layout/header_new.jpg);
  margin: 0 auto;
  box-shadow: 5px 5px 5px 5px; 
}
#header_cont{
    width: 1000px;
    margin: 0 auto;
    height: 92px;
    position: relative;
}

#main 
{
    background-color: #fff;
    border-right: 1px solid #d7d7d7;
    border-left: 1px solid #d7d7d7;
    width: 1000px;
    position: relative;
    margin: 0 auto;

}
#main_text
{
    min-height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 30px;
    position: relative;
    float: left;
    background-color: #fff;
    width: 960px;
}

#main_text img
{
    margin: 5px;
}

#logo
{
    position: relative;
    top: 20px;
    float: left;
}
#main_bottom
{
    width: 979px;
    height: 15px;
    background: url(layout/main_bottom.png);
    background-repeat: no-repeat;
}
#menu
{
   position: relative;
   float: left;
   font-size: 14px;
   top: 40px;
}

table, td
{
	border-collapse: collapse;
	border: 0px;
        font-size: 14px;
}

#wrapper
{
	position: relative;
	top: 0px;
	bottom: 0px;
	margin: 0 auto;
	width: 100%;
	float: left;
}

#footer
{

    width: 1000px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

#footer_text
{
    height: 58px;
    background: url(layout/footer_new.jpg);
    box-shadow: 0 4px 6px -2px #000;
    background-repeat: repeat;
    width: 1000px;
    text-align:center;
    color: #f21b23;
    font-size: 14px;
    line-height: 58px;
    float: left;
}

#menu a
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding-left: 10px;
}

#menu a:link
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

#menu a:hover
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

#menu a:visited
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

img
{
    border: 0px;

}
.referenssi{
    float: left;
    position: relative;
    width: 300px;
    height: 420px !important;
}
