/* ============================================================
   BASE RESET & GLOBAL
   ============================================================ */

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: black;
    background-color: #FFFFFF;
    font-size: 62.5%;
    margin: 0;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

img {
    border: 0 none;
}

p {
    margin-bottom: 10px;
    text-align: justify;
}

h1 {
    display: block;
    font-size: 18px;
    font-family: ToonatorFont, Verdana;
    font-weight: bold;
    text-align: center;
}

h3 {
    font-size: 24px;
    font-family: ToonatorFont, Arial;
    font-weight: normal;
}


/* ============================================================
   HEADER
   ============================================================ */

#header_wrap {
    height: 46px;
    font: 10pt Arial;
    padding-top: 5px;
}

#header {
    height: 40px;
    margin: 0 auto;
    padding-bottom: 5px;
    width: 1000px;
    border-bottom: 1px solid #cccccc;
}

#header a.logo {
    float: left;
}

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

#header a:hover {
    text-decoration: underline;
    color: #0000ff;
}

#header a.username {
    color: #005500;
}


/* ============================================================
   NAV MENU
   ============================================================ */

#newmenu {
    float: right;
    margin: 5px;
    padding: 0;
    list-style: none;
}

#newmenu li {
    float: left;
    height: 32px;
    line-height: 32px;
    display: block;
    margin-left: 6px;
    position: relative;
}

#newmenu #notify,
#newmenu #spiders,
#newmenu #mnumessages {
    width: 32px;
    text-align: center;
}

#newmenu #notify > a,
#newmenu #spiders > a,
#newmenu #mnumessages > a {
    position: relative;
    width: 32px;
    height: 32px;
    display: block;
}

#newmenu > li a .counter {
    position: absolute;
    font: 7pt Arial;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
}

#newmenu #notify > a {
    background: url(/img/new-assets.png) no-repeat 0 -32px;
    color: #000;
}

#newmenu #notify > a:hover {
    background: url(/img/new-assets.png) no-repeat -32px -32px;
}

#newmenu #notify > a.active {
    background: url(/img/new-assets.png) no-repeat -64px -32px;
    color: #ff0000;
}

#newmenu #spiders > a {
    background: url(/img/new-assets.png) no-repeat 0 0;
    color: #000;
}

#newmenu #spiders > a:hover {
    background: url(/img/new-assets.png) no-repeat -32px 0;
}

#newmenu #spiders > a.active {
    background: url(/img/new-assets.png) no-repeat -64px 0;
    color: #ff0000;
}

#newmenu #mnumessages > a {
    background: url(/img/new-assets.png) no-repeat 0 -64px;
    color: #000;
}

#newmenu #mnumessages > a:hover {
    background: url(/img/new-assets.png) no-repeat -32px -64px;
}

#newmenu #mnumessages > a.active {
    background: url(/img/new-assets.png) no-repeat -64px -64px;
    color: #ff0000;
}

#newmenu > li > a {
    display: block;
    height: 32px;
    font: 13pt ToonatorFont;
    line-height: 32px;
    max-width: 150px;
    overflow: hidden;
}

#newmenu > li ul {
    position: absolute;
    top: 32px;
    right: 0;
    display: none;
    border: 1px solid #eeeeee;
    background: #ffffff;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

#newmenu #account {
    margin-left: 18px;
    max-width: 200px;
}

#newmenu li ul li {
    float: none;
    font: 12pt ToonatorFont;
    height: 24px;
    padding: 0;
    margin: 0;
}

#newmenu li ul li a {
    display: block;
    padding: 0 8px;
    margin: 0;
    height: 24px;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
    overflow: hidden;
    width: 150px;
}

#newmenu li ul li a:hover {
    background: #eeeeee;
}

ul.topmenu {
    padding-top: 6px;
    padding-left: 130px;
}

ul.topmenu li {
    list-style: none;
    float: left;
    margin: 0 1px;
}

ul.topmenu li a {
    padding: 5px 0;
    font-weight: bold;
    display: block;
}


/* ============================================================
   CONTENT LAYOUT
   ============================================================ */

#content_wrap {
    margin-top: 5px;
    font: 10pt Arial;
}

#content {
    margin: 0 auto;
    padding-bottom: 5px;
    width: 1000px;
    border-bottom: 1px solid #cccccc;
}

#footer {
    margin: 0 auto;
    padding: 0 2px;
    width: 1000px;
    text-align: center;
    font-size: 8pt;
    color: #888888;
}

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

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

.imglink {
    display: block;
    width: 130px;
    height: 22px;
}

.content_left {
    width: 680px;
    float: left;
}

.content_right {
    width: 320px;
    float: left;
}

.clear {
    clear: both;
}

.body {
    display: inline-block;
    width: 1000px;
    background: #ffffff;
    text-align: left;
    height: 100%;
}

.index, .news {
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
}

.index {
    width: 640px;
}

.news {
    width: 280px;
    text-align: justify;
}


/* ============================================================
   TYPOGRAPHY & UTILITY
   ============================================================ */

a.username {
    color: #005500 !important;
    font-weight: bold;
    text-decoration: none;
}

a.username:hover {
    text-decoration: underline;
}

a.anonymous {
    color: #555555 !important;
}

a.anonymous:hover {
    text-decoration: none;
}

a.foreign {
    color: #3333cc !important;
}

a.moderator {
    color: #007f7f !important;
    background: url(/img/favicon.ico) no-repeat;
    padding-left: 18px;
}

a.toonator {
    color: #007f7f !important;
    background: url(/img/favicon-eyes.png) no-repeat;
    padding-left: 18px;
}

a.gray {
    color: #888888 !important;
    background: none;
    text-decoration: none;
}

