.subscribe-button-wrapper button#subscribeButtonFooter:hover,
span.social-media-container a:hover {
    background-color: var(--green-theme-color)
}

:root {
    --green-theme-color: #7dce82;
    --red-theme-color: #a22c29
}

section.infiflex-new-footer {
    padding: 3% 5%;
    background-color: #444;
    color: #fff
}

section.infiflex-new-footer .top-wrapper {
    padding-bottom: 1.5em;
    border-bottom: 1px solid #fff;
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center
}

.top-wrapper span.social-media-container {
    display: grid;
    grid-auto-flow: column;
    gap: 5%
}

span.social-media-container a {
    padding: 9px;
    width: 2.5em;
    border-radius: 50%;
    transition: .3s;
    background-color: #fff
}

span.social-media-container a:hover {
    transform: scale(1.1)
}

section.infiflex-new-footer .middle-wrapper {
    display: grid;
    grid-auto-flow: column;
    gap: 4%;
    padding-top: 1.5em;
    padding-bottom: 1.5em
}

.infiflex-logo-col .infiflex-logo-wrapper {
    width: 18em
}

.middle-wrapper div p {
    margin-bottom: 0;
    line-height: 2;
    font-size: .9em;
    color: #fff
}

.middle-wrapper div p a {
    color: #fff
}

.middle-wrapper h5.footer-sub-header {
    font-weight: 600;
    font-size: 1.3em;
    margin: 0 0 1em
}

section.infiflex-new-footer .bottom-wrapper {
    display: grid;
    grid-template-columns: 52% 1fr 1fr;
    grid-auto-flow: column;
    /* gap: 6%; */
}

.bottom-wrapper .subscribe-form-col {
    width: 65%
}

.subscribe-form-col h6.form-header {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1em
}

.subscribe-form-col form#newsletterSubscription {
    padding: unset;
    z-index: unset;
    overflow: unset
}

form#newsletterSubscription .input-box input {
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 2px solid silver;
    width: 100%;
    margin-bottom: .5em;
    padding-bottom: .25em;
    letter-spacing: 0;
    transition: .25s;
    font-size: .9em;
    line-height: 2;
    background: 0 0
}

form#newsletterSubscription .input-box input:focus {
    outline: 0;
    border-bottom-color: var(--green-theme-color)
}

form#newsletterSubscription .input-box input::placeholder {
    color: #fff
}

form#newsletterSubscription .subscribe-button-wrapper {
    margin-top: 1em
}

.subscribe-button-wrapper button#subscribeButtonFooter {
    outline: 0;
    padding: .5em 1em;
    color: #000;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    transition: .25s
}

/* .bottom-wrapper .giffy-logo-col {
    margin-left: -7.3em
} */

.giffy-logo-col .giffy-logo-wrapper {
    width: 10em
}

.giffy-logo-col .infiflex-logo-wrapper {
    width: 16em;
    margin-left: 15%;
}

h4.dynamic-modal-header {
    font-weight: 600;
    color: var(--red-theme-color)
}

h5.dynamic-modal-content {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #606060
}

@media (max-width:1150px) {
    section.infiflex-new-footer .middle-wrapper {
        gap: 1em
    }

    .giffy-logo-col .infiflex-logo-wrapper {
        width: 12em;
        margin-left: 10%;
    }
}

@media (max-width:1090px) {
    .middle-wrapper div p {
        line-height: 1.5;
        margin-bottom: .6em
    }
}

@media (max-width:1058px) {
    .middle-wrapper .india-office-col {
        width: 18em
    }
}

@media (max-width:954px) {
    .infiflex-logo-col .infiflex-logo-wrapper {
        width: 14em
    }

    .middle-wrapper .page-links-col {
        width: 13em
    }

    /* .bottom-wrapper .subscribe-form-col {
        width: 65%
    } */
}

@media (max-width:882px) {

    .middle-wrapper .india-office-col,
    .middle-wrapper .page-links-col {
        width: unset
    }

    section.infiflex-new-footer .middle-wrapper {
        grid-auto-flow: row
    }

    .infiflex-logo-col .infiflex-logo-wrapper {
        width: 20em
    }

    section.infiflex-new-footer .bottom-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
    }

    section.infiflex-new-footer .subscribe-form-col {
        grid-column: 1 / -1;
    }

    .giffy-logo-col {
        margin-top: 2em;
    }
}

@media (max-width:652px) {
    .bottom-wrapper .subscribe-form-col {
        width: auto
    }

    /* .bottom-wrapper .giffy-logo-col {
        margin: auto;
        position: relative;
        top: -3em
    } */
}

@media (max-width:480px) {
    section.infiflex-new-footer {
        padding-top: 2em;
        padding-bottom: 2em
    }

    section.infiflex-new-footer .bottom-wrapper {
        grid-auto-flow: row;
        gap: 2em
    }

    .bottom-wrapper .giffy-logo-col {
        top: unset;
        width: 100%
    }

    .giffy-logo-col .giffy-logo-wrapper {
        width: 8em;
    }

    .giffy-logo-col .infiflex-logo-wrapper {
        width: 9em;
        margin-left: 0;
    }

    .subscribe-button-wrapper button#subscribeButtonFooter {
        float: inline-end
    }
}

@media (max-width:400px) {
    section.infiflex-new-footer .top-wrapper {
        grid-auto-flow: row;
        justify-content: start;
        gap: 1em
    }
}

@media (min-width:2560px) {
    .middle-wrapper h5.footer-sub-header {
        font-size: 2.3em
    }

    .middle-wrapper div p {
        font-size: 1.6em
    }

    .subscribe-button-wrapper button#subscribeButtonFooter,
    .subscribe-form-col h6.form-header {
        font-size: 2em
    }

    form#newsletterSubscription .input-box input {
        font-size: 1.9em
    }
}