.PPRdivsResponsivasContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
  gap: 10px;
}

.PPRdivsResponsivas {
  display: flex;
  height: 100%;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  /* Optional: Add padding for better visual appearance */
}

.PPRimageContainer {
  position: relative;
  /* Ensure container uses relative positioning */
  width: 100%;
  height: 380px;
}

.PPRimageContainer img {
  position: absolute;
  /* Stack images on top of each other */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Make images fit without distortion */
  border-radius: 5%;
  /* Optional: Add border radius */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .PPRimageContainer {
    width: 100%;
    height: 200px;
  }


  .PPRimageContainer img {
    width: 100%;
    height: auto;
    /* Adjust to make the images fit the container's width */
    object-fit: contain;
    /* Ensure aspect ratio is preserved for responsiveness */
  }
}


/* Additional styles for the card container */
.card-header {
  overflow-x: auto;
  /* Allow horizontal scrolling if content overflows */
  white-space: nowrap;
  /* Prevent text wrapping */
  text-align: center;
}

.anatomia,
.dente {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .PPRdivsResponsivasContainer {
    grid-template-columns: 1fr;
    /* Stacks the columns on smaller screens */
  }

  .PPRdivsResponsivas {
    padding: 5px;
    /* Adjust padding for smaller screens */
  }
}

.planPPR-container {
  position: relative;
}

.planPPR {
  position: absolute;
  top: 0;
  left: 15%;
  width: 450px;
  height: 450px;
}

.planPPR-inf {
  position: absolute;
  top: 0;
  left: 15%;
  width: 450px;
  height: 450px;
  margin-top: 400px;
}

@media (max-width: 768px) {
  .planPPR {
    top: 110px;
    left: 35%;
    width: 30%;
    height: auto;
  }

  .planPPR-inf {
    margin-top: 375px;
    margin-left: 0px;
    width: 30%;
    height: auto;
  }
}

.hiddenImages {
  display: none;
}

/* Table */
table.redTable {
  border: 2px solid #A40808;
  background-color: #EEE7DB;
  color: rgb(30, 30, 30);
  width: 90%;
  text-align: center;
  border-collapse: collapse;
  margin: 0 auto;
  /* Added to center the table */
  margin-left: 0;
}

table.redTable td,
table.redTable th {
  border: 1px solid #AAAAAA;
  padding: 3px 2px;
}

table.redTable tbody td {
  font-size: 13px;
}

table.redTable tr:nth-child(even) {
  background: #F5C8BF;
}

table.redTable thead {
  background: #A40808;
}

table.redTable thead th {
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  border-left: 2px solid #A40808;
}

table.redTable thead th:first-child {
  border-left: none;
}

table.redTable tfoot {
  font-size: 12px;
  font-weight: bold;
  color: #FFFFFF;
  background: #A40808;
}

table.redTable tfoot td {
  font-size: 13px;
}

table.redTable tfoot .links {
  text-align: right;
}

table.redTable tfoot .links a {
  display: inline-block;
  background: #FFFFFF;
  color: #A40808;
  padding: 2px 8px;
  border-radius: 5px;
}



/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/

.slider {
  -webkit-appearance: none;
  width: 350px;
  height: 10px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border-radius: 15px;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: maroon;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: maroon;
  cursor: pointer;
}

@media (max-width: 768px) {
  .slider {
    width: 95%;
  }
}