/*
## editorelements.css - Contains style for editorelement content
*/
.article-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; removed by sveinung*/
  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; 
}

/*************************
## 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;
}
.article-content strong {
  color:#0061A4;
}
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%;
}

.content form fieldset {
  padding: 10px 10px 5px 10px;
  border: 1px solid #ccc;
}

.content form p {
  margin: 5px 0 8px 0;
}

.content form legend {
  font-weight: bold;
  padding: 0 5px;
}

.content form .mandatory {
  color: #f00;
}

.content form input.error,
.content form select.error,
.content form textarea.error {
  background-color: #ffffcb;
}
.content form .error,
.content form label.error,
.content form p.error {
  color: #f00;
}
#wrapper .content form .error {
  border-color: red;
}

.content label.block,
.content label .block {
  display: block;
  margin-bottom: 2px;
  margin-right: 20px;
}

.content form input.block {
  display: block;
  margin-bottom: 8px;
  margin-right: 20px;
}

.content form select,
.content form .default {
  width: 99%;
}

.content form select option {
  padding: 0 5px 0 3px;
}

.content form textarea {
  width: 99%;
  margin-bottom: 8px;
}

.content form select {
  margin-bottom: 8px;
}

.content form input.file {
  margin-bottom: 8px;
}

.content form input.checkbox {
  margin: 3px 8px 11px 0;
}

.content form input.radiobutton {
  margin: 0 5px;
}

.content form div.submit {
}

.content form input.button.submit,
.content form input.button.reset {
  margin-right: 5px;
  padding: 4px;
}



/* error-messages - TODO: clean up this mess */
.content h3.error-messages {
  font-size: 12px;
  color: #be0000;
}

.content ul.error-messages {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.content ul.error-messages li {
  padding: 4px 0;
  color: #be0000;
}

.content ul.error-messages li a:link,
.content ul.error-messages li a:visited {
  color: #be0000;
}

.content span.error-item {
  padding-left: 4px;
  font-weight: normal;
  color: #be0000;
}

.content blockquote {
  padding-left:20px;
}