a.gray:hover {
    text-decoration: underline;
}

a.cite {
    color: #cccccc;
    text-decoration: none;
}

a.cite:hover {
    color: #555555;
}

a.nmenu {
    color: #0000ff;
    text-decoration: none;
}

a.nmenu:hover {
    color: #0000ff;
    text-decoration: underline;
}

a.nmenu.selected {
    color: #000000;
    font-weight: bold;
}

a.btn {
    display: inline-block;
    text-align: center;
    background: #dddddd;
    text-decoration: none;
    color: #888888;
    font-family: Verdana;
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    padding: 3px 10px;
}

a.btn:hover {
    color: black;
    background: #cccccc;
}

.black {
    color: black;
    font-weight: bold;
}

.red, a.red {
    color: red !important;
    font-weight: bold;
}

.green {
    color: green;
    font-weight: bold;
}

.grayb {
    color: #888888;
}

.center {
    text-align: center;
}

.gray {
    background: #eeeeee;
}

.small {
    font-size: 10px;
    font-weight: normal;
}

.username.russian {
    color: #050 !important;
}

.username.admin {
    color: #e53535 !important;
    font-weight: bold;
}

.username.mod {
    color: #e5b800 !important;
    font-weight: bold;
}

.username.has-nick-color,
.username.has-nick-color.russian,
.username.has-nick-color.foreign,
.username.has-nick-color.mod,
.username.has-nick-color.admin {
  color: var(--nick-color) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.toon-buttons {
    margin: 3px;
}


/* ============================================================
   SPRITE & VOTE
   ============================================================ */

.sprite, img.sprite, .sprite img {
    background-attachment: scroll;
    background-color: transparent;
    background-image: url("/img/s.png");
    background-repeat: repeat-x;
    border: 0 none;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
}

.vote-like-img {
    background-position: -16px 0;
    height: 18px;
    width: 16px;
}

.vote-notlike-img {
    background-position: 0 0;
    height: 18px;
    width: 16px;
}

.vote-like-img-voted {
    background-position: -16px -18px;
    height: 18px;
    width: 16px;
}

.vote-notlike-img-voted {
    background-position: 0 -18px;
    height: 18px;
    width: 16px;
}

.vote-like-text {
    margin-left: 5px;
}

.vote-results {
    border-radius: 3px;
    background: #F3F3F3;
    border: 1px solid #cccccc;
    display: inline-block;
    font-size: 11px;
    vertical-align: middle;
    padding: 0 5px;
    width: 50px;
    height: 26px;
}

.dislikes-bar, .likes-bar {
    margin-top: 4px;
    background: none repeat scroll 0 0 #DDDDDD;
    border-color: #CCCCCC;
    height: 6px;
}

.likes-bar {
    margin-bottom: 2px;
}


/* ============================================================
   TOONS LIST
   ============================================================ */

.toons_container {
    display: block;
    text-align: center;
    padding: 10px 0;
}

.index .toons_container {
    text-align: left;
}

.toons_list {
    margin: 0 auto;
    width: 880px;
    text-align: left;
}

.toons_list.large {
    margin: 0 auto;
    width: 970px;
    text-align: left;
}

.content_left .toons_list {
    width: 660px;
}

.content_profile .toons_list {
    width: 660px;
}

.owned {
    background-image: url(/img/owned2.gif);
    background-repeat: repeat-x;
}

.toon_preview {
    background-color: #eeeeee;
    display: inline-block;
    zoom: 1;
    width: 210px;
    margin: 3px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: relative;
}

.large {
    width: 320px;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
}

.large.owned {
    background-image: url(/img/owned4.gif);
    background-repeat: repeat-x;
}

.toonmedal {
    position: absolute;
    left: 5px;
    top: 7px;
    width: 24px !important;
    height: 24px !important;
}

.toonmedal2 {
    position: absolute;
    left: 5px;
    top: 3px;
    width: 24px !important;
    height: 24px !important;
}

.toon_preview img {
    margin-bottom: 5px;
    width: 200px;
    height: 100px;
}

.large img {
    width: 300px;
    height: 150px;
    margin: 10px 10px 5px 10px;
}

.toon_preview .toon_name a,
.toon_preview .toon_name_top a {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #555555;
    text-decoration: none;
}

.toon_preview .toon_name_top a {
    font-size: 14px;
    margin-top: 10px;
}

.toon_preview .toon_tagline a {
    color: #000000;
}

.toon_preview .toon_tagline a.noh {
    text-decoration: none;
}

.toon_preview a.link {
    display: inline-block;
    overflow: hidden;
    height: 16px;
}

.toon_tagline {
    font-size: 8pt;
    height: 18px;
}

.toon_feature {
    color: #333388;
    font-size: 10pt;
}

.toon_feature a {
    color: #333388;
    text-decoration: none;
}

.toon_feature a:hover {
    color: black;
}

.last_comments {
    height: 40px;
    overflow: hidden;
}

.draft {
    background: #333333;
    color: white;
}

.draft .toon_name a,
.draft .toon_tagline,
.draft .toon_tagline a {
    color: white;
}

.likes_count, .views_count {
    font-family: ToonatorFont;
    font-size: 11pt;
    padding: 0 6px;
}


/* ============================================================
   TOON PAGE
   ============================================================ */

.toon_cc {
    display: block;
    vertical-align: top;
}

.toon_c1 {
    display: inline-block;
    width: 610px;
}

.toon_c2 {
    vertical-align: top;
    display: inline-block;
    width: 370px;
    margin-left: 20px;
}

.toon_c1_v3 {
    display: inline-block;
    width: 640px;
}

.toon_c2_v3 {
    vertical-align: top;
    display: inline-block;
    width: 340px;
    margin-left: 20px;
}

.toon_player {
    display: block;
}

.toon_rating {
    display: block;
    margin: 5px 0;
    height: 30px;
}

.toon_rating * {
    display: inline-block;
    vertical-align: middle;
}

.toon_stars {
    float: left;
}

.toon_views {
    float: right;
}

.toon_info {
    display: block;
    width: 370px;
    background: #eeeeee;
    border: 1px solid #cccccc;
}

.toon_info_v3 {
    display: block;
    width: 340px;
    background: #eeeeee;
    border: 1px solid #cccccc;
}

.toon_author {
    display: block;
    padding: 5px;
}

.toon_author span {
    display: inline-block;
    vertical-align: top;
    padding-left: 5px;
}

.toon_info img {
    border: 1px solid #cccccc;
}

.toon_description {
    display: block;
    padding: 5px;
}

.toon_tags {
    padding: 5px;
}

.toon_moderator a {
    display: inline-block;
    margin: 3px;
    padding: 0 5px;
    width: 30px;
    border: 1px solid #888888;
    text-decoration: none;
    background: #555555;
    color: #ffffff !important;
    height: 16px;
    line-height: 16px;
}

.toon_moderator a .counter {
    float: right;
    color: #888888;
}

.toon_moderator a:hover {
    background: #333333;
    border-color: #000000;
}

.toon_moderator a.selected {
    border-color: #000000;
    background: #eeeeee;
    color: #000000;
}

.toon_code {
    display: block;
    padding: 5px;
}

.toon_code textarea {
    width: 365px;
    height: 50px;
    font-family: Tahoma;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
}

.toon_code textarea.hidden {
    display: none;
}

.toon_code a {
    display: inline-block;
    width: 40px;
    text-align: center;
    background: #cccccc;
    text-decoration: none;
    color: #555555;
    font-family: Verdana;
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    padding: 3px 0;
}

.toon_code a.hidden {
    color: #888888;
    background: #dddddd;
}

.toon_code a:hover {
    color: black;
    background: #cccccc;
}

#toon_page h2 {
    font-family: ToonatorFont, "Comic Sans MS";
    clear: both;
}

