/*
 * Base style sheet for Turun yliopisto. 
 *
 * 2004-12-16 Tero Ykspetäjä, Satama Interactive
 * Based on UTU base: 2004-05 Tero Ykspetäjä & Matti Laakso, Kuulalaakeri Oy.
 * Modified: 4.4.2005 by Ilmari Vakkala, UTU
 * COLORS:
 * navimenu background: #E6EDF5 (orig: e7eff2)
 * navimenu border:     #006e58 (old: #0f5e7e)
 * navimenu hover:      #d6dee2;
 * Gray text (disabled etc.): #999999;
 * 
 * Category dependent sections are (prox.) NEED TO BE MODIFIED:
 *	* main layouts categories decoration (#main-menu-opiskelu)
 *	* individual category layout modifications (body#opiskelu)
 *	CHECK ALSO article.css 
 */

/* Header and searcharea styles imported for supporting browsers
   (including IE 5.0+, Opera 6 but not Netscape 4) */

@IMPORT "base_newbrowser.css";

/* Bring in some special rules for IE5.0/Win to work around
   more CSS bugs than should be legal. */

@media tty {
	i{content:"\";/*" "*/}}; @import 'IE5layout.css'; {;}/*";}
}/*  */

/* Normal layout rules for more or less all browsers here. */

body {
	background-color: #ffffff;
	background-image: url(img/background.png);
	margin: 0px;
	font-family: Verdana, "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
	font-size: 80%;
}

/* Top area of the page, includes headers and breadcrumb navigation. */

#top {
	position: relative;
	top: 0px;
	left: 0px;
	background-image: url(img/bg_top.png);
	background-repeat: x-repeat;
	height: 186px;
	margin: 0px;
}

/* Header size&margins - from base_newbrowser.css */

/*
 *	Some attributes still instead set on base_newbrowser.css.
*/

#header {
/*
	margin: 0px;
	width: 80%;
*/
	height: 164px;
	padding: 0px;
	/*
	margin-left: 10%;
	margin-right: 10%;
	*/
	margin-left: 5%;
	margin-right: 5%;

	background-image: url(img/hdrimg_main.jpg);
}

/* Breadcrumb navigation */

#navipath {
	/*
	position: absolute;
	top: 165px;
	left: 218px;
	*/
	position: relative;
	top: 0px;
	left: 0px;
	padding-left: 218px;
	line-height: 0.9em;

	/*
	margin-left: 10%;
	margin-right: 10%;
	*/
	margin-left: 5%;
	margin-right: 5%;

	margin-top: 4px;
	font-size: 10px;
}

#navipath p {
	margin: 0;
	padding: 0;
}

#navipath a {
	color: #000000;
	text-decoration: none;
}

#navipath a:hover {
	color: #3B639F;
	text-decoration: underline;
}

/* Bottom container, see also base_newbrowser for some IE bug workaround settings. */

#bottom {
	/*
	margin-left: 10%;
	margin-right: 10%;
	*/
	margin-left: 5%;
	margin-right: 5%;
}

/* Navigation area */

#navi-area {
	float: left;
	width: 212px !important;
	width: 206px;
	margin-left: 0%;
	margin-right: 0%;
	padding: 0;
	border: 0px none;
/* debug
	display: none;
*/
}

#navi-ad-area #other {
	/*border: solid 1px #3B639F;
	background-color: #ECF3FF;*/
	padding: 3px;
	margin-top: 10px;
	width: 202px;
}

#navi-ad-area #other a.other:link {
	color: #000000;
	text-decoration: none;
}

#navi-ad-area #other a.other:visited {
	color:#000000;
	text-decoration: none;
}

#navi-ad-area #other a.other:hover {
	text-decoration: underline;
}

/* Navigation menu */

ul.menu {
	margin: 0;
	padding: 0;
}

ul.menu li {
	margin-bottom: 4px;
	padding: 0px;
	/*padding: 0.2em 0.5em;
	*/
	border: 1px #6B8803 solid;
	/*background-color: lightyellow*/
	background: #EDF3ED;
	display: list-item;
	list-style-type: none;
}

ul.menu a {
	display: block;
	width: 100%;
	height: auto;
	padding: 0.2em 0.5em !important;
	padding: 0.2em 0em 0.1em 0.5em;
	text-decoration: none;
	color: black;
	line-height: 1em;
	font-weight: bolder;
	font-size: 90%;
}

ul.menu a:hover {
	background-color: #6B8803;
	text-decoration: none;
}

html>body ul.menu a {
	width: auto;
}

/* Example, do the same on every main category */

#main-menu-lainauspalvelut {
	background: #E6EDF5 url(img/menu_deco_lainauspalvelut.gif) no-repeat right bottom;
}
#main-menu-lainauspalvelut a:hover {
	background: #d6dee2 url(img/menu_deco_lainauspalvelut.gif) no-repeat right bottom;
	text-decoration: none;
}

#main-menu-aineistot {
	background: #E6EDF5 url(img/menu_deco_aineistot.gif) no-repeat right bottom;
}
#main-menu-aineistot a:hover {
	background: #d6dee2 url(img/menu_deco_aineistot.gif) no-repeat right bottom;
	text-decoration: none;
}

#main-menu-kirjastoyksikot {
	background: #E6EDF5 url(img/menu_deco_kirjastoyksikot.gif) no-repeat right bottom;
}
#main-menu-kirjastoyksikot a:hover {
	background: #d6dee2 url(img/menu_deco_kirjastoyksikot.gif) no-repeat right bottom;
	text-decoration: none;
}

