/***************************************************************************************************
Title:				General stylesheet for www.riigikogu.ee/rito/
Author:				Remy Tiitre, <remy.tiitre(at)ddw.ee>
URL:					http://www.riigikogu.ee/rito/extensions/DDW_Layout/css/general.css
License:			Copyright 2008, Digital Doorway, All Rights Reserved.
							Feel free to read and learn from this, but don't steal.

Description:	This stylesheet will defines www.riigikogu.ee/rito/ site
							layout and other general styles.
***************************************************************************************************/

/* DDW default styles *****************************************************************************/
* { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address { margin: 1em 0; }
li, dd, blockquote { margin-left: 1em; }
blockquote { font-style: italic; }
q:before { content: open-quote; }
q:after { content: close-quote; }
img, fieldset { border: none; }
table { border-collapse: collapse; border-spacing: 0; }
form label { cursor: pointer; }
acronym, abbr { border-bottom: 1px dashed #000000; cursor: help; }
.Clear { clear: both; }

/* Layout styles -------------------------------------------------------------------------------- */
html {
	overflow: scroll;
}
#Page {
	margin: auto;
  position: relative;
	width: 960px;
}
#HeaderPrint {
	display: none;
}
#Header {
	height: 119px;
  position: relative;
}
#NavigationContent {
	background: url(/rito/extensions/DDW_Layout/images/background.png) no-repeat left top;
}
#Content {
	float: right;
  padding: 1.5em 15px 0 0;
	width: 68%;
}
#Navigation {
  float: left;
	width: 30%;
}
#Footer {
	clear: both;
}

/* Font styles ---------------------------------------------------------------------------------- */
html, body, form, fieldset { font-family: Verdana, Arial, Helvetica, sans-serif; }
body {
	font-size: 16px;
	line-height: 1.125em;
}
#Page { font-size: 0.9em; }
#Header { font-size: 0.75em; }
#Navigation { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; }
#Footer { font-size: 0.75em; }

/* Color styles ------------------------------------------------------------------------------------
  Text:					#000000 Black
  Background:		#eeefe8	Grey
  Headings:			#000000	Black
  Links:				#4589c9 Blue
  Active links:	#265785 Dark Blue 
*/
body {
	background: #eeefe8 url(/rito/extensions/DDW_Layout/images/header_background.jpg) no-repeat center top;
  color: #000000;
}
h1 {
	color: #000000;
	font-size: 1.5em;
  font-weight: bold;
}
h2 {
	color: #000000;
	font-size: 1.3em;
}
h3 {
	color: #000000;
	font-size: 1.1em;
}
a:link, a:visited {
  text-decoration: underline;
  color: #4589c9;
}
a:hover, a:active {
  text-decoration: none;
  color: #265785;
}
.highlight {
  background-color: #ffcc99;
}
/**************************************************************************************************/

/* Header start ***********************************************************************************/
#Header a img#Logo {
  margin-left: 70px;
	margin-top: 39px;
}
#Header a#Print {
  background: url(/rito/extensions/DDW_Layout/images/print.gif) no-repeat right 50%;
	color: #265785;
	float: right;
	font-size: 1em;
  margin-right: 14px;
  margin-top: 8px;
  padding-right: 18px;
	text-decoration: none;
}
#Header ul {
  list-style: none;
	margin: 0;
  padding-left: 16px;
  padding-top: 7px;
}
#Header ul li {
	display: inline;
	margin: 0;
}
#Header ul li a {
  border-right: 1px solid #000000;
	font-weight: bold;
	padding-left: 0.3em;
	padding-right: 0.9em;
  text-decoration: none;
  text-transform: uppercase;
}
#Header ul li:last-child a {
	border-right: none;
}
#Header ul li.selected a { color: #265785; }
/* Header end *************************************************************************************/

/* Navigation start *******************************************************************************/
#Navigation #Search {
	background-color: #fafbf9;
  margin: 1.4em;
  margin-top: 2em;
  margin-bottom: 0;
	padding: 1em;
	-moz-border-radius: 0.8em;
}
#Search #query {
	border: 1px solid #4589c9;
	height: 1.4em;
	padding: 0.3em;
  width: 70%;
}
#Search #submit {
	background-color: #4589c9;
	border: none;
	color: #ffffff;
  cursor: pointer;
	font-size: 1em;
	font-weight: bold;
	height: auto;
	margin: 0;
  margin-bottom: -0.1em;
  margin-left: 0.5em;
	padding: 0.4em 0.2em;
	text-align: center;
	text-transform: uppercase;
	width: 19%;
}
#Search a {
  font-size: 0.9em;
	font-weight: bold;
  text-decoration: none;
}

