/* +--------------------------------------------------------------------------+
// ? 2002-2013 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: dsi.css,v 1.1.2.4 2023/10/17 10:52:33 pmallambic Exp $ */
/* ---------------------------------------------------------------------------*/
/* ---------------------------------------------------------------------------*/
/*                         STYLE DE LA NOUVELLE DSI                           */
/* ---------------------------------------------------------------------------*/
/* ---------------------------------------------------------------------------*/

.dsi-tag {
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 0 4px;
  border: solid 1px #ccc;
}

.dsi-tag-selected {
  background-color: #efefef;
  color: #000;
}

.dsi-tag-not-selected,
.dsi-tag-not-selected:hover {
  background-color: transparent;
}

.dsi-alert-list-item {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.dsi-button {
  cursor: pointer;
  border-radius: 3px !important;
  border: none !important;
  padding: 0 10px !important;
  color: white !important;
}

.switch {
  padding: 0;
}

.switch input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-label {
  background-color: rgba(41, 255, 0, 0.2);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 16px;
  text-indent: 20px;
  transition: 0.2s;
  cursor: pointer;
  border-radius: 20px;
  color: #00D440;
  font-weight: 500;
}

.switch-label::before {
  content: "";
  position: absolute;
  left: 14px;
  display: block;
  height: 14px;
  width: 14px;
  background-color: #00D440;
  border-radius: 50%;
  transition: 0.2s;
}

input:checked+.switch-label {
  background-color: rgba(112, 112, 112, 0.2);
  text-indent: 0px;
  padding-right: 36px;
  color: #707070;
  ;
}

input:checked+.switch-label::before {
  background-color: #707070;
  left: calc(100% - 14px - 16px);
}

#alerts thead,
#alerts tr {
  border-bottom: 1px solid rgba(17, 1, 29, 0.2);
}

#alerts td {
  display: table-cell;
}

#alerts {
  background: #F8F8F8 0% 0% no-repeat padding-box;
  padding: 32px;
  border: solid 1px #ddd;
}

.dsi_search_container {
  position: relative;
  margin-top: 22px;
}

.dsi_search_container .text_query {
  padding-left: 22px;
}

.dsi_search_container i {
  position: absolute;
  top: 8px;
  left: 6px;
}