/*

TemplateMo 552 Video Catalog

https://templatemo.com/tm-552-video-catalog

*/

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PublicSansRegular';
    font-size: 18px;
    line-height: 2em;
    overflow-x: hidden;
}

a {
    transition: all 0.5s ease;
    color: #666;
}

.word {
    margin: auto;
    color: white;
    font-size: 2em;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 600px; /* Ajustez cette hauteur selon vos besoins */
    padding-bottom: 2em;
}

.same-size-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    justify-content: center;
}

.divmiddle {
    text-align: center; /* Centre tout le contenu à l'intérieur de la div */
}

.illustrationimg {
    width: 600px; /* L'image occupe toute la largeur du conteneur */
    height: auto; /* Garde les proportions de l'image */
}

.text-center-legend {
    margin-top: 10px; /* Ajoute un espace entre l'image et la légende */
    font-size: 1.2em; /* Ajuste la taille du texte de la légende */
    color: #333; /* Couleur du texte de la légende */
}
.tm-site-nav {
    position: relative;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;    /* Centre verticalement (si nécessaire) */
    height: 100%;           /* S'assurer que la hauteur est prise en compte */
}
.tm-site-nav-Article {
    position: absolute; /* Fixe la navbar en haut */ !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white; /* Ajuste selon ton design */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optionnel pour une ombre */
    border-radius: 10px;
}

#tm-main-nav .navbar-nav {
    display: flex;          /* Utiliser Flexbox pour les items du menu */
    justify-content: center; /* Centre les items du menu horizontalement */
    gap: 20px;              /* Espacement entre les liens du menu */
}

.cursor {
    position: relative;
    width: 24em;
    border-right: 2px solid rgba(255, 255, 255, .75);
    font-size: 20px;
    line-height: 20px; /* Matches font size for better alignment */
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
    color: #666666;
    text-align: left;
    margin-top: 2px; /* Adjust as needed */
    margin-bottom: 2px; /* Adjust as needed */
    padding: 0; /* Ensure no extra padding */
    font-family: 'PublicSansRegular';
}

.typewriter-animation {
    animation: typewriter 5s steps(50) 1s 1 normal both,
    blinkingCursor 500ms steps(50) infinite normal;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 70%;
    }
}

@keyframes blinkingCursor {
    from {
        border-right-color: rgba(255, 255, 255, .75);
    }
    to {
        border-right-color: transparent;
    }
}

a:hover {
    color: #29BBCC;
    text-decoration: none;

}

h2, p {
    color: #666666;
}
.SousTitre {
    color: Black;
    padding-bottom: 12px;
}

.p-Article {
    padding-bottom: 0.5rem;
    font-family: Helvetica;
}

.LiArticle {
    padding-bottom: 0;
    font-family: Helvetica;
    color: #666666;

}

.tm-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0;
}


.tm-logo-container {
    display: block;
    padding: 30px;
    width: 320px;
    height: 160px;
}

.tm-site-logo {
    font-size: 3rem;
}

.tm-site-name {
    font-size: 1.9rem;
}

#tm-video-container {
    max-height: 720px;
    overflow: hidden;
    background-color: rgba(51, 51, 51, 0);
}

#tm-video {
    width: 100%;
    height: auto;
}

.tm-bg-black {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.tm-bg-gray {
    background-color: #F4F4F4;
}

.tm-text-primary {
    color: #3399CC;
}

.tm-text-secondary {
    color: #3CAFAF;
}

.tm-nav-link {
    color: #ffffff;
    font-size: 1.4rem;
}
.tm-nav-link-Article{
    color: black;
    font-size: 1.4rem;
}

#tm-main-nav .nav-item .nav-link {
    border-bottom: 1px solid transparent;
}
.gallery-page #tm-main-nav .nav-link {
    border-bottom: none;
    color: initial; /* couleur par défaut */
}
.gallery-page #tm-main-nav .nav-item.active{
    color: black;
    border-bottom: 1px solid black;
}
#tm-main-nav .nav-item.active .nav-link,
#tm-main-nav .nav-link {
    border-bottom: 1px solid white;
    color: white;
}
#tm-main-nav .nav-link-Article {
    border-bottom: 1px solid white;
    color: black;
}
.gallery-page #tm-main-nav .nav-item.active .nav-link {
    color: black;
    border-bottom: 1px solid black;
}

