body {
    font-size: small;
    font-family: Arial, Verdana, sans;
    margin: 0;
    padding: 0;
}

ul, ul li, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol, ol li , p, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

a {
    color: #00f;
    cursor: pointer;
    text-decoration:underline;
}

img {
    border: none;
}

.clear {
    clear: both;
}

#main {
    width: 70em;
    margin: 1em auto;
    background: #fff;
    padding: 0;
}

#header {
    position: relative;
    padding-top: 1em;
}

#header h1 {
    padding-left: 87px;
    font-size: 300%;
    margin: 0;
    font-family: Verdana, sans;
}

#header h1 a {
    text-decoration: none;
    color: black;
}

#header h2 {
    width: 77px;
    height: 79px;
    background: url(/static/img/new/logo.png) no-repeat;
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0 0px 0 8px;
    z-index: 50;
}

#header h2 a {
    display: block;
    height: 67px;
}

#header h2 a span {
    display: none;
}

#header .account {
    position: absolute;
    top: 0;
    right: 266px;
    padding-right: 22px;
    background: url(/static/img/ad.png) right bottom no-repeat;
    height: 4.5em;
}

#header .account li {
    display: inline;
    font-size: 90%;
    padding-left: 0.3em;
}

#header .account li.logged-user a {
    padding-left: 30px;
    background: left center no-repeat;
}

#header .main-menu {
    position: relative;
    font-size: 120%;
}

#header .main-menu a {
    font-weight: bold;
}

#header .main-menu .br {
    height: 1em;
}

#header .main-menu .wr {
}

#header .main-menu ul {
    background: url(/static/img/new/m-b.gif) left repeat-y;
    top: -0.2em;
    position: relative;
    width: 100%;
    padding-left: 6em;
}

#header .main-menu li {
    display: inline;
    padding: 0.25em 0.4em 0.3em 0;
    background: url(/static/img/new/m-b.gif) right repeat-y;
}

#header .main-menu li:first-child a {
    background: url(/static/img/new/m-b.gif) left repeat-y;
    padding-left: 1.1em;
}

#header .main-menu li a {
    text-decoration: none;
    padding: 0.2em 0.7em 0.3em;
}

#header .main-menu li a:hover {
    text-decoration: underline;
}

#header .current-path {
    padding: 0.8em 0 0.5em;
}

#header .current-path li {
    display: inline;
}

#header li.text, #header .current-path a {
    padding-left: 24px;
    background: url(/static/img/new/double-arrow.png) 4px center no-repeat;
}

#adt {
    position: absolute;
    top: 0;
    right: 4px;
    width: 263px;
}

#adt .AdTaily_Widget_Buy,
#adt .AdTaily_Widget_Logo,
#adt .AdTaily_Widget_Title {
    display: none !important;
}

#adt a, #adt img {
    margin: 0px !important;
    padding: 1px !important;
    display: inline !important;
}

#adt img {
    border: 1px solid #d3d3d3 !important;
}

#adt div {
    margin: 0 !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

#left {
    display: none;
}

#content {
    float: left;
    width: 47em;
}

#content h2 {
    padding: 0.5em 0 0.5em;
    border-top: dotted 1px #d3d3d3;
    border-bottom: dotted 1px #d3d3d3;
    position: relative;
    margin: 0.3em 0 0.3em;
    background-position: right center;
    background-repeat: no-repeat;
}

#content h2 .adv {
    display: block;
    position: absolute;
    right: 0.5em;
    top: 0;
    line-height: 4.7em;
    font-size: 50%;
    font-style: italic;
}

#content .r h2 {
    border-top none;
    margin: 0;
}

#content h3 {
    padding: 0.5em 0 0.5em;
}

#content dl.comments dt {
    background: center right no-repeat;
    position: relative;
    font-size: 80%;
    color: #666;
}

#content dl.comments dd {
    padding-bottom: 0.5em;
    margin: 0.3em 0 1em;
}

#content dl.comments .object-meta {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 120%;
}

#right {
    float: right;
    width: 21em;
    padding-left: 2em;
    padding-top: 0.8em;
}

#right .r {
    margin-bottom: 1em;
}

#right h2 {
    font-size: 120%;
    padding: 0 0.5em 0.3em;
    border-bottom: solid 1px #d3d3d3;
}

#right .links, #right .options, #right .stats {
    border-top: solid 1px white;
    margin: 0 2px 0;
    padding: 0.3em 0.5em 0;
}

#right .users li {
    padding-right: 26px;
    background: center right no-repeat;
    margin: 0.1em 0 0.1em;
}

#right .users li.comment {
    padding-bottom: 0.6em;
}

#right .stats li {
    position: relative;
}

#right .options li.current a,
#right .links li.current a {
    font-weight: bold;
}

#right .links li.pad {
    margin: 0.4em 0 0.4em;
}

#right li.with-sub {
    padding-top: 1em;
}

#right li.with-sub .sub {
    padding: 0.3em 0 1em 2em;
}

#right li.with-sub .sub li a {
    font-weight: normal;
    font-size: 90%;
}

#right li.with-sub .sub li.current a {
    font-weight: bold;
}

#right .stats .value {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
    font-size: 90%;
    line-height: 1.6em;
}

