/* payments */
#div_payments_quickview .trGrid {
    height: 100%!important;
    border-top: 1px solid #ebebeb;
}

#tab4_payment_wrap, #div_payments_quickview {
    height: 100%;
    width: 100%;
}
#div_payments_quickview > .flex-left {
    height: 100%;
}

#div_payments_quickview h3.trHeading {
    font-size: 15px;
}

#div_payments_quickview #active_product_qtip {
    vertical-align: top;
}

.qv-payment-section {
    min-height: 120px;
    min-width: 280px;
    height: 120px;
    width: 280px;
    padding: 10px 0 10px 32px;
    box-sizing: border-box;
    border-bottom: 1px solid #ebebeb;
    flex-grow: 2;
}
.qv-payment-section:last-of-type {
    border-bottom:none;
}
.qv-payment-section > .flex-left {
    width: 100%;
}
.qv-payment-section .nullScreen,
.qv-payment-section .errorScreen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.qv-payment-section .nullScreen p,
.qv-payment-section .errorScreen p {
    color:#aaaaaa;
    font-size: 12px;
    font-weight: 100;
}

.qv-payment-header {
    flex-shrink:0;
}

.qv-payment-section .payment-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: inherit;
    width: 100%;
    position: relative;
}
.qv-payment-section .list-container {
    width: 100%;
    position: relative;
}
.qv-payment-section .payment_creditcard:hover .payments_card_delete {
    display: block;
}
.qv-payment-section .payments_card_delete,
.qv-payment-section .payments_subscription_delete {
    position: absolute;
    height: 20px;
    width: 20px;
    background: #999;
    right: 8px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    line-height: 19px;
    color: white;
    opacity: 0.8;
    font-weight: 100;
    font-size: 12px;
    text-transform: lowercase;
    display: none;
}
#payments_quickview_discounts .payments_coupon_delete {
    top: -5px;
    right: 3px;
    position: absolute;
    height: 24px;
    width: 24px;
    text-indent: -9999px;
    background-size: 100%;
    opacity: 0.8;
    cursor: pointer;
    background-image: url('/app/images/UI/Cancel.png');
}


.qv-payment-section .payments_subscription_status {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 100;
    font-size: 11px;
}
.qv-payment-section .payments_subscription_status.current {
    color: #FF9800;
}
.qv-payment-section .payments_subscription_status.next {
    color: #ebebeb;
}

#div_payments_quickview .payment_subscription_renewal {
    color: #9b9b9b;
}

#qv_payment_billing {
    flex-grow:3;
    padding-bottom: 0;
}

#payments_quickview_billingInfo {
    overflow: auto;
    margin-top: 10px;
}
#payments_quickview_billingInfo .payment_creditcard {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
}
#payments_quickview_billingInfo .payment_creditcard .payments_card_isDefault {
    font-size: 12px;
    font-weight: 100;
    color: #ebebeb;
}
#payments_quickview_billingInfo .payment-card-text {
    font-size: 13px;
    font-weight: 100;
    color: #9B9B9B;
    padding-left: 5px;
}

.quickview-grid {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /* max-height: 284px; */
}

#payments_quickview_sessions {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}
#payments_quickview_sessions .session-title {
    padding-right: 2px;
    font-weight: 100;
    color: #9b9b9b;
}
#payments_quickview_sessions .session-value {
    padding: 0 1px;
    font-weight: bold;
    color: #9b9b9b;
}

#payments_quickview_activePlan {
    margin-top: 15px;
}
#payments_quickview_activePlan .payment_subscription{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}
#payments_quickview_activePlan .payment_subscription img {
    margin-right:8px;
}

#div_payments_quickview .payment_subscription_noImage {
    height: 30px;
    width: 30px;
    border: solid 1px #ebebeb;
}
#div_payments_quickview .payment_subscription_text {
    padding-left: 10px;
}

.qv-payment-section .payment_subscription:hover .payments_subscription_delete {
    display: block;
}

#payments_quickview_discounts {
    margin-top: 10px;
}

/* Transaction grid specific */
div#payments_quickview_transactions .trGrid {
    /* height: 282px; */
}
div#dropdown_history_status .trGrid {
    /* height: 225px; */
}

.payment_coupon {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
}

.qv-payment-section .payment_coupon:hover .payments_coupon_delete {
    display: block;
}

/* Grid area */
#div_payments_quickview .quickview-grid-container {
    flex-grow: 1;
}

/* Product history overrides */
#payments_quickview_history, #payments_quickview_transactions {
    position: relative;
}
#payments_quickview_history #div_baseGrid {
    border:none;
}
#payments_quickview_history #trGrid_footer {
    border:none;
}
