@import "sass/laniakea_barra_bg";
@import "sass/admin/tab";
@import "sass/admin/swiperace";

#laniakea {
  background-color: #efefef; 

  .title {
    height: 80px;
    background: $lanialea_barra_bg;    
    color: white;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 20px;

    img {
      margin-right: 16px;
    }
  }

  .mt-1 {
    margin-top: 16px;
  }

  .mb-1 {
    margin-bottom: 16px;
  }

  .d-flex {
    display: flex;

    &.align-center {
      align-items: center;
    }

    .flex-item {
      width: 100%;
      margin-bottom: 16px;

      &:not(:last-child) {
        margin-right: 16px;
      }
    }
  }

  .field-group {
    margin-bottom: 28px;
  }

  form {
    input[type="submit"] {
      margin-top: 24px;
    }

    input[type="text"],
    input[type="number"] {
      width: 100%;
      max-width: 600px;
    }

    input[type="number"] {
      max-width: 200px;
    }

    textarea {
      width: 100%;
    }

    select {
      width: 400px;

      &[name="font_weights"] {
        height: 250px;
        overflow: hidden;
      }
    }

    table {
      margin-bottom: 40px;
      width: 100%;
      text-align: left;

      th {
        width: 200px;
      }
      th,
      td {
        padding-top: 16px;
      }
    }
  }

  .laniakea-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .color-inputs {
    .color-item {
      display: flex;
      align-items: center;
      width: 100%;
      margin-bottom: 8px;
      label {
        font-weight: bold;
        display: block;
        width: 150px;
      }

      input[type="color"] {
        width: 50px;
        height: 50px;
        border: 0;
        background-color: transparent;
        cursor: pointer;
        margin-right: 16px;
      }

      .copy,
      .paste {
        color: #666;
      }
    }
  }

  .shortcode-copy {
    width: 100%;
    background-color: transparent;
    border: 0;
    outline: 0;
    padding: 8px;
    margin-bottom: 16px;
    font-size: 16px;
  }

  #stickybar {
    position: relative;
    .sticky-preview {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
    }
  }
}

.laniakea-meta-box {
  .field-group {
    margin: 16px 0 16px;
  }
}