#toon_page h2 a {
    color: #555555;
    text-decoration: none;
}

#toon_page h2 a:hover {
    color: #0000ff;
    text-decoration: underline;
}

#toon_page .left_panel {
    float: left;
    width: 610px;
}

.player {
    width: 610px;
    height: 350px;
    float: left;
}

.player_expanded {
    width: 1000px;
    height: 575px;
}

#toon_page .info {
    margin-left: 20px;
    margin-top: 23px;
    width: 350px;
    float: right;
}

#toon_page .info .author {
    height: 44px;
}

#toon_page .info .author .avatar {
    float: left;
    margin-right: 10px;
}

#toon_page .info .author .author_name {
    font-family: ToonatorFont, "Comic Sans MS";
    font-size: 18pt;
}

#toon_page .info .author .date {
    font-size: 8pt;
}

#toon_page .info .description {
    clear: both;
    margin: 5px 0;
    font-family: Arial;
    font-size: 10pt;
}

#toon_page .info .tags {
    clear: both;
    font-family: Arial;
    font-size: 10pt;
}

#toon_page .info .tags a {
    color: #888888;
    text-decoration: none;
}

#toon_page .info .tags a:hover {
    color: black;
    text-decoration: underline;
}

#toon_page .info .buttons {
    clear: both;
    margin-top: 10px;
    font-family: ToonatorFont, "Comic Sans MS";
    font-size: 12pt;
}

#toon_page .info .buttons .hover {
    line-height: 30px;
    height: 30px;
    vertical-align: middle;
}

#toon_page .info .buttons a {
    text-decoration: none;
    color: #555555;
}

#toon_page .info .buttons img {
    vertical-align: middle;
}

#toon_page .info .buttons a:hover,
#toon_page .info .buttons a.active {
    color: black;
}

#toon_page .info h4 {
    font-family: ToonatorFont, "Comic Sans MS";
    font-size: 14pt;
    text-align: center;
    font-weight: bold;
}

#toon_page .info h4 a {
    text-decoration: none;
    color: #555555;
}

#toon_page .info h4 a:hover {
    text-decoration: underline;
    color: black;
}

#toon_page .info .prizes {
    margin-top: 10px;
}

#toon_page .info .prize,
.rightpanel .prize {
    border-radius: 6px;
    text-align: center;
    padding: 10px 0;
    margin: 2px 0;
}

#toon_page .info .prize a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}

#toon_page .info .prize a:hover {
    text-decoration: underline;
    color: black;
}

#toon_page .info .more-options {
    margin-left: 50px;
    max-height: 200px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.5s, opacity 0.5s;
}

#toon_page .info .more-options div {
    margin: 5px 0;
}

#toon_page .info .more-options.hidden {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s, opacity 0.5s;
}

#toon_page .info .share_hidden,
#toon_page .info #download_links,
#toon_page .info #sound_uploader {
    display: none;
}

#toon_page .info #download_links {
    font-family: Arial;
    font-size: 10pt;
}

#toon_page .toon_admin {
    clear: both;
}

#toon_page .tcontinues {
    clear: both;
    margin-top: 10px;
}

#toon_page ul.continues_list {
    font-family: Arial;
}

#toon_page ul.continues_list li {
    clear: both;
    list-style: none;
    margin: 3px 0;
    height: 70px;
}

#toon_page ul.continues_list li.hidden {
    display: none;
}

#toon_page ul.continues_list li.showmore {
    height: auto;
    text-align: center;
}

