* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #2e2e2e;
    background-color: #f9f9f9;
}
.top {
    background-color: #016f80;
    padding: 8px 20px;
    margin-bottom: 30px;
}
.top img {
    width: 20vw;
    max-width: 225px;
}
h2 {
    font-size: 1.2rem;
    color: #2e2e2e;
    margin-bottom: 10px;
    text-align: left; /* Ajustado para que no esté centrado */
}
form {
    width: 90%;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
label {
    margin-right: 10px;
    font-size: 0.9rem;
}
label, input, select, textarea {
    font-size: 0.9rem;
}
input, select {
    background-color: #e4e4e4;
    border-radius: 4px;
    border: 1px solid #ccc;
    appearance: none;
    line-height: 1.3;
    padding: 0.4rem 0.8rem;
    margin-bottom: 10px;
    font-family: inherit;
    width: 100%; /* Para que los inputs y select ocupen el mismo ancho */
}
input.apagado {
    background-color: #2e2e2e;
    color: #fff;
}
textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
    font-family: inherit;
}
.div-tercios div {
    margin: 20px 0;
}
.div-tercios div p {
    display: inline-block;
    margin-right: 8px;
    font-size: 0.9rem;
}
.div-tercios div p.primerp {
    display: block;
    margin-bottom: 6px;
}
.div-tercios div p.advertencia {
    color: red;
    font-weight: bold;
}
.div-tercios div p.invisible {
    display: none;
}
select {
    background-image:
      linear-gradient(45deg, transparent 50%, gray 50%),
      linear-gradient(135deg, gray 50%, transparent 50%),
      linear-gradient(to right, #ccc, #ccc);
    background-position:
      calc(100% - 18px) calc(1rem + 2px),
      calc(100% - 13px) calc(1rem + 2px),
      calc(100% - 2.5em) 0.5em;
    background-size:
      5px 5px,
      5px 5px,
      1px 1.5em;
    background-repeat: no-repeat;
    padding-right: 30px; /* Espacio para la flecha */
}
#t1espesor, #t2espesor, #t3espesor {
    width: 40px;
    text-align: center;
}
.labelremarks {
    font-size: 0.9rem;
    font-weight: bold;
}
.inputbutton {
    text-align: center; /* Centrado del texto */
    font-size: 1rem; /* Tamaño de fuente predefinido */
    background-color: #e4e4e4;
    color: #2e2e2e;
    border-radius: 5px;
    border: 1px solid #ccc;
    line-height: 1.4;
    padding: 10px 20px; /* Padding ajustado para un tamaño adecuado */
    margin: 20px auto; /* Centramos el botón con márgenes automáticos */
    width: 150px; /* Ancho predefinido */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.inputbutton:hover {
    background-color: #ccc;
    color: #000;
}

#viewerBtn {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 8px 16px;
    background-color: #FFFFFF;
    color: Black;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#viewerBtn:hover {
    background-color: #2C8C99;
	color: white;

}
