/***  laatikoiden tyylit ***/

/* punainen mainos  */
.bl {
	background: url(../assets/bl.gif) 0 100% no-repeat #EF3E42;
	margin-left: 10px;
	margin-right: 0px;
	float:left;
	font-size: 14px;
	color:#FFFFFF;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 0px;
	width: 200px;
}
.br {background: url(../assets/br.gif) 100% 100% no-repeat}
.tl {background: url(../assets/tl.gif) 0 0 no-repeat}
.tr {background: url(../assets/tr.gif) 100% 0 no-repeat; padding:15px; }

.clear {
	clear: both;
	font-size: 1px;
	margin: 0px;
	padding: 0px;
	height: 5px;
}
#tausta {
	margin: 0;
	padding: 0;
}


/**  laatikko jossa harmaa otsikko  */

/* set the image to use and establish the lower-right position */ 
.cssbox_head, .cssbox_head h2 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	background-color: transparent;
	background-image: url(../assets/boxyla.png);
	background-repeat: no-repeat;
	background-position: right bottom;
} 
.cssbox, .cssbox_body {
	background: transparent url(../assets/valk.png) no-repeat bottom right;
	
}
.cssbox { /* intended total box width - padding-right(next) */
	width: 200px!important; /* IE Win = width - padding */
	width: 190px; /* the gap on the right edge of the image (not content padding) */
	padding-right: 5px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	margin-top: 5px;
	
}

/* set the top-right image */ 
.cssbox_head {
	background-position: top right; /* pull the right image over on top of border */
	margin-right: -5px; /* right-image-gap + right-inside padding */
	padding-right:  10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
} 
/* set the top-left image */ 
.cssbox_head h2 {
	background-position:top left;
	margin: 0; /* reset main site styles*/
	border: 0;
	height: auto !important;
	height: 1%;
	color: #FF0000;
	font-size: 13px;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
} /* IE Holly Hack */ 
/* set the lower-left corner image */ 
.cssbox_body {
	background-position: bottom left;
	margin-right: 5px;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 5px;
	
} /* mirror .cssbox_head right/left */ 
.cssbox_body p {
	font-size: 85%;
	padding: 2px;
	margin: 1px;
	line-height: 1.2em;
	color: #333333;
}

.cssbox form {
	margin-top: 5px;
	margin-bottom: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
}
.cssbox select {
	font-size: 11px;
}

/*list*/
.cssbox ul {
	margin-top: 0.3em;
	margin-right: 5px;
	margin-left: 1em;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0;
	
}
.cssbox ul li {
	color: #333333;
	margin-top: 0px;
	margin-right: 5px;
	margin-left: 0.3em;
	list-style-position: outside;
	list-style-image: url(../assets/bullet.gif);
	list-style-type: none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0em;
	padding-left: 0px;
}

.cssbox a {
	text-decoration: underline;
	color: #005FA9;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	
}

.cssbox a:hover {
	color: #005FA9;
	text-decoration: underline;
	background-color: #DDEEFF;
}
