body,
html,
div,
p,
table,
tr,
td,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    padding: 0 0.5em;
    font-size: 1em;
    font-family: "Trebuchet MS", Helvetica, Verdana, Arial;
    background: #eee url("/res/bg.jpg");
}

a img {
    border: 0;
}

h1 {
    font-size: 2.2em;
}

h1#logo {
    margin-left: 8px;
    height: 76px;
    font-size: 1px;
}

h1#logo a img {
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

h1#logo a:hover img {
    border-bottom: 0;
    border-top: 1px solid #fff;
}

#mainbody {
    -moz-box-shadow: 0 0 20px #B69A8E;
    -webkit-box-shadow: 0 0 20px #B69A8E;
    box-shadow: 0 0 20px #B69A8E;
    width: 940px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    -webkit-border-bottom-left-radius: 24px;
    -webkit-border-bottom-right-radius: 24px;
    -moz-border-radius-bottomleft: 24px;
    -moz-border-radius-bottomright: 24px;
    background: #fff;
}

#header {
    color: #246;
    text-align: left;
    width: 100%;
}

#topmenu {
    float: right;
    margin-right: 12px;
    margin-top: -66px;
    list-style-type: none;
}

#topmenu li {
    display: inline;
}

#topmenu li a {
    background: #3983FD;
    padding: 20px 12px 10px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    -webkit-border-bottom-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-bottomleft: 12px;
    -moz-border-radius-bottomright: 12px;
}

#topmenu li a:hover {
    background: #E30D4F;
}

#content {
    text-align: left;
    width: 100%;
    padding-bottom: 1em;
}

#footer {
    padding: 1em 0;
    text-align: center;
    font-size: 0.8em;
    color: #B69A8E;
}

#footer a {
    text-decoration: none;
    font-weight: bold;
    color: #A4827A;
    border-bottom: 1px dashed #A4827A;
}

#footer a:hover {
    color: #A92138;
    border-bottom: 1px solid #A92138;
}

table#cake {
    border-collapse: collapse;
    width: 100%;
}

table#cake th {
    text-align: left;
    padding: 8px;
    font-size: 1.1em;
    color: #fff;
}

h2,
table#cake th {
    font-size: 1.1em;
    color: #fff;
    background: #E30D4F;
    text-align: left;
    padding: 8px;
}

table#cake td {
    padding: 4px 0;
    background: #eee;
}

table#cake tr.tp td {
    padding: 1px 8px;
}

table#cake td td {
    padding: 0;
}

table#cake input,
table#cake select,
#sharebox input {
    border: 1px solid #AAA;
    border-left: 3px solid #AAA;
    background-color: #F4F4F4;
    font-weight: normal;
    padding: 4px;
    font-size: 1em;
    width: 165px;
}

#content .cmdbutton {
    border: 1px solid #0B4081;
    color: #FFF;
    background-color: #3983FD;
    padding: 4px 8px;
    font-weight: bold;
}

#loading b {
    font-size: 36px;
    color: #888;
}

#loading b.blinky {
    font-size: 36px;
    color: #3983FD;
}

.cakepic,
.cakebig {
    border: 6px solid #ccc;
}

.cakesel {
    border: 6px solid #3983FD;
}

#sharebox {
    margin: 18px 0 6px 0;
}

#sharebox input {
    width: 220px;
}

#sharebox #copylink,
#sharebox #copyimage {
    font-size: 12px;
    padding: 5px 8px 4px 8px;
    background: #777;
}