@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.linux.org.ru") {
 
/* tango-compact 1.5.4 ollowtf (http://www.linux.org.ru/people/ollowtf/profile) */
/* с радугой */
/* http://userstyles.org/styles/58759/lor-tango-compact */
 
body {
    font-family:Trebuchet MS,sans !important;
}

/* p :) */
p {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* оформление полей ввода */ 
input, textarea, select {
    background:inherit !important;
    background-color: inherit !important;
    border-color: #555753 !important;
    border-style: solid !important;
    border-width: 1px !important;
    color: inherit !important;
    font-size: 0.9em !important;
    -moz-appearance: none !important;
}

/* уменьшаем заголовок новостей на главной*/
#bd .news h2 {
    font-size:1.2em !important;
}

/* шапка страницы и меню в одну строку*/
#sitetitle {
    font-size:1em !important;
    margin-right:0.5em !important;
}

#loginGreating {
    margin-top: 0 !important;
    margin-right: 0 !important;
}

#hd {
    padding-right:1em !important; 
    margin-bottom: 0 !important;
}
 
#hd h1 {
    display: none !important;
    font-size: 1em !important;
    font-weight: bold !important;
}

#hd .menu {    
    margin-top: 0 !important;
    margin-bottom: 0 !important;       
    text-align: center !important;
    /*float: left !important;*/
    font-size:1em !important;
}
 
#hd .menu li {
    margin-right:4px !important;
    margin-top:0 !important;
}
 
#hd .menu li:after {
    content:"" !important;
} 

#hd .menu a {
    text-decoration:none !important;
}

/* скрытие пунктов главного меню: не нужны */
a[href="/server.jsp"] {
    display:none !important;
}

a[href="/wiki/"] {
    display:none !important;
}

a[href="/wiki/en/Linux"] {
    display:none !important;
}

/* навигация */
.nav { 
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    padding: 0 !important;
}

#navPath {    
    font-size:1.2em !important; 
    font-weight:bold !important;
}

.nav li a {
    text-decoration:none !important;
}

.message-table a.secondary {
    text-decoration: none !important;
}

/* уменьшаем "сенсорные" кнопки страниц */
.page-number {
    margin-bottom:2px !important;
    margin-top:0 !important;
    padding:1px 3px 1px 3px !important;
    border-radius:3px 3px 3px 3px !important;
}

/* кнопки листания топиков: не нужны */
.nav td[width="35%"] {
    display:none !important;
}
 
/* оформление таблиц */
#bd .forum table thead {
    background-color: inherit !important; 
    font-weight: bold !important; 
}
 
table {
    font-size: 0.9em !important;
}

/* скрытие шапок таблиц: не нужны*/
#bd .forum table thead {
    display: none !important;
}
 
/* сообщение */
.msg .title { 
    display: inline-block !important;
    margin: 0px !important; 
    padding: 0px !important;
    font-size: 0.9em !important; 
    width: auto !important; 
}
 
.msg {
    display: inline-block !important;
    padding: 5px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    border: 1px solid #3E4648;
    border-radius: 4px !important;
    float: none !important;
    width: 100% !important;
}

/* юзерпик, фиксируется ширина */
.msg_body, .message-w-userpic {
    padding-left: 0px !important;
    padding-right: 90px !important;
}
 
.userpic {    
    float: right !important;    
    height: auto !important;    
    padding: 0px !important;   
    text-align: center;    
    width: 80px !important;
    border-radius: 3px !important; 
}  
 
.userpic img {
    width: 80px !important; 
    height: auto !important;
}

/* подпись и кнопки ответа в одну строку */
.sign {
    float: left !important;
    margin-right:3px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    font-size:medium !important;
}

.reply {
    float: left !important;
    font-size:medium !important;
}

/* оформление pre и code */
.code {
    font-family: monospace !important; 
    font-size:1.2em !important;
    border-radius: 3px !important; 
    border: 1px dotted #4C5658 !important;
}

