acronym {
  cursor: help;
}

#actions {
  float: right;
  width: 36.1%;
  padding-left: 15px;
}

#records {
  float: left;
  width: 60.6%;
  padding-right: 15px;
}

#actions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#actions li a {
  background-color:#F6F5F4;
  background-position: 12px;
  background-repeat: no-repeat;
  border:1px solid #B7B7A8;
  display:block;
  padding:9px 12px 9px 36px;
}
#actions li a:hover {
  text-decoration: underline;
}

#actions li {
  background-image: none; 
  margin-top: 10px;
}

#sort-status {
  padding: 5px 5px 5px 0px;
}

 
.form-actions {
  margin-top: 10px;
}

.actions img {
  border: none;
}

.actions a, .actions a:hover {
  border: none;
  text-decoration: none;
}

.errorExplanation {
  background: 7px 10px no-repeat url('/images/refinery/icons/cancel.png') #FFB1B1;
  padding: 0px 5px 5px 30px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid red;
}

.errorExplanation h2 {
  color: red;
  text-transform: none;
  display: none;
}

.errorExplanation p {
  font-weight: normal;
}

.fieldWithErrors input, .fieldWithErrors textarea {
  border: 1px solid red;
  background-color: #FFECF0;
}

#flash {
  width: 545px;
}

#message, #flash {
  padding: 8px 8px 8px 30px;
  margin-bottom: 5px;
}

.flash_notice {
  border: 1px solid #00A017;
  color: #00A017;
  background: 7px 7px no-repeat url('/images/refinery/icons/accept.png') #E0F5E0;
}

.flash_notice, .flash_notice * {
  color: #00A017;
}

.flash_error {
  border: 1px solid #A00027;
  color: #A00027;
  background: 7px 7px no-repeat url('/images/refinery/icons/cancel.png') #FFB1B1;
}

.splash #content {
  background: url('/images/refinery/admin_bg.png') repeat-y;
}

.less-important {
  color: #727272;
}

#header a, #administration_tabnav a, #submenu a {
  border: 0px;
}

#header  li {
  background-image: none; 
  float: left;
  margin-right: 2px;
  list-style: none;
}

#header li a {
  display: block;
  padding: 9px 13px;
  font-size: 14px;
  background-color: #c2c2b3;
  margin-top:4px;
}

#header li a:hover {
  background-color: #deded9;
}

#header li a.active {
  background-color: #f6f5f4;
  padding: 11px 13px;
  margin-top: 0px;
}

#content {
  padding: 15px;
}

pre {
  margin: 0;
  padding: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}


#page_container.login #header {
  padding: 42px 15px 42px 15px;
  height: 35px;
}

#site_link {
  display: block;
  color: #C2C2B3;
  float: left;

}

#site_link:hover {
  text-decoration: underline;
}

#header #logo {
  position: absolute;
  right: 20px;
  top: 25px;
}

#header h1, #header h1 a {
  color: white;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 0;
  padding-bottom: 4px;
  margin-top: 0;
}

#header p {
  color: white;
  font-size: 90%;
  padding: 0;
  margin: 0;
}

#footer {
  margin: 0px auto;
  text-align: center;
}

#footer_logo {
  border: 0px none;
  display:inline-block;
  *display:inline;
  margin: 50px auto 40px auto;
  width: auto;
}

#footer p, #footer a {
  /*color: white;*/
  font-size: 11px;
}

#submenu {
  clear: both;
  padding-left: 10px;
  background: url('/images/refinery/nav-3-background.gif') #EFEE8 repeat-x bottom;
}

#submenu ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}

#submenu li {
  background-image: none; 
  float: left;
}

#submenu li a {
  display: block;
  padding: 6px;
}

#submenu2 {
  margin-left: 10px;
  margin-right: 12px;
}

#submenu a {
  color: #727272;
  text-decoration: none;
}

.filter {
  float: right;
}

#records ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

#records li {
  list-style-type:none;
  background-image: none; 
  padding: 5px;
  vertical-align: top;
  margin-bottom: 2px;
}

#records .left-column {
  float: left;
  width: 65%;
}

