
/**
 * @file
 * Generic theme-independent base styles.
 */

/**
 * Autocomplete.
 *
 * @see autocomplete.js
 */
/* Suggestion list */
#autocomplete {
  border: 1px solid #aaa;
  overflow: hidden;
  position: absolute;
  z-index: 100;
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
#autocomplete ul {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
#autocomplete li {
  padding: 0.285714286em 0.571428571em;
  background: #fff;
  color: #000;
  cursor: default;
  white-space: pre;
  zoom: 1; /* IE7 */
  /*
  padding: 0.25em;
  font-size: 13px;
  */
}
/* Animated throbber */
html.js input.form-autocomplete {
  background-image: url(img/throbber.gif);
  background-position: 99% 0;
  background-repeat: no-repeat;
}
html.js input.throbbing {
  background-position: 99% -31px;
}

/**
 * Collapsible fieldsets.
 *
 * @see collapse.js
 */
html.js fieldset.collapsed {
  margin-bottom: 1.375em;
  border-bottom-width: 0;
  border-left-width: 0;
  border-right-width: 0;
  /*height: 1em;*/
}
html.js fieldset.collapsed .fieldset-wrapper {
  display: none;
}
fieldset.collapsible {
  position: relative;
}
fieldset.collapsible .fieldset-legend {
  display: block;
}

html.js fieldset.collapsible .fieldset-legend {
  background: url(img/menu-expanded.png) 5px 45% no-repeat; padding-left: 20px;
}
html.js fieldset.collapsed .fieldset-legend {
  background-image: url(img/menu-collapsed.png);
  background-position: 5px 45%;
}
.fieldset-legend span.summary {
  color: #999;
  font-size: 0.9em;
  margin-left: 0.5em;
}
fieldset.collapsible legend {
  font-size: 1.125em;
  line-height: 2;
}


/**
 * Resizable textareas.
 *
 * @see textarea.js
 */
.form-textarea-wrapper textarea {
  display: block;
  margin: 0;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.grippie {
  display: none;
}


/**
 * TableDrag behavior.
 *
 * @see tabledrag.js
 */
body.drag {
  cursor: move;
}
.draggable a.tabledrag-handle {
  cursor: move;
  float: left;
  width: 13px;
  height: 13px;
  margin: 3px 0 0 -26px;
  overflow: hidden;
  text-decoration: none;
}
a.tabledrag-handle:hover {
  text-decoration: none;
}
a.tabledrag-handle .handle {
  width: 13px;
  height: 13px;
  margin: 0;
  padding: 0;
  background: url(img/draggable.png) no-repeat 0 0;
}
a.tabledrag-handle-hover .handle {
  background-position: 0 -20px;
}
div.indentation {
  float: left; /* LTR */
  height: 1.7em;
  margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */
  padding: 0.42em 0 0.42em 0.6em; /* LTR */
  width: 20px;
}
div.tree-child {
  background: url(img/tree.png) no-repeat 11px center; /* LTR */
}
div.tree-child-last {
  background: url(img/tree-bottom.png) no-repeat 11px center; /* LTR */
}
div.tree-child-horizontal {
  background: url(img/tree.png) no-repeat -11px center;
}

.tabledrag-toggle-weight-wrapper {
  position: absolute;
  margin-top: 5px;
  right: 0;
  width: 16px;
  height: 14px;
  overflow: hidden;
  z-index:10;
}
.tabledrag-toggle-weight {
  display: block;
  padding: 0;
  width: 16px;
  height: 14px;
  font-size: 0;
  text-indent: -10000px;
  background: #636B75 url(img/weight.png) no-repeat 0 0;
}
.tabledrag-toggle-weight:hover {
  background-color: #2173AF;
}
.node-form .tabledrag-toggle-weight-wrapper {
  display: none;
}

.tabledrag-changed-warning {
  margin-bottom: 0.5em;
}


/**
 * TableHeader behavior.
 *
 * @see tableheader.js
 */
table.sticky-header {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 0;
  z-index: 10;
}
table.sticky-header th {
  border-top: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
}
* table.sticky-header th {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
form .sticky-header th.field-label {
 padding-left: 0;
}

/**
 * Progress behavior.
 *
 * @see progress.js
 */
/* Bar */
.progress .bar {
  border: 1px solid;
  background: #fff;
}
.progress .filled {
  height: 1.5em;
  width: 5px;
}
.progress .percentage {
  float: right;
}
/* Throbber */
.ajax-progress {
  float: left;
  display: block;
  width: 15px;
  height: 15px;
  margin: 0 0 0 -25px;
  z-index:2;
}
.ajax-progress .throbber {
  background: transparent url(img/spinner.gif) no-repeat 0 0;
  float: left; /* LTR */
  width: 15px;
  height: 15px;
  margin: 2px;
}
.ajax-progress .message {
  display: none;
}
tr .ajax-progress .throbber {
  margin: 0 2px;
}
.ajax-progress-bar {
  width: 16em;
}

/**
 * Inline items.
 */
.container-inline div,
.container-inline label {
  display: inline;
}
/* Fieldset contents always need to be rendered as block. */
.container-inline .fieldset-wrapper {
  display: block;
  margin-bottom: 0.625em;
}
.container-inline div.form-type-select,
.container-inline .form-submit {
  display: block;
  float: left;
  margin-top: 0;
  margin-right: 0.625em;
}
.container-inline .form-actions,
.container-inline.form-actions {
  margin-top: 0;
  margin-bottom: 0;
}
.container-inline input.form-select,
.container-inline select {
  vertical-align: baseline;
}


/**
 * Prevent text wrapping.
 */
.nowrap {
  white-space: nowrap;
}

/**
 * For anything you want to hide on page load when JS is enabled, so
 * that you can use the JS to control visibility and avoid flicker.
 */
html.js .js-hide {
  display: none;
}

/**
 * Hide elements from all users.
 *
 * Used for elements which should not be immediately displayed to any user. An
 * example would be a collapsible fieldset that will be expanded with a click
 * from a user. The effect of this class can be toggled with the jQuery show()
 * and hide() functions.
 */
.element-hidden {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user.
 * "!important" is used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/**
 * The .element-focusable class extends the .element-invisible class to allow
 * the element to be focusable when navigated to via the keyboard.
 */
.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

/**
 * Markup free clearing.
 *
 * @see http://perishablepress.com/press/2009/12/06/new-clearfix-hack
 * Only supporting IE 8 and up
 * @see http://cssmojo.com/the-very-latest-clearfix-reloaded/
 */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

