/* Birth Plan Generator v1.1.1*/

.birth-plan-generator {
  padding-bottom: 20px;
  section {
    .bpg-date {
      color: #58595B;
    }
    h2 {
      margin-top: 0;
      padding: 15px 0;
      &.text-white {
        color: #fff !important;
      }
    }
  }
  .form {
    label.error {
      color: #ff0000;
    }
  }
  
  .modal-header {
    border-bottom: none;
    h1{
      &.text-white{
        color: #fff !important;
      }
      @media (max-width: 480px) {
        font-size: 32px;
      }
    }
    &.bg-error{
      background-color: #ff0000;
      color: #ffffff;
    }    
  }

  .modal-footer{
    text-align: center;
  }
  .modal-body{
    .btn{
      margin-top: 10px;
    }
    .btn:first-child{
      margin-right: 10px;      
    }
  }
  
  .bpg-margin-bottom {
    margin-bottom: 15px;
  }
  .bpg-margin-top {
    margin-top: 15px;
  }
  .bpg-tool-row {
    @media (min-width: 768px) {
      display: flex;
    }
    .card {
      height: 100%;
    }
  }
}

.birth-plan-nav-wrapper {
  &>* {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  position: relative;
  .birth-plan-nav {
    position: absolute;
    float: left;
    padding-bottom: 20px;
    ul {
      li {
        line-height: 18px;
        a {
          //override bootstrap background-color to prevent sticky hover on touch
          background-color: transparent;
          color: #848484;
          padding: 3px 15px;
          &:hover,
          &:focus {
            color: #58595B;
          }
        }
      }
    }
    // add hover back on non-touch
    &.no-touch {
      ul {
        li {
          a {
            &:hover {
              background-color: #eee;
            }
          }
        }
      }
    }
    .nav>.active>a {
      background-color: #eee;
      font-weight: bold;
    }
  }
}

// services explorer tweak
#service-main-content {
  .birth-plan-generator {
    section {
      h2 {
        margin-top: 0;
      }
    }
    h3 {
      margin: 15px 0;
    }
  }
  .birth-plan-nav {
    ul {
      li {
        padding-top: 0;
        padding-bottom: 0;
      }
    }
  }
}
