body {
  font-family: "Lato", sans-serif;
  margin: 0px;
  overflow: hidden;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #eeeeee;
  overflow-x: hidden;
  /*transition: 0.5s;*/
  padding-top: 10px;
}

.sidebar a {
  /* padding: 8px 8px 8px 32px; */
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #af3ca2;
  /* display: block; */
  transition: 0.3s;
}

.sidebar a:hover {
  color: #ff0048;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
  margin-left: 50px;
  padding: 4px 5px;
}

.openbtn {
  font-size: 15px;
  cursor: pointer;
  background-color: #eeeeee;
  color: #282828;
  padding: 4px 5px;
  border: none;
  flex-wrap: nowrap;
}

.openbtn:hover {
  background-color: #444;
  color: #eeeeee;
}

.contenedor-cuestionario {
  display: flex;
  justify-content: space-between;
  max-width: 250px;
  flex-direction: column;
}

/* Add margin to all buttons except the last one */
.contenedor-cuestionario .my-btn:not(:last-child) {
  margin-bottom: 5px;
}

.qr-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  top: 30px;
  right: 0;
  width: 200px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #696969;
  z-index: 2999;
  padding: 10px 0;
}

.qr-panel-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

.qr-panel-row-container {
  display: flex;
  flex-direction: column;
}

.qr-output {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.qr-panel-title {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0px;
}

.qr-panel[hidden] {
  display: none;
}

.qr-panel .openbtn {
  margin: 0 5px;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #696969;
  background-color: #f1f1f1;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s;
}

.qr-panel .openbtn:first-child {
  flex: 2;
  margin-right: 5px;
}

.qr-panel .openbtn:last-child {
  flex: 1;
  margin-left: 5px;
}

.qr-panel .openbtn:hover {
  background-color: #444;
  color: #eeeeee;

}

.qr-panel .openbtn:active {
  background-color: #bbb;
}

#qr-panel img {
  max-width: 90%;
  height: auto;
}

#main {
  transition: 0.3s;
  margin: 0px;
  /* padding: 16px;  */
}

.barraArriba {
  height: 30px;
  width: 100%;
  background-color: #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.barraArriba2 {
  height: 30px;
  width: 100%;
  background-color: #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.titulo {
  /*display: flex;
  justify-content: center;*/
  font-size: 15px;
  color: #282828;
  padding: 4px 5px;
}

.botonLista {
  /*display: flex;
  justify-content: center;*/
  font-size: 15px;
  color: #282828;
  padding: 4px 5px;
}

.barraArriba a {
  text-decoration: none;
  font-size: 15px;
  color: #282828;
  padding: 4px 5px;
}

.sidebar p {
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #282828;
  display: block;
}

.sidebar h4 {
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #282828;
  display: block;
  margin-block-start: 0;
}


.sidebarText {
  height: 95%;
  overflow-y: scroll;
}

.botones_info {
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px){
  /*.sidebar {padding-top: 0px;}*/
  .sidebar {padding-top: 15px;}
  /*.sidebar a {font-size: 18px;}*/
  .titulo {display: none;}
  .barraArriba {border-style: solid solid none solid; border-width:1px;}
}
@media screen and (max-width: 450px){
  /*.sidebar {padding-top: 0px;}*/
  .sidebar {padding-top: 15px;}
  /*.sidebar a {font-size: 18px;}*/
  .titulo {display: none;}
  .barraArriba {border-style: solid solid none solid; border-width:1px;}

}

/* ================================================================================
   referencia corte
   ================================================================================ */

.imgreferencia {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;

}
