html, body {
    padding: 0;
    margin: 0;
    font-family: arial;
    background: #E0DACD;
}
.nd {
    position: absolute;
    display: none;
}
#container {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: auto;
    margin-top: 10px;
    min-height: 500px;
}
#header {
    position: relative;
    background: url('library.png') no-repeat center;
    background-color: #314655;
    width: 100%;
    height: 200px;
    z-index: 5;
}
#header h1 {
    position: relative;
    max-width: 680px;
    margin-top: 0;
    padding-top: 20px;
    font-family: Avenir, sans-serif;
    font-weight: 100;
    font-size: 50px;
    color: #fff;
    text-shadow: -2px -2px 5px #000, 2px -2px 5px #000, -2px 2px 5px #000, 2px 2px 5px #000;
}


#responsive-menu
{
    display: none;
}

#header_container {
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 1080px;
    height: 100%}
#navigation {
    position: relative;
    height: 50px;
    margin-top: -20px;
    max-width: 710px;
}
#navigation a {
    position: relative;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    background: #609eff;
    background-size: auto 50px;
    color: #fff;
    text-decoration: none;
}
#navigation a:hover {
    z-index: 10;
}
#navigation a.active {
    background: #E0DACD!important;
    color: #000;
    z-index: 10;
}
#navigation a.active {
    font-weight: 700;
}
#panel {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 250px;
    height: 100px;
    margin-right: 0;
}
#content {
    position: relative;
    margin-top: 20px;
    padding: 5px;
    padding-top: 0;
    min-height: 500px;
}
#footer {
    position: relative;
    height: 150px;
    margin-top: 100px;
    padding-top: 20px;
    background: #C0BABD;
    line-height: 22px;
    font-size: 15px;
    color: #000;
}
.footer-mid {
    position: relative;
    margin: auto;
    max-width: 1000px;
}
.submenu {
    position: absolute;
    margin-top: 20px;
}
.submenu a {
    display: inline-block;
    text-decoration: none;
    padding: 5px;
    color: #fff;
}
.submenu a:hover {
    text-decoration: underline;
}
.story_block {
    position: relative;
    display: inline-block;
    margin: 5px;
    width: 90%;
    max-width: 200px;
    height: 200px;
    text-decoration: none;
    text-align: left;
}
.story_block:hover {
    box-shadow:  0px 0px 5px black;
}
h2.ptitle {
    font-size: 45px;
    font-weight: 100;
}
#panel form input {
    display: inline-block;
    margin: 2px;
}
#regForm input {
    display: block;
    margin: 5px;
}
img.profile_img {
    width: 50px;
    padding-right: 10px;
}
img.flag {
    width: 30px;
    float: right;
}
img {
    max-width: 100%;
    height: auto;
}
.center {
    text-align: center;
}
.shadow_block {
    position: absolute;
    color: #fff;
    width: 200px;
    bottom: 0;
    background:  rgba(0, 0, 0, 0.5);
}
.darker {
    background: rgba(0, 0, 0, 1);
}
.sb_title {
    font-size: 18px;
    text-align: center;
}
.sb_author {
    margin-left: 5px;
    max-width: 150px;
    font-family: serif;
}
.sb_rate {
    float: right;
    margin-top: -18px;
    margin-right: 5px;
    font-family: serif;
}
.story-frame {
    width: 100%}
