/*
** Ce fichier regroupe toutes les class CSS utilisées pour le site ;
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Palanquin+Dark:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Palanquin+Dark:wght@400;500;600;700&display=swap');


:root {
    --color-primary: #0B5394;
    --color-primary-rgb: 11, 43, 148;

    --color-secondary: #2E4485;
    --color-secondary-rgb: 46, 68, 133;

    --color-text: #001D3A;
    --color-text-rgb: 0, 29, 58;
    --color-text-muted: #666;
    --color-border: #DCDCDC;
    --color-faded: #F2F9FF;

    --block-shadow: 15px 15px;
    --radius-small: 10px;

    --shadow-small: 0 6px 6px 0 rgba(0,0,0,.1);
}

html,
body {
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
html,
body,
p {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.5rem;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}
strong {
    font-weight: 600;
}
section {
    padding-top: 70px;
    padding-bottom: 70px;
    max-width: 100vw;
    overflow: hidden;
}
.section-pt {
    padding-top: 20px;
}
h1, h2, h3 {
    color: var(--color-primary);
    font-family: "Palanquin Dark", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
h1 {
    font-weight: 600;
}
h2, h3 {
    font-weight: 400;
}
h1 span,
h2 span,
h3 span {
    display: block;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
}
h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
}
h2,
.h2 {
    font-size: 54px;
    margin-bottom: 10px;
}
.h2-big {
    font-size: 32px;
}
.h2-big span {
    font-size: 20px;
}
.h2-small {
    color: var(--color-text);
    font-size: 26px;
}
.h2-small span {
    color: var(--color-text-muted);
    font-size: 16px;
}
.subtitle-before {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}
.subtitle-before::before {
    content: " ";
    width: 70px;
    height: 3px;
    background-color: var(--color-secondary);
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}
h3 {
    font-size: 18px;
    color: #000;
    font-weight: 500;
    margin-bottom: 20px;
}
h4 {
    font-size: 20px;
}

.color-primary {
    color: var(--color-primary) !important;
}
.color-secondary {
    color: var(--color-secondary) !important;
}
.color-text {
    color: var(--color-text) !important;
}
.bg-primary {
    background: var(--color-primary) !important;
}
.bg-secondary {
    background: var(--color-seondary) !important;
}
.bg-faded {
    background-color: var(--color-faded) !important;
}
.bg-text {
    background-color: var(--color-text) !important;
}
.highlighted {
    color: #fff;
    background: var(--color-primary);
    padding: .2rem .8rem 0;
    line-height: 1.5;
}
.font-bebas {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.5px;
}
.fs-xs {
    font-size: 16px;
}
.fs-xsm {
    font-size: 26px;
}
.fs-sm {
    font-size: 32px;
    line-height: 32px;
}
.fs-md {
    font-size: 34px;
    line-height: 34px;
}
.fw-400 {
    font-weight: 400;
}
.flex-none {
    flex: none;
}
.img-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.img-responsive.img-portrait {
    padding-bottom: 156%;
}
.img-responsive.img-square {
    padding-bottom: 100%;
}
.img-responsive img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.img-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    object-position: center;
}
.img-fluid-portrait {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.separator {
    width: 41px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 19px auto;
}
.bg-primary .separator {
    background-color: #fff;
    margin: 30px auto;
}

/* Block */

.block {
    background-color: var(--color-faded);
}
.block-dark {
    background-color: var(--color-text);
}
.block-primary {
    background-color: var(--color-primary);
}

