/* DDW clone (deepdotweb.net) — Sahifa-era look, rules distilled from the
   captured 2018 theme (style.css + page custom overrides). */

body {
    background: #FFF url(/assets/body-bg7.png);
    color: #333;
    font-family: 'Droid Sans', Arial, Verdana, sans-serif;
    font-size: 13px;
    margin: 0;
}
a { color: #444; text-decoration: none; transition: all ease-in-out .2s; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; border: 0; }
.clear { clear: both; }
.container { width: 1045px; margin: 0 auto; }
.content { float: left; width: 660px; }
#sidebar { float: right; width: 310px; }
#main-content { margin: 15px auto 0; overflow: hidden; }

/* ---------- top bar ---------- */
.top-nav {
    background: #fbfbfb;
    border-top: 3px solid #ef3636;
    border-bottom: 1px solid #ececec;
    height: 30px;
}
.top-nav ul { list-style: none; margin: 0; padding: 0; float: left; }
.top-nav ul li { float: left; line-height: 30px; margin-right: 15px; font-size: 11px; }
.top-nav a { color: #666; }
.top-nav a:hover { color: #ef3636; }
.top-nav .today { color: #ef3636; font-weight: bold; }

/* ---------- header ---------- */
header#theme-header {
    background: #FFF;
    margin: 20px auto 25px;
    position: relative;
    width: 1045px;
    box-shadow: inset 0 0 2px #fff, 0 0 5px #cacaca;
}
.header-content { padding: 20px 15px; }
.header-content .logo { float: left; }
.header-content .logo h1 { margin: 0; font: bold 32pt arial; }
.header-content .logo img { display: block; }
.header-content .logo strong { display: block; font: normal 11px 'Droid Sans', Arial, sans-serif; color: #888; margin-top: 4px; }
.ads-top { float: right; max-width: 480px; text-align: center; }
.ads-top img { display: inline-block; vertical-align: middle; }

/* ---------- main nav ---------- */
#main-nav {
    margin: 0 auto;
    background: url(/assets/main-menu-bg.png) repeat-x top;
    min-height: 52px;
    border-bottom: 5px solid #ef3636;
    position: relative;
}
#main-nav .container { position: relative; }
#main-nav ul { list-style: none; margin: 0; padding: 0; float: left; }
#main-nav ul li {
    font-size: 13px;
    position: relative;
    display: inline-block;
    float: left;
    border-width: 0 0 0 1px;
    border-left: 1px solid #222;
    height: 47px;
    margin-top: 5px;
}
#main-nav ul li:first-child { border: 0 none; }
#main-nav ul li a {
    display: inline-block;
    height: 47px;
    position: relative;
    line-height: 47px;
    color: #ddd;
    padding: 0 10px;
    text-shadow: 0 1px 1px rgba(0,0,0,.6);
    border-left: 1px solid #383838;
}
#main-nav ul li:hover > a,
#main-nav ul li.current-menu-item a {
    background: #ef3636;
    color: #FFF;
    height: 52px;
    line-height: 52px;
    margin-top: 0;
    border-left: 0 none;
    padding: 0 11px;
}
#main-nav .search-block {
    height: 30px;
    overflow: hidden;
    float: right;
    margin: 11px 0;
    position: relative;
}
#main-nav .search-block:after {
    content: " ";
    display: block;
    width: 0; height: 0;
    position: absolute; top: 10px; right: 30px; z-index: 2;
    border: 4px solid transparent;
    border-right-color: #ef3636;
}
#main-nav .search-block input#s {
    background: #FFF;
    float: right;
    font: normal 11px tahoma;
    padding: 9px 12px 8px;
    width: 150px;
    color: #C5C5C5;
    border: 0 none;
    border-left: 1px solid #ececec;
    transition: width .7s, color .4s;
}
#main-nav .search-block input#s:focus { color: #000; width: 190px; }
#main-nav .search-block .search-button {
    background: #ef3636 !important;
    cursor: pointer;
    float: right;
    height: 30px;
    width: 30px;
    display: block;
    border: 0 none;
    border-radius: 0;
    color: #fff;
    font-size: 15px;
    padding: 0;
}

