@import "../../../../../assets/styles/index.scss";

.installmentplan {
    @include rem(font-size, 16px);
    @include rem('margin-bottom', 30px);
    font-family: 'DaimlerCS', sans-serif;
    color: #333;
    border: 1px solid $color-light-gray2;

    &-greybg {
        @include rem('padding', 30px 30px 0 30px);
        background-color: $color-light-gray1;
        border-bottom: 1px solid $color-light-gray2;

        table {
            width: 100%;

            &.width-90 {
                @include rem('margin-top', 40px);
                tr td {
                    border-bottom: 1px solid $color-light-gray2;
                    @include rem('padding', 15px 0 5px 0);
                    @include rem('font-size', 16px);

                    &:first-child {
                        width: 80%;
                    }
                    &:last-child {
                        text-align: right;
                    }

                    b {
                        font-weight: bold;
                        display: block;
                    }
                }
                tr.col-Blue td {
                    color: $color-blue;
                }
                th {
                    @include rem('font-size', 18px);
                    @include rem('padding-bottom', 15px);
                    font-weight: bold;
                }
            }

            &.table-4 {
                tr td, th {
                    @include rem('padding', 15px 0 5px 0);
                    @include rem('font-size', 16px);
                    border-bottom: 1px solid $color-light-gray2;
                    width: 15%;
                    text-align: right;

                    &:first-child, th:first-child {
                        width: 55%;
                        text-align: left;
                    }
                }
                th {
                    color: $color-dark-gray9;

                    &:first-child {
                        font-family: 'Daimler', sans-serif;
                        @include rem('font-size', 32px);
                        color: $color-black;
                    }
                }
                tr.col-Blue td {
                    color: $color-blue;
                }
            }
            &.margin-40{
                @include rem('margin-bottom', 40px);
            }
        }
    }

    .row {
        @include rem('padding', 12px 0);
        border-bottom: 1px solid $color-light-gray2;
    }

    &-address {
        padding-bottom: 0 !important;
        div {
            @include rem('padding-top', 12px);
            @include rem('padding-bottom', 12px);
            border-bottom: 1px solid $color-light-gray2;
        }
        div:nth-child(3), div:nth-child(4) {
            border-bottom: 0;
        }
    }

    .row:last-child {
        border-bottom: 0;
    }

    label {
        @include rem(font-size, 14px);
        margin-bottom: 0;
    }

    b {
        @include rem(font-size, 18px);
        font-weight: bold;
        display: block;
    }
    h5 {
        @include heading1;
        margin-bottom: 0;
    }

    &-whitebg {
        @include rem('padding', 0 30px 0 30px);
        background-color: white;
        border-bottom: 1px solid $color-light-gray2;

        .row {
            @include rem('padding', 15px 0);
        }

        .total {
            @include rem(font-size, 24px);
        }

        .col-blue b {
            color: $color-blue;
        }

        table {
            width: 100%;

            &.width-90 {
                @include rem('margin-top', 40px);
                tr td {
                    @include rem('padding', 15px 0 5px 0);
                    @include rem('font-size', 16px);
                    border-bottom: 1px solid $color-light-gray2;

                    &:first-child {
                        width: 80%;
                    }
                    &:last-child {
                        text-align: right;
                    }

                    b {
                        font-weight: bold;
                        display: block;
                    }
                }
                tr.col-Blue td {
                    color: $color-blue;
                }
                th {
                    @include rem('font-size', 24px);
                    @include rem('padding-bottom', 15px);
                    font-weight: bold;

                    &:last-child {
                        text-align: right;
                    }
                }
            }
        }
    }
}


.gst {
    font-family: 'DaimlerCS', sans-serif;
    @include rem(font-size, 14px);
    @include line-height(20px, 14px);
    a {
        color: $color-dark-gray3;
        text-decoration: underline;
    }
    a:hover {
        text-decoration: none;
    }
}

.main {
    background-image: url('../../../../../assets/images/Car_Banner_Summary@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.mainBG{
    	background: linear-gradient(180deg, #000000 0%, #2E2E2E 30%, #000000 100%);
}