#toon_page ul.continues_list li a {
    text-decoration: none;
    color: black;
}

#toon_page ul.continues_list li a:hover {
    text-decoration: underline;
}

#toon_page ul.continues_list li.showmore a {
    font-weight: bold;
    font-family: ToonatorFont, "Comic Sans MS";
}

#toon_page ul.continues_list li img {
    float: left;
    margin-right: 5px;
}

#toon_page ul.continues_list li .name {
    font-weight: bold;
    overflow: hidden;
    height: 18px;
}

#toon_page ul.continues_list li .cinfo {
    font-size: 8pt;
}

.continues {
    display: block;
    margin: 5px;
    overflow: hidden;
    width: 360px;
    height: 67px;
}

.continues img {
    display: inline-block;
}

.continues .info {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    width: 200px;
}

.continues .info a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.continues .info a:hover {
    text-decoration: underline;
}

.continues .original, .continues .username {
    font-size: 10px;
}

.continues a.username {
    color: #005500;
}


/* ============================================================
   PRIZE COLORS
   ============================================================ */

.prize_1 {
    background-color: #cce0e0;
}

.prize_1 .toon_name a {
    color: black;
}

.prize_1 .grayb {
    color: black;
}

.prize_2 {
    background-color: #ccffcc;
}

.prize_2 .toon_name a {
    color: black;
}

.prize_2 .grayb {
    color: black;
}

.prize_3 {
    background-color: #ffcc00;
}

.prize_3 .toon_name a {
    color: black;
}

.prize_3 .grayb {
    color: black;
}

.prize_4 {
    background-color: #ffcccc;
}

.prize_5 {
    background-color: #E3E7B8;
}

.prize_6 {
    background-color: #FFEAA7;
}

.toon_prize_1 {
    background-color: #cce0e0;
    padding: 5px;
}

.toon_prize_2 {
    background-color: #ccffcc;
    padding: 5px;
}

.toon_prize_3 {
    background-color: #ffcc00;
    padding: 5px;
}

.toon_prize_4 {
    background-color: #ffcccc;
    padding: 5px;
}

.toon_prize_5 {
    background-color: #E3E7B8;
    padding: 5px;
}

.toon_prize_6 {
    background-color: #FFEAA7;
    padding: 5px;
}


/* ============================================================
   COMMENTS
   ============================================================ */

.toon_comments {
    display: block;
}

.toon_comments .header,
.toon_comments .form {
    border-bottom: 1px solid #cccccc;
    display: block;
    font-family: ToonatorFont, "Comic Sans MS";
    font-size: 12pt;
}

.toon_comments a.new {
    float: right;
    text-decoration: none;
    color: blue;
}

.toon_comments a.new:hover {
    text-decoration: underline;
}

.toon_comments textarea {
    border: 1px solid #cccccc;
    margin: 10px;
    width: 580px;
    font-family: Arial;
    font-size: 10pt;
}

.toon_comments button,
#privmsg_form button {
    margin: 0 10px 10px 0;
}

.toon_comments .form1,
.toon_comments .form2,
#privmsg_form .form1,
#privmsg_form .form2 {
    display: block;
    text-align: right;
}

.comment {
    display: block;
    padding: 5px;
    min-height: 40px;
}

.comment .avatar {
    float: left;
    margin-right: 5px;
}

.comment .date {
    float: right;
    font-size: 8pt;
}

.comment .text {
    vertical-align: middle;
    text-align: justify;
    word-wrap: break-word;
}

.levelup_comment {
    border-radius: 6px;
    border: 1px dashed black;
    padding: 5px;
    background-color: #ffcccc;
}

#comments_form {
    display: none;
}

#privmsg_form textarea {
    border: 1px solid #cccccc;
    margin: 10px;
    height: 82px;
    width: 650px;
    font-family: Arial;
    font-size: 10pt;
}


/* ============================================================
   AVATARS & IMAGES
   ============================================================ */

img.avatar {
    width: 80px;
    height: 40px;
    border: 1px solid #cccccc;
}

img.avatar80 {
    width: 80px;
    height: 40px;
}

img.p100 {
    width: 130px;
    height: 65px;
    border: 1px solid #cccccc;
}
img.p200 {
    width: 200px;
    height: 100px;
    border: 1px solid #cccccc;
}

.my-avatar {
    cursor: pointer;
}

.my-avatar.processing {
    opacity: 0.5;
}


/* ============================================================
   STARS
   ============================================================ */

.star_empty, .star_half, .star_full {
    width: 16px;
    height: 16px;
    background: url(/pic/stars.gif);
    border: none;
}

.star_empty {
    background-position: -32px 0;
}

.star_half {
    background-position: -16px 0;
}

.star_full {
    background-position: 0 0;
}


/* ============================================================
   PAGINATOR & PAGES
   ============================================================ */

div.paginator {
    text-align: center;
}

