/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
:root {
  --white-color: #fff;
  --blue-color: #4070f4;
  --grey-color: #d2be13;
  --grey-color-light: #aaa;
}
body {
    background-position: 90% 0%;
    background-size: cover;
    background-attachment: fixed;
  margin: 0;
  padding: 0;
  transition: all 0.5s ease;
}
body.dark {
  background-color: #19191c;
}
body.dark {
  --white-color: #ffffff;
  --blue-color: #a93535;
  --grey-color: #918888;
  --grey-color-light: #aaa;
}
img.logo{
  order: 1;
  filter: drop-shadow(0px 0px 10px #1a0a2c);
  padding: 0px 10px;
}

.log-in{
    padding: 4px;
    text-align: center;
    box-shadow: inset 0 0 20px 0 #00000099;
}

body.light .log-in{
    background-image: url(images/background-light-menutop.png);
    background-size: cover;
}

body.dark .log-in{
  background-image: url(images/background-dark-menutop.png);
  background-size: cover;
}

.log-in .element{
  display: flex;
  align-items: center;
  padding: 0px 10px;
}

.space-element{
  padding: 0px 5px;
}

#hero{
  width: 25px; 
  padding: 3px;
}

.dresseur{
  font-size: 18px; 
  filter: drop-shadow(0px 0px 2px #8d8b8b); color: white;
}

.center-element{
  display: flex;
  align-items: center;
  justify-content: center;font-size: 13px;
  color: #fff4f4;
  filter: drop-shadow(0px 0px 2px #b95b5f);
  column-gap: 5px;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 0 2px var(--grey-color-light);
  background-size: cover;
}

body.light .navbar{
    background-image: linear-gradient(270deg, #50217187 0%, #9e272121 75%) , url(images/background-topbar-ecarlate.png);
    filter: drop-shadow(2px 4px 5px #d2be13);
    box-shadow: 0px 0px 0px 5px #d2be13, inset 0px 10px 27px -8px #141414, inset 0px -10px 27px -8px #a31925, -23px 39px 15px -15px rgb(255 175 94 / 0%);
}

body.dark .navbar{
  background-image: linear-gradient(270deg, #9e27216b 0%, rgba(0, 0, 0, 0.23) 75%), url(images/background-topbar-violet.png);
  filter: drop-shadow(black 2px 4px 5px);
  box-shadow: rgb(56, 56, 56) 0px 0px 0px 5px, rgb(0, 0, 0) 0px 10px 27px -8px inset, rgba(0, 0, 0, 0.66) 0px -10px 27px -8px inset, rgba(255, 175, 94, 0) -23px 39px 15px -15px;
  
}

.logo_item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar img {
  height: 65px;
}

.navbar img#sidebarOpen,
.navbar img#darkLight {
  filter: drop-shadow(0px 0px 4px white);
  height: 35px;
  cursor: pointer;
}

.search_bar {
  height: 47px;
  max-width: 430px;
  width: 100%;
}
.search_bar input {
  height: 100%;
  width: 100%;
  border-radius: 25px;
  font-size: 18px;
  outline: none;
  background-color: var(--white-color);
  color: var(--grey-color);
  border: 1px solid var(--grey-color-light);
  padding: 0 20px;
}
.navbar_content {
  order: 2;
  display: flex;
  align-items: center;
}
.navbar_content i {
  cursor: pointer;
  font-size: 20px;
  color: var(--grey-color);
}

/* sidebar */
.sidebar {
  background-color: var(--white-color);
  width: 225px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  padding: 90px 0px;
  z-index: 100;
  overflow-y: scroll;
  box-shadow: 0 0 1px var(--grey-color-light);
  background-size: cover;
  background-position: 50% 0%;
  transition: all 0.5s ease;
}

body.light .sidebar{
  filter: drop-shadow(rgb(210, 190, 19) 2px 4px 5px);
  background-image: linear-gradient(320deg, #5021718c 0%, #9e272121 75%) , linear-gradient(360deg, #50217100 0%, #0000004d 75%) ,url(images/background-sidebar-ecarlate.png);
  box-shadow: 0px 0px 0px 5px #d2be13, inset 0px 10px 27px -8px #141414, inset 0px -10px 27px -8px #a31925, -23px 39px 15px -15px rgb(255 175 94 / 0%);
}

body.dark .sidebar{
  filter: drop-shadow(black 2px 4px 5px);
  background-image: linear-gradient(320deg, rgba(80, 33, 113, 0.79) 0%, rgba(0, 0, 0, 0.3) 75%), linear-gradient(360deg, rgba(80, 33, 113, 0) 0%, rgba(158, 39, 33, 0.13) 75%), url(images/background-sidebar-violet.png);
  box-shadow: rgb(56, 56, 56) 0px 0px 0px 5px, rgb(0, 0, 0) 0px 10px 27px -8px inset, rgba(0, 0, 0, 0.66) 0px -10px 27px -8px inset, rgba(255, 175, 94, 0) -23px 39px 15px -15px;
}
/*.sidebar.close {
  padding: 60px 0;
  width: 80px;
}*/
.sidebar::-webkit-scrollbar {
  display: none;
}
.menu_content {
  position: relative;
  background-color: #0000002b;
}
.menu_title {
  margin: 15px 0;
  padding: 0 20px;
  font-size: 18px;
}
/*.sidebar.close .menu_title {
  padding: 6px 30px;
}
.menu_title::before {
  color: var(--grey-color);
  white-space: nowrap;
}
.menu_dahsboard::before {
  content: "Dashboard";
}
.menu_editor::before {
  content: "Editor";
}
.menu_setting::before {
  content: "Setting";
}
.sidebar.close .menu_title::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 18px;
  border-radius: 12px;
  background: var(--grey-color-light);
} */
.menu_items {
  padding: 0;
  list-style: none;
}
span.navlink {
  color: white;
}
.navlink_icon {
  position: relative;
  font-size: 22px;
  min-width: 50px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 6px;
}
.navlink_icon::before {
  content: "";
  position: absolute;
  height: 100%;
  width: calc(100% + 100px);
  left: -20px;
}
/*.navlink_icon:hover {
  background: #d2be13a1;
}*/
.sidebar .nav_link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 0px;
  /*border-radius: 8px;*/
  text-decoration: none;
  color: var(--grey-color);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 20px 0 #00000099;
}
/*.sidebar.close .navlink {
  display: none;
}*/
body.light .nav_link:hover {
  color: var(--white-color);
  background: #d2be1330;
  box-shadow: inset 0 0 20px 0 #d2be13;
  transition: all 0.3s ease;
}

body.dark .nav_link:hover {
  color: var(--white-color);
  background-color: #3a3a3a59;
  box-shadow: inset 0 0 20px #918888cc;
  transition: all 0.3s ease;
}


/*.sidebar.close .nav_link:hover {
  background: var(--white-color);
}*/
.submenu_item {
  cursor: pointer;
}
.submenu {
  display: none;
}
.submenu_item .arrow-left {
  position: absolute;
  right: 10px;
  display: inline-block;
  margin-right: auto;
}
/*.sidebar.close .submenu {
  display: none;
}*/
.show_submenu ~ .submenu {
  display: block;
}
.show_submenu .arrow-left {
  transform: rotate(90deg);
}
.submenu .sublink {
  padding: 15px 15px 15px 52px;
}
.top_content {
  position: fixed;
  top: 90px;
  left: 0;
  width: 260px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.top {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  justify-content: space-around;
  padding: 18px 0;
  text-align: center;
  width: 100%;
  color: var(--grey-color);
  border-top: 1px solid var(--grey-color-light);
  background-color: var(--white-color);
}
.top i {
  font-size: 20px;
}
.top span {
  font-size: 18px;
}
/*
.bottom_content {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 260px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.bottom {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  justify-content: space-around;
  padding: 18px 0;
  text-align: center;
  width: 100%;
  color: var(--grey-color);
  border-top: 1px solid var(--grey-color-light);
  background-color: var(--white-color);
}
.bottom i {
  font-size: 20px;
}
.bottom span {
  font-size: 18px;
}

.sidebar.close .bottom_content {
  width: 50px;
  left: 15px;
}
.sidebar.close .bottom span {
  display: none;
}
.sidebar.hoverable .collapse_sidebar {
  display: none;
}*/
#sidebarOpen {
  display: none;
  order: 3;
}
.main{
  /*padding: 20px;*/
  padding-top: 90px;
  margin-left: 225px;
  background-size: cover;
  background-attachment: fixed;
  background-position: 90% 0%;
  transition: all 0.5s ease;
}


body.light{
  background-image: url(images/background-ecarlate.jpg);
  
}

body.dark{
  background-image: url(images/background-violet.jpg);
}

/* banner */

.banner {
  text-align: left;
  padding: 3px 15px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.banner-element{
  height: 100%;
  margin-left: -2px;
}

.element-group{
  width: 16%;
}

.title{
  font-size: 30px;
  display: flex;
  margin-top: -1px;
  transition: all 0.5s ease;
}

.element-left{
  clip-path: polygon(20% 0%, 80% 0%, 100% 0, 100% 0, 58% 100%, 20% 100%, 0 100%, 0 0);
  width: 100%;
  height: 100%;
}

.sub-banner {
  padding: 3px 15px;
  background-position: 50% 50%;
  background-size: cover;
  width: 80%;
}

.sub-banner-element{
  height: 100%;
  margin-left: -2px;
}

.sub-element-group{
  width: 16%;
}

.sub-title{
  font-size: 15px;
  display: flex;
  margin-top: -1px;
  transition: all 0.5s ease;
}

.sub-element-left{
  clip-path: polygon(0 0, 40% 0, 25% 100%, 0% 100%);
  width: 100%;
  height: 100%;
}







/* custom */

body.light .banner {
  background-color: #d2be13;
  background-image: linear-gradient(270deg, #cfb71b 0%, #cfb70ae3 75%) , url(images/banner-gold.jpg);
  filter: drop-shadow(rgba(0, 0, 0, 0.32) 70px 1px 15px);
  box-shadow: inset 50px 0px 39px -25px rgb(255 209 0 / 37%);
}



body.light .element-left{
  background-image: linear-gradient(90deg, rgb(206 182 26) 0%, rgb(179 151 35) 100%);
}

body.light .sub-banner {
  background-image: linear-gradient(270deg, #b99c24 0%, #c9b42382 75%) , linear-gradient(90deg, #b28e26ad 0%, rgb(187 158 37 / 0%) 75%) , url(images/sub-banner-gold.jpg);
  filter: drop-shadow(rgba(0, 0, 0, 0.32) 70px 1px 15px);
}



body.light .sub-element-left{
  background-image: linear-gradient(270deg, #000000 0%, #b79b24 75%) , linear-gradient(90deg, #ff000000 0%, rgb(255 255 255 / 0%) 75%);
}




body.dark .banner {
  background-image: linear-gradient(270deg, rgb(25, 25, 28) 0%, rgba(56, 56, 56, 0.85) 75%), url(images/banner-onyx.jpg);
  box-shadow: rgb(26, 26, 26) 50px 0px 39px -25px inset;
}



body.dark .element-left{
  background: linear-gradient(90deg, rgb(25, 25, 28) 0%, rgb(25, 25, 28) 100%) rgb(25, 25, 28);
}

body.dark .sub-banner {
  background-image: linear-gradient(270deg, rgb(92, 92, 92) 0%, rgba(88, 30, 30, 0) 75%), linear-gradient(90deg, rgb(92, 92, 92) 0%, rgba(149, 128, 41, 0) 75%), url(images/sub-banner-onyx.jpg);
}



body.dark .sub-element-left{
  background: linear-gradient(270deg, rgb(0, 0, 0) 0%, rgba(104, 104, 104, 0.22) 75%), linear-gradient(90deg, rgba(255, 0, 0, 0) 0%, rgba(255, 255, 255, 0) 75%) rgb(87, 87, 87);
}



/* custom */

.all-banner{
  position: fixed;
  left: 0;
  right: 0;
  padding-left: 220px;
  color: white;
  text-shadow: 2px 2px 2px #000000b0;
}


.main-content{
  padding: 30px 20px;
}

@media screen and (max-width: 768px) {
  #sidebarOpen {
    font-size: 25px;
    padding-left: 27px;
    display: block;
    cursor: pointer;
    color: var(--grey-color);
  }

  img.logo{
    padding: 0px;
  }

  .all-banner{
    padding-left: 0px;
  }

  .sidebar.close {
    left: -100%;
  }
  
  .sidebar.close .top_content {
    left: -100%;
  }
  .main{
    margin-left: 0px!important;
    transition: all 0.5s ease;
  }
  .navbar_content{
    order: 0!important;
  }
}

.visible {
  display: block;
}

html ::-webkit-scrollbar-thumb {
  background-color: #d2be13;
  border-radius: 0px;
  border: 0px none #000000;
}

html ::-webkit-scrollbar-track {
  background: #6c6317cc;
}

html ::-webkit-scrollbar {
  width: 5px;
}

html.dark ::-webkit-scrollbar-thumb {
  background-color: #5c5c5c!important;
}

html.dark ::-webkit-scrollbar-track {
  background: #383838!important;
}

.overlay.fade-out, .spinner.fade-out {
  opacity: 0;
}


.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(97, 113, 1, 0.7);
  z-index: 1;
}

.spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #766e00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}




