/* Clear Floats Without Structural Markup 
 * ---------------------------------------
 * http://www.positioniseverything.net/easyclearing.html */
.clearfix {
  display: inline-block;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* Hides from IE-mac \ */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

.layout-table {
  border-collapse: collapse;
  border: 0 none;
  margin: 0;
  padding: 0;
}

.layout-table td {
  margin: 0;
  padding: 0;
  vertical-align: top;
}

/* Подзаголовок */
.subtitle {
  /* margin-left: 3px; */
}

/* Кнопка */
.button {
  display: inline-block;
  overflow: hidden;
  text-align: left;
  text-indent: -9999px;
  -webkit-box-shadow: 2px 2px 7px #808080;
  -moz-box-shadow: 3px 3px 9px #8b8b8b;
  box-shadow: 3px 3px 9px #8b8b8b;
}

.button:focus {
  outline: 0 none;
}

/* Две колонки */
.two-col .col-left {
  float: left;
  width: 240px;
}

.two-col .col-right {
  float: right;
  width: 320px;
}

/* Сообщения Drupal */
div.messages {
  padding: 0;
  margin: 0;
  color: #000;
  background: transparent;
  border: 0 none;
  display: none;
}

.ui-dialog div.messages {
  display: block;
}

div.warning {
  color: #000;
  background: transparent;
}

div.error {
  color: #000;
  background: transparent;
}

div.status {
  color: #000;
  background: transparent;
}

.dialog-error {
  display: none;
}

.ui-dialog .dialog-error {
  display: block;
}

/* div.messages {
  padding: 9px;
  margin: 1em 0;
  color: #003366;
  background: #bbddff;
  border: 1px solid #aaccee;
}

div.warning {
  color: #884400;
  background: #ffee66;
  border-color: #eedd55;
}

div.error {
  color: white;
  background: #ee6633;
  border-color: #dd5522;
}

div.status {
  color: #336600;
  background: #ccff88;
  border-color: #bbee77;
} */

/* Всплывающие ссылки блоков */
div.block {
  position: relative;
}

div.block .edit {
  display: none;
  position: absolute;
  right: -10px;
  top: -5px;
  z-index: 40;
  padding: 3px 8px;
  font-size: 10px;
  line-height: 16px;
  background-color: white;
  border: 1px solid #cccccc;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 0 1px 3px #888888;
  -webkit-box-shadow: -1px 1px 2px #666666;
  text-transform: lowercase;
}

div.block .edit a {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  text-decoration: none!important;
}

div.block:hover .edit {
  display: block;
}

div.block .edit a:link,div.block .edit a:visited {
  color: #010101!important;
}

div.block .edit a:hover,div.block .edit a:active {
  color: #3a499f!important;
}

/* Таблица с перемещаемыми строками */
a.tabledrag-handle .handle {
  height: 13px;
  width: 13px;
  margin-top: 0;
}

.draggable a.tabledrag-handle {
  height: 15px;
  margin: 0;
  padding: 3px 20px 0 0;
}

/* Ссылка "Все записи" */
.all-items {
  margin-bottom: -22px;
  text-align: right;
}

/* Yandex Maps */
.YMaps-b-balloon-frame {
  margin-bottom: 0;
}