.content {
  width: 85%;
}

.box.instance {
  max-width: 1150px;
}

.titleConfig {
  color: var(--purple-font);
  text-transform: uppercase;
  font-family: nexaBlack;
  font-weight: 800;
  font-size: 1.3em;
  margin: 0;
}

.divDetalles {
  padding: 0 3rem;
  display: flex;
  align-items: center;
}

.barra-vertical {
  width: 5px;
  height: 50%;
  background-color: #CCC2EB; /* Color de la barra */
  margin: 0 10%; /* Espacio alrededor de la barra */
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px 0 20px;
}

.hidden {
  display: none !important;
}

.new {
  width: 200px !important;
  margin-left: 0px;
}

.back {
  width: 130px !important;
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

h1 {
  color: var(--purple-font);
  text-transform: uppercase;
  font-family: nexaBlack;
  font-weight: 800;
  font-size: 1.8em;
}

h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  /* margin-left: 5rem; */
}


.parent {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr 1fr 1fr 1fr;
  /* grid-template-rows: 0.75fr 0.75fr 1fr 1fr 1.5fr; */
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.parent h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 8px;
}

.parent h4 {
  font-size: 19px;
  font-weight: 300;
}

.parent input {
  margin-bottom: auto;
}

.titlebold {
  font-weight: bold;
  font-size: 30px;
}

.textbold {
  font-size: 30px;
}

.experimentName h3,
.experimentOperator h4 {
  font-size: 25px !important;
  margin: 0 !important;
  contain: content;
  text-overflow: ellipsis;
}

.experimentName h3 {
  margin-left: 8px !important;
}

.sensorsSensibility h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.tab-navigation {
  background-color: #1F1D28;
  border-radius: 30px;
  display: flex;
  align-items: center;
  width: 100%;
  height: 3rem;
  justify-content: space-around;
  margin-bottom: -1rem;
  max-width: 1150px;
}

.tab-buttons {
  display: flex;
  justify-content: space-between;
  width: 25rem;

}


