/* history */

.history-main {
    width: 100%;
    min-height: 600px !important;
    border-radius: 3px;
    background: #fff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .25);
    color: #4e5459;
    max-width: 950px;
    margin: 30px auto 0;
    padding: 20px 30px 30px;
    overflow: auto !important;
}

.history-title {
    color: #232e38;
    font-weight: 500;
    margin-bottom: 30px;
}

.invoice-card {
    display: block;
    width: 150px;
    height: 115px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 1px;
    text-align: center;
    color: #999;
    position: relative;
    float: left;
    margin: 10px 0 0;
    margin-right: 13px;
}

.btn-trash {
    box-shadow: none;
    border-radius: 0;
    background: 0 0;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    visibility: hidden;
}

.btn-trash svg path {
    fill: #b6b6b6;
}

.invoice-card:hover .btn-trash {
    visibility: visible;
}

.invoice-card:hover {
    border: 1px solid #009e74;;
}

.btn-trash:hover svg path {
    fill: red;
}

.invoice-card.draft:before {
    content: 'Draft';
    position: absolute;
    left: 10px;
    top: 6px;
    line-height: 20px;
    text-transform: uppercase;
    font-size: 12px;
    color: orange;
    text-shadow: 1px 1px 2px #fff;
}

.invoice-card a {
    text-decoration: none;
}

.invoice-card h3 {
    font-size: 24px;
    font-weight: 200;
    margin: 25px 0 5px;
    overflow: hidden;
    color: #3d4c59;
}

.invoice-card .to {
    font-size: 14px;
    color: #3d4c59;
    line-height: 24px;
    height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.invoice-card .date {
    color: #999;
    font-size: 12px;
}

.invoice-card p {
    margin-bottom: 0px;
}

.btn-trash {
    padding: 12px !important;
}

.invoice-list{
    padding-left: 40px;
}