html {
    position: relative;
    min-height: 100vh;
    font-size: 14px;
    width: 100%;
}
body {
    font-family: "Montserrat",sans-serif;
    min-width: min-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    margin: 0;
}
.navbar {
    height: 4rem;
    background-image: url(/images/loginbackground.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.navbar-collapse {
    width: inherit;
}
.navbar-nav {
    align-items: center;
}
.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.divContainer {
    display: flex;
    padding: 0;
    font-family: "Montserrat",sans-serif;
}
.greenMega {
    color: #0086fa;
}
.redMega {
    color: #ee2665;
}
.blue {
    color: #0d6efd;
}
.footer {
    position: inherit !important;
    background-color: #0086fa;
    width: 100%;
    line-height: inherit !important;
}
footer .container {
    display: flex;
    justify-content: center;
    color: white;
}
footer .container a {
    margin-left: 0.25rem;
}
.bg-none {
    background-color: transparent !important;
}
.hidden {
    display: none !important;
}
.mt-12 {
    margin-top: 12rem;
    }
.btnIcon {
    font-size: 1.2rem;
}
.bold {
    font-weight: bold;
}
.btnRna {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
}
.btnLogout {
    background-color: #ee2665;
    border: 1px solid #ee2665;
    color: white;
    white-space: nowrap;
}
.btnLogout:hover {
    background-color: transparent;
    color: #ee2665;
    border: 1px solid #ee2665;
}

/* --------------------------- RN EDITOR --------------------------- */
/* Modal */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: transparent;
    padding: 20px;
}
.fa-xl {
    font-size: 34px;
}
.w-ftcontent {
    width: fit-content;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }
}
/* ---------------------------- RN VIEW ---------------------------- */
/* Sidebar */
.logo-container {
    width: 100%;
}
.megaLogo {
    max-width: 7rem;
}
.sideBar {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-basis: 6%;
    flex-shrink: 0;
    transition: all 0.4s ease-in-out;
    border-right: 1px solid #ddd;
    background: #333;
    box-shadow: 5px 0 5px rgba(45,45,45,0.25);
    color: white;
    padding: 1rem;
    padding-bottom: 0;
}
.fadeIn {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.sideBar.closed {
    width: 80px;
    flex-basis: 4%;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}
.sideBar.closed input,
.sideBar.closed button,
.sideBar.closed h3,
.sideBar.closed h4,
.sideBar.closed p,
.sideBar.closed .divRnInfos,
.sideBar.closed .divRnInfos > *, 
.sideBar.closed select {
    display: none;
}
.sideBar.closed .bootstrap-select {
    border: 0;
}
.sideBar.opened {
    flex-basis: 18%;
    width: 260px;
    transition: all 0.4s ease-out;
}
.sideBar.opened .fadeIn {
    opacity: 1;
}
.sideBar.opened h3 {
    display: block;
}
.sideBar.opened form {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.2rem 0rem 1.2rem;
}
.toggleSideBar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}
.toggleSideBar i {
    font-size: 2rem;
    color: white;
}
.bootstrap-select {
    color: #999;
    border-radius: 18px !important;
}
.bootstrap-select .btn {
    border-radius: inherit;
}
.bootstrap-select .dropdown-toggle:focus {
    outline: 0 !important;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: white;
    background-color: #0086fa;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #0086fa;
}
.btn-light {
    color: white;
    background-color: transparent;
    box-shadow: none !important;
    outline: 0 !important;
    outline-offset: 0 !important;
}
.btn-orange {
    color: #fff;
    background-color: #fd7e14;
    border-color: #fd7e14;
}
.btn-orange:hover {
    background-color: #db6e12 !important;
    border-color: #db6e12 !important;
}
.form-control {
    background-clip: border-box;
    border: 1px solid #fff;
}
/*.divFilterEdition > .dropdown, .divFilterProduct > .dropdown, .divFilterNature > .dropdown, .divFilterTags > .dropdown, .divFilterKeywords > input {
    width: 17rem !important;
}*/
.bg-none > .dropdown-toggle {
    color: black !important;
    background-color: white !important;
    outline: 0 !important;
    box-shadow: none;
    border: none;
}
.bg-none > .dropdown-toggle:hover {
    color: black !important;
}
.btn-darkgreen {
    --bs-btn-color: #fff;
    --bs-btn-bg: #105837;
    --bs-btn-border-color: #105837;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0c432a;
    --bs-btn-hover-border-color: #0c432a;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0c432a;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #105837;
    --bs-btn-disabled-border-color: #105837;
}
.btn-outline-info:hover {
    color: black !important;
}
.form-check-input:checked {
    background-color: #0086fa;
    border-color: #0086fa;
}
form h4 {
    /*font-size: calc(1rem + .2vw);*/
    font-size: 1rem;
}
.textFilter {
    border-radius: 18px;
}
.divBottomSidebar {
    position: fixed;
    bottom: 1.5rem;
    width: 220px;
}
/* Release Note */
.RNDisplay {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
.texteCentre {
    text-align: center;
}
.titre25 {
    font-size: 25px;
    font-weight: 300;
}
.titre35 {
    font-size: 35px;
    font-weight: 300;
}
.titre42 {
    font-size: 42px;
    font-weight: 300;
}
.divNoEdition {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.noEditionImage > img {
    width: calc(15rem + 20vw);
    height: auto
}
.divProduct {
    margin-right: 6%;
    margin-left: 6%;
}
.hint {
    color: #FFC902;
    margin-bottom: 0;
    margin-left: 1%;
    font-weight: 900;
}
.tableList {
    margin-right: 1%;
    margin-left: 1%;
    margin-top: 0;
    display: inline-flex;
    cursor: pointer;
    
}
.tableCase {
    width: 10%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tableWI {
    width: 5%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tableTitle {
    width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tableNature {
    width: 7%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tableEdition {
    width: 8%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tableDescription {
    font-size: 14px;
}
.tableCaseWithBgd {
    width: 10%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #e6e6e6;
}
.tableWIWithBgd {
    width: 5%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #e6e6e6;
}
.tableTitleWithBgd {
    width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #e6e6e6;
}
.tableNatureWithBgd {
    width: 7%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #e6e6e6;
}
.tableEditionWithBgd {
    width: 8%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #e6e6e6;
}
.tableDescriptionBgd {
    font-size: 14px;
    background-color: #e6e6e6;
}
.ulWorkitem {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.liWorkitem {
    display: flex;
    flex-direction: column;
    padding: 15px 15px 10px 15px;
    margin-bottom: 1rem;
    background-color: #f7f7f7;
}
.liWorkitem table {
    max-width: 100%
}
.liWorkitem > div:last-child {
    border-bottom: none;
}
.wiCardHeader {
    margin-bottom: 1.2rem;
}
.publicTitle {
    font-weight: bold;
    font-size: 1.12rem;
}
.publicDescription img {
    max-width: 100%;    
}
.titreProduit {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
    transform: translateX(-36px);
}
.titreNature {
    font-size: 1.6rem;
    display: list-item;
    list-style-type: circle;
}
.rnImage > img {
    max-width: 80%;
    max-height: 40%;
}
.wiCardFooter {
    margin-top: 1.2rem;
    font-size: 14px;
}
.productDocumentation {
    display: flex;
    align-items: center;
}
.productDocumentation > img {
    width: 20px;
    transform: rotate(135deg);
    margin-right: 3px;
}
.wiFooterRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wiTitleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.linkAnim {
    color: #0d6efd;
    position: relative;
    text-decoration: none;
}
.linkAnim::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: #0d6efd;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s, background-color 0.3s;
}
.linkAnim:hover {
    color: #0086fa;
}
.linkAnim:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background-color: #0086fa;
}
.wiTag {
    width: fit-content;
    padding: 3px 6px 3px 6px;
    border-radius: 5px;
    color: white;
    background-color: #0086fa;
    margin-right: 6px;
}
.wiEdition {
    width: fit-content;
    padding: 3px 6px 3px 6px;
    border-radius: 5px;
    color: white;
    background-color: #FFC902;
    margin-right: 6px;
}
#backToTopButton {
    display: none;
    position: fixed;
    bottom: 35px;
    right: 30px;
    z-index: 9999;
    font-size: 35px;
    background-color: #0086fa;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
}
#backToTopButton:hover {
    background-color: #2e9c64;
}

/* ---------------------------- SELECTPICKER ---------------------------- */
.dropdown-menu {
    color: white;
    background-color: #333;
    border: solid 1px white;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.dropdown-item span {
    color: white;
}
.no-results {
    color: white;
    background-color: #252829 !important;
}
#bs-select-1 {
    overflow-x: hidden;
}
/* ---------------------------- SCROLLBAR ---------------------------- */
::-webkit-scrollbar {
    width: 17px;
    padding: 0;
    margin: 0;
    background-color: rgba(34, 37, 38, 1);
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(72, 78, 81, 1);
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgb(91, 98, 101);
}

/* ---------------------------- SPLASH SCREEN ---------------------------- */
#loading {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
}
.spinner {
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: #3498db;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loadText {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 5px;
}


.view-toggle {
    display: inline-flex;
    overflow: hidden;
}


.toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    min-width: 120px; 
    text-align: center;
}


.toggle-btn {
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background 0.2s;
    transform: scale(0.8);
    transform-origin: center;
}

.toggle-btn:not(.active):hover {
    background: #e5e5e5;
 }

 .toggle-btn.active {
    background: #0078d4;
    color: white;
 }



/* ---------------------------- RESPONSIVE ---------------------------- */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 518px) {
    body {
        font-size: 14px;
    }
    .divProduct {
        margin-right: 3%;
        margin-left: 3%;
    }
    .titreProduit {
        margin-left: 8px;
    }
}