/* ----------------------------------------- */
/*  Common Sheet Styles                      */
/* ----------------------------------------- */

body.system-bol img#logo {
  content: url("/systems/bol/ui/logo2.webp");
}

.journal-page-content {
  /* Reserved for future use */
}

.bol.sheet {
  .window-header {
    border: none;
  }

  .window-content {
    height: 100%;
    padding: 10px;
    overflow-y: hidden;
    background: transparent;

    .bol-actor-form {
      border: 10px solid transparent;
      border-image: url("/systems/bol/ui/box-border-large.webp") 36 repeat;
      border-image-outset: 1;
      background: white;
      margin: 0;
      padding: 0;
      height: 100%;
      position: relative;
      width: 100%;

      .sheet-header {
        background-image: url("/systems/bol/ui/banner.webp");
        background-repeat: no-repeat;
        background-size: 330px 62px;
        background-position-y: -15px;
        background-position-x: right;
        height: 115px;
        min-height: 115px;
        max-height: 115px;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-end;
        padding-bottom: 10px;

        .header-field {
          .header-field-group {
            overflow: hidden;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-start;
            align-items: baseline;

            .charname,
            .itemname {
              color: #4b4a44;
              font-family: "Wolfsbane2Expanded", cursive;
              font-size: 1.65rem;
              background-color: #2a2a2a30;
              border: 1px solid #4b4a44 !important;
              border-radius: 0.5rem;
              width: 100%;
              margin-bottom: 4px;
            }

            .header-field-label {
              margin-right: 5px;
              font-size: 0.86rem;
            }

            .header-field-label.xp-sublabel {
              font-size: 0.9rem;
              color: #606060;
            }

            .header-field-value {
              color: #4b4a44;
              font-family: "Wolfsbane2Expanded", cursive;
              font-size: 0.9rem;
              background-color: #2a2a2a30;
              border: 1px solid #4b4a44 !important;
              border-radius: 0.5rem;
              text-align: center;
            }
          }
        }

        .header-buttons {
          align-self: flex-end;
          padding-bottom: 10px;

          .post-item {
            flex: 0 0 auto;
            height: 32px;
            width: 32px;
            line-height: 30px;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid #999;
            border-radius: 3px;

            &:hover {
              background: rgba(0, 0, 0, 0.2);
            }
          }
        }
      }

      .wrap {
        flex: 1;
        min-height: 0;
        align-items: stretch;
      }

      .bol-actor-sidebar {
        align-self: flex-start;
      }

      .main {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        height: 100%;
        overflow: hidden;

        .tabs {
          flex: 0 0 30px;
          background-color: black;

          .item {
            line-height: 30px;
            font-weight: bold;
            font-family: "CCMeanwhile", cursive;
            color: white;
            padding-top: 4px;
            font-size: 0.8em;

            &.active {
              text-decoration: underline;
              text-shadow: none;
            }
          }
        }

        .sheet-body {
          flex: 1;
          min-height: 0;
          overflow: hidden;

          .tab {
            height: 100%;
            border: none;
            overflow-y: auto;
            display: none;

            &.active {
              display: block;
            }

            &.stats {
              hr {
                margin-top: 6px;
                margin-bottom: 6px;
              }
            }

            &.description {
              .editor,
              .editor-content,
              prose-mirror {
                height: 100%;
                color: #191813;
              }
              prose-mirror .editor-content,
              prose-mirror p,
              prose-mirror div,
              prose-mirror span {
                color: #191813 !important;
              }
              input[type="text"],
              input[type="number"] {
                background-color: #2a2a2a30;
                border: 1px solid #4b4a44 !important;
                border-radius: 0.5rem;
                color: #4b4a44;
                text-align: center;
                font-size: 0.95rem;
                margin-left: 6px;
              }
            }
          }
        }
      }
    }
  }
}

.sheet-profile-img {
  cursor: pointer;
  border: none;
  background-color: #EEE;
  height: auto;
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  max-width: 96px;
  margin-right: 10px;
}
