/** Reset CSS */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,img { 
	border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
	font-weight: normal;
}

ol,ul {
	list-style: none;
}

caption,th {
	text-align: left;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,q:after {
	content: '';
}

abbr,acronym { 
	border: 0;
}

/** Some rude styles for general system requirements checks */

.withJS noscript {
	display: none;
}

noscript {
	position: absolute;
	height:100%;
	width:100%;
	z-index:100000;
}

#pageOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 100000;
	background: rgb(20,20,20);
}

#pageOverlayMessage {
	padding: 20px;	
	margin-left: -225px;
	width: 400px;
	position: absolute;
	left: 50%;
	top: 30%;
	background: white;
}

#pageOverlayMessage p {
	font-size: 0.8em;
	color: black;
	margin: 0;
}

/** Some very basic styles */

body {
	font-family: Arial, Helvetica, sans-serif;
	background: rgb(240,240,240) url('../images/page_bg.png') repeat-y center;
}

#blank {
	background: white;
	padding: 10px;
}

strong {
	font-weight:bold;
}

h1, h2, h3, p, table.form, ul, ol {
	margin: 0 0 1em;
}

h1, h2, h3 {
	font-weight: bold;
}

h1 {
	font-size: 1.2em;
	color: rgb(255,192,0);
}

p {
	font-size: 0.8em;
}

a:link, a:visited {
	color: rgb(150,150,150);
	outline: none;
}

a:hover, a:active {
	color: rgb(255,192,0);
	outline: none;
}

td, th {
	vertical-align: top;
}

table.text {
	font-size: 0.8em;
	margin: 0 0 1em;
	border-collapse: separate;
	border-spacing: 1px; 
}

table.text th, table.text td {
	padding: 4px;	
}

table.text th {
	font-weight: bold;
	background: rgb(230,230,230);
}

table.text td {
	background: rgb(245,245,245);
}

#topOuter {
	background: url('../images/top_bg.png') repeat-x;
	width: 940px;
	height: 110px;
	margin: 0 auto;
}

#topOuter.withMenu {
	height: 130px;
}

#top {
	margin: 0 auto;
	width: 900px;
	height: 100px;
}

#logo {
	padding: 30px 0;
	width: 240px;
}

#portalnavigation {
	width: 700px;
	margin: 5px 0 0 0;
	float: right;
}

#portalnavigation ul li {
	margin: 0 0 0 1em;
	float: right;
}

#portalnavigation ul li a {
	color: rgb(200,200,200);
	font-size: 0.7em;
	text-decoration: none;
}

#top #userSearch {
	margin: 1em 0 0;
	clear: right;
	float: right; 
}

#top #userSearch input.textField {
	color: rgb(120,120,120);
}

#menu {
	background: url('../images/menu_bg.png') repeat-x;
	height: 40px;
}

#menu ul {
	margin: 0 auto;
	width: 900px;
	height: 30px;
	line-height: 30px;
}

#menu ul li {
	margin: 0 10px 0 0;
	float: left;
}

#menu ul li a {
	color: rgb(80,80,80);
	font-size: 0.8em;
	text-decoration: none;
	padding: 0 10px;
	display: block;
}

#menu ul li a:hover {
	color: black;
	background: rgb(220,220,220);
}
	
#content {
	overflow: hidden;
	margin: 20px auto;
	width: 900px;
}

div.ajaxLoader {
	text-align: center;
}

/** Startpage */

#teaser {
	width: 940px;
	height: 295px;
	margin: 20px auto;
}

#teaser form {
	font-size: 11px;
	color: white;
	margin: 145px 0 0 157px;
}

#teaser form a {
	color: white;
	text-decoration: none;
}

#teaser form div.inputText {
	margin: 0 0 4px;
}

#teaser form div.inputText input.text {
	font-size: 10px;
	color: rgb(100,100,100);
	padding: 1px;
	width: 128px;
}

#teaser form div.inputText input.submitButton {
	position: relative;
	top: 4px;
}

#teaser form div.rememberLogin {
	margin: 8px 0 1em;
}

#teaser form div.link {
	margin: 0 0 4px;
}

#blogNews {
	font-size: 0.8em;
	width: 640px;
}

#blogNews li {
	padding: 0.2em 0;
	border-bottom: 1px dotted rgb(220,220,220);
}

/** Pagination */

div.pagination {
	font-size: 0.8em;
	text-align: center;	
	width: 520px;
	margin: 0 auto 1em auto;
}

