.footer {
    background: #1E3457 !important;
}
.footer .wrapper{
    background: #1E3457 !important;
}
.footer .wrapper .backtop_m {
    position: fixed;
    /*bottom: 1.5vh;*/
    bottom: calc(6vh + 70px);
    right: 16px;
    z-index: 100;

    background: #FFFFFF;
    box-shadow: 0px 8px 16px 2px rgba(21, 19, 19, 0.22);
    border-radius: 99px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.footer .wrapper .backtop_m:hover {
    background: #EBEFF5;
}

.footer_nav {
    display: flex;
    column-gap: 24px;
    padding-inline: 70px;
    padding-block: 50px 0px;
    justify-content: space-between;
}
.footer_nav .contact-title {
    font-family: Lato;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 0;
}

.footer_nav .popular_link{
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.footer_nav .popular_link a{
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    cursor: pointer;
}
.footer_nav .popular_link a:hover{
    color: rgba(255, 255, 255, 0.6);
}

.footer_nav .follow_us{
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.footer_nav .follow_us .button_bar {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.footer_nav .follow_us a {
    display: flex;
    align-items: center;
}
.footer_nav .follow_us a span{
    padding-left: 16px;
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}
.footer_nav .follow_us .button_bar div:hover a span, .url_to_rsis:hover{
    color: rgba(255, 255, 255, 0.6);
}
.url_to_rsis{
    color: #ffffff !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .5px;
}
.url_to_rsis:hover{
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer_nav .getting_rsis{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.footer_nav .getting_rsis iframe{
    width: 180px;
    height: 160px;
}
.footer_nav .getting_rsis address{
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}
.footer_nav .getting_rsis p{
    margin: 0px;
}

.footer_nav .get_touch{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    max-width: 21%;
}
.footer_nav .get_touch .ctrl{
    margin-bottom: 16px;
}
.footer_nav .get_touch .ctrl span input{
    padding: 8px 16px;
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    
    color: #737475;
    outline: none;
}
.footer_nav .get_touch .ctrl span input::-webkit-input-placeholder , .footer_nav .get_touch .ctrl span textarea::-webkit-input-placeholder {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.footer_nav .get_touch .ctrl span select{
    padding: 10px 12px !important;
    font-family: Lato !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 24px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    color: #737475 !important;
    outline: none;
}
.footer_nav .get_touch .ctrl span textarea{
    padding: 8px 16px;
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    
    color: #737475;
    outline: none;
    width: -webkit-fill-available;
    margin-inline: 0px;

    max-height: 120px;
    overflow: auto;
}
.footer_nav .get_touch .contact-submit{
    font-family: Lato;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.5px;
    
    color: #151313;

    padding: 14px 32px;
    background: #FFFFFF;
    border-radius: 1px;

    text-transform: capitalize;
}
.footer_nav .get_touch .contact-submit:hover{
    background: #EBEFF5;
    color: #151313 !important;
}

.footer_nav .recaptcha {
    height: 90px;
    display: block;
    margin-block: 10px;
}
.footer_nav .recaptcha > span > div {
    width: 100% !important;
    transform-origin: 0 0;
}
.footer_nav .recaptcha > span > div iframe {
    height: 100% !important;
    width: 100% !important;
}


.footer_legal {
    padding: 32px 70px;
    display: flex;
    justify-content: space-between;
    font-family: Lato;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.footer_legal .copyright {
    
}
.footer_legal .details {
    color: #ffffff;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 12px;
}
.footer_legal .details a{
    color: #ffffff;
}
.footer_legal .details a:hover{
    color: rgba(255, 255, 255, 0.6);
}

@media only screen and (max-width: 810px) {
    .footer .wrapper .backtop_m {
        position: fixed;
        /*bottom: 1.5vh;*/
        bottom: calc(6vh + 70px);
        right: 16px;
        z-index: 100;

        background: #FFFFFF;
        box-shadow: 0px 8px 16px 2px rgba(21, 19, 19, 0.22);
        border-radius: 99px;
        padding: 12px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .footer_nav {
        margin-top: 32px;
        display: grid;
        grid-template:
            "a"
            "b"
            "c";
        padding-block: 32px;
        padding-inline: 0px;
    }
    .footer_nav > div {
        padding-block: 32px;
        padding-inline: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }
    .footer_nav:first-child {
        padding-top: 0px;
    }

    .footer_nav .contact-title {
        font-weight: 600;
        font-size: 22px;
        line-height: 30px;
    }

    .footer_nav .popular_link{
        grid-area: a;
    }
    .footer_nav .popular_link a{
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }

    .footer_nav .follow_us{
        grid-area: c;
        padding-bottom: 0px;
        border-bottom: unset;
    }
    .footer_nav .follow_us .button_bar {
        flex-wrap: wrap;
        flex-direction: row;
        row-gap: 16px;
        column-gap: 16px;
    }
    .footer_nav .follow_us .button_bar div{
        flex-basis: calc(50% - 8px);
    }
    .footer_nav .follow_us .button_bar div:hover a span, .url_to_rsis{
        color: #ffffff;
    }

    .footer_nav .getting_rsis{
        grid-area: b;
    }
    .footer_nav .getting_rsis iframe{
        width: 100%;
        height: 160px;
    }
    .footer_nav .getting_rsis address{
        border: unset;
        padding: 0px;
        margin: 0px;
    }
    .footer_nav .get_touch{
        display: none;
    }
    .footer_legal {
        padding: 32px 16px;
        flex-direction: column-reverse;
        align-items: flex-start;
        row-gap: 16px;
    }
    .footer_legal .details {
        column-gap: 2px;
        flex-wrap: wrap;
    }
    .footer_legal .details a {
        white-space: nowrap;
    }
}

.flex-display {
    display: flex !important;
}
.footer_nav .button_bar>div:last-child, .footer_nav .button_bar > div:nth-last-child(2) {
    width: 100% !important;
}
#footer_nav .get_touch .contact-submit {
    display: none;
}