/*
## editorelements.css - Contains style for editorelement content
*/
.editor-content {
  position: relative;
}

.underlined {
  text-decoration: underline;
}

.left-aligned {
  text-align: left;
}

.right-aligned {
  text-align: right;
}

/* Only align <p> elements this way */
p.center-aligned {
  text-align: center;
}

p.justify-aligned {
  text-align: justify;
}

/**********************
## IMAGE DESCRIPTION ##
**********************/
.image-box {
  border-collapse: collapse;
  width: 20px;
}

.left-floated {
  float: left;
  margin-right: 10px;
}

.right-floated {
  float: right;
  margin-left: 10px;
}

.none-floated {
  /*margin: 15px 0;*/
  margin-bottom:5px;
  display:inline-block;
}
.none-floated .none-floated,
.right-floated .right-floated,
.left-floated .left-floated {
 margin:0px;
 float:none;
 display:block;
}

.image-caption {
  background: #efefef;
  padding: 3px 5px;
  border: 1px solid #000;
}

/*************************
## USER BOX DESCRIPTION ##
*************************/
div.user-box {
  background-color: #ddd;
  padding: 5px;
  border: 1px solid #999;
}

div.user-box.left-floated {
  float: left;
  margin-right: 15px;
}

div.user-box.right-floated {
  float: right;
  margin-left: 15px;
}

/***********************
## TABLE DESCRIPTION ##
***********************/
/* common user table */
table.user-table {
  border-collapse: collapse;
}

table.user-table td,
table.user-table th {
  padding: 4px;
}

table.user-table thead td {
  font-weight: bold;
}

/* bordered user table */
table.bordered-user-table {
  border-collapse: collapse;
}

table.bordered-user-table td,
table.bordered-user-table th {
  border: 1px solid #666;
  padding: 4px;
}

table.bordered-user-table thead td {
  font-weight: bold;
}

/* outlined user table */
table.outlined-user-table {
  border-collapse: collapse;
  border: 1px solid #666;
}

table.outlined-user-table td,
table.outlined-user-table th {
  padding: 4px;
}

table.outlined-user-table thead td {
  font-weight: bold;
}

/* outlined horizontal bordered user table */
table.outlined-horizontal-user-table {
  border-collapse: collapse;
  border: 1px solid #666;
}

table.outlined-horizontal-user-table td,
table.outlined-horizontal-user-table th {
  padding: 4px;
  border-bottom: 1px solid #666;
}

table.outlined-horizontal-user-table thead td {
  font-weight: bold;
}

/* horizontal bordered user table */
table.horizontal-user-table {
  border-collapse: collapse;
}

table.horizontal-user-table td,
table.horizontal-user-table th {
  padding: 4px;
  border-bottom: 1px solid #666;
}

table.horizontal-user-table thead td {
  font-weight: bold;
}

/* outlined vertical bordered user table */
table.outlined-vertical-user-table {
  border-collapse: collapse;
  border: 1px solid #666;
}

table.outlined-vertical-user-table td,
table.outlined-vertical-user-table th {
  padding: 4px;
  border-right: 1px solid #666;
}

table.outlined-vertical-user-table thead td {
  font-weight: bold;
}

/* vertical bordered user table */
table.vertical-user-table {
  border-collapse: collapse;
  border-left: 1px solid #666;
}

table.vertical-user-table td,
table.vertical-user-table th {
  padding: 4px;
  border-right: 1px solid #666;
}

table.vertical-user-table thead td {
  font-weight: bold;
}

/***********
## IFRAME ##
***********/
iframe.left-floated {
  margin-right: 10px;
}

iframe.right-floated {
  margin-left: 10px;
}

/*********************
## FILE DESCRIPTION ##
*********************/
.fileObject img {
  float: left;
  margin-right: 4px;
}

.fileObject span {
  color: #999;
}

/*********************
## FORM DESCRIPTION ##
*********************/
.content form {
  width: 99%;
}
form ol {
  list-style-type:none;
  margin:0;
  padding:0;
}
.content form li.separate {
  margin-bottom:20px;
}
.content form li.afterseparate {
  clear:both;
}
.content form fieldset,
#groovyForm fieldset {
  padding: 10px 10px 5px 10px;
  border: 1px solid #ccc;
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;
}

.content form p {
  margin: 5px 0 8px 0;
}

.content form legend {
  font-weight: bold;
  color:#000;
  padding: 0 5px;
  margin-bottom: 10px;
}

.content form .mandatory {
  color: #f00;
}

.content form .error input,
.content form .error select,
.content form .error textarea{
  background-color: #ffffcb;
}
.content form .error,
.content form label.error,
.content form p.error,
.content form .error p {
  color: #f00;
}
#wrapper .content form .error {
  border-color: red;
}
.content form li {
 position:relative;
 z-index:1;
 clear:both;
}
.content form li span.error {
  display:block;
  padding:5px;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
  background-color:#fff;
  border:1px solid #ddd;
  position:absolute;
  top:-5px;
  right:20px;
  width:50%;
  font-size:91%;
}

form li.one_liner,
form li.form_captcha,
form li.form_password {
  float:left;
  clear:none;
  width:50%;
}
form li.form_password,
form li.form_captcha,
form li.username {
  clear:both;
  margin-right:50%;
}

.content li.one_liner input,
.content li.one_liner textarea,
.content li.form_password input,
.content li.form_captcha input {
  width:90%;
}

.content li label {
  display: block;
  font-weight:bold;
  margin-top: 10px;
  margin-bottom: 2px;
  margin-right: 20px;
}

.content li.form_text input {
  display: block;
  margin-bottom: 8px;
  margin-right: 20px;
}

.content select,
.content .form_text input,
.content .form_password input,
.content .form_captcha input{
  width: 98%;
  padding:5px;
}

.content form select option {
  padding: 0 5px 0 3px;
}

.content form textarea,
#groovyForm textarea {
  width: 99%;
  margin-bottom: 8px;
}

.content form select {
  margin-bottom: 8px;
}

.content form .form_fileinput input{
  margin-bottom: 8px;
}
.content form li.form_checkbox {
  position:relative;
  z-index:1;
}
.content form li.form_checkbox input{
  margin:5px 0px 10px 0px;
}
.content form .form_checkbox label {
  position:absolute;
  z-index:2;
  left:20px;
  top:5px;
}

.content form .form_radio_button_group input{
  margin: 3px 5px 3px 0px;
}

.content form input.submit {
  clear:both;
  margin-right: 5px;
  padding: 4px;
}

.content blockquote {
  padding-left:20px;
}

#groovyForm input {
  margin-bottom:8px;
}
