/* ------------------------ Generic ------------------------*/

body {
  font-family: Verdana, sans-serif;
  font-size: 12px;
  color: #484848;
  margin: 0;
  padding: 0;
  min-width: 1000px;
}

h1, h2, h3, h4      { font-family: "Trebuchet MS", Verdana, sans-serif; }
h1                  { margin: 0; padding: 0; font-size: 24px; }
h2                  { font-size: 20px; padding: 2px 10px 1px 0px; margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444; }
h3                  { font-size: 16px; padding: 2px 10px 1px 0px; margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444; }
h4                  { font-size: 13px; padding: 2px 10px 1px 0px; margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444; }

br, .clear {
  clear: both;
}

img {
  border: 0px;
  vertical-align: middle;
}

form {
  display: inline;
}

input, select {
  vertical-align: middle;
  margin-top: 1px;
  margin-bottom: 1px;
}

/* ------------------------ Divs ------------------------*/

div.square {
  border: 1px solid #999;
  float: left;
  margin: .3em .4em 0 .4em;
  overflow: hidden;
  width: .6em; height: .6em;
}

/* ------------------------ Tables ------------------------*/

table                     { border: 1px solid #e4e4e4; border-collapse: collapse; margin-bottom: 4px; }
table th                  { background-color: #EEEEEE; padding: 4px; white-space: nowrap; text-align: left; }
table td                  { vertical-align: middle; padding: 1px 14px 1px 4px; }
table tr.odd              { background-color:#e2e2e2;}
table tr.even             {background-color:#EEEEEE;}
table td.spaced           { padding: 1px 2px 1px 1px; }
table.menu_table          { border: none; width: 200px; }
.odd                      { background-color: #fff; }
.even                     { background-color: #f3f4f5; }

/* ------------------------ Links ------------------------*/

a, a:link, a:visited      { color: #2A5685; text-decoration: underline; }
a:hover, a:active, .active a { color: #c61a1a; text-decoration: none;}
a img                     { border: 0; }
a.menu_item               { color: #FFFFFF !important; }
a.menu_item:hover         { color: #CCCCCC !important; }

/* ------------------------ Classes ------------------------*/

.left_column {
  float: left;
}

.right_column {
  padding-left: 30px;
  float: left;
}

.box {
  padding: 6px;
  margin-bottom: 10px;
  background-color: #f6f6f6;
  color: #505050;
  line-height: 1.5em;
  border: 1px solid #e4e4e4;
}

.menu_bar {
  border: none;
}

.header_image {
  vertical-align: middle;
  cursor: pointer;
}

.links {
  float: left;
  margin-left: -0.2em;
}

.login {
  float: right;
  padding-right: 14px;
}

.login.top {
  margin-top: -6px;
}

.login.bottom {
  padding-right: 4px;
}

.menu_item {
  font: bold 10px Verdana, Arial, sans-serif;
  padding-left: 4px;
  padding-right: 4px;
}

.credits {
  padding-top: 14px;
  float:left;
  padding-bottom: 30px;
}

.container {
  position: absolute;
  font-size: 16px;
  cursor: pointer;
  filter: alpha(opacity=50);
  -moz-opacity: .5;
  opacity: .5;
  text-align: center;
  vertical-align: middle;
  z-index: 10;
  }

.attributes {
  padding: 4px;
  cursor: pointer;
}

.has_attributes {
  background-color: #98FF8E;
  border: 1px dotted red;
}

.no_attributes {
  background-color: #FF93A0;
  border: 1px solid #FF93A0;
}
.selected {
  background-color: yellow;
  border: 1px solid yellow;
} !important

.inline_text {
  position: absolute;
}

.inline_check {
  display: table-cell;
  vertical-align: middle;
  position: absolute;
}

.hwr_text {
  display: none;
}

div.auto_complete {
  margin: 0px;
  padding: 0px;
  background-color: #E6F3E6;
  position: absolute;
  z-index: 1;
}

div.auto_complete ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

div.auto_complete ul li.selected { 
  background-color:#ffb;
}

div.auto_complete ul li {
  margin: 0;
  padding: 2px;
  display: block;
  list-style-type: none;
  cursor: pointer;
}

.gallery ul {
  width: 420px;
  list-style: none;
}

.gallery ul li {
  float: left;
  padding: 0px;
  margin-left: 5px;
}

.jqDrag {
  cursor: pointer;
}

.window_close {
  float: right;
}

/* ------------------------   IDs   ------------------------*/

#banner {
  position: relative;
  padding-top: 20px;
}

#logo {
  float: left;
  left: 0;
  width: 50%;
}

#user_icon {
  vertical-align: top;
}

#user_name {
  padding-right: 10px;
  position: relative;
  top: 14px;
}

#user_name_only {
  padding-right: 14px;
}

#content {
  padding: 20px;
  position: static;
}

#data {
  padding-top: 10px;
}

#toolbar {
  margin-top: 2px;
  margin-left: 22px;
}

#menu {
  width: 15%;
}

#search_menu {
  border: none;
  background: inherit;
  color: inherit;
}

