/* PHP Classifieds 7 - UK Unlimited stylesheet */
/* Reconstructed from HTML structure for Wayback Machine archive */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

a {
    color: #336699;
    text-decoration: none;
}

a:hover {
    color: #cc3300;
    text-decoration: underline;
}

/* Main container */
#container {
    width: 780px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    margin-top: 5px;
    margin-bottom: 10px;
}

.containertable {
    width: 100%;
    padding: 0 5px;
}

/* Header */
#header {
    width: 100%;
    background-color: #1a3c5e;
    border-bottom: 2px solid #336699;
}

#header td {
    padding: 5px;
    vertical-align: middle;
}

#header img {
    display: block;
}

/* Top navigation (Register, Add Ad, Login, WAP) */
#topnav {
    float: right;
}

#topnav td {
    padding: 2px 8px;
    background-color: #1a3c5e;
}

#topnav td a {
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

#topnav td a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

#topnav td#register,
#topnav td#addad,
#topnav td#login,
#topnav td#wap {
    border-left: 1px solid #336699;
}

/* Navigation bar */
table tr#nav {
    background-color: #336699;
}

table tr#nav td {
    padding: 4px 12px;
    text-align: center;
    border-right: 1px solid #4477aa;
    vertical-align: middle;
}

table tr#nav td a {
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    display: block;
}

table tr#nav td a:hover {
    color: #ffcc00;
}

table tr#nav td img {
    display: block;
    margin: 0 auto;
}

/* Sub navigation (breadcrumb + language flags) */
table tr#subnav {
    background-color: #dde8f0;
    border-top: 1px solid #aabbcc;
    border-bottom: 1px solid #aabbcc;
}

table tr#subnav td {
    padding: 3px 8px;
}

table tr#subnav td p {
    margin: 0;
    line-height: 1.5;
}

table tr#subnav td a {
    color: #336699;
    font-size: 11px;
}

table tr#subnav td img {
    vertical-align: middle;
}

/* Box component (used for categories, search, etc.) */
.box {
    width: 100%;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    border-collapse: collapse;
    margin-bottom: 5px;
}

.box th {
    background-color: #336699;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 8px;
    text-align: left;
}

.box th a {
    color: #ffffff;
    text-decoration: none;
}

.box th a:hover {
    color: #ffff99;
    text-decoration: underline;
}

.box td {
    padding: 4px 8px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    vertical-align: top;
}

.box tr:hover td {
    background-color: #f5f8fc;
}

/* Category listing */
.category {
    padding: 4px 8px;
    font-size: 12px;
}

.category a {
    color: #336699;
}

.category a:hover {
    color: #cc3300;
}

.category small {
    color: #666666;
    font-size: 11px;
}

/* Headline text */
h2 {
    font-size: 16px;
    color: #1a3c5e;
    margin: 10px 5px 5px 5px;
    border-bottom: 1px solid #336699;
    padding-bottom: 3px;
}

p.headline {
    font-size: 12px;
    color: #555555;
    margin: 5px;
}

/* Form elements */
input.txt, input[type="text"], input[type="password"], input[type="email"] {
    border: 1px solid #aaaaaa;
    padding: 3px 5px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

input.txt:focus, input[type="text"]:focus, input[type="password"]:focus {
    border-color: #336699;
    outline: none;
    background-color: #f8faff;
}

input.button, input[type="submit"] {
    background-color: #336699;
    color: #ffffff;
    border: 1px solid #1a3c5e;
    padding: 3px 12px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    font-weight: bold;
}

input.button:hover, input[type="submit"]:hover {
    background-color: #1a3c5e;
    color: #ffcc00;
}

select, select.regionselect {
    border: 1px solid #aaaaaa;
    padding: 2px 4px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

/* Footer */
#footer {
    width: 100%;
    background-color: #1a3c5e;
    border-top: 2px solid #336699;
    margin-top: 10px;
}

#footer td {
    padding: 8px;
    color: #ccddee;
    font-size: 11px;
    text-align: center;
}

#footer a {
    color: #99bbdd;
    text-decoration: none;
}

#footer a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

a.rss {
    color: #ff6600;
    font-weight: bold;
}

a.rss:hover {
    color: #ff9900;
}

/* Ads listing table */
table.box td {
    font-size: 12px;
}

/* Grade / rating display */
td.grade {
    color: #336699;
    font-weight: bold;
}

/* Stat bar */
table td[align="center"] {
    font-size: 11px;
    color: #666666;
    padding: 4px 8px;
}

/* Register form */
table.box td[bgcolor="#E3E3E3"] {
    background-color: #e8e8e8;
    padding: 8px;
    font-size: 12px;
}

/* Breadcrumb pointer images - hide since images are missing */
img[src="layout_images/pointer.gif"] {
    display: none;
}

/* Nav icons - show text fallback */
table tr#nav td img {
    display: none;
}

/* Logo area - text fallback */
#header img[src*="logo.gif"] {
    display: none;
}

/* Logo text fallback using pseudo content */
#header td:first-child a::after {
    content: "UK Unlimited";
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    font-family: Georgia, serif;
    letter-spacing: 1px;
    display: block;
    padding: 8px 10px;
}

/* Flag images - hide missing flags */
tr#subnav img[src*="flags/"] {
    display: none;
}

/* Powered by image - hide */
img[src="layout_images/powered.gif"] {
    display: none;
}

/* Layout misc */
br {
    line-height: 1.4;
}

p {
    margin: 5px 0;
}

strong {
    font-weight: bold;
}

/* Table defaults */
table {
    border-collapse: collapse;
}

/* Inner content areas */
div.containertable > table {
    width: 100%;
}

/* WAP link */
td#wap {
    display: none;
}

/* Clean up noise notices (PHP error notices in static HTML - hidden via CSS) */
body > br:first-child {
    display: none;
}
