/* These CSS definitions are part of the flatPHPbook script (c) 2003 by Thomas Hettenhausen */
/* die vorgenommenen Anpassungen unterliegen dem Copyright von www.zanshin-karate-do-ettlingen.de*/

body	
{
 font-family:Verdana;
 font-size:10pt;
 	
 padding-left:2%;
 padding-right:1%;
 margin-top:10px;
}

/* styles the headline part of the page which initially reads " PHP Simple Guestbook Test Page" */
h1	{
	text-align: center;
	margin-left: 10%;
	margin-right: 10%;
	margin-bottom: 20px;
	padding: 10px;
}

/* nicht nötig
h2	{
	font-size: 16px;
}
*/

/* for some reason, this is not inherited from the body tag */
td	{
	font-size: 12px;
}

p
{
  text-align:inherit;
}

a.adminmode	{
	color: f00;
}


/* styles the top part, where the welcomeMessage and the input forms etc. are at  */
div.gbinputarea	{
	border-style: dashed;
	border-width: 1px;
	border-color:black;
	background-color:#FDFEFF;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 10px;
}

/* styles the input part, where the textarea etc. is at  */
.gbinput	{
	border-style: none;
	margin-left: 0%;
	margin-right: 0%;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px;
}

.gbinputtable
{
  background-color:#EAEAEA;
}

/* 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;
	border-style:none;
	margin: 0px;
	margin-left: 10%;
	margin-right: 10%;
	padding: 0px;
	width: 80%;
}

/* styles the left (nickname) part of the entries */
td.posttopleft	{
	background-color: #FFDEA8;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #000000;
	width: 20%;
	padding: 5px;
	margin-top:100px;
}

/* styles the right (date, time) part of the entries */
td.posttopright	{
	background-color: #FFDEA8;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #000000;
	width: auto;
	padding: 5px;
}

/* styles the left (homepage, email) part of the entries */
td.postbottomleft	{
	background-color: #FDFEFF;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #000000;
	width: 20%;
	height: auto;
	padding: 5px;
	padding-top: 10px;
}

/* styles the right (message) part of the entries */
td.postbottomright	{
	background-color: #FDFEFF;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-top-width: 0px;
	border-color: #000000;
	width: auto;
	height: auto;
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 15px;
}

td.posttop	{
	background-color: #FBE0B5;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-bottom-width: 0px;
	border-color: #000000;
	height: auto;
	padding: 5px;
}

td.postbottom	{
	background-color: #FDFEFF;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-top-width: 1px;
	border-color: #000000;
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 15px;
}

td.postspacer
{
	border-style: solid;
  border:1px;
  border-left-width:0px;
  border-right-width:0px;
  height:4em;
}


span.forgotten	{
	color: #ff0000;
}

span.nickname	{
	font-weight: bold;
}

span.dateandtime	{
	color: #000;
	font-weight: bold;
}

span.simpleDateandtime	{
	color: #606060;
	font-weight: bold;
}

/* 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;
}

a.adminlink-link:link{
  color:white;
}

div.jsHelpLine	{
	color: #707070;
	font-size:7pt;
}

div.pageNavigation	{
	background-color: #FFDEA8;
	text-align: center;
	font-weight: bold;
  border-style:solid;
  border-width:1px;
  border-color:black;
 	margin-left: 10%;
	margin-right: 10%;
	margin-bottom:1em;
	margin-top:1em;
  padding-top:1px;
  padding-bottom:1px;
}

.pageNavLink:link
{
 color:#C28400;
}

p.pageNavigationParagraph {
  margin:0px;
  padding:0px;
  text-align:center;
}


div.htmlFooter	{
 text-align: center;
 font-size: 9px;
 margin-top: 10px;
}

#editConfigLink	{
	background-color: #FFE4B5;
	color: #f00;
	border-style: solid;
	border-width: 1px;
	border-color: #ff0000;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 3px;
}

#totalNumber	{
	font-weight: bold;
	text-align: center;
/*	background-color: #FDFEFF;*/
	border-style: none;
/*	border-width: 1px;
	border-color: #000000;*/
	padding: 3px;
}

/* this gives the buttons and the other input fields their stylish flat look - disabled if unwanted */
input, textarea	{
	background-color: #ffffff;
	border-width: 1px;
	border-style: solid;
	border-color: #666666;
	padding: 1px;
}

img	{
	border-style: none;
	border-width: 0px;
}

.deleteButton	{
	color: #f00;
	background-color: #fff;
	border-color: #FFA307;
	margin: 5px;
}

.approveButton{
 border-color:#00F331;
 color: #00F331;
 background-color: #fff;
 margin: 5px;
}


.editButton{
 border-color:#0C00DE;
 color: #0C00DE;
 background-color: #fff;
 margin: 5px;
}



