:root {
    --ffj-blue-01: #1c5371;
    --ffj-blue-02: #00334e;
    --ffj-red-01: #ed4941;
    --ffj-red-02: #af0800;
    --ffj-grey-01: #f7f7f7;
    --ffj-green-01: #05a677;
    --ffj-green-02: #03805c;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4a5073;
    text-align: left;
    background-color: #fff;
}

a {
    color: var(--ffj-blue-01);
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: var(--ffj-blue-02);
    text-decoration: none;
}

.text-white a:not(.btn) {
    color: #fff;
}

:focus {
    outline: none!important;
}

.text-black, .text-black:hover {
    color: #24262b;
}

.bg-blue {
    background: var(--ffj-blue-01);
}

.bg-grey {
    background: var(--ffj-grey01);
}

img {
    max-width: 100%;
    height: auto;
}

main {
    overflow: hidden;
}

figcaption, figure, main {
    display: block;
    margin: 0;
}

.pattern {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: url(../themes/ffj/assets/images/patterns/wave.svg);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 1450px 160px;
    height: 0;
    padding: 0;
    padding-bottom: 140px;
}

.pattern-soft {
    background-image: url(../themes/ffj/assets/images/patterns/wave-soft.svg);
}

.pattern.top {
    top: -10px;
}

.pattern.bottom {
    bottom: -10px;
    transform: rotate(180deg);
}

.hero-section {
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: #f6f9fc;
}

.hero-section h1 {
    color: var(--ffj-red-01);
}

.section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.article ol li, .article p, .article ul li {
    font-size: 1rem;
}

.article blockquote, .article ol, .article p, .article ul {
    margin-bottom: 20px;
}

.table-contacts td, .table-contacts th {
    vertical-align: middle;
}

.table-contacts img {
    max-width: 170px;
}

@media (min-width: 992px) {
    .pl-lg-10, .px-lg-10 {
        padding-left: 4rem!important;
    }
}

.animate-down-1,
.animate-left-1,
.animate-right-1,
.animate-up-1,
.scale-down-1,
.scale-up-1 {
    transition: all .2s ease
}

.scale-up-1:hover {
    transform: scale(.55556)
}

.scale-up-hover-1:hover .scale {
    transform: scale(.55556)
}

.scale-down-1:hover {
    transform: scale(.4)
}

.animate-hover:hover .animate-up-1,
.animate-up-1:hover {
    transform: translate(0, -1px)
}

.animate-hover:hover .animate-right-1,
.animate-right-1:hover {
    transform: translate(1px, 0)
}

.animate-down-1:hover,
.animate-hover:hover .animate-down-1 {
    transform: translate(0, 1px)
}

.animate-hover:hover .animate-left-1,
.animate-left-1:hover {
    transform: translate(-1px, 0)
}

.animate-down-2,
.animate-left-2,
.animate-right-2,
.animate-up-2,
.scale-down-2,
.scale-up-2 {
    transition: all .2s ease
}

.scale-up-2:hover {
    transform: scale(1.11111)
}

.scale-up-hover-2:hover .scale {
    transform: scale(1.11111)
}

.scale-down-2:hover {
    transform: scale(.8)
}

.animate-hover:hover .animate-up-2,
.animate-up-2:hover {
    transform: translate(0, -2px)
}

.animate-hover:hover .animate-right-2,
.animate-right-2:hover {
    transform: translate(2px, 0)
}

.animate-down-2:hover,
.animate-hover:hover .animate-down-2 {
    transform: translate(0, 2px)
}

.animate-hover:hover .animate-left-2,
.animate-left-2:hover {
    transform: translate(-2px, 0)
}

.animate-down-3,
.animate-left-3,
.animate-right-3,
.animate-up-3,
.scale-down-3,
.scale-up-3 {
    transition: all .2s ease
}

.scale-up-3:hover {
    transform: scale(1.66667)
}

.scale-up-hover-3:hover .scale {
    transform: scale(1.66667)
}

.scale-down-3:hover {
    transform: scale(1.2)
}

.animate-hover:hover .animate-up-3,
.animate-up-3:hover {
    transform: translate(0, -3px)
}

.animate-hover:hover .animate-right-3,
.animate-right-3:hover {
    transform: translate(3px, 0)
}

.animate-down-3:hover,
.animate-hover:hover .animate-down-3 {
    transform: translate(0, 3px)
}

.animate-hover:hover .animate-left-3,
.animate-left-3:hover {
    transform: translate(-3px, 0)
}

.animate-down-4,
.animate-left-4,
.animate-right-4,
.animate-up-4,
.scale-down-4,
.scale-up-4 {
    transition: all .2s ease
}

.scale-up-4:hover {
    transform: scale(2.22222)
}

.scale-up-hover-4:hover .scale {
    transform: scale(2.22222)
}

.scale-down-4:hover {
    transform: scale(1.6)
}

.animate-hover:hover .animate-up-4,
.animate-up-4:hover {
    transform: translate(0, -4px)
}

.animate-hover:hover .animate-right-4,
.animate-right-4:hover {
    transform: translate(4px, 0)
}