#admin_links {
  font-weight: bold;
  vertical-align: top;
}

#admin_content {
  vertical-align: top;
}

#warning {
  color: green;
}

#split_table {
  border: none;
}

#field_dialog {
  background: white;
  padding: 10px;
}

#field_table {
  background: none;
}

#field_table td {
  background: none;
  padding: 0px 10px 10px 10px;
}

#header {
  height: 140px;
}

#footer {
  padding: 26px 8px 8px 8px;
  height: 65px;
}

#footer_info {
  padding-top: 8px;
  padding-right: 10px;
}

#footer_text {
  float: left;
  font-size: 9px;
}

#rss_logo {
  float: right;
  text-align: center;
  padding-right: 14px;
  padding-top: 10px;
}

#spinner {
  padding-left: 20px;
}

#gfx {
  position: absolute;
  margin-top: 120px;
}

#page_gfx, #page_canvas {
  position: absolute;
  top: 0px;
  left: 0px;
}
#page_canvas {
  z-index: 1;
}

#strokes_gfx {
  position: relative;
}

#strokes_image {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
}

#preview_strokes {
  position: absolute;
  width: 700px;
  height: 990px;
  padding: 0px;
}

#gallery_window {
  display: none;
}

#gallery_image {
  width: 600px;
  max-height: 760px;
  overflow: auto;
}

#split_window {
  padding: 14px;
  background-color: #F4F4F4;
  height: 140px;
  width: 350px;
}

#xml_search_table {
  max-width: 1100px;
}

#payload {
  max-width: 1100px;
}

#search_all_div {
  margin-top: 6px;
}

#status_bar {
  border-width: 2px;
}

#preview_controls {
  padding: 6px;
}

.invoice_all_text {
  color: black;
}

.invoice_too_many_text {
  color: red;
}

.invoice_none_text {
  color: orange;
}

.invoice_ok_text {
  color: blue;
}

/* Tabs
----------------------------------*/
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; margin: 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; border: 1px solid #000; background: #58595b; color: #fff; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { clear: both; padding: 1em 0; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
.ui-tabs .ui-tabs-nav li.ui-state-active a { background: #b9e5fb; color: #000; }

#pen {
  overflow: hidden;
}

#pen #preview #tabs .clear { float: left; width: 100%; margin-top: 10px;}

#pen h1 {
  padding-bottom: 10px;
}
#pen #content {
  padding: 0 0 0 20px;
}
#pen #content #data {
  position: relative;
  height: 100vh;
  width: 68%;
  float: left;
  overflow: scroll;
}
#pen #preview {
  background-color: #F4F4F4;
  float: right;
  padding: 6px;
  width: 30%;
  height: 100vh;
  overflow-y: scroll;
}

#pen #preview_controls, #pen #preview_controls table th, #pen #preview_controls table td {
  padding-left: 0;
}

@media screen and (max-width: 1500px) {
  #data_container {
    width: 78%;
  }
}