.block-dark *,
.block-dark h2 span,
.block-dark a.btn,
.block-primary *,
.block-primary h2 span,
.block-primary a.btn {
    color: #fff;
}
.block-line {
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-small);
    padding: 57px;
}
.block-line h2 {
    color: var(--color-primary);
}
.block-line h2::before {
    background-color: var(--color-primary);
}
.block h2::before {
    background-color: #fff;
}
.block-body {
    padding: 98px 63px;
    display: flex;
    flex-direction: column;
    gap: 39px;
}
.img-block {
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-small);
    overflow: hidden;
}
.img-oversized {
    width: calc(100% + 112px);
    max-width: calc(100% + 112px);
    height: 100%;
    position: relative;
    margin-top: 69px;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.img-oversized-right {
    margin-left: -112px;
}
.img-oversized::before,
.img-oversized::after {
    content: " ";
    width: 45px;
    height: 45px;
    background-color: transparent;
    position: absolute;
    border-color: #fff;
    border-style: solid;
    z-index: 1;
}
.img-oversized::before {
    top: 60px;
    left: 60px;
    border-width: 4px 0 0 4px;
}
.img-oversized::after {
    bottom: 60px;
    right: 60px;
    border-width: 0 4px 4px 0;
}
.img-oversized img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.col-lg-6:has(.img-oversized.img-oversized-right) {
    z-index: -1;
}

.icon-featured {
    font-size: 120px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top bar */

.topbar {
    background-color: var(--color-primary);
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: flex-end;
    text-align: center;
}
.topbar p,
.topbar a {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    letter-spacing: 0.5px;
}

/* Navigation & Navbar */

nav.nav-wrapper {
    position: relative;
    background: #fff;
    box-shadow: var(--shadow-small);
    padding: 14px 0;
    /* position: sticky;
    top: 0;
    z-index: 1024; */
}
nav.nav-wrapper .container {
    display: flex;
    align-items: center;
    flex-direction: row;
}
nav .nav-logo {
    position: relative;
    z-index: 1028;
}
nav .nav-logo a {
    display: block;
    width: auto;
    height: auto;
}
nav .nav-logo img {
    width: 90px;
    max-width: 90px;
}
nav .nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    padding-left: 0;
    margin-bottom: 0;
}
nav .nav-menu li {
    list-style: none;
    width: max-content;
}

nav .bi{
    vertical-align: super;
}

nav .dropdown-menu{
    padding: 0;
}

nav .nav-menu li a:not(.dropdown-item):not(.btn),
nav .nav-menu li button {
    font-size: 16px;
    padding: 2px 10px;
    background-color: transparent;
    color: var(--color-text);
    text-transform: uppercase;
    font-weight: 600;
    transition: all .2s;
    -webkit-appearance: none;
    border: none;
    font-family: "Palanquin Dark", sans-serif;
    line-height: 21px;
    border-left: 2px solid var(--color-primary);
    min-height: 41px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 0.5px;
}
nav .nav-menu li a:not(.dropdown-item):not(.btn) span,
nav .nav-menu li button span {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--color-text-muted);
    display: block;
    font-family: "Open Sans", sans-serif;
}
nav .nav-menu li button .bi-chevron-down {
    display: inline-block;
    transition: all .2s ease;
    vertical-align: 2px;
    -webkit-text-stroke: thin;
    font-size: 12px;
}
nav .nav-menu li button[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(-180deg);
}
nav .nav-menu li a:not(.active):hover,
nav .nav-menu li button:not(.active):hover  {
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--color-primary);
}
nav .nav-menu li a.active,
nav .nav-menu li button.active {
    color: var(--color-primary);
}
nav .nav-menu li a.active:hover,
nav .nav-menu li button.active:hover {
    text-decoration: none;
}
nav .btn.btn-nav {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}
nav .btn.btn-nav:hover {
    background-color: #fff;
    color: var(--color-primary);
    text-decoration: none !important;
}
nav .nav-menu-btn {
    background: transparent;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 0;
    color: #fff;
    font-size: 26px;
    text-align: center;
    border: 2px solid var(--color-primary);
    -webkit-appearance: none;
    transition: all .2s;
    background-color: var(--color-primary);
}
nav .nav-menu-btn::before {
    font-weight: 800 !important;
}
nav .nav-menu-btn.bi-x {
    background: #fff;
    color: var(--color-secondary);
}
nav .nav-flag {
    display: inline-block;
    width: 20px;
    border-radius: 3px;
    margin-right: 1px;
}

nav .dropdown .nav-link::after {
    content: " ";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url('../img/icon/caret-down.svg');
    background-size: contain;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all .2s ease;
    vertical-align: middle;
}
nav .dropdown.show .nav-link::after {
    transform: rotate(180deg);
}
nav .dropdown .dropdown-menu {
    max-width: 300px;
    margin-top: 22px;
    margin-left: -20px;
    background: #fff;
}
nav .dropdown .dropdown-item {
    white-space: normal;
    color: #000;
    transition: all .12s ease;
}
nav .dropdown .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255,.2);
}
nav .dropdown .dropdown-item:not(:active):hover {
    background: var(--color-primary);
    text-decoration: none;
    filter: brightness(0.88);
}

/* Header */

