@IMPORT url("index_default.css");
@IMPORT url("forms.css");

/* blueprint corrections */

ul, ol {
    margin: 0 0em 0em 0;
    padding-left: 1.5em;
}

/* styles */

body, div, p, font, span, li {
	font-size: 1em;
	font-size: 16px;
}

a.external {
	background-image: url("../imgs/external_link.png");
	background-repeat: no-repeat;
	padding-right: 12px;
	background-position: top right;
}

a {
	color: #444;
    color: #985441;
    text-decoration: none;
    /*color: #8B2200;*/
}

a:hover, a:active, a:focus {
	color: #777;
    color: #8B2200;
    text-decoration: underline;
}

/* Theme dependent styles */

body {
	background-color: #ddd;
	background-image: url("../imgs/bg-fade.png");
	background-repeat: repeat-x;
	font-family: Gentium, Georgia, serif;
	margin: 8px;
}

body * {
    font-family: Gentium, Georgia, serif;
}

div#page {
	background-color: #ddd;
	width: 800px;
}

div#floatbody {
	width: 800px;
	background-color: #fff;
	float: left;
	padding: 0px;
	margin: 0px;
	border: 3px solid #333;
	margin-bottom: 5px;
}

h4 {
	font-size: 0.9em;
}

h3 {
	padding-top: 2em;
	/*font-weight: bold;*/
	font-size: 1.3em;
}

h2 {
	text-align: left;
	padding-bottom: 0.5em;
	margin: 0px;
	padding-top: 0px;
	/*font-family: SunsetSerial, serif;*/
}

div#maincontent .post ul, div#maincontent .text ul {
	line-height: 1em;
    margin: 1.0em 1.5em 1.5em 0;
}

div#maincontent .post ul li, div#maincontent .text ul li {
	line-height: 1.3em;
    margin-bottom: 5px;
}

div#maincontent div {
    line-height: 1.5em;
}

/* HEADER */

div#header {
	background-color: #fff;
	position: relative;
	width: 800px;
	background-image: url("../imgs/header.png");
	background-repeat: no-repeat;
	background-position: bottom;
	height: 115px;
}

div#header div#header-title {
	display: block;
	height: 100%;
	position: absolute;
}

div#header-title a {
	height: auto;
	display: block;
	text-decoration: none;
	width: 108px;
	text-align: right;
	font-size: 2em;
	color: black;
	padding-top: 65px;
}

div#header-title a.white {
	color: white;
	font-size: 1.5em;
	padding-top: 75px;
	font-style: italic;
	display: block;
	width: 480px;
}

/* NAVBAR */

div#mainmenu {
	border-top: 1px solid #777;
	border-bottom: 0px solid #777;
	border: 0px solid #777;
	width: 800px;
	position: relative;
	top: 0px;
	margin-left: 0;
	height: 33px;
	text-align: left;
	padding: 0px;
	background-color: #444;
    z-index: 2;
}

div#mainmenu ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
	list-style-position: inside;
	display: block;
	height: 33px;
}

div#mainmenu ul li {
	display: inline;
	float: left;
	height: 100%;
}

div#mainmenu ul li a {
	text-decoration: none;
	color: #ccc;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	display: inline-block;
	height: 23px;
	font-family: SunsetSerial, sans-serif;
	font-size: 11pt;
    -moz-border-bottom-left-radius: 6px;
    border-bottom-left-radius: 6px;
    -moz-border-bottom-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

div#mainmenu ul li.active a,
div#mainmenu ul li.active a:hover {
	background-color: #8B2200;
	color: #fff;
}

div#mainmenu ul li a:hover {
	background-color: #222;
	color: #fff;
}

/* MAINCONTENT */

div#main {
	display: block;
	padding: 0px;
	margin: 0px;
	top: 0px;
	position: relative;
}

div#sitemap {
	display: none;
}

div.breadcrumbs {
	border-bottom: 1px solid #ddd;
	width: auto;
	background-image: url("../imgs/a34.gif");
	background-repeat: repeat-x;
	background-position: bottom;
	text-align: left;
	padding-bottom: 0.5em;
	margin: 0px;
	padding-top: 0px;
	font-family: SunsetSerial, sans-serif;
	font-size: 12pt;
	font-weight: bold;
    margin-top: 20px;
    padding-left: 20px;
    display: none;
}

div.breadcrumbs a {
	
}

div.container {
	padding-top: 0.5em;
	width: 590px;
}

div#maincontent {
	padding: 0px;
	margin-bottom: 0em;
	margin-top: 0em;
	width: 590px;
}

div#maincontent div#content {
	padding-left: 20px;
    top: 20px;
}

div#maincontent p {
	text-align: justify;
}