#main-menu-tietopalvelut {
	background: #E6EDF5 url(img/menu_deco_tietopalvelut.gif) no-repeat right bottom;
}
#main-menu-tietopalvelut a:hover {
	background: #d6dee2 url(img/menu_deco_tietopalvelut.gif) no-repeat right bottom;
	text-decoration: none;
}

#main-menu-tietoakirjastosta {
	background: #E6EDF5 url(img/menu_deco_tietoakirjastosta.gif) no-repeat right bottom;
}
#main-menu-tietoakirjastosta a:hover {
	background: #d6dee2 url(img/menu_deco_tietoakirjastosta.gif) no-repeat right bottom;
	text-decoration: none;
}

#main-menu-main {
	background: #E6EDF5 url(img/menu_deco_main.gif) no-repeat right bottom;
}
#main-menu-main a:hover {
	background: #d6dee2 url(img/menu_deco_main.gif) no-repeat right bottom;
	text-decoration: none;
}

/* Example END */

/* Navigation sublevels */

ul.submenu {
	margin: 0px;
	margin-bottom: 4px;
	padding: 0px;
	border: none;
}

ul.submenu li {
	padding: 0px;
	display: list-item;
	margin-bottom: 0px;
	border: none;
	margin-left: 24px;
	list-style: disc url(img/doclistarrow_black.gif);/*20.7.2005*/
}

ul.submenu a {
	display: block;
	width: 100% !important;
	width: 180px;
	height: auto;
	padding: 0.2em 0px 0.2em 2px !important;
	padding: 0.2em 0px 0.2em 2px;
	text-decoration: none;
	color: black;
	line-height: 1em;
	font-size: 90%;
	font-weight: bolder;
}

ul.submenu a:hover {
	color: #0f5e7e;
	text-decoration: none;
	background: none;
}

html>body ul.submenu a {
	width: auto;
}

/* Navi-area ad space */

#navi-ad-area {
	margin: 20px 0px 4px 0px;
	text-align: center;
}

/* Content */

#content-area {
	margin-left: 215px;
	/*
	margin-left: 320px;
	*/
	border: 1px solid #6B8803;
	background-color: white;
	padding: 0.2em 0.5em;
}

/* Full content area, for pages without the navi-area. */

#content-area.full-page {
	margin-left: 0px;
}

/* End-of-Page color block, placed at the end of each content-area DIV */

#bottom-color-block {
	margin-left: 215px;
	height: 5px;
	padding: 0px;
	line-height: 0px;
	background-color:
}

#bottom-color-block.full-page {
	margin-left: 0px;
}

/* Submenu inside content-area */

#sidebar {
	width: 30%;
	float: right;
	margin: 0%;
	margin-left: 1%;
	padding: 1em 0.5em 1em 1em;
	background-image: url(img/background.png);
	border: 1px solid #0F5E7E;
}

#sidebar p {
	margin: 0px;
	padding: 0px;
}

#sidebar ul {
	margin: 0px;
	padding: 0px;
	line-height: 1.5em;
}

/* NOTE: This element is NavPath-sensitive */

#sidebar ul li {
	margin: 0;
	padding: 0px;
	padding-left: 12px;
	display: list-item;
	list-style-type: none;
	list-style-position: outside;
	background-image: url(img/arrowbullet_main.gif);
	background-repeat: no-repeat;
	background-position: 0px 0.5em;
}

#sidebar a {
	color: #000000;
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

/* Document/download links */

#document-attachments h2 {
	font-size: 1em;
}

#document-attachments ul {
	margin: 0px;
	margin-left: 25px;
	padding: 0px;
	line-height: 1.5em;
}

/* NOTE: This element is NavPath-sensitive */

#document-attachments ul li {
	margin: 0;
	padding: 0px;
	padding-left: 16px;
	display: list-item;
	list-style-type: none;
	list-style-position: outside;
	background-image: url(img/document_main.gif);
	background-repeat: no-repeat;
	background-position: 0px 0.3em;
}

/* NOTE: This element is NavPath-sensitive */

#document-attachments a {
	color: #000000;
	text-decoration: underline;
}

/* NOTE: This element is NavPath-sensitive */

#document-attachments a:hover {
	text-decoration: underline;
}

/* General, global elenent properties. */

form {
	margin: 0px;
	padding: 0px;
}

img {
	border:0;
	margin:0;
	padding:0;
}

h1 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 1.6em;
}

p {
	margin-top: 0;
	margin-bottom: 1em;
}

a:hover {
	text-decoration: underline;
}

.disabled {
	color: #999999;
}

/* 
* NavPath-sensitives (Subpage color themes)
*
* These override previous statements
* Subpage style declared in <body id="style">
*
*/

/* Example, do the same on every main category */

/* Main */

body div#header {
	background-image: url(img/hdrimg_main.jpg);
}
body div#search {
	background-image: url(img/hdr_searchbg_main.gif);
}
body .submenu a:hover,
body #sidebar a:hover,
body #navipath a:hover,
body #document-attachments a:hover {
	color: #0f5e7e;
	text-decoration: underline;
}
body div#bottom-color-block {
	background-color: #6B8803;
}
body div#document-attachments ul li {
	background-image: url(img/document_main.gif);
}

/* Example END */

/* editbuttons - same as submenu style */

#edit-buttons {
	margin: 0px;
	margin-bottom: 4px;
	padding: 0px;
	border: none;
}

#edit-buttons a {
	display: block;
	width: 100% !important;
	padding: 0.2em 0px 0.2em 2px !important;
	padding: 0.2em 0px 0.2em 2px;
	text-decoration: none;
	line-height: 1em;
	font-size: 90%;
	font-weight: bolder;
	color: #000000;
}

#edit-buttons a:hover {
	color: #0f5e7e;
	text-decoration: underline;
	background: none;
}