header {
    position: relative;
}
header h1 {
    font-size: 48px;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 25px;
    text-shadow: 0 4px 47px rgba(0,0,0,.25);
    margin-bottom: 0;
}
header h1 em {
    font-style: normal;
    line-height: 1;
}
header h1 span {
    font-size: 40px;
    display: block;
}
header.header {
    padding: 100px 0;
}
header.hero {
    padding: 252px 0;
}
header.hero.hero-small {
    height: auto;
    padding: 80px 0;
}
header.hero img,
header.header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
header.bg-overlay .container {
    z-index: 1;
    position: relative;
}
header.bg-overlay::after {
    content: " ";
    background-color: #000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .5;
}

/* Footer */

footer {
    font-size: 16px;
    padding: 77px 0 20px 0;
    background-color: var(--color-text);
}
footer * {
    color: #fff;
}
footer a:hover {
    color: #fff
}
footer hr {
    border-color: #fff;
    margin: 38px 0 30px 0;
}
footer .footer-logo {
    height: 220px;
}
footer .copyright {
    font-size: 14px;
}
footer .img-icon {
    height: 24px;
    width: 24px;
}
footer .img-partner {
    height: 70px;
    width: auto;
    background-color: #fff;
}

/* Tab Pane */
.nav.nav-pills {
    justify-content: center;
    flex-wrap: wrap;
}
.nav.nav-pills li {
    flex: auto;
}
.nav-pills .nav-link {
    background-color: #fff;
    border: 3px solid var(--color-primary);
    border-radius: 0;
    color: var(--color-primary);
    transition: all .2s ease;
    padding: 7px 15px 5px 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    height: 100%;
}
.nav-pills .nav-link:hover {
    background-color: rgba(var(--color-primary-rgb), .2);
}
.nav-pills .nav-link.active {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary)
}
.tab-content {
    border: 3px solid var(--color-primary);
    border-top: none;
    padding: 20px;
    border-radius: 0 0 var(--radius-small) var(--radius-small);
}


/* Related Articles */

.related-item {
    display: block;
    width: 100%;
    transition: all .2s;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.related-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    transition: all .8s ease;
}
.related-item .related-image::after {
    content: " ";
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.related-item .related-infos {
    padding: 25px;
    position: relative;
}
.related-item .related-infos p {
    font-size: 14px;
    line-height: 1.6em;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
}
.related-item .related-infos h3 {
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  letter-spacing: .5px;
  line-height: 26px;
  margin-bottom: 10px;
}
.related-item .related-infos * {
    text-shadow: 0 1px 5px rgba(0,0,0,.5);
}
a.related-item:hover {
    text-decoration: none;
    transform: scale(1.04) !important;
}
a.related-item:hover img {
    transform: scale(1.05);
}

/* Grid Images */
.grid-img-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.grid-img-wrapper img {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}
.grid-img-wrapper img:first-child {
    flex: none;
    width: calc(38% - 12px);
    height: 350px;
}
.grid-img-wrapper img:nth-child(2) {
    flex: none;
    width: calc(62% - 12px);
    height: 350px;
}
.grid-img-wrapper img:nth-child(3),
.grid-img-wrapper img:nth-child(4),
.grid-img-wrapper img:nth-child(5) {
    flex: 1;
    width: auto;
    height: 350px;
}

/* Map */

.map-wrapper {
    display: block;
    z-index: 1;
}
.map-wrapper #map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.col-lg-6:has(.map-wrapper) {
    z-index: 0;
}

