.max-container {
  width: 90%;
  display: block;
  margin: 5rem auto;
}

div#button-mapa {
  display: none;
}

span.date {
  font-weight: bold;
  font-size: 11px;
  color: var(--primary-color);
}

.max-container h1 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 2rem;
}

.menu-general {
  display: block !important;
}

.sub-container-fluid {
  display: flex;
  width: 100%;
  gap: 30px;
}

.left-container {
  flex: 1;
  border: 2px solid #D9D9D9;
  border-radius: 5px;
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.card-section {}

.card-item {
  /*width: 340px;*/
  height: 120px;
  position: relative;
  margin-top: 1rem;
}

.barr-item {
  width: 5px;
  position: absolute;
  background: orange;
  display: block;
  height: 100%;
}

.hour-item {
  padding-left: 1rem;
  padding-bottom: 8px;
  display: block;
  font-size: 16px;
}



.name-person {}

.email-person {}

.adrress-person {}

.subject {}

.icon {
  position: absolute;
  right: 0;
  top: 0;
}

.icon-item {
  position: absolute;
  right: 0;
  top: 0;
}

.right-container {
  flex: 2;

}

.first-row-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-end;
}

.second-row-container {
  display: flex;
  gap: 10px;
}


.right-item {
  flex: 1;
  text-align: center;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  opacity: 1;
  height: 188px;
  position: relative;
}

.right-item {

  height: 227px;
}

.imagen-item-right {
  width: 127px;
  position: absolute;
  top: 9px;
  right: 10px;
  transition: all 0.3s ease;
  height: 111px;
  object-fit: contain;
}

.second-row-container .right-item {

  height: 227px;
}

.item-second-right {}

.title-item {
  position: absolute;
  bottom: 9px;
  left: 1rem;
  margin: 0;
  font-size: 16px;
  color: var(--primary-color);
}

.left-container p {
  margin: 0;
  padding-left: 1rem;
  font-size: 11px;
  width: 75%;
}

.right-item {
  flex: 1;
  text-align: center;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  opacity: 1;
  height: 188px;
  position: relative;
  overflow: hidden;
  /* Asegura que los elementos no salgan del contenedor */
  background-color: white;
  /* Fondo inicial */
  transition: background-color 0.3s ease;
  /* Transición para el cambio de color */
}

.imagen-item-right {
  width: 127px;
  position: absolute;
  top: 9px;
  right: 10px;
  transition: all 0.3s ease;
}

.right-item:hover {
  background-color: var(--primary-color);
  color: white !important;
}

.right-item:hover .title-item {
  color: white !important;
}

.right-item:hover .imagen-item-right {
  top: 50%;/ left: 50%;
  transform: translate(-50%, -50%);
}

@media(max-width:1240px) {
  .max-container.cont-general {
    width: 90%;
  }

  .phone-screen {
    align-items: center;
    background-color: transparent;
    border-radius: 15px;
    display: block;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    width: 100%;
    z-index: 999;
  }

}

@media(max-width:1000px) {
  .right-item:hover .imagen-item-right {
    top: 50%;
    transform: translate(-13%, -54%);
  }

}


@media(max-width:800px) {
  .sub-container-fluid {
    display: block;
    width: 100%;
  }
}


@media(max-width:600px) {
  .sub-container-fluid {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  #name-vendedor {
    margin-bottom: 1rem;
  }

  .first-row-container {
    display: block;
    gap: 10px;
    margin-bottom: 20px;
    align-items: flex-end;
  }
}

@media(max-width: 1200px) {
  .right-item:hover .imagen-item-right {
    top: 50%;
    transform: translate(-5%, -52%);
  }
}


/*Loader*/

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-align: center;
  /* margin: 0 auto; */
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  color: var(--primary-color);
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media(max-width: 768px) {
  .responsive-class {
    margin-bottom: 1rem !important;
  }

  .max-container {
    margin: 3rem auto !important;
  }
}

@media(max-width: 599px) {
  .right-item {
    margin-bottom: 1rem !important;
  }

  .max-container h1 {
    font-size: 18px !important;
  }
}