.nav-item:hover{
    color: white;
}
.gallery-container {
    display: flex;
    gap: 10px;
}

.image-thumbnail img {
    width: 100px;
    cursor: pointer;
}

.modal-content {
    width: auto; /* Laisse la largeur s'ajuster */
    height: auto; /* Laisse la hauteur s'ajuster */
    max-width: 100%; /* Limite à la largeur de l'écran */
    max-height: 100%; /* Limite à la hauteur de l'écran */
    margin: 0; /* Pas de marges */
    display: block;
    object-fit: cover; /* Remplit l'espace tout en conservant les proportions */
    border-radius: 10px; /* Arrondi les coins (optionnel) */
}

/* Ajustement du conteneur du modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fond sombre */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Évite tout débordement */
}
.modal button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1001;
    transform: translateY(-50%);
    font-size: 24px;
    border-radius: 4px;
}

.modal .prev {
    left: 10px;
}

.modal .next {
    right: 10px;
}

.modal button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.tm-nav-link-gallery{
    color: black;
    font-size: 1.4rem;

}
/* Fermeture du modale */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
/* Images en mode paysage */
.modal-content.landscape {
    max-width: 90%;
    max-height: 70%;
}

/* Images en mode portrait */
.modal-content.portrait {
    max-width: 50%;
    max-height: 90%;
}
.tm-welcome-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 999;
}

.tm-welcome-container-inner {
    margin-top: 100px;
}

.tm-welcome-text {
    font-size: 1.6rem;
}

.btn {
    padding: 15px 60px;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3399CC;
}

.btn-primary:hover {
    background-color: #1674a0;
}

/*
    Button hover effect: https://tympanus.net/Development/CreativeButtons/
*/