#records .left-column img {
  vertical-align: bottom;
  margin-top: 1px;
  margin-right: 5px;
}

#records .right-column {
  float: right;
  width: 34%;
  text-align: right;
}

#records .on {
  background-color: #FFF8F1 !important;
}
#records .off {
  background-color: #ddd !important;
}

#records .on-hover, #pagination ul a:hover, #pagination .on {
  background-color: #ddd !important;
}
#records ul.empty {
  display: none;
}

/* order of specificity: class rules need to be ruled important otherwise id based rules override them */
.tree ul li ul {
  padding: 0;
}

.tree ul li {
  background-image: none; 
  margin: 0 !important;
  padding: 5px 0 0 40px !important;
  background: url('/images/refinery/branch.gif') no-repeat 15px 0px;
}

.tree .on-hover, #pagination ul.tree a:hover, #pagination .tree .on {
  background: url('/images/refinery/branch.gif') no-repeat 15px 0px;
}

.tree ul li.branch_start {
  background-image: url('/images/refinery/branch-start.gif');
}
.tree ul li.branch_end {
  background-image: url('/images/refinery/branch-end.gif');
}

.tree li span.spacing {
  display: none;
}
#content .ui-sortable li.hover {
  height: 300%;
  display: block;
}

#content .ui-sortable {
  margin: 0;
  padding: 12px 0px;
}

#content .ui-sortable li ul{
  padding: 6px 10px 12px 40px !important;
}

/*
#content ul.ui-sortable li {
  background-image: none; 
  background: #E6E5DC !important;
  cursor: move;
  border: 1px solid #b7b7a8;
  margin-bottom: 2px !important;
  padding: 3px 0px 0px 3px !important;
}
*/
#content ul.ui-sortable li ul.empty {
  display: block;
}
#content ul.ui-sortable li ul li.empty {
  border: 0px none;
}
#content .ui-sortable .actions {
  display: none !important;
}
#content .ui-sortable ul.spacing li {
  display: block;
  border: 0px none;
}
#content .ui-sortable ul {
  min-height: 12px;
}
#content .ui-sortable li.placeholder {
  opacity: 0.4;
  border-width: 2px;
  border-style: dashed;
  height: 38px;
}
#content ul.ui-sortable li.ui-sortable-helper {
  height: 38px !important;
}
#content ul.ui-sortable li.ui-sortable-helper ul {
  display: none;
}
.ui-sortable-helper {
  opacity: 0.7;
}

/*** Pagination **/

.pagination {
  text-align: center; 
  font-size: 11px; 
  font-weight:bold;
  background-color: #fff;
  padding: 7px;
  margin: 10px 0px;
}

.pagination .disabled {
  color: #A8B9C1;
}

.pagination a, .current, .disabled  {
  padding: 7px;
  line-height: 20px;
  border: none;
}

#dialog-form-actions .pagination {
  margin: -4px 6px -4px 0px;
  float: right;
  width: auto;
}
#dialog-form-actions .pagination a, #dialog-form-actions .pagination .current, #dialog-form-actions .pagination .disabled {
  line-height: 15px;
}

textarea {
  font: 12px Arial;
  line-height: 20px;
  padding: 5px;
}

.field-couple {
  margin-bottom: 20px;
}

.submit {
  border: auto;
  width: auto;
  height: 25px;
}

label {
  font-size: 110%;
  margin-bottom: 5px;
  font-weight: bold;
  display: block;
}

label.input_label {
  font-size: inherit;
  margin-bottom: inerhit;
  display: inline;
  font-weight: normal;
  margin-top: inherit;
}

small label {
  font-size: inherit;
  font-weight: inherit;
  display: inherit;
}

label.stripped {
  float: none;
  display: inline;
  font-weight: normal;
  font-size: 1em;
  margin: 0px;
  padding: 0px;
}

.form-actions {
  background-color: white;
  padding: 10px;
}

#body_field {
  float: left;
  width: 60%;
}

.no_side_body {
  width: 72% !important;
}

.record .title span {
  line-height: 20px;
}
#records  .actions {
  float: right;
  width: 85px;
  text-align: right;
  display: block;
}

.tree .actions {
  margin-top: -6px;
}

