body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
}

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

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background-color: #1565C0FF;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background-color: #1565C0FF;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

a{
    color: #d8d8d8;
    }

    a:hover{
    color: #d8d8d8;
    }
#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #d8d8d8;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: #ffffff;
    background-color: #1565C0FF;
}

#sidebar ul li a i {
    margin-right: 10px;
}

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

.container {
    padding: 10px;
}

.navbar {
    background-color: #1565C0FF;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-info {
    background-color: #1565C0FF;
    border-color: #1565C0FF;
}
.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}
.btn-danger {
    background-color: #dc3545;
border-color: #dc3545;
color: #fff;
}
.btn-danger:hover {
background-color: #c82333;
border-color: #bd2130;
}
.form-control:focus {
border-color: #80bdff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.modal-header {
background-color: #1565C0FF;
color: #fff;
border-bottom: 0;
}
.modal-footer {
background-color: #f5f5f5;
border-top: 0;
}
.table thead th {
background-color: #1565C0FF;
color: #fff;
border-color: #1565C0FF;
}

h1, h2 {
color: #1565C0FF;
font-weight: bold;
}


.btn-primary, .btn-secondary, .btn-danger {
border-radius: 20px;
padding: 10px 30px;
}

.btn-primary {
background-color: #1565C0FF;
border-color: #1565C0FF;
color: #fff;

}

.btn-primary:hover {
background-color: #1e7e34;
border-color: #1e7e34;
}

.form-control {
border-radius: 20px;
}

.form-group label {
font-weight: bold;
}

#search {
background-image: url("https://cdn4.iconfinder.com/data/icons/line-ui-icon-set/128/search-24.png");
background-repeat: no-repeat;
background-position: 5px center;
padding-left: 30px;
}

.table {
background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
  margin-top: 20px;
}

.table td, .table th {
vertical-align: middle !important;
text-align: center !important;
font-weight: bold !important;
}

.table td {
  padding: 15px;
  text-align: center;
}


.table tbody tr:hover {
background-color: #f5f5f5;
}

.table th {
font-weight: bold;
text-align: center;

}

.table .btn {
transition: all 0.3s;
margin-top: 5px;
}

.table .btn:hover {
transform: scale(1.2);
}

.onglet {
  background-color: #0056AC !important;
    font-weight: bold;
}

.onglet:hover {
  background-color: #0056AC !important;
    font-weight: bold;
}

.onglet:focus {
  background-color: #0056AC !important;
    font-weight: bold;
}

.onglet:active {
  background-color: #0056AC !important;
    font-weight: bold;
}

.page-link{
  background-color: #0056AC !important;
  color:white !important;
}

.page-link:hover{
  background-color: white !important;
  color:#0056AC !important;
}
.page-link:active{
  background-color: white !important;
  color:#0056AC !important;
}

.page-item.active .page-link{
  background-color: white !important;
  color:#0056AC !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #0056AC !important;
}

#sidebar .components > li > a {
  background-color: #0056AC;
    font-weight: bold;
}

#sidebar .components > li > a:hover{
  background-color: #0056AC;
  font-weight: bold;
}

#sidebar{
min-width: 270px !important;
max-width: 270px !important;
}

.narrower-button {
  width: 50px;
}

.btn_plus{
    padding: 4px 8px !important;
}

