.footer {
    padding: 10rem 2.4rem 6rem 2.4rem;
    background-color: #eaf1fe;
}

.footer--container {
    position: relative;
    max-width: calc(1724px + 4.8rem);
    left: 50%;
    transform: translateX(-50%);
}

.footer--logo {
    display: inline-flex;
    margin-bottom: 5.95rem;
    width: 177.44px;
    height: 53.58px;
}

.footer--logo img {
    width: 100%;
    max-width: 17.744rem;
}

.footer--info {
  color: #001E59;
}

.footer--info strong {
    display: inline-block;
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
}

.footer--info p {
    font-size: 1.4rem;
    font-weight: 400;
}

.footer--info > p {
  display: inline-block;
  margin-bottom: 2.4rem;
  font-size: 1.7rem;
  line-height: 2.3rem;
  font-weight: 700;
  color: #001E59;
}

.footer--info a {
    color: #008ED4;
}

.footer--social-links {
    display: flex;
    align-items: center;
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
}

.footer--social-links__item {
    margin-right: 2rem;
}

.footer--bottom {
    display: flex;
    align-items: flex-end;
    margin-top: 2rem;
}

.footer--copyright,
.footer--copyright a {
    font-size: 1.4rem;
    color: #001E59;
}

.footer--copyright div {
    margin-right: 3.8rem;
}

.footer--copyright,
.footer--partners {
    display: inline-flex;
    align-items: center;
}

.footer--partners {
    display: flex;
    justify-content: space-between;
}

.footer--partners__item {
    display: inline-flex;
    align-items: center;
}

.footer--partners__item img {
    width: 100%;
    max-width: 10.5rem;
    height: auto;
    margin-right: 1.2rem;
}

.footer--links__container {
    display: flex;
}

.footer--links {
    display: inline-flex;
    width: fit-content;
}

.footer--links,
.footer--links .sub-menu,
.footer--latest-posts {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none !important;
}

.footer--links,
.footer--latest-posts {
    margin-bottom: 2.4rem;
    width: 50%;
}

.footer--links > li,
.footer--latest-posts {
    display: inline-block;
    min-width: 19rem;
    padding: 0 1.5rem;
}

.footer--links > li,
.footer--latest-posts {
    
}

.footer--links > li > a,
.footer--latest-posts > strong {
    display: inline-block;
    margin-bottom: 2.4rem;
    font-size: 1.7rem;
    line-height: 2.3rem;
    font-weight: 700;
    color: #001E59;
}

.footer--latest-posts li a,
.footer--links .sub-menu li a {
    font-size: 1.4rem;
    color: #001E59;
    line-height: 4.4rem;
}

.footer--newsletter__container {
    max-width: 480px;
}

.footer--newsletter__container .row {
    padding: 0;
}

.footer--newsletter-label {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 2.4rem;
    font-size: 1.7rem;
    line-height: 2.3rem;
    font-weight: 700;
    color: #001E59;
}

.footer--newsletter input[type='email'],
.footer--newsletter input[type='text'] {
    margin: 0;
    width: 100%;
    padding: 1.5rem 2.4rem;
    height: 4.8rem;
    border-radius: 200px !important;
    border: 1px solid rgba(0, 142, 212, 0.3);
    font-size: 1.4rem !important;
    font-weight: 400;
}

.footer--newsletter input[type='email']::placeholder,
.footer--newsletter input[type='text']::placeholder {
    color: rgba(0, 30, 89, 0.3);
}

.footer--newsletter input[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4.8rem;
    border-radius: 200px !important;
    border: none;
    background-color: #008ED4;
    padding: 1rem 1.8rem;
    color: #FFF !important;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer--newsletter-input {
    position: relative;
    max-width: 100%;
    margin-bottom: 1.6rem;
}

.footer--newsletter-input .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    transform: translateY(-50%);
}

/* custom checkbox styling for contact form 7 checkbox */
span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7 .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
}

.wpcf7-acceptance label {
    position: relative;
    cursor: pointer;

    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8rem;
    color: #001E59;
}

.wpcf7-acceptance input[type=checkbox] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}

.wpcf7-acceptance input[type=checkbox] + span {
    /* border: 3px solid red; */
}

.wpcf7-acceptance input[type=checkbox] + span:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 3px;
    height: 2.4rem;
    width: 2.4rem;
    top: 0px;
    left: 0px;
    border: 1px solid rgba(0, 142, 212, 0.3);
}
    
.wpcf7-acceptance input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 2.4rem;
    width: 2.4rem;
    top: 0;
    left: 0;
    visibility: hidden;
    font-size: 1.6rem;
    text-align: center;
    line-height: 2.4rem;
}
    
.wpcf7-acceptance input[type=checkbox]:checked + span:before {
    background: transparent;
}

.footer--newsletter__container input[type="checkbox"] + .wpcf7-list-item-label {
    margin-left: 0 !important;
}
    
.wpcf7-acceptance input[type=checkbox]:checked + span:after {
    visibility: visible;
}
    
.wpcf7-list-item-label {
    margin-left: 3.6rem;
    display: inline-block;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 992px) {
    .footer {
        padding: 7rem 2.4rem 3rem 3rem;
    }

    .footer--info {
      margin-bottom: 4.2rem;
    }

    .footer--social-links {
        margin-bottom: 0;
    }

    .footer--links__container {
        width: 100%;
        flex-flow: column nowrap;
    }

    .footer--links > li,
    .footer--latest-posts {
        width: 100%;
        min-width: unset;
    }

    .footer--latest-posts,
    .footer--links > li {
        padding: 0 3rem 0 0;
    }

    .footer--links > li,
    .footer--latest-posts {
        margin-bottom: 4.2rem;
    }

    .footer--newsletter {
        position: relative;
        display: flex;
        flex-flow: column nowrap;
        padding-bottom: 5.6rem;
    }

    .footer--newsletter br {
        display: none;
    }

    .footer--newsletter-input {
        position: static;
        flex-flow: column nowrap;
        order: 1;
    }

    .footer--newsletter-input span,
    .footer--newsletter input[type='submit'] {
        width: 100%;
    }

    .footer--newsletter input[type='submit'] {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .footer--newsletter-privacy {
        order: 2;
    }

    .footer--bottom {
        flex-flow: column-reverse nowrap;
    }

    .footer--partners__container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer--copyright__container {
        width: 100%;
    }

    .footer--copyright {
        margin-top: 4.2rem;
        flex-flow: column-reverse nowrap;
        align-items: flex-start;
    }

    .footer--copyright div {
        margin-right: unset;
    }

    .footer--partners__item {
        margin-right: 2rem;
    }

    .footer--partners__item:last-of-type {
        margin-right: 0;
    }

    .footer--partners__item strong {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
}

@media only screen and (max-width: 768px) {
    .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer--links {
        flex-flow: column nowrap;
    }

    .footer--newsletter__container {
        max-width: 100%;
    }

    .footer--partners {
        align-items: flex-start;
    }

    .footer--partners__item {
        flex-flow: column nowrap;
    }

    .footer--partners__item strong {
        margin-top: 0.8rem;
        text-align: center;
    }
}

@media only screen and (max-width: 640px) {
    .footer--partners__item img {
        width: 7.5rem;
        max-width: 7.5rem;
        height: 7.5rem;
        margin-right: 0;

        object-fit: contain;
        object-position: center;
    }
}