#right dt {
    overflow: hidden;
}

#right dt a {
    float: left;
    display: block;
    width: 14em;
}

#right dt .date {
    float: right;
    display: block;
    width: 5em;
}

#right dd {
    padding: 0.4em 0 0.6em 0;
    overflow: hidden;
}

#right a.rss, #content h2 a.rss {
    float: right;
    display: block;
    background: url(/static/img/feed/rss-12.gif) center center no-repeat;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
}

#right a.rss span, #content h2 a.rss span {
    display: none;
}

#footer {
    clear: both;
    text-align: center;
    padding-top: 1em;
}


/*
 * Rounded corners.
 */
.r {
    background: url(/static/img/new/r-tr.gif) top right no-repeat #efefee;
    display: block;
}

.r .tl {
    background: url(/static/img/new/r-tl.gif) top left no-repeat;
    display: block;
    padding-top: 0.5em;
}

.r .bl {
    background: url(/static/img/new/r-bl.gif) bottom left no-repeat;
    display: block;
}

.r .br {
    background: url(/static/img/new/r-br.gif) bottom right no-repeat;
    display: block;
    padding-bottom: 0.5em;
}

/*
 * Paginator.
 */
.paginator {
    width: 100%;
    clear: both;
}

.paginator span {
    line-height: 1.5em;
    height: 1.5em;
    display: block;
}

.paginator .previous {
    float: left;
    text-align: left;
    font-size: 150%;
    margin-left: 1em;
}

.paginator .next {
    float: right;
    text-align: right;
    font-size: 150%;
    margin-right: 1em;
}

.paginator .pages {
    text-align: center;
    font-size: 120%;
}

.paginator .pages a {
    font-size: 85%;
}

.paginator .pages a.current {
    font-size: 130%;
}

/*
 * Forms.
 */
form .br, #right .br form {
    padding: 0.5em;
}

form input, form textarea, form select, input.vTextInput {
    border: 1px solid #d3d3d3;
    padding: 0.4em;
    width: 80%;
}

form td textarea {
    height: 16em;
}

form table {
    width: 100%;
}

form table th {
    width: 20%;
    text-align: right;
}

form table td {
    width: 80%;
}

form input.vCheckboxField, form input[type=checkbox] {
    width: auto;
}

form .error, ul.errorlist {
    color: #f00;
    font-style: italic;
}

.vSubmit, .ui-dialog-buttonpane {
    text-align: center;
}

.vSubmit input, .ui-dialog-buttonpane button {
    padding: 0 2em 0;
    line-height: 2em;
    height: 2em;
    font-weight: bold;
    color: #282828;
    background-image: url(../img/submit-bg.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    border: none;
    width: auto;
}

form .icons img {
    border: 2px solid white;
}

form .icons img.selected {
    border: 2px solid red;
}

/*
 * Words.
 */
.word-accepted {
    font-variant: small-caps;
    color: #3060d0;
    font-weight: bold;
}

.word-waiting {
    font-variant: small-caps;
    color: #c0d0ff;
    font-weight: bold;
}

.word-rejected {
    font-variant: small-caps;
    color: #3060d0;
    font-weight: bold;
    text-decoration: line-through;
}

/*
 * Crosswords.
 */
#content ul.crossword-list li {
    padding: 1em 0 1em;
    float: left;
    width: 24%;
    margin-right: 1%;
    text-align: center;
}

#content ul.crossword-list li.one {
    clear: left;
}

#content ul.crossword-list h3 {
    font-style: italic;
    padding: 0;
}

#content ul.crossword-list .name {
    padding: 0.5em 0.5em 0;
}

#content ul.crossword-list li.solved, #content ul.crossword-list li.solved a {
    color: #888;
}

#content ul.crossword-list .name span {
    font-size: 150%;
    display: block;
}

#content ul.crossword-list .stats, #content ul.crossword-list .time {
    text-align: center;
    padding: 0.2em 0;
    font-style: italic;
    font-size: 80%;
}

#content ul.crossword-list ul.options {
    text-align: center;
}

#content ul.crossword-list ul.options li {
    display: inline;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

#content ul.crossword-list .hidden a {
    color: #666;
}

/*
 * Menus.
 */
#content .content-menu {
    padding: 1em 0 0;
}

/*
 * Comments.
 */
.comment p, .comments dd p {
    padding: 0.3em 0 0.3em;
}

.disclaimer {
    padding: 1em;
    font-style: italic;
}

.disclaimer li {
    font-style: italic;
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 3em;
    margin: auto;
}

/*
 * Dialogs.
 */
.ui-dialog {
    width: 301px;
    height: 139px !important;
    background-image: url(../img/dialog.png);
    position: relative;
}

.ui-dialog-titlebar-close {
    display: block;
    float: right;
    width: 25px;
    height: 25px;
}

.ui-dialog-titlebar-close .ui-icon {
    display: none;
}

.ui-dialog-content {
    padding: 0.5em 1em;
    font-variant: small-caps;
    font-style: italic;
    font-weight: bold;
    font-size: 130%;
}

.ui-dialog-buttonpane {
    position: absolute;
    left: 0;
    width: 300px;
    bottom: 1em;
}

.ui-dialog-buttonpane button {
    margin: 0 0.2em 0;
}