.tab-button {
  width: 12rem;
  height: 1.5rem;
  background-color: #514C67;
  border: 0px solid #312c42;
  color: var(--white-font);
  border-radius: 136px;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-button span {
  font-size: 0.8rem;
}


.experimentName {
  margin: 20px 0 30px 0;
  grid-area: 1 / 1 / 1 / 3;
}

.experimentOperator {
  margin: 20px 0 30px 100px;
  grid-area: 1 / 3 / 1 / 5;
}

.sedimentationInitialVelocity {
  margin: 0 0 20px 0;
  grid-area: 2 / 1 / 2 / 5;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.sedimentationInitialVelocity h3,
.sedimentationInitialVelocity h4 {
  font-size: 18px !important;
  margin: 0 !important;
}

.sedimentationInitialVelocity h3 {
  margin-left: 8px !important;
}

.initialHeightValue {
  margin: 0 0 20px 0;
  grid-area: 3 / 1 / 3 / 2;
  display: flex;
  flex-direction: column;
}

.duration {
  margin: 0 0 20px 0;
  grid-area: 3 / 2 / 3 / 4;
  display: flex;
  flex-direction: column;
}

.concentration {
  margin: 0 0 20px 0;
  grid-area: 3 / 4 / 3 / 5;
  display: flex;
  flex-direction: column;
}

.density {
  margin: 0 0 20px 0;
  grid-area: 4 / 1 / 4 / 2;
  display: flex;
  flex-direction: column;
}

.dose {
  margin: 0 0 20px 0;
  grid-area: 4 / 2 / 4 / 4;
  display: flex;
  flex-direction: column;
}

.flocculant {
  margin: 0 0 20px 0;
  grid-area: 4 / 4 / 4 / 5;
  display: flex;
  flex-direction: column;
}

.material {
  margin: 0 0 20px 0;
  grid-area: 5 / 1 / 5 / 2;
  display: flex;
  flex-direction: column;
}

.ph {
  margin: 0 0 20px 0;
  grid-area: 5 / 2 / 5 / 4;
  display: flex;
  flex-direction: column;
}

.sensorsSensibility {
  grid-area: 6 / 1 / 6 / 5;
  display: flex;
  flex-direction: column;
}

.threshold {
  margin: 0 0 30px 0;
  grid-area: 7 / 1 / 7 / 2;
  display: flex;
  flex-direction: column;
}

.initialTime {
  margin: 0 0 30px 0;
  grid-area: 7 / 2 / 7 / 4;
  display: flex;
  flex-direction: column;
}

.initialThreshold {
  margin: 0 0 30px 0;
  grid-area: 7 / 4 / 7 / 5;
  display: flex;
  flex-direction: column;
}

.commentsExperiment {
  margin: 0 0 30px 0;
  grid-area: 3 / 5 / 8 / 7;
  display: flex;
  flex-direction: column;
}

.saveChanges {
  margin: 0 0 30px 0;
  grid-area: 7 / 6 / 7 / 7;
  display: flex;
  flex-direction: column;
}

h4 {
  margin: 0;
}

h3 {
  margin: 0;
}

.commentsExperiment h4 {
  /* word-wrap: break-word; */
  /* overflow-x: scroll; */
  /* overflow: hidden; */
  contain: content;
  text-overflow: ellipsis;
}

.commentsExperiment textarea {
  resize: none;
  ;
}

#plotSedimentation {
  margin: auto;
  position: relative;
}

.row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.rowheader {
  display: flex;
  flex-direction: row;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

a.button-download {
  width: 150px;
  height: 28px;
  background: #C1BED4;
  border-radius: 87px;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 19px;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: capitalize;
  justify-content:center;

  color: #FFFFFF;
}

a.button-download:focus {
  background: #1F1D28;
}
a.button-download:hover {
  background: #8A33FF;
}

.button-download-text{

  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  justify-content: center;
  display: flex;
  color: #45405A;
}
a.button-delete{
  min-width: 159px;
  min-height: 32px;
  background: #C1BED4;
  border-radius: 87px;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 19px;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: capitalize;
  justify-content: center;
  color: white;
  margin-top: 39px;
  width: 100%;
}
a.button-delete:hover{
  background: #8A33FF;
}
a.button-delete:focus{
  background: #8A33FF;
}
.endExperiment {
  display: flex;
  align-items: end;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  height: 100px;
  gap: 30px;
}

/* - - - - - Alert - - - - - */
.alert {
  position: absolute;
  top: 5vh;
  right: 3vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 5px 8px;
  border-radius: 5px 30px 5px 5px;
  width: auto;
}

.alert:hover {
  width: auto;
}

.alert:hover>p {
  opacity: 1;
  height: auto;
  width: auto;
  max-width: 300px;
  padding: 7px 10px;
  border: solid 1px var(--div-color);
}

.alert p {
  color: var(--white-font);
  width: 250px;
  height: 36px;
  text-align: center;
  transition: opacity 1.2s linear, border 1.2s linear;
  opacity: 0;
  height: 0;
  width: 0;
  max-height: 130px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
}

.alertIcon {
  height: 50px;
  display: block;
  z-index: 2;
  cursor: pointer;
}

/* - - - - - - - - - - - - - */

.divIconEdit {
  background-color: var(--button-color);
  border-radius: 30px;
  align-self: end;
  display: flex;
}

.iconEdit {
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(43deg) brightness(102%) contrast(101%);
  padding: 5px;
  height: 2.5rem;
}

.hrResumen {
  margin-bottom: 25px;
}


/*  */
/* Formulario */
/*  */
.nExp {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.inputIconHalf {
  width: 40%;
  border-radius: 25px 0 0 25px;
  border: 2px solid #CCC2EB;
  border-right: none;
  outline: none;

  height: 100%;
  vertical-align: top;

  padding: 0.5rem 0.5rem 0.5rem 1rem !important;
  /* Otros estilos para el input */
}

.inputIconHalf2 {
  margin-left: -6px;
  width: 50%;
  border-radius: 0 25px 25px 0;
  border: 2px solid #CCC2EB;
  border-left: none;
  outline: none;

  height: 100%;
  text-align: center;
  vertical-align: top;
  font-size: 13px !important;
  appearance: none;
  -webkit-appearance: none;

  background-image: url('/static/img/historic/edit_square.svg');
  background-repeat: no-repeat;
  /* background-position: right center; */
  background-position: 85% 40%;
  background-size: 1.2rem;

  padding: 0.5rem 2rem 0.5rem 0 !important;
  /* Otros estilos para el input */
}

.inputIcon {
  width: 90%;
  border-radius: 25px;
  border: 2px solid #CCC2EB;
  outline: none;

  background-image: url('/static/img/historic/edit_square.svg');
  background-repeat: no-repeat;
  /* background-position: right center; */
  background-position: 90% 40%;
  background-size: 1.2rem;
  padding: 0.5rem 2.5rem 0.5rem 1rem !important;
  /* Otros estilos para el input */
}

.inputNoIcon {
  width: 90%;
  border-radius: 25px;
  border: 2px solid #CCC2EB;
  outline: none;

  background-position: 90% 40%;
  background-size: 1.2rem;
  padding: 0.5rem 2.5rem 0.5rem 1rem !important;
  /* Otros estilos para el input */
}

.textareaIcon {
  width: 90%;
  border-radius: 25px;
  border: 2px solid #CCC2EB;
  outline: none;

  background-image: url('/static/img/historic/edit_square.svg');
  background-repeat: no-repeat;
  /* background-position: right center; */
  background-position: 95% 5%;
  background-size: 1.2rem;

  width: 90%;
  margin-left: 10% !important;
  padding: 1rem 2.5rem 1rem 1rem !important;
}

.commentsExperiment h3 {
  width: 90%;
  margin-left: calc(10% + 8px) !important;
}

.saveChangesBtn {
  margin-top: auto;
  display: none;
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 700;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}


@media only screen and (max-width: 1360px) {
  .boxes {
    width: min-content !important;
  }

  .experimentName h3,
  .experimentName h4 {
    font-size: 21px !important;
    margin: 0 !important;
  }

  .parent {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 0.65fr 0.55fr 0.75fr 0.75fr 0.5fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .experimentName {
    grid-area: 1 / 1 / 2 / 4;
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .sedimentationInitialVelocity {
    grid-area: 2 / 1 / 2 / 4;
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .initialHeightValue {
    grid-area: 3 / 1 / 3 / 2;
    display: flex;
    flex-direction: column;

  }

  .duration {
    grid-area: 3 / 2 / 3 / 3;
    display: flex;
    flex-direction: column;
  }

  .density {
    grid-area: 3 / 3 / 3 / 4;
    display: flex;
    flex-direction: column;
  }

  .dose {
    grid-area: 4 / 1 / 4 / 2;
    display: flex;
    flex-direction: column;
  }

  .flocculant {
    grid-area: 4 / 2 / 4 / 3;
    display: flex;
    flex-direction: column;
  }

  .material {
    grid-area: 4 / 3 / 4 / 4;
    display: flex;
    flex-direction: column;
  }

  .ph {
    grid-area: 5 / 1 / 5 / 2;
    display: flex;
    flex-direction: column;
  }

  .sensorsSensibility {
    grid-area: 5 / 2 / 5 / 3;
    display: flex;
    flex-direction: column;
  }

  .commentsExperiment {
    grid-area: 6 / 1 / 6 / 3;
    display: flex;
    flex-direction: column;
  }

  .buttons {
    display:flex;
    flex-direction: row;
    flex:auto;
    flex-wrap: wrap;
  }

}

#arrowManualMode {
  background-color: var(--button-color);
  padding: 1.2px 2.4px 1.2px 2.4px;
  border-radius: 30px;
  cursor: pointer;
  border: 0px solid #312c42;
  color: var(--white-font);
  width: 100%;
}

#zonesCurve {
  display: flex;
  max-width: 70%;
  height: auto;
  display: none;
  object-fit: contain;
  align-self: center;
}

.plot{
  padding-left: 4vw;
  flex-wrap: wrap;
  flex: 1;
  max-width: inherit;
  width: 100%;
}

button.update{
  max-width: 159px;
  background: #C1BED4;
  border-radius: 87px;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 19px;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: capitalize;
  justify-content: center;
  color: white;
  border: none;
  width: 100%;
  min-height: 30px;
}
button.update:hover{
  background: #8A33FF;
}

button.update.refresh{
  width: 50%;
}