.italic {
    font-style: italic;
}
@-webkit-keyframes rotateSpinner {
    from {
    -webkit-transform: rotate(0deg);
}
to {
    -webkit-transform: rotate(360deg);
}
}#loading_block {
    position: absolute;
    left: 50%;
    width: 100px;
    height: 100px;
    -webkit-animation: rotateSpinner 2s linear infinite;
}
#content_block {
    min-height: 500px;
    background: #fff;
    padding: 20px;
    box-shadow: 5px 5px 5px #666;
    /*box-shadow: -2px -2px 10px #666, 2px -2px 10px #666, -2px 2px 10px #666, 2px 2px 10px #666;*/
}
#p5 {
    position: relative;
    padding: 5px;
}
#story_content_block {
    width: 100%;
    margin-top: 20px;
    word-wrap: break-word;
}
.rate_mem_box {
    margin: auto;
    width: 100%;
    max-width: 480px;
}
.rate_mem_box .i-box {
    display: inline-block;
    margin: 0;
}
.favorite {
    display: block;
    color: red;
    text-decoration: none;
    text-align: right;
    height: 30px;
    line-height: 30px;
}
.addFavorite {
    width: 180px;
    background: url(heart_icon.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
}
.removeFavorite {
    width: 190px;
    background: url(broken-heart_icon.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
}
.kw_ico {
    position: absolute;
    background: url(http://fc04.deviantart.net/fs70/f/2012/212/1/0/png_cute_anime_6_by_candybubblesweety-d59c08i.png);
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: right 0;
    width: 100%;
    max-width: 850px;
    top: 125px;
    height: 160px;
}
.user_comment {
    display: table;
    margin-top: 20px;
    width: 100%}
.uc_left_side {
    display: table-cell;
    width: 60px;
}
.uc_right_side {
    display: table-cell;
    padding-left: 15px;
    vertical-align: top;
}
.uc_avatar_img {
    width: 60px;
    max-height: 100px;
}
.uc_name {
    display: inline-block;
}
.uc_name a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}
.uc_name a.admin {
    color: green;
}
span.admin {
    color: green;
    font-size: 12px;
    padding-top: 0;
}
.green {
    color: green;
}
.uc_date {
    display: inline-block;
    color: gray;
}
.uc_content {
    word-break: break-word;
    margin-top: 10px;
}
.fullbox {
    width: 100%}
.fright {
    float: right;
}
.fleft {
    float: left;
}
.bold {
    font-weight: 700;
}
hr.cmt_slash {
    margin-top: 50px;
}
.h50 {
    height: 50px;
}
.c_red {
    color: red;
}
.mail_block {
    display: table;
    width: 90%;
    color: #000;
    text-decoration: none;
    margin-top: 10px;
    border: 1px solid #000;
    padding: 10px;
}
.mail_sender {
    display: table-cell;
    width: 100px;
}
a.mail_link {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}
a.mail_admin_sender {
    color: green;
}
.mail_time {
    display: table-cell;
    text-align: center;
    min-width: 150px;
    max-width: 150px;
}
.mail_subject {
    display: table-cell;
    word-break: break-word;
    width: 65%;
    max-width: 500px;
    padding-left: 10px;
    font-weight: 700;
    text-decoration: none;
}
.mail_subject a {
    color: #000;
}
.mail_subject .read {
    color: gray;
    font-weight: 400;
}
@media screen and (max-width: 600px) {
    .mail_sender {
    display: inline-block;
    width: 100%}
.mail_time {
    display: inline-block;
    width: 100%}
.mail_subject {
    display: inline-block;
    width: 100%}
}.edit_img_preview {
    max-width: 300px;
}
#search_block {
    display: block;
    width: 130px;
    text-decoration: none;
    color: #000;
    height: 50px;
    line-height: 50px;
    margin: auto;
    margin-top: 10px;
    background: url(system-search.png);
    background-repeat: no-repeat;
    background-size: auto 50px;
    text-align: right;
}
a.search_link {
    color: #108c2e;
    text-decoration: none;
}
a.search_link:hover {
    text-decoration: underline;
}
.genre_word {
    display: inline-block;
    margin: 3px;
    padding: 5px;
    border-radius: 3px;
    background: #ceceff;
}
.image_in_story {
    display: block;
    margin: auto;
}
.center_block {
    display: block;
    margin: auto;
    text-align: center;
}
.uploader {
    margin-bottom: 10px;
}
.valign-top {
    vertical-align: top;
}
ol li {
    margin-top: 5px;
    font-weight: 700;
}
ol li span {
    font-weight: 400;
}
.adult_ntf {
    position: absolute;
    font-weight: 700;
    color: #fff;
    text-shadow: -2px -2px 5px #ff0000, 2px -2px 5px #ff0000, -2px 2px 5px #ff0000, 2px 2px 5px red;
}
.loginElement {
    width: 100%;
    max-width: 180px;
}
.fb-plugin {
    position: absolute;
    margin-left: 200px;
}
.content_title_block {
    margin-bottom: 20px;
    padding: 10px;
    background: #efefef;
}
.ctb-left {
    display: inline-block;
    width: 250px;
    text-align: left;
    vertical-align: top;
    border-right: 2px solid gray;
}
.ctb-right {
    word-wrap:  break-word;
    display: inline-block;
    width: 70%;
    min-width: 250px;
    text-align: left;
    vertical-align: top;
    padding-left: 10px;
}
@media screen and (max-width: 977px) {
    .ctb-right {
    width: 60%}
}@media screen and (max-width: 754px) {
    .ctb-right {
    width: 50%}
}.no-padding {
    padding: 0;
    margin: 0;
}

    #panel form input[type=submit] {
        padding-left: 8px;
        padding-right: 8px;
    }
    