/* скрытие элементов между топиком и комментариями */
div[style="text-align: center; margin-top: 1em"] {
    display:none !important;
}

div.messages > br {
    display:none !important;
}

/* Эпический костыль, чтобы заменить вырвиглазную картинку разлогина: */
/* взято отсюда http://www.linux.org.ru/gallery/screenshots/7261137 */
a[title="Выйти"]{
    text-decoration : none !important;
}

a[title="Выйти"]::before {
    content : "[x]" !important;
}

img[src="/img/logout.png"] {
    display: none !important;
}

/* кнопки LORcode tools (http://www.linux.org.ru/forum/lor-source/6956920) */
.atag a {
    background-color:inherit !important;
    border:1px solid #BABDB6 !important;
}

/* раскраска разделов в трекере */
/* добавлены не все разделы */

#bd .forum table tbody td a[href="/forum/linux-install/"] {
    font-weight: bold !important;
    color: #FFC0FF !important;
}

#bd .forum table tbody td a[href="/forum/general/"] {
    font-weight: bold !important;
    color: #00C000 !important;
}

#bd .forum table tbody td a[href="/forum/talks/"] {
    font-weight: bold !important;
    color: #FFA858 !important;
}

#bd .forum table tbody td a[href="/forum/desktop/"] {
    font-weight: bold !important;
    color: #00C0C0 !important;
}

#bd .forum table tbody td a[href="/forum/admin/"] {
    font-weight: bold !important;
    color: #FF99FF !important;
}

#bd .forum table tbody td a[href="/forum/development/"] {
    font-weight: bold !important;
    color: #6666FF !important;
}

#bd .forum table tbody td a[href="/forum/mobile/"] {
    font-weight: bold !important;
    color: #FFFF99 !important;
}

#bd .forum table tbody td a[href="/news/android/"] {
    font-weight: bold !important;
    color: #2EE88B !important;
}

#bd .forum table tbody td a[href="/news/commercial/"] {
    font-weight: bold !important;
    color: #ACBCE8 !important;
}

#bd .forum table tbody td a[href="/gallery/screenshots/"] {
    font-weight: bold !important;
    color: #99FFFF !important;
}

#bd .forum table tbody td a[href="/polls/polls/"] {
    font-weight: bold !important;
    color:#FFCCCC !important;
}

#bd .forum table tbody td a[href="/forum/linux-org-ru/"] {
    font-weight: bold !important;
    color:#FF6F95 !important;
}

#bd .forum table tbody td a[href="/forum/games/"] {
    font-weight: bold !important;
    color:#D9E84A !important;
}

#bd .forum table tbody td a[href="/gallery/workplaces/"] {
    font-weight: bold !important;
    color:#AC58E8 !important;
}

#bd .forum table tbody td a[href="/forum/multimedia/"] {
    font-weight: bold !important;
    color:#C3FF8B !important;
}

#bd .forum table tbody td a[href="/forum/linux-hardware/"] {
    font-weight: bold !important;
    color:#2B8EFF !important;
}

#bd .forum table tbody td a[href="/news/bsd/"] {
    font-weight: bold !important;
    color:#FCFF92 !important;
}

#bd .forum table tbody td a[href="/news/opensource/"] {
    font-weight: bold !important;
    color:#FF94C3 !important;
}

#bd .forum table tbody td a[href="/news/hardware/"] {
    font-weight: bold !important;
    color:#68FFB1 !important;
}

#bd .forum table tbody td a[href="/forum/web-development/"] {
    font-weight: bold !important;
    color:#CAFFB5 !important;
}

#bd .forum table tbody td a[href="/forum/security/"] {
    font-weight: bold !important;
    color:#FF9A4C !important;
}

#bd .forum table tbody td a[href="/news/russia/"] {
    font-weight: bold !important;
    color:#0FD7FF !important;
}

/* конец раскраски разделов в трекере */

}