/*
 * MartForum.com — Extra / Custom CSS
 * Updated to match MartForum design system:
 * Font: DM Sans | Base: 14px / 1.6 | Dark: #212424 / #393e3f
 * Primary: #E8832A | Secondary: #0E8C8C
 */

/* ── Navigation Menu ──────────────────────────────────── */

#menu {
    margin: 40px 0 0 0;
    background-color: #212424;
    background-repeat: repeat;
    height: 50px;
    border-bottom: 2px solid #E8832A;
}

#menu li {
    float: left;
    display: block;
    position: relative;
    z-index: 500;
    line-height: 33px;
}

/* Parent menu links */
#menu li a {
    display: block;
    padding: 3px 18px 0 18px;
    height: 47px;
    line-height: 43px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    left: -40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease;
}

#menu li a:hover {
    background-color: #E8832A;
    color: #fff;
}

/* ── Dropdown Submenu ─────────────────────────────────── */

#menu ul {
    position: absolute;
    left: 0;
    display: none;
    margin: 0 0 0 -1px;
    padding: 0;
    list-style: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

#menu ul li {
    width: 190px;
    float: left;
    border-top: 1px solid #2c3030;
    margin: 0px -1px;
    background: #212424;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#menu ul a {
    display: block;
    height: 15px;
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.18s ease, color 0.18s ease;
}

#menu ul a:hover {
    background: #393e3f;
    color: #E8832A;
}

*html #menu ul {
    margin: 0 0 0 -2px;
}

/* ── Logo Text ────────────────────────────────────────── */

.logotext {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'DM Sans', sans-serif;
    text-shadow: none;
}

.logotextc {
    margin: 0;
    color: #E8832A;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'DM Sans', sans-serif;
    text-shadow: none;
}

.logotextc a:hover,
.logotext a:hover,
.logotextc a:visited,
.logotext a:visited {
    text-decoration: none;
}

/* ── Layout ───────────────────────────────────────────── */

.wrapperforum {
    width: 95%;
    margin: auto auto;
}

/* ── Thread Header (thead) tooltip description ────────── */

.thead .description {
    margin-left: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-style: italic;
    background: #fff;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
    left: 7px;
    opacity: 0;
    -webkit-transition: 0.25s ease;
    -moz-transition: 0.25s ease;
    -ms-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
}

.thead:hover .description {
    opacity: 1;
    left: 10px;
}

.thead .expcolimage {
    float: right;
    width: auto;
    vertical-align: middle;
    margin-top: 5px;
    opacity: 0;
    -webkit-transition: 0.25s ease;
    -moz-transition: 0.25s ease;
    -ms-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
}

.thead:hover .expcolimage {
    opacity: 1;
}

/* ── Back to Top Button ───────────────────────────────── */

#backtop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    display: none;
    padding: 6px 12px 6px 30px;
    background-color: #E8832A;
    background-image: url(../../../images/simplicity/top-icon.png);
    background-position: 10px center;
    background-repeat: no-repeat;
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(232, 131, 42, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

#backtop:hover {
    background-color: #D0711E;
    box-shadow: 0 6px 20px rgba(232, 131, 42, 0.45);
}

#backtop a {
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
}

/* ── Tabs ─────────────────────────────────────────────── */

ul.tabs {
    float: left;
    list-style: none;
    height: 36px;
    width: 100%;
    margin: 0;
    padding: 0;
}

ul.tabs li {
    float: left;
    list-style: none;
    height: 35px;
    line-height: 35px;
    border-left: none;
    overflow: hidden;
    position: relative;
    background: #212424;
    margin: 0 0 -1px;
    padding: 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.18s ease;
}

ul.tabs li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55) !important;
    display: block;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 20px;
    transition: color 0.18s ease;
}

ul.tabs li a:hover {
    background: #393e3f;
    color: #E8832A !important;
}

html ul.tabs li.active,
html ul.tabs li.active a:hover {
    background: #393e3f;
    border-bottom: 2px solid #E8832A;
}

html ul.tabs li.active a {
    color: #E8832A !important;
}

.tab_container {
    border: 1px solid #454b4c;
    border-top: none;
    overflow: hidden;
    clear: both;
    float: left;
    width: 100%;
}

.tab_content {
    padding: 1px;
}

/* ── Stat Badge ───────────────────────────────────────── */

.statround {
    background: #E8832A;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    margin-left: 20px;
    border-radius: 4px;
}

.statround a:link,
.statround a:visited {
    color: #ffffff;
}

.statround a:hover,
.statround a:active {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

/* ── Menu Shadow ──────────────────────────────────────── */

.menu-shadow {
    background: url(../../../images/simplicity/menu-shadow.png) no-repeat scroll 50% 0 rgba(0, 0, 0, 0);
    bottom: -36px;
    height: 20px;
    left: 0;
    width: 100%;
}

/* ── Copyright ────────────────────────────────────────── */

#copyright {
    float: right;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}