/* 
  Most css comes from >> http://www.schillmania.com/content/projects/even-more-rounded-corners/
  2008.03.26 Only added some stuff for the input, button and links // Jens Wedin >> jedisthlm.com
*/

.dialog {
	 position:relative;
	 margin:0px auto;
	 min-width:2em;
	 max-width:500px; /* based on image dimensions - not quite consistent with drip styles yet */
	 color:#fff;
	 z-index:1;
	 margin-left:12px; /* default, width of left corner */
	 margin-bottom:0.5em; /* spacing under dialog */
	 border: solid 0px red;
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	 background:transparent url(button.png) no-repeat top right;
		_background-image:url(button.gif);
}

.dialog .content {
	 position:relative;
	 zoom:1;
	 _overflow-y:hidden;
	 padding:0px 12px 0px 0px;
	 border: solid 0px yellow;
}

.dialog .t {
	 /* top+left vertical slice */
	 position:absolute;
	 left:0px;
	 top:0px;
	 width:12px; /* top slice width */
	 margin-left:-12px;
	 height:100%;
	 _height:1600px; /* arbitrary long height, IE 6 */
	 background-position:top left;
	 border: solid 0px black;
}

.dialog .b {
	 /* bottom */
	 position:relative;
	 width:100%;
	 border: solid 0px white;
}

.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:1000px;
	 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. */
}



/* button, input, a {
	 font:2.5em georgia,"times new roman",helvetica,verdana,"sans serif";
	 color: #fff;
	 border: 0;
	 background: none;
	 padding: 20px 0 0 0;
	 display: block;
	 width: 100%;
	 text-align:center;
	 margin: 0 auto;
	 cursor: pointer;
	 text-decoration:none;
}

input {
 width: 96%;	
}
*/