@import "odeco_reset.css";
@import "odeco_headings.css";


body { 
  font-size: 75%;
  color: #222; 
  background: #fff;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}



/* TYPOGRAPHY */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #454545; }

h1 { font-size: 2em; margin-bottom: 0.4em; }
h2 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h3 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h4 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h5 { font-size: 1em; font-weight: bold; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #004B7C; text-decoration: underline;}
a           { color: #296B9C; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 		{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 0px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { font-weight: bold;}
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }



td{
	vertical-align: top;
}


/* LAYOUT */

.grid {
  width: 950px;
  margin: 0 auto;
}

/* Use this class on any .span / container to see the grid. */
.showgrid { background: url(/odeco_resources/grid.png);  }

/* Sets up basic grid floating and margin. */
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, 
div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, 
div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, 
div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, 
div.span-21, div.span-22, div.span-23, div.span-24 {
  float: left;
  margin-right: 10px; 
}

/* The last column in a row needs this class. */
.last, div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  { width: 30px; }
.span-2  { width: 70px; }
.span-3  { width: 110px; }
.span-4  { width: 150px; }
.span-5  { width: 190px; }
.span-6  { width: 230px; }
.span-7  { width: 270px; }
.span-8  { width: 310px; }
.span-9  { width: 350px; }
.span-10 { width: 390px; }
.span-11 { width: 430px; }
.span-12 { width: 470px; }
.span-13 { width: 510px; }
.span-14 { width: 550px; }
.span-15 { width: 590px; }
.span-16 { width: 630px; }
.span-17 { width: 670px; }
.span-18 { width: 710px; }
.span-19 { width: 750px; }
.span-20 { width: 790px; }
.span-21 { width: 830px; }
.span-22 { width: 870px; }
.span-23 { width: 910px; }
.span-24 { width: 950px; margin: 0; }

/* Border on right hand side of a column. */
div.border {
  padding-right: 4px;
  margin-right: 5px;
  border-right: 1px solid #eee;
}
/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 24px;
  margin-right: 25px;
  border-right: 1px solid #eee;
}
/* In case you need to add a gutter above/below an element */
.prepend-top { 
	margin-top:1.5em; 
}
.prepend-top-large { 
	margin-top:4.5em; 
}

.append-bottom { 
	margin-bottom:1.5em; 
}

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}
/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after, .grid:after {
    content: "\0020"; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden; 
    overflow:hidden; 
}
.clearfix, .grid {display: block;}
/* Regular clearing
   apply to column that should drop below previous ones. */
.clear { clear:both; }





/* CUSTOM */

#container-default {
	background: url(/odeco_resources/container-bg-default.jpg) repeat-x;	
}
#container-frontpage {
	background: url(/odeco_resources/container-bg-frontpage.jpg) repeat-x;	
}

#wrapper {
	margin:0px 0 0;
	min-height:600px;
	position:relative;
	background-attachment:scroll;
	background-color:transparent;
	background-position:center 0px;
	background-repeat:no-repeat;
}

#container-default #wrapper {
	background-image:url(/odeco_resources/header-default.jpg);
}
#container-frontpage #wrapper {
	background-image:url(/odeco_resources/header-frontpage.jpg);
}

#container-default #header {
	height:160px;
}
#container-frontpage #header {
	height:285px;		
}
#spotlight{
	margin-left: 300px;
	height: 263px;
}
#footer{
	margin:0px 0 20px 0;
	position:relative;
	background-color: #eeeeee;
	background-attachment:scroll;
	background-position:center 0px;
	background-repeat:no-repeat;
	background-image:url(/odeco_resources/footer.jpg);
	padding: 10px 0 10px 0;
	color: #555555;
	font-size: .9em;
}

#footer-frontpage{
	margin:30px 0 20px 0;
	position:relative;
	padding: 10px 0 10px 0;
	color: #555555;
	font-size: .9em;
}



div.container {
	width: 950px;
	margin: 0 auto;
}


/* Main navi */
#logo {
	width: 200px;
	float: left;
}
#navi {
	height:94px;
	width: 750px;
	margin-left: 200px;
	text-align: right;
}	 
#navi ul {
	padding-top: 40px;
}
#navi li {
	display:inline;
	padding-bottom: 20px;
	margin-right: 20px;
}
#navi li.selected,
#navi li.valikko_valittu{
	background-image: url(/odeco_resources/navi-selected.jpg);
	background-position:center 15px;
	background-repeat:no-repeat;
}

/* Sub navi */
#subnavi {
}
#subnavi ul {
	margin: 0;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}
#subnavi li {
	line-height: 2.0;
}
#subnavi li.selected,
#subnavi li.valikko_valittu{
	background-image: url(/odeco_resources/navi-selected.jpg);
	background-position:left 21px;
	background-repeat:no-repeat;
}


/* Navi fonts */
#navi li a, #subnavi li a{
	text-decoration: none;
	color: #454545;
	font-family:'Trebuchet MS',Sans-Serif;
	font-weight:bold;
	font-size: 1.3em;	
}

/* 3rd level navi */
ul.linklist{
	margin: 0;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}

/* Breadcrumb */
#breadcrumb{
	font-size: 90%;
	color: #666;
	margin-bottom: 5px;
}
#breadcrumb a{
	color: #666;
}




/* Contacts table */

table.contacts{
	border-collapse: separate;
	border-spacing: 0px 15px;
	width: 800px;
}
td.contacts{
	width: 400px;
	vertical-align: top;

}

/* Books table */

table.publications{
	border-collapse: separate;
	border-spacing: 0px 10px;
	width: 550px;
}
td.publications_img{
	vertical-align: top;
	padding-left: 10px;
}

td.publications{
	width: 400px;
	text-align: left;
	vertical-align: top;
	padding-left: 10px;
}

/* Footer table */
table.footer td{
		width: 120px;
		vertical-align: top;
		text-align: left;
		white-space: pre;
}


/* Forms */

form{
	padding: 20px 10px 10px 10px;
	margin-bottom: 20px;
	background: #efefef;
}

#yhteydenotto div.radioblock{
	width: 180px;
	float: left;
}

#yhteydenotto div.clear{
	clear: both;
	height: 10px;
}

#yhteydenotto textarea,
div.lomake_kysymys textarea {
	width: 300px;
}


label{
	width: 120px;
	float: left;
	margin-right: 10px;
}
label.book{
	width: 170px;
	float: left;
	margin-right: 10px;
}
.errorlabel{
	margin-left: 130px;
}


.submit input {
	margin-left: 130px;
}

.wideinput {
	width: 250px;
}

textarea {
	width: 250px;
	height: 100px;
}






div.notify {
	border: 2px solid #666;
	padding: 10px;
}

div.error {
	border: 2px solid #a00;
	padding: 10px;
	color: #a00;
}

/*lisäykset*/
span.lomake_valiotsikko { font-weight: bold; }
div.lomake_kysymys { margin: 0 0 1.5em; }