.animate-down-4:hover,
.animate-hover:hover .animate-down-4 {
    transform: translate(0, 4px)
}

.animate-hover:hover .animate-left-4,
.animate-left-4:hover {
    transform: translate(-4px, 0)
}

.animate-down-5,
.animate-left-5,
.animate-right-5,
.animate-up-5,
.scale-down-5,
.scale-up-5 {
    transition: all .2s ease
}

.scale-up-5:hover {
    transform: scale(2.77778)
}

.scale-up-hover-5:hover .scale {
    transform: scale(2.77778)
}

.scale-down-5:hover {
    transform: scale(2)
}

.animate-hover:hover .animate-up-5,
.animate-up-5:hover {
    transform: translate(0, -5px)
}

.animate-hover:hover .animate-right-5,
.animate-right-5:hover {
    transform: translate(5px, 0)
}

.animate-down-5:hover,
.animate-hover:hover .animate-down-5 {
    transform: translate(0, 5px)
}

.animate-hover:hover .animate-left-5,
.animate-left-5:hover {
    transform: translate(-5px, 0)
}

.animate-down-6,
.animate-left-6,
.animate-right-6,
.animate-up-6,
.scale-down-6,
.scale-up-6 {
    transition: all .2s ease
}

.scale-up-6:hover {
    transform: scale(3.33333)
}

.scale-up-hover-6:hover .scale {
    transform: scale(3.33333)
}

.scale-down-6:hover {
    transform: scale(2.4)
}

.animate-hover:hover .animate-up-6,
.animate-up-6:hover {
    transform: translate(0, -6px)
}

.animate-hover:hover .animate-right-6,
.animate-right-6:hover {
    transform: translate(6px, 0)
}

.animate-down-6:hover,
.animate-hover:hover .animate-down-6 {
    transform: translate(0, 6px)
}

.animate-hover:hover .animate-left-6,
.animate-left-6:hover {
    transform: translate(-6px, 0)
}

.animate-down-7,
.animate-left-7,
.animate-right-7,
.animate-up-7,
.scale-down-7,
.scale-up-7 {
    transition: all .2s ease
}

.scale-up-7:hover {
    transform: scale(3.88889)
}

.scale-up-hover-7:hover .scale {
    transform: scale(3.88889)
}

.scale-down-7:hover {
    transform: scale(2.8)
}

.animate-hover:hover .animate-up-7,
.animate-up-7:hover {
    transform: translate(0, -7px)
}

.animate-hover:hover .animate-right-7,
.animate-right-7:hover {
    transform: translate(7px, 0)
}

.animate-down-7:hover,
.animate-hover:hover .animate-down-7 {
    transform: translate(0, 7px)
}

.animate-hover:hover .animate-left-7,
.animate-left-7:hover {
    transform: translate(-7px, 0)
}

.animate-down-8,
.animate-left-8,
.animate-right-8,
.animate-up-8,
.scale-down-8,
.scale-up-8 {
    transition: all .2s ease
}

.scale-up-8:hover {
    transform: scale(4.44444)
}

.scale-up-hover-8:hover .scale {
    transform: scale(4.44444)
}

.scale-down-8:hover {
    transform: scale(3.2)
}

.animate-hover:hover .animate-up-8,
.animate-up-8:hover {
    transform: translate(0, -8px)
}

.animate-hover:hover .animate-right-8,
.animate-right-8:hover {
    transform: translate(8px, 0)
}

.animate-down-8:hover,
.animate-hover:hover .animate-down-8 {
    transform: translate(0, 8px)
}

.animate-hover:hover .animate-left-8,
.animate-left-8:hover {
    transform: translate(-8px, 0)
}

.animate-down-9,
.animate-left-9,
.animate-right-9,
.animate-up-9,
.scale-down-9,
.scale-up-9 {
    transition: all .2s ease
}

.scale-up-9:hover {
    transform: scale(5)
}

.scale-up-hover-9:hover .scale {
    transform: scale(5)
}

.scale-down-9:hover {
    transform: scale(3.6)
}

.animate-hover:hover .animate-up-9,
.animate-up-9:hover {
    transform: translate(0, -9px)
}

.animate-hover:hover .animate-right-9,
.animate-right-9:hover {
    transform: translate(9px, 0)
}

.animate-down-9:hover,
.animate-hover:hover .animate-down-9 {
    transform: translate(0, 9px)
}

.animate-hover:hover .animate-left-9,
.animate-left-9:hover {
    transform: translate(-9px, 0)
}

