/*******************************************************************************
 * @file system.theme.css
 *
 * This file was copied from backdrop core, and overridden here.
 ******************************************************************************/

/**
 * HTML elements.
 */
form {
  margin: 0;
  padding: 0;
}
hr {
  border: 1px solid gray;
  height: 1px;
}
th {
  border-bottom: 3px solid #ccc;
  padding-right: 1em; /* LTR */
  text-align: left; /* LTR */
}
[dir="rtl"] th {
  text-align: right;
  padding-left: 1em;
  padding-right: 0;
}
tr.even,
tr.odd {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  padding: 0.1em 0.6em;
}

/**
 * Publishing status.
 */
.unpublished {
  background-color: #fff4f4;
}
.preview {
  background-color: #ffffea;
}

/**
 * Markup generated by theme_tablesort_indicator().
 */
th.active img {
  display: inline;
}
td.active {
  background-color: #ddd;
}

/**
 * Markup generated by theme_item_list().
 */
.item-list .title {
  font-weight: bold;
}
.item-list ul {
  margin: 0 0 0.75em 0;
  padding: 0;
}
.item-list li {
  margin: 0 0 0.25em 1.5em; /* LTR */
  padding: 0;
}
[dir="rtl"] .item-list li {
  margin: 0 1.5em 0.25em 0;
}

/**
 * Markup generated by Form API.
 */
.form-item,
.form-actions {
  margin-top: 1em;
  margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
}
.form-item .description {
  font-size: 0.85em;
  padding: 0.8em 0 0;
}
label {
  display: block;
  font-weight: bold;
}
label.option {
  display: inline;
  font-weight: normal;
}
.form-checkboxes .form-item,
.form-radios .form-item {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2.4em;
}
input.form-checkbox,
input.form-radio {
  vertical-align: middle;
}
.marker,
.form-required {
  color: #f00;
}
abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
  border-bottom: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 2px solid red;
}

/**
 * Inline items.
 */
.container-inline .form-actions,
.container-inline.form-actions {
  margin-top: 0;
  margin-bottom: 0;
}

/**
 * Markup generated by theme_more_link().
 */
.more-link {
  text-align: right; /* LTR */
}
[dir="rtl"] .more-link {
  text-align: left;
}

/**
 * Markup generated by theme_more_help_link().
 */
.more-help-link {
  text-align: right; /* LTR */
}
[dir="rtl"] .more-help-link {
  text-align: left;
}
.more-help-link a {
  background: url(../../../core/misc/help.png) 0 50% no-repeat; /* LTR */
  padding: 1px 0 1px 20px; /* LTR */
}
[dir="rtl"] .more-help-link a {
  background-position: 100% 50%;
  padding: 1px 20px 1px 0;
}

/**
 * Markup generated by theme_pager().
 */
.item-list .pager {
  clear: both;
  text-align: center;
}
.item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: 0.5em;
}
.pager-current {
  font-weight: bold;
}

/**
 * Autocomplete.
 *
 * @see autocomplete.js
 */
/* Suggestion list */
#autocomplete li.selected {
  background: #0072b9;
  color: #fff;
}

/**
 * TableDrag behavior.
 *
 * @see tabledrag.js
 */
tr.drag {
  background-color: #fffff0;
}
tr.draggable {
  border-bottom: 1px solid #eee;
  background: #fff;
}
tr.drag-previous {
  background-color: #ffd;
}
.tabledrag-toggle-weight {
  font-size: 0.9em;
}
body div.tabledrag-changed-warning {
  margin-bottom: 0.5em;
}

/**
 * TableSelect behavior.
 *
 * @see tableselect.js
*/
tr.selected td {
  background: #ffc;
}
td.checkbox,
th.checkbox {
  text-align: center;
}

/**
 * Progress bar.
 *
 * @see progress.js
 */
