/* These CSS definitions are part of the flatPHPbook script (c) 2003 by Thomas Hettenhausen */

body	{
	background-color: #ffffff;
	color: #606060;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0px;
	margin-bottom: 10px;
}

/* styles the headline part of the page which initially reads " PHP Simple Guestbook Test Page" */
h1	{
	background-color: #f0f0f0;
	font-size: 22px;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	text-align: left;
	border-style: dotted;
	border-width: 0px;
	border-bottom-width: 1px;
	border-color: #c0c0c0;
	margin: 0px;
	margin-bottom: 30px;
	padding: 20px;
}

h2	{
	font-size: 16px;
	border-style: dotted;
	border-width: 0px;
	border-bottom-width: 1px;
	border-color: #c0c0c0;
	width: 50%;
}

/* for some reason, this is not inherited from the body tag */
td	{
	font-size: 12px;
}

a {
	color: #6060c0;
	text-decoration: none;
}

a:visited {
	color: #a060a0;
}

a:active {
	color: #6060b0;
}

a.adminmode	{
	color: ff0000;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

/* styles the top part, where the welcomeMessage and the input forms etc. are at  */
div.gbinputarea	{
	background-color: #fff;
	border-style: none;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 10px;
}

/* styles the input part, where the textarea etc. is at  */
div.gbinput	{
	background-color: #f0f0f0;
	border-style: solid;
	border-width: 1px;
	border-color: #c0c0c0;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 10px;
}

/* styles the table holding the entries, the border-collapse is important or you will get double lines between the table cells */
table.gbdisplay	{
	border-collapse: collapse;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0%;
	margin-right: 10%;
	padding: 0px;
	width: 80%;
}

/* styles the left (nickname) part of the entries */
td.posttopleft	{
	background-color: #f0f0f0;
	font-size: 12px;
	font-weight: bold;
	border-style: dotted;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #c0c0c0;
	width: 15%;
	padding: 5px;
}

/* styles the right (date, time) part of the entries */
td.posttopright	{
	background-color: #f0f0f0;
	font-size: 12px;
	border-style: dotted;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #c0c0c0;
	width: auto;
	padding: 5px;
}

/* styles the left (homepage, email) part of the entries */
td.postbottomleft	{
	background-color: #fff;
	font-size: 12px;
	border-style: dotted;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #c0c0c0;
	width: 15%;
	height: auto;
	padding: 5px;
	padding-top: 10px;
}

/* styles the right (message) part of the entries */
td.postbottomright	{
	background-color: #fff;
	font-size: 12px;
	border-style: dotted;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #c0c0c0;
	width: auto;
	height: auto;
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 25px;
}

td.posttop
{
	background-color: #f0f0f0;
	font-size: 12px;
	border-style: dotted;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #c0c0c0;
	width: auto;
	padding: 5px;
}


td.postbottom
{
	background-color: #fff;
	font-size: 12px;
	border-style: dotted;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #c0c0c0;
	width: auto;
	height: auto;
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 15px;
}

span.forgotten	{
	color: #ff0000;
}

span.nickname	{
	font-weight: bold;
}

span.dateandtime	{
	color: #606060;
	font-weight: bold;
}

span.simpleDateandtime	{
	color: #606060;
	font-weight: normal;
	font-size: 11px;
}

/* the div which contains the link to the admin mode at the end of the script */
div.adminlink	{
	display:none;
	font-size: 9px;
	text-align: center;
	margin-top: 8px;
}

div.jsHelpLine	{
	color: #707070;
}

div.pageNavigation	{
	text-align: center;
	width: 100%;
	font-weight: bold;
}

div.htmlFooter	{
 display:none;
 text-align: center;
 font-size: 9px;
 margin-top: 10px;
}

#editConfigLink	{
	background-color: #fff;
	border-style: solid;
	border-width: 1px;
	border-color: #ff0000;
	margin-left: 30%;
	margin-right: 30%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 0px;
}

#totalNumber	{
	font-weight: bold;
	text-align: left;
	background-color: #fff;
	border-style: dotted;
	border-width: 0px;
	border-bottom-width: 1px;
	border-color: #c0c0c0;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 0px;
}

/* this gives the buttons and the other input fields their stylish flat look - disabled if unwanted */
input, textarea	{
	color: #606060;
	background-color: #fff;
	border-width: 1px;
	border-style: solid;
	border-color: #c0c0c0;
	padding: 1px;
}

img	{
	border-style: none;
	border-width: 0px;
}

.deleteButton	{
	color: #ff0000;
	background-color: #fff;
	border-color: #f00;
	margin: 5px;
}