/* General styles Avia Car Wash Oy www.acw.fi */
	* { text-align: left; }
    body {
        margin:0px auto;
        padding:0;
        border:0;			/* This removes the border around the viewport in old versions of IE */
        width:1000px;
        background:#ededed;
        min-width:800px;    /* Minimum width of layout - remove line if not required */
							/* The min-width property does not work in old versions of Internet Explorer */
		font-size:90%;
		font-family: arial, verdana, times;
		
		background-image: url(/assets/templates/acw/images/bg-header.jpg);
		background-repeat: repeat-x;
		
		text-align:center;
    }
img, a.img, a:hover img, a.img:hover {
border: 0px;
background: transparent; background-color: transparent;
background: none; background-color: none;
}
strong { color: #2c2c2c; }
	a {
    	color:#3346ff;
		text-decoration: none;
	}
	a:hover {
		color:#fff;
		background:#369;

		text-decoration:none;
	}
    h1, h2, h3 {
        margin: 10px 0 5px 0;
        padding:0;
		color: #2c2c2c;
    }
	h1 {
	color: #017da6;
margin: 8px 0px 20px 0px;
	}
	h2 { color: 017da6; }
    p {
        margin:.4em 0 .8em 0;
        padding:0;
    }
	/* Header styles */
    #header {
        clear:both;
        float:left;
        width:100%;
		display: block;
		height: 270px; /*Wanha 227 */
    }
	#header p,
	#header h1,
	#header h2 {
	    padding:.4em 15px 0 15px;
        margin:0;
	}

	/* 'widths' sub menu */
	#layoutdims {
		clear:both;
		background:#eee;
		border-top:4px solid #000;
		margin:0;
		padding:6px 15px !important;
		text-align:right;
	}
	/* column container */
	.colmask {
		position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	    clear:both;
	    float:left;
        width:100%;			/* width of whole page */
		overflow:hidden;	/* This chops off any overhanging divs */
	}
	/* 2 column right menu settings */
	.rightmenu {
	    /*background:#017da6; */
		background-image: url(/assets/templates/acw/images/bg-site.jpg);
	}
	.rightmenu .colleft {
        float:left;
        width:200%;
        margin-left:-200px;
        position:relative;
        right:100%;
        background:#fff;
    }
    .rightmenu .col1wrap {
	    float:left;
	    width:50%;
	    position:relative;
	    left:50%;
	    padding-bottom:1em;
	}
.col1wrap { line-height: 1.5em; letter-spacing: 0.02em; }
	
.col1wrap ul { 
list-style-image:url(/assets/templates/acw/images/avia-pisara.gif);
}

#oikea-reuna-uutiset { 
border: 7px solid #fff;
background: #eee;
width: 170px;
margin-left:8px;
}
#oikea-reuna-uutiset ul { list-style-image:url(/assets/templates/acw/images/avia-pisara.gif); padding-left:30px; }
#oikea-reuna-uutiset ul li { padding-bottom:10px; }


.col1wrap ul li { padding-bottom: 5px; }
	
	.rightmenu .col1 {
        margin:0 15px 0 215px;
        overflow:hidden;
	}
    .rightmenu .col2 {
        float:right;
        width:170px;
        position:relative;
        left: 170px;
    }
	/* Footer styles */
	#footer {
        clear:both;
        float:left;
        width:100%;
		border-top:3px solid #017da6;
    }
    #footer p {
        padding:8px 0 2px 0;
        margin:0;
		text-transform: uppercase;
		font-size: 11px;
    }
	#footer a:hover {
	background:#369;
	}
	
#logo {
position: relative;
display: block;
top: 50px;
left: 20px;
width: 120px;
height: 150px;
}
#navigointi {
position:absolute;
top: 225px;
width: 1000px;
height: 43px;
letter-spacing: 0.05em;
background-image: url(/assets/templates/acw/images/bg-navigointi-right.jpg);
background-repeat: no-repeat;
background-position: top right;
margin: 0px; padding: 0px;
}

	#navigointi ul {
	    clear:left;
	    float:left;
	    width:100%;
	    list-style:none;
		z-index:10;
		margin-top: 16px; padding: 0px;
	}
	#navigointi ul li {
	    display:inline;
	    list-style:none;
	    padding:0;
	}
	#navigointi ul li a {
	    display:block;
	    float:left;
	    margin:0 0 0 1px;
	    padding:0px 15px;
	    text-align:left;
	    color:#f7f7f7;
	    text-decoration:none;
		text-transform: uppercase;
	    position:relative;
	    left:15px;
		font-size: 11px;
		font-family: verdana, arial, times;
		font-weight: bold;
		letter-spacing: 0.05em;
	}
	#navigointi ul li a:hover {
		text-decoration: underline;
		background: none;
	}
	#navigointi ul li a.active,
	#navigointi ul li a.active:hover {
	    color:#fff;
	    font-weight:bold;
		background: none;
	}
	#navigointi ul li a span {
	    display:block;
	}

#textbox {
	width: 100%;
	margin: 0 auto;
padding-top:5px;
	border-bottom: 1px solid #cccccc;
font-size: 10px;
text-transform: uppercase;
}
#textbox a:hover { color: blue; }
.alignleft { float: left; }
.alignright { float: right; }

#oikea-reuna-txt {
padding: 10px;
color: #efefef;
}
.topnavi {
color: #efefef;
font-size: 11px;
text-align: right;
}
.topnavi a { color: #efefef; }
.topnavi a:hover { color: blue; }

#header-oikea {
display: block; float: right; width: 500px; height: 227px; 
background-image: url(/assets/templates/acw/images/bentley-avia.jpg); 
background-repeat: no-repeat;
background-position: top right;
}

#mainframe {
width:1000px; margin:0px auto;
}

.tablerivi { background-color: #d3e3f4; }
