/* These CSS definitions are part of the flatPHPbook script (c) 2003 by Thomas Hettenhausen */

body	{
	/*background-color: #B0C58A;*/
	background:none;
	color: #663333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0px;
	margin-bottom: 0px;
	
}

/* styles the headline part of the page which initially reads " PHP Simple Guestbook Test Page" */
h1	{
	background-color: #f0f0f0;
	font-size: 18px;
	font-family: Verdana, Arial, Helvetica, sans-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: #FF0000;
	text-decoration: none;
}

a:visited {
	color: #666633;
}

a:active {
	color: #FF0000;
}

a.adminmode	{
	color: ff0000;
	text-decoration: none;
}

a:hover
{
	text-decoration: inherit;
}

/* styles the top part, where the welcomeMessage and the input forms etc. are at  */
div.gbinputarea	{
	/*background-color: #fff;
	border-style: none;
	margin-left: 0%;
	margin-right: 0%;
	margin-top: 25px;
	margin-bottom: 25px;*/

	padding: 10px;
	width: 740px;
	height:510;
	background-image: url(../../graphics/guest.gif);
	background-position: center center;
	background-repeat: no-repeat;
	
}

/* styles the input part, where the textarea etc. is at  */
div.gbinput	{
	/*background-color: #f0f0f0;
	/*border-style: dotted;
	border-width: 1px;
	border-color: #c0c0c0;*/
	/*margin-left: 15%;
	margin-right: 15%;
	margin-top: 25px;
	margin-bottom: 25px;*/
	padding: 10px;
	width: 740px;
	height:510;
	background-image: url(../../graphics/guest.gif);
	background-position: center center;
	background-repeat: no-repeat;
}

/* 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: 10%;
	margin-right: 0%;
	padding: 0px;
	width: 600px;

}

/* styles the left (nickname) part of the entries */
td.posttopleft	{
	background-color: #f0f0f0;
	font-size: 10px;
	font-weight: bold;
	/*border-style: dotted;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #c0c0c0;*/
	width: 20%;
	padding: 5px;
}

/* styles the right (date, time) part of the entries */
td.posttopright	{
	background-color: #f0f0f0;
	font-size: 10px;
	/*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	{
	font-size: 10px;
	/*border-style: dotted;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #c0c0c0;*/
	width: 20%;
	height: auto;
	padding: 5px;
	padding-top: 10px;
	/*background-color: #FFFFFF;	*/
}

/* styles the right (message) part of the entries */
td.postbottomright	{
	font-size: 10px;
	/*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;
	/*background-color: #FFFFFF;*/	
}

td.posttop
{
	background-color: #f0f0f0;
	font-size: 10px;
	/*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	{
	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	{
 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;
	font-size: 10px;
	font-style: italic;
}
#invito	{
	font-weight: bold;
	text-align: center;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 0px;
	font-size: 18px;
	font-style: italic;
}
/* this gives the buttons and the other input fields their stylish flat look - disabled if unwanted */
input, textarea	{
	color: #606060;
	background-color: #ffffff;
	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;
}