input[type=submit], .button, .user_menu {
    -moz-box-shadow: inset 0 1px 0 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 0 #fff;
    box-shadow: inset 0 1px 0 0 #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color: #ededed;
    border-radius: 3px;
    text-indent: 0;
    border: 1px solid #dcdcdc;
    display: inline-block;
    color: #353535;
    font-family: arial;
    font-size: 14px;
    font-style: normal;
    padding: 3px;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    margin: 5px;
    border: 1px solid gray;
}
input[type=submit]:hover, .button:hover, .user_menu:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
    background: -moz-linear-gradient(center top, #dfdfdf 5%, #ededed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color: #dfdfdf;
    border: 1px solid #000;
}
input[type=submit]:active, .button:active, .user_menu:active {
    position: relative;
    top: 1px;
}
input[type=text], input[type=password], textarea:not([class]) {
    border: 1px solid #c4c4c4;
    font-size: 14px;
    padding: 5px;
    /*
    border: 1px solid #c4c4c4;
    font-size: 13px;
    padding: 4px;
    border-radius: 2px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0 0 8px #d9d9d9;
    -moz-box-shadow: 0 0 8px #d9d9d9;
    -webkit-box-shadow: 0 0 8px #d9d9d9;
    */
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
    outline: none;
    border: 1px solid #7bc1f7;
    box-shadow: 0 0 8px #7bc1f7;
    -moz-box-shadow: 0 0 8px #7bc1f7;
    -webkit-box-shadow: 0 0 8px #7bc1f7;
}
select {
    padding: 3px;
    border: 1px solid #9F9F9F;
    margin: 0;
    border-radius: 4px;
    background: #f8f8f8;
    color: #000;
    cursor: pointer;
}
.form_block_x {
    display: table-row;
    vertical-align: top;
    text-align: right;
    width: 100%}
.form_block_y {
    display: table-cell;
    padding-right: 5px;
    padding-top: 5px;
}
.form_block_y .left, .form_block_x .left {
    text-align: left;
}
.vmiddle {
    vertical-align: middle;
}
.login_errMsg {
    padding: 3px;
    background: #fff;
    border-radius: 3px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
    background: -moz-linear-gradient(center top, #dfdfdf 5%, #ededed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color: #dfdfdf;
    border: 1px solid #000;
}
.form_add_genres {
    margin-left: 10px;
}
.story_edit_note {
    width: 100%;
    max-width: 600px;
    height: 150px;
}
.animeczsk_avatar {
    position: absolute;
    max-width: 180px;
    bottom: 0;
}
.right {
    text-align: right;
}
.user_menu {
    display: inline-block;
    margin: 0;
    margin-top: 2px;
    width: 45%;
    text-decoration: none;
}
.user_menu_section {
    margin-top: 15px;
}
#info_about_user {
    width: 100%;
    max-width: 500px;
    height: 200px;
}
.panelfont {
    color: #fff;
    text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;
}
.panelfont a, a.panelfont {
    color: #0ff;
    text-decoration: none;
}
.inline-block {
    display: inline-block;
}
#footer a {
    color: #108c2e;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}
.fmenu a {
    padding-left: 5px;
    padding-right: 5px;
}
.copyright {
    vertical-align: top;
    text-align: center;
}
.stats {
    position: absolute;
    right: 0;
    margin-top: -130px;
}
.yt-iframe {
    border: 0;
    height: 650px;
    width: 100%}
