/* ============================================
   ¿Cabe en mi coche? - ESTILO CLASICO WEB
   Sin bordes suaves, sin sombras
   ============================================ */

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    background: #fff;
    color: #000;
    margin: 8px;
}

a { color:#00F; }
a:visited { color:#808; }
a:hover { color:#F00; }

hr {
    border: none;
    border-top: 2px solid #000;
    margin: 8px 0;
}

.header {
    background: #000080;
    color: #fff;
    text-align: center;
    padding: 10px;
}
.header h1 {
    font-family: "Courier New", monospace;
    font-size: 28px;
    color: #FF0;
    margin: 5px 0;
    letter-spacing: 3px;
}
.ascii-logo {
    font-family: "Courier New", monospace;
    font-size: 9px;
    line-height: 1.1;
    color: #0F0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

marquee {
    background: #FF0;
    color: #000080;
    font-weight: bold;
    font-size: 13px;
    padding: 3px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.panel { padding:4px; }

.form-table {
    border-color: #808080;
    background: #F0F0F0;
}

.section-header {
    background: #000080;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 5px;
    font-family: "Courier New", monospace;
}

.subsection {
    background: #C0C0C0;
    font-weight: bold;
    font-style: italic;
    padding: 4px;
    text-align: center;
}

.info-bar {
    background: #FFFFCC;
    border-bottom: 1px solid #808080;
    padding: 4px;
    font-size: 12px;
}

input[type="text"],
input[type="number"],
select {
    font-family: "Courier New", monospace;
    font-size: 13px;
    border: 2px inset #808080;
    background: #fff;
    padding: 2px 4px;
    border-radius: 0;
}
input[type="number"] { width:100px; }
select { width:220px; }

button {
    font-family: "Courier New", monospace;
    font-size: 12px;
    border: 2px outset #C0C0C0;
    background: #C0C0C0;
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 0;
    margin: 2px;
}
button:hover { background:#A0A0A0; }
button:active { border-style:inset; }

.btn-calcular {
    font-size: 20px;
    font-weight: bold;
    background: #008000;
    color: #fff;
    border: 3px outset #008000;
    padding: 10px 40px;
    letter-spacing: 2px;
}
.btn-calcular:hover { background:#060; }
.btn-calcular:active { border-style:inset; }

.result-table {
    border-color: #000;
    background: #F8F8F8;
    margin-bottom: 8px;
}

#result-resumen {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    font-family: "Courier New", monospace;
}

#result-detalle {
    padding: 10px;
    font-size: 13px;
}

.table-header {
    background: #000080;
    color: #fff;
    font-family: "Courier New", monospace;
    font-size: 11px;
}
.table-header th {
    padding: 3px 5px;
    text-align: center;
    border: 1px solid #000;
}

#tabla-objetos td,
#result-objetos-detalle td {
    padding: 2px 4px;
    font-family: "Courier New", monospace;
    font-size: 12px;
    text-align: center;
    border: 1px solid #808080;
}
#tabla-objetos input { width:70px; }
#tabla-objetos input[type="text"] { width:100px; }

.fila-cabe { background:#CCFFCC; }
.fila-no-cabe { background:#FFCCCC; }
.fila-abatido { background:#FFFFCC; }

.resultado-si {
    background: #0F0;
    color: #000;
    padding: 10px;
    border: 3px solid #080;
    text-align: center;
}
.resultado-abatido {
    background: #FF0;
    color: #000;
    padding: 10px;
    border: 3px solid #880;
    text-align: center;
}
.resultado-no {
    background: #F00;
    color: #fff;
    padding: 10px;
    border: 3px solid #800;
    text-align: center;
}

.footer {
    background: #C0C0C0;
    text-align: center;
    padding: 8px;
    border-top: 2px solid #808080;
}

#resultados-busqueda table { width:100%; border-collapse:collapse; }
#resultados-busqueda td,
#resultados-busqueda th {
    border: 1px solid #808080;
    padding: 2px 5px;
    font-size: 11px;
    font-family: "Courier New", monospace;
}
#resultados-busqueda th { background:#000080; color:#fff; }
#resultados-busqueda tr:hover { background:#FFFFCC; cursor:pointer; }

#canvas-maletero { image-rendering: pixelated; }

@media (max-width: 700px) {
    .panel { display:block; width:100% !important; }
    .ascii-logo { font-size:5px; }
    .header h1 { font-size:16px; }
    select { width:160px; }
    #canvas-maletero { width:100%; height:auto; }
}
