﻿/* Menu déroulant via élement flottant toujours visible */
.dropdown-menu {
    z-index: 1050 !important; /* Plus haut que les éléments par défaut */
}
/*.navbar {
    overflow: visible !important;
}
*/

/* Style de base pour le textarea */
.responsive-textbox {
    width: 100%; /* La largeur s'adapte à 100% de son conteneur parent */
    /*min-width: 200px;*/ /* Largeur minimale, à ajuster selon tes besoins */
    height: auto; /* Laisse la hauteur s'ajuster automatiquement */
    /*padding: 10px;*/ /* Espacement intérieur pour plus de confort */
    font-size: 16px; /* Taille de police agréable */
    line-height: 1.5; /* Espacement entre les lignes */
    border: 1px solid #ccc; /* Bordure simple */
    border-radius: 5px; /* Coins arrondis */
    resize: vertical; /* Permet de redimensionner la hauteur manuellement si besoin */
}

/* Pour rendre le texte dynamique selon la taille de l'écran */
@media (max-width: 768px) {
    .responsive-textbox {
        font-size: 14px; /* Ajuster la taille de la police sur les petits écrans */
    }
}

@media (max-width: 480px) {
    .responsive-textbox {
        min-width: 100px; /* Réduire la largeur minimale sur les très petits écrans */
    }
}


/* Change la couleur des lignes zébrées des tableaux */
.table-striped-customerservice tbody tr:nth-of-type(odd) {
    background-color: #48d290 !important;
}
/* Optionnel : Modifier la couleur du texte si besoin */
.table-striped-customerservice tbody tr:nth-of-type(odd) p,
.table-striped-customerservice tbody tr:nth-of-type(odd) .accordion-button,
.table-striped-customerservice tbody tr:nth-of-type(odd) .choices__list--single .choices__item {
    color: #000;
}

.table-striped-customerservice tbody tr:nth-of-type(even) p,
.table-striped-customerservice tbody tr:nth-of-type(even) .accordion-button,
.table-striped-customerservice tbody tr:nth-of-type(even) .choices__list--single .choices__item {
    color: #000;
}


/*Calendar*/
.flatpickr-calendar .flatpickr-day.selected, .flatpickr-calendar .flatpickr-day.startRange, .flatpickr-calendar .flatpickr-day.endRange {
    background: #0B2236 !important;
    color: #fff;
    border: none;
}

.flatpickr-calendar .flatpickr-day.today {
    background: #0D3354 !important;
    color: #fff;
    border: none;
}
/*Bouton parcourir fichier*/
.border-radius-md-force {
    border-radius: 0.5rem !important;
}

/*Menu a la ligne si trop long*/
.nav-item .nav-link {
    white-space: normal !important;
    word-wrap: break-word !important;
    max-height: 75px;
}

/*Bannière news*/
.news-banner {
    width: 100%;
    height: 100px; /* Ajustez la hauteur selon vos besoins */
    overflow: hidden;
    background-color: #f4f4f4;
    position: relative;
}

.news-container {
    display: flex;
    width: max-content;
    animation: scrollNews 20s linear infinite;
}

.news-item {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding-left: 40px; /* Espacement équivalent à 5 tabulations */
}

/* Animation pour le défilement horizontal */
@keyframes scrollNews {
    0% {
        transform: translateX(100%);
    }

    95% {
        transform: translateX(0);
    }
    /* À 95%, l'élément est presque à la fin */
    100% {
        transform: translateX(-100%);
    }
    /* À 100%, il est complètement déplacé à gauche */
}

/*Videos*/
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px; /* Ajoute le contour arrondi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optionnel : Ajoute une ombre pour un effet visuel supplémentaire */
}

/*Message*/
.btn-outline-navy-blue {
    --bs-btn-color: #0B2236;
    --bs-btn-border-color: #0B2236;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0B2236;
    --bs-btn-hover-border-color: #0B2236;
    --bs-btn-focus-shadow-rgb: 26, 115, 232;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0B2236;
    --bs-btn-active-border-color: #0B2236;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #0B2236;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0B2236;
    --bs-gradient: none;
}

