* {
  color: #41403C;
  font-family: Arial;
  font-size: 13px;
}
html {
  min-height: 100%;
}
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font: 10px/1.5em Verdana;
  background: black url('/images/refinery/page_bg.png') repeat;
}

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 {
  margin-top: 10px;
}

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

hr {
  border: 0;
  border-top: 1px solid #484743;
}

.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;
}
.login #flash {
  width: 520px;
}
#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;
}

a {
  color: #41403C;
  text-decoration: none;
  border-bottom: 1px dotted #727272;
}

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

#content h1 {
  font-size: 18px;
  font-weight: lighter;
  text-align: center;
  border-bottom: 1px solid #99998B;
  padding-bottom: 10px;
}

.less-important {
  color: #727272;
}

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

a:hover {
  color: #000;
  border-bottom: 1px solid #727272;
}

#page_container, #site_bar_content {
  margin: 0px auto 10px auto;
  text-align: left;
  width: 990px;
}
#site_bar_content {
  margin-bottom: 0px;
}
a#site_bar_refinery_cms_logo {
  left: 447px;
}

#content {
  background-color: #f6f5f4;
}

body.login #page_container, body.login #site_bar_content {
  width: 590px;
}

body.login #site_bar_content a#site_bar_refinery_cms_logo {
  left: 247px;
}

#page_container .login #page h1 {
  margin: 0;
  padding: 5px;
  font-size: 20px;
  line-height:22px
}

body.login #page_container div.session_username, body.login #page_container div.session_password {
  float: left;
}

body.login #page_container div.session_password {
  margin-left: 25px;
}

body.login #page_container div.remember_me {
  margin-top: 12px;
}

body.login #page_container div.forgot_password {
  float: right;
  margin-top: 11px;
  margin-right: 3px;
}

body.login #page_container div.remember_me label {
  display: inline;
}

body.login #page_container div.session_username input, body.login #page_container div.session_password input {
  width: 260px;
}

body.login #page_container div.actions {
  margin-top: 12px;
}

#header {
  padding: 36px 15px 0 15px;
  position: relative;
  height: 18px;
}

#header ul#menu {
  display: block;
  margin: 0px;
  padding: 0px;
  position: absolute;
  bottom: 0px;
  left: 15px;
  right: 15px;
}

#header ul#menu li#logout {
  float: right;
}

#header #menu.ui-sortable li a {
  cursor: move;
}
#header #menu.ui-sortable-disabled li a {
  cursor: pointer;
}
#header  li {
  float: left;
  margin-right: 2px;
  list-style: none;
}

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

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

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

#header #menu li a#menu_reorder, #header #menu li a#menu_reorder_done {
  height: 10px;
  margin-top: 11px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 7px;
  width: 4px;
  _margin-top: 8px;
  padding: 8px 12px;
}
#header #menu li a#menu_reorder {
  background-image: url('/images/refinery/icons/arrow_switch.png');
}
#header #menu li a#menu_reorder_done {
  background-image: url('/images/refinery/icons/tick.png');
}

#content {
  padding: 15px;
}

pre {
  margin: 0;
  padding: 0;
}

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

.preview {
  color: #A3A093;
}

#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:block;
  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 {
  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 {
  padding: 2px 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: #E6E5DC !important;
}
#records .off {
  background-color: #f6f5f4 !important;
}

#records .on-hover, #pagination ul a:hover, #pagination .on {
  background: url('/images/refinery/hover-gradient.jpg') repeat-x bottom #D4D4C6
}
#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 {
  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: #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;
}

#content h2 {
  font-size: 140%;
  color:#41403C;
  margin-bottom: 15px;
  margin-top: 10px;
}

.pagination {
  background-color: #C9DAE2;
  padding: 7px;
  margin: 10px 0px;
}

.pagination .disabled {
  color: #A8B9C1;
}

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

.pagination .current, .pagination a:hover {
  background: #A8B9C1;
}

#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 {
  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;
  margin-top: 20px;
  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;
  border: 1px solid #CCC;
}

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

.no_side_body {
  width: 72% !important;
}

#side_body_field {
  float: left;
  width: 38%;
  margin-left: 18px;
}

#body_field textarea, #side_body_field textarea {
  width: 99%;
}

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

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

.published {
  width: 25px;
  text-align: center;
}

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

.actions a:hover {
  color: #E6E5DC;
  background: #3F3E3A;
}

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

.actions a.cancel:hover {
  color: white;
  background: #AF0027;
}

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

#other_records {
  width: 68%;
}

