@font-face {
    font-family: 'glyphicons Halflings';
    src: url('../fonts/bootstrap-font/glyphicons-halflings-regular.eot');
    src: url('../fonts/bootstrap-font/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/bootstrap-font/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/bootstrap-font/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/bootstrap-font/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

.navigation li {
    font-size: 14px;
}

.positionVersion {
    position: absolute;
    bottom: 70px;
    left: 120px;
}

.positionLogo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 217px !important;
}

.white {
    background-color: white;
    width: 250px !important;
    height: 75px;
    right: 0;
}

.btn-deconnexion {
    background-color: #33558D;
    color: white;
    padding: 0;
    height: 24px;
}

.btn-notification {
    background-color: #33558D;
    color: white;
    padding: 0;
    transform: translate(0px, 2px);
    margin-left: 10px;
    height: 24px;
}

.bulle-notification {
    position: absolute;
    bottom: 10px;
    right: 145px;
    background-color: rgb(248, 65, 59);
    height: 20px;
    width: 20px;
    color: white;
    border-radius: 100%;
    text-align: center;
    line-height: 21px;
    font-size: 13px;
    z-index: 1000;

}

.navigation img {
    width: 23px;
    margin-right: 14px;
    transform: translate(0px, -2px);
}

hr {
    background-color: #fafafa;
}

.align-center {
    text-align: center;
}

.nav-text-societe {
    font-weight: italic;
    font-size: 17px;
    word-break: normal;
}

.nav-text-prenom {
    font-size: 15px;
}

.div-top {
    background-color: white;
    height: 50px;
}


body {
    background: #fafafa;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #303030;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    width: 100% !important;
}

.navbar-btn span {
    cursor: pointer;
}

.navbar-btn {
    background-color: #33558D !important;
    color: white;
    margin-right: 10px;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.scroll-bar-menu {
    overflow: auto;
    overflow-x: hidden;
    height: calc(100vh - 210px);
    margin: 0;
    scrollbar-color: white rgba(0, 0, 0, 0.1);
}

@keyframes deplacement {
    0% {
        top: -50px;
    }

    15% {
        top: 60px;
    }

    85% {
        top: 60px;
    }

    100% {
        top: -50px;
    }
}

.alertePopup {
    position: fixed;
    width: 100%;
    top: -50px;
    left: 0;
    text-align: center;
    animation-name: deplacement;
    animation-duration: 4s;
    animation-timing-function: ease;
    z-index: 2;
}

.alertePopup div {
    display: inline-block;
    background-color: white;
    border: solid 3px #4065a5;
    border-radius: 10px;
}

.alertePopup span {
    display: inline-block;
    padding: 7px 15px;
}

.alertePopup i {
    background-color: #4065a5;
    padding: 12px 15px 11px 12px;
    color: white;
}

.popupAvertissement div {
    border: solid 3px #ff8000;
}

.popupAvertissement i {
    background-color: #ff8000;
}

.popupSucces div {
    border: solid 3px #009900;
}

.popupSucces i {
    background-color: #009900;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 500px;
    background: #33558D;
    color: white;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;

    box-shadow: 4px 4px 4px rgb(155, 155, 155);
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 10px 0 0 10px;
    background: #33558D;
}

#sidebar ul.components {
    border-bottom: 1px solid #33558D;
}

#sidebar ul p {
    color: black;
    padding: 10px;
}

#sidebar ul li a {
    padding: 8px 8px 8px 14px;
    font-size: 1.1em;
    display: block;
    color: #fafafa
}

#sidebar ul li a:hover {
    background: #4065a5;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: black;
    background: #33558D;
}


a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before,
a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
    padding-top: 7px;
}

a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #33558D;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: black;
    color: rgb(84, 132, 209);
}

a.article,
a.article:hover {
    background: rgb(84, 132, 209) !important;
    color: black !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    position: relative;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

}

/* ---------------------------------------------------
    POPUP CHARGEMENT
----------------------------------------------------- */

.loadingModal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-dots {
    display: flex;
    gap: 10px;
}

.loading-dots div {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

.loading-dots div:nth-child(1) {
    animation-delay: 0s;
    background-color: #cbdb64;
}

.loading-dots div:nth-child(2) {
    animation-delay: 0.2s;
    background-color: #2f6199;
}

.loading-dots div:nth-child(3) {
    animation-delay: 0.4s;
    background-color: #ffcf4c;
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); }
    40% { transform: scale(1); }
}