body {
  background-color: white;
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
}

#chartdivWraper {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: white;
  margin: 0 auto;
}

#chartdiv {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: absolute;
}

/*ToolTip-----------------------------------------------------------------------------------*/

.tooltip {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.tooltip_title {
  border-bottom: 1px solid rgb(0, 0, 0) !important;
  text-align: center;
  font-weight: bold;
  width: 100%;
  padding-bottom: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.wraper-serie {
  display: flex;
  flex-direction: row;
  gap: 4px;
  font-size: 12px;
  align-items: center;
}

.serie-item-color {
  font-size: 22px;
}

.serie-item-title {
  font-weight: bold;
}

/*Modal-----------------------------------------------------------------------------------*/

#btn-close-modal-type,
#btn-close-modal-country {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  justify-content: center;
  border: 1px solid #9ca3af;
  color: white;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: black;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
  cursor: pointer;
}

#btn-close-modal-type:hover,
#btn-close-modal-country:hover {
  background-color: white;
  color: black;
}

#content-modal-line {
  height: 1px;
  width: 100%;
  margin: 0 auto;
  background-color: rgb(236, 236, 236);
  margin-top: 20px;
  margin-bottom: 20px;
}

#clear-type,
#clear-country {
  width: 100%;
  text-align: center;
  justify-content: center;
  border: 1px solid #9ca3af;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: #ffffff;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
  cursor: pointer;
}

#clear-type:hover {
  color: #ffffff;
  background-color: #1f2937;
}

#clear-type:focus {
  outline: none;
  box-shadow: 0 0 0 2px #9ca3af;
}

#search-modal-type,
#search-modal-country {
  position: relative;
  width: 100%;
  display: flex;
  flex: 1;
}

#search-modal-type input[type="text"],
#search-modal-country input[type="text"] {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #4b5563;
  background-color: #1f2937;
  color: #ffffff;
  padding: 0 1rem;
  height: 2.2rem;
  border-radius: 9999px;
  width: 100%;
  font-size: 0.9rem;
  display: block;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

#search-modal-type input[type="text"]:focus,
#search-modal-country input[type="text"]:focus {
  border-color: #4b5563;
  box-shadow: 0 0 0 2px #4b5563;
}

#search-modal-type svg,
#search-modal-country svg {
  color: #ffffff;
  opacity: 0.5;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
}

#search-modal-type #icon-clear,
#search-modal-country #icon-clear {
  cursor: pointer;
}

#content-modal-type,
#content-modal-country {
  padding-top: 0rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.2rem;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  place-content: baseline;
}

#close-modal-type,
#close-modal-country {
  display: none !important;
  position: static;
  right: -2rem;
  top: -2.5rem;
  cursor: pointer;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #1f2937;
  color: #ffffff;
  font-size: 1rem;
  transition: transform 150ms ease-in-out, background-color 150ms ease-in-out;
}

#close-modal-type:hover,
#close-modal-country:hover {
  background-color: rgba(31, 41, 55, 0.9);
}

#close-modal-type:active,
#close-modal-country:active {
  transform: scale(0.95);
}

#close-modal-type svg,
#close-modal-country svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.5;
  pointer-events: none;
}

#bar-modal-type,
#bar-modal-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  height: 80px;
}

.am5-modal-content {
  height: 100%;
  max-height: 380px;
  width: 100%;
  max-width: 400px;

  box-sizing: border-box;
}

#modal-type,
#modal-country {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#content-modal-type .checkbox-type,
#content-modal-country .checkbox-country {
  display: flex;
  justify-items: center;
  align-items: center;
}

#content-modal-type .checkbox-type label,
#content-modal-country .checkbox-country label {
  font-size: 14px;
}

#content-modal-type .checkbox-type input,
#content-modal-country .checkbox-country input {
  -webkit-appearance: none;
  appearance: none;
  background-color: #000;
  border: 2px solid #fff;
  padding: 8px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

#content-modal-type .checkbox-type input:checked,
#content-modal-country .checkbox-country input:checked {
  background-color: #000;
}

#content-modal-type .checkbox-type input:checked::after,
#content-modal-country .checkbox-country input:checked::after {
  content: "✔";
  color: #fff;
  position: absolute;
  font-size: 11px;

  top: 0px;
  left: 4px;
}

@media (min-width: 768px) {
  #close-modal-type,
  #close-modal-country {
    display: flex !important;
  }

  #modal-type,
  #modal-country {
    max-width: 100%;
  }

  #modal-type,
  #modal-country {
    width: 100%;
  }

  #content-modal-type,
  #content-modal-country {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.4rem;
  }
}

/*Loader---------------------------------------------------------------------*/

#loader {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

#loader svg {
  animation: spin 1s linear infinite;
  height: 2.25rem; /* 36px */
  width: 2.25rem; /* 36px */
  color: #abbaba;
}

#loader circle {
  opacity: 0.25;
  stroke: currentColor;
  stroke-width: 4;
}

#loader path {
  opacity: 0.75;
  fill: currentColor;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*Global-----------------------------------------------------------------------*/

.hidden {
  display: none !important;
}

.am5exporting-menu {
  display: none;
  top: -10000px !important;
}