div.pagination div.previous, div.pagination div.next {
	width: 20px;
	float: left;	
}

div.pagination div.previous {
	text-align: right;
}

div.pagination div.next {
	text-align: left;
}

div.pagination ul {
	text-align: center;
	width: 300px;
	float: left;
}	

div.pagination ul li {
    display: inline;
    list-style-type: none;
    padding: 0 0.5em;
}

div.pagination ul li.current {
	background: rgb(240,240,240);
	border: 1px solid rgb(200,200,200);
}

div.pagination ul li.current a {
	text-decoration: none;
}

div.pagination form {
	width: 140px;
	margin: 0 0 0 30px;
	float: left;
}

div.pagination form input {
	width: 25px;
	height: auto;
}

/* Forms */

table.form {
	width: 60%;	
}

body#blank table.form {
	width: 100%;
}

table.formExpanded {
	width: 100%;
}

table.form tr th, table.form tr td {
	font-size: 0.8em;
	border: 1px white solid;
	padding: 5px;	
	vertical-align: top;
}

table.form tr th {
	font-weight: bold;
	background: rgb(230,230,230);
	width: 180px;
	padding: 8px 5px 5px;
}

body#blank table.form tr th {
	width: 100px;
}

table.form tr.row td {
	background: rgb(240,240,240);
}

table.form tr.row ul.errors {
	color: red;
}

table.form tr.buttons td {
	border-left: none;
	border-right: none;
	border-bottom: none;
}

table.form tr td .fieldFullsize, div.form .fieldFullsize {
	width: 97%;
}

table.form tr td .fieldAutocomplete, div.form .fieldAutocomplete {
	width: 80%;
}

ul.errors {
	margin: 0;
}

div.globalErrors {
	font-size: 0.8em;
}

/** Forms messages */

div.flash {
	font-size: 0.8em;
	font-weight: bold;
	background: rgb(219,219,219);
	margin: 0 220px 15px 0;
	padding: 10px; 
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/** Page menu */

div.pageMenu {
	width: 190px;
	float: right;
	margin: 0 0 0 1em;
}

div.pageMenu ul, div.pageMenu ul input, div.pageMenu ul select {
	font-size: 11px;
}

div.pageMenu ul li {
	background: rgb(230,230,230);
	padding: 5px;
	margin: 0  0 1px 0;
}

div.pageMenu ul li.header {
	font-weight: bold;
	color: white;
	background: rgb(100,100,100);	
}

div.pageMenu ul li a {
	color: black;
	text-decoration: none;
	display: block;
}

/** Default table */

table.list {
	font-size: 0.8em;
	border-spacing: 2px;
	border-collapse: separate;
	width: 680px;
	margin: 0 0 1em;
}

table.list th, table.list td {
	vertical-align: middle;
	background: transparent url('../images/list_row_bg.png') repeat-x;
	height: 3em;
	padding: 0 3px;	
}

table.list th {
	font-weight: bold;
}

table.list .thumbnail {
	width: 30px;
}

table.list .actions {
	text-align: right;
	width: 100px;
}

table.rowsToClick td {
	cursor: pointer;
}

table.rowsToClick tbody tr:hover {
	background-color: #fff4d3;
}

/** Feedback button */

#feedback {
	position: fixed;
	top: 40%;
	left: 0;
}

/** Timeline */

#timeline {
	margin: 0 210px 0 0;
	clear: left;
}

#blank #timeline {
	margin: 0;
}

#timeline div.day {
	clear: left;
}

#timeline h2.date {
	width: 80px;
	height: 80px;
	color: rgb(255,192,0);
	background: rgb(230,230,230);
	padding: 5px;
	margin: 0 0 0.5em;
	float: left;
}

#timeline div.record {
	font-size: 0.8em;
	background: rgb(240,240,240);
	padding: 5px;
	margin: 0 0 0.5em 100px;
}

#timeline div.record div.content {
	overflow: hidden;
}

#timeline div.record div.picture, #timeline div.record div.video,
.prototip div.picture, .prototip div.video {
	text-align: center;
}

#timeline div.marked, #timelineEditMultiple tr.marked {
	background: rgb(250,245,220);
}

#timeline div.record div.withText {
	border-top: 1px dotted rgb(200,200,200);
	padding-top: 5px;
	margin-top: 5px;
}

#timeline div.record div.meta {
	color: rgb(150,150,150);
	font-size: 0.8em;
	border-top: 1px dotted rgb(200,200,200);
	padding: 5px 0 0;
	margin: 0.5em 0 0;
}

