/*
 * Base style sheet for Turun yliopisto. 
 *
 * 2004-05 Tero Ykspetäjä & Matti Laakso, Kuulalaakeri Oy.
 *
 * COLORS:
 * navimenu background: #E6EDF5 (orig: e7eff2)
 * navimenu border:     #0f5e7e (mod: 5B738F)
 * navimenu hover:      #d6dee2;
 * Gray text (disabled etc.): #999999;
 */

/* Header and searcharea styles imported for supporting browsers
   (including IE 5.0+, Opera 6 but not Netscape 4) */

@IMPORT "base_newbrowser-ilme.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-ilme.css'; {;}/*";}
}/*  */

/* Normal layout rules for more or less all browsers here. */

body {
	background-color: #ffffff;
	margin: 0px;
	font-family: Arial, Verdana, "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
	font-size: 80%;
}

/* Top area of the page, includes headers and breadcrumb navigation. */

#colorfill {						/* na */

	position: absolute;				/* na */
	top: 21px;					/* na */
	width: 100px;					/* na */
	height: 114px;				/* na */
	/* Faculty color */
	background: #ffffff;					/* na */

}

#top {
	position: relative;
	top: 0px;
	left: 0px;
	background-color: #ffffff;			/* na */
	height: 183px;					/* na */
	margin: 0px;
}

/* Header size&margins - from base_newbrowser.css */

/*
 *	Some attributes still instead set on base_newbrowser.css.
*/

#header {
/*
	margin: 0px;
	width: 80%;
*/
	position: relative;				/* na */
	height: 170px;					/* na */

	margin-left: 5%;
	margin-right: 5%;

	background-image: url(img/hdrimg_main-ilme.jpg);
	background-repeat: no-repeat;			/* na */
	/*background-position: 0px 7px;*/			/* na */
	background-position: 0px 7px;			/* na */
}

#ty-logo {						/* na */
	margin-left: 5%;				/* na 4.85% */
	top: 21px;					/* na */
}

#search {						/* na */
	right: 0px;					/* na */
	bottom: 28px;					/* na */
}

#search ul {						/* na */
	list-style-type: none;			/* na */
	font-size: 11px;				/* na */
	display: inline;				/* na */
}

#search li {						/* na */
	padding-left: 25px;				/* na */
	float: left;					/* na */
	background: url(img/arrowbullet_main.gif) no-repeat 15px 5px; /* na */
}

#navi-ad-area ul {
	list-style-type: none;
	margin-left: 10px;
	padding-left: 0px;
}

#navi-ad-area li {
	margin-left: 0px;
	padding-left: 10px;
	font-size: 11px;
	background: url(img/arrowbullet_main.gif) no-repeat 0px 4px; /* na */
}

#contact-info {						/* na */
	width: 100%;					/* na */
	right: 0px;					/* na */
	bottom: 5px;					/* na */
	font-size: 11px;				/* na */
}

/* Breadcrumb navigation */

#navipath {

	position: relative;
	top: 0px;
	padding-left: 215px;				/* na */
	line-height: 0.9em;

	margin-left: 5%;
	margin-right: 5%;

	padding-top: 4px;
	font-size: 11px;
}

#navipath p {
	margin: 0;
	padding: 0;
}

#navipath a {
	color: #464646;
	text-decoration: none;
}

#navipath a:hover {
	color: #0f5e7e;
	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;
*/
}

/* Navigation menu */

ul.menu {
	margin: 0;
	padding: 0;
}

ul.menu li {
	margin-bottom: 4px;
	padding: 0px;
	/*padding: 0.2em 0.5em;
	*/
	border: 1px #464646 solid;
	background-color: #E4E4E4;
	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;
}

ul.menu a:hover {
	background-color: #CECECE;
	text-decoration: none;
}

html>body ul.menu a {
	width: auto;
}

/* Navigation sublevels */

ul.submenu {
	margin: 0px;
	margin-bottom: 4px;
	padding: 0px;
	border: none;
}

ul.submenu li {
	padding: 0px;
	display: list-item;
	list-style-type: none;
	margin-bottom: 0px;
	border: none;
}

ul.submenu a {
	display: block;
	width: 100% !important;
	width: 204px;
	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 */

/* Content */

#content-area {
	margin-left: 215px;
	/*
	margin-left: 320px;
	*/
	border: 1px solid #464646;
	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: #464646;
	/*clear:both;*/
}

#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 #464646;
}

#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">
*
*/

body .submenu a:hover,
body #sidebar a:hover,
body #navipath a:hover,
body #document-attachments a:hover {
	color: #464646;
	text-decoration: underline;
}
body div#bottom-color-block {
	background-color: #464646;
}
body div#document-attachments ul li {
	background-image: url(img/document_main.gif);
}

/* 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;
}
