/*
 * BASELINE HTML ELEMENTS
 *
 * Provides default styling for plain html elements.
 *
 */
 
/* Anchors (links) */
a:link    { color: #333; }
a:visited { color: #333; }
a:hover   { color: #333; }
a:active  { color: #333; }

/* Body and default font */
body {
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: .75em;
  margin: 0;
  padding: 0;
}

/* Dictionary lists */
dt {
  font-weight: bold;
}
dd {
  margin-bottom: 1em;
  margin-left: 1em;
}

/* Labels */
label {
  font-weight: bold;
}

/* Headers  */
h1 {
  color: #666;
  font-size: 1.25em;
}
h2 {
  color: #3398C8;
  font-size: 1.20em;
}
h3 {
  font-size: 1.15em;
}
h4 {
  font-size: 1.10em;
}
h5 {
  font-size: 1.05em;
}
h6 {
  font-size: 1em;
}

/* Images */
img {
  border: none;
}

/* Tables */
table {
  padding: 0;
}
tbody tr {
}
th, td {
  padding: .5em;
}
th {
  background-color: #3398C8; 
  color: #fff; 
  font-weight: normal;
}
td {
}

/* Textareas */
textarea {
  width: 99%;
}

/* IFrames */
iframe {
  border: none;
}

/*
 * COMMON STYLES
 *
 * These shortcuts can be used in lieu of the most commonly used inline styles.
 *
 */
 
/* Position */
.align_bottom { vertical-align: bottom; }
.align_top    { vertical-align: top; }
.align_left   { text-align: left; }
.align_center { text-align: center; }
.align_right  { text-align: right; }

/* Size */
.width_full { clear: both; width: 100% }
.width_half { float: left; overflow: hidden; width: 49%; }
.width_half > div { margin-right: 1em; }

/* Errors */
.error { color: #a10404; font-weight: bold; }

/* Footnotes */
.note {
  font-size: .8em;
}

/* Prevent wrapping */
.nowrap {
  white-space: nowrap;
}

/*
 * INTERFACE ELEMENTS
 *
 * Styles for common CMSPlus user interface elements.
 *
 */
 
/* Paging controls */ 
.rdcms-pagingcontrols {
  font-size: .6em;
  margin: .25em 0;
}
.rdcms-pagingcontrols-summary {
  margin: .5em 0;
}
.rdcms-pagingcontrols-index {
  margin: .25em 0;
}
.rdcms-pagingcontrols-index .ui-state-default {
  margin: 0 .25em .25em 0;
}
.rdcms-pagingcontrols-page span {
  width: 1em;
}

/* Detail pages, Edit forms and Lists */
.rdcms-detail, .rdcms-edit, .rdcms-list {
  background-color: #eeeeee;
  border-bottom: .2em solid #d4d4d4;
  width: 100%;
}
.rdcms-detail > tbody > tr > td, .rdcms-edit > tbody > tr > td {
  border-bottom: .1em dotted #d4d4d4;
  padding: .5em;
}
.rdcms-detail td, .rdcms-edit td, .rdcms-list td {
  vertical-align: top;
}
.rdcms-data-required {
  width: 10px;
}
.rdcms-data-label {
  font-weight: bold;
}
.rdcms-data-label .note {
  font-weight: normal;
}
.rdcms-data-value {
}
.rdcms-edit {
  border-top: .2em solid #d4d4d4;
  /* border-bottom: .2em solid #d4d4d4; */
}
.rdcms-detail .rdcms-data-label, .rdcms-edit .rdcms-data-label {
  width: 25em;
}
.rdcms-list {
}
.rdcms-list td {
  padding: .75em;
}
.rdcms-list .rdcms-detail {
    background: transparent;
    border: medium none;
}

/* Table headings containing sort buttons need no additional padding */
.rdcms-sortheader th {
  padding: 0 .5em;
}

/* Separates distinct sections of content within the page body */
.rdcms-section {
  /* border-bottom: .1em solid #d4d4d4; */
  margin: 1em 0 2em 0;
}

/* Move handle (for our implementation of jquery sortables) */
.rdcms-move-handle {
  cursor: move;
}

/*
 * BACKOFFICE
 *
 * Layout and other styles that are specific to the CMSPlus backoffice.
 *
 */

/* Buttons and Buttonsets */
.buttonset {
  height: 2em;
  margin: 1em 0;
}
.buttonset div.primary {
  float: left;
}
.buttonset div.secondary {
  float: right;
}
.buttonset .ui-button.ui-state-default, .search-form .ui-button.ui-state-default {
  background-color: #A8B324;
  background-image: none;
  color: #ffffff;
}
.buttonset .ui-button .ui-icon {
  background-image: url("/applications/CMSIncludes/lib/jquery/180/ui/themes/cmsplus/images/ui-icons_ffffff_256x240.png");
}
h1 .buttonset, h2 .buttonset, h3 .buttonset {
  float: right;
}
h1 .buttonset {
  font-size: .75em;
  margin: -.25em 0 0 1em;
}
h2 .buttonset {
  font-size: .75em;
  margin: -.5em 0 0 1em;
}
h3 .buttonset {
  font-size: .75em;
  margin: -.5em 0 0 1em;
}
td.buttonset {
  padding: .25em;
  white-space: nowrap;
}
table thead tr.rdcms-sortheader th a.ui-button {
  background: none;
  border: none;
  color: #ffffff;
  display: block;
}
thead th .ui-button .ui-icon {
  background-image: url("/applications/CMSIncludes/lib/jquery/170/ui/themes/cmsplus/images/ui-icons_ffffff_256x240.png");
}

/* Login area */
#rdcms-bo-login {
  float: right;
  color: #666;
  margin: 1em 0;
}
#rdcms-bo-login a {
  color: #666;
  margin: .5em;
  padding: .5em;
}
#rdcms-bo-login a:visited { 
  color: #999;
}  
#rdcms-bo-login a:hover {
  color: #A8B324;
}

/* Primary navigation */
#rdcms-bo-primarynav {
  font-size: 1em;
}
#rdcms-bo-primarynav ul {
  margin: .3em;
  padding: 0;
  list-style-type: none;
}
#rdcms-bo-primarynav li {
  background-color: #3398C8;
  display: inline;
  padding: .3em;
}
#rdcms-bo-primarynav .rdcms-bo-currentitem {
  background-color: #B6DAED;  
}
#rdcms-bo-primarynav a {
  text-decoration: none;
  font-weight: normal;
  color: #fff;
}
#rdcms-bo-primarynav a span {
  padding: .5em;
  white-space: nowrap;
}
#rdcms-bo-primarynav a:hover span {
  color: #000;
}
#rdcms-bo-primarynav .rdcms-bo-currentitem a {
  border-width: 0;
}
#rdcms-bo-primarynav .rdcms-bo-currentitem a span {
  color: #000;
  font-weight: bold;
}
#rdcms-bo-primarynav a:hover {
}
#rdcms-bo-primarynav a:hover span {
}
#rdcms-bo-primarynav .rdcms-bo-currentitem a:hover {
}
#rdcms-bo-primarynav .rdcms-bo-currentitem a:hover span {
  font-weight: bold;
}