#timeline div.record div.share {
	width: 200px;
	margin: 10px 0 0;
}

#timeline div.pagination {
	margin: 2em auto 0;
	clear: left;
}

#timeline div.viewThumbnails div.record {
	width: 50px;
	height: 50px;
	padding: 4px;
	margin: 0 5px 5px 0;
	float: left;
	overflow: hidden;
}

#timeline div.viewThumbnails div.date {
	color: rgb(255,192,0);
	font-size: 18px;
}

#timeline div.viewThumbnails div.date div.month {
	font-size: 26px;
	position: relative;
	bottom: 0;
}

#timeline div.viewThumbnails div.video, #timeline div.viewThumbnails div.text {
	color: rgb(200,200,200);
	font-size: 28px;
	text-align: center;
	padding: 10px 0 0;
}

#timeline div.viewThumbnails div.record a {
	text-decoration: none;
}

/** Timeline: Navigator overview */

#timelineNavigatorOverview div.thumbnails  {
	margin: 0 auto;
	width: 868px;
}

#timelineNavigatorOverview div.thumbnails div.record,
#timelineNavigatorOverview div.thumbnails div.dateContainer {
	font-size: 0.8em;
	background: rgb(240,240,240);
	width: 50px;
	height: 50px;
	padding: 4px;
	margin: 0 4px 4px 0;
	float: left;
	overflow: hidden;
}

#timelineNavigatorOverview div.thumbnails div.highlight {
	border: 1px solid rgb(255,192,0);
	padding: 3px;
}

#timelineNavigatorOverview div.thumbnails div.checkbox {
	width: 20px;
	height: 20px;
	margin: -30px 0 0 3px;
	padding: 10px 20px 0 0;
	z-index: 10;
}

#timelineNavigatorOverview div.thumbnails div.dateContainer {
	background: none;
	border-bottom: 1px solid rgb(255,192,0);
	padding: 4px 4px 2px;
	margin: 0 4px 2px 0;
	height: 12px;
}

#timelineNavigatorOverview div.thumbnails div.date {
	color: rgb(255,192,0);
	font-size: 12px;
}

#timelineNavigatorOverview div.thumbnails div.video, #timelineNavigatorOverview div.thumbnails div.text {
	color: rgb(200,200,200);
	font-size: 28px;
	text-align: center;
	padding: 10px 0 10px;
}

#timelineNavigatorOverview div.thumbnails div.record a {
	text-decoration: none;
}

#timelineNavigatorOverview div.thumbnails div.marked a:hover {
	color: white;	
}

/** Timeline: Navigator */

#timelineNavigator {
	font-size: 12px;		
}

#timelineNavigatorFunctions {
	font-size: 12px;
	width: 200px;
	float: right;	
}

#timelineNavigatorFunctions div.function {
	background: rgb(220,220,220);
	border: 1px solid rgb(180,180,180);
	margin: 0 0 1px;
}

#timelineNavigatorFunctions div.function a {
	color: black;
	text-decoration: none;
	padding: 3px;
	display: block;
}

#timelineNavigatorOptions {
	font-size: 12px;
}

#timelineNavigatorOptionsContent {
	width: 100%;
	height: 150px;
	position: absolute;
	left: 0;
	z-index: 2;
}

#timelineNavigatorOptionsContent div.inner {
	background: rgb(220,220,220);
	border: 1px solid rgb(180,180,180);
	width: 875px;
	padding: 1em;
	margin: 0 auto;
}

#timelineNavigatorOptionsContent div.close {
	width: 15px;
	height: 15px;
	float: right;
}

#timelineNavigatorOptionsContent div.column {
	width: 180px;
	height: 100px;
	margin: 0 10px;
	float: left;
}

#timelineNavigatorOptionsContent div.row {
	margin: 0 0 1em;
}

#timelineNavigatorOptionsContent .fieldFullsize {
	width: 100%;
}

#timelineNavigatorOptionsContent div.buttons {
	clear: both;
	text-align: right;
}

#timelineNavigatorThumbnails {
	height: 104px;
	width: 840px;
	padding: 10px;
	margin: 0 auto;
	background: rgb(255,255,255);
	background: rgba(255,255,255,0.7);
}

#timelineNavigatorThumbnails div.calendar, #timelineNavigatorThumbnails div.thumbnails {
	clear: both; 
}

#timelineNavigatorThumbnails div.box {
	width: 50px;
	height: 50px;
	overflow: hidden;
	float: left;
	margin: 0 2px;	  
}

