* {
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}

body {
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
}

img {
    border-width: 0px;
}

h2 {
    padding-top: 0px;
    margin-top: 5px;
}

.logo-megaprim {
    color: rgb(68, 68, 68);
}

.logo-dot {
    color: black;
}

.logo-sl {
    color: rgb(130, 229, 182);
}

#logo a {
    font-size: 1.5em;
    margin-left: 10px;
    text-decoration: none;
}

#logo h1 {
    padding: 0px;
    margin: 0px;
    display: inline;
    font-size: 1.5em;
}

#logo span.tagline {
    color: rgb(68, 68, 68);
    text-align: right;
    display: block;
    float: right;
    line-height: 50px;
}

#logo {
    padding-top: 5px;
    padding-bottom: 5px;
}


#header {
    border-color: #676767;
    border-style: solid;
    border-top-style: none;
    background-color: #eee;
    border-width: 2px;
    margin-bottom: 20px;
    padding-top: 0px;
    margin-top: 0px;
    width: 85%;
    min-width: 850px;
    text-align: left;
    color: black;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
}

#legalstuff {
    text-align: center;
    color: #ccc;
    font-size: 0.7em;
    margin-top: -20px; /* This counters the contentbox padding. */
}

#legalstuff a, #legalstuff a:visited {
    color: inherit;
    text-decoration: underline;
}

.contentbox {
    text-align: left;   
    border-color: #676767;
    border-style: solid;
    border-width: 2px;
    background-color: #eee;
    color: black;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
    width: 85%;
    min-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

#searchtable {
    margin-left: auto;
    margin-right: auto;
    padding-left: 220px;
}

.content {
    text-align: justify;
    padding-left: 5px;
    padding-right: 5px;
}

#browsehappy {
    padding-top: 10px;
}

#searchpreview {
    width: 200px;
    height: 200px;
    margin-left: 30px;
}

.resulttable {
    margin-left: auto;
    margin-right: auto;
}

th.invisible {
    border-style: none !important;
}

.resulttable td, .resulttable th {
    border-width: 1px;
    border-color: rgb(68, 68, 68);
    border-style: solid;
}

.resulttable .rank {
    font-weight: bold;
}

.resulttable .perfect {
    font-weight: bold;
    background-color: rgb(130, 229, 182);
}