.actions a {
  display: block;
  float: right;
  margin: 2px;
  line-height: 16px;
}
.actions a * {
  padding: 2px;
}

.actions a:hover {
  color: #E6E5DC;
}

.actions a.cancel {
  color: #AF0027;
}

.actions a.cancel:hover {
  color: white;
}

.actions a.reorder_anchor:hover {
  background: inherit !important;
  cursor: move;
}

#other_records {
  width: 68%;
}

#common_actions {
  margin: 0;
  padding: 0;
}

#common_actions li {
  background-image: none; 
  margin: 0;
  list-style: none;
  padding: 5px 0px 5px 0px;
}

#common_actions li a {
  font-weight: bold;
}

.larger {
  font-size: 200%;
}

#actions a img {
  vertical-align: bottom;
  border: 0;
}

.brown_border {
  border: 1px solid #99998B;
}

body.dialog {
  background: #FFF;
}

body.dialog, body.wym_dialog {
  text-align: left;
}

#wym_hide_fields {
  display: none;
}

body.dialog #dialog_main {
  background: #f6f5f4;
}

body.dialog span.selected_radio {
  background: #f6f5f4;
}
body.dialog form {
  width: 100% !important;
}
.dialog span.radio {
  display: block;
  line-height: 36px;
  height: 36px;
}

.dialog span.radio * {
  cursor: pointer;
  font-weight: bold;
}

.dialog #dialog_menu_left {
  width: 130px;
  float: left;
  margin-top: 9px;
}

.dialog #dialog_main {
  float: left;
  min-height: 490px;
  width: 788px;
}

.dialog #existing_image_content {
  position: relative;
  height: 391px;
  padding: 12px;
}

.dialog #existing_image_area_content ul {
  margin: 0px;
  padding: 0px;
}

.dialog #existing_image_area_content ul li {
  background-image: none; 
  list-style: none;
  padding: 0px;
  margin: 0px 6px;
  float: left;
  height: 114px;
  max-height: 114px;
  width: 114px;
  max-width: 114px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
}

.dialog #existing_image_area_content ul li img {
  border: 4px solid transparent;
}

.dialog #existing_image_area_content ul li.selected img {
  border: 4px solid black;
}
/*
#dialog_main {
  position: relative;
}
*/
#existing_image_area_content {
  height: 365px;
}

#existing_image_area .pagination {
  background: #FFF;
  /*bottom: 0px;*/
  /*right: 0px;*/
  text-align: right;
  float: right;
  /*position: absolute;*/
  margin: 0px;
  width: 763px;
}

#upload_image_area, #upload_resource_area {
  padding: 12px;
}

.dialog #content {
  padding: 0px;
}

.wym_dialog #page {
  width: 940px;
  padding: 6px;
}

#dialog_main #pages_list {
  width: 100%;
}

#dialog_main #pages_list ul {
  margin: 12px 24px 24px 12px;
  padding: 0px;
}

#dialog_main #pages_list ul li {
  background-image: none; 
  cursor: pointer;
  line-height: 24px;
  list-style: none;
}

#dialog_main #pages_list li.child a {
  padding-left: 27px;
}
#dialog_main #pages_list li.child1 a {
  padding-left: 47px;
}
#dialog_main #pages_list li.child2 a {
  padding-left: 67px;
}
#dialog_main #pages_list li.child3 a {
  padding-left: 87px;
}
#dialog_main #pages_list li.child4 a {
  padding-left: 107px;
}
/*
#dialog_main #pages_list ul li span  {
  display: block;
  padding: 3px;
  margin-left: 24px;
}*/
#dialog_main #pages_list ul li a {
  display: block;
  padding: 3px 3px 3px 27px;
  text-decoration: none;
  border-bottom: none;
  border: 1px solid transparent;
}
#dialog_main #pages_list li a:hover {
  background-color: #C9DAE2;
}

#dialog_main .actions {
  margin-right: 48px;
}

#dialog_main #pages_list .linked a, #dialog_main #pages_list .linked a:hover {
  border: 1px solid #00A017;
  color: #00A017;
  background: 7px 7px no-repeat url('/images/refinery/icons/accept.png') #E0F5E0;
}

