/* Layout  */
body {
  font-family: Arial, sans-serif;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 13px 16px;
}

.l-main-content {
  margin-top: 40px;
  width: 100%;
}

.l-sidebar {
  width: 170px;
  float: left;
  margin-right: 15px;
  margin-bottom: 40px;
  margin-top:  10px;
}

.l-table-container {
  flex-grow: 1;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 40px;
}

/* General */
.page-title {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;
  position: absolute;
  top: 10px;
  left: 16px;
}

.l-main-content a {
  font-weight: bold;
  color: blue;
  text-decoration: underline;
  /*pointer-events: none;  Empêche le lien de capturer l'événement de clic */
}

.l-main-content a:hover {
  text-decoration: underline;
}

/* Utilities */
.u-hide {
  display: none;
}
[x-cloak] { display: none !important; }

/* Sidebar filters */
.filter-block {
  border: 1px solid black;
  margin-bottom: 15px;
  position: relative;
  padding: 20px 20px 10px;
}

.filter-block--hidden {
  opacity: 0.4;
}

.filter-block__title {
  position: absolute;
  top: -10px;
  left: 12px;
  background-color: white;
  padding: 0 5px;
  display: flex;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
}

.filter-block__title i {
  vertical-align: middle;
  line-height: 20px;
}

.filter-block__icon-container {
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  vertical-align: middle;
  margin-right: 4px;
}

.filter-block__icon-container .fa-eye {
  font-size: 13px;
}

.filter-block__option {
  display: flex;
  align-items: center;
}

.filter-block__option input[type="checkbox"] {
  margin-right: 7px;
}
.filter-block__option label {
  background-color: red;
  flex-grow: 1;
}

/* Sidebar links */
.sidebar-links {
  line-height: 20px;
  margin-left: 10px;
  margin-top: -5px;
}


/* Data Table  */
.data-table {
  width: 100%;
}

.data-table tbody,
.data-table tr,
.data-table td
{
  vertical-align: middle;
}

.data-table th,
.data-table td {
  text-align: left;
  padding:  2px 0;
}

.data-table th,
.data-table tr  {
  cursor: pointer;
}

.data-table th {
  font-weight: bold;
  height: 20px;
}

.data-table tr {
  cursor: pointer;
}

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

.data-table thead th {
  min-width: 4rem;
  vertical-align: middle;
}


.data-table thead .sorting,
.data-table thead .sorting_asc,
.data-table thead .sorting_desc {
  cursor: pointer;
  position: relative;
  padding-right: 30px
}


.data-table thead .sorting:before,
.data-table thead .sorting:after,
.data-table thead .sorting_asc:before,
.data-table thead .sorting_asc:after,
.data-table thead .sorting_desc:before,
.data-table thead .sorting_desc:after
{
    position: absolute;
    bottom: 0px;
    display: block;
    opacity: .3;
}

.data-table thead .sorting_asc:before,
.data-table thead .sorting_desc:after {
  opacity: 1;
}


.data-table thead .sorting:before,
.data-table thead .sorting_asc:before,
.data-table thead .sorting_desc:before {
  right: 1em;
  content: "\f0de";
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  font-size: 1rem;
}


.data-table thead .sorting:after,
.data-table thead .sorting_asc:after,
.data-table thead .sorting_desc:after {
  content: "\f0dd";
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  right: 16px;
  font-size: 1rem;
}

/*ratings*/

.ratings {
  display: block;
  position: relative;
  overflow: hidden;
}

.ratings__wrapper {
  display: inline-flex;
  position: relative;
}

.ratings__stars-active {
  color: #5A5A5A;
  position: relative;
  z-index: 10;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.ratings__stars-inactive {
  color: grey;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-text-stroke: initial;
}

/* Double range slider */
.range-slider {
}

.range-slider__container {
    position: relative;
    width: 100%;
    height: 10px;
    margin-bottom: 10px;
}

.range-slider input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 11px;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.range-slider__track {
    width: 100%;
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}

.range-slider input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}

.range-slider input[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 10px;
    width: 10px;
    background-color: black;
    border: 2px solid #717171;
    cursor: pointer;
    margin-top: -9px;
    pointer-events: auto;
    border-radius: 50%;
}
.range-slider input[type="range"]::-ms-thumb {
    appearance: none;
    height: 10px;
    width: 10px;
    cursor: pointer;
    border-radius: 50%;
    background-color: black;
    pointer-events: auto;
}

.range-slider input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 10px;
    width: 10px;
    cursor: pointer;
    border-radius: 50%;
    background-color: black;
    pointer-events: auto;
}

.range-slider__values {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.range-slider__value {
  position: relative;
}

.range-slider__value input {
  width: 55px;
  text-align:right;
  border-radius: 5px;
  padding: 2px 22px 2px 5px;
  border-width: 1px;
  border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
}

.range-slider--price .range-slider__value input {
  padding-right: 15px;
}

.range-slider__value span {
  position: absolute;
  top: 3px;
  right: 5px;
}


/* footer */
.footer{
  line-height: 20px
}
