/* You can add global styles to this file, and also import other style files */
html,
body {
  height: 100%;
}
body {
  margin: 0;
}

.align-container {
  padding: 0 14px;
  @media screen and (max-width: 960px) {
    padding: 0;
  }
  @media screen and (max-width: 480px) {
    padding: 0;
  }
}

.borderless {
  border: 0;
  border-radius: 0;
}

label {
  color: #666;
}

.center-component {
  display: inline-block;
  margin: 0 auto;
  font-size: 0.9rem;
}

.margin-right {
  margin-right: 25px;
}

textarea.form-control {
  border: 1px solid #ddd;
}

.input-box-container {
  display: block;
  margin: 0;
  position: relative;
  border-collapse: separate;
  max-width: auto;

  input {
    font-family: inherit;
    line-height: inherit;
    padding-left: 25px;
    max-width: inherit;
  }

  p {
    position: absolute;
    margin-left: 5px;
    height: 25px;
    display: flex;
    align-items: center;
    left: -5px;
  }
}

.timeline.timeline-simple {
  margin-top: 30px;
  padding: 0 0 20px;
  &:before {
    left: 5%;
    background-color: #ddd;
  }
}

.timeline {
  list-style: none;
  padding: 20px 0;
  position: relative;
  margin-top: 30px;

  h4 {
    margin: 0 !important;
  }

  .field {
    margin-bottom: 10px;
    color: #104911;
  }

  &:before {
    top: 50px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #e5e5e5;
    left: 50%;
    margin-left: -1px;
  }

  li {
    margin-bottom: 20px;
    position: relative;
    .timeline-badge {
      color: #fff;
      width: 22px;
      height: 22px;
      font-size: 1.4em;
      text-align: center;
      position: absolute;
      top: 31px;
      left: 50%;
      margin-left: -10px;
      z-index: 100;
      border-radius: 50%;
      background: #bbb;
    }
    .timeline-panel {
      width: 45%;
      float: left;
      padding: 20px;
      margin-bottom: 20px;
      position: relative;
      box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
      border-radius: 6px;
      color: rgba(0, 0, 0, 0.87);
      background: #fff;

      .timeline-heading {
        margin-bottom: 10px;
      }
    }
    .timeline-panel:before {
      position: absolute;
      top: 26px;
      right: -15px;
      display: inline-block;
      border-top: 15px solid transparent;
      border-left: 15px solid #e4e4e4;
      border-right: 0 solid #e4e4e4;
      border-bottom: 15px solid transparent;
      content: " ";
      background: #fff;
    }
  }

  li:before,
  li:after {
    content: " ";
    display: table;
  }

  li:after {
    clear: both;
  }

  > li > .timeline-badge {
    left: 5%;
  }

  > li > .timeline-panel {
    float: right;
    width: 89%;

    &:before {
      border-left-width: 0;
      border-right-width: 15px;
      left: -15px;
      right: auto;
    }

    &:after {
      border-left-width: 0;
      border-right-width: 14px;
      left: -14px;
      right: auto;
    }
  }
}

.card-wrapper {
  .card-header {
    width: 80%;
    margin: 0 auto;
  }
  .card-body {
    width: 82%;
    margin: 0 auto;
  }
}

.instrument-calcs {
  border: 1px solid #999;
  background: #eee;
  padding: 10px;
  border-radius: 5px;

  h4 {
    margin: 0;
    font-size: 1rem;
  }

  .field {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #375e99;
  }
}

.badge-custom {
  font-size: 100%;
  padding: 0.5em 0.7em;
  margin-bottom: 10px;
}

.cete-table-container {
  position: relative;
  overflow: auto;
  width: 100%;
  padding: 15px;

  table {
    background: none;
  }
}
