input.date {
  width: 8em;
}

label {
  font-weight: bold;
}

div.row,
div.crow {
  margin-bottom: 4px;
  clear: both;
}

div.crow label {
  display:block;
  float:left;
  margin-right:1em;
  padding-top: 2px; /* Adjust to most right-hand input elements */
  text-align:right;
  width:30%;
  clear: both;
}

div.crow .checkboxlist label {
  display: inline;
  float: none;
}

#pnFormForm ul.contentPositionSelector {
  list-style: none;
  margin: 0px 0px 10px 0px;
  padding: 0px;
  float: left;
}

#pnFormForm ul.contentPositionSelector li {
  float: left;
}

#pnFormForm ul.contentPositionSelector label {
  display: block;
  float: none;
}

div.content-navigation {
  border: 1px solid #888;
}

div.content-navigation div.content-links {
  padding: 4px 6px;
  text-align: center;
}

div.content-page-heading h2 {
  border-bottom: 1px solid #777;
  margin-bottom: 0px !important;
  padding-bottom: 0px;
}

div.content-page-heading h3 {
  text-align: right;
  margin-top: 0px;
  padding-top: 0px;
}

div.content-toc img.dragable {
  cursor: move;
  vertical-align: middle;
}

div.content-toc a.hover {
  background-color: #AAA;
  border: 1px solid #888;
}

div.content-note {
  font-size: 80%;
  font-style: italic;
}

div.content-label-help {
  font-size: 0.9em;
  margin-left:30%;
  padding-left: 0.7em;
}

div.content-form {
  float: left;
  width: 100%;
}

div.content-form fieldset {
  padding: 2px 10px 2px 10px;
}

div.content-form div.buttons {
  margin: 10px 0px 10px 0px;
}

div.content-form div.buttons * {
  vertical-align: middle;
}

div.content-actionbar {
  background-color: #666;
  color: #FFF;
  padding: 2px 4px;
}

a.content-action {
  text-decoration: none;
  font-size: 80%;
  font-weight: normal;
}

div.content-actionbar a.content-action {
  color: #FFF;
}

div.content-page-path {
  font-weight: bold;
}

div.content-editthis {
  font-size: 90%;
}

div.pn-pager * {
  vertical-align: middle;
}

div.content-sitemap ul {
  margin-bottom: 0px !important; /* Andreas08 theme modifier */
}


/* ----------------------------------------------------------------------------
Layouts
---------------------------------------------------------------------------- */

.content-area-top {

}

div.content-layout.column2 p,
div.content-layout.column3 p {
  text-align:justify;
}

div.content-layout.column2 div.content-area-left {
  width: 45%;
  float: left;
}

div.content-layout.column2 div.content-area-right {
  width: 45%;
  float: right;
}

div.content-layout.column3 div.content-area-left {
  width: 30%;
  float: left;
}

div.content-layout.column3 div.content-area-center {
  width: 30%;
  float: left;
  margin-left: 5%;
}

div.content-layout.column3 div.content-area-right {
  width: 30%;
  float: right;
}

div.content-layout.column3 div.content-area-bottom,
div.content-layout.column2 div.content-area-bottom {
  clear: both;
}

/* ----------------------------------------------------------------------------
Content editing
---------------------------------------------------------------------------- */

.clickable
{
  cursor: pointer;
}

table.content-layout-edit {
  width: 100%;
  border-collapse: separate;
}

table.content-layout-edit td.content-area {
  border: 1px dashed #777;
  vertical-align: top;
}

/* Portal widget specific */

.widget {
  border: 1px solid #000;
  margin-bottom: 10px;
}

.widget_nw {
  height: 15px;
  background-color: #999;
  padding: 2px;
}

.widget_w {
}

.widget_sw {
}

.widget_title {
  font-weight: bold;
  text-align: left;
}

.widget_content {
  padding: 2px;
}

.widget_draggable {
  cursor: move;
}

.widget_ghost {
  background: #AAA;
  opacity: 0.5;
  filter: alpha(opacity=50);
  position: relative;
  border: 1px dashed #700;
}

/* ----------------------------------------------------------------------------
Content styling
---------------------------------------------------------------------------- */

div.figure-topLeft {
  margin: 0px 15px 5px 0px;
}

div.figure-topRight {
  margin: 0px 0px 5px 15px;
}

div.w25 { width: 20%; }
div.w33 { width: 30%; }
div.w50 { width: 45%; }
div.w66 { width: 60%; }
div.w75 { width: 70%; }
div.w100 { width: 100%; }
div.wauto { width: auto; }

div.greybox
{
  border: 2px solid #A0A0A0;
  background-color: #C0C0C0;
  padding: 0px;
}

div.redbox
{
  border: 2px solid #F74238;
  background-color: #F47770;
  padding: 0px;
}

/* ----------------------------------------------------------------------------
Various content plugins
---------------------------------------------------------------------------- */

div.content-item p.content-description {
  font-style: italic;
  margin-bottom: 0px;
}

.googlemap {
  border: 1px solid #000;
  background-color:#c0c0c0;
  width:100%;
  margin:0 0 10px 0 !important;
  padding:0 !important;
}
.map {
  height:200px;
}
.googlemap dd,
.googlemap dt {
  margin:0 !important;
  padding:0 !important;
}
.content-description {
  font-style:italic;
}

div.computercode {
  overflow: auto;
  border: 1px solid #000;
}

table.content-layout-edit div.computercode {
  border: none;
}

div.computercode li {
  font: 100% monospace;
}

div.computercode li pre {
  margin: 0px;
}

.pn-module-content * .youtube {
  margin:0!important;
  text-align:center;
}
.pn-module-content * blockquote {
  font-size:1.4em;
  font-weight:bold;
  margin:0 2em;
}
.pn-module-content * blockquote p {
  margin:0;
  padding:0;
  text-align:left!important;
}
.pn-module-content * p.source {
  text-align:right!important;
}

.pn-module-content * .itemleft { /* used by MediaAttach */
  float:left;
  padding-right:5px;
}

.pn-module-content * .itemright { /* used by MediaAttach */
  float:right;
  padding-left:5px;
}