/* Iframe responsive */
.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px; /* Applique le contour arrondi à l'iframe elle-même */
}

/*Back To Top*/
#backtotop {
    display: inline-block;
    background-color: #0B2236;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    padding: 0px;
}

    #backtotop::after {
        content: "\f077";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 2em;
        line-height: 50px;
        color: #fff;
    }

    #backtotop:hover {
        cursor: pointer;
        background-color: #0D3354;
    }

    #backtotop:active {
        background-color: #0D3354;
    }

    #backtotop.show {
        opacity: 1;
        visibility: visible;
    }

.bg-return-product {
    background-color: #F7F7F7;
}

.navbar-vertical .navbar-brand > img, .navbar-vertical .navbar-brand-img {
    max-height: 3rem !important;
}

a:hover {
    color: #0B2236;
}

/*Filtres*/
.selected-item {
    cursor: pointer;
    margin: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: green;
    color: white;
    display: inline-block;
}

    .selected-item:hover {
        background-color: #0B2236;
    }

.checkbox {
    cursor: pointer;
}

/*Couleur de fond des checks*/
.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked,
.form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
    border-color: #0B2236;
    background-color: #0B2236;
}

.form-check-input:checked[type="checkbox"] {
    background-image: linear-gradient(#0B2236,#0B2236) !important;
}

.filter-receiver-country-results,
.filter-weight-results,
.filter-delay-results,
.filter-status-results,
.filter-status-anomaly-results,
.filter-status-anomaly-specific-results,
.rate-positive-reason-results,
.rate-negative-reason-results {
    display: flex;
    flex-wrap: wrap;
}


.result-item {
    cursor: pointer;
    background-color: #0B2236;
    border-radius: 5px;
    color: white;
    margin: 5px;
    padding: 5px;
}

    .result-item:hover {
        background-color: #0D3354;
    }

.remove-button {
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

.dataTable-wrapper .dataTable-container .table tbody thead tr td {
    padding: 0px;
}

.dataTable-wrapper .dataTable-container .table thead tr th,
.dataTable-wrapper .dataTable-container .table thead-light tr th,
.dataTable-wrapper .dataTable-container .table tbody tr td {
    text-align: center !important;
}

/*Pagination tableau*/
.dataTable-wrapper .dataTable-bottom .dataTable-pagination .dataTable-pagination-list .active a {
    background-image: linear-gradient(195deg, #0B2236 0%, #0B2236 100%) !important;
}

.bg-warning-light {
    background-color: #fb8c007a !important;
}

.wmd-view-topscroll, .wmd-view {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 300px;
    border: none 0px RED;
}

.wmd-view-topscroll {
    height: 20px;
}

.wmd-view {
    height: 200px;
}


.jvm-container,
.jvectormap-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#DeliveryInformation_Comment {
    font-weight: 600;
    color: #344767;
    font-size: 1.25rem;
    line-height: 1.375;
}

.tab-content > .tab-pane:not(.active),
.pill-content > .pill-pane:not(.active) {
    display: block;
    height: 0;
    overflow-y: hidden;
}

.dataTable-wrapper .dataTable-container .table thead tr th {
    font-size: 0.65rem;
    opacity: 1 !important;
    /*    background-color: #e91e63;*/
    color: white;
}

thead th {
    position: sticky;
    top: 0;
}

.dataTable-sorter::before, .dataTable-sorter::after {
    right: 0px;
    opacity: 1;
}

.dataTable-sorter::before {
    border-top: 4px solid #fff;
    bottom: 0px;
}

.dataTable-sorter::after {
    border-bottom: 4px solid #fff;
    border-top: 4px solid transparent;
    top: 0px;
}

a.dataTable-sorter {
    margin-right: 12px;
}

button.accordion-button.border-bottom.accordion-into-table {
    font-size: medium !important;
}

@font-face {
    font-family: 'password';
    font-style: normal;
    font-weight: 400;
    src: url(https://jsbin-user-assets.s3.amazonaws.com/rafaelcastrocouto/password.ttf);
}

.crypted-text {
    font-family: 'password';
    width: 100px;
    height: 16px;
}

/*Bg*/
.bg-gradient-faded-packandcarry {
    background-image: radial-gradient(370px circle at 80% 50%, #3cb371 0, #4682b4 100%);
}

/* Fixer la première colonne pour les cellules de données (TD) */
.dataTable-table-sticky td:first-child {
    position: sticky;
    left: 0;
    background-color: transparent; /* Couleur de fond pour la première colonne fixe */
    z-index: 2; /* Assure que la première colonne reste visible par-dessus les autres cellules */
}

/* Fixer la première colonne pour les en-têtes (TH) */
.dataTable-table-sticky th:first-child {
    position: sticky;
    left: 0;
    /*background-color: inherit;*/ /* Couleur de fond pour l'en-tête de la première colonne */
    z-index: 4; /* z-index plus élevé pour s'assurer que cette colonne reste visible */
}

/* Fixer l'en-tête globalement en haut */
.dataTable-table-sticky th {
    position: sticky;
    top: 0;
    /*background-color: #e9ecef;*/ /* Couleur de fond pour tous les en-têtes */
    z-index: 3; /* S'assure que l'en-tête reste au-dessus des lignes de données */
}

/* Défilement activé pour le conteneur */
/*.dataTable-container {
    overflow: auto;
}*/


/*Tableau perso*/
div.dataTables_wrapper div.dataTables_info {
    padding-top: 8px;
    white-space: nowrap;
    padding-left: 8px;
}

thead tr th {
    font-size: 0.65rem;
    opacity: 1 !important;
    background-color: #e91e63;
    color: white;
}

th#DeliveryInformationId a:before,
th#DeliveryInformationId a:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    content: none;
}

input[type="checkbox"] {
    cursor: pointer;
}

input[type="radio"] {
    cursor: pointer;
}


#tblParcels_filter {
    padding-right: 10px;
}

#tblParcels_length {
    padding-left: 10px;
}

input.form-control.input-sm {
    font-size: 0.875rem;
    color: #495057;
    border: 1px solid #d1d7e1;
    border-radius: 0.375rem;
    padding: 6px 12px;
}

select.form-control.input-sm {
    border: 1px solid #d1d7e1;
    border-radius: 0.375rem;
    padding: 6px;
    cursor: pointer;
}

input.form-check-input {
    border: 1px solid #d2d2d2;
    border-radius: 0.375rem;
    cursor: pointer;
}

.form-control-with-border {
    border: 2px solid #d1d7e1 !important;
    border-radius: 0.375rem !important;
}

/*Nouvelles couleurs*/
.bg-gradient-postpurchase,
#menuPostPurchase .nav-link:hover {
    background-image: linear-gradient(195deg, #C02B73 0%, #AC115E 100%) !important;
}

.bg-gradient-transport,
#menuTransport .nav-link:hover {
    background-image: linear-gradient(195deg, #1FA9DF 0%, #009CEB 100%) !important;
}

.bg-gradient-customerservice,
#menuCustomerService .nav-link:hover {
    background-image: linear-gradient(195deg, #33DA94 0%, #13CD80 100%) !important;
}

.bg-gradient-invoicing,
#menuInvoicing .nav-link:hover {
    background-image: linear-gradient(195deg, #B32B90 0%, #980B79 100%) !important;
}

.bg-gradient-return,
#menuReturn .nav-link:hover {
    background-image: linear-gradient(195deg, #F0AA33 0%, #E49E11 100%) !important;
}

.bg-gradient-navy-blue {
    background-image: linear-gradient(195deg, #0B2236 0%, #0B2236 100%) !important;
}

.bg-gradient-navy-blue-light,
#menuAdministration .nav-link:hover {
    background-image: linear-gradient(195deg, #0D3354 0%, #0D3354 100%) !important;
}

.bg-gradient-usermanual,
#menuUserManual .nav-link:hover {
    background-image: linear-gradient(#000000,#000000) !important;
}

.navbar-vertical .navbar-nav .nav-link[data-bs-toggle="collapse"]:after {
    color: #fff !important;
}

.bg-postpurchase {
    background-image: linear-gradient(#AC115E,#AC115E) !important;
}

.bg-transport {
    background-image: linear-gradient(#009CEB,#009CEB) !important;
}

.bg-customerservice {
    background-image: linear-gradient(#13CD80,#13CD80) !important;
}

.bg-invoicing {
    background-image: linear-gradient(#B32B90,#B32B90) !important;
}

.bg-return {
    background-image: linear-gradient(#E49E11,#E49E11) !important;
}

.bg-navy-blue {
    background-image: linear-gradient(#0B2236,#0B2236) !important;
}

.bg-navy-blue-light {
    background-image: linear-gradient(#0D3354,#0D3354) !important;
}

.bg-usermanual {
    background-image: linear-gradient(#000000,#000000) !important;
}

.text-postpurchase {
    color: #AC115E !important;
}

.text-transport {
    color: #009CEB !important;
}

.text-customerservice {
    color: #13CD80 !important;
}

.text-invoicing {
    color: #B32B90 !important;
}

.text-return {
    color: #E49E11 !important;
}

.text-navy-blue {
    color: #0B2236 !important;
}

.text-navy-blue-light {
    color: #0D3354 !important;
}

.text-usermanual {
    color: #000 !important;
}

/*Textbox avec recherche, comme pour le suivi*/
.input-group.input-group-outline.is-focused .form-label:before,
.input-group.input-group-outline.is-focused .form-label:after,
.input-group.input-group-outline.is-filled .form-label:before,
.input-group.input-group-outline.is-filled .form-label:after {
    border-top-color: #0B2236 !important;
    box-shadow: inset 0 1px #0B2236 !important;
}

.input-group.input-group-outline.is-focused .form-label + .form-control,
.input-group.input-group-outline.is-filled .form-label + .form-control {
    border-color: #0B2236 !important;
    border-top-color: transparent !important;
    box-shadow: inset 1px 0 #0B2236, inset -1px 0 #0B2236, inset 0 -1px #0B2236;
}

/*Textbox focus*/
.input-group.input-group-dynamic .form-control, .input-group.input-group-dynamic .form-control:focus, .input-group.input-group-static .form-control, .input-group.input-group-static .form-control:focus {
    background-image: linear-gradient(0deg, #0B2236 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #0D3354 1px, rgba(209, 209, 209, 0) 0);
}

/*table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    visibility: hidden;
}*/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a, .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #0B2236;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > li:first-child > a, .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a, .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
            z-index: 2;
            color: #0D3354;
            background-color: #eee;
            border-color: #ddd;
        }

    .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #0B2236;
        border-color: #0B2236;
    }

    .pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd;
    }

.pagination-lg > li > a, .pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a, .pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pager {
    padding-left: 0;
    /*    margin: 20px 0;*/
    text-align: center;
    list-style: none;
}

    .pager li {
        display: inline;
    }

        .pager li > a, .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:focus, .pager li > a:hover {
                text-decoration: none;
                background-color: #eee;
            }

    .pager .next > a, .pager .next > span {
        float: right;
    }

    .pager .previous > a, .pager .previous > span {
        float: left;
    }

    .pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
    }
/*

/*table#datatable-search*/
/*,.table-responsive*/ /*{
    overflow-y: clip !important;
}*/

/*.table-responsive{
    overflow-y: clip;
}*/