#Sections {
	background-color: #fafbf9;
	margin: 1.4em;
	margin-top: 0.8em;
	-moz-border-radius: 0.8em;
}
#Sections h2 {
	font-size: 1.3em;
	font-weight: normal;
	margin: 0;
	padding: 0.5em;
}
#Sections ul {
  list-style-image: url(/rito/extensions/DDW_Layout/images/arrow.png);
	margin: 0;
  margin-left: 0.9em;
}
#Sections ul li a {
  display: block;
  font-size: 0.9em;
	font-weight: normal;
	line-height: 140%;
	margin-left: -0.5em;
  padding: 0 0 0.3em 0.5em;
  text-decoration: none;
}
#Sections ul li.selected a {
  color: #000000;
}
#Sections ul li a {
	font-weight: bold;
}
#Sections ul li a.article {
	font-weight: normal;
}
#Sections ul ul {
  list-style-image: url(/rito/extensions/DDW_Layout/images/corner.png);
	margin-left: 0.2em;
	padding-bottom: 0;
}
#Sections ul+ul {
	padding-bottom: 2em;
}
#Sections ul li.selected ul li a {
  color: #4589c9;
}
#Sections ul li.selected ul li.selected a {
  color: #000000;
}
#Sections ul li.selected ul li.selected ul li a {
  color: #4589c9;
}
#Sections ul li.selected ul li.selected ul li.selected a {
  color: #000000;
}
#Ads {
	background-color: #fafbf9;
	margin: 1.4em;
	margin-top: 0.8em;
	-moz-border-radius: 0.8em;
}
/* Navigation end *********************************************************************************/

/* Footer start ***********************************************************************************/
#Footer {
  background: url(/rito/extensions/DDW_Layout/images/footer_top.png) no-repeat top left; /* TODO relative url */
	color: #9b9b9b;
	line-height: 1.3em;
  margin-bottom: 2em;
	padding-top: 7px;
}
#Footer #Copyright {
  background: url(/rito/extensions/DDW_Layout/images/footer_bottom.png) no-repeat bottom left; /* TODO relative url */
  padding-bottom: 7px;
  padding-left: 20px;
	text-align: right;
}
#Footer a:link, #Footer a:visited {
	color: #4e82b3;
  text-decoration: none;
}
#Footer a:hover, #Footer a:active { text-decoration: underline; }
#Footer address {
	float: left;
  font-style: normal;
	margin: 0;
	text-align: left;
	width: 450px;
}
#Footer ul {
	margin: 0;
  padding: 0.5em;
  float: left;
  list-style: none;
}
#Footer ul li {
	display: inline;
	margin: 0;
}
#Footer ul li a {
  border-right: 1px solid #9b9b9b;
	padding-right: 0.7em;
  text-decoration: none;
}
#Footer ul li:last-child a { border-right: none; }
/* Footer end *************************************************************************************/

/* Sitemap start **********************************************************************************/
#DDW_Sitemap { font-size: 0.8em; }
#DDW_Sitemap ul {
  list-style-image: url(/rito/extensions/DDW_Layout/images/arrow.png);
	margin: 0;
	margin-bottom: 3em;
  padding-left: 0.5em;
}
#DDW_Sitemap ul li a {
	text-decoration: none;
	font-weight: bold;
}
#DDW_Sitemap ul li a:hover { text-decoration: underline; }
#DDW_Sitemap ul li a.article { font-weight: normal; }
#DDW_Sitemap ul ul {
  list-style-image: url(/rito/extensions/DDW_Layout/images/corner.png);
	margin-bottom: 0;
}
/* Sitemap end ************************************************************************************/

/* Archive start **********************************************************************************/
#DDW_Archive { font-size: 0.8em; }
#DDW_Archive table {
	margin-bottom: 3em;
	width: 100%;
}
#DDW_Archive table tr td, #DDW_Archive table tr th { border-bottom: 1px solid #d7d5b8; }
#DDW_Archive table tr:last-child td { border-bottom: none; } /* BUG IE ei toeta seda omadust, lehele j��vad �leliigsed jooned */
#DDW_Archive table tr th {
	background: url(/rito/extensions/DDW_Layout/images/arrow.png) no-repeat left center;
	padding-left: 1.3em;
	text-align: left;
}
#DDW_Archive table tr td { padding: 0.3em; }
#DDW_Archive table tr td.author {
	font-style: italic;
	vertical-align: top;
	width: 25%
}
#DDW_Archive table tr td.title { width: 55% }
#DDW_Archive table tr td.title a { text-decoration: none; }
#DDW_Archive table tr td.title a:hover { text-decoration: underline; }
#DDW_Archive table tr td.issue { width: 20% }
/* Archive end ************************************************************************************/

/* Articles start *********************************************************************************/
#DDW_Articles { font-size: 0.8em; }
#DDW_Articles ul {
  list-style-image: url(/rito/extensions/DDW_Layout/images/arrow.png);
  margin: 1em 2em;
}
#DDW_Articles li { padding-bottom: 1em; }
#DDW_Articles .title {
	font-weight: bold;
	text-decoration: none;
}
#DDW_Articles .author {
	color: #666666;
	font-weight: bold;
}
#DDW_Articles .lead p {
	margin-bottom: 0.3em;
	margin-top: 0;
}
#DDW_Articles .position { font-weight: normal; }
/* Articles end ***********************************************************************************/