#timelineNavigatorThumbnails div.calendar div.box {
	padding: 1px;
}

#timelineNavigatorThumbnails div.date {
	color: rgb(255,192,0);
	font-size: 18px;	
}

#timelineNavigatorThumbnails div.date div.day {
	position: relative;
	bottom: -8px;	
}

#timelineNavigatorThumbnails div.date div.month {
	font-size: 26px;
	position: relative;
	bottom: 0;
}

#timelineNavigatorThumbnails div.thumbnail {
	border: 1px solid rgb(200,200,200);
}

#timelineNavigatorThumbnails div.current {
	border: 1px solid rgb(255,192,0);
}

#timelineNavigatorThumbnails div.thumbnail a {
	text-decoration: none;
}

#timelineNavigatorThumbnails div.video, #timelineNavigatorThumbnails div.text {
	color: rgb(200,200,200);
	font-size: 28px;
	text-align: center;
	padding: 8px 0 0;
	height: 42px;
}

#timelineNavigatorPlayer {
	text-align: center;
	padding: 5px;
	width: 900px;
	height: 18px;
	margin: 0 auto 1em;
}

#timelineNavigatorCurrent {
	clear: both;
}

#timelineNavigator div.popup {
	width: 100%;
	margin: 80px 0 0;
}

#timelineNavigatorCurrent div.text {
	width: 400px;
	margin: 0 auto;
}

#timelineNavigatorCurrent div.picture, #timelineNavigatorCurrent div.video {
	text-align: center;
}

#timelineNavigatorCenter {
	width: 400px;
	margin: 0 auto;
}

#timelineNavigator div.neighbor {
	background: rgb(255,255,255);
	opacity: 0.2;
	-moz-opacity: 0.2;
	filter:alpha(opacity=20);
	width: 200px;
	overflow: hidden;	
}

#timelineNavigatorLeft {
	float: left;
}

#timelineNavigatorRight {
	float: right;
}

#timelineNavigatorCurrent table.form {
	width: 100%;
}

#timelineNavigatorCurrent table.form tr th {
	width: 100px;
}

#timelineNavigatorCurrent div.text {
	margin: 1em 0 0;
}

#timelineNavigatorCurrent div.meta {
	border-top: 1px dotted rgb(200,200,200);
	padding: 1em 0 0;
	margin: 1em 0 0;
}

/** Timeline comments */

div.comments {
	border-top: 1px dotted rgb(200,200,200);
	margin: 1em 0 0;
	padding: 1em 0 0;
}

div.comments div.comment {
	/* background: rgb(230,230,230); */
	padding: 2px;
	margin: 0 0 5px;
}

div.comments div.userThumbnail {
	background: white;
	border: 1px solid rgb(200,200,200);
	width: 30px;
	height: 30px;
	padding: 2px;
	margin: 0 5px 0 0;
	float: left;
}

div.comments div.form div.formComment {
	margin: 0 0 5px;
}

div.comments div.form textarea.text {
	width: 100%;
	height: 40px;
}

#timelineProfileInfo #photo {
	width: 100px;
	padding: 5px;
	border: 1px solid rgb(190,190,190);
	float: left;
	margin: 0 1em 1em 0;
}

#timelineProfileInfo h1 {
	margin: 0;
}


/** Timeline filter */

div.timeline div.optionsFormRow {
	margin: 0 0 0.5em; 
}

/** Timeline form */

#timelineForm {
	margin: 0 210px 2em 0;
}

#timelineForm ul.errors {
	color: red;
}

#timelineForm div.header, #timelineForm div.subForm {
	font-size: 0.8em;
	padding: 4px;
	margin: 0 0 1px;
	border: 1px solid rgb(240,240,240);
}

#timelineForm div.header {
	font-size: 0.8em;
	background: rgb(240,240,240);
}

#timelineForm div.inputText input, #timelineForm div.inputText textarea {
	border: 1px solid rgb(200,200,200);
	width: 687px;
}

#timelineForm div.header a {
	text-decoration: none;
	display: block;
}

#timelineForm div.subForm div.row {
	margin: 0.5em 0;
}

#timelineForm div.subForm div.arrangeLabel label {
	width: 100px;
	display: inline-block;
}

#timelineForm div.subForm .fieldFullsize {
	width: 50%;
}

/** Multiple files upload with swfupload */

#timelineUpload {
	font-size: 0.8em;
}

