/***** Variables *****/
:root {
  --ld-body-color: #E9EDF6;
  --ld-toggle-color: #DDD;
  --ld-sidebar: #FFF;
  --ld-sidebar-color: #0D6EFD;
  --ld-color-dark: #565555;
  --ld-color-dark1: #1E1E1E;
  --ld-primary-color: #0E5054;
  --ld-primary-color-hover: #0855C9;
  --ld-color-light1: #fafafa;
  --ld-color-light2: #DFDFDF;
  --ld-color-light3: #fafafa;
  --ld-white: #FFF;
  --ld-color: #0d6efd;
  --ld-color-hover: #0958cf;
}

body { background-color: var(--ld-body-color); transition: all .2s ease; }
body.dark {
  --ld-body-color: #272C36;
  --ld-sidebar: #242526;
  --ld-sidebar-color: #242526;
  --ld-toggle-color: #FFF;
  --ld-color-light2: #DFDFDF;
  --ld-color-dark1: #DFDFDF;
  --ld-primary-color1: #FFF;
  --ld-color-light3: #565555;
  --bs-border-color: #404040;
}
a{ color: var(--ld-color); text-decoration: none; transition:all .5s ease-in-out 0s }
a:hover, .breadcrumb a{ color: var(--ld-color-hover); }
.text-ld{ color: var(--ld-color); }
.ld-shadow{ box-shadow: -.5rem .125rem 1rem rgba(0, 0, 0, 0.15); }
.cursor-pointer{ cursor: pointer; }

.form-control:focus,
.form-select:focus {
  border-color: var(--ld-color-light2);
  box-shadow: none;
}
.form-label{ font-weight: 700; }

