/* MATRICA 2022 layout v6 */
html,body{min-height:100%;}body{margin:0;background:#111 url('../img/mainbg.png') repeat;color:#222;font:12px Arial,Helvetica,sans-serif;}#green_line{height:5px;background:#9cff00;width:100%;}.page{width:1000px;margin:0 auto;position:relative;min-height:900px}.bgelement{position:absolute;left:-135px;top:0;width:430px;height:360px;background:url('../img/bgelement.png') no-repeat left top;opacity:.95}.top-flags{position:absolute;right:65px;top:0;background:#080808;border:1px solid #7bb600;border-top:0;border-radius:0 0 9px 9px;padding:5px 8px;z-index:20}.top-flags img{margin-left:4px}.social{position:absolute;left:420px;top:22px;z-index:10}.social a{display:inline-block;width:35px;height:35px;background:#eee;margin-right:3px;opacity:.85}.hero{height:255px;position:relative}.logo-main{position:absolute;left:95px;top:92px;width:278px;height:79px;background:url('../img/mtc_logo.png') no-repeat}.header-art{position:absolute;right:80px;top:28px;width:588px;height:176px;background:url('../img/header.png') no-repeat}.auth-box,.user-box{position:absolute;right:175px;top:43px;width:350px;background:rgba(0,0,0,.84);border-top:2px solid #95d900;z-index:30;color:#fff}.auth-box h3{margin:0;padding:12px 0 8px;text-align:center;color:#8cff00;font-size:14px}.auth-box form{position:relative;width:255px;margin:0 auto 0}.auth-box input[type=text],.auth-box input[type=password]{display:block;width:220px;height:28px;margin-bottom:4px;background:#050505;border:1px solid #111;color:#ccc;padding:0 8px}.auth-box button{position:absolute;right:-42px;top:0;width:36px;height:62px;border:0;background:#5f8700;color:#caff00;font-size:18px}.auth-links{text-align:center;padding:7px 0 9px}.auth-links a{color:#fff;text-decoration:none;font-weight:bold;margin:0 12px}.auth-links a:hover{color:#8cff00}.nameday{border-top:1px solid #7ab000;background:rgba(0,0,0,.45);text-align:center;color:#fff;font-weight:bold;padding:8px 0}.nameday span{color:#8cff00}.user-box{min-height:95px;padding:10px}.user-box img{float:left;width:55px;height:55px;border:1px solid #333;margin-right:12px}.user-box strong{display:block;color:#8cff00;font-size:15px;margin-bottom:5px}.user-box a{color:#fff;text-decoration:none;font-weight:bold;margin-right:9px;line-height:18px}.user-box a:hover{color:#8cff00}.user-box .nameday{clear:both;margin:8px -10px -10px}.menu{height:51px;background:url('../img/menubar.png') repeat-x;margin:0 auto;border:1px solid #333;border-bottom:3px solid #8fd400;box-sizing:border-box}.menu ul{list-style:none;margin:0;padding:0}.menu li{float:left}.menu li.right{float:right}.menu a{display:block;height:48px;line-height:48px;padding:0 22px;color:#fff;font-weight:bold;text-decoration:none;border-right:1px solid rgba(255,255,255,.08)}.menu a:hover{color:#9cff00;background:rgba(0,0,0,.25)}.content{background:#fff;min-height:730px;padding:8px 10px 20px;overflow:hidden}.left{float:left;width:640px}.right{float:right;width:330px}.info{background:#e2f8de;border:1px solid #b9d7b4;margin-bottom:12px}.info-head{height:31px;line-height:31px;background:#d4ead0;color:#586a58;padding:0 12px}.info-head em{float:right;color:#679500}.info h2{text-align:center;color:#76bf00;font-size:19px;margin:18px 0 22px}.block-title{height:36px;line-height:36px;background:#171717 url('../img/n_title.png') repeat-x;color:#fff;font-weight:bold;padding:0 10px;margin:0;border-radius:3px 3px 0 0}.block-title .micon{display:inline-block;width:25px;height:25px;line-height:25px;text-align:center;background:#8bd600;color:#111;border-radius:3px;margin-right:10px}.block-title em{float:right;font-style:normal;font-size:11px}.block{margin-bottom:12px}.news-body{background:#f1f1f1;padding:10px;min-height:72px}.news-body img{float:left;width:142px;border:2px solid #9cff00;margin-right:10px}.news-body p{margin:3px 0;color:#555}.chat iframe{width:100%;height:265px;background:#fff;border:0}.server-card{background:#2b2b2b;border-top:1px solid #444;text-align:center;color:#fff;padding:22px 4px;margin-bottom:10px}.server-card b{display:block;color:#ff3030;font-size:28px;text-shadow:1px 1px #000}.server-card small,.server-card em{display:block;color:#fff}.avatar-grid{background:#eee;padding:8px;min-height:45px}.avatar-grid img{width:32px;height:32px;margin:2px;border:1px solid #ccc}.top-list,.latest-list{background:#eee;padding:8px}.top-list ol{padding-left:22px;margin:0}.top-list li{margin:5px 0}.top-list b{float:right;background:#8bd600;color:#fff;padding:2px 6px}.latest-list a{display:block;color:#222;text-decoration:none;border-bottom:1px solid #ddd;padding:5px}.latest-list small{display:block;color:#666}.forums{clear:both;padding-top:8px}.forum-cat{margin-bottom:10px}.forum-row{background:#f1f1f1;border-bottom:1px solid #ddd;padding:12px 10px;overflow:hidden}.forum-icon{float:left;width:30px;height:30px;line-height:30px;text-align:center;background:#444;color:#fff;border-radius:50%;font-weight:bold;margin-right:15px}.forum-main{float:left;width:445px}.forum-main a{font-size:15px;color:#222;text-decoration:none}.forum-main a:hover{color:#76bf00}.forum-main p{margin:4px 0;color:#666}.forum-stats{float:left;width:70px;color:#777;text-align:right}.forum-last{float:right;width:160px;color:#666;font-size:11px}.matrica-footer{height:58px;line-height:58px;color:#777;background:#111;text-align:center;clear:both}.debug{background:#300;color:#fff;padding:8px;margin:8px 0}.clear{clear:both}
/* v8 fixes */
.hero{height:245px}.auth-box,.user-box{right:80px;top:42px}.logo-main{left:105px;top:82px}.header-art{right:35px;top:25px}.menu{margin-top:0}.content{padding-top:10px}.chat iframe{display:none}.home-shouts{background:#fff;border:1px solid #d0d0d0;height:250px;overflow:auto;padding:4px}.home-shout-row{height:34px;line-height:34px;border-bottom:1px solid #ddd;background:#eee;overflow:hidden}.home-shout-row img{width:28px;height:28px;margin:3px 7px 3px 3px;vertical-align:middle;border:1px solid #ccc}.home-shout-row b{color:#222;margin-right:8px}.home-shout-row span{color:#555}.home-shout-row em{float:right;color:#666;margin-right:5px;font-style:normal}.home-shout-form{background:#eee;padding:7px}.home-shout-form input{width:265px;height:28px;border:1px solid #bbb;background:#fff}.home-shout-form a{display:inline-block;width:35px;height:30px;line-height:30px;text-align:center;background:#111;color:#fff;text-decoration:none;font-weight:bold;border-radius:3px;margin-left:4px}.forum-main a{color:#222!important}.forum-main a:hover{color:#77b900!important}.forum-cat .block-title,.block-title{color:#fff}.latest-list a{color:#222!important}.latest-list a:hover{color:#77b900!important}.news-body a{color:#333}.news-body a:hover{color:#77b900}.forum-row:nth-child(even){background:#efefef}.forum-row:nth-child(odd){background:#f7f7f7}

/* v9 user fixes */
.content{min-height:560px!important;}
.forums{display:none!important;}
.home-shout-form button{display:inline-block;width:35px;height:30px;line-height:30px;text-align:center;background:#111;color:#fff;text-decoration:none;font-weight:bold;border:0;border-radius:3px;margin-left:4px;cursor:pointer;}
.home-shout-form button:hover,.home-shout-form a:hover{color:#9cff00;}
.chat-error{background:#ffdede;color:#900;padding:5px;margin:0 0 4px;}
.home-shouts{height:250px!important;}
.menu a{position:relative;z-index:5;}

.online-names{padding:8px;background:#eee}.online-names a{display:block;color:#333;font-size:12px;margin:3px 0}.online-names img{width:24px;height:24px;vertical-align:middle;margin-right:5px;border:1px solid #ccc}.chat-error{color:#b00000;font-weight:bold}

/* ===== v24 - vecās Matrica sākumlapas izkārtojums ===== */
.page{width:900px!important;}
.top-flags{right:35px!important;}
.logo-main{left:20px!important;top:86px!important;}
.header-art{right:20px!important;top:20px!important;}
.auth-box,.user-box{right:72px!important;top:38px!important;}
.menu{width:900px!important;}
.content{width:900px!important;box-sizing:border-box!important;padding:8px 10px 20px!important;}
.left{width:440px!important;float:left!important;}
.right{width:435px!important;float:right!important;}

.info{margin-bottom:10px!important;}
.info h2{font-size:17px!important;line-height:24px!important;margin:17px 10px 21px!important;}

.news-card{margin-bottom:12px!important;}
.old-style-news{position:relative;background:#efefef!important;min-height:112px!important;padding:10px!important;border:0!important;overflow:hidden!important;}
.news-thumb{float:left;width:145px;margin-right:10px;}
.news-thumb img{width:140px!important;max-height:86px!important;object-fit:cover!important;border:2px solid #9cff00!important;background:#fff!important;}
.news-text{margin-left:158px;color:#666!important;line-height:17px!important;}
.news-author{margin:0 0 4px!important;color:#777!important;}
.news-preview{margin:0!important;color:#666!important;max-height:72px!important;overflow:hidden!important;}
.news-bottom{clear:both;margin-top:8px;height:26px;line-height:26px;}
.news-bottom .comments{float:left;background:#fff;border:1px solid #d0d0d0;padding:0 8px;color:#555;}
.news-bottom .read-more{float:left;margin-left:5px;background:#2a2a2a;color:#fff!important;text-decoration:none;font-weight:bold;border-radius:3px;padding:0 18px;height:26px;line-height:26px;}
.news-bottom .read-more:hover{color:#9cff00!important;}

.chat .home-shouts{height:250px!important;}
.home-shout-form input{width:360px!important;box-sizing:border-box;}
.home-shout-form button{float:right;margin-left:0!important;}

.ad-row{height:92px;margin:0 0 10px 0;display:flex;gap:10px;}
.ad-row div{flex:1;border:1px dashed #777;background:#fff;color:#aaa;letter-spacing:7px;text-align:center;line-height:92px;font-size:14px;}

.server-block{width:213px!important;float:left!important;margin:0 9px 10px 0!important;}
.server-block:nth-of-type(even){margin-right:0!important;}
.server-block .block-title{height:33px!important;line-height:33px!important;font-size:12px!important;padding:0 7px!important;}
.compact-server{height:86px!important;padding:16px 4px 8px!important;margin:0!important;box-sizing:border-box!important;}
.compact-server b{font-size:24px!important;line-height:27px!important;}
.compact-server small,.compact-server em{font-size:11px!important;}

.online-block,.top-list,.latest-list{width:213px!important;float:left!important;margin:0 9px 10px 0!important;box-sizing:border-box!important;}
.top-list,.latest-list{padding:0!important;background:#eee!important;}
.top-list ol{margin:0!important;padding:8px 8px 8px 25px!important;}
.top-list li{height:24px;line-height:24px;border-bottom:1px solid #ddd;margin:0!important;}
.latest-list a{padding:6px 8px!important;line-height:14px!important;}
.online-names{min-height:75px!important;}
.online-names a{display:inline-block!important;margin:3px 5px 3px 0!important;}
.online-names img{width:32px!important;height:32px!important;display:block!important;margin:0 auto 2px!important;}

.right:after,.content:after{content:"";display:block;clear:both;}

/* ===== v25 EXACT OLD MATRICA HOME REBUILD ===== */
/* force new dimensions and remove v24 parody blocks */
.page{width:900px!important;margin:0 auto!important;}
.hero{height:190px!important;}
.logo-main{left:22px!important;top:78px!important;width:278px!important;height:79px!important;}
.header-art{left:300px!important;right:auto!important;top:0!important;width:588px!important;height:176px!important;}
.user-box,.auth-box{right:70px!important;top:38px!important;width:350px!important;}
.menu{width:900px!important;height:51px!important;margin-top:0!important;}
.menu a{height:48px!important;line-height:48px!important;padding:0 22px!important;}
.content{width:900px!important;box-sizing:border-box!important;padding:8px 10px 14px!important;background:#fff!important;min-height:760px!important;overflow:hidden!important;}
.left{float:left!important;width:445px!important;margin-right:10px!important;}
.right{float:right!important;width:425px!important;}

/* no blank ad placeholders */
.ad-row{display:none!important;}

/* left news cards: old style */
.info{margin:0 0 10px 0!important;border:1px solid #bddcba!important;background:#e2f9df!important;}
.info-head{height:31px!important;line-height:31px!important;padding:0 12px!important;background:#d3ebcf!important;color:#596b59!important;}
.info h2{font-size:18px!important;line-height:24px!important;margin:18px 15px 22px!important;color:#73bc00!important;text-align:center!important;}
.news-card{margin:0 0 10px 0!important;border:0!important;background:transparent!important;}
.news-card .block-title{height:36px!important;line-height:36px!important;border-radius:3px 3px 0 0!important;padding:0 10px!important;}
.old-style-news{background:#efefef!important;padding:9px!important;min-height:104px!important;box-sizing:border-box!important;overflow:hidden!important;}
.news-thumb{float:left!important;width:145px!important;margin:0 9px 0 0!important;}
.news-thumb img{width:140px!important;height:76px!important;object-fit:cover!important;border:2px solid #9cff00!important;background:#fff!important;}
.news-text{margin-left:154px!important;line-height:16px!important;color:#666!important;font-size:12px!important;}
.news-author{margin:0 0 3px 0!important;color:#777!important;}
.news-preview{margin:0!important;max-height:64px!important;overflow:hidden!important;color:#666!important;}
.news-bottom{clear:both!important;margin-top:7px!important;height:24px!important;line-height:24px!important;}
.news-bottom .comments{float:left!important;height:24px!important;line-height:24px!important;padding:0 8px!important;background:#fff!important;border:1px solid #d5d5d5!important;color:#555!important;}
.news-bottom .read-more{float:left!important;height:24px!important;line-height:24px!important;padding:0 18px!important;background:#2a2a2a!important;color:#fff!important;border-radius:3px!important;text-decoration:none!important;font-weight:bold!important;}
.news-bottom .read-more:hover{color:#9cff00!important;}

/* right column: chat + old small blocks */
.right .chat{width:425px!important;float:none!important;margin:0 0 10px 0!important;clear:both!important;}
.chat .home-shouts{height:250px!important;background:#fff!important;border:1px solid #d0d0d0!important;padding:4px!important;overflow:auto!important;}
.home-shout-row{height:34px!important;line-height:34px!important;background:#eee!important;border-bottom:1px solid #d8d8d8!important;}
.home-shout-form{padding:7px!important;background:#eee!important;display:flex!important;gap:6px!important;}
.home-shout-form input{flex:1!important;width:auto!important;height:30px!important;box-sizing:border-box!important;}
.home-shout-form button,.home-shout-form a{width:35px!important;height:30px!important;line-height:30px!important;margin:0!important;}

/* server monitors smaller and aligned left like old */
.server-block{float:left!important;width:207px!important;margin:0 9px 10px 0!important;clear:none!important;box-sizing:border-box!important;}
.server-block:nth-of-type(2n){margin-right:0!important;}
.server-block .block-title{height:33px!important;line-height:33px!important;font-size:12px!important;padding:0 8px!important;}
.compact-server{height:86px!important;padding:15px 4px 6px!important;margin:0!important;background:#2c2c2c!important;box-sizing:border-box!important;}
.compact-server b{font-size:25px!important;line-height:28px!important;}
.compact-server small,.compact-server em{font-size:11px!important;color:#fff!important;}

/* right-side widgets beside servers */
.online-block,.top-list,.latest-list{float:left!important;width:207px!important;margin:0 0 10px 0!important;box-sizing:border-box!important;clear:none!important;background:#eee!important;}
.online-block .block-title,.top-list .block-title,.latest-list .block-title{height:33px!important;line-height:33px!important;font-size:12px!important;padding:0 8px!important;}
.online-names{min-height:74px!important;background:#eee!important;padding:8px!important;}
.online-names a{display:block!important;margin:2px 0!important;color:#333!important;}
.online-names img{display:inline-block!important;width:24px!important;height:24px!important;margin:0 6px 0 0!important;vertical-align:middle!important;}
.top-list ol{padding:7px 8px 7px 24px!important;margin:0!important;background:#eee!important;}
.top-list li{height:24px!important;line-height:24px!important;margin:0!important;border-bottom:1px solid #ddd!important;}
.latest-list a{display:block!important;padding:6px 8px!important;background:#eee!important;border-bottom:1px solid #ddd!important;color:#222!important;text-decoration:none!important;line-height:14px!important;}
.latest-list small{display:block!important;color:#666!important;}

/* title icon spacing identical */
.block-title .micon{width:25px!important;height:25px!important;line-height:25px!important;margin-right:9px!important;}
.block-title em{font-size:11px!important;color:#fff!important;}

/* clear rows in sidebar */
.right:after{content:"";display:block;clear:both;}

/* ===== v26 sidebar layout: servers one under another, widgets on right ===== */
.right-bottom-grid{
    clear: both !important;
    display: grid !important;
    grid-template-columns: 205px 210px !important;
    column-gap: 10px !important;
    align-items: start !important;
    width: 425px !important;
}
.server-column,
.widget-column{
    min-width: 0 !important;
}
.server-column .server-block{
    float: none !important;
    clear: both !important;
    width: 205px !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
}
.widget-column .online-block,
.widget-column .top-list,
.widget-column .latest-list{
    float: none !important;
    clear: both !important;
    width: 210px !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
}
.widget-column .online-names{
    min-height: 92px !important;
}
.server-column .compact-server{
    height: 95px !important;
    padding-top: 18px !important;
}
.server-column .compact-server b{
    font-size: 25px !important;
}
.widget-column .latest-list a{
    min-height: 36px !important;
    box-sizing: border-box !important;
}
/* disable old float grid rules for right-side blocks */
.right > .server-block,
.right > .online-block,
.right > .top-list,
.right > .latest-list{
    float: none !important;
}

/* ===== v28 FiveM server monitor ===== */
.fivem-card{
    background:#111 url('../img/fivem_bg_v28.jpg') center center/cover no-repeat!important;
    position:relative!important;
    overflow:hidden!important;
}
.fivem-card:before{
    content:"";
    position:absolute;
    left:0;right:0;top:0;bottom:0;
    background:rgba(0,0,0,.38);
    z-index:0;
}
.fivem-card b,
.fivem-card small,
.fivem-card em{
    position:relative;
    z-index:1;
    text-shadow:1px 1px 2px #000;
}
.fivem-card.is-online b{color:#8bd600!important;}
.fivem-card.is-offline b{color:#ff3030!important;}
.fivem-card small{font-weight:bold!important;}


/* v28: FiveM bloks redzamāks */
.fivem-card{height:105px!important;padding-top:20px!important;}
.fivem-card b{font-size:24px!important;letter-spacing:1px!important;}
.fivem-card small{font-size:12px!important;color:#fff!important;}
.fivem-card em{font-size:11px!important;color:#fff!important;text-decoration:underline;}

/* ===== v29 FiveM monitor correction ===== */
.fivem-card{
    background:#111 url('../img/fivem_bg_v29.jpg') center center/cover no-repeat!important;
    height:105px!important;
    padding-top:20px!important;
}
.fivem-card:before{background:rgba(0,0,0,.22)!important;}
.fivem-card.is-online .online-text{color:#8bd600!important;}
.fivem-card.is-unknown .unknown-text{color:#ffd24a!important;}
.fivem-card.is-offline .offline-text{color:#ff3030!important;}
.fivem-card b{font-size:24px!important;letter-spacing:1px!important;}
.fivem-card small{font-size:12px!important;color:#fff!important;font-weight:bold!important;}
.fivem-card em{font-size:11px!important;color:#fff!important;text-decoration:underline;}

/* ===== v30 FiveM monitors bez viltus OFFLINE teksta ===== */
.fivem-card{
    position:relative!important;
    height:105px!important;
    padding-top:58px!important;
    background:#111 url('../img/fivem_bg_v29.jpg') center center/cover no-repeat!important;
    overflow:hidden!important;
    text-align:center!important;
}
.fivem-card:before{
    content:""!important;
    position:absolute!important;
    left:0;right:0;top:0;bottom:0;
    background:rgba(0,0,0,.12)!important;
    z-index:0!important;
}
.fivem-card b,
.fivem-card .online-text,
.fivem-card .offline-text,
.fivem-card .unknown-text{
    display:none!important;
}
.fivem-card .fivem-players,
.fivem-card small,
.fivem-card em{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    color:#fff!important;
    text-shadow:0 1px 3px #000,0 0 6px #000!important;
    background:rgba(0,0,0,.45)!important;
    width:120px!important;
    margin:0 auto 3px auto!important;
    border-radius:2px!important;
}
.fivem-card .fivem-players,
.fivem-card small{
    font-size:12px!important;
    font-weight:bold!important;
}
.fivem-card em{
    font-size:11px!important;
    font-style:italic!important;
    text-decoration:underline!important;
}

/* ===== v32 FiveM GTA monitor image fix ===== */
.server-column .fivem-block,
.fivem-block{
    width:100% !important;
    float:none !important;
    clear:both !important;
    margin:0 0 10px 0 !important;
}
.server-column .fivem-card,
.fivem-card{
    position:relative !important;
    height:116px !important;
    min-height:116px !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#111 url('../img/fivem_monitor_gta_style.jpg') center center / cover no-repeat !important;
    border-top:1px solid #444 !important;
    box-sizing:border-box !important;
}
.fivem-card:before{
    content:"";
    position:absolute;
    left:0;right:0;top:0;bottom:0;
    background:linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.62));
    z-index:1;
}
.fivem-card .fivem-players,
.fivem-card em{
    position:relative !important;
    z-index:2 !important;
    display:block !important;
    text-align:center !important;
    text-shadow:1px 1px 2px #000 !important;
}
.fivem-card .fivem-players{
    padding-top:38px !important;
    color:#ffffff !important;
    font-size:16px !important;
    line-height:20px !important;
    font-weight:bold !important;
}
.fivem-card em{
    color:#ffffff !important;
    font-size:12px !important;
    font-style:italic !important;
    margin-top:2px !important;
}
.fivem-card b,
.fivem-card .offline,
.fivem-card .online{
    display:none !important;
}

/* ===== v34 ONLINE USERS: tikai bildes + hover logs ===== */
.online-avatar-block .online-names,
.online-avatars-only{
    min-height:54px!important;
    background:#eeeeee!important;
    padding:8px!important;
    overflow:visible!important;
    position:relative!important;
}

.online-avatars-only .online-avatar-item{
    display:inline-block!important;
    width:34px!important;
    height:34px!important;
    margin:0 5px 6px 0!important;
    padding:0!important;
    position:relative!important;
    vertical-align:top!important;
    overflow:visible!important;
    color:#111!important;
    text-decoration:none!important;
}

.online-avatars-only .online-avatar-item > img{
    width:32px!important;
    height:32px!important;
    object-fit:cover!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #ffffff!important;
    outline:1px solid #cfcfcf!important;
    background:#ddd!important;
}

.online-avatars-only .online-avatar-item:hover > img{
    outline:2px solid #8bd000!important;
}

.online-hover-card{
    display:none!important;
    position:absolute!important;
    left:-14px!important;
    top:-124px!important;
    width:220px!important;
    min-height:112px!important;
    background:rgba(15,15,15,.96)!important;
    border:1px solid #333!important;
    border-bottom:3px solid #8bd000!important;
    box-shadow:0 4px 16px rgba(0,0,0,.55)!important;
    z-index:99999!important;
    color:#d7d7d7!important;
    text-align:left!important;
    font-size:11px!important;
    line-height:16px!important;
    padding:7px!important;
    white-space:normal!important;
}

.online-avatar-item:hover .online-hover-card{
    display:block!important;
}

.online-hover-card:after{
    content:"";
    position:absolute;
    left:23px;
    bottom:-9px;
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-top:8px solid #8bd000;
}

.ohc-top{
    display:block!important;
    height:42px!important;
    border-bottom:1px solid #2d2d2d!important;
    margin-bottom:5px!important;
}

.ohc-top img{
    width:38px!important;
    height:38px!important;
    object-fit:cover!important;
    float:left!important;
    margin:0 8px 0 0!important;
    border:1px solid #8bd000!important;
    outline:none!important;
}

.ohc-top b{
    display:block!important;
    color:#ffffff!important;
    font-size:12px!important;
    padding-top:2px!important;
}

.ohc-status{
    display:block!important;
    color:#111!important;
    background:#e5e5e5!important;
    border-bottom:2px solid #8bd000!important;
    padding:4px 6px!important;
    margin:3px 0!important;
    font-size:10px!important;
}

.ohc-row{
    display:block!important;
    color:#d7d7d7!important;
    border-bottom:1px dashed #444!important;
    padding:2px 0!important;
}

.ohc-row b{
    color:#ffffff!important;
}

.ohc-bottom{
    display:block!important;
    color:#ffffff!important;
    background:#050505!important;
    border:1px solid #444!important;
    margin-top:4px!important;
    padding:3px 6px!important;
    font-weight:bold!important;
}


/* ===== v35 ONLINE AVATAR HOVER FIX =====
   Logs atveras blakus avatāram, nevis virs čata. */
.online-avatar-block,
.online-avatar-block .block-title,
.online-avatar-block .online-names,
.online-avatars-only{
    overflow: visible !important;
}

.online-avatars-only .online-avatar-item{
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
}

.online-avatars-only .online-avatar-item:hover{
    z-index: 999999 !important;
}

.online-hover-card{
    top: -12px !important;
    left: auto !important;
    right: 42px !important;
    bottom: auto !important;
    width: 218px !important;
    min-height: 112px !important;
    z-index: 999999 !important;
}

.online-hover-card:after{
    left: auto !important;
    right: -9px !important;
    bottom: auto !important;
    top: 18px !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 8px solid #8bd000 !important;
    border-right: 0 !important;
}

.online-avatars-only .online-avatar-item > img,
.ohc-top img{
    object-fit: cover !important;
    background: #dcdcdc url('../img/avatar_default.png') center center/cover no-repeat !important;
}


/* ===== v41 MATRICA TOP 5 reputation block ===== */
.top-reputation{background:#eee!important;padding:0!important;}
.top-reputation ol{margin:0!important;padding:6px!important;list-style:none!important;background:#eee!important;}
.top-reputation li{position:relative!important;min-height:34px!important;line-height:34px!important;border-bottom:1px solid #d6d6d6!important;margin:0!important;padding:4px 50px 4px 40px!important;overflow:hidden!important;}
.top-reputation li img{position:absolute!important;left:6px!important;top:5px!important;width:30px!important;height:30px!important;object-fit:cover!important;border:1px solid #bdbdbd!important;background:#fff!important;}
.top-reputation li a{display:block!important;color:#222!important;font-weight:bold!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.top-reputation li a span{font-weight:bold!important;}
.top-reputation li b{position:absolute!important;right:6px!important;top:8px!important;min-width:38px!important;height:20px!important;line-height:20px!important;background:#8bd600!important;color:#fff!important;text-align:center!important;padding:0 5px!important;font-size:11px!important;}
.top-reputation li:last-child{border-bottom:0!important;}


/* v44 - IPB forum statistics under latest posts */
.home-forum-stats{
    display:flex;
    gap:0;
    background:#eeeeee;
    border-top:1px solid #d7d7d7;
    margin-top:8px;
    padding:8px 0;
}
.home-stat-item{
    width:50%;
    text-align:center;
    color:#666;
    font-size:11px;
    line-height:14px;
    border-right:1px solid #d0d0d0;
}
.home-stat-item:last-child{border-right:0;}
.home-stat-item strong{
    display:block;
    color:#555;
    font-size:18px;
    line-height:20px;
    font-weight:bold;
}
.home-stat-item span{
    display:block;
    color:#777;
}

/* ===== v45 Matricas TOP 5 tabs like old layout ===== */
.matrica-top5-tabs { overflow:hidden; }
.matrica-top5-tabs .top5-buttons{
    display:flex;
    gap:3px;
    padding:6px 7px 4px 7px;
    background:#f0f0f0;
}
.matrica-top5-tabs .top5-buttons a{
    flex:1;
    height:28px;
    line-height:28px;
    text-align:center;
    display:block;
    background:linear-gradient(#444,#141414);
    border:1px solid #222;
    border-radius:2px;
    color:#fff!important;
    text-decoration:none!important;
    font-size:16px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.matrica-top5-tabs .top5-buttons a.active,
.matrica-top5-tabs .top5-buttons a:hover{
    background:linear-gradient(#a7eb19,#5f9800)!important;
    color:#fff!important;
}
.matrica-top5-tabs .top5-panel{ display:none; padding:0 8px 8px 8px; background:#f0f0f0; }
.matrica-top5-tabs .top5-panel.active{ display:block; }
.matrica-top5-tabs .top5-panel h4{
    margin:0 0 7px 0;
    padding:7px 5px;
    background:#333;
    color:#fff;
    text-align:center;
    font-size:11px;
    font-weight:bold;
    border-radius:2px;
}
.matrica-top5-tabs .top5-panel ol{ list-style:none; margin:0; padding:0; }
.matrica-top5-tabs .top5-panel li{
    position:relative;
    min-height:33px;
    padding:5px 48px 5px 38px;
    border-bottom:1px solid #ddd;
    background:#fff;
}
.matrica-top5-tabs .top5-panel li img{
    position:absolute;
    left:5px;
    top:5px;
    width:28px;
    height:28px;
    object-fit:cover;
    border:1px solid #bbb;
    background:#fff;
}
.matrica-top5-tabs .top5-panel li a{
    display:block;
    color:#111!important;
    font-weight:bold;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-decoration:none!important;
    line-height:28px;
}
.matrica-top5-tabs .top5-panel li b{
    position:absolute;
    right:4px;
    top:8px;
    min-width:38px;
    padding:3px 5px;
    background:#8bd000;
    color:#fff;
    text-align:center;
    font-size:11px;
    line-height:13px;
}
.matrica-top5-tabs .top5-panel li.empty{
    padding:8px;
    color:#333;
    min-height:0;
}


/* ===== v47: Sakumlapas augsejo lietotaja logu PARBIDA pa labi, neizstiepj ===== */
.hero .user-box{
    right: 0 !important;
    width: 350px !important;
    box-sizing: border-box !important;
}
.hero .auth-box{
    right: 0 !important;
    width: 350px !important;
    box-sizing: border-box !important;
}
.hero .user-box a{
    color:#e6e6e6 !important;
    text-shadow:0 0 2px #000 !important;
}
.hero .user-box a:hover{
    color:#8bd000 !important;
}
.hero .user-box strong{
    color:#ffffff !important;
}
/* Login formai atstaj veco platumu, tikai panelis ir pabidits */
.hero .auth-box form{
    width:255px !important;
}
.hero .auth-box input[type=text],
.hero .auth-box input[type=password]{
    width:220px !important;
}
.hero .auth-box button{
    right:-42px !important;
}

/* v48 info board post content */
.info .info-text{padding:0 22px 18px 22px!important;text-align:center!important;color:#2f4b2f!important;font-size:12px!important;line-height:18px!important;}
.info .info-text a{color:#5b9700!important;font-weight:bold!important;text-decoration:underline!important;}
.info h2{margin-bottom:8px!important;}

/* v49 Informācijas dēlis: tikai posta teksts, bez title un bez lasīt tālāk */
.info h2 { display: none !important; }
.info .info-text a { display: none !important; }
.info-only-text {
    color: #65b800 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1.35 !important;
    text-align: center !important;
    padding: 22px 28px !important;
    min-height: 62px !important;
}
.info-only-text a { display: none !important; }

/* v50 FIX: informācijas dēlis nedrīkst laist cauri header/background bildi */
.bgelement{
    z-index: 0 !important;
    pointer-events: none !important;
}
.hero,
.menu,
.content{
    position: relative !important;
    z-index: 2 !important;
}
.info{
    position: relative !important;
    z-index: 5 !important;
    background: #e2f8de !important;
    opacity: 1 !important;
    overflow: hidden !important;
}
.info-head{
    background: #d4ead0 !important;
    opacity: 1 !important;
}
.info-only-text{
    position: relative !important;
    z-index: 6 !important;
    background: transparent !important;
    opacity: 1 !important;
}


/* v51: one Discord icon in header, removed the extra grey square */
.social {
    position:absolute !important;
    left:420px !important;
    top:22px !important;
    z-index:10 !important;
}
.social a {
    display:none !important;
}
.social a.discord-link {
    display:inline-block !important;
    width:35px !important;
    height:35px !important;
    margin-right:0 !important;
    opacity:.95 !important;
    background:url('../img/discord.png') no-repeat center center !important;
    background-size:35px 35px !important;
}
.social a.discord-link:hover {
    opacity:1 !important;
    filter:brightness(1.15);
}


/* v52: īsts Discord logo bez pelēka/balta fona */
.social{
    position:absolute !important;
    left:420px !important;
    top:22px !important;
    z-index:50 !important;
    width:35px !important;
    height:35px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.social:before,
.social:after{
    display:none !important;
    content:none !important;
}
.social a,
.social a.discord-link{
    display:block !important;
    width:35px !important;
    height:35px !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent url('../img/discord.png') no-repeat center center !important;
    background-size:35px 35px !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    opacity:1 !important;
    overflow:hidden !important;
    text-indent:-9999px !important;
}
.social a.discord-link:hover{
    filter:brightness(1.18) drop-shadow(0 0 4px #8bd000) !important;
}


/* v53: official Discord icon, no grey background */
.social{
    position:absolute !important;
    left:420px !important;
    top:22px !important;
    z-index:50 !important;
    width:35px !important;
    height:35px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.social a.discord-link{
    display:block !important;
    width:35px !important;
    height:35px !important;
    background:transparent url('../img/discord.png') no-repeat center center !important;
    background-size:35px 35px !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    padding:0 !important;
    margin:0 !important;
    text-indent:-9999px !important;
}
.social a.discord-link:hover{
    filter:brightness(1.12) drop-shadow(0 0 4px #5865F2) !important;
}


/* v54 - WebMoney in homepage user box */
.wm-home-balance{
    display:block!important;
    color:#e6e6e6!important;
    font-weight:bold!important;
    margin:2px 0 5px 0!important;
    line-height:17px!important;
    text-shadow:0 0 2px #000!important;
}
.wm-home-balance span{
    display:inline-block!important;
    background:#8bd000!important;
    color:#111!important;
    border-radius:3px!important;
    padding:1px 5px!important;
    margin-right:5px!important;
    font-weight:bold!important;
}


/* v55 - WM blakus Iziet pogai + ceļu/cache labojums */
.wm-home-balance{display:none!important;}
.user-box .wm-home-inline{
    display:inline-block!important;
    color:#e6e6e6!important;
    font-weight:bold!important;
    margin:0 10px 0 0!important;
    line-height:18px!important;
    text-shadow:0 0 2px #000!important;
    vertical-align:middle!important;
    white-space:nowrap!important;
}
.user-box .wm-home-inline img{
    width:14px!important;
    height:14px!important;
    vertical-align:-2px!important;
    margin-right:3px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
