﻿/*LATEST DEALS VIEW*/
.logo_carousel {
    width: 100%;
    margin-top: 30px;
}

#latest_deals_view ul {
    display: none;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 0 2rem 0;
    padding: 0;
    width: 100%;
    float: left;
}

    #latest_deals_view ul:first-child {
        display: flex;
    }

#latest_deals_view li {
    list-style: none;
    flex-basis: 48%;
    display: flex;
    margin: 2rem 0;
    min-height: 10vh;
}

    #latest_deals_view li img {
        align-self: center;
        margin: 0 auto;
        width: 120px;
    }

@media only screen and (min-width: 768px) {
    .logo_carousel {
        width: 80%;
    }

    #latest_deals_view ul {
        width: 100%;
        margin: 0 0 2rem;
    }

    #latest_deals_view li {
        flex-basis: 33%;
        margin: 2rem 0;
    }
}

@media only screen and (min-width: 1025px) {
    #latest_deals_view li {
        flex-basis: 33%;
    }
}

.mortgage_page_section .mortgage_submenu_button span {
    margin-top: 0rem;
}

.mortgage_page_section {
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 20px 4rem 20px;
}

    .mortgage_page_section > .secondary_button {
        width: 100%;
    }

@media only screen and (min-width: 576px) {
    .mortgage_page_section > .secondary_button {
        margin: 0;
        width: auto;
        letter-spacing: 0.2px;
    }
}

@media only screen and (min-width: 430px) {
    .mortgage_page_section {
        padding: 3rem 20px 4rem 20px;
    }
}