/* Page body */
#rdcms-bo-body {
  border-width: 0 .1em .1em .1em;
  border-color: #d4d4d4;
  border-style: solid;
  clear: left;
  float: left;
  width: 99%;
}
#rdcms-bo-body.rdcms-bo-loggedout {
  border-top: .1em solid #d4d4d4;
}

/* Subnavigation */
#rdcms-bo-subnav {
  background-color: #b6daed;
  border-width: 0 .1em;
  border-color: #d4d4d4;
  border-style: solid;
  padding: .3em 0 0 0;
  overflow-x: auto;
  width: 99%;
}
#rdcms-bo-subnav a:link, #rdcms-bo-subnav a:visited, #rdcms-bo-subnav a:active {
  display: block;
  float: left;
  text-decoration: underline;
  text-align: center;
  margin: .2em .5em 0 .2em;
  padding: .2em .5em;
  font-weight: normal;
  color: #333;
}
#rdcms-bo-subnav a:hover {
  background: #fff;
}
#rdcms-bo-subnav a:link, #rdcms-bo-subnav a:visited, #rdcms-bo-subnav a:active {
  color: #333;
  font-weight: normal;
}
#rdcms-bo-subnav a:hover {
  color: #e3840b; 
  font-weight: normal;
  background-image: none;
  background-color: #fff;
}
#rdcms-bo-subnav a.rdcms-bo-currentitem {
  color: #e3840b;
  font-weight: bold;
  background: #fff;
}

/* Left side navigation */
#rdcms-bo-leftnav {
  border: .1em solid #d4d4d4;
  float: left;
  margin: 1em;
  /*position: absolute; */
  width: 15em;
}
#rdcms-bo-leftnav .rdcms-bo-heading {
  background-color: #cfe7f3;
  border-bottom: .1em solid #d4d4d4;
  color: #000;
  font-weight: bold;
  padding: .5em;
}
#rdcms-bo-leftnav hr {
  margin: .5em;
  height: 0;
  border-width: .1em 0 0;
  border-color: #d4d4d4;
  border-style: solid;
}
#rdcms-bo-leftnav ul { 
  padding: 0 .5em;
  margin: 1em 0;
}
#rdcms-bo-leftnav ul li {
  list-style-type: none;
  padding: 0;
}
#rdcms-bo-leftnav ul li a {
  color: #666;
  padding: 0;
}
#rdcms-bo-leftnav ul li a:visited { 
  color: #666; 
}
#rdcms-bo-leftnav ul li a:hover  { 
  color: #e3840b;
}
#rdcms-bo-leftnav a.rdcms-bo-currentitem { 
  color: #e3840b;
  font-weight: bold; 
}

/* Content area */
#rdcms-bo-content {
  padding: 1em;
}
#rdcms-bo-content.rdcms-with-leftnav {
    margin-left: 17em;
 }

/* Copyright notice */
#rdcms-bo-copyright {
  float: left;
  margin: .5em 0;
}

#rdcms-bo-footer {
clear: both;
  width: 99%;
}


/* Support link */
#rdcms-bo-support {
  float: right;
  margin: .5em 0;
}

/* Footer links */
#rdcms-bo-footer a:hover {
  color: #a8b324;
}

/* Page wrapper */
#rdcms-bo-wrapper {
  background-color: #fff;
  color: #333;
  padding: 0 1em;
}

.ui-helper-clearfix:after { clear: right !important; margin-top: 2em; }
