/**
 * @file
 * Block Styling.
 */


/*
 * Admin blocks list.
 */
table#blocks td {
  vertical-align: middle;
  background-color: transparent;
}
table#blocks .draggable > td:first-child {
  white-space: normal;
  padding-left: 32px;
}
table#blocks .draggable a.tabledrag-handle {
  position: absolute;
  margin-left: -32px;
}

/*
 * Admin blocks configure and edit.
 */
div.block.with-block-editing {
  position: relative;
}
div.block.with-block-editing div.edit {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
  border: 1px solid #eee;
  padding: 0 2px;
  font-size: 0.75em;
  background-color: #fff;
}
div.block.with-block-editing:hover div.edit {
  display: block;
}

/*
 * Generic blocks styles.
 */
.block {
  margin: 0 0 1em 0;
  background-color: #fff;
}
.block h2.title {
  background-color: #556372;
  color: #eee;
  font-size: 18px;
  font-weight: normal;
  line-height: 23px;
  letter-spacing: 1px;
  margin: 0;
  padding: 5px 5px 5px 23px;
}
.block h2.title:before {
  content: "//";
  margin-left: -18px;
  position: absolute;
}
@media (min-width: 530px) and (max-width: 699px) {  /* MINW */
  .block h2.title {
    padding-left: 5px;
  }
  .block h2.title:before {
    content: "";
  }
}
.block h2.title a {
  color: #eee;
}
.block .content {
  margin: .5em;
  padding-bottom: .5em;
}
.block ul.menu {
  padding-left: 1em;
}
.block ul.menu ul {
  font-size: .98em;
}
.block ul.menu li,
.block ul.menu li.collapsed {
  list-style-image: url(../images/menu-collapsed.gif);
}
.block ul.menu li.expanded {
  list-style-image: url(../images/menu-expanded.gif);
}
.block ul.menu li.leaf {
  list-style-image: url(../images/menu-leaf.gif);
}
.block ul.menu li a:link,
.block ul.menu li a:visited {
  color: #3c8dbc;
}
.block ul.menu li a:hover {
  color: #f70a0a;
}
.block ul.menu li a.active {
  color: #3c8dbc;
  font-weight: bold;
}
body.section-node-edit .block ul.menu li.active-trail > a {
  font-weight: bold;
  color: #f70a0a;
}
.block .more-link {
  clear: both;
  font-size: .75em;
  padding-right: 1em;
  text-align: right;
}
.block .btn {
  margin: 0;
}

/*
 * Search blocks.
 */
.block-custom_search_blocks {
  background-color: transparent;
  margin: 0;
}
#block-custom_search_blocks-1 {
  margin-top: 2em;
}
.block-custom_search_blocks h2.title {
  display: none;
}
.block-custom_search_blocks .content {
  margin: 0;
}
.block-lexicon .content {
  height: 42px;
}
.block-custom_search_blocks,
.block-lexicon {
  position: relative;
}
.block-custom_search_blocks input.form-text,
.block-lexicon input.form-text {
  padding-right: 48px;
  background: #fff;
  font-weight: 300;
}
.block-custom_search_blocks button.form-submit,
.block-lexicon button.form-submit {
  position: absolute;
  padding: 0;
  top: 0;
  right: 0;
  width: 39px;
  height: 39px;
  color: #3c8dbc;
  overflow: hidden;
}
.block-custom_search_blocks button.form-submit:hover,
.block-lexicon button.form-submit:hover {
  color: #307095;
}
.block-custom_search_blocks button.form-submit span,
.block-lexicon button.form-submit span {
  color: #fff;
  display: block;
  line-height: 34px;
  margin: 0;
}

/*
 * SuiteDesk menu block.
 */
#block-storm-storm_dashboard_block .content {
  margin: .5em 0;
}

