/**
 * When logged-in the Drupal Toolbar will overlaps with content. To avoid visual glitch move the content lower.
 */
@media(min-width: 768px) {
  .toolbar-horizontal.toolbar-fixed #main__content {
    padding-top: 80px;
  }
}

.toolbar-horizontal.toolbar-fixed:not(.toolbar-tray-open) .transverse-header .header {
  margin-top: 52px;
}

body.toolbar-fixed.gin--horizontal-toolbar #toolbar-administration {
  /** Must be higher than the value Havast decided to hardcode to 2000 everywhere */
  z-index: 2100;
}

.gin--horizontal-toolbar #toolbar-item-administration-tray nav {
  position: unset;
}

/**
 * Alter the Drupal "Primary Tabs" visual to move Action buttons (Edit, Translate, ...) on the right viewport corner.
 */
.block-local-tasks-block {
  position: fixed;
  bottom: 0;
  right: 0;
  text-align: right;
  box-shadow: -2px -2px 15px -2px rgba(0,0,0,.5)!important;
  background-color: #343a40!important;
  display: flex;
  width: auto;
  flex-direction: column;
  align-items: center;
}

.block-local-tasks-block .tabs.primary {
  margin: 10px;
}

.block-local-tasks-block .tabs.primary {
  margin: 10px;
}

.block-local-tasks-block .tabs.primary.tabs a.is-active {
  background: none;
  color: white;
}

.block-local-tasks-block .tabs.primary.tabs a:focus,
.block-local-tasks-block .tabs.primary.tabs a:hover {
  background: none;
  color: white;
}

/**
 * The menu containing Actions on Node (Edit, Translate, ...) visible on frontend when logged-in.
 */
.menu-local-tasks {
  display: flex;
  align-items: center;
}

.menu-local-tasks li {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/**
 * Captcha module.
 */
.captcha__description {
  font-size: 0.85em;
}