div.paginator ul li {
    list-style: none;
    margin: 1px 5px;
    font-family: ToonatorFont;
    font-size: 11pt;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

div.paginator ul li a {
    text-decoration: none;
    color: #555555;
    width: 35px;
    padding: 5px 0 2px 0;
    display: inline-block;
}

div.paginator ul li a:hover,
div.paginator ul li.current a {
    border-radius: 5px;
    color: black;
    background: #eeeeee;
}

div.paginator ul li.current a {
    border: 1px solid #888888;
}

.pages {
    display: block;
    text-align: center;
    padding: 10px 0;
}

.pages a,
.pages span {
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    font-family: ToonatorFont;
    padding: 3px;
    margin: 0 3px;
}

.pages a {
    color: #888888;
    background: #eeeeee;
    text-decoration: none;
}

.pages a:hover {
    color: #000000;
    background: #cccccc;
}

.pages span.current {
    background: #ddffdd;
}

.pages span.bg {
    color: #888888;
}


/* ============================================================
   SHARE
   ============================================================ */

ul.share {
    font-family: ToonatorFont;
    font-size: 14px;
    padding: 0;
    list-style: none;
}

ul.share li {
    list-style: none;
    float: left;
    margin: 0 1px;
    line-height: 20px;
}


/* ============================================================
   PROFILE
   ============================================================ */

.profile, .profileinfo, .profiletoons {
    display: inline-block;
    vertical-align: top;
}

.profileinfo {
    width: 330px;
}

ul.friends li {
    list-style: none;
    float: left;
    padding: 0 2px;
    margin: 10px 0;
    display: block;
    width: 100px;
    height: 60px;
    text-align: center;
    overflow: hidden;
}

ul.friends li a {
    text-align: center;
}

.medals {
    margin-top: 20px;
}

.medal_preview {
    margin: 10px auto;
    width: 220px;
}

.medal_name {
    font-family: ToonatorFont;
    font-size: 20px;
    font-weight: bold;
}


/* ============================================================
   LEFT MENU
   ============================================================ */

ul.leftmenu {
    margin: 0 0 0 30px;
    padding: 0;
}

ul.leftmenu li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14pt;
    font-family: ToonatorFont, "Comic Sans MS";
}

ul.leftmenu li a {
    color: #0000ff;
    text-decoration: none;
}

ul.leftmenu li a:hover {
    color: #0000ff;
    text-decoration: underline;
}

ul.leftmenu li a.selected {
    color: #000000;
    font-weight: bold;
}


/* ============================================================
   NOTIFY BAR
   ============================================================ */

#notify_wrap {
    width: 1000px;
    margin: 0 auto;
    background: #FFFFED;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

#notify_inner {
    padding: 4px;
    font-size: 12px;
    text-align: center;
}

#notify_close {
    float: right;
    color: #000;
    font-size: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 4px;
}

#notify_close:hover {
    color: #ff0000;
}


/* ============================================================
   ICONS
   ============================================================ */

