/* Estilos generales */ body { font-size: 15px; font-family: Arial, Helvetica, sans-serif; line-height: 1.5em; padding: 0; margin: 0; background-color: #f4f4f4; } .container { width: 80%; margin: auto; overflow: hidden; } ul { margin: 0; padding: 0; } /* Header */ header { background: #35424a; color: white; padding-top: 30px; min-height: 70px; border-bottom: #ffc600 3px solid; } header a { color: white; text-decoration: none; text-transform: uppercase; font-size: 16px; } header li { display: inline; padding: 0 20px 0 20px; } header #branding { float: left; } header nav { float: right; margin-top: -41px; } header .highlight { color: #ffc600; font-weight: bold; } header a:hover { color: #cccccc; font-weight: bold; } /* Footer */ footer { padding: 30px; padding-top: 14px; margin-top: 20px; color: white; background-color: #00c3ff; text-align: center; font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; /* position: fixed; */ left: 0; bottom: 0; width: 100%; height: 25px; } .primary { background-color: #555; box-shadow: none !important; color: #fff !important; font-family: Arial, Helvetica, sans-serif; font-size: 15px; width: 200px; height: 30px; } .principal label { font-family: Arial, Helvetica, sans-serif; } /* Media Queries */ @media(max-width: 768px) { header #branding, header nav, #boxes .box, article#main-col, aside#sidebar { float: none; text-align: center; width: 100%; } aside#sidebar { margin-bottom: 120px; } header nav { margin-top: 20px; } #showcase h1 { font-size: 25px; } #boxes .box:nth-child(3) { margin-bottom: 80px; } } /* MenĂº con submenus */ .navbar { overflow: hidden; background-color: #333; } .navbar a { float: left; font-size: 16px; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } .subnav { float: left; overflow: hidden; } .subnav .subnavbtn { font-size: 16px; border: none; outline: none; color: white; padding: 14px 16px; background-color: inherit; font-family: inherit; margin: 0; text-transform: uppercase; } .navbar a:hover, .subnav:hover .subnavbtn { background-color: #0763ee; } .subnav-content { display: none; position: absolute; left: 0; background-color: #0763ee; width: 100%; z-index: 1; } .subnav-content a { float: left; color: white; text-decoration: none; } .subnav-content a:hover { background-color: #eee; color: black; } .subnav:hover .subnav-content { display: block; } /* Formato de las tablas */ table { margin: 0 0 2em 0; width: 100%; } table tbody tr { border-left: 0; border-right: 0; } table tbody tr:nth-child(2n + 1) { background-color: rgba(144, 144, 144, 0.075); } table td { padding: 0.75em 0.75em; } table th { color: #555; font-size: 0.9em; font-weight: 400; padding: 0 0.75em 0.75em 0.75em; text-align: left; } table thead { border-bottom: solid 1px rgba(144, 144, 144, 0.5); } table tfoot { border-top: solid 1px rgba(144, 144, 144, 0.5); } table.alt { border-collapse: separate; } table.alt tbody tr td { border: solid 1px rgba(144, 144, 144, 0.5); border-left-width: 0; border-top-width: 0; } table.alt tbody tr td:first-child { border-left-width: 1px; } table.alt tbody tr:first-child td { border-top-width: 1px; } table.alt thead { border-bottom: 0; } table.alt tfoot { border-top: 0; } /* Formularios */ input[type=text], select { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit] { width: 100%; background-color: #4CAF50; color: white; padding: 1px 20px; margin: 8px 0; border: none; border-radius: 4px; cursor: pointer; } input[type=submit]:hover { background-color: #45a049; }