// (C) Copyright 2011-2013 Hewlett-Packard Development Company, L.P.

.hp-simple-page, #hp-error-page {
  background-color: #fff;
  .hp-simple-pane {
    margin: 50px auto;
    max-width: 400px;
    overflow-y: auto;
    
    .hp-name {
      font-size: 35px;
      line-height: 35px;
    }
    
    .hp-progress-details {
      position: relative;
      
      > * {
        display: inline-block;
        vertical-align: middle;
      }
      
      .hp-progress {
        width: 120px;
        margin: 0px 10px 0px 0px;
      }
      
      a {
        position: absolute;
        right: 0px;
      }
    }
    .hp-secondary {
      color: #999999;
      margin: 30px 0px;
      p {
        margin-bottom: 0px;
      }
    }
    
    .hp-show-form {
      margin-bottom: 0px;
      margin-top: 20px;
        
      ol {
        margin-bottom: 0px;
      }
    }
      
    .hp-edit-form {
      position: absolute;
      min-width: 400px;
      width: auto;
      
      fieldset {
        min-width: 400px;
        &:last-of-type {
          margin-bottom: 0px;
        }
        ol {
          &:last-child {
            margin-bottom: 0px;
          }
        }
      }
      
      li.hp-form-item {
        .hp-form-content {
          width: 100%;
          
          label.hp-error {
            z-index: 51;
          }
        }
      }
      
      .hp-footer {
        border-top: none;
        position: absolute;
        right: 0px;
        
        .hp-form-controls {
          left: 0px;
          padding-left: 0px;
        }
      }
    }
  }
  .hp-state {
    margin-top: 8%;
    text-align: center;
    line-height: normal;
     
    &.hp-attention {
      width: 400px;
      margin: 8% auto;
      padding: 20px;
      text-align: left;
      background-color: $attention-background;
    }
    
    .hp-spinner, .hp-status, .hp-name {
      display: inline-block;
    }
    
    .hp-spinner {
      width: 35px;
      height: 35px;
      margin-right: 20px;
      
      .hp-spinner-image {
        margin: 0px;
        margin-top: 5px;
      }
    }
    
    .hp-status {
      position: relative;
      top: 6px;
      margin-right: 20px;
      height: 38px;
    }
    
    .hp-name {
      font-size: 35px;
      line-height: 35px;
    }
    
    .hp-progress {
      margin: 20px auto;
    }
    
    .hp-details {
      max-width: 400px;
      margin: 20px auto;
    }
    
    .hp-actions {
      margin-bottom: 0px;
    }
  }
}