/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0px;
	padding: 0px;
	font-size: 16px; 
}

hr {
  clear:      both;
  margin:     7px 0;
  display:    block;
}

form {
	margin: 0px;
	padding: 0px 0px;
}

input, select {
	 font-size: 14px;
}

h1 {font:24px georgia,"times new roman",helvetica,verdana,"sans serif";}
h2 {font:18px georgia,"times new roman",helvetica,verdana,"sans serif";}
h3 {font:16px "Trebuchet MS", georgia,"times new roman",helvetica,verdana,"sans serif";}
p {line-height:1.6em; font-weight: bold; 	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;}

.browntext {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #461700;
	font-weight: bold;
}

.brownsmall {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #461700;
	font-size: 14px;
}

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:700px; /* based on image dimensions */
 color:#fff;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0.1em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:url(images/dialog2-brown-800x600.png) no-repeat top right;
}

.dialog.type2 .content,
.dialog.type2 .t,
.dialog.type2 .b,
.dialog.type2 .b div {
 background-image:url(images/dialog2-cream-800x800.png);
}


.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 12px 0px 0px;
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width */
 margin-left:-12px;
 height:100%;
 _height:800px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.dialog .b {
 /* bottom */
 position:relative;
 width:100%;
}

.dialog .b,
.dialog .b div {
 height:15px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog .b {
 background-position:bottom right;
}

.dialog .b div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
 position:relative;
}

.dialog .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:800px;
 overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}

.dialog h1,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.dialog h1 {
 padding-left:10px; padding-bottom:10px;
}

.dialog h3 {
 padding-top:5px; padding-bottom:2px;
}

a:link	{ color: #461700; }
a:visited	{ color: #461700; }
a:hover	{ color: #D31141; }
a:active	{ color: #368AD2; }