/* Article start **********************************************************************************/
#DDW_Article { font-size: 0.8em; }
#DDW_Article .lead {
	clear: both;
	font-weight: bold;
	padding: 0.8em 0;
}
#DDW_Article .author {
	margin-top: 7em;
	font-style: italic;
}
#DDW_Article .author img {
	float: left;
	margin-top: -4.9em;
  padding-right: 0.8em;
}
#DDW_Article .groupauthor {
	float: left;
	font-style: italic;
  height: 170px;
	width: 30%;
}
#DDW_Article .groupauthor img {
  padding-right: 0.8em;
	padding-top: 0.8em;
}
#DDW_Article ul, #DDW_Article ol {
  margin: 1em 2em;
}
#DDW_Article li { padding-bottom: 1em; }
#DDW_Article table { width: 90%; }
#DDW_Article table td {
  background-color: #fafbf9;
  border: 1px solid #dedede;
  padding: 0.3em;
  vertical-align: top;
}
/* Article end ************************************************************************************/

/* Albums start ***********************************************************************************/
#DDW_Albums { font-size: 0.8em; }
#DDW_Albums .Album {
	float: left;
  width: 50%;
}
#DDW_Albums a { text-decoration: none; }
#DDW_Albums a:hover { text-decoration: underline; }
#DDW_Albums .Album .Picture {
	background-color: #fafbf9;
  float: left;
	height: 155px;
	margin: 1em;
	padding: 0.8em;
  text-align: center;
  vertical-align: middle;
	width: 155px;
	-moz-border-radius: 0.8em;
}
#DDW_Albums .Album .Title { padding-top: 3em; }
/* Albums end *************************************************************************************/

/* Album start ************************************************************************************/
#DDW_Album { font-size: 0.8em; }
#DDW_Album .Picture {
	float: left;
  width: 50%;
}
#DDW_Album .Picture .Photo {
	background-color: #fafbf9;
  float: left;
	height: 155px;
	margin: 1em;
	padding: 0.8em;
  text-align: center;
  vertical-align: middle;
	width: 155px;
	-moz-border-radius: 0.8em;
}
#DDW_Album .Picture .Title { padding-top: 3em; }
/* Album end **************************************************************************************/

/* Search start ***********************************************************************************/
#DDW_Search { font-size: 0.8em; }
#DDW_Search #SearchType {
	margin-bottom: 0.2em;
	margin-top: 1em;
}
#DDW_Search #SearchType #Label {
	font-weight: bold;
	padding: 0.5em;
	padding-right: 1em;
}
#DDW_Search #SearchType #FoundResults {
	border: 1px solid #cecece;
  border-bottom: none;
	color: #666666;
	padding: 0.5em;
}
#DDW_Search #SearchType a {
	padding: 0.5em;
	padding-right: 1em;
}
#DDW_Search #SearchResults {
	border-bottom: 1px solid #cecece;
	border-top: 1px solid #cecece;
	padding: 0.5em 0;
}
#DDW_Search #SearchResults .ResultTitle {
	font-weight: bold;
	margin-top: 0.9em;
}
#DDW_Search #SearchPaging {
	margin-bottom: 2em;
	padding: 0.5em;
}
/* Search end *************************************************************************************/

/* Advanced Search start **************************************************************************/
#DDW_AdvancedSearch .DDW_Form div { padding: 0.2em; }
#DDW_AdvancedSearch .DDW_Form div label {
  display: block;
  float: left;
  padding: 0.2em 0.3em;
  text-align: right;
  width: 25%;
}
#DDW_AdvancedSearch .DDW_Form div input, #DDW_AdvancedSearch .DDW_Form div select, #DDW_AdvancedSearch .DDW_Form div textarea {
  border: 1px solid #666666;
  margin: 0.1em;
  padding: 0.1em;
  width: 35%;
}
#DDW_AdvancedSearch .DDW_Form div textarea { overflow: auto; }
#DDW_AdvancedSearch .DDW_Form div.submit {
  padding: 0;
  padding-top: 1em;
  width: 35%;
}
#DDW_AdvancedSearch .DDW_Form div input.inputSubmit, #DDW_AdvancedSearch .DDW_Form div input.inputButton {
  background-color: #4589c9;
  border: none;
  color: #ffffff;
  cursor: pointer;
  float: right;
  font-weight: bold;
  height: auto;
  margin: 0;
  padding: 0.4em 0.2em;
  text-align: center;
  text-transform: uppercase;
  width: auto;
}
#DDW_AdvancedSearch .DDW_Form div fieldset {
	padding-left: 25%;
	width: 35%;
}
#DDW_AdvancedSearch .DDW_Form div fieldset label {
  display: block;
  float: right;
  height: 1.1em;
  text-align: left;
  width: 80%;
}
#DDW_AdvancedSearch .DDW_Form div fieldset input {
	border: none;
  clear: left;
  height: 1.6em;
  width: 15%;
}
/* Advanced Search end ****************************************************************************/
