/*

	File:        style.css
	Description: Stylesheet for bodyprice.php
	Author:      Steven Dahlman, DCMSoft LLC
	Start date:  10-13-26
	Last update: 10-13-26

*/

/*
 * Outer container
 */
#bodyprice-widget {
  box-sizing: border-box;
  color: #ffffff;
  font-family: Verdana, Geneva, sans-serif;
  user-select: none;

  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }

  /* Widget header */
  .header {
    background-color: #41acc1;
    font-size: 13px;
    padding: 13px;
    text-align: center;

    .title {
      display: block;
      font-weight: bold;
      letter-spacing: 2px;
      margin-bottom: 4px;
    }
  }

  /* Interactive body canvas */
  .body-container {
    background-color: #ffffff;
    margin-bottom: 4px;
    padding: 3px;
    position: relative;
    text-align: center;
  }

  /* Background body diagram */
  .body-img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
  }

  /* Orange marker dot */
  .marker-dot {
    cursor: pointer;
    line-height: 0;
    position: absolute;

    img {
      display: block;
    }
  }

  /* Popup procedure menu */
  .menu {
    background-color: #888888;
    border: 2px outset #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: none;
    font-size: 13px;
    padding: 11px 8px;
    position: absolute;
    text-align: center;
    z-index: 100;

    &.active {
      display: block;
    }

    b {
      display: block;
      margin-bottom: 2px;
    }

    p {
      font-size: 12px;
      margin: 4px 0 8px;
    }
  }

  /* Action buttons */
  .proc-btn {
    background-color: #ffffff;
    border: 1px outset #888888;
    color: #0000ff;
    cursor: pointer;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    margin: 3px auto;
    overflow: hidden;
    padding: 3px 4px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;

    &:active {
      border-style: inset;
    }
  }

  /* CLOSE button */
  .close-btn {
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    margin-top: 6px;
    text-decoration: underline;
  }

  /*
   * Footer
   */
  .footer {
    background-color: #41acc1;
    font-size: 13px;
    padding: 13px;
    text-align: left;
  }

  .footer-title {
    font-weight: bold;
    margin-bottom: 6px;
    min-height: 1.2em;
    text-align: center;
  }

  /*
   * Price table
   */
  table {
    border-collapse: separate;
    border-spacing: 0 8px;
    color: #ffffff;
    font-size: 13px;
    width: 100%;
  }

  td.label {
    font-weight: bold;
    padding-right: 12px;
    vertical-align: top;
    width: 80px;
  }
}