#dialog_main #pages_list .linked a em {
  color: #00A017;
}

#dialog_main #web_address_area, #dialog_main #email_address_area {
  padding: 12px;
}

#link_title {
  margin-top: 12px;
}

#link_title label {
  margin: 3px 0px 0px 0px !important;
  width: 130px;
  display: block;
  float: left;
}

#link_title input {
  width: 770px;
}


.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */

/*
Firefox Dotted Line Fix
  - http://sonspring.com/journal/removing-dotted-links
*/
a:focus {
  outline: none;
}

a img {
  border: 0px none;
}

/* icons */
.add_icon {
  background-image: url('/images/refinery/icons/add.png');
}
.edit_icon {
  background-image: url('/images/refinery/icons/application_edit.png');
}
.reorder_icon {
   background-image: url('/images/refinery/icons/arrow_switch.png');
}

.user_comment_icon {
  background-image: url('/images/refinery/icons/user_comment.png');
}
.edit_email_icon {
  background-image: url('/images/refinery/icons/email_edit.png');
}

.back_icon {
  background-image: url('/images/refinery/icons/arrow_left.png');
}
.go_icon {
  background-image: url('/images/refinery/icons/application_go.png');
}

.success_icon {
  background-image: url('/images/refinery/icons/tick.png');
  padding: 0px 8px;
}

.failure_icon {
  background-image: url('/images/refinery/icons/cross.png');
  padding: 0px 8px;
}

/* dialog stuff */
#dialog_frame {
  width:952px;
  height:430px;
  padding: 0px;
  border: 0px solid #F2F1ED;
}
.wym_hideables {
  display: none;
}
#TB_ajaxContent, #TB_ajaxContent.TB_modal {
  padding: 0px;
}
.wym_dialog .form-actions, .ui-dialog .form-actions {
  margin-top: 0px;
  border: 0px none;
  border-top: 1px solid #E8E8E8;
}
a#TB_closeWindowButton {
  text-decoration: none;
  border-bottom: 0px none;
  position: absolute;
  float: none;
  top: 7px;
  right: 6px;
}
#TB_title {
  height: 33px;
  line-height: 33px;
  position: relative;
}
#TB_ajaxWindowTitle {
  float: none;
  padding: 0px;
  margin-left: 12px;
  font-size: 16px;
}
#existing_image_area {
  padding-top:6px;
}

textarea.wymeditor {
}
#TB_closeAjaxWindow {
  margin-bottom: 0px;
  padding: 0px;
}
#TB_window div.field, .ui-dialog div.field {
  margin: 0px 10px;
}
#TB_window .form-actions, .ui-dialog .form-actions {
  margin-top: 12px;
}

#dialog_container {
  padding: 0px 12px 12px 12px;
}
#dialog_container .form-actions {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  border-right: 0px;
  border-left: 0px;
  border-bottom: 0px;
  padding: 10px 0px;
}
#dialog_container .form-actions #submit_button, #dialog_container .form-actions .wym_submit {
  margin-left: 10px;
}
#dialog_main .form-actions {
  position: inherit;
  width: 97%;
  border: 1px solid #E8E8E8;
  padding: 10px;
}

ul#plugins {
  margin: 0px;
  padding: 0px;
}
ul#plugins li {
  background-image: none; 
  list-style: none;
}
.label_inline_with_link label {
  float: left;
  margin-right: 6px;
}
.label_inline_with_link a {
  border: 0px none;
  margin-top: 19px;
  line-height: 17px;
  float: left;
}
.label_inline_with_link a img {
  vertical-align: middle;
}

#remove_picked_image {
  margin-top:8px;
  display:inline-block;
  width:auto;
}

#new_page_part_dialog .field {
  padding: 30px 10px;
}

.hide-overflow {
  overflow: hidden;
}
#remove_resource {
  margin-top:8px;
  display:inline-block;
  width:auto;
}

/**** Tooltip Icons *****/
.tooltip {
  background: white;
  border: 4px solid #606060;
  padding: 6px;
  word-wrap:break-word;
}
.tooltip * {
  color: black;
}

.wym_dialog_paste .field textarea {
  width: 98%;
}