#timelineUpload div.optionsHeader, #timelineUpload div.optionsFormRow {
	margin: 0 0 0.3em;
}

#timelineUpload div.optionsHeader {
	font-weight: bold;	
}

#timelineUpload ul.errors {
	color: red;
}

#timelineUpload div#uploadStatus {
	margin: 0 0 1em;
}

/** Timeline: Mark multiple records */

#timelineEditMultiple table.select {
	width: 100%;
	margin: 0 0 1em;
}

#timelineEditMultiple table.select tr {
	background: transparent url('../images/list_row_bg.png') repeat-x;
	background-position: bottom;
	margin: 1px solid rgb(150,150,150);
	height: 60px;
}

#timelineEditMultiple table.select td {
	font-size: 0.8em;
	vertical-align: middle;
	padding: 5px;
}

#timelineEditMultiple table.select td.thumbnail {
	width: 60px;
}

#timelineEditMultiple table.select td.thumbnailtext, #timelineEditMultiple table.select td.thumbnailvideo {
	color: rgb(200,200,200);
	font-size: 28px;
	text-align: center;
}

#timelineEditMultiple table.select td.action {
	width: 50px;
}

/** User: Upload a photo */

#userRegister div.upload, 
#userUploadPhoto div.upload {
	font-size: 0.8em;
}

div.upload div#photo {
	margin: 1em 0 0;
}

/** User: Search */

#userSearch form {
	margin: 0 0 1em;
}

/** Message: Index */

#messageIndex table .mark {
	text-align: center;
	width: 20px;
}

#messageIndex table .thumbnail {
	width: 30px;
}

#messageIndex table .sender {
	width: 150px;
}

#messageIndex table .date {
	width: 170px;
}

#messageIndex table .actions {
	text-align: center;
	width: 30px;
}

#messageIndex table tr.unread {
	font-weight: bold;
}

/** Message: Detail */

#messageDetail table.header {
	font-size: 0.8em;
	margin: 0 0 1em;
}

#messageDetail table.header td.label {
	font-weight: bold;
	width: 100px;
}

/** Message: New */

#messageNew table.form textarea, #messageReply table.form textarea {
	height: 200px;
}

/** SWF upload */

.swfupload fieldset {
	border:  1px solid #ffcb11;
	margin: 10px 0;
	padding: 20px 10px;
	width: 50%;
}

.swfupload legend {
	font-weight: bold;
	color: rgb(100,100,100);
	padding: 3px;
}

.swfupload .progressWrapper {
	width: 357px;
	overflow: hidden;
}

.swfupload .progressContainer {
	margin: 5px;
	padding: 4px;
	border: solid 1px #E8E8E8;
	background-color: #F7F7F7;
	overflow: hidden;
}

.swfupload .red {
	border: solid 1px #B50000;
	background-color: #FFEBEB;
}

.swfupload .green {
	border: solid 1px #DDF0DD;
	background-color: #EBFFEB;
}

.swfupload .blue {
	border: solid 1px #CEE2F2;
	background-color: #F0F5FF;
}

.swfupload .progressName {
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	color: #555;
	width: 323px;
	height: 14px;
}

.swfupload .progressBarInProgress, .swfupload .progressBarComplete, .swfupload .progressBarError {
	font-size: 0;
	margin: 2px 0 0 0;
	width: 0%;
	height: 2px;
	background-color: blue;
}

.swfupload .progressBarComplete {
	background-color: green;
	width: 100%;
	visibility: hidden;
}

.swfupload .progressBarError {
	background-color: red;
	width: 100%;
	visibility: hidden;
}

.swfupload .progressBarStatus {
	text-align: left;
	white-space: nowrap;
	margin: 2px 0 0 0;
	width: 337px;
}

/** Tags */

ul.tag-cloud li {
	float: left; 
}

/** Page */

div.page ul, div.page ol {
	font-size: 0.8em;
	margin: 0 0 1em 20px;
}

div.page ul {
	list-style-type: square; 
}

div.page ol {
	list-style-type: decimal;
}

/** Prototip tooltips */

.prototip .tooltip {
  	color: rgb(100,100,100);
	width: 200px;
  	border: 1px solid rgb(200,200,200);
}
.prototip .tooltip .toolbar {
  	background: rgb(230,230,230);
}
.prototip .tooltip .title { padding: 5px; }
.prototip .tooltip .content { 
	background: rgb(240,240,240);
	background: white;
	padding: 5px;
}

.prototip .tooltipPicture, .prototip .tooltipVideo {
	width: 410px;	
}