div#maincontent p, div#maincontent li {
	font-size: 1em;
}

div#maincontent div.text img {
	padding-bottom: 0.8em;
}

div#maincontent div.img {
	border:1px solid gray;
	padding:1px;
	text-align:center;
	font-size: 0.7em;
	margin: 0px;
	margin-bottom: 0.5em;
}

div#maincontent div#content {
	padding-top: 1em;
}

div.text {
	margin-right: 1em;
}

div#maincontent img {
	margin: 5px;
}

div#maincontent div.float-right {
	float: right;
	margin-left:20px;
	margin-right: 10px;
}

div#maincontent div.float-left {
	float: left;
	margin-right: 20px;
	margin-left: 10px;
}

/* SIDEBAR */

div#sidebar {
    padding: 0;
	display: block;
	float: right;
	text-align: left;
    font-size: 10pt;
    background-image: url('../imgs/bg_sidebar.gif');
    background-position: left;
    background-repeat: repeat-y;
    margin: 0;
    background-color: #f7f6f6;
    padding-top: 10px;
    width: 210px;
}

div#sidebar * {
    font-size: 10pt;
}

div#sidebar div.portlet-title {
	font-family: SunsetSerial;
	font-size: 0.9em;
	/*border-bottom: 1px dotted silver;*/
	display: block;
    padding-left: 10px;
    width: 200px;
}

div#sidebar div.sidebarcomponent {
	float: left;
    padding-top: 10px !important;
	padding-bottom: 10px !important;
    background-image: url('../imgs/bg_sidebar_separator.gif');
    background-position: bottom;
    background-repeat: repeat-x;
    padding-left: 10px;
    width: 200px;
}

div#sidebar div.sidebarcomponent ul {
	list-style-type: none;
	display: list-item;
	padding-left: 20px;
	margin: 0px;
	margin-top: 1em;
}

div#sidebar div.sidebarcomponent ul li {
	text-decoration: none;
}

div#sidebar ul.feeds li {
    background-image: url('../imgs/feed.png');
    background-position: left center;
    background-repeat: no-repeat;
    display: block;
}

div#sidebar ul.feeds li a {
    padding-left: 20px;
}

/* FOOTER */

div#footer div#footer-content div#footer-content-text {
	position: relative;
	padding-top: 20px;
	font-size: 0.8em;
	text-align: center;
	display: block;
}

div#footer div#footer-content div#footer-content-img {
	/* relative position:
		padding: 150
		img width: 150
		=> 300 px
		img height: 59
	*/
	top: -22px;
	text-align: left;
	display: block;
	position: relative;
	float: right;
	padding-right: 150px;
}

div#footer {
	background-image: url("../imgs/faded-separatorline.gif");
	background-repeat: no-repeat;
	float: right;
	display: block;
	margin-top: 20px;
	margin-bottom: 5px;
	width: 800px;
}

div#underthesite {
	text-align: center;
}

/* Yii Admin */

div.grid-view td a.delete, div.grid-view td a.update, div.grid-view td a.view,
	div.grid-view td a.delete img, div.grid-view td a.update img, div.grid-view td a.view img {
	margin: 0px !important;
	padding: 0px !important;
	float: left;
}

/* avoid padding on view/index of items */
div#maincontent.action-index div#content,
div#maincontent.action-view div#content {
	padding-bottom: 0px !important;
	padding-left: 0px !important;
}

/* BLOG */

div.postcontainer {
	background-image: url("../imgs/a33.gif");
	background-repeat: repeat-x;
	background-position: bottom;
	padding-bottom: 0.8em;
	margin-bottom: 2em;
	padding-left: 20px;
	padding-top: 0px;
}

div.post div.title h3 {
	padding-top: 0em;
    padding: 0;
    margin:0;
    line-height: 1.1em;
}

div.post div.title h3 a {
    text-decoration: none;
    color: black;
}

div.post div.title h3 a:hover {
    text-decoration: underline;
}

div.post div.head {
	/*	strange hack to position the date/author divs
		used below at the same vertical position in ff
		and IE. There is a "margin" of about 20px from
		those fields to the very top of the parent div
		(this one) in ff, if no border is drawn. 
	border: 1px solid white; */
	padding-top: 0em;
	padding-bottom: 0em;
	margin-bottom: 0px;
    padding-right: 10px;
    padding-bottom: 0.5em;
	margin-bottom: 0.5em;
	border-bottom: 1px dotted silver;
}

div.post div.head div.date,
div.post div.head div.author {
    clear: left;
	float: none;
	font-style: normal;
	font-size: 0.8em;
	position: relative;
	/*padding-top: 20px;*/
	bottom: 0em;
    color: #888;
}