.animate-border {position: relative; display: block; width: 150px; height: 3px; background: #1a3d82; margin-top: 15px; margin-bottom: 15px; }
.animate-border.border-black:after { border-right-color: #000; border-left-color: #000; }
.animate-border.border-transparent:after { border-right-color: rgba(0, 0, 0, 0.5); border-left-color: rgba(0, 0, 0, 0.5); }
.animate-border:after { position: absolute; content: ""; width: 35px; height: 3px; left: 0; bottom: 0; border-left: 10px solid #fff; border-right: 10px solid #fff; -webkit-animation: animborder 2s linear infinite; animation: animborder 2s linear infinite; }

@-webkit-keyframes animborder {
  0% { -webkit-transform: translateX(0px); transform: translateX(0px); }
  100% { -webkit-transform: translateX(113px); transform: translateX(113px); }
}

@keyframes animborder {
  0% { -webkit-transform: translateX(0px); transform: translateX(0px); }
  100% { -webkit-transform: translateX(113px); transform: translateX(113px); }
}

/***** START BOUTON *****/
.btn-outline-ld { color: var(--ld-primary-color); border-color: var(--ld-primary-color); }
.btn-outline-ld:hover { color: #FFF; background-color: var(--ld-primary-color-hover); border-color: var(--ld-primary-color-hover); }
.btn-ld { background-image: linear-gradient(180deg, rgba(0, 74, 178, 1) 0%, rgb(21, 99, 209) 50%, rgba(0, 74, 178, 1) 100%); color:#FFF !important; border: 1px solid #589dfd !important; font-weight: 700; }
/***** END BOUTON *****/

#sidebar{ width: 270px; background-color: var(--ld-sidebar-color); transition: all .5s ease; z-index: 100; }

/***** LOGO & CADRE USER *****/
.logo-box, .sidebar-user { height: 60px; width: 100%; }
.logo-box img, .sidebar-user img, .sidebar-user i{ padding: 0 10px; }
.sidebar-user-picture img { transition: all .2s ease; }
.sidebar-user-welcome { width: calc(100% - 80px); }

/***** SIDEBAR LIST *****/
.sidebar-list { overflow: auto; height: calc(100% - 60px); }

.sidebar-top{ height:90%; overflow-y: auto; overflow-x: hidden; }
.sidebar-top::-webkit-scrollbar, .sidebar.ld-close li.sidebar-li:hover .collapse::-webkit-scrollbar{ width: 11px; }
.sidebar-top::-webkit-scrollbar-thumb, .sidebar.ld-close li.sidebar-li:hover .collapse::-webkit-scrollbar-thumb{ background-color: rgba(255, 255, 255, .5); border: 4px solid transparent; border-radius: 9px; background-clip: content-box; }
.sidebar-top::-webkit-scrollbar-thumb:hover, .sidebar.ld-close li.sidebar-li:hover .collapse::-webkit-scrollbar-thumb:hover{ background-color: rgba(255, 255, 255, 1); }

.sidebar-heading{ color: rgba(255, 255, 255, .5) !important; letter-spacing: .08rem; }
.sidebar-list li { transition: all .5s ease; }

.btn-toggle, .li-sidebar a, .li-sidebar a:not([href]):not([class]) { display: flex; font-size: 1.1rem; align-items: center; font-weight: 600; color: #FFF; background-color: transparent; border: 0; padding: 0; cursor: pointer; }
.btn-toggle:disabled{color: #FFF; opacity: 1;}
.btn-toggle i, .li-sidebar i, .moon-sun i { height: 40px; min-width: 60px; text-align: center; line-height: 40px; font-size: 20px; }
.btn-toggle span, .li-sidebar span { margin-left:0; transition-duration: 0.3s; }
.btn-toggle:focus, .btn-toggle:active, .sidebar-li:focus, .sidebar-li:hover, .sidebar-li:active, .sidebar-li:active .collapse.show { color: #FFF !important; background-color: #0855C9 !important; }
.btn-toggle:hover span, .li-sidebar:hover span { margin-left:.5rem; }
.btn-toggle::after {width: 1.25em; line-height: 0; content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgb%28225,225,225%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e"); transition: transform .35s ease; transform-origin: .5em 50%; position:absolute; right: 0; padding-right: 2rem; }
.btn-toggle[aria-expanded="true"]::after { transform: rotate(90deg); }

.btn-toggle-nav a, .btn-toggle-nav a:not([href]):not([class]) { color: var(--ld-color-light2); display: inline-flex; padding: .1875rem .5rem; margin-top: .125rem; margin-left: 1.25rem; text-decoration: none;transition: all .5s ease; }
.btn-toggle-nav a:hover { color: var(--ld-white); }
.btn-toggle-nav .submenu-title { display: none; }

.sidebar::-webkit-scrollbar{ width: 18px; }
.sidebar::-webkit-scrollbar-thumb{ background-color: #0D6EFD; border: 4px solid transparent; border-radius: 9px; background-clip: content-box; }
.sidebar::-webkit-scrollbar-thumb:hover{ background-color: rgb(13, 110, 253, 0.5); }

/***** MODE COLOR *****/
.sidebar-bottom .ld-mode-color{ background-color: var(--ld-color-dark); }
.sidebar-bottom .ld-toggle-switch-mode { display: flex; align-items: center; justify-content: center; height: 100%; min-width: 60px; cursor: pointer; }
.sidebar-list .moon-sun i.bi-sun { opacity: 0; }
body.dark .sidebar-bottom  .moon-sun i.bi-sun { opacity: 1; }
body.dark .sidebar-bottom  .moon-sun i.bi-moon { opacity: 0; }
body.dark .ldTableData{ color: #979797; }
body.dark input[type="text"],
body.dark input[type="password"],
body.dark input[type="email"],
body.dark input[type="number"],
body.dark input[type="date"],
body.dark input[type="datetime-local"],
body.dark input[type="search"],
body.dark input[type="checkbox"],
body.dark select,
body.dark textarea,
body.dark textarea:focus,
body.dark .ldTableData select{
  background-color: #1c1c1c; color: #979797; border-color: #979797;
}
body.dark .card{background: #383838;}
body.dark .card-header{background: #565555;}
body.dark input::placeholder, body.dark input::-webkit-input-placeholder {
  color: #979797; opacity: .4;
}
.ld-toggle-switch-mode .ld-switch { position: relative; height: 22px; width: 44px; border-radius: 25px; background: var(--ld-toggle-color); }
.ld-switch::before { content: ''; position: absolute; height: 15px; width: 15px; border-radius: 50%; top: 50%; left: 5px; transform: translateY(-50%); background: var(--ld-sidebar); transition: all .3s ease; }
body.dark .ld-switch::before { left: 25px; }

/***** SIDEBAR CLOSE *****/
#sidebar.ld-close { width: 60px; }
.sidebar.ld-close .logo-box .logo-name, .sidebar.ld-close .sidebar-user-welcome, .sidebar.ld-close .btn-toggle::after, .sidebar.ld-close .sidebar-bottom .ico-moon, .sidebar.ld-close .sidebar-bottom .ico-sun, .sidebar.ld-close .sidebar-bottom .mode-color-text {
  display: none;
}
.sidebar.ld-close .submenu-title { display: block; font-size: 20px; font-weight: 700; }

.sidebar.ld-close li.sidebar-li:hover .collapse {  
  position: absolute;
  display: block;
  left: 100%;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  width: max-content;
  padding: 10px 20px 10px 0;
  margin-left:-11px;
  border-radius: 0 6px 6px 0;
  transition: all .5s ease;
  background-color: var(--ld-primary-color-hover);
}

/***** MAIN *****/
#wrapper-content{ position: relative;left: 270px;height: 100vh;width: calc(100% - 270px); transition: all .25s ease; }
#wrapper-content.ld-large{ left:60px;width: calc(100% - 60px); }

.ld-navbar i,
.ld-dropdown-menu,
.main .link-toggle .menu-text,
.row-content,
.list-group-item,
h1, h2, h3, h4, h5{
  color: var(--ld-color-dark1) !important;
}

.topnav{ flex-direction: row !important; }
.topnav .nav-link { padding-right: .5rem !important; padding-left: .5rem !important; }

.main .navbar-nav li a,
.dropdown-item:hover,
.dropdown-item,
.breadcrumb-item.active,
.ld-dropdown-menu button,
.ld-content-1{ 
  color: var(--ld-color-dark1); 
}

.ld-content-1 {
  background-color: var(--ld-sidebar);
}

.dropdown-menu, .list-group-item, .navbar{ background-color: var(--ld-sidebar); }
.ld-dropdown-menu li:hover, .ld-dropdown-menu li a:hover{background: transparent !important;}
/***** BREADCRUMB *****/
.ld-breadcrumb{ background-color: var(--ld-color-light3); color: var(--ld-color-dark1); }
/*********************/

.acme-news-ticker{position:relative;height:45px;}@media (min-width:768px){.acme-news-ticker{margin-top:0}}.acme-news-ticker-label{padding:10px;width:auto;float:left;margin-right:15px;line-height:normal;height:100%;color:#fff}@media (max-width:575px){.acme-news-ticker-label{position:absolute;top:-45px}}.acme-news-ticker-box{height:100%;padding-top:10px;overflow:hidden} .my-news-ticker li{width:90%} .my-news-ticker li a{width:99%} .my-news-ticker li span{width:1%} @media (max-width:575px){.acme-news-ticker-box{padding-left:10px;padding-right:120px}}.acme-news-ticker-box ul{width:100%;list-style-type:none!important;padding:0;margin:0}.acme-news-ticker-box ul li a{text-decoration:none;color: burlywood;}.acme-news-ticker-controls{display:flex;position:absolute;height:100%;right:0;top:0}.acme-news-ticker-controls button{height:100%;background:#000;padding:0;width:40px;border-color:#000;border-style:solid;border-width:0 0 0 1px;cursor:pointer;display:inline-block}.acme-news-ticker-controls button:hover{background:#000}.acme-news-ticker-controls button.acme-news-ticker-arrow{margin:0;display:inline-block;position:relative}.acme-news-ticker-controls button.acme-news-ticker-arrow:after{border-color:#999;border-bottom-style:solid;border-bottom-width:2px;border-right-style:solid;border-right-width:2px;content:'';display:inline-block;height:8px;left:50%;position:absolute;top:50%;width:8px}.acme-news-ticker-controls button.acme-news-ticker-pause{position:relative;display:inline-block}.acme-news-ticker-controls button.acme-news-ticker-pause:before{position:absolute;content:"";width:10px;height:10px;border-color:#999;border-style:solid;border-width:0 2px 0;transform:translate(-50%,-50%);left:50%;top:50%}.acme-news-ticker-controls.acme-news-ticker-horizontal-controls button.acme-news-ticker-prev:after{transform:translate(-50%,-50%) rotate(135deg)}.acme-news-ticker-controls.acme-news-ticker-horizontal-controls button.acme-news-ticker-next:after{transform:translate(-50%,-50%) rotate(315deg)}.acme-news-ticker-controls.acme-news-ticker-vertical-controls button.acme-news-ticker-prev:after{transform:translate(-50%,-50%) rotate(225deg)}.acme-news-ticker-controls.acme-news-ticker-vertical-controls button.acme-news-ticker-next:after{transform:translate(-50%,-50%) rotate(405deg)}
.my-news-ticker li.ld_li{width:87% !important}
.my-news-ticker li:first-child{z-index: 1;}

footer .list-group li { background: transparent; padding-left: 0; border:0; }
footer .list-group li a{ color: #bbbbbb; }


.ld-anim-bg{ background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 200% 200%; animation: gradient 15s ease infinite; }
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}