/**
GUESTBOOK stylesheet

You mighht need to modify the paths for background images.
At the moment all images are referenced like "images/pic.gif" .
*/


/* GB <div> element */
#guestbook {
	margin: 0;
	padding: 1em 0 0 0;
	text-align: center;
	font-size: 100%;
	font-family: sans-serif;
}

/* images in text always vertically centered */
#guestbook img {
	vertical-align: middle;
}

/* images that are clickable links without border (so contact icons lose their borders) */
#guestbook a img {
	border: none;
}

#guestbook a:link,
#guestbook a:visited {
	text-decoration: none;
	color: #56D471;
}


/* menue row */
#guestbook .menue {
	margin: 0 2em 1em 2em;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	text-align: center;
}

/* international support */
#guestbook .menue select {
	border: 1px solid #c0c0c0;
}

#guestbook .menue input {
	background: ButtonFace url(images/refresh.gif) 10px center no-repeat;
	padding-left: 20px;
	cursor: pointer;
}

/* special links in menue */
#guestbook .menue .new-entry {
	padding-left: 18px;
	background: url(images/edit.gif) left center no-repeat;
}

#guestbook .menue .older-entries {
	padding-right: 22px;
	background: url(images/next.gif) right center no-repeat;
}

#guestbook .menue .newer-entries {
	padding-left: 22px;
	background: url(images/previous.gif) left center no-repeat;
}


/* the form */
#guestbook form {
	text-align: left;
	padding: 0;
	margin: 0 1em;
}

/* paragraphs inside a form */
#guestbook form p {
	text-align: left;
}


/* there is a <div> around the input fields during the first entry */
#guestbook form #userinput {
	float: left;
	width: 50%;
}

#guestbook form #userinput p {
	text-align: left;
}

#guestbook form #userinput p img {
	padding-right: 5px;
}

#guestbook form #userinput input {
	border: 1px solid #c0c0c0;
	background: #ffffff url(images/text_bg.gif) 0px 0px;
}

/* IE can't do this so in IE the input fields aren't as long as possible */
#guestbook form #userinput p input[type=text] {
	width: 100%;
}

/* input fields during preview */
#guestbook form #userinput2 {
	float: left;
	width: 50%;
}

#guestbook form #userinput2 p {
	text-align: right;
	margin: 0;
	padding: 0;
}

#guestbook form #userinput2 p img {
	padding-right: 5px;
}

#guestbook form #userinput2 p input[type=text] {
	width: 90%;
}

/* the textbox for the actual GB entry */
#guestbook form textarea {
	width: 100%;
	height: 8em;
	border: 1px solid #c0c0c0;
	background: #ffffff url(images/text_bg.gif) 0px 0px;
	padding: 2px;
}

/* This is how the GB output is structured. It is a <dl> list where <dt> contains
all about the author and <dd> contains the actual entry. */
#guestbook dl {
	margin: 0 2em;
	padding: 0;
}

/* all the info about the author */
#guestbook dt {
	text-align: left;
	margin: 0;
	padding: 1em 0 0.5em 4em;
	color: #56D471;
	border: 1px solid #c0c0c0;
	border-bottom: none;
}

/* the author's name is inside an extra <span> element */
#guestbook dt span {
	font-weight: bold;
}

/* instant messenger icons vertically centered */
#guestbook dt img {
	vertical-align: middle;
}

/* the actual message */
#guestbook dd {
	text-align: left;
	margin: 0;
	padding: 0.5em 2em 1em 2em;
	margin-bottom: 1em;
	border: 1px solid #c0c0c0;
	border-top: none;
}

/* Settings for some notices and stuff */

/* error (<p>-element) */
#guestbook .error {
	width: 80%;
	font-size: 100%;
	display: block;
	margin: 0 auto;
	border: 1px solid red;
	background: #ffc0c0;
}

/* warning  (<p>-element with problematic user input inside respective <input> element) */
#guestbook .warning {
	color: #ff0000;
}
#guestbook .warning input {
	border: 1px solid red;
	background-color: #3F3F3F;
}

/* success (<p>-Element) */
#guestbook .success {
	display: block;
	border: 1px solid #00ff00;
	background: #eeffee;
	margin: 1em 2em;
	padding: 0.5em;
}

/* this <div> contains all the contents from "scripts/gb-notice.html" template */
#guestbook #notice {
	float: right;
	position: relative;
	border: solid 1px #ff0000;
	width: 45%;
	text-align: left;
	margin: 0px auto 20px auto;
	padding: 0.5em;
	background-color: #3F3F3F;
}

#guestbook #notice h2 {
	font-size: 100%;
}

#guestbook #notice #x {
	display: block;
	position: absolute;
	border: 1px solid red;
	top: -1px;
	right: -1px;
	cursor: pointer;
}

#guestbook #ip-logging-notice span.hovered {
	position: absolute;
	display: block;
	width: 200px;
	border: 1px solid red;
	background: white;
	padding: 15px;
}

#guestbook #ip-logging-notice span.non-hovered {
	display: none;
}


