/* -------------------------------------- */
/* Drupal CSS for Admin / Content Editors */
/* -------------------------------------- */

.contextual {
  overflow: unset !important;
}

.contextual-region button {
  border-color: #39f !important;
}

.contextual .contextual-links {
  position: relative !important;
  top: -1px;
  right: 6px;
  float: right;
  clear: both;
  margin: 0;
  padding: 0.25em 0;
  text-align: left;
  white-space: nowrap;
  border: 1px solid #ccc;
  border-radius: 4px 0 4px 4px;
  background-color: #fff;
}
.contextual .contextual-links li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
  border: none;
  background-color: #fff;
  line-height: 100%;
}
.contextual .contextual-links a {
  display: block;
  margin: 0.25em 0;
  padding: 0.4em 0.6em;
  color: #333;
  background-color: #fff;
  font-family: sans-serif;
  font-size: small;
  line-height: 0.8em;
  text-decoration: none;
}

/* - Paragrapg - */
.paragraph > .contextual button {
  border-color: #f34 !important;
}

/* Drupal Messages */
[data-drupal-messages] {
  position: fixed;

  right: 0;
  bottom: 0;
  left: 0;

  background: #ffffffa8;

  z-index: 10000;

  -webkit-animation: fade-out 1s ease-in-out 5s forwards;
  animation: fade-out 1s ease-in-out 5s forwards;
}

@-webkit-keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media screen and (max-width: 975px) {
  body {
    margin-left: unset !important;
  }
}

/* Pop Left */
.toolbar-horizontal .popleft {
  max-height: calc(100% - 60px - 39px);
}
.toolbar-horizontal.toolbar-tray-open .popleft {
  max-height: calc(100% - 60px - 79px);
}

#block-tabs {
  position: fixed;
  width: 140px;
  left: -120px;
  top: 15%;
  background: #5a8bed;
  padding: 20px;
  z-index: 999;
  border-right: 20px solid #2b2b2b;
  transition: all 0.4s ease-in-out;
}
#block-tabs .contextual {
  display: none;
}
#block-tabs:hover {
  left: 0;
}
#block-tabs ul {
  padding-left: 20px;
}
#block-tabs ul li {
  font-size: 15px;
  line-height: 25px;
}
#block-tabs a {
  color: #000;
  font-size: 15px;
  line-height: 20px;
  transition: all 0.4s ease-in-out;
}
#block-tabs a:hover {
  color: #d5d5d5;
}

/* User Login */
.user-login-form {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.user-login-form .description {
  opacity: 0;
}

/* Content Edit Sidebar */
#block-ftheme-local-tasks {
  position: fixed;

  padding-right: 25px;

  top: 150px;

  background: #39f;

  background: #1f1f1f;

  z-index: 1000;

  transition: all 0.3s ease-in-out;
  transform: translateX(calc(-100% + 25px));
}
#block-ftheme-local-tasks:hover {
  transform: translateX(0);
}

#block-ftheme-local-tasks ul {
  margin: 0;
  padding: 10px;

  list-style: none;

  background: #39f;
}
#block-ftheme-local-tasks ul li {
  padding: 2.5px;
}
#block-ftheme-local-tasks ul li a {
  text-decoration: none;
}

/* HIDE MEDIA EDIT */
[data-quickedit-entity-id*="media"] button.trigger {
  display: none;
}
