/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Maintenance theming.
 */

.maintenance-page {
  min-height: 100%;
  background-color: #dedfe4;
}

.site-name {
  margin-top: 1rem;
  word-wrap: break-word;
  color: #545560;
  font-size: 1.424rem;
}

.site-name,
.title {
  margin-bottom: 1.5rem;
}

.content {
  margin-bottom: 1rem;
  color: #545560;
}

.site-name,
.title,
.content {
  max-width: 32rem;
}

/**
 * Task list & step indicator
 */

@media all and (max-width: 48em) { /* 768px */
  header[role="banner"] {
    position: relative;
  }
  .step-indicator {
    position: absolute;
    top: 0.2em;
    right: 0.5em; /* LTR */
    display: block;
    font-size: 1.385em;
  }
  [dir="rtl"] .step-indicator {
    right: auto;
    left: 0.5em;
  }
  .task-list {
    display: none;
  }
}

@media all and (min-width: 48em) { /* 768px */
  .step-indicator {
    display: none;
  }
  .task-list {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    padding: 0;
    margin: 0 0 1em 0;
    list-style-type: none;

    li {
      padding: 0 15px;
      flex: 1 1 auto;
      border-bottom: 3px solid #adadad;

      &:first-child {
        padding-left: 0;
      }

      &:last-child {
        padding-right: 0;
      }

      &.done {
        border-color: #119911;
        color: #000;
      }

      &.is-active {
        position: relative;
        font-weight: normal;
        background-color: transparent;

        &:after {
          content: unset;
        }

        ~ li {
          color: #ddd;
        }
      }
    }
  }
}

/**
 * Layout
 */

.layout-container {
  width: auto;
  margin-right: 1.25em;
  margin-left: 1.25em;
  padding: 3rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.layout-container:after { /* no reason for a clearfix in the markup */
  display: table;
  clear: both;
  content: "";
}

@media all and (max-width: 48em) { /* 768px */
  .layout-container {
    margin: 1.25em;
    padding: 1rem 1.5rem;
  }
}

@media all and (min-width: 48em) { /* 768px */
  html {
    display: table;
  }
  .install-page,
  .maintenance-page {
    display: table-cell;
    padding: 1em 0;
    vertical-align: middle;
  }
  html,
  .install-page,
  .maintenance-page {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  /**
   * Needed to override rules from system-admin--layout.pcss.
   */
  .layout-container.layout-container.layout-container {
    width: 75%;
    max-width: 58.75rem;
    margin: 0 auto;
  }
  ul {
    margin: 0.25em 0;
    padding: 0.9375rem;
  }
  [dir="rtl"] ul {
    margin-right: 0; /* Overrides default [dir="rtl"] ul margin */
  }
}

/**
 * Status report customization for install and update page.
 */

.system-status-report__status-title {
  float: none;
  width: 100%;
}

.system-status-report__entry__value {
  float: none;
  width: 100%;
  padding-top: 0;
  padding-left: 3em; /* LTR */
}

[dir="rtl"] .system-status-report__entry__value {
  padding-right: 3em;
  padding-left: 1em;
}




h1.page-title {
  margin-bottom: .5em;
  &:before {
    content: 'rufi';
    font-family: 'rufi-icons';
    font-size: .8em;
  }
}

body.install-page {
  background: #FFF;
  background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(13,13,79,0.2240963855421687) 100%);
}

.humans {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  + .layout-container {
    position: relative;
    z-index: 12;
    background-color: rgba(255,255,255,.7);
    box-shadow: none;
    @media (min-width: 48em) {
      width: 66% !important;
    }
  }

  [class*="humans--"] {
    width: 20vw;
    height: 20vw;
    position: absolute;

    @media (max-width: 47.999em) {
      display: none;
    }
  }

  &--1 {
    top: 10vw;
    left: 10vw;
    transform: translate(-50%, -50%);
  }
  &--2 {
    top: 10vw;
    left: 90vw;
    transform: translate(-50%, -50%);
  }
  &--3 {
    bottom: 10vw;
    left: 10vw;
    transform: translate(-50%, 50%);
  }
  &--4 {
    bottom: 10vw;
    left: 90vw;
    transform: translate(-50%, 50%);
  }

  svg {
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
  }
}
