/* Genesis - text logo in a conventional serif (replaces the GnuBoard logo image) */
#logo a.dk-logo {
    display: inline-block;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 2px;
    color: #7a0c0c;
    text-decoration: none;
    text-shadow: 1px 1px 0 #d4af37, 2px 3px 5px rgba(0, 0, 0, .3);
    transition: color .2s, text-shadow .2s;
}
#logo a.dk-logo:hover,
#logo a.dk-logo:focus {
    color: #a3121b;
    text-shadow: 1px 1px 0 #f0cf60, 0 0 10px rgba(212, 175, 55, .5);
}
#logo { padding-top: 26px; }
@media (max-width: 768px) {
    #logo { padding: 8px 10px; height: auto; }
    #logo a.dk-logo { font-size: 30px; letter-spacing: 1px; }
}

/* --- ported from the old forum --- */
/* author menu: no e-mail / website / profile links */
.sv a[href*="formmail.php"], .sv a[href*="/profile.php"], .sv a[target="_blank"][href^="http"] { display: none !important; }
/* author names in bold */
.sv_member, .sv_guest { font-weight: bold; }
/* no "hot" icon in lists */
#bo_list .bo_tit .fa-heart, #bo_gall .bo_tit .fa-heart { display: none; }
/* top bar */
#tnb .dk_site_link { float: left; line-height: 45px; margin-left: 10px; font-weight: bold; color: #ff8989; }
#tnb .dk_memo_new { color: #d00; font-weight: bold; }
.dk_lt_pad { list-style: none; }

/* trading rules box */
.dk_rules { margin: 10px 0 15px; padding: 10px 14px; border: 2px solid #f00; background: #fff; font-size: 15px; line-height: 1.6; }
.dk_rules p { margin: 0; }
/* author masking / verified badge / blind */
.dk_masked { letter-spacing: 1px; color: #777; }
.dk_badge { font-weight: bold; white-space: nowrap; }
.dk_blind_tag { color: #d00; font-weight: bold; }
.dk_blind_msg { color: #888; }
.dk_unknown { font-style: italic; color: #888; }
/* support (Genesis Assist) */
.dk_assist { margin: 0 0 15px; padding: 12px 14px; border: 1px solid #ddd; background: #fafafa; line-height: 1.7; }
.dk_assist .btn { margin: 0 6px 8px 0; }
.dk_canned { margin: 10px 0; }
.dk_canned .btn_frmline { margin: 0 4px 6px 0; height: 34px; padding: 0 12px; }
.dk_mail_send { margin-left: 12px; }
.dk_staff_info { color: #7a0c0c; font-size: 12px; }

/* Hebrew (dir=rtl): keep the theme layout, let each text block flow right-to-left */
html[dir="rtl"] body { direction: ltr; }
html[dir="rtl"] p, html[dir="rtl"] li, html[dir="rtl"] td, html[dir="rtl"] th, html[dir="rtl"] label,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] dt, html[dir="rtl"] dd,
html[dir="rtl"] .bo_tit, html[dir="rtl"] .frm_info, html[dir="rtl"] .dk_rules, html[dir="rtl"] .empty_li,
html[dir="rtl"] input[type="text"], html[dir="rtl"] textarea, html[dir="rtl"] select, html[dir="rtl"] button {
    unicode-bidi: plaintext; text-align: start;
}
html[dir="rtl"] #dk_lang { direction: ltr; }

.dk_blind_box { margin: 10px 0; padding: 10px 14px; border: 1px dashed #d00; background: #fff6f6; }
.dk_blind_box .btn { margin-left: 8px; }
/* dk-mobile-fixes: narrow screens */
@media (max-width: 768px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    /* popup layers must fit the screen */
    .hd_pops { left: 2.5vw !important; top: 10px !important; max-width: 95vw !important; }
    .hd_pops_con { width: auto !important; height: auto !important; max-height: 70vh; overflow: auto; }
    .hd_pops img, .hd_pops table, .hd_pops iframe { max-width: 100% !important; height: auto !important; }
    /* buttons: grow with their (translated) text instead of overflowing */
    .btn, .btn_b01, .btn_b02, .btn_b03, .btn_admin, .btn_submit, .btn_cancel, .btn_close, .btn_frmline,
    .btn_bo_user a, .bo_fx a, .win_btn a, .win_btn button, button, input[type="submit"], input[type="button"] {
        white-space: normal !important; height: auto !important; min-height: 32px; line-height: 1.3 !important;
        padding-top: 6px !important; padding-bottom: 6px !important; max-width: 100%; word-break: keep-all; overflow-wrap: anywhere;
    }
    .btn_submit, .btn_cancel, .btn_frmline, .btn_b01, .btn_b02 { width: auto !important; }
    .dk_rules { font-size: 13px; }
}

/* SEO introduction on the home page */
.dk_seo_intro { max-width: 1200px; margin: 25px auto 10px; padding: 0 15px; color: #555; font-size: 13px; line-height: 1.6; clear: both; }
.dk_seo_intro h2 { font-size: 15px; color: #7a0c0c; margin: 0 0 4px; }