#recent_activity {
  border-collapse: collapse;
  width: 100%;
}

#recent_activity td {
  padding: 5px;
}

#recent_activity td.time_ago {
  text-align: right;
  min-width: 80px;
  max-width: 135px;
}

#recent_activity tr.on {
  background: #E6E5DC;
}

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

#common_actions li {
  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;
}

#inquiry {
  border-collapse: collapse;
  width: 100%;
}

#inquiry td {
  border-bottom: 1px solid #99998B;
  padding: 7px;
}

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: 405px;
  width: 756px;
}

.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 {
  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 {
  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;
}

ul#menu.reordering_menu li a {
  cursor: move;
}

#site_bar {
  /*background: #22a7f2;*/
}

.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');
}
.see_icon {
  background-image: url('/images/refinery/icons/eye.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;
}
.star_icon{
	background-image: url('/images/refinery/icons/star.png');
}

/* page parts */

ul#page_parts {
  float: left;
  width: 95%;
}

ul#page_parts, ul#page_parts_controls {
  margin: 20px 0 0 0;
  padding: 0;
}

ul#page_parts_controls {
  float: right;
  width: 5%;
}

ul#page_parts_controls li {
  list-style: none;
  float: right;
  margin: 12px 3px 0px 3px;
}

ul#page_parts_controls li a {
  border: 0px none;
}

ul#page_parts_controls img {
  vertical-align: middle;
}

#page_part_editors {
  clear:left;
}

/* 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#image_grid {
  width: 580px;
  padding: 0px;
  margin: 15px 0;
}

ul#image_grid li {
  float: left;
  margin: 0px 13px 12px 0px;
  padding: 0px;
  width: 135px;
  text-align: center;
  height: 176px;
  overflow: hidden;
  max-width: 135px;
  max-height: 176px;
}
ul#image_grid li.row-end {
  margin-right: 0px;
  float: right;
}
ul#image_grid li a {
  border: 0 none;
}
ul#image_grid li p {
  margin: 3px 0;
}
ul#image_grid li span.actions {
  width: 100%;
}
ul#plugins {
  margin: 0px;
  padding: 0px;
}
ul#plugins li {
  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%;
}

/*Accounts Manager*/

#tblAccounts td{
	text-align:center;
}
.txtLeft{
	text-align:left!important;
}
.field_text{
	float:left;
	height:20px;
	margin-top:4px;
	padding-top:15px;
	font-weight:bold;
	font-size:100%;
	
}
.field_input{
	float:left;
	height:20px;
	padding-left:10px;
	padding-top:17px;	
}
.div_box{
	float:left;
	height:25px;
	padding-left:10px;
	
}
.div_box_f{
	float:left;
	height:25px;
	padding-left:0px;
	
}
.div_box_t{
	float:left;
	height:25px;
	padding-left:20px;
	width:50px;
}
legend{
	font-size:16px;
	font-weight:500;
	letter-spacing:2px;
	
}
fieldset{
	margin-bottom:20px;
}
.label_text{
	margin:0px;
	padding:0px;
	
}
.draft_text{
	float:left;
	height:20px;
	margin-top:4px;
	padding-top:15px;
	font-weight:bold;
	font-size:100%;
	width:80px;
	
}
.draft_input{
	float:left;
	height:20px;
	padding-left:10px;
	padding-top:17px;	
}
#show_players{
	padding-top:10px;
}
#save_div{
	width:60.6%;
	text-align:center;
	padding-top:20px;
}
.legend_label{
	font-size:14px;
	font-weight:normal;
	padding:0px;
	margin:0px;
}

/*AUTOCOMPLETE*/
.autocomplete{
	width:454px;
	float:left;
}
.autocomplete input{
	color:#000;
}
.inputnone{
	color:#999!important;
}
.autoresults{
	background-color:#fff;
	border:solid silver 1px;
	position:absolute;	
	display:none;
	padding:2px;
	overflow-x:hidden;
	overflow-y:auto;
	z-index:10;

}
.autoresults a{
	display:block;
	text-decoration:none;
	padding:2px;
	color:#000!important;
	
}
.autoresults a:hover{
	background-color:#B0B0B0;
	color:#000!important;
}
.autoresults a:focus{
	background-color:#B0B0B0;
	color:#000!important;
}
.autoresults a:active{
	background-color:#B0B0B0;
	color:#000!important;
}
.get-advice-notactive {
	cursor: default !important;
	/*opacity: 0.8;*/
}
.get-advice-notactive:hover {
	background-position: left top !important;	
}

 */