/* Carousel */
.carousel-wrapper {
    width: 100%;
    position: relative;
}
.carousel-wrapper .btn-scroll {
    height: 50px;
    width: 50px;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    line-height: 50px;
    /* border-radius: 50%;  */
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 1.25rem;
    font-weight: 900;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.carousel-wrapper .btn-scroll::before {
    font-weight: 800 !important;
}
.carousel-wrapper .btn-scroll:first-child {
    left: 22px;
}
.carousel-wrapper .btn-scroll:last-child {
    right: 22px;
}
.carousel-wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 7) - 12px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    padding: 0 50px;
}
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: " ";
    width: 50px;
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    z-index: 1;
    top: 0;
    pointer-events: none;
}
.carousel-wrapper::before {
    left: 0;
}
.carousel-wrapper::after {
    right: 0;
    transform: scaleX(-1);
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel:where(img) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging li {
    cursor: grab;
    user-select: none;
}
.carousel li {
    /* scroll-snap-align: start;  */
    list-style: none;
    display: flex;
    cursor: pointer;
    width: 98%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    user-select: none;
}


/* Slider */

.slider-wrapper {
    width: 100%;
    padding-top: 45%;
    position: relative;
    background-color: #000;
}
.slider-wrapper::before,
.slider-wrapper::after {
    content: " ";
    width: 45px;
    height: 45px;
    background-color: transparent;
    position: absolute;
    border-color: #fff;
    border-style: solid;
    z-index: 1;
}
.slider-wrapper::before {
    top: 60px;
    left: 60px;
    border-width: 4px 0 0 4px;
}
.slider-wrapper::after {
    bottom: 60px;
    right: 60px;
    border-width: 0 4px 4px 0;
}
.slider-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}
.slider-img-wrapper .slider-img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
    transition: 0.3s cubic-bezier(.79,.03,0,.99);
    opacity: .8;
}
.slider-img-wrapper .slider-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.slider-btn-wrapper {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}
.slider-btn-wrapper div {
    color: #fff;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border-radius: 100%;
    padding: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}
.slider-btn-wrapper div i {
    font-size: 20px;
    color: var(--color-primary);
    -webkit-text-stroke: thin;
}
.slider-btn-wrapper .slider-btn-prev {
    transform: translateX(-50%);
}
.slider-btn-wrapper .slider-btn-next {
    transform: translateX(50%);
}
.slider-btn-wrapper div:not(div.disabled):active i {
    opacity: 0.7;
}
  /* Disabled Button */
.slider-btn-wrapper > div.disabled i {
    cursor: no-drop;
    opacity: 0.3;
}

