/* Login form & Forgot Password */
fieldset#login-form,
fieldset#lostpass-form {
	margin: 1.5em 0 0 0;
	padding: 0;
	border: 1px dotted #DCA7FC;
}
fieldset#login-form legend,
fieldset#lostpass-form legend {
	margin-left: 1em;
	color: #000000;
	font: bold 14px Arial;
	padding: 5px 10px;
	background-color: #F2DEFE;
	border: 1px solid #DCA7FC;

}
fieldset#login-form div,
fieldset#lostpass-form div {
	margin: 20px 0 0 18px;
}
fieldset#login-form div.last,
fieldset#lostpass-form div.last {
	margin-bottom: 20px;
}

fieldset#login-form label,
fieldset#lostpass-form label {
	float: left;
	margin-right: 1em;
	font: bold 14px Arial;
}

.form-textbox {
	font: normal 14px Arial, Verdana, sans-serif;
	padding: 5px 0 5px 5px;
	border: 1px solid #aaaaaa;
	background: #ffffff url(/img/inputBg.gif) top left no-repeat;
}
.form-select {
	font: normal 14px Arial, Verdana, sans-serif;
	padding: 5px 1px;
	border: 1px solid #aaaaaa;
}
.form-checkbox {
	display: inline;
	vertical-align: middle;
	position: relative;
}
.form-button,
.form-button2 {
	padding: 3px 6px;
	font: normal 14px Arial, Verdana, sans-serif;
}
.form-button2 {
	color: #808080;
}

fieldset#lostpass-form {
	margin-top: 50px;
}


/* Join Page / Profile Page*/
div.form-row {
	margin-bottom: 10px;
}
#join-form div.form-row,
#profile-about div.form-row {
	text-align: left;
	clear: left;
}
#join-form label,
#profile-about label  {
	float: left;
	min-width: 12em;
	clear: left;
	font: bold 14px Arial;
	color: #808080;
	padding-top: 5px;
}


/* inline warning window */
div.contexthelp-info,
div.contexthelp-error,
div.contexthelp-success {
	font: normal 11px Arial;
	color: #666;
	display: block;
  visibility: hidden;
  padding: 1px 0 0 24px;
	height: 16px;
}
div.contexthelp-info {
	background: url(/img/icns/information.png) 0 0  no-repeat;
}
div.contexthelp-error {
	background: url(/img/icns/error.png) 0 0  no-repeat;
}
div.contexthelp-success {
	background: url(/img/icns/16x16/accept_green.png) 0 0  no-repeat;
}


/* Joke Submit Form */
fieldset#joke-submit-form {
	margin: 1.5em 0 0 0;
	padding: 0;
	border: 1px solid #DCA7FC;
	border-width: 1px 0 0 0; 
}
fieldset#joke-submit-form legend {
	margin-left: 1em;
	color: #000000;
	font: bold 14px Arial;
	padding: 5px 10px;
	background-color: #F2DEFE;
	border: 1px solid #DCA7FC;
}
fieldset#joke-submit-form div.form-row {
	margin: 20px 0 0 20px;
}
fieldset#joke-submit-form div.form-row p {
	margin-top: -18px;
	margin-bottom: 10px;
	color: #8A8A8A;
	display: block;
	background-color: #F4F4F4;
	padding: 2px;
	text-align: justify;
}
fieldset#joke-submit-form div.last {
	margin-bottom: 20px;
}
fieldset#joke-submit-form label.title {
	display: block;
	margin-right: 1em;
	font: bold 14px Arial;
	padding: 0;
}
fieldset#joke-submit-form ul#category li {
	float: left;
	font: normal 14px arial;
	color: #808080;
	margin: 1px;
	width: 200px;
	background-color: #FFF;
	display: block;
}
fieldset#joke-submit-form ul#category li input {
	margin-right: 1px;
}
fieldset#joke-submit-form ul#category li label.cat-label:hover {
	color: #AC59FF;
	cursor: pointer;
	font-weight: bold;
}


fieldset#joke-submit-form div.form-row #live-preview-comment,
fieldset#joke-submit-form div.form-row #live-preview-author,
fieldset#joke-submit-form div.form-row #live-preview-cat {
	font: normal 11px Verdana;
	color: #000;
}

fieldset#joke-submit-form div.form-row #live-preview-author,
fieldset#joke-submit-form div.form-row #live-preview-cat {
	margin-top: 20px;
	margin-right: 40px;
	float: left;
	color: #8A8A8A;
}




/* Warning */
.warning {
	margin: 5px 0;
	min-height: 40px;
}

.alert {
	background-color: #FFFFEA;
	border: 1px solid #FFFF00;
}
.attention, .error {
	background-color: #FFEAEA;
	border: 1px solid #FF0000;
}

.success {
	background-color: #ECFFEC;
	border: 1px solid #00E800;
}
.alert div.icon {
	background: url(/img/icns/32x32/alert.png) 0 0 no-repeat;
}
.attention div.icon {
	background: url(/img/icns/32x32/attention.png) 0 0 no-repeat;
}
.error div.icon {
	background: url(/img/icns/32x32/error2.png) 0 0 no-repeat;
}
.success div.icon {
	background: url(/img/icns/32x32/correct.png) 0 0 no-repeat;
}
.alert,
.attention,
.error,
.success {
	border-width: 1px 0;
	padding: 10px 0;
}
.warning div.icon {
	float: left;
	width: 45px;
	height: 45px;
	margin: 0 0 0 10px;
}
.warning div.text {
	margin-left: 50px;
	font: normal 13px/1.3em Arial;
	padding: 0 10px 0 0;
	text-align: justify;
}
.warning div.text ul {
	padding: 0 0 0 3em;
	list-style: disc;
}
.yellow-box {
	padding: 5px;
	font: 11px Arial;
	background-color: #FFFFD2;
	border: 1px solid #FFFF5B;
	border-width: 1px 0;
}


/* inline warning */
/*
	<div id="poppDiv" class="inline-warning">
		<div>
			<p><strong>Make your vote count!</strong> To '+text+', 
			<a href="#" onclick="return dologin();">login</a> or 
			<a href="/register/">join Digg</a> for free.</p>
			<a href="javascript:unpopp()">
			<img src="/img/close.gif" class="close" width="22" height="22" alt="Close" />
			</a>
			</div>
			</div>
			*/
.inline-warning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200000000;
    background: url(/img/matte.png);

} /*IE6*/
.inline-warning div {
    margin: 10px 30px;
    float: left;
    position: relative;
    padding: 10px;
    background: #FFFFFF url(/img/inputBg.gif) 0 0 repeat-x;
    border: 1px solid #A09D97;
    width: 500px;
}
.inline-warning div p {
	margin: 0 3px 0px 10px;
	background: url(/img/icns/attention_grey.gif) 0 2px no-repeat;
	padding: 0 0 0 25px; 
}

.inline-warning .close {
    position: absolute;
    right: 10px;
    top: 10px;
}


/* misc */
input.blur {
	color: #999;
}
