﻿.site-footer {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4.2rem;
    color: #FFFFFF;
    background: linear-gradient(90deg, rgba(0,113,185,1) 0%, rgba(0,68,137,1) 100%);
}

    .site-footer .site-footer__container {
        width: 100%;
        overflow-x: hidden;
    }

@media (min-width: 768px) {
    .site-footer {
        padding-top: 10rem;
        padding-bottom: 5.8rem;
    }
}

@media (min-width: 992px) {
    .site-footer {
        padding-bottom: 8.6rem;
    }
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer .container {
    overflow: hidden;
}

@media (min-width: 768px) {
    .site-footer__top {
        padding-bottom: 4.8rem;
    }
}

@media (min-width: 992px) {
    .site-footer__top {
        padding-bottom: 8.8rem;
    }
}

.site-footer__section {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.site-footer__contact {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .site-footer__contact {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.site-footer__contact .contact__cta {
    display: inline-block;
    padding-top: .7rem;
    padding-bottom: .7rem;
    font-size: 2rem;
    font-weight: 300;
}

.site-footer__contact .contact__cta--phone {
    color: #00E6A1;
}

.site-footer__contact .contact__cta--email {
    color: #FFFFFF;
}

.site-footer__contact p {
    margin-top: 1.6rem;
}

    .site-footer__contact p a {
        text-decoration: underline;
        transition: color .35s ease;
        color: #D6EAF6;
    }

        .site-footer__contact p a:hover, .site-footer__contact p a:focus {
            color: #00E6A1;
        }

.site-footer__navigation {
    flex: 0 0 100%;
    max-width: 100%;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .site-footer__navigation {
        padding-top: 1.5rem;
        padding-bottom: 0;
    }
}

@media (min-width: 992px) {
    .site-footer__navigation {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 576px) {
    .site-footer__navigation .navigation {
        display: flex;
        width: 100%;
    }
}

@media (min-width: 576px) {
    .site-footer__navigation .navigation__group {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1200px) {
    .site-footer__navigation .navigation__group {
        flex: 0 0 26%;
        max-width: 26%;
    }
}

@media (min-width: 1200px) {
    .site-footer__navigation .navigation__group:last-child {
        display: flex;
        width: 100%;
        flex: 0 0 66.666666%;
        max-width: 66.666666%;
    }

        .site-footer__navigation .navigation__group:last-child .navigation__list {
            flex: 0 0 50%;
            max-width: 50%;
        }
}

.site-footer__navigation .navigation__link {
    transition: all .35s ease;
    display: inline-block;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
}

    .site-footer__navigation .navigation__link:hover, .site-footer__navigation .navigation__link:focus {
        color: #00E6A1;
    }

.site-footer__social {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-top: 4.4rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .site-footer__social {
        padding-left: 8px;
    }
}

@media (min-width: 992px) {
    .site-footer__social {
        padding-bottom: 0;
        order: 2;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.site-footer__bottom {
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .site-footer__bottom {
        padding-top: 8rem;
    }
}

.site-footer__bottom ._l:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 8px;
}

@media (min-width: 992px) {
    .site-footer__bottom ._l:first-child {
        flex: 0 0 83%;
        max-width: 83%;
    }
}

.site-footer__bottom ._l:last-child {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .site-footer__bottom ._l:last-child {
        padding-left: 8px;
        order: 2;
        flex: 0 0 17%;
        max-width: 17%;
    }
}

.site-footer__build {
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .site-footer__build {
        margin-top: 0;
    }
}

.site-footer__build a {
    transition: all .35s ease;
    font-size: 1.2rem;
    margin-right: 2.2rem;
}

    .site-footer__build a:hover, .site-footer__build a:focus {
        color: #00E6A1;
    }

    .site-footer__build a:last-child {
        margin-right: 0;
    }

.site-footer__links {
    font-size: 1.2rem;
}

@media (min-width: 576px) {
    .site-footer__links {
        display: flex;
        align-items: baseline;
    }
}

.site-footer__links .copyright {
    padding-right: 3rem;
    font-size: 1.2rem;
}

.site-footer__links a {
    transition: all .35s ease;
    color: white;
    margin-right: 1.6rem;
}

    .site-footer__links a:hover, .site-footer__links a:focus {
        color: #00E6A1;
    }

.social__title {
    letter-spacing: 0.01em;
    margin-bottom: .5rem;
}

.social__list {
    display: flex;
    justify-content: flex-start;
    padding-top: .5rem;
}

.social__link {
    color: #FFFFFF;
    transition: all .35s ease;
    display: block;
    text-decoration: none;
    margin-left: 3rem;
}

    .social__link:hover, .social__link:focus {
        color: #D6EAF6;
    }

    .social__link:first-child {
        margin-left: 0;
    }

.site-footer__subscribe {
    padding-top: 4rem;
    padding-bottom: 3rem;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .site-footer__subscribe {
        padding-top: 1.5rem;
    }
}

@media (min-width: 992px) {
    .site-footer__subscribe {
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 8px;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.subscribe__form__button {
    border-color: transparent;
    background-color: #004489;
    color: #FFFFFF;
}

.subscribe__title {
    color: white;
    margin-bottom: .8rem;
}

@media (min-width: 768px) {
    .subscribe__title {
        margin-bottom: 1.6rem;
    }
}

.subscribe__input-container {
    position: relative;
}

@media (min-width: 992px) {
    .subscribe__input-container {
        display: flex;
        align-items: flex-end;
        width: 100%;
    }
}

.subscribe__input-container ::-webkit-input-placeholder {
    color: #D6EAF6;
}

.subscribe__input-container ::-moz-placeholder {
    color: #D6EAF6;
}

.subscribe__input-container :-ms-input-placeholder {
    color: #D6EAF6;
}

.subscribe__input-container.is-success .subscribe__input,
.subscribe__input-container.is-success .subscribe__form__button {
    visibility: hidden;
    pointer-events: none;
}

.subscribe__input-container.is-success .subscribe__success-message {
    visibility: visible;
}

.subscribe__success-message {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    background-color: transparent;
    font-size: 2.8rem;
    font-weight: 300;
    padding-top: 3rem;
    padding-bottom: 1rem;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
    z-index: 1;
}

    .subscribe__success-message svg {
        width: 44px;
        height: 44px;
    }

.subscribe__input {
    display: block;
    width: 100%;
    outline: 0;
    border: 0;
    border-radius: 0;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2.4rem;
    padding: 2.6rem 1rem 2.6rem 0;
    transition: all 0.35s ease;
}

@media (min-width: 576px) {
    .subscribe__input {
        flex: 0 0 54%;
        max-width: 54%;
        margin-right: 4.6%;
    }
}

@media (min-width: 992px) {
    .subscribe__input {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .subscribe__input {
        font-size: 2.8rem;
    }
}

.site-footer .subscribe__input {
    background-color: transparent;
    border-bottom: 1px solid #F2F2F2;
}

.subscribe__input:hover, .subscribe__input:focus {
    border-bottom: 1px solid #00E6A1;
}

.subscribe__input.is-error {
    border-bottom: 1px solid #FE4F47;
}

    .subscribe__input.is-error + .subscribe__input__error-message {
        display: block;
    }

.subscribe__input__error-message {
    display: block;
    font-size: 1.4rem;
    font-weight: 300;
    color: #FE4F47;
    display: none;
    padding-bottom: 2rem;
    margin-top: -18px;
}

@media (min-width: 992px) {
    .subscribe__input__error-message {
        height: 16px;
        position: absolute;
        left: 0;
        bottom: -22px;
        margin-top: 0;
        padding-bottom: 0;
    }
}

.back-to-top {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
}

.back-to-top__button {
    transform: rotate(270deg);
    transform-origin: 0 0;
    display: flex;
    align-items: center;
    flex: 0 0 5rem;
    padding: 0;
    background-color: transparent;
    outline: 0;
    border: 0;
    color: #00E6A1;
    position: absolute;
    bottom: -5rem;
    right: 0;
    cursor: pointer;
}

    .back-to-top__button:focus {
        outline: none;
    }

        .back-to-top__button:hover .button__icon, .back-to-top__button:focus .button__icon {
            background-color: #FFFFFF;
        }

        .back-to-top__button:hover .arrow--inline path, .back-to-top__button:focus .arrow--inline path {
            stroke-width: 2;
        }

@media (min-width: 768px) {
    .back-to-top__button {
        bottom: -5.8rem;
    }
}

.back-to-top__button .button__text {
    order: 2;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding-left: 3.2rem;
    display: none;
}

@media (min-width: 768px) {
    .back-to-top__button .button__text {
        display: block;
    }
}

.back-to-top__button .button__icon {
    width: 5rem;
    height: 5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #051219;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .back-to-top__button .button__icon {
        width: 6rem;
        height: 6rem;
    }
}

.back-to-top__pattern {
    position: absolute;
    top: 3rem;
    left: 50%;
    margin-left: -9px;
    display: none;
}

@media (min-width: 768px) {
    .back-to-top__pattern {
        display: block;
    }
}

.back-to-top__pattern + .back-to-top__pattern {
    top: auto;
    bottom: 3rem;
}

.back-to-top__pattern .fill {
    fill: #02484D;
}