.slider-pagination {
    position: absolute;
    top: calc(100% - 30px);
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
}
.slider-pagination span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s ease-in-out;
}
.slider-pagination span.active {
    background-color: var(--color-primary);
}
.slider-img-anim {
    animation: sliderImg 6.5s linear;
}
.slider-wrapper h1 em {
    transition: all .5s ease;
}
.slider-wrapper h1 em:not(.slider-title) {
    opacity: 0;
    pointer-events: none;
    height: 0px;
    overflow: hidden;
    position: absolute;
}
.slider-wrapper h1 em.slider-title {
    opacity: 1;
    pointer-events: all;
}
@keyframes sliderImg {
    from {
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Timeline */
.timeline-wrapper h2 {
    position: relative;
    font-size: 32px;
    margin-bottom: 141px;
}
.timeline-wrapper h2 span {
    font-size: 20px;
}
.timeline-wrapper h3 {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 0;
}
.timeline-wrapper h3::after {
    content: " ";
    height: 2px;
    width: 41px;
    background-color: #fff;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}
.timeline-wrapper .row {
    margin-left: -60px;
    margin-right: -60px;
}
.timeline-wrapper .col-lg-6 {
    padding-left: 60px;
    padding-right: 60px;
}
.timeline-year {
    font-family: "Palanquin Dark", sans-serif;
    font-weight: 600;
    font-size: 90px;
    line-height: 70px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.timeline-year:has(span:nth-child(2)) {
    margin-top: -45px;
}
.timeline-year:not(:has(span:nth-child(2))) {
    margin-top: -28px;
}
.timeline-year:not(.text-lg-right):has(span:nth-child(2)) span:last-child {
    padding-left: 42px;
}
.timeline-year.text-lg-right span:first-child {
    padding-right: 42px;
}
.timeline-wrapper .row:not(:last-child) {
    margin-bottom: 100px;
}
.timeline-wrapper .col-lg-6:last-child {
    position: relative;
}
.timeline-wrapper .row:last-child .timeline-year {
    position: relative;
}
.timeline-wrapper .row:last-child .timeline-year::before {
    content: " ";
    background-image: url('../img/brand.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 791px;
    height: 697px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(10%, -50%);
    z-index: 0;
    pointer-events: none;
}
.timeline-wrapper .row:last-child .timeline-year span:last-child {
    font-size: 40px;
    text-transform: uppercase;
    margin-right: -40px;
}
.timeline-wrapper .row:nth-of-type(4) .col-lg-6:first-child {
    padding-bottom: 200px;
}

/* Sections */

.section-dark {
    background-color: var(--color-text);
    position: relative;
    padding: 150px 0;
}
.section-dark h2,
.section-dark p,
.section-dark a {
    color: #fff
}
.section-dark-content {
    position: relative;
    z-index: 1;
}
.section-img-half {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
}
.section-img-half::before {
    content: " ";
    width: 33%;
    height: 100%;
    position: absolute;
    left: -23%;
    background-color: var(--color-text);
    transform: skew(350deg);
    z-index: 8;
}
.section-img-half img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.section-bg {
    background-image: url('../img/bg01.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 137px;
    padding-bottom: 159px;
}
.section-bg::before {
    content: " ";
    background-color: rgba(var(--color-text-rgb), .95);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.section-bg .container {
    position: relative;
    z-index: 1;
}
.section-bg *,
.section-bg .h2-small span {
    color: #fff;
}
.section-bg:not(.timeline-wrapper) .row {
    margin-bottom: 200px;
}
.section-py-big {
    padding-top: 124px;
    padding-bottom: 145px;
}
.section-py-big .row {
    margin-left: -5px;
    margin-right: -5px;
}
.section-py-big .col-lg-6 {
    padding-left: 5px;
    padding-right: 5px;
}
.section-brand {
    position: relative;
    overflow: visible;
}
.section-brand::before {
    content: " ";
    background-image: url('../img/brand-2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 675px;
    height: 607px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-90%, 184px);
    z-index: -1;
}

.contact-form {
    position: relative;
    z-index: 2;
}
.contact-form::before {
    content: " ";
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--color-primary);
    z-index: -1;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: var(--color-secondary);
    font-weight: 300;
    margin-top: 1.5em;
    margin-bottom: .75em;
}
article h1 {
    font-size: 40px;
    margin-top: 10px;
}
article h2 {
    font-size: 36px;
}
article h3 {
    font-size: 32px;
}
article h4 {
    font-size: 28px;
}
article h5 {
    font-size: 24px;
}
article,
article p {
    font-size: 18px;
    line-height: 1.6em;
    color: rgba(var(--color-text-rgb), .8)
}

/* WYSIWYG */

.article-wp img {
    box-shadow: 0 0 50px 10px rgba(0,0,0,.05);
}
.article-wp ul,
.article-wp ol {
    margin-top: 40px;
    margin-bottom: 40px;
}
.article-wp .wys-featured-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.article-wp .wys-img-left {
    float: left;
    margin: 5px 30px 15px 0;
}
.article-wp .wys-img-right {
    float: right;
    margin: 5px 0 15px 30px;
}
.article-wp .wys-highlighted {
    margin: 40px auto;
    width: 75%;
    padding: 40px;
    font-style: italic;
    background-color: var(--color-primary);
    border-radius: 0;
    color: #fff;
}

/* Buttons */

.btn {
    border: none;
    font-weight: 400;
    border-radius: 0;
    transition: all .2s;
    font-family: "Palanquin Dark", sans-serif;
    letter-spacing: 1px;
    font-size: 26px;
    line-height: 34px;
    background-color: transparent;
    border-left: 2px solid;
    text-align: left;
    text-transform: uppercase;
    line-height: 1;
}
.btn span {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    display: block;
}
.btn.btn-primary {
    color: var(--color-primary);
    padding: 0 10px;
}
.btn.btn-primary:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.btn.btn-primary.bg-white:hover {
    background-color: var(--color-text) !important;
}

.btn.btn-primary.bg-white span {
    color: var(--color-primary);
}

.btn.btn-primary.bg-white:hover,.btn.btn-primary.bg-white:hover span {
    color: #fff;
}

.btn.btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 0;
    padding: 10px 18px;
    margin: -10px -18px;
}
.btn.btn-secondary span {
    transition: all .2s;
}
.btn.btn-secondary:hover {
    color: #fff;
    background-color: var(--color-primary);
}
.btn.btn-secondary:hover span {
    color: #fff !important;
}
.btn i,
.btn .bi {
    vertical-align: 1px;
    margin-right: 4px;
}
.btn:focus,
button:focus {
    outline: none;
}
#scrollTopButton {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1032;
    font-size: 22px;
}
#scrollTopButton i::before {
    font-weight: 800 !important;
}

/* Inputs */

.form-control {
    border-radius: 0;
    height: 50px;
    padding: 16px 18px;
    border-color: #000;
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb),.5);
}
.form-check-input {
    margin-top: 5px;
}
select.form-control {
    padding: 2px 18px;
}
input[type="file"] {
    appearance: none;
    -webkit-appearance: none;
    line-height: 20px;
    padding: 3px 44px;
    position: relative;
    cursor: pointer;
}
input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
    width: 100%;
    display: block;
    height: 0;
}
input[type="file"]::before {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" color="darkgrey" width="16" height="16" fill="darkgrey" class="bi bi-file-earmark-text" viewBox="0 0 16 16"><path d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/><path d="M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/></svg>');
    width: 20px;
    height: 20px;
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-43%);
}
.form-group label {
    line-height: 1em;
}
label[required]::after,
label[required="required"]::after {
    content: "*";
    color: var(--color-primary);
}