/* This <p> contains a notice after submission if the GB is set to "moderated mode". */
#guestbook #moderated-notice {
	text-align: left;
	width: 75%;
	border: 1px solid red;
	background: #3F3F3F;
	padding: 5px 15px;
	margin: 0 auto 5px;
}


#guestbook #gb-copyright-message {
	font-size: 60%;
}


/* smilies box (<div> element) */
#smilies {
	float: right;
	width: 45%;
}

#guestbook .new-line {
	clear: both;
}

#guestbook span.float-left {
	float: left;
}

#guestbook span.float-right {
	float: right;
}

/* This element should be hidden from human visitors (anti SPAM mechanism) */
#guestbook #sig {
	display: none;
}

/* Admin-Links */
#guestbook .menue .admin-settings {
	padding-left: 20px;
	background: url(images/settings.gif) left center no-repeat;
}

#guestbook .admin-links {
	display: block;
	margin: 1em 0px 0px 0px;
	border-top: 1px solid black;
	line-height: 200%;
}

#guestbook .admin-links a:link,
#guestbook .admin-links a:visited {
	border: 1px solid #c0c0c0;
	background-color: #ffffff;
	margin: 0.5em 10px 0px 0px;
	padding: 2px 4px 2px 22px;
	background-position: 4px 2px;
	background-repeat: no-repeat;
	color: black;
}

#guestbook a.admin-edit {
	background-image: url(images/edit.gif);
}

#guestbook a.admin-kill {
	background-image: url(images/recycle.gif);
}

#guestbook a.admin-ok {
	background-image: url(images/ok.gif);
}

#guestbook  a.logout-link:link,
#guestbook  a.logout-link:visited {
	padding: 0 1em 0 0;
	color: red;
	font-weight: bold;
}

#guestbook #back-link {
	text-decoration: none;
	font-size: 80%;
	color: black;
	border: 1px solid #808080;
	padding: 2px 5px 2px 25px;
	background: #ffffff url(images/x.gif) no-repeat 6px 2px;
}

#guestbook #admin-kill-button {
	margin: 0 10px;
	padding: 1px 1px 1px 18px;
	background: #ffffff url(images/recycle.gif) 1px 1px no-repeat;
	border: 1px solid #808080;
	cursor: pointer;
}

/* Layout for settings dialogue in the admin area */
#guestbook #settings {
	font-size: 90%;
	margin: 0 50px 50px;
	padding: 20px;
	background: #e0f0f0;
	border: 1px dotted #808080;
}

#guestbook #settings h2 {
	margin: 0;
	padding: 0 20px;
	background: #d0f0f0;
	border: 1px dotted #808080;
	clear: both;
}

#guestbook #settings input {
	border: 1px solid #808080;
	padding: 0 5px;
}

#guestbook #settings #number {
	width: 1.3em;
}

#guestbook #settings #mail {
	background: #ffffff url(images/email.gif) no-repeat 2px center;
	padding: 0 0 0 20px;
	width: 20em;
}

#guestbook #settings select {
	border: 1px dotted #909090;
}

#guestbook #settings #submit {
	float: right;
	padding: 1px 5px 1px 25px;
	background: #ffffff url(images/save.gif) no-repeat 5px center;
	cursor: pointer;
}

#guestbook #settings #back-link {
	float: left;
}

#guestbook #settings li span.float-right {
	float: right;
	font-size: 80%;
	line-height: 200%;
	padding: 0;
	margin: -1.5em 0 0 0;
	height: 1em;
	overflow: visible;
}

#guestbook #settings #login-credentials {
	width: 22em;
	margin-right: auto;
	text-align: right;
}

#guestbook #settings span.custom-text-link {
	display: inline-block;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: #ffffff url(images/edit.gif) no-repeat center center;
}

#guestbook #settings .default-text span {
	font-weight: bold;
}

#guestbook #settings #custom-notice-greeting,
#guestbook #settings #custom-notice-thank-you,
#guestbook #settings #custom-notice-me {
	width: 90%;
}


#guestbook #admin-warning {
	width: 80%;
	margin: 0 auto 15px auto;
	padding: 0 10px;
	border: 1px solid #ff0000;
	background: #ffa0a0;
	font-size: 80%;
	text-align: left;
}


#guestbook #language-changer p {
	text-align: center;
}

#guestbook #entry-form-language-changer p {
	float: right;
}

#guestbook #login-form {
	display: block;
	border: 1px solid #56D471;
	background: #cce0ff;
	width: 400px;
	margin: 0 auto 5em auto;
}

#guestbook #login-form #login-inputs input {
	border: 1px solid #56D471;
	margin: 1px;
	background: url(images/text_bg.gif) top left;
	padding: 2px;
}

#guestbook #login-form  p {
	text-align: center;
	padding: 0 25px;
}

#guestbook #login-form  p#login-inputs {
	margin-right: 15%;
	text-align: right;
}

#guestbook #login-form  p#login-back-link {
	text-align: right;
}

#guestbook #min-seconds,
#guestbook #max-seconds {
	width: 2em;
	text-align: center;
}



