/**
 * Forms CSS
 * $Id: form.css 2 2008-04-16 13:53:48Z blakx $
 */

form .form_block_contents
{
    padding: 5px;
    background: #F8F8F8;
    border-bottom: 1px solid #999;
}

div.errors {
    background:#FBE6F2 url(/images/erreur.png) no-repeat scroll right bottom;
    border:1px solid #D893A1;
    color:#333333;
    margin:5px 0px;
    padding:8px 20px 8px 8px;
}

div.errors dl
{
    margin: 0px;
}

.form_success
{
  background: #C8FFBF;
  border: 1px solid #5CDF45;
  border-bottom: 2px solid #5CDF45;
  border-right: 2px solid #5CDF45;
  padding:5px;
  margin-top: 20px;
}

.form_success h2 {
    background:transparent url(/images/ok.gif) no-repeat scroll left top;
	padding: 0px;
	margin-top: 5px;
	padding-top:5px;
	padding-left:30px;
	font-weight: bold;
	font-size: 1.5em;
	color: #3ABC23;
}

.success {right: 10px;width:auto;background: #C8FFBF;border: 1px solid #5CDF45;padding:5px;margin:5px;display:block}

.inline_success
{
    position: absolute;
    right: 10px;
    width:auto;
    background: #C8FFBF;
    border: 1px solid #5CDF45;
    padding:5px;
    margin:5px;
}

.inline_warning
{
    border: 1px solid #F00;
    background: #FAA no-repeat 5px 5px;
    color: #FFF;

    position: absolute;
    right: 10px;
    width:auto;
    padding:5px;
    margin:5px;
}

form div.errors label.errorLabel
{
    background:transparent url(/images/arrow.png) no-repeat scroll left top;
}


form div.error span.element
{
    font-weight: bold;
    padding-right: 100px;
}

form div.error span.message
{
}

.form_success p {
	margin:10px;
}


div#form_fatal
{
    background:#DDD;
    border: 1px dotted #F00;
    padding: 10px;

    font-weight: bold;
	color: #900;

    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    width: 600px;
}

div#form_fatal h1
{
    background: transparent;
    border-bottom: 1px dotted #A00;
	color: #A00;

	padding: 0px;
	margin: 0px;
	font-weight: bold;
}

.form_success .buttons { color: black; margin-left: 40%; }

.error dl {
	margin: 0px;
}

.error dt {
	font-weight: bold;
}

.filter_error,
.element_error {
	border-bottom: dotted 1px red;
}

input.dateField
{
    width: 100px;
}

.dateResetBtn {background:transparent url(/images/delete_16.gif) no-repeat scroll left top;border:0 none;cursor:pointer;height:16px;width:16px}


img.dateSelectImg,
img.dateResetImg,
img.dateSelectImg:hover,
img.dateResetImg:hover {
	border: 0px !important;
	padding: 0px 2px;
	vertical-align: middle;
	cursor:pointer;
}

form.form_liste th,
form th {
	vertical-align: top;
	font-weight: normal;
	white-space: nowrap;
	padding-right: 5px;
	text-align: left;
}

form.form_liste td,
form td {
	vertical-align: top;
}



form h3 {
	background:#999 none repeat scroll 0%;
	font-size: 1em;
	font-weight:bold;
	color: white;
	padding:2px 0px 2px 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

form h4 {
	font-size: 1em;
	font-weight:bold;
	color: white;
	padding:2px 0px 2px 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.editForm h4 {background: #CCC}

.information {
	padding:0px;
	display: block;
	color:#999999;
	font-size:1em;
	font-weight:bold;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 10px;
}

.notification
{
	display: block;
	font-size: 1em;
	margin: 10px;
}

.notification a
{
    color: black;
    text-decoration: underline;
}

.notification a:hover
{
    color: #F00;
    text-decoration: underline;
}


.warning
{
	display: block;
	color: #C00;
	padding:5px 10px;
}

form label
{
	cursor: pointer;
	white-space: nowrap;
	padding-left: 12px;
	margin-left: 10px;
	font-weight: bold;
}

form label.checkbox
{
	padding-left: 5px;
	margin-right: 20px;
	margin-left: 0px;
}

form .required
{
  background: url(/images/arrow.png) no-repeat center left;
}

form div.error label.errorLabel
{
  background: url(/images/arrow.png) no-repeat center left;
}

#form_block_actions {
    top: 10px;
    right: 5px;
    position: absolute;
}

/* Main Form Layout */
.editForm
{
    padding: 0px 0px 5px 0px;
    background: #EEE;
    border-top: 1px solid #CCC;
    border-right: 1px solid #CCC;
    border-left: 1px solid gray;
    border-bottom: 1px solid gray;
}

.tab_block
{
    border-top: 0px;
    background: #F5F5F5;
}

.TabBlock
{
    border-top: 0px;
    margin-left: -1px;
}


table.editForm,
.editForm table.inner {width: 100%}

* html body table.editForm {width: 95%}


.editForm th {white-space: nowrap;text-align:left;width:200px}

form tr td input.button,
.editForm input.button
{
    width: auto;
}

form tr td textarea
{
    font-family: arial,sans-serif;
    font-size: 1em;
}

textarea.code, textarea.logs
{
    font-family: Courier New;
    color: #999;
    font-size: 10px;
}

textarea.gpg
{
    font-family: Courier New;
    color: #999;
    font-size: 0.8em;
}

div.block_confirm
{
    background: #F0F5FF no-repeat 10px 5px;
    padding: 5px 10px 10px 5px;
    margin : 5px;
    border-top: 1px solid #716FB3;
    border-right: 1px solid #716FB3;
    border-left: 1px solid #0396D7;
    border-bottom: 1px solid #0396D7;
}

div.block_confirm h2
{
    background: transparent;
    padding: 0px 0px 5px 0px;
    font-size: 1.2em;
    font-weight: bold;
}

div.block_confirm dt
{
    float: left;
}

div.block_confirm dd {margin-top:-10px;padding-left:15em}

div.block_warning
{
    background: #FFD24E url(/images/alert.gif) no-repeat 10px 5px;
    padding: 5px 10px 10px 45px;
    margin : 5px;
    border: 1px solid #F00;
    font-weight: bold;
}

h1.summary
{
    background: transparent;
    color: #000;
    border-bottom: 1px dotted;
}

div.block_fatal
{
  background: #EEE url(/images/fatal.gif) no-repeat 5px 5px;
  border: 1px groove #F00;
  padding: 8px 10px;
  margin-top: 20px;
  font-weight: bold;
}

iframe.date_calendar
{
    position:absolute;
    z-index:2;
}


span.example
{
    font-size: smaller;
    font-style: italic;
}

#publishBtn
{
    background:#A0A0A0 url(/images/small/agt_action_success.png) no-repeat scroll 2px top;
    padding-left: 20px;
}

#noPublishBtn
{
    background:#A0A0A0 url(/images/small/cancel.png) no-repeat scroll 2px top;
    padding-left: 20px;
}

div.previewBox
{
    border-top: 2px solid #333;
    border-left: 2px solid #333;
    border-right: 2px solid #CCC;
    border-bottom: 2px solid #CCC;
    background: #FFF;
    padding: 5px;
}

.dateResetBtn {cursor:pointer;border:0px;background:transparent url(/images/delete_16.gif) no-repeat scroll 3px 3px;width:20px;height:20px}
.dateResetBtn span.text {display:none}

#page_result {padding:5px;margin:5px 10px 5px 120px;border:1px solid #FFF;position:static}
#page_result.success {background: #C8FFBF;border: 1px solid #5CDF45;}
#page_result.error {border: 1px solid #F00;background: #FAA no-repeat 5px 5px;color: #FFF}