/* Dropdowns */

.dropdown-menu {
    border-radius: 0;
    border-color: transparent;
    box-shadow: 0 0 37px rgba(0,0,0,.06);
}
.dropdown-item {
    font-size: 16px;
    padding: 10px 20px;
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    background: var(--color-primary);
}

/* Responsive ; Media Queries */
@media (min-width: 576px) and (max-width: 768px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}
@media (max-width:767px) {
    .block-body {
        padding: 20px;
    }
    .block-img h2 {
        font-size: 26px;
    }
    nav .nav-logo img {
        width: 80px;
        max-width: 80px;
    }
    header.hero {
        padding: 150px 0;
    }
    header.hero h1 {
        font-size: 38px;
        line-height: 40px;
        padding: 0 15px;
    }
    h2, .h2 {
        font-size: 42px;
        margin-bottom: 10px;
    }
    .grid-img-wrapper img {
        flex: none;
        width: 100% !important;
        height: auto !important;
    }
    .block-line {
        padding: 20px;
    }
    .slider-wrapper::before {
        top: 30px;
        left: 30px;
    }
    .slider-wrapper::after {
        bottom: 30px;
        right: 30px;
    }
    .h2-big {
        font-size: 24px;
    }
    .h2-big span {
        font-size: 18px;
    }
    .timeline-wrapper h2 {
        font-size: 26px;
    }
}

