/* ---------------------------------- */

/*
 * CA Partners Oy
 * 2012
 *
 * style.css
 *
 * 
 */

/* ---------------------------------- */

/* Reset */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

img { border: 0; }
    
ol, ul, dl { list-style: none; }

/* ---------------------------------- */

/* HTML5 */

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {  
	display:block;
}

/* ---------------------------------- */

/* Global */

body {
	background: #452619;
	color: #E8D7B6;
	font: 14px Arial, sans-serif;
}

p {
	line-height: 22px;
	margin-bottom: 20px;
}

p.highlight {
	font-size: 16px;
	font-style: italic;
}

a {
	text-decoration: none;
}

a:hover {
}

h1 {
	font-size: 30px;
	font-weight: 400;
	margin-bottom: 10px;
	line-height: 30px;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
	text-transform: uppercase;
}

section#content ul {
	margin-bottom: 20px;
}

/* ---------------------------------- */

/* Content */

div#wrap {
	margin: 0 auto;
	padding: 70px 0 0 0;
	text-shadow: 1px 1px 1px rgba(48, 21, 00, 0.75);
	width: 716px;
}

div#content-left {
	float: left;
	padding: 0 20px 0 73px;
	width: 300px;
}

div#content-right {
	float: left;
	width: 300px;
}

div#wrap ul {
	line-height: 22px;
	list-style: disc;
	padding: 0 0 0 35px;
}

a.btn {
	background: #2E150B;
	color: #BE7035;
	font-size: 16px;
	font-weight: 600;
	display: block;
	margin-bottom: 14px;
	padding: 4px 12px;
	width: 161px;
}

a.btn:hover {
	background: #663300;
}

div.refe-left {
	clear: left;
	float: left;
	margin-bottom: 20px;
	width: 150px;
}

div.refe-right {
	float: left;
	margin-bottom: 20px;
	width: 150px;
}

/* ---------------------------------- */

/* Contact page */

div#wrap-contact {
	margin: 0 auto;
	padding: 35px 0 0 0;
	text-shadow: 1px 1px 1px rgba(48, 21, 00, 0.75);
	width: 940px;
}

h1.contact {
	font-size: 22px;
	margin-bottom: 0;
	text-align: center;
}

p.contact {
	font-size: 16px;
	margin-bottom: 50px;
	text-align: center;
}

div#content-contact-1 {
	float: left;
	padding: 0 20px 0 0;
	width: 300px;
}

div#content-contact-2 {
	float: left;
	padding: 0 20px 0 0;
	width: 300px;
}

div#content-contact-3 {
	float: left;
	width: 300px;
}

div.cont-img {
	clear: left;
	float: left;
	margin-bottom: 15px;
	width: 120px;
}

div.cont-txt {
	float: left;
	width: 180px;
}

div.cont-txt h1 {
	font-size: 18px;
	margin-bottom: 0px;
}

div.cont-txt p {
	margin: 0;
}

/* ---------------------------------- */

/* Header */

div#header-wrap {
	background: #fff;
}

header {
	height: 106px;
	margin: 0 auto;
	position: relative;
	width: 716px;
}

header h1 {
	margin: 0;
	padding: 0;
}

header h1 a {
	background: url(img/ui/logo.jpg) no-repeat;
	display: block;
	height: 106px;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	top: 0;
	width: 125px;
}

/* ---------------------------------- */

/* Main menu */

ul#main-navi {
	left: 142px;
	position: absolute;
	top: 0;
}

ul#main-navi li {
	float: left;
	margin-right: 17px;
}

ul#main-navi li#mn-yhte {
	margin-right: 0;
}

ul#main-navi li a {
	display: block;
	height: 80px;
	overflow: hidden;
	text-indent: -9999px;
}

li#mn-kuka a { background: url(img/ui/bg_mainnavi.jpg) no-repeat; width: 102px; }
li#mn-mita a { background: url(img/ui/bg_mainnavi.jpg) -118px 0 no-repeat; width: 96px; }
li#mn-mite a { background: url(img/ui/bg_mainnavi.jpg) -231px 0 no-repeat; width: 105px; }
li#mn-kene a { background: url(img/ui/bg_mainnavi.jpg) -352px 0 no-repeat; width: 115px; }
li#mn-yhte a { background: url(img/ui/bg_mainnavi.jpg) -485px 0 no-repeat; width: 87px; }

li#mn-kuka a:hover, li#mn-kuka a.selected { background-position: 0 -80px; }
li#mn-mita a:hover, li#mn-mita a.selected { background-position: -118px -80px; }
li#mn-mite a:hover, li#mn-mite a.selected { background-position: -231px -80px; }
li#mn-kene a:hover, li#mn-kene a.selected { background-position: -352px -80px; }
li#mn-yhte a:hover, li#mn-yhte a.selected { background-position: -485px -80px; }

/* ---------------------------------- */

/* Home */

section#content-home {
	background: url(img/content/something.png) no-repeat;
	height: 250px;
	text-indent: -9999px;
	width: 500px;
}

/* ---------------------------------- */

/* Page navi */

a.next {
	background: url(img/ui/next.png) no-repeat;
	display: block;
	height: 49px;
	overflow: hidden;
	position: absolute;
	right: 16px;
	text-indent: -9999px;
	width: 29px;
}

a.prev {
	background: url(img/ui/prev.png) no-repeat;
	display: block;
	height: 49px;
	left: 16px;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	width: 29px;
}

a.prev:hover, a.next:hover {
	background-position: 0 -51px;
}

/* ---------------------------------- */

/* Popup */

div.popup {
	background: #fff;
	-moz-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.4);
	color: #4F2C1D;
	display: none;
	font-size: 16px;
	left: 0;
	padding: 30px 30px 10px 30px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 580px;
}

div.popup h1 {
	margin-bottom: 20px;
}

div.popup p {
	line-height: 26px;
}

a.close {
	background: url(img/ui/close.jpg);
	display: block;
	height: 35px;
	overflow: hidden;
	position: absolute;
	right: 0;
	text-indent: -9999px;
	top: 0;
	width: 35px;
}

/* ---------------------------------- */

/* Footer */

footer {

}

/* ---------------------------------- */

/* Form */

form {
	
}

label {
	
}

input, select, textarea {

}

input, select {
	
}

textarea {
}

div.popup input[type=submit] {

}

/* ---------------------------------- */

/* Misc */

div.clear {
	clear: left;
	height: 1px;
}

div.message {
	background: #E5FAFF;
	border: 1px #D6D6D6 solid;
	display: none;
	font-style: italic;
	margin: 10px 0 0 0;
	padding: 10px 20px;
}

div.important {
	display: none;
}

div#popup-bg {
	background: #000;
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 19;
}

a img {
	border: 0;
}