@keyframes show-navbar-collapse {
    0% {
        opacity: 0;
        transform: scale(.95);
        transform-origin: 100% 0
    }
    100% {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes hide-navbar-collapse {
    from {
        opacity: 1;
        transform: scale(1);
        transform-origin: 100% 0
    }
    to {
        opacity: 0;
        transform: scale(.95)
    }
}

@keyframes hide-navbar-dropdown {
    from {
        opacity: 1
    }
    to {
        opacity: 0;
        transform: translate(0, 10px)
    }
}

@keyframes show-dropdown {
    0% {
        opacity: 0;
        transform-origin: perspective(200px) rotateX(-2deg);
        transition: visibility .45s, opacity .5s
    }
    100% {
        opacity: 1
    }
}

@keyframes hide-dropdown {
    from {
        opacity: 1
    }
    to {
        opacity: 0;
        transform: translate(0, 10px)
    }
}
.top-bar {
    background: #1c1c1f;
    color: #fff;
}

.top-bar ul {
    margin: 0;
    padding: 0;
}

.top-bar a {
    color: #fff;
    font-size: .925rem;
}

.top-bar a:hover {
    text-decoration: underline;
}

.ffj-header {
    z-index: 1030;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0,0,0,0.03),0 0.275rem 0.75rem -0.0625rem rgba(0,0,0,0.06);
}

.navbar-main {
    top: 0;
    width: 100%;
    z-index: 100;
}

.navbar-dark {
    background-color: var(--ffj-blue-01);
}

.navbar-collapse-header {
    display: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.9);
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--ffj-blue-01);
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: var(--ffj-blue-02)
}

.navbar .navbar-nav .nav-link {
    font-size: 1rem;
    letter-spacing: 0;
    font-weight: 400;
    transition: all .8s cubic-bezier(.34,1.45,.7,1);
}

.ffj-nav-pills .nav-link.active, .ffj-nav-pills .show>.nav-link {
    background-color: var(--ffj-red-01);
}

.language-list {
    font-size: 1.225rem;
}

.language-flag {
    width: auto;
    height: 1rem;
    margin-right: .4rem;
    position: relative;
    top: -2px;
}

@media (min-width: 992px) {
    .ffj-header {
        position: sticky;
        top: 0;
    }
    .modal-open .ffj-header {
        position: initial;
    }
    .navbar-nav .nav-link {
        position: relative;
        display: block;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-radius: .5rem;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: .9rem;
    }
    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: .4rem;
        padding-left: .4rem;
    }
    .navbar-nav .nav-link:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 3px;
        top: 100%;
        left: 0;
        background: var(--ffj-red-01);
        transition: transform 0.5s;
        transform: scaleX(0);
        transform-origin: right;
    }
    .navbar-nav .nav-link:hover:after, .navbar-nav .nav-link.active:after {
        transform: scaleX(1);
        transform-origin: left;
    }

}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse .navbar-collapse-header {
        display: block;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .navbar-collapse {
        width: calc(100% - 30px);
        position: absolute;
        top: 15px;
        left: 15px;
        right: 0;
        z-index: 1050;
        overflow-y: auto;
        height: calc(100vh - 30px);
    }
    .navbar-collapse.collapsing, .navbar-collapse.show {
        padding: 1.5rem;
        border-radius: .2rem;
        background: #fff;
        animation: show-navbar-collapse .2s ease forwards;
        box-shadow: 0 0 20px rgba(0,0,0,.1);
        overflow-y: auto;
    }
    .navbar-collapse .collapse-close {
        text-align: right;
    }
    .navbar .navbar-nav .nav-link {
        font-size: 1.2rem;
        color: var(--ffj-blue-01);
        background: 0 0;
    }
    .navbar .navbar-nav .nav-link:focus, .navbar .navbar-nav .nav-link:hover {
        color: var(--ffj-blue-02);
    }
}

.language-list {
    font-size: 1.225rem;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 0;
}
.ffj-footer {
    display: flex;
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
button:focus {
    outline: 0;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(13,20,49,.07);
}

.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,.9);
    border-color: transparent;
}

.btn-pill {
    border-radius: 2.875rem !important;
}

.btn-outline-blue {
    color: var(--ffj-blue-01);
    border-color: var(--ffj-blue-01);
}

.btn-outline-white:hover {
    color: var(--ffj-blue-01);
    background-color: #fff;
    border-color: var(--ffj-blue-01);
}

.btn-outline-white {
    color: #fff;
    border-color: #fff;
}

.btn-outline-white:hover {
    color: #506690;
    background-color: #fff;
    border-color: #fff;
}

.btn-outline-white.focus, .btn-outline-white:focus {
    box-shadow: 0 0 0 0.0625rem rgba(255,255,255,.5);
}

.btn-blue {
    color: #fff;
    background-color: var(--ffj-blue-01);
    border-color: rgba(0,0,0,0);
}

.btn-blue:hover {
    color: #fff;
    background-color: var(--ffj-blue-02);
}

.btn-red {
    color: #fff;
    background-color: var(--ffj-red-01);
    border-color: rgba(0,0,0,0);
}

.btn-red:hover {
    color: #fff;
    background-color: var(--ffj-red-02);
}

.btn-outline-red {
    color: var(--ffj-red-01);
    border-color: var(--ffj-red-01);
}

.btn-outline-red:hover {
    color: #fff;
    background-color: var(--ffj-red-02);
    border-color: var(--ffj-red-02);
}

.btn-green {
    color: #fff;
    background-color: var(--ffj-green-01);
    border-color: rgba(0,0,0,0);
}

.btn-green:hover {
    color: #fff;
    background-color: var(--ffj-green-02);
}