@media (max-width:991px) {
    nav.nav-wrapper {
        padding: 15px 0;
    }
    nav .nav-menu {
        position: absolute;
        top: 100%;
        background: #fff;
        width: 100%;
        z-index: 1024;
        left: 0;
        padding: 30px 20px;
        flex-direction: column;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 110px 100px 0px rgba(0,0,0,.3);
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: all .2s;
        align-items: flex-start;
    }
    nav .nav-menu.opened {
        opacity: 1;
        transform: scaleY(1);
    }
    nav .nav-menu li:not(:last-child) {
        margin-bottom: 10px;
    }
    nav.nav-wrapper .container {
        justify-content: space-between;
    }
    nav .nav-menu li.nav-item-logo {
        display: none;
    }
    nav .nav-menu-btn {
        order: 2;
    }
    nav .nav-logo {
        max-width: 180px;
        order: 1;
    }
    nav .nav-infos {
        display: none;
    }
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .nav.nav-pills li {
        flex: 1 0 33%;
    }
    .nav.nav-pills li:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) .nav-link {
        border-top: 0;
    }
    .nav.nav-pills li:nth-child(1) .nav-link,
    .nav.nav-pills li:nth-child(2) .nav-link,
    .nav.nav-pills li:nth-child(4) .nav-link,
    .nav.nav-pills li:nth-child(5) .nav-link,
    .nav.nav-pills li:nth-child(7) .nav-link {
        border-right: 0;
    }
    .nav.nav-pills li:first-child .nav-link {
        border-top-left-radius: var(--radius-small);
    }
    .nav.nav-pills li:nth-child(3) .nav-link {
        border-top-right-radius: var(--radius-small);
    }
    nav .dropdown .dropdown-menu {
        position: relative !important;
        max-width: 90vw;
        margin-top: 0;
        margin-left: 0;
        transform: none !important;
    }
    nav .dropdown.show button {
        margin: auto;
    }
    .img-under-section {
        background-color: #fff;
        max-width: 100%;
    }
    .section-dark {
        padding-top: 60px;
        padding-bottom: 0;
    }
    .section-img-half {
        position: relative;
        width: 100%;
        height: 500px;
    }
    .section-img-half::before {
        width: 100%;
        height: 100px;
        left: 0;
        top: -30px;
        transform: skewY(-3deg);
    }
    .section-img-half img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .carousel-wrapper .carousel {
        grid-auto-columns: calc((100% / 3) - 12px);
    }
    .btn {
        font-size: 22px;
        line-height: 24px;
    }
    .btn span {
        font-size: 15px;
        line-height: 20px;
    }
    header h1 {
        font-size: 42px;
        line-height: 1;
        gap: 5px;
    }
    header h1 span {
        font-size: 28px;
    }
    .img-oversized,
    .img-oversized.img-oversized-right {
        height: auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4/3;
        margin: 0;
    }
    .timeline-wrapper {
        padding: 70px 0;
    }
    .timeline-wrapper h2 {
        margin-bottom: 70px;
    }
    .timeline-year {
        margin-bottom: 20px;
        font-size: 40px;
        line-height: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .timeline-year:not(.text-lg-right):has(span:nth-child(2)) span:last-child,
    .timeline-year.text-lg-right span:first-child {
        padding-left: 0;
        padding-right: 0;
    }
    .timeline-year:has(span:nth-child(2)) {
        margin-top: 0;
    }
    .timeline-wrapper .row:last-child .timeline-year span:last-child {
        font-size: 25px;
        margin-right: 0;
    }
    .timeline-wrapper .row {
        position: relative;
        padding: 0px 10px 0px 40px;
    }
    .timeline-wrapper .row::before {
        content: " ";
        width: 18px;
        height: 18px;
        position: absolute;
        top: 70px;
        left: 69px;
        background-color: #fff;
        border-radius: 50%;
    }
    .timeline-wrapper .row:not(:last-child)::after {
        content: " ";
        position: absolute;
        top: 75px;
        height: calc(100% + 100px);
        width: 2px;
        left: 76px;
        background-color: #fff;
    }
    .timeline-year:not(:has(span:nth-child(2))) {
        margin-top: 0;
    }
    .timeline-wrapper .row:nth-of-type(4) .col-lg-6:first-child {
        padding-bottom: 0;
    }
    .img-sm-square {
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: bottom;
    }
    .slider-wrapper {
        padding: 70px 0;
    }
    .slider-wrapper h1 {
        position: relative;
        font-size: 36px;
    }
    .slider-wrapper h1 span {
        font-size: 20px;
    }
    .section-bg:not(.timeline-wrapper) .row {
        margin-bottom: 70px;
    }
    .section-py-big {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (min-width:992px) {
    nav .nav-menu-btn {
        display: none;
    }
    nav .nav-menu {
        flex: 1;
        gap: 60px;
    }
    .nav.nav-pills li:first-child .nav-link {
        border-top-left-radius: var(--radius-small);
    }
    .nav.nav-pills li:last-child .nav-link {
        border-top-right-radius: var(--radius-small);
    }
    .nav.nav-pills li:not(:last-child) .nav-link {
        border-right: 0;
    }
    .img-under-section {
        background-color: #fff;
        position: relative;
        z-index: 1;
        max-width: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline-wrapper .text-lg-right h3::after {
        margin-left: auto;
    }
    .timeline-wrapper .col-lg-6:last-child::after {
        content: " ";
        width: 24px;
        height: 24px;
        position: absolute;
        top: 5px;
        background-color: #fff;
        border-radius: 50%;
    }
    .timeline-wrapper .col-lg-6:last-child:not(:has(.text-lg-right))::after {
        left: -12px;
    }
    .timeline-wrapper .col-lg-6:last-child:has(.text-lg-right)::after {
        right: -12px;
    }
    .timeline-wrapper .row:not(:last-child) .col-lg-6:last-child::before {
        content: " ";
        height: 100%;
        position: absolute;
        top: 22px;
        left: -1px;
        height: calc(100% + 100px);
        width: 2px;
        background-color: #fff;
    }
    .img-sm-square {
        object-fit: cover;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    nav .nav-menu li a:not(.dropdown-item):not(.btn),
    nav .nav-menu li button {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    nav .nav-menu {
        gap: 15px;
    }
    .f-container-left {
        padding-left: 50px;
    }
}
@media (min-width: 1199px) and (max-width: 1299px) {
    nav .nav-menu {
        gap: 40px;
    }
}
@media (min-width: 1199px) {
    .f-container-left {
        padding-left: 8vw;
    }
}
@media (min-width: 1299px) {
    .container {
        max-width: 1289px;
    }
    nav .nav-menu {
        gap: 60px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1319px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}
@media (min-width: 1700px) {
    .container {
        max-width: 1600px;
    }
}
@media (min-width: 1800px) {
    .container {
        max-width: 80%;
    }
}
