﻿.svea-part-payment-widget-wrapper {
    margin: 20px 0 20px 0;
}

.svea-part-payment-widget {
    font-weight: 700;
    display: flex;
    align-items: flex-start;
}

    .svea-part-payment-widget img {
        width: 70px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 14px;
    }

    .svea-part-payment-widget p {
        text-decoration: underline;
    }

.svea-partpayment-popup-external-container {
    display: none;
}

@media (max-width: 600px) {
    .all-partpayments-popup {
        width: 92% !important;
    }
}

.all-partpayments-popup {
    position: fixed;
    border: 3px solid #f1f1f1;
    z-index: 1040;
    background-color: white;
    max-width: 700px;
    max-height: 1000px;
    inset: 1rem;
    margin: 50px auto 0 auto;
    text-align: left;
}

@media (max-width: 600px) {
    .part-payment-plan-table-container thead {
        display: none;
    }

    .part-payment-plan-table-container tbody,
    .part-payment-plan-table-container tr,
    .part-payment-plan-table-container td {
        display: block;
        width: 100%;
    }

    .part-payment-plan-table-container td {
        display: flex;
        justify-content: space-between;
        padding: 4px 8px;
        position: relative;
    }

        .part-payment-plan-table-container td::before {
            content: attr(data-label);
            font-weight: bold;
            display: block;
        }

    .part-payment-plans .part-payment-plan-container {
        margin-top: 25px;
    }
}

.all-partpayments-container {
    width: 90%;
    margin: auto;
}

    .all-partpayments-container .container {
        margin: auto;
        padding: 15px 0 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.all-partpayments-close-container {
    border-bottom: 1px solid lightgrey;
}

.all-partpayments-popup {
    overflow-y: auto;
}

/*Transparent grey overlay on the entire page*/
.faded-overlay {
    opacity: 0.5;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 1030; /*Set to 1030 as header has 1020*/
    top: 0;
    left: 0;
    position: fixed;
}

/*START - Close icon for poup*/
.all-partpayments-close-container .fa-xmark {
    font-size: 26px !important;
}

.fa-xmark:hover {
    cursor: pointer;
}
/*END - Close icon for poup*/

/*START - SVEA logo*/
.svea-logo-container {
    width: 100%;
    margin-top: 45px;
    margin-bottom: 55px;
}

    .svea-logo-container img {
        max-width: 100px;
    }
/*END - SVEA logo*/

/*START - Part payment table*/
.part-payment-plan-table-container {
    font-size: 14px;
}

.part-payment-plan-container {
    margin-top: 55px;
}

.part-payment-plan-header {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(216, 216, 216);
    margin-bottom: 20px;
}
/*END - Part payment table*/

/*START - Part payment info section*/
.part-payment-plans {
    margin-bottom: 45px;
}

.part-payment-info-header {
    padding-top: 15px;
    font-size: 30px;
    font-weight: bold;
}
/*END - Part payment info section*/

/*START - Part payment info content*/
.part-payment-info {
    margin-bottom: 25px;
}

    .part-payment-info .info-content {
        font-size: 14px;
        font-weight: 400;
    }

        .part-payment-info .info-content p {
            width: 100%;
            margin-top: 25px;
        }

        .part-payment-info .info-content a {
            text-decoration: underline;
        }
/*END - Part payment info content*/