/*
 * 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.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-image: url(img/background.png);*/
	background-color: #F2FCE5;
	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;*/
	background-color: #FFFFFF;
	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.gif);
}

/* 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: 11px;
}

#navipath p {
	margin: 0;
	padding: 0;
}

#navipath a {
	color: #000000;
	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: 1px 1px 2px 1px;
	/*padding: 0.2em 0.5em;
	*/
	border: 1px #9DBF6E solid;
	/*background-color: lightyellow*/
	display: list-item;
	list-style-type: none;
	background: #FFFFFF url(img/menu_deco_main.gif) no-repeat right bottom;

}

ul.menu a {
	display: block;
	width: 100%;
	height: auto;
	padding: 0.2em 0.5em !important;
	padding: 0.2em 0em 0.2em 0.5em;
	text-decoration: none;
	color: black;
	line-height: 1em;
	font-weight: bolder;
	font-size: 11px;
}

ul.menu a:hover {
	background: #F8F8F8 url(img/menu_deco_main.gif) no-repeat right bottom;
	text-decoration: none;
}


/*ul.menu a:hover {
	background: #d6dee2 url(img/menu_deco_faktat.gif) no-repeat right bottom;
	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;
	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 #B8DA89;
	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: #B8DA89;
	/*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 #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">
*
*/

/* Opiskelu */

body#opiskelu div#header {
	background-image: url(img/hdrimg_opiskelu.jpg);
}

body#opiskelu div#search {
	background-image: url(img/hdr_searchbg_opiskelu.gif);
}

body#opiskelu .submenu a:hover,
body#opiskelu #sidebar a:hover,
body#opiskelu #navipath a:hover,
body#opiskelu #document-attachments a:hover {
	color: #2598cf;
	text-decoration: underline;
}

body#opiskelu div#bottom-color-block {
	background-color: #2598cf;
}

body#opiskelu div#document-attachments ul li {
	background-image: url(img/document_opiskelu.gif);
}

/* Tutkimus */

body#tutkimus div#header {
	background-image: url(img/hdrimg_tutkimus.jpg);
}

body#tutkimus div#search {
	background-image: url(img/hdr_searchbg_tutkimus.gif);
}

body#tutkimus .submenu a:hover,
body#tutkimus #sidebar a:hover,
body#tutkimus #navipath a:hover,
body#tutkimus #document-attachments a:hover {
	color: #447e31;
	text-decoration: underline;
}

body#tutkimus div#bottom-color-block {
	background-color: #447e31;
}

body#tutkimus div#document-attachments ul li {
	background-image: url(img/document_tutkimus.gif);
}

/* Alumni */

body#alumni div#header {
	background-image: url(img/hdrimg_alumni.jpg);
}

body#alumni div#search {
	background-image: url(img/hdr_searchbg_alumni.gif);
}

body#alumni .submenu a:hover,
body#alumni #sidebar a:hover,
body#alumni #navipath a:hover,
body#alumni #document-attachments a:hover {
	color: #f3bf1e;
	text-decoration: underline;
}

body#alumni div#bottom-color-block {
	background-color: #f3bf1e;
}

body#alumni div#document-attachments ul li {
	background-image: url(img/document_alumni.gif);
}

/* Henkilokunta */

body#henkilokunta div#header {
	background-image: url(img/hdrimg_henkilokunta.jpg);
}

body#henkilokunta div#search {
	background-image: url(img/hdr_searchbg_henkilokunta.gif);
}

body#henkilokunta .submenu a:hover,
body#henkilokunta #sidebar a:hover,
body#henkilokunta #navipath a:hover,
body#henkilokunta #document-attachments a:hover {
	color: #a92425;
	text-decoration: underline;
}

body#henkilokunta div#bottom-color-block {
	background-color: #a92425;
}

body#henkilokunta div#document-attachments ul li {
	background-image: url(img/document_henkilokunta.gif);
}

/* Media  */

body#media div#header {
	background-image: url(img/hdrimg_media.jpg);
}

body#media div#search {
	background-image: url(img/hdr_searchbg_media.gif);
}

body#media .submenu a:hover,
body#media #sidebar a:hover,
body#media #navipath a:hover,
body#media #document-attachments a:hover {
	color: #e78427;
	text-decoration: underline;
}

body#media div#bottom-color-block {
	background-color: #e78427;
}

body#media div#document-attachments ul li {
	background-image: url(img/document_media.gif);
}

/* Faktat */

/* rerun of default styles
* (in case somebody ever wants to paint the frontpage black) */

body#faktat div#header {
	background-image: url(img/hdrimg_faktat.jpg);
}

body#faktat div#search {
	background-image: url(img/hdr_searchbg_faktat.gif);
}

body#faktat .submenu a:hover,
body#faktat #sidebar a:hover,
body#faktat #navipath a:hover,
body#faktat #document-attachments a:hover {
	color: #0f5e7e;
	text-decoration: underline;
}

body#faktat div#bottom-color-block {
	background-color: #0f5e7e;
}

body#faktat div#document-attachments ul li {
	background-image: url(img/document_faktat.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;
}