.tm-btn-animate {
    position: relative;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

.tm-btn-animate:before {
    left: 0;
    top: -100%;
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 2.5;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    font-family: "PublicSansRegular";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.tm-btn-animate:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.tm-btn-animate:hover:before {
    top: 13px;
}

.tm-btn-animate span {
    display: inline-block;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s;
    -webkit-backface-visibility: hidden;
    -moz-transition: all 0.3s;
    -moz-backface-visibility: hidden;
    transition: all 0.3s;
    backface-visibility: hidden;
}

.tm-btn-animate:hover span {
    -webkit-transform: translateY(300%);
    -moz-transform: translateY(300%);
    -ms-transform: translateY(300%);
    transform: translateY(300%);
}

.tm-btn-cta {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

.tm-btn-cta:before {
    font-size: 180%;
}

.tm-btn-download:before {
    font-size: 120%;
}

.tm-btn-submit:before {
    font-size: 120%;
}

.tm-icon-down:before {
    content: '\f078';
}

.tm-icon-download:before {
    content: '\f019';
}

.tm-icon-submit:before {
    content: '\f1d8';
}

.tm-icon-submit:hover:before {
    top: 18px;
}

.tm-btn-cta:hover {
    color: white;
}

.tm-btn-download:hover,
.tm-btn-download:focus,
.tm-btn-submit:hover,
.tm-btn-submit:focus {
    color: white;
    background-color: #3399CC;
}

.tm-btn-download span {
    padding-top: 10px;
}

.tm-btn-small {
    padding: 10.5px 35px;
    font-size: 1.2rem;
}

#tm-video-control-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.tm-content-container {
    max-width: 1422px;
    padding-top: 80px;
    padding-bottom: 35px;
}

.tm-page-title {
    font-size: 2.5rem;
    color: black;
}

.tm-catalog-item-list {
    justify-content: space-between;

}

.tm-catalog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

.tm-thumbnail-container img {
    height: 250px; /* Ajuste selon tes besoins */
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tm-thumbnail-container img {
    transition: all 0.3s ease;
}

.tm-thumbnail-container:hover img {
    transform: scale(1.2) rotate(5deg);
}

.tm-img-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.tm-overlay-icon {
    color: #a7a7a7;
    opacity: 1;
    font-size: 2rem;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
    z-index: 1002;
    transition: all 0.3s ease;
}

.tm-img-overlay:hover {
    background-color: transparent;
}

.tm-img-overlay:hover .tm-overlay-icon {
    opacity: 0;
}

.tm-catalog-item-description {
    flex: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    min-height: 350px;
}

.tm-categories-container {
    display: flex;
    align-items: center;
}

.tm-categories-text {
    margin-right: 16px;
}

.tm-category-list {
    font-size: 1.75rem;
}

.tm-category-item {
    margin: 16px;
}

.tm-category-link {
    color: #3399CC;
    padding: 10px;
    border-bottom: 3px solid transparent;
}

.tm-category-link.active,
.tm-category-link:hover {
    border-bottom: 3px solid #3399CC;
    color: #3399CC;
}

.tm-paging-link {
    background-color: #F4F4F4;
    margin-right: 12px;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.active > .tm-paging-link,
.nav-item:hover > .tm-paging-link {
    background-color: #CCC;
    color: #666666;
}

.tm-subscribe-form {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tm-subscribe-text {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tm-subscribe-form > input {
    padding: 5px 15px;
    margin-right: 20px;
    flex: 1;
    max-width: 382px;
}

.tm-footer-links > li {
    margin-bottom: 10px;
}

/*Video detail page*/

.tm-video-title {
    font-size: 2.5rem;
}

.tm-share-box {
    font-size: 1.4rem;
    padding: 3rem;
}

.tm-share-box-title {
    font-size: 1.4rem;
}

.tm-bg-white {
    background-color: white;
    border: 1px solid #CDCECF;
    border-radius: 5px;
}

.tm-share-button {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
}

.tm-share-button:last-child {
    margin-right: 0;
}

.tm-text-link {
    color: #3399CC;
}

.tm-likes-box,
.tm-btn-download {
    width: 280px;
    height: 60px;
}

.tm-likes-box {
    padding-top: 12px;
}

.tm-video-description-box {
    max-width: max-content;
}

.tm-text-gray {
    color: #6F7071;
}

.tm-fixed-header {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #666;
}

.tm-fixed-header-bg {
    width: 1080px;
}

.tm-fixed-header-1 {
    background-image: url(../img/BackgroundAbout.png);
}

.tm-fixed-header-2 {
    background-image: url(../img/.jpg);
}

.tm-fixed-header-3 {
    background-image: url(../img/jpg);
}

video {
    width: 100%;
    height: auto;
}

.fa-facebook {
    color: #3b5998;
}

.fa-twitter {
    color: #00acee;
}

.fa-pinterest {
    color: #c8232c;
}

.tm-liked-icon {
    display: none;
}

.tm-not-liked-icon {
    display: inline-block;
}

.tm-liked-icon, .tm-not-liked-icon {
    margin-top: 3px;
}

.tm-liked .tm-liked-icon {
    display: inline-block;
}

.tm-liked .tm-not-liked-icon {
    display: none;
}

.tm-welcome-text-2 {
    max-width: 575px;
}

.tm-share-button:hover {
    background-color: #e9ecef;
}

/*About*/
.tm-about-text-container {
    max-width: 1080px;
}

.parallax-window {
    min-height: 270px;
    background: transparent;
}

.parallax-window-2 {
    min-height: 360px;
}

.tm-about-icon {
    color: #999;
}

/* Contact */
.mapouter {
    position: relative;
    text-align: right;
    height: 540px;
    width: 100%;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 540px;
    width: 100%;
}

.form-control {
    font-size: 1.2rem;
    padding: 21px 25px;
}

.form-group {
    margin-bottom: 35px;
}

#contact-select {
    height: 60px;
    border-radius: 0;
}

#contact-select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-image: url(../img/select-arrow.png);
    padding: 14px 20px;
    padding-right: 20px;
    color: #666;
}

.tm-testimonial-text {
    max-width: 420px;
    font-style: italic;
}

@media (min-width: 992px) {
    #tm-main-nav .nav-item {
        margin: 20px 40px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 8px 0px;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
    }
}

@media (max-width: 1419px) {
    .tm-catalog-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) {
    .navbar {
        max-width: 220px;
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        border-top-right-radius: 0;
        padding: 10px 15px;
    }

    .nav-item {
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-toggler {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: 52px;
        height: 40px;
    }

    .navbar-toggler.collapsed {
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
    }

    .navbar-toggler i.tm-menu-opened-icon {
        display: block;
    }

    .navbar-toggler i.tm-menu-closed-icon {
        display: none;
    }

    .navbar-toggler.collapsed i.tm-menu-opened-icon {
        display: none;
    }

    .navbar-toggler.collapsed i.tm-menu-closed-icon {
        display: block;
    }

    .tm-welcome-container-inner {
        margin-top: 150px;
    }

    .tm-welcome-text {
        font-size: 1.4rem;
    }

    #tm-video {
        width: 888px;
        height: 500px;
    }

    .tm-logo-container {
        height: 160px;
        width: 250px;
    }

    .tm-site-header {
        position: relative;
    }

    .tm-catalog-item-list {
        max-width: 924px;
    }

    .tm-share-box {
        max-width: 400px;
    }
}

@media (max-width: 879px) {
    .tm-categories-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .illustrationimg {
        width: 350px; /* L'image occupe toute la largeur du conteneur */
        height: auto; /* Garde les proportions de l'image */
    }

    .photo-container {
        text-align: center; /* Centre tout le contenu dans la colonne */
        margin-bottom: 20px; /* Ajoute de l'espace entre les images */
    }

    .same-size-img {
        width: 80%; /* Réduit la largeur des images à 80% de l'écran */
        height: auto; /* Permet aux images de garder leurs proportions */
        margin: 0 auto; /* Centre les images horizontalement */
    }

    .text-center {
        font-size: 14px; /* Réduit légèrement la taille du texte pour téléphone */
        margin-top: 8px; /* Ajoute de l'espace entre l'image et le texte */
    }
}

@media (max-width: 640px) {
    .tm-subscribe-form {
        flex-direction: column;
        align-items: stretch;
    }

    .tm-subscribe-form > input {
        max-width: 100%;
    }

    .tm-subscribe-form input {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .tm-share-box {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 419px) {
    .tm-testimonial {
        flex-direction: column;
    }
}
/* Article page */
.tm-article-color-date{
    color: grey;
}
.tm-article-picture{
    background-color: black;
}
.article-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 600px;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.article-img-portrait{
    object-fit: cover;
    max-width: 60%;
    height: auto;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Assure que la carte prend toute la hauteur disponible */
    border-radius: 10px;
    border: none;
    box-shadow: none;
    align-items: center;
    flex: 1;

}
.card img {
    object-fit: cover; /* Assure un bon rendu */
}

.card-body {
    flex-grow: 1; /* Permet au contenu textuel de prendre toute la place restante */
}
.sous-title-Article{
    color: #615656;
    margin-bottom: 10px;
}
.list-Articles{
    margin-bottom: 10px;
    list-style: none;
}
.rounded-Gallery{
    border-radius: 10px;
}
.rounded-Article-list{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.Article-page main {
    padding-top: 80px;
}
.list-Articles-Left{
    color: #615656;
    list-style: none;
    text-align: left;
    padding-left: 0;
    margin: 0;
}