/* ---------- category boxes (Featured / News Updates) ---------- */
section.cat-box { clear: both; margin-bottom: 25px; }
.cat-box-title { padding: 3px 0; overflow: hidden; }
.cat-box-title h2 {
    color: #5E5E5E;
    float: left;
    margin: 0 10px 0 0;
    font-size: 22px;
    font-family: BebasNeueRegular, arial, Georgia, serif;
    font-weight: normal;
    letter-spacing: 1px;
}
.cat-box-title h2 a { color: #5E5E5E; }
.cat-box-title h2 a:hover { color: #000; }
.stripe-line {
    background: url(/assets/stripe.png);
    height: 12px;
    overflow: hidden;
    margin-top: 5px;
}
.cat-box-content {
    background: white;
    border-radius: 1px;
    box-shadow: 0 1px 3px 0 #b5b5b5;
    border: 1px solid #DDD;
    border-bottom: 4px solid #ef3636;
}
.cat-box-content ul { list-style: none; margin: 0; padding: 0; background: #f7f7f7; overflow: hidden; }

/* wide-box: big first item + small items in two columns */
.wide-box li {
    background: #f7f7f7;
    overflow: hidden;
    padding: 10px 20px;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #eaeaea;
    transition: all .4s;
    width: 335px;
    float: left;
    height: 61px;
}
.wide-box li:hover { background: #fff; }
.wide-box li.first-news {
    border-bottom: 3px solid #eaeaea;
    background: #FFF;
    padding: 0;
    width: 100%;
    float: none;
    height: auto;
}
.wide-box li.first-news .post-thumbnail { width: 240px; float: left; }
.wide-box li.first-news .post-thumbnail img { width: 240px; height: 160px; object-fit: cover; display: block; }
.wide-box li.first-news .inner-content { padding: 20px; overflow: hidden; }
.wide-box li.first-news .sub-title {
    color: #aaa;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.wide-box li.first-news .sub-title a { color: #ef3636; }
.post-box-title { margin: 0 0 6px; font-size: 20px; line-height: 1.2; font-weight: bold; }
.post-box-title a { color: #333; }
.post-box-title a:hover { color: #ef3636; }
.small-post-title { font-size: 13px; font-weight: bold; line-height: 1.35; margin: 0; }
.small-post-title a { color: #333; }
.small-post-title a:hover { color: #ef3636; }
p.post-meta { color: #aaa; margin: 7px 0; font-size: 85%; }
p.post-meta a { color: #aaa; }
p.post-meta a:hover { border-bottom: 1px #000 dotted; color: #000; text-decoration: none; }
p.post-meta span { display: inline-block; margin-right: 10px; }
.wide-box li.first-news .entry { font-size: 12px; line-height: 1.5; }
a.more-link { font-weight: bold; color: #ef3636; }
a.more-link:hover { color: #000; }

/* 2-column boxes (News Updates) */
.column2 li {
    background: #f7f7f7;
    overflow: hidden;
    padding: 10px;
    width: 329px;
    float: left;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #eaeaea;
    transition: all .4s;
}
.column2 li:hover { background: #fff; }
.column2 li.first-news { width: 100%; float: none; border-bottom: 3px solid #eaeaea; background: #FFF; padding: 0; }
.column2 li.first-news .post-thumbnail img { width: 240px; height: 160px; object-fit: cover; display: block; }

/* ---------- sidebar ---------- */
.widget { clear: both; margin-bottom: 25px; }
.widget-top { padding: 5px 0; overflow: hidden; }
.widget-top h4 {
    float: left;
    margin: 0 10px 0 0;
    font-size: 20px;
    font-family: BebasNeueRegular, arial, Georgia, serif;
    font-weight: normal;
    color: #333;
    letter-spacing: 1px;
}
.widget-container {
    padding: 10px;
    clear: both;
    background: white;
    border-radius: 1px;
    box-shadow: 0 1px 3px 0 #b5b5b5;
    border: 1px solid #DDD;
    border-bottom: 4px solid #ef3636;
}
.widget-container ul { list-style: none; margin: 0; padding: 0; }
.widget-container li {
    background: url(/assets/sidebar-bullet.png) no-repeat left 8px;
    padding: 0 0 5px 12px;
    line-height: 18px;
    overflow: hidden;
    border-bottom: 1px solid #f2f2f2;
}
.widget-container li:last-child { border-bottom: 0 none; }
.widget-container li span.date { color: #AAA; margin: 5px 0; font-size: 85%; }
.widget-container .post-thumbnail { float: left; margin-right: 10px; }
.widget-container .post-thumbnail img { width: 55px; height: 55px; object-fit: cover; }
.textwidget { text-align: center; }
.textwidget img { margin: 4px auto; }
.textwidget a { display: inline-block; }

/* torlinks uptime widget (custom DDW css captured from the page) */
.torlinks-class ul { list-style: none; }
.torlinks-class a { color: #191919; }
.torlinks-class li {
    border-top: 1px solid white;
    padding: 3px !important;
    color: #191919;
    margin: 0;
    background: url(/assets/sidebar-bullet.png) no-repeat left 8px;
}
.torlinks-class li.ok { background-color: #66cc99; }
.torlinks-class li.bad { background-color: #ff6666; }
.torlinks-class li.ok a, .torlinks-class li.bad a { color: #191919; font-weight: bold; }
.torlinks-class li.pct-none { background-color: #e6e6e6; }
.torlinks-class li.separator {
    font-size: 17px;
    padding: 8px !important;
    text-transform: uppercase;
    font-family: BebasNeueRegular, arial, Georgia, serif;
    background: none;
}

/* ---------- single post ---------- */
.post-listing.post { margin-bottom: 20px; background: white; border-radius: 1px; box-shadow: 0 1px 3px 0 #b5b5b5; border: 1px solid #DDD; border-bottom: 4px solid #ef3636; }
.post-inner { padding: 20px; }
.post-inner p.post-meta { border-bottom: 1px solid #f2f2f2; padding-bottom: 5px; margin-bottom: 10px; }
h1.post-title { font-family: BebasNeueRegular, arial, Georgia, serif; margin: 0 0 10px; font-size: 28px; font-weight: normal; }
.single-post-thumb { margin: 0 0 10px; line-height: 0; }
.single-post-thumb img { width: 100%; height: auto; }
.entry { font-size: 13px; line-height: 1.7; }
.entry p { padding-top: 1em; padding-bottom: 1em; margin: 0; }
.entry h2 { font-size: 24px; font-weight: normal; margin: 25px 0 10px; }
.entry h3 { font-size: 19px; margin: 20px 0 8px; }
.entry a { color: #ef3636; }
.entry a:hover { text-decoration: underline; }
.entry ul, .entry ol { margin: 0 0 25px 10px; }
.entry ul li { list-style: outside disc; margin-left: 12px; }
.entry ol li { list-style: outside decimal; margin-left: 12px; }
.entry img { max-width: 100%; }
blockquote { font-size: 12px; font-style: italic; line-height: 22px; padding: 0 0 0 60px; margin: 0 0 30px 40px; min-height: 60px; }

#crumbs { margin-bottom: 10px; font-size: 85%; color: #999; }
#crumbs a { color: #999; }
.post-navigation { clear: both; margin: 0 0 20px; overflow: hidden; }
.post-navigation div { display: block; width: 245px; position: relative; font-size: 14px; color: #999; }
.post-navigation .alignleft { float: left; }
.post-navigation .alignright { float: right; text-align: right; }
.post-navigation div span { display: block; font-size: 80%; }

/* ---------- markets pages ---------- */
.market-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.market-table th { text-align: left; font-family: BebasNeueRegular, arial, Georgia, serif; font-weight: normal; font-size: 16px; letter-spacing: .5px; color: #666; border-bottom: 2px solid #eaeaea; padding: 8px 6px; }
.market-table td { padding: 8px 6px; border-bottom: 1px solid #f2f2f2; vertical-align: top; }
.market-table tr:hover td { background: #fafafa; }
.status-badge { display: inline-block; padding: 1px 8px; border-radius: 2px; font-weight: bold; font-size: 11px; color: #fff; }
.status-up { background: #2f9e63; }
.status-down { background: #d9534f; }
.status-unknown { background: #999; }
.pct { font-weight: bold; }
.pct-good { color: #2f9e63; }
.pct-mid { color: #d98f00; }
.pct-bad { color: #d9534f; }
.link-url { font-family: monospace; font-size: 11px; word-break: break-all; }
.market-meta { font-size: 12px; color: #777; }
.market-meta strong { color: #444; }

/* ---------- pagination / misc ---------- */
.pagination { margin: 20px 0; overflow: hidden; }
.pagination a, .pagination span { display: inline-block; padding: 4px 10px 6px; margin-right: 3px; background: #fff; border: 1px solid #ddd; color: #444; }
.pagination span.current { color: #FFF; background-color: #ef3636; text-shadow: 0 1px 0 #000; border-color: #ef3636; }

/* ---------- footer ---------- */
footer#theme-footer {
    position: relative;
    color: #ddd;
    background: #333;
    text-shadow: 0 0 1px #000;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    border-top: 8px solid #ef3636;
    margin-top: 20px;
    box-shadow: 0 -8px 0 rgba(0,0,0,.1);
    clear: both;
}
#footer-widget-area { width: 1045px; margin: 0 auto; }
.footer-widgets-box { float: left; margin-right: 4%; width: 30.66666666666667%; }
#footer-third { margin-right: 0; }
.footer-widget-top { border-bottom: 1px solid #222; padding: 10px 0; overflow: hidden; }
.footer-widget-top h4 { font-size: 22px; font-family: BebasNeueRegular, arial, Georgia, serif; font-weight: normal; margin: 0; color: #ddd; letter-spacing: 1px; }
.footer-widget-container { padding: 10px; border-top: 1px solid #444; }
.footer-widget-container ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #444; }
.footer-widget-container li { padding: 6px 12px 6px 0; line-height: 18px; overflow: hidden; border-bottom: 1px solid #232323 !important; border-top: 1px solid #444; }
.footer-widget-container li:first-child { border-top: 0 none; }
.footer-widget-container li span.date { color: #AAA; margin: 5px 0; font-size: 85%; }
.footer-widget-container h3 { margin: 0; font-size: 13px; font-weight: bold; line-height: 1.4; }
.footer-widget-container a { color: #ccc; }
.footer-widget-container a:hover { color: #FFF; }
.footer-bottom { position: relative; background: #2e2e2e; line-height: 35px; border-top: 1px solid #444; color: #ccc; }
.footer-bottom .container { overflow: hidden; }
.footer-bottom .alignleft { float: left; }
.footer-bottom .alignright { float: right; font-size: 11px; }
.footer-bottom img { vertical-align: middle; }
.footer-bottom a { color: #ccc; }
.footer-bottom a:hover { color: #FFF; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .container, header#theme-header, #footer-widget-area, #main-nav { width: auto !important; }
    .container { padding: 0 12px; }
}
@media (max-width: 985px) {
    .content, #sidebar { width: 100%; float: none; }
    .ads-top { float: none; margin: 10px 0; text-align: left; }
    .footer-widgets-box { width: 48% !important; margin-right: 4% !important; }
    #footer-third { margin-right: 0 !important; }
}
@media (max-width: 640px) {
    .footer-widgets-box { width: 100% !important; margin-right: 0 !important; }
    .wide-box li, .column2 li { width: 100%; float: none; }
    .wide-box li.first-news .post-thumbnail { width: 100%; float: none; }
    .wide-box li.first-news .post-thumbnail img { width: 100%; height: auto; }
    #main-nav ul li { display: block; float: none; border-left: 0; }
    #main-nav ul li a { border-left: 0; }
    #main-nav .search-block { float: none; margin: 8px 10px; }
}

/* ---------- missing classes (added 2026-12-01 after class-coverage audit) ---------- */
#main-nav { position: relative; z-index: 999; }
#main-nav .main-menu { background: #2e2e2e url(/assets/main-menu-bg.png) repeat-x top; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
#main-nav .main-menu ul { list-style: none; margin: 0; padding: 0; }
#main-nav .main-menu ul li { float: left; border-right: 1px solid rgba(255,255,255,.08); position: relative; }
#main-nav .main-menu ul li a { display: block; padding: 0 14px; line-height: 42px; color: #eaeaea; font-size: 13px; font-family: 'Droid Sans', Arial, sans-serif; text-shadow: 0 1px 1px rgba(0,0,0,.4); }
#main-nav .main-menu ul li a:hover, #main-nav .main-menu ul li.current-menu-item > a { background: rgba(255,255,255,.07); color: #fff; }
#main-nav .main-menu ul:after { content: ""; display: block; clear: both; }

.posts-list li { border-bottom: 1px solid #eaeaea; }
.posts-list li:last-child { border-bottom: 0; }

.wide-box-item { position: relative; }

.has-post-thumbnail .post-thumbnail img { box-shadow: 0 1px 2px rgba(0,0,0,.15); }

.widget { clear: both; margin-bottom: 25px; }
.widget.widget_text .textwidget { color: #555; line-height: 1.7; }
.widget-container { background: #fff; padding: 10px; border: 1px solid #e4e4e4; }
.widget-top { padding: 5px 0; border-bottom: 2px solid #333; margin-bottom: 8px; }
.widget-top h4 { font-size: 18px; font-family: BebasNeueRegular, arial, Georgia, serif; font-weight: normal; margin: 0; color: #333; letter-spacing: .5px; }
.torlinks-class .widget-container img { margin: 4px 0; }

.footer-3c { width: 1045px; margin: 0 auto; overflow: hidden; }
.footer-logo { float: left; margin-right: 15px; }
.footer-logo img { max-height: 40px; }

.footer-widget { color: #ccc; }
.footer-widget.posts-list li { border-color: #232323; }
