﻿
:root {
    --color-primary: #0067a6;
    --color-primaryMedium: #4d95c1;
    --color-grey: #f2f2f2;
}

/*@media (min-width: 1300px) {
    .container {
        max-width: 1320px;
    }
}*/

h2.mb-4 {
    color: var(--color-primary);
}

h2.mb-4 {
    margin-bottom: 0.5rem !important;
}

.btn-div {
    background-color: var(--color-primary);
    color: #fff;
}


/*ul {
    list-style: disc;
    padding-left: 2rem;
}*/

li strong {
    font-weight: 700;
}


/****** Card-css & animation ******/
.member-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.card-img {
    height: 100%;
    width: 100%;
}

    .card-img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.member-name {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80%;
    background-color: #666;
    background-color: var(--color-primaryMedium);
    color: #fff;
    border-radius: 0 100px 0 0;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    transition: 200ms ease;
    z-index: 9;
}

    .member-name h6 {
        font-size: 1.4rem;
    }

.hiddenCard-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    overflow: hidden;
}

.hiddenCard-div {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translate(-50%);
    height: 100%;
    width: 100%;
    background-color: var(--color-grey);
    color: #000;
    text-align: center;
    transition: 400ms ease;
    transform-origin: bottom;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-card:hover .member-name {
    opacity: 0;
}

.member-card:hover .hiddenCard-div {
    bottom: 0%;
    padding: 1rem;
}

/***** End of Card-css & animation ******/

.img-div {
    height: 400px;
    overflow: hidden;
}

    .img-div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

section.contact {
    background-color: #efefef;
    margin-bottom: 0;
}

.contact-img {
    margin-bottom: 3rem;
}

@media(max-width:991px) {
    .mortgage-innerPages .row {
        flex-direction: column-reverse;
    }
}
