/*
    SIDEBAR
*/
body {
    background: #fafafa;
}

.list-unstyled.components a:hover{
    color: white !important;
}

#sidebar p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

#sidebar a,
#sidebar a:focus {
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar a:hover{
    color:#97815c;
}

#sidebar header .navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    transition: all 0.3s;
    z-index: 999;
}
#sidebar.active {
    margin-left: -250px;
}
#sidebar .sidebar-header  {
  min-width: 250px;
  min-height: 202px;
}
#sidebar .sidebar-header svg{
    height: 25px;
}

#sidebar ul.components {
    padding: 20px 0;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
  padding: 0 1em;
  font-size: 1.1em;
  display: inline-flex;
  border-radius: 1em;
  margin-bottom: 1em;
  margin-left: 1em;
  font-weight: 500;
}

#sidebar ul li svg {
    width: 20px;
    margin-right: 0.35em;
    stroke: white;
    stroke-width: 2px;
}
#sidebar ul li i {
    width: 15px;
    margin-right: 0.8em;
    color: white;
}
.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 0.3em;
    transform: translateY(-50%);
}

.dropdown-item.active, .dropdown-item:active{
    background-color: var(--iq-body-text-5)!important;
    color: white!important;
}

.profile-visibility-container{
    cursor: pointer;
}

.dropdown-toggle.profile-visibility-container::after {
    display: none!important;
}

.profile-visibility-active{
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 50%;
    border: 1px solid white;
}

.profile-visibility-no-active{
    width: 12px;
    height: 12px;
    background-color: grey;
    border-radius: 50%;
    border: 1px solid white;
}

#user-menu-panel{
    display: inline;
   text-align: center;
   padding: 2px ;
   margin: 0;
   width: 19%;
}

#user-menu-panel li{
    display: inline;
   text-align: center;
   padding: 2px ;
   margin: 0;
   width: 19%;
}

.last-post-title-panel{
    padding: 0 1em!important;
    border-radius: 1em!important;
    margin-bottom: 3px!important;
    margin-left: 1em!important;
    font-weight: 500!important;
    font-size: 0.9em !important;
}

/* ATTENTION CAR CELA MODIFIE TOUTES LES PAGES */
/* ul ul a {
    font-size: 0.9em !important;
    margin-left: 2em !important;
} */

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: #fff;
    color: #D4C5B0;
}

 a.article,
 a.article:hover {
    background: #97815C !important;
    color: #fff !important;
}

#onLignSubmenu{
    height: 500px !important;
}

.susbscrition-btn-info{
    border-radius: 10px;
    border: 2px solid transparent;
    background: #46a096;
    padding: 0 1em;
    cursor: pointer;
    color: #fff;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
}

#menu-items-container{
    position: fixed;
}

#sidebar-bottom-main-menu.dark{
    opacity: 0.2;
}

/* ---------------------------------------------------
    USER ACCESS STYLE
----------------------------------------------------- */
.list-divider{
    border-top: 1px solid;
    padding-bottom:10px;
}

#user-menu-access{
    position: fixed;
    width: 210px;
    height: 255px;
    background: #97815C;
    top:139px;
    left: -100%;
    z-index: 999;
    border-radius: 8px;
}

#user-menu-access.open{
    left: 19px;
    transition: all 0.3s;
    height: initial;
}

#user-menu-overlay{
    background-color: transparent;
    position: fixed;
    width: 250px;
    top: 197px;
    height: 80vh;
    z-index: 99;
    display: none;
}

#user-menu-overlay.show{
    display: block;
}

ul.no-bullets{
    list-style-type: none;
    padding-top: 15px;
    padding-left: 0;
}

ul.no-bullets li{
    font-size: 14px;
}

#sidebar ul.no-bullets li a{
    color: #FFFFFF;
    margin-bottom:9px!important;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        position: fixed;
        top: 60px;
        bottom: -60px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
    #menu-items-container{
        position: inherit;
        min-height: 100vh;
        overflow-y: auto;
    }
    #sidebar-bottom-main-menu{
        height: 110vh;
        overflow-y: auto;
    }
    #user-menu-access{
        top:204px;
    }
}