.list {
    text-align: center;
}
.profileTitle {
    font-size: 60px;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: 100;
}
.profileInfo {
    margin: 0;
    padding-left: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.profileColumn h3.info {
    margin: 0;
    padding: 0;
}
.profileImageColumn {
    width: 300px;
}
.profileImageColumn img {
    width: 300px;
}
.profileTable {
    display: table;
}
.profileColumn {
    display: table-cell;
    vertical-align: top;
    padding: 5px;
    box-sizing:  border-box;
}
.bb-anketa {
    display: none;
    position: absolute;
}
@media screen and (max-width: 1525px) {
    .bb-anketa {
    display: none;
}
}@media screen and (max-width: 1136px) {
    #header h1 {
    font-size: 40px;
    width: 550px;
}
}@media screen and (max-width: 860px) {
    .submenu a {
    display: block;
}
}@media screen and (max-width: 1000px) {
    #header {
    height: 300px;
}
#header h1 {
    margin-left: 0;
}
#panel {
    margin-top: 0;
}
.fb-plugin {
    margin-left: 20px;
}
.submenu {
    margin-top: 50px;
    margin-left: 20px;
}
}@media screen and (max-width: 830px) {
    #panel {
    position: relative;
    float: right;
    margin-top: 0px;
}
}@media screen and (max-width: 650px) {
    #search_block {
    margin: auto;
    margin-top: 10px;
}
#content {
    margin-top: 70px;
}
.ctb-left {
    width: 100%;
    border-right: 0;
    border-bottom: 2px solid gray;
    text-align: center;
    padding-bottom: 10px;
}
.favorite {
    margin: auto;
}
.ctb-right {
    width: 100%;
    padding-top: 10px;
    padding-left: 0;
}
}
@media screen and (max-width: 720px) {
    .chat-room-floating, .chat-room-hidden {
        display: none !important;
    }
    .aoty {
        display: none;
    }
    .submenu {
        display: none;
    }
    .loginElement {
        max-width: 100%
    }
    #header h1 {
        font-size: 25px;
        margin-left: -10px;
        width: 90%}
    #header {
        height: 450px;
    }
    #navigation {
        position: relative;
        margin-top: 0;
        height: auto;
    }
    #navigation a {
        display: block;
        margin: auto;
        width: 94%;
        padding-right: 0;
        border-top: 1px solid blue;
    }
    a.user_menu {
        width: 90%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #logout_btn {
        max-width: 200px;
    }
    #panel form input {
        width: 100%;
        box-sizing: border-box;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .stats {
        display: none;
    }
    .fb-plugin {
        display: none;
    }
    .profileTable {
        display: block;
        margin: auto;
    }
    .profileColumn {
        display: block;
        margin: auto;
        margin-top: 30px;
    }
    .profileImageColumn {
        width: 90%}
        
    #panel
    {
        display: none;
        position: fixed;
        z-index: 5000;
        margin-top: 0px;
        height: 350px;
        background: #609eff;
        padding: 10px;
        box-sizing: border-box;
        border: 2px solid black;
    }
    
    #header
    {
        height: 20px;
        background: none;
        text-align: center;
    }
    
    h1 {
        margin-top: 50px !important;
    }
    
    .animeczsk_avatar {
        display: none;
    }
    
    #navigation
    {
        display: none;
        position: fixed;
        width: 200px;
        top: 40px;
        z-index: 5000;
        border: 2px solid black;
    }
    
    #responsive-menu
    {
        position: fixed;
        background: #609eff;
        display: block;
        width: 100%;
        height: 40px;
        top: 0;
        z-index: 5001;
    }
    #responsive-menu a.leftmenu
    {
        display: block;
        cursor: pointer;
        position: absolute;
        left: 10px;
        width: 40px;
        height: 30px;
        top: 5px;
        
        background: url('icon-menu.png');
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    #responsive-menu a.rightmenu
    {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 10px;
        width: 40px;
        height: 30px;
        top: 5px;
        
        background: url('icon-menu.png');
        background-repeat: no-repeat;
        background-size: cover;
    }
    
}@media screen and (max-width: 451px) {
    .animeczsk_avatar {
    display: none;
}
#panel {
    float: none;
    margin: auto;
    margin-top: 40px;
}
.submenu {
    display: none;
}
}.chat-room-floating {
    box-shadow: 0 0 10px gray;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: fixed;
    bottom: 0;
    width: 300px;
    height: 500px;
    right: 10px;
    background: #fff;
    z-index: 500;
}
.chat-room-hidden {
    box-shadow: 0 0 10px gray;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: fixed;
    bottom: 0;
    width: 300px;
    height: 30px;
    right: 10px;
    background: #fff;
    z-index: 500;
}
.chat-room-hide, .chat-room-show {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    background: #609eff;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}
.chat-room-hide:hover, .chat-room-show:hover {
    background: #303eff;
}
p.userinfo {
    white-space: pre-wrap;
    font-family: monospace;
    word-wrap: break-word;
    font-size: 14px;
    margin: 0;
}
a.nocat {
    background: #60cc9e!important;
}
a.competition {
    background: #ECC52B!important;
}
a.kawaiilink {
    color: #609eff;
    text-decoration: none;
}
a.kawaiilink:hover {
    color: #000;
}
h3.noheading {
    margin: 0;
    display: initial;
}
.cpb {
    display: inline-block;
    margin: 2px;
    border-radius: 5px;
    padding: 5px;
    background: #609eff;
    color: #fff;
    text-decoration: none;
}
.cpbg {
    display: inline-block;
    margin: 2px;
    border-radius: 5px;
    padding: 5px;
    background: #40cc7e;
    color: #fff;
    text-decoration: none;
}
.cpba {
    display: inline-block;
    margin: 2px;
    border-radius: 5px;
    padding: 5px;
    background: red;
    color: #fff;
    text-decoration: none;
}
.minifont {
    font-size: 12px;
}
#viewGenreFilter {
    cursor: pointer;
    max-width: 200px;
}
.today-b{
	position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: #ffff00;
    width: 50px;
    color: #000;
    padding: 5px;
}
.t-b {border: 2px solid #ffff00;}
a.page-link, a.page-link-arrow
{    
    color: #000;
    display: inline-block;
    padding: 5px;
    border: 1px solid black;
    border-radius: 20px;
    width: 20px;
    text-decoration: none;
    height: 20px;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 5px;
    line-height: 20px;
}
a.page-link.p-active, a.page-link:hover, a.page-link-arrow:hover
{
    color: #fff;
	background: #609eff;
}

.ad {
    display: none;
}

@media screen and (min-width: 1900px)
{
    .ad {
        display: block;
        position: absolute;
        left: 40px;
        top: 250px;
    }
}

.flash_message {
    display: block;
    padding: 5px;
    box-sizing: border-box;
    background: green;
    color: #fff;
    font-size: 18px;
    padding-left: 15px;
    margin-bottom: 5px;
}



        .aoty {
            width: 100%;
            max-width: 1000px;
            height: 245px;
            position: relative;
            text-align: center;
            background: url("aoty-bg.jpg");
        }
        .aoty-title {
            padding-top: 5px;
            font-size: 25px;
            font-weight: bold;
            color: #92a5f7;
            text-shadow: 1px 1px 1px #000;
        }
        .aoty-first {
            position: absolute;
            width: 150px;
            margin-top: 10px;
            margin-left: auto;
            margin-right: auto;
            left: 0;
            right: 0;
        }
        .aoty-second {
            position: absolute;
            width: 130px;
            margin-top: 30px;
            left: 20%;
        }
        .aoty-third {
            position: absolute;
            width: 130px;
            margin-top: 30px;
            right: 20%;
        }
        .aoty-first .aoty-img {
            box-shadow: 0px 0px 20px #FFD100;
            width: 150px;
            height: 150px;
            border-radius: 50%; 
        }
        .aoty-second .aoty-img, .aoty-third .aoty-img {
            box-shadow: 0px 0px 20px #868686;
            width: 130px;
            height: 130px;
            border-radius: 50%; 
        }
        .aoty-author {
            margin-top: 5px;
            font-weight: bold;
        }
        .aoty-author a {
            color: #000;
            text-decoration: none;
        }
        .aoty-h {
            font-weight: normal;
        }
        
        
.folder-user {
    display: inline-block;
    border: 1px solid black;
    padding: 5px;
    margin: 5px;
}