﻿/* DO NOT DISPLAY IF MOBILE */
#mortgageDeals {
    display: none;
}

/* ONLY DESKTOP */
@media only screen and (min-width: 621px) {
    #mortgageDeals {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

        #mortgageDeals .mortgageDeal {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 585px;
            min-width: 585px;
            margin: 20px;
            background-color: #ffffff;
            box-shadow: 0 0 10px 0 rgba(53, 53, 53, 0.5);
            padding: 0 20px;
            box-sizing: border-box;
            border-radius: 12px;
        }

        #mortgageDeals .mortgageDealHeading {
            padding: 25px 0;
            padding-bottom: 30px;
            font-size: 20px;
            font-weight: 500;
            color: #323234;
        }

        #mortgageDeals .mortgageDealSection {
            display: flex;
            width: 100%;
            margin-bottom: 35px;
        }

        #mortgageDeals .mortgageDealColumn {
            border-right: solid 0.6px #d9d9d9;
            padding-bottom: 5px;
            margin-right: 15px;
            width: 100%;
        }

            #mortgageDeals .mortgageDealColumn:last-of-type {
                border-right: none;
                margin-right: 0;
                min-width: 185px;
            }

            #mortgageDeals .mortgageDealColumn:first-of-type {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            #mortgageDeals .mortgageDealColumn p {
                margin: 0;
                font-size: 15px;
                font-weight: 300;
                line-height: 1.4;
                color: #323234;
            }

        #mortgageDeals .mortgageDealColumnHeading {
            font-size: 15px;
            font-weight: 500;
            color: #323234;
            margin-bottom: 25px;
        }

        #mortgageDeals .providerImage {
            width: 126px;
            object-fit: cover;
        }

        #mortgageDeals .costComparison {
            display: flex;
            justify-content: space-between;
        }

        #mortgageDeals .learnMore {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 108px;
            height: 34px;
            border-radius: 99px;
            background-color: #45c4d8;
            font-size: 14px;
            color: #ffffff;
            cursor: pointer;
            text-decoration: none;
        }

        #mortgageDeals .mortgageDealFooter {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 60px;
            border-top: solid 0.6px #d9d9d9;
            cursor: pointer;
            color: #323234;
            font-size: 15px;
            font-weight: 500;
        }
}