div.post div.content {
	text-align: justify;
	font-size: 1em;
    padding: 0px;
	padding-right: 2em;
}

div.post div.foot div {
	font-size: 0.8em;
}

div.post div.foot .permalink {
	display: none;
}

div.post div.foot .tags {
	display: none;
}

div.post img {
    float: right;
    max-width: 200px;
    /*height: 250px;*/
    padding: 0;
    margin-left: 1em !important;
    margin-bottom: 1em !important;
    
    -moz-box-shadow: 5px 5px 5px #ccc;
    -webkit-box-shadow: 5px 5px 5px #ccc;
    box-shadow: 5px 5px 5px #ccc;
}

/* BLOG comments and COMMENT administration (list) */

div.comments {
    clear: both;
	border-top: 1px dotted silver;
	padding-top: 1em;
}

div.comment {
	width: 33em;
	padding-bottom: 1em;
    padding-top: 1.2em;
	text-align: justify;
}

/* longer, because here are the post titles included */
div.list-view div.comment {
	/*width: 40em;*/
}

div.comment, div.list-view div.comment {
	margin-left: 1em;
}

div.comment div.meta {
    display: block;
    background-image: url('../imgs/comment.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0px;
    padding-left: 20px;
}

div.postcontainer div.comment div.author, div.postcontainer div.comment div.time,
div.list-view div.comment div.author, div.list-view div.comment div.time {
	display: inline;
	font-size: 1em;
	margin-bottom: 0.5em;
	font-style: italic;
}

div.comment div.author {
	font-weight: bold;
}

div.comment div.time {
	font-size: 0.8em;
}

div.comment div.crudlinks {
	float: right;
	font-size: 8pt;
    margin: 0;
	padding: 0;
    margin-top: -1.5em;
}

div.comment div.author,
div.comment div.crudlinks {
	margin-left: 0em;
}

div.comment div.permalink {
    display: inline;
	font-size: 0.8em;
	margin-right: 0.5em;
}

div.comment div.content {
	padding-left: 1em;
	padding-right: 2em;
    font-size: 1em;
}

/* Pending comments */
div.comment.status-1 {
		background-color: #ddd;
}

/* Approved comments */
div.comment.status-2 {
	
}

/* SPAM */
div.comment.status-3 {
	background-color: #f0dad0;
}

/* Editions */

div.editioncontainer div.edition div.cover {
	float: right;
	margin-left: 1.5em;
}

/* weiteres */
.faq div.question {
    font-weight: bold;
    padding-bottom: 0.5em;
    padding-top: 1em;
}

.operations {
    float: right;
    font-size: 8pt;
    padding-right: 1em;
}

.operations * {
    font-size: 8pt;
}

/* Contributors */
div.contributors {
    padding-left: 20px;
    padding-right: 20px;
}

div.contributor div.operations {
    padding-top: 1em;
}

div.contributor div.contributor-data-container div {
    font-size: 0.8em;
}

div.contributor div.name {
    font-size: 0.9em;
}

div.contributor {
    clear: both;
    display: block;
    padding-top: 5px;
}

div.contributor div.line {
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 1pt;
    border-bottom: 1px dotted silver;
    display: block;
    height: 2px;
}

div.contributor.first div.line {
    border-bottom: 0px;
}

div.contributor div.name .fullname {
    font-weight: bold;
}

div.contributor .contributor-data-container {
    display: block;
}

div.contributor div.contributions {
    display: block;
    float: left;
    width: 350px;
}

div.contributor div.links {
    display: block;
    float: right;
    width: 200px;
}

div.contributor div.links ul {
    padding: 0px;
    margin: 0px;
    line-height: 1em;
}

div.contributor div.links li, div.contributor div.links li a {
    font-size: 0.8em;
}

/* pager */
div.pager {
    margin-top: 2em;
    clear: both;
}
ul.yiiPager {
    border: 0 none;
    display: inline;
    font-size: 11px;
    line-height: 100%;
    margin: 0;
    padding: 0;
}
ul.yiiPager li {
    display: inline;
}
ul.yiiPager a:link, ul.yiiPager a:visited {
    border: 1px solid #CF816F;
    color: #985441;
    font-weight: bold;
    padding: 1px 6px;
    text-decoration: none;
}
ul.yiiPager .page a {
    font-weight: normal;
}
ul.yiiPager a:hover {
    border: 1px solid #985441;
}
ul.yiiPager .selected a {
    background: none repeat scroll 0 0 #985441;
    color: #FFFFFF;
    font-weight: bold;
}
ul.yiiPager .hidden a {
    border: 1px solid #DEDEDE;
    color: #888888;
}
ul.yiiPager .first, ul.yiiPager .last {
    display: none;
}
