@charset "UTF-8";

::root {
  --bs-primary:  #3b5bdb;
}

body {
  background-color: var(--bs-light);
  display: flex;
  flex-direction: row;
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 6px;
}

#main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-area>.container {
  flex: 1;
}

.admin-sidebar {
  min-height: 100vh;
  width: 280px;
  padding: 1rem;
  background-color: var(--bs-primary);
  box-shadow: var(--bs-box-shadow-lg);
}

.admin-sidebar .card {
  color: black!important;
  flex-direction: row;
  line-height: 1rem;
  align-content: center;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.admin-sidebar a.card:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.emoji-logo {
  width: min-content;
  font-size:2rem;
  line-height:1.75rem;
  margin-right: .5rem;
}

.dropdown-item:focus, .dropdown-item:hover {
	background-color: rgba(0,0,0,0.1);
}

.admin-sidebar h4 {
  font-weight: bolder;
  font-size: 1rem;
}

.admin-sidebar ul {
  margin: 0;
  padding: 0;
  margin-bottom: 1.5rem;
  list-style-type: none;
}

.admin-sidebar a {
  padding: .75rem .75rem;
  display: block;
  color: white!important;
  border-radius: 6px;
  text-decoration: none;
}

.admin-sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.admin-sidebar a i.fa {
  display: inline-block;
  width: 1.5rem;
}

.card-connection {
  margin: auto;
  max-width: 360px;
}

.container-password {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Composant de la page d'accueil */
.nav-link.nav-title {
  border: 0;
}

.nav-link.nav-title:hover {
  border: 0;
}

.card-header .nav-tabs {
  border-bottom: 0;
}

.card-stats tr:first-child td,
.card-stats tr:first-child th {
  border-top: 0;
}

.modifier-listelement-line {
  display: flex;
}


.td-id {
  font-weight: 700;
}

.card {
  box-shadow: var(--bs-box-shadow);
  border:0;
}

#main-area a.nav-link:not(.active):hover,
#main-area button.nav-link:not(.active):hover {
  background-color: rgba(0,0,0,0.1)!important;
}

.navbar .nav-link {
  border-radius: 6px;
}

.borderless {
  border: none!important;
}