.progress {
  font-weight: bold;
}
.progress .bar {
  background: #ccc;
  border-color: #666;
  margin: 0 0.2em;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.progress .filled {
  background: #0072b9 url(../../../core/misc/progress.gif);
}

/**
 * Markup generated by theme_links().
 */
ul.inline,
ul.links.inline {
  display: inline;
  padding-left: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

/**
 * Markup generated by theme_breadcrumb().
 */
.breadcrumb {
  padding-bottom: 0;
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/**
 * Markup generated by theme_menu_local_tasks().
 */
ul.primary {
  border-bottom: 1px solid #bbb;
  border-collapse: collapse;
  height: auto;
  line-height: normal;
  list-style: none;
  margin: 5px;
  padding: 0 0 0 1em; /* LTR */
  white-space: nowrap;
}
[dir="rtl"] ul.primary {
  padding: 0 1em 0 0;
}
ul.primary li {
  display: inline;
}
ul.primary li a {
  background-color: #ddd;
  border-color: #bbb;
  border-style: solid solid none solid;
  border-width: 1px;
  height: auto;
  margin-right: 0.5em; /* LTR */
  padding: 0 1em;
  text-decoration: none;
}
[dir="rtl"] ul.primary li a {
  margin-right: 5px;
  margin-left: 0.5em;
}
ul.primary li.active a {
  background-color: #fff;
  border: 1px solid #bbb;
  border-bottom: 1px solid #fff;
}
ul.primary li a:hover {
  background-color: #eee;
  border-color: #ccc;
  border-bottom-color: #eee;
}
ul.secondary {
  border-bottom: 1px solid #bbb;
  padding: 0.5em 1em;
  margin: 5px;
}
ul.secondary li {
  display: inline;
  padding: 0 1em;
}
[dir="rtl"] ul.secondary li {
  border-right: none;
  display: inline;
  padding: 0 1em;
}
ul.secondary a {
  padding: 0;
  text-decoration: none;
}
ul.secondary a.active {
  border-bottom: 4px solid #7D7D7D;
}

/**
 * Floated images.
 */
img.align-left {
  margin-right: 2em;
  margin-bottom: 1em;
}
img.align-right {
  margin-left: 2em;
  margin-bottom: 1em;
}

/**
 * User Form
 */
.user-profile-form {
  padding: 1.5em 0 0;
}

.field-name-field-header-photo .image-preview {
  float: none;
}

.user-profile-form label {
  text-transform: uppercase;
}

.user-profile-form label.option {
  text-transform: none;
}

/**
 * Socialfield overrides
 */
.field-type-social-links-field .form-type-select {
  margin-top: 1em;
}
.socialfield .icon {
  background: transparent;
  font-size: 2.2em;
}
.socialfield .fa {
  width: 1em;
  height: 1em;
  overflow: hidden;
  text-indent: 100em; /* Shove text outside of container */
}
.socialfield .fa:before {
  display: block;
  margin: 0 auto;
  text-indent: 2px;
}

.socialfield-facebook .icon {
  color: #3b5998;
}
.socialfield-twitter .icon {
  color: #55acee;
}
.socialfield-instagram .icon {
  color: #3f729b;
}
.socialfield-googleplus .icon {
  color: #dc4a38;
}
.socialfield-linkedin .icon {
  color: #0e76a8;
}
.socialfield-youtube .icon {
  color: #c4302b;
}
.socialfield-vimeo .icon {
  color: #44bbff;
}
.socialfield-delicious .icon {
  color: #222222;
}
.socialfield-digg .icon {
  color: #7a9ac2;
}
.socialfield-flickr .icon {
  color: #ff0084;
}
.socialfield-google .icon {
  color: #4285f4;
}
.socialfield-myspace .icon {
  color: #6087bb;
}
.socialfield-pinterest .icon {
  color: #c8232c;
}
.socialfield-stumbleupon .icon {
  color: #f74425;
}

/**
 * Fieldsets.
 */
fieldset {
  position: relative;
  max-width: 100%;
  display: table-cell;
  margin: .5em 0;
  padding: 3em 0 0 0; /* LTR */
  border-radius: 4px;
  background-color:#fff;
  border:solid 2px #EAEAEA;
  min-width: 0;
}
[dir="rtl"] fieldset {
  padding: 2.5em 0 0;
}
fieldset .fieldset-legend {
  position: absolute;
  left: 0; /* LTR */
  top: 0;
  width: 100%;
  margin-top: .35em;
  padding-left: 15px; /* LTR */
  text-transform: uppercase;
}
[dir="rtl"] fieldset .fieldset-legend {
  right: 0;
  padding-right: 15px;
  padding-left: 0;
}
legend {
  font-size: 120%;
  font-weight: normal;
}
fieldset fieldset {
  background-color: #fff;
}
fieldset fieldset fieldset {
  background-color: #f8f8f8;
}

/**
 * Collapsible Fieldsets
 */
.js fieldset.collapsible {
  position: relative;
}
fieldset .fieldset-wrapper {
  padding: 0 13px 13px 15px; /* LTR */
}
[dir="rtl"] fieldset .fieldset-wrapper {
  padding: 0 15px 13px 13px;
}
.js fieldset.collapsible a.fieldset-title {
  position: relative;
  z-index: 1;
  display: block;
  width: 94%; /* IE8 fallback */
  width: calc(100% - 4em);
  padding: .3em .3em .3em 1.8em;
  margin: 0 -.5em;
  border-radius: 4px;
  background: transparent;
}
.js fieldset.collapsible .fieldset-legend a:before {
  content: "";
  position: absolute;
  left: .6em;
  top: .8em;
  width: 0;
  height: 0;
  border: .32em solid transparent;
  border-top-color: #000;
  border-bottom: 0;
}

.fieldset-legend span.summary {
  position: absolute;
  top: .4em;
  right: 2em;
  display: none;
}
@media (min-width: 450px) {
  .fieldset-legend span.summary {
    display: block;
  }
}
/* Collapsed state styles */
.js fieldset.collapsed {
  padding: 1.6em 0;
}
.js fieldset.collapsed .fieldset-legend a:before {
  left: .8em;
  top: .7em;
  border: .32em solid transparent;
  border-left-color: black;
}
