html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    word-break: break-word;
}

body {
    background-image: url(../imgs/bg.gif);
    font-family: Arial;
    font-size: 14px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table td {
    font-size: 14px;
}

table td a {
    color: #AC0E0D;
}

table td a:hover {
    text-decoration: underline !important;
}

h1 {
    font-size: 19px;
    font-weight: bold;
    margin:20px 0;
}

h2 {
    font-size: 16px;
    font-weight: bold;
}

.enter_form td {
    padding:5px;
}

.nobr {
    white-space: nowrap;
    overflow: hidden;
}

tr.baseline {
    vertical-align: bottom;
}

table.main_container {
    padding: 0;
    width: 94%;
    height: 100%;
    margin: 5px 0px 0px 0px;
}

table.main_container td.in_top {
    text-align: right;
    color: Red;
    height: 78px;
}

table.main_container td.in_top img {
    margin: 0;
    padding: 0;
}

table.main_container td.in_top td {
    vertical-align: bottom;
}

table.main_container td.in_top span {
    float: right;
    padding: 0px 5px 0px 0px;
    white-space: nowrap;
}

table.main_container td.in_top span a {
    text-decoration: none;
    color: #AC0E0D;
    text-transform: uppercase;
    font-size: 12px;
}

table.main_container tr.wb td {
    background-color: White;
}

table.main_container td.top_menu {
    vertical-align: bottom;
    text-align: right;
    font-size: 12px;
}

table.main_container td.top_menu span {
    vertical-align: bottom;
    bottom: 0px;
    white-space: nowrap;
    padding: 0;
    overflow: hidden;
    margin: 10px 5px 0px;
    display: block;
}

table.main_container td.top_menu span a {
    text-decoration: none;
    color: #AC0E0D;
    text-transform: uppercase;
    font-size: 12px;
}

table.main_container td.top_text {
    padding: 5px 10px 5px;
    font-size: 12px;
    line-height: 14px;
    height: 14px;
}

table.main_container td.top_text div.sub_menu {
    visibility: hidden;
    display: none;
}

table.main_container td.top_text div.sub_menu a {
    text-decoration: none;
}

table.main_container tr.top_fanf td {
    /*padding: 5px;*/
    height: 100%;
    vertical-align: top;
}

.main_page {
    display: flex;
    flex-direction: row;
}

.main_page > div:first-child {
    flex-grow: 1;
}

.search_container {
    min-width:240px;
    width:240px;
}

.search_form_hide, .search_form_show {
    box-sizing: border-box;
    width:100%;
    padding:10px;
    margin-bottom:10px;
    cursor: pointer;
    display: none;
    border:1px dashed #AC0E0D;
    color: #AC0E0D;
}

.search_form select {
    width:100%;
}

table.main_container tr.top_info td {
    padding: 0;
    margin: 0;
    height: 100%;
    vertical-align: top;
}

.FicTable {
    display: flex;
    flex-direction: row;
    margin:20px 0;
    line-height: 150%;
}

.FicTable div:first-child {
    min-width:25px;
    text-align: right;
}

.fichead {
    line-height: 150%;
}

.fichead_chapters, .ficbottom_chapters {
    padding: 10px;
    text-align: right;
    white-space: nowrap;
}

.FicNew {
    box-sizing: border-box;
    width:100%;
    max-width: 800px;
}
.FicNew td {
    padding:10px;
}

.FicNew textarea, .FicNew input[type=text], .FicNew select, .FicNew table {
    box-sizing: border-box;
    width:100%;
}

.Center {
    text-align: center;
}

.CenteredContent {
    margin: 0 auto;
    box-sizing: border-box;
    width:100%;
    max-width: 800px;
    text-align: left;
}

tr.top_fanf center {
    padding: 5px;
}

td.ps {
    height: 2px;
}

.ps_1 {
    border-right: 2px solid #DEDEDE;
    border-left: 2px solid #DEDEDE;
    font-size: 1px !important;
    height: 1px;
    overflow: hidden;
}

.ps_2 {
    border-right: 1px solid #DEDEDE;
    border-left: 1px solid #DEDEDE;
    font-size: 1px !important;
    height: 1px;
    overflow: hidden;
}

.ps_down {
    vertical-align: bottom;
    bottom: 0px;
    position: relative;
}

.clear_small {
    clear: both;
    display: block;
    font-size: 0 !important;
    height: 3px;
    overflow: hidden;
    width: 100%;
}

tr.fdom td {
    vertical-align: middle;
    text-align: center;
    height: 87px;
    width: 14%;
    background-repeat: repeat-x;
    color: White;
}

tr.fdom td a {
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

td.fd_hp {
    border: 1px solid #CB1718;
    background-image: url(/mfanf/imgs/red.jpg);
}

td.fd_hp a {
    color: White !important;
}

td.fd_ob {
    border: 1px solid #D96800;
    background-image: url(/mfanf/imgs/orange.jpg);
}

td.fd_ob a {
    color: White !important;
}

td.fd_fm {
    border: 1px solid #D6A500;
    background-image: url(/mfanf/imgs/yellow.jpg);
    color: #804800 !important;
}

td.fd_fm a {
    color: #804800 !important;
}

td.fd_sr {
    border: 1px solid #91BD41;
    background-image: url(/mfanf/imgs/green.jpg);
    color: #177B32 !important;
}

td.fd_sr {
    color: #177B32 !important;
}

td.fd_am {
    border: 1px solid #5973C8;
    background-image: url(/mfanf/imgs/blue.jpg);
    color: #022056 !important;
}

td.fd_am a {
    color: #022056 !important;
}

td.fd_or {
    border: 1px solid #631DB1;
    background-image: url(/mfanf/imgs/violet.jpg);
    color: #2A003D !important;
}

td.fd_or a {
    color: #2A003D !important;
}

td.fd_gm {
    border: 1px solid #9d2379;
    background-image: url(/mfanf/imgs/fdgames.jpg);
    color: #ffffff !important;
}

td.fd_gm a {
    color: #ffffff !important;
}

td.td_10 {
    width: 10px;
    font-size: 0px !important;
}

td.td_10 img {
    padding: 0;
    margin: 0;
}

td.rclm_td {
    width: 240px;
    vertical-align: top;
}

table.top_tbl {
    background: transparent url(/mfanf/imgs/logo.png) no-repeat scroll bottom left;
}

table.top_tbl td {
    text-align: center !important;
    vertical-align: top !important;
}

div.top_menu {
    float: left;
    text-align: center;
    clear: right;
    margin: 10px 10px 0px 0px;
    padding: 0px 0px 2px 0px;
    display: inline;
    width: 100px;
}

div.top_menu a, div.top_menu a:hover {
    text-decoration: none !important;
    font-weight: bold;
}

table.top_info td {
    width: 25%;
    background-color: #F0F0F0 !important;
    color: #727272 !important;
}

table.top_info td div {
    border-color: White;
}

table.top_info div.top_info {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

table.top_info div.info_cnt {
    clear: both;
    padding: 5px;
}

h7 {
    color: #0077A3;
    font-size: 14px;
    font-weight: bold;
}

ul.fwarnings {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

ul.fwarnings li {
    margin: 5px 0;
}

td.login_form {
    width: 25%;
    border-left-color: #717171;
    border-left-style: dashed;
    border-left-width: 1px;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

td.login_form input {
    margin: 0px 0px 5px 0px;
    width: 180px;
    font-size: 12px;
}

td.login_form a {
    text-decoration: none;
    color: #AC0E0D;
}

td.login_form table {
    margin: 5px 0px 0px 0px;
}

td.login_form table td {
    padding-left: 5px;
}

td.main_search {
    padding: 3px 5px 3px 5px;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
}

td.main_search div {
    width: 580px;
    white-space: nowrap;
}

td.main_search input, form.top_info input {
    margin: 0px 0px 5px 0px;
}

td.main_search select, form.top_info select {
    margin: 0px 0px 5px 0px;
}

td.main_search li div {
    width: 180px;
}

td.main_search li div input, form.top_info div input {
    font-size: 12px;
    height: 15px;
    width: 15px;
    padding: 0;
    margin: 0px 5px 2px 0px;
}

td.main_search li {
    margin-right: 10px;
}

td.main_search li div, form.top_info div {
    text-align: left;
    line-height: 18px;
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
}

tr.main_info td {
    width: 25%;
    padding: 5px 5px 5px 5px;
    vertical-align: top;
}

tr.main_info td.nxt {
    border-left-color: #717171;
    border-left-style: dashed;
    border-left-width: 1px;
}

tr.main_info li div {
    width: 130px;
    height: 70px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

tr.main_info li div img {
    vertical-align: middle;
}

td.news_td {
    border: 1px solid #BCBCBC;
    vertical-align: top;
    text-align: left;
    background-color: White;
    width: 100%;
    padding: 5px;
}

td.news_td ul {
    margin-top: 10px;
    margin-left: 5px;
}

td.news_td li {
    float: none;
    width: 100%;
    overflow: hidden;
    margin-bottom: 5px;
}

td.news_td div.news_header {
    font-weight: bold;
    color: #970C09;
    vertical-align: bottom;
    line-height: 16px;
}

td.news_td li img {
    float: left;
    padding: 0;
    margin-right: 10px;
}

td.news_td div.news_header span {
    font-weight: normal;
    color: #717171;
}

td.news_td div.news_border {
    border-top-color: #717171;
    border-top-style: dashed;
    border-top-width: 1px;
    height: 10px;
}

td.news_td div.text {
    margin-top: 5px;
    margin-left: 5px;
}

td.news_td div.text img {
    float: left;
    padding: 5px;
}

td.news_td div.pages {
    width: 100%;
    text-align: right;
}

td.news_td div.pages span {
    margin-right: 10px;
    font-weight: bold;
}

td.news_td div.pages span a {
    color: #717171 !important;
    font-weight: normal;
    text-decoration: none;
}

td.news_td div.text {
    padding: 5px 5px 5px 10px;
    text-align: left;
}

p.go_back {
    width: 100%;
    display: block;
}

.chap_text {
    font-size: 15px;
}

div.subscription {
    float: left;
    margin-right: 15px;
}

div.row {
    width: 100%;
    clear: both;
    float: none;
}

#fckToolBar iframe {
    height: 30px !important;
}

div.commSbmFl {
    text-align: center;
    width: 700px;
}

div.commSbmFl input {
    font-size: 12px;
    line-height: 20px;
}

.small_light {
    font-size: 12px;
    color:#777;
}

.CommentTable {
    margin-top:30px;
}

.CommentAnswer {
    margin:10px 0 0 30px;
}

.CommentAnswer textarea {
    box-sizing: border-box;
    width: 100%;
    height: 100px;
}

.CommentAnswerText {
    color:#800000;
}

.normal_link {
    color: #AC0E0D;
    cursor: pointer;
}

.normal_link:hover {
    text-decoration: underline;
}

.chap_view {
    padding:10px;
    text-align: right;
    vertical-align: middle !important;
}

.chap_view div {
    float: right;
}

td.chap_view div.txt {
    line-height: 36px;
}

div.chap_fontsize a, div.chap_fontsize a:link, div.chap_fontsize a:hover, div.chap_fontsize a:visited {
    border: thin solid Black;
    padding: 3px;
    width: auto;
    text-align: center;
    text-decoration: none !important;
    color: #333333;
    cursor: pointer;
}

div.chap_fontsize a.cur {
    color: white;
    background-color: #333333;
}

div.hr {
    border-bottom: 1px solid #333333;
    margin: 5px 0px 6px 0px;
    width: 100%;
    height: 1px;
    float: none;
    clear: both;
}

ul.img_gall {
    margin: 0px;
    padding: 0px;
}

ul.img_gall li {
    float: left;
    list-style-type: none;
    vertical-align: middle;
    width: auto;
}

table.img_gall {
    height: 160px;
    width: 160px;
    margin: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    float: none;
}

table.img_gall tr {
    margin: 0px;
    padding: 0px;
}

table.img_gall td {
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
}

table.img_gall img {
    float: none;
    margin: 0px;
    padding: 3px;
    vertical-align: middle;
    clear: both;
}

div.klinks {
    display: none;
    visibility: hidden;
}

.RegForm {
    margin: 0 auto;
}

.RegForm td {
    padding:5px;
}

@media screen and (max-width: 800px) {
    .main_page {
        flex-direction: column-reverse;
    }

    .search_container {
        width: 100%;
    }
    .search_form {
        display: none;
    }
    .search_form_show {
        display: block;
    }
}

@media screen and (max-width: 460px) {
    table.main_container {
        width: 100%;
    }

    .fichead, .fichead_chapters {
        display: block;
    }

    .FicNew td {
        box-sizing: border-box;
        display: block;
        width: 100%;
        padding:10px 0;
    }

    .FicNew tr td:first-child {
        padding-bottom:0;
    }
}