.crown {
    background: url(/img/icons/crown.gif) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.crownp {
    background: url(/img/icons/crownp.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.crownp2 {
    background: url(/img/icons/crownw.png) no-repeat;
    padding-left: 19px;
    min-height: 16px;
}

.crownw {
    background: url(/img/icons/crownw.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.slowpoke {
    background: url(/img/icons/slowpoke.png) no-repeat;
    padding-left: 22px;
    min-height: 17px;
}

.brain {
    background: url(/img/icons/brain.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.gasmask {
    background: url(/img/icons/gasmask.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.guitar {
    background: url(/img/icons/guitar.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.fan {
    background: url(/img/icons/fan.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.pot {
    background: url(/img/icons/pot.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.tophat {
    background: url(/img/icons/tophat.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.shared {
    background: url(/img/icons/shared.png) no-repeat;
    padding-left: 18px;
    min-height: 16px;
}

.prime {
    background: url(/img/user/prime16.gif);
    height: 16px;
    width: 53px;
    display: inline-block;
}

.prime span {
    display: none;
}

.author_name .prime,
h3 .prime {
    background: url(/img/user/prime24.gif);
    height: 24px;
    width: 80px;
}


/* ============================================================
   FORMS
   ============================================================ */

.form .p, .form .ps {
    margin: 0;
    padding: 3px 0;
    display: block;
    width: 500px;
}

.form .ps {
    text-align: center;
}

.form label {
    display: inline-block;
    width: 120px;
    vertical-align: top;
}

.form input.text {
    width: 300px;
}

.form textarea {
    width: 300px;
    height: 80px;
}

.reg_form div {
    display: block;
    margin: 3px;
}

.reg_form label {
    display: inline-block;
    font-size: 16px;
    width: 200px;
}

.reg_form input {
    font-size: 16px;
    width: 200px;
}

.error {
    padding-left: 20px;
    color: red;
    background: url(/img/error.gif) no-repeat;
    margin-left: 4px;
}

.top {
    display: block;
    padding: 5px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
}

.top * {
    vertical-align: middle;
}

.top img {
    padding-right: 30px;
}

.top a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.top a.menu {
    display: inline-block;
    margin: 0 5px;
    padding: 5px;
}

.top a.selected {
    background: #dddddd;
}

.top a:hover {
    color: #0000ff;
    text-decoration: underline;
}

.top a.draw {
    color: red;
}

.top .top_menu {
    display: inline-block;
    width: 850px;
}


/* ============================================================
   REGISTRATION VARIANTS
   ============================================================ */

.reg_variant {
    list-style: none;
}

.reg_variant li {
    display: inline-block;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid #eeeeee;
}

.reg_variant li:hover {
    border: 1px solid #ffffff;
    background: #ffffff;
}

.reg_variant li.active {
    border: 1px solid #cccccc;
    background: #ffffff;
}

.reg_variant li img {
    margin: 4px;
    cursor: pointer;
}


/* ============================================================
   CONTEST NAVIGATOR
   ============================================================ */

.contest_navigator {
    width: 610px;
    margin: 5px 0 0 0;
}

.contest_navigator .left {
    width: 305px;
    float: left;
}

.contest_navigator .right {
    width: 305px;
    float: left;
    text-align: right;
}

.contest_navigator .navlink {
    font-size: 11pt;
    font-family: ToonatorFont, "Comic Sans MS";
    font-weight: bold;
    color: #555555;
    text-decoration: none;
}

.contest_navigator .navlink:hover {
    text-decoration: underline;
    color: black;
}

.contest_toon {
    width: 610px;
    margin: 10px 0 0 35px;
}


/* ============================================================
   WIKI
   ============================================================ */

.wiki_header {
    font-size: 22pt;
    text-align: left;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid #cccccc;
    font-family: ToonatorFont, "Comic Sans MS";
}

.wiki h1 {
    font-size: 18pt;
    text-align: left;
    font-weight: bold;
    font-family: ToonatorFont, "Comic Sans MS";
    margin-top: 20px;
    border-bottom: 1px solid #cccccc;
}

.wiki h2 {
    font-size: 14pt;
    text-align: left;
    font-weight: bold;
    font-family: ToonatorFont, "Comic Sans MS";
    margin-top: 10px;
}

.wiki h3 {
    font-size: 12pt;
    text-align: left;
    font-weight: bold;
    font-family: ToonatorFont, "Comic Sans MS";
    margin-top: 10px;
}

.wiki pre {
    background: #eeeeee;
    border: 1px dashed black;
    padding: 3px;
}

.wiki li {
    margin-left: 30px;
}

.wiki ol, .wiki ul {
    margin: 10px 0;
}

.wiki table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.wiki table th {
    background: #eeeeee;
}

.wiki table td, .wiki table th {
    border: 1px solid #cccccc;
    vertical-align: top;
    padding: 5px;
}


/* ============================================================
   CC STYLES
   ============================================================ */

.cc h1, .cc h2, .cc h3 {
    text-align: left;
    font-weight: bold;
    font-family: ToonatorFont, "Comic Sans MS";
}

.cc h1 {
    font-size: 18pt;
}

.cc h2 {
    font-size: 14pt;
    margin-left: 5px;
}

.cc h3 {
    font-size: 12pt;
}

.cc p {
    margin-left: 30px;
}

.cc ul {
    margin: 0 50px;
}

.cc label {
    display: inline-block;
    width: 120px;
}

.cc label.check {
    text-align: left;
    display: inline;
    margin-right: 20px;
}

#moderator_help .selected {
    font-weight: bold;
    color: #000000 !important;
}


/* ============================================================
   TUTORIAL & INFO
   ============================================================ */

.tutorial {
    font-family: ToonatorFont;
}

.tutorial h2 {
    color: #0e56c4;
    font-size: 24px;
    margin: 0;
}

.floattext p {
    text-align: left;
}

.info_spiders {
    font-family: ToonatorFont;
    font-size: 26px;
}

.dialog_item {
    margin: 0 50px;
}

.dialog_info {
    float: right;
}

ul.pay_buttons li {
    list-style: none;
    float: left;
    margin: 0 3px;
}

ul.pay_buttons li a {
    font-weight: bold;
    display: block;
    width: 64px;
    height: 64px;
}


/* ============================================================
   .SN STYLES
   ============================================================ */

.sn h1 {
    font: 32pt ToonatorFont;
    text-align: left;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid #eeeeee;
}

.sn h2 {
    font: 24pt ToonatorFont;
    text-align: center;
    margin: 5px 0;
    border-bottom: 1px solid #eeeeee;
}

.sn .registration .reg-variants {
    margin: 10px 0 10px 240px;
}

.sn .login-popup .reg-variants {
    text-align: center;
}

.sn .reg-form {
    display: none;
}

.sn label,
.sn .label {
    display: block;
    margin: 5px 0;
    font: 16pt ToonatorFont;
}

.sn label .error {
    font: 12pt ToonatorFont;
}

.sn label p,
.sn .label p {
    width: 250px;
    display: inline-block;
    color: #555555;
    text-align: left;
}

.sn label.short p,
.sn .label.short p {
    width: 200px;
}

.sn input.input {
    border: 1px solid #cccccc;
    border-radius: 5px;
    font: 16pt ToonatorFont;
    padding: 10px;
    width: 400px;
    box-shadow: 0 0 2px #DDD inset;
}

.sn input:focus {
    outline: 0;
}

.sn .captcha_show {
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: 420px;
    box-shadow: 0 0 2px #DDD inset;
    padding: 5px 0 10px 0;
    display: inline-block;
    text-align: center;
}

.sn .captcha_show input {
    font: 24pt ToonatorFont;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid #cccccc;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.sn .label .vk-info {
    display: inline-block;
}

.sn .label .vk-info .vk-avatar {
    height: 50px;
    width: 50px;
    vertical-align: middle;
}

.sn .label .registered {
    margin-top: 10px;
}

.sn .btn {
    border-radius: 5px;
    font: bold 10pt ToonatorFont;
    padding: 10px;
    box-shadow: 0 0 2px #DDD;
    height: auto;
}

.sn .btn.cancel {
    background: #ae6266;
}

.sn .btn.confirm {
    background: #a4cda7;
}

.sn .btn.info {
    background: #546eae;
}

.sn .info-block {
    border-radius: 8px;
    background: #eeeeee;
    padding: 20px;
    font: 12pt ToonatorFont;
}

.sn button.complete {
    border: 1px solid #cccccc;
    border-radius: 5px;
    font: 16pt ToonatorFont;
    padding: 10px 0;
    width: 420px;
    box-shadow: 0 0 2px #DDD inset;
    height: auto;
    background: #a4cda7;
    cursor: pointer;
    margin-top: 10px;
}

.sn button.complete[disabled] {
    background: #eeeeee;
    cursor: default;
}

.sn .login-popup {
    display: none;
}

.sn .login-popup .overlay,
.sn .popup .overlay {
    overflow: auto;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(127, 127, 127, 0.5);
}

.sn .login-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #cccccc;
    width: 640px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    z-index: 1001;
}

.sn .login-wrapper h2 {
    text-align: center;
    font: 24pt ToonatorFont;
    margin: 5px 0;
    border-bottom: 1px solid #eeeeee;
}

.sn .login-wrapper .close,
.sn .popup .close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    text-decoration: none;
    color: #cccccc;
    font: 18pt Arial;
}

.sn .login-wrapper .close:hover {
    color: black;
}

.sn .signin-old-head,
.sn .signin-using,
.sn .signin-old-recover {
    text-align: center;
}

.sn .signin-using {
    font: 14pt ToonatorFont;
}

.sn .signin-old-head a,
.sn .signin-old-recover a {
    font: 12pt ToonatorFont;
}

.sn .signin-old {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.1s;
}

.sn .signin-old.hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s;
}

.sn .signin-old .captcha {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.1s;
}

.sn .signin-old .captcha.hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s;
}

.sn .link-social .social img {
    vertical-align: middle;
}

.sn .link-social .logged-in {
    display: none;
}

.sn .popup {
    display: none;
}

.sn .popup .overlay {
    overflow: auto;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(127, 127, 127, 0.5);
}

.sn .popup .wrapper {
    position: relative;
    left: 50%;
    top: 50%;
    border: 1px solid #cccccc;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 10px;
    width: 660px;
    max-width: 80%;
    height: 800px;
    max-height: 70%;
}

.sn .popup .content {
    position: absolute;
    overflow: auto;
    top: 50px;
    left: 0;
    right: 0;
    padding: 10px;
    bottom: 10px;
}

.sn .popup .header {
    position: absolute;
    left: 10px;
    right: 10px;
    line-height: 50px;
    height: 60px;
    top: 10px;
}

.sn .popup .header h2 {
    margin: 10px;
    border-bottom: none;
}

.sn .popup .header .close {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    display: block;
    text-decoration: none;
    color: #cccccc;
    font: 18pt Arial;
}

.sn .toon-chooser-popup .wrapper {
    width: 700px;
}

.sn .toon-chooser-popup .toons-container {
    text-align: center;
}

.sn .toon-chooser-popup .toons-list {
    width: 655px;
    text-align: left;
    margin: auto;
}

.sn .toon-chooser-popup .loading {
    display: none;
    margin: 10px 0;
    text-align: center;
    color: #888888;
    font: 14pt ToonatorFont;
}

.sn .toon-chooser-popup.loading .loading {
    display: block;
}

.sn .toon-chooser-popup .load-more {
    text-align: center;
}

.sn .toon-chooser-popup .load-more button {
    margin: 10px 0;
    text-align: center;
    border: none;
    color: #555555;
    background: inherit;
    font: 14pt ToonatorFont;
}

.sn .hints {
    position: fixed;
    right: 20px;
    top: 20px;
}

.sn .hint {
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 200, 200, 0.8);
    min-width: 300px;
    font: 12pt Tahoma;
    margin: 5px 0;
    position: relative;
}

.sn .hint .header {
    font: bold 12pt Tahoma;
    margin: 5px 0;
}

.sn .hint .header .close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    text-decoration: none;
    color: #cc8888;
    font: 12pt Arial;
}

.sn .hint .body {
    width: 400px;
    background: none;
    margin: 10px 0;
}

.sn .hint .actions {
    text-align: center;
}

.sn .hint .actions button {
    border-radius: 10px;
    padding: 10px;
    height: auto;
}

.sn .contest-apply .contest {
    background: #eeeeee;
    border-radius: 10px;
    min-height: 100px;
    padding: 10px;
    margin: 10px 0;
}

.sn .contest-apply .contest .preview {
    float: left;
    background: #ffffff;
    width: 200px;
    height: 100px;
    border-radius: 5px;
    margin-right: 10px;
    overflow: hidden;
}

.sn .contest-apply .contest .info {
    margin: 10px;
}

.sn .contest-apply .contest .title {
    font: bold 14pt ToonatorFont;
}

.sn .contest-apply .contest .title a {
    color: #152f43;
    text-decoration: none;
}

.sn .contest-apply .contest .description {
    margin: 5px 0;
    font: 12pt ToonatorFont;
}

.sn .contest-apply .contest .date {
    font: 9pt Arial;
}

.sn .contest-apply .contest .date .today {
    font: bold 10pt Arial;
}

.sn .contest-apply .contest .rules {
    clear: both;
    padding: 10px 0;
    font: 12pt ToonatorFont;
    max-height: 300px;
    overflow: auto;
    opacity: 1;
    transition: max-height 0.2s, opacity 0.2s, padding 0.2s;
}

.sn .contest-apply .contest .rules.hidden {
    clear: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: max-height 0.2s, opacity 0.2s, padding 0.2s;
}

.sn .contest-apply .contest .rules ul {
    list-style: circle;
    margin: 10px 0 10px 20px;
}

.sn .contest-apply .contest .rules label {
    font: bold 12pt ToonatorFont;
}

.sn .contest-apply .contest .apply {
    text-align: right;
}

.sn .contest-apply .contest .apply button {
    height: auto;
    border-radius: 5px;
    padding: 5px 10px;
}

.sn .contest-apply .applied {
    margin: 50px 0;
    text-align: center;
}

.sn .contest-apply .contest .sign-applied {
    color: #1a2fa3;
    font-style: italic;
}

.sn .contest-apply .contest .sign-accepted {
    color: #1e8125;
    font-style: italic;
}

/* ============================================================
   NOTIFICATIONS PAGE
   ============================================================ */

.notif_row {
    display: block;
    padding: 5px;
    min-height: 40px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
}

.notif_thumb {
    float: left;
    margin-right: 5px;
    width: 80px;
    height: 40px;
}

.notif_thumb img {
    width: 80px;
    height: 40px;
    object-fit: cover;
    display: block;
}

.notif_text {
    vertical-align: middle;
    word-wrap: break-word;
}

/* ============================================================
   SPOODERS — PURCHASE PAGE
   Add these rules to the bottom of style.css
   ============================================================ */

/* Payment method grid */
.spooders-pay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 10px 0;
}

.spooders-pay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 72px;
    text-decoration: none;
    color: black;
    border: 1px solid transparent;
    padding: 4px;
}

.spooders-pay-item:hover {
    border: 1px solid #cccccc;
    background: #f5f5f5;
}

/* Icon box — set background-image on each modifier below */
.spooders-pay-icon {
    display: block;
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pay-icon-kofi  { background-image: url("/img/pay/ko-fi.png");  }
.pay-icon-patreon  { background-image: url("/img/pay/patreon.png");  }
.pay-icon-bmac  { background-image: url("/img/pay/bmac.png");  }
.pay-icon-boosty  { background-image: url("/img/pay/boosty.png");   }

.spooders-pay-label {
    font: 7pt Arial;
    text-align: center;
    margin-top: 2px;
    color: #444444;
    word-break: break-word;
}

/* Exchange rate line */
.spooders-rate {
    font: 10pt Arial;
    margin-top: 4px;
}

h3 .withicon, .author_name .withicon {
    background-size: 32px !important;
    padding-left: 40px !important;
    min-height: 32px;
    line-height: 32px;
}

.withicon {
    padding-left: 18px !important;
    min-height: 16px;
    background-size: 16px !important;
    display: inline-block;
}

/* ============================================================
   SETTINGS PAGE
   ============================================================ */

.loading {
  font: 10pt Arial;
  padding: 20px;
}
.wrap {
  box-sizing: border-box;
}
.sidebar {
  float: left;
  width: 300px !important;
  box-sizing: border-box;
}
.panel {
  float: left;
  width: 700px !important;
  box-sizing: border-box;
  overflow: hidden;
  font: 10pt Arial;
  padding: 4px 0 0 10px;
}
.pageTitle {
  text-align: left;
  font: bold 18pt ToonatorFont, "Comic Sans MS";
  margin-bottom: 10px;
  border: none;
}
.section {
  margin-bottom: 14px;
}
.sectionTitle {
  font: bold 12pt Arial;
  text-align: left;
  border: none;
  margin: 0 0 2px 0;
  padding: 0;
}
.divider {
  border: none;
  border-top: 1px solid #cccccc;
  margin: 0 0 6px 0;
}
.field {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 4px 16px;
  font: 10pt Arial;
}
.label {
  min-width: 100px;
}
.radioGroup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.radioGroup label {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font: 10pt Arial;
}
.field input[type="text"],
.field select,
.rankField select {
  font: 10pt Arial;
  border: 1px solid #aaaaaa;
  padding: 2px 4px;
  background: #fff;
}
.birthInput {
  width: 100px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 3px 16px;
  font: 10pt Arial;
  color: #333333;
}
.checkbox label {
  cursor: pointer;
}
.rankField {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 4px 16px;
  font: 10pt Arial;
}
.rankField select {
  width: 120px;
}
.statusLine {
  margin: 4px 0 2px 16px;
  font: 10pt Arial;
}
.statusName {
  font-weight: bold;
}
.statusFreeLine {
  margin: 1px 0 3px 16px;
  font: 10pt Arial;
  color: #333;
}
.nickNote {
  margin: 0 0 6px 16px;
  font: 10pt Arial;
  color: #333333;
}
.nickPreview {
  margin: 0 0 5px 16px;
  font: 11pt ToonatorFont, "Comic Sans MS";
  font-weight: bold;
  text-align: center;
}
.palette {
  margin: 0 0 8px 16px;
}
.paletteGrid {
  display: grid;
  grid-template-columns: repeat(32, 18px);
  gap: 3px;
  max-width: 640px;
}
.swatch {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}
.swatch:hover {
  outline: 2px solid #000;
  position: relative;
  z-index: 2;
}
.swatch.selected {
  outline: 2px solid #000;
  position: relative;
  z-index: 2;
}
.modNote {
  margin: 0 0 4px 16px;
  font: 10pt Arial;
  color: #333333;
  max-width: 580px;
}
.promotionInfo {
  margin: 0 0 6px 16px;
  font: 10pt Arial;
  color: #333;
  max-width: 580px;
  line-height: 1.5;
}
.promotionTextarea {
  display: block;
  margin: 0 0 6px 16px;
  width: 560px;
  height: 70px;
  font: 10pt Arial;
  border: 1px solid #cccccc;
  padding: 4px;
  resize: vertical;
}
.promotionBtn {
  margin-left: 16px;
}
.altRankNote {
  margin: 3px 0 0 16px;
  font: 10pt Arial;
  color: #555555;
  font-style: italic;
}
.submitRow {
  margin-top: 10px;
  border-top: 1px solid #cccccc;
  padding-top: 8px;
}
.msg {
  display: none;
  padding: 4px 10px;
  margin-bottom: 6px;
  font: 10pt Arial;
  border: 1px solid #aaa;
  max-width: 500px;
}
.promoMsg {
  margin: 5px 0 0 16px;
}
.ok {
  border-color: #4a4 !important;
  color: #292;
  background: #f0fff0;
}
.err {
  border-color: #a44 !important;
  color: #922;
  background: #fff0f0;
}
.promotionCooldown {
  margin: 3px 0 6px 16px;
  font: 10pt Arial;
  color: #888888;
  font-style: italic;
}
.settingsNav {
  margin-top: 10px;
}