﻿.footer {
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

    .footer h3 {
        color: #fff;
        font-weight: 500;
        font-size: 17px;
        line-height: 20px;
        text-align: left;
        padding-bottom: 20px;
    }

.footer_form {
    display: flex;
    border-bottom: #4d636c solid 1px;
    align-items: center;
    justify-content: center;
}

.margin_to90 .footer {
    margin-top: 90px;
}

.logo-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-left: 15%;
    padding-right: 10%;
}

.row-footer {
    display: flex;
    flex-direction: row; /* Align elements in a row */
    width: 70%;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.row-footer-link {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
    background-color: #2c5e93; /* Add Nico blue background to row-footer-link container */
}

.footer-link {
    display: flex;
    justify-content: flex-end;
    background-color: #2c5e93;
    padding: 10px;
}

    .footer-link a {
        color: white;
        text-decoration: none;
        margin-left: 100px; /* Add space between links */
    }

        .footer-link a:hover {
            color: grey;
        }


.footer {
    background-color: #f0f0ee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
}

    .footer .bg-white, .footer .bg-white .footer_links {
        background: #2c5e93 !important;
    }

    .footer .footer-padding {
        justify-content: center;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer > * {
        -webkit-box-flex: 1;
        -ms-flex: 1 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: stretch;
        flex-direction: column;
        align-content: stretch;
    }

    .footer address {
        font-style: normal
    }

    .footer ul {
        list-style: auto;
        justify-content: center;
    }

    .footer li {
        line-height: 2em
    }

    .footer a {
        text-decoration: none
    }

    .footer .footer__addr {
        margin-bottom: 20px
    }

        .footer .footer__addr .footer__btn {
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            align-items: center;
            border-radius: 75pt;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            font-size: 1rem;
            height: 36px;
            justify-content: center;
            line-height: 0;
            margin: .6em 0;
            max-width: -webkit-max-content;
            max-width: -moz-max-content;
            max-width: max-content;
            padding: 0 1.3em
        }

        .footer .footer__addr h2 {
            font-size: 15px;
            font-weight: 400;
            margin-top: 1.3em
        }

    .footer .legal {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 100%;
    }

        .footer .legal, .footer .legal .footer_links {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            align-content: center;
        }

            .footer .legal .footer_links {
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                margin-left: auto
            }

                .footer .legal .footer_links .flex {
                    -webkit-box-pack: justify;
                    -ms-flex-pack: justify;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    justify-content: space-between
                }

                    .footer .legal .footer_links .flex > li {
                        padding: 0 20px
                    }

                    .footer .legal .footer_links .flex.social-icon li {
                        padding: 0 10px
                    }

                        .footer .legal .footer_links .flex.social-icon li a {
                            background-color: #2c5e93;
                            display: block;
                            height: 26px;
                            padding: 8px;
                            position: relative;
                            text-decoration: none;
                            -webkit-transition: all .3s;
                            transition: all .3s;
                            width: 26px
                        }

                            .footer .legal .footer_links .flex.social-icon li a i {
                                color: #fff;
                                font-size: 18px;
                                left: 50%;
                                position: absolute;
                                top: 50%;
                                -webkit-transform: translate(-50%, -50%);
                                transform: translate(-50%, -50%)
                            }

    .footer .bg-white {
        background: #154a86
    }

        .footer .bg-white .footer_links {
            -webkit-box-pack: end;
            -ms-flex-pack: end;
            background: #2c5e93;
            justify-content: flex-end;
            padding: 10px 20px
        }

        .footer .bg-white a {
            color: #fff;
            font-size: 0.74rem;
            font-style: normal;
            font-weight: 400;
            line-height: 20px
        }

.footer__nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap
}

    .footer__nav .nav__item .nav__title {
        color: #838380;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
        margin-bottom: 20px;
        pointer-events: none
    }

    .footer__nav .nav__item .nav__ul li {
        margin-bottom: 5px
    }

        .footer__nav .nav__item .nav__ul li a {
            color: #154a86;
            font-size: 1pc;
            font-style: normal;
            font-weight: 400;
            line-height: 22px
        }

    .footer__nav > * {
        -webkit-box-flex: 1;
        -ms-flex: 1 50%;
        flex: 1 50%;
        margin-right: 1.25em
    }

@media screen and (min-width: 1025px) {
    .footer__nav > * {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .footer__addr {
        -webkit-box-flex: 1;
        -ms-flex: 1 0px;
        flex: 1 0px
    }
}

@media screen and (max-width: 1025px) {
    .footer .nav__ul li {
        padding: 2px 10px
    }

    .footer .nav__item.on .nav__ul {
        -webkit-transition: all .3s;
        transition: all .3s
    }

    .footer .footer-padding {
        padding: 0.2rem;
    }

        .footer .footer-padding .footer__addr {
            margin-bottom: 10px;
            width: 100%
        }

        .footer .footer-padding .footer_links {
            margin-bottom: 10px;
            margin-left: 0;
            width: 100%
        }

    .footer .footer__nav .nav__title {
        border: 1px solid #ccc;
        border-left: 0;
        border-right: 0;
        cursor: pointer;
        margin-bottom: 0;
        padding: 15px 10px;
        pointer-events: auto;
        position: relative
    }

    .footer .footer__nav .nav__item > .nav__title:before {
        color: #969696;
        content: "";
        font-family: FontAwesome;
        font-size: 14px;
        font-weight: 400;
        position: absolute;
        -webkit-transition: all .3s;
        transition: all .3s
    }

    .footer .footer__nav .nav__item .nav__title:before {
        right: 30px
    }

    .footer .footer__nav .nav__item > .nav__title.active:before {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transition: all .3s;
        transition: all .3s
    }

    .footer .footer__nav > * {
        margin-right: 1px
    }

    .footer .bg-white .footer_links {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 auto;
        text-align: center
    }

        .footer .bg-white .footer_links .flex {
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            justify-content: center
        }
}

.nav__ul {
    display: block !important
}

@media (max-width: 1025px) {
    .nav__ul {
        display: none !important
    }

    .active + .nav__ul {
        display: block !important;
        height: auto;
        max-height: 750pt !important
    }
}

h2.nav__title.active + .nav__ul {
    height: auto;
    max-height: 750pt
}

@media screen and (max-width: 1025px) {
    .footer__nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex
    }
}

@media screen and (min-width: 1025px) {
    .footer__nav {
        -ms-flex-line-pack: start;
        grid-gap: 1.6em;
        align-content: start;
        display: grid;
        grid-template: auto/repeat(auto-fill, minmax(2em, 11em))
    }
}

@media screen and (min-width: 1440px) {
    .footer__nav {
        -ms-flex-line-pack: start;
        grid-gap: 1.6em;
        align-content: start;
        display: flex;
        grid-template: auto/repeat(auto-fill, minmax(2em, 15em))
    }
}

footer {
    margin-top: 30px
}
