body { background-color: #fff; color: #555; font-family: Helvetica, Arial, sans-serif; font-size: 100%; width: 100%; line-height: 1.5em; margin: 0; padding: 0; } .warning { padding: 10px 15px; background-color: #fcfcfc; margin: 25px 0; } p { font-size: 110%; } input { font-size: 130%; background-color: #fff; } input.postcode { text-transform: uppercase; } #main { width: 920px; margin: 50px auto; } tr.footer { border-top: 1px solid #eee; border-bottom: 0px solid black; } tr.header { border-bottom: 1px solid #eee; } #header { font-size: 100%; background-color: #e8f3f4; color: #999; text-align: left; margin: 0 0 0px 0; height: 100%; } #header_inner { margin: 0 auto; padding: 10px 0; width: 930px; } #header h1 { font-size: 180%; color: #555; } a { padding: 1px 4px; color: #999; text-decoration: none; } a:visited { padding: 1px 4px; color: #111; text-decoration: none; } a:hover { background-color: #4f4f4f; color: #fff; } h1 { margin: 40px 0; line-height: 1.4em; font-weight: bold; color: #555; } h2 { margin: 20px 0 0 0; line-height: 1.5em; font-weight: bold; color: #555; } h3 { margin: 30px 0 0 0; line-height: 1.5em; font-weight: bold; color: #555; } form { font-size: 150%; } .candidate_name { font-size: 150%; font-weight: bold; } .candidate_party { color: #999; } .highlight { background-color: #e8f3f4; } strong { color: #000; } table { border-collapse: collapse; margin: 20px 0 60px 0; } td, th { padding: 6px; } th { font-weight: normal; } tr { border-bottom: 1px solid #eee; } nav { font-size: 85%; margin: 0 0 0 0; } .right { text-align: right; } .elected { background-color: #e8f3f4; color: #333; padding: 2px 5px; font-weight: normal; } .elected_text { text-transform: lowercase; } .noborder { border: 0; } #lookup { background-color: #fafafa; padding: 0px 10px; } #notice { background-color: green; color: white; padding: 10px 20px; } #error { background-color: red; color: white; padding: 10px 20px; } /* Wardmap */ .wardmap tr, .wardmap td.blank { border: 0; } .wardmap td { border: 1px solid #fff; width: 16%; height: 80px; padding: 10px; text-align: center; font-size: 90%; } .ld3 a, .ld3 a:visited, .ld2 a, .ld2 a:visited { background-color: orange; color: white; padding: 3px; line-height: 1.5em; width: 70%; } .ld1 a, .ld1 a:visited, .con3 a, .con3 a:visited { background-color: blue; color: white; padding: 3px; line-height: 1.5em; width: 70%; } .wardmap a:hover { background-color: black; color: white; padding: 3px; line-height: 1.5em; width: 70%; } .ld3 { background-color: orange; color: white; } .ld2 { background-color: orange; background-image: url('ld2.png'); color: white; } .ld1 { background-color: blue; background-image: url('ld1.png'); color: white; } .con3 { background-color: blue; color: white; } .letter_index a { margin: 0 10px 0 0; } #candidate_bio img { float: left; margin: 0 15px 15px 0; } #polling_station { background-color: beige; border: 1px solid green; padding: 20px 20px; } .menu { margin: 0; padding: 0; } .menu li { list-style-type: none; display: inline; margin: 20px 0; padding: 0 10px 0 0; } @media print { .noprint, #footer, .nav, nav { display: none; } body { margin: 0 auto; color: black; } a, a:visited { background-color: #fff; } }