﻿BODY
{
    margin: 0px;
    padding: 0px;
    background-color: #F2F1F0;
    font-size: 100%;
}

BODY DIV #mainbg 
{
     background: #FFF url("../../images/bodybg3.gif");
}

IMG
{
    border: 0px;
}

FIELDSET
{
    border: dashed 1px #CCC;
}

LEGEND
{
    font: 14px tahoma;
    color: #666;
    margin: 0px;
    padding: 0px 5px 2px 5px;
}

.pointer
{
    cursor: pointer;
}

P
{

}

A 
{
    /*color: #3F78A8;*/
	 text-decoration: none;
	 color: #506080;
}

PRE, CODE
{
	font-family: Courier New;
	display: inline;
	white-space: pre-wrap; /* css-3 */ 
	white-space: -moz-pre-wrap; /* Mozilla, начиная с 1999 года */ 
	white-space: -pre-wrap; /* Opera 4-6 */ 
	white-space: -o-pre-wrap; /* Opera 7 */ 
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

A:hover
{
	color: #3F78A8;
   text-decoration: underline;
}

H1, H2
{
    font: bold 100% tahoma;
    text-transform: uppercase;
    margin: 0px;
    padding: 10px 0px 5px 0px;
}

#main H2
{
    font-size: 100%;
}

H1
{
    color: #963;
}

H2 
{
    color: #888;
}

H3
{
    font: bold 11px tahoma;
    color: #963;
}

INPUT, TEXTAREA
{

    padding: 2px;
}

TEXTAREA, INPUT
{
    border: solid 1px #CCC;
    font: 11px tahoma;
    color: #666;
}

.checkbox INPUT
{
    border: none;
}

OPTION
{
    padding: 2px 2px 0px 2px;
}

BODY #main .content .dmtxt TABLE
{
    background-color: #CCC;
}

BODY #main .content .dmtxt TABLE TD
{
    background-color: #FFF;
    margin: 1px;
    padding: 2px;
}

#outer_wrapper 
{ 
	/* ò.ê. min-width íå ïîääåðæèâàåòñÿ IE, ìû áóäåì èñïîëüçîâàòü ñêðèïò íàïèñàííûé PVII */ 
	min-width:740px; 
	/* Ïðàâèëî äëÿ ðåøåíèÿ áàãà ïðîðèñîâêè ôîíà â IE, íî ò.ê. îíî ñîçäàåò ïðîìåæóòîê ïîä ôóòåðîì, ìû äîáàâèì òàêîå æå ïðàâèëî â áëîê #footer */ 
	width:100%; 
	/* Òåõíèêà ëîæíûõ êîëîíîê (faux-column), ëåâàÿ êîëîíêà */ 
    padding:0px;
    margin: 0px;
} 

#wrapper 
{ 
	/* Òåõíèêà ëîæíûõ êîëîíîê (faux-column), ïðàâàÿ êîëîíêà */ 
	/*
	padding:0px;
    margin: 0px;
    */
} 

#tagCloud
{
    width: 200px;
}

#tags A
{
    /*float: left;
    padding: 2px 5px 2px 0px;*/
}

#header 
{ 
	background: #FFF url("../../images/logobg7.gif") repeat-x top;
	float: left;
	position: relative;
	/* Çàäàåì "îïðåäåëåíèå ïîçèöèè" äëÿ ýëåìåíòà è óñòðàíÿåì peek-a-boo áàã â IE (v6 sp2) */ 
	width:100%;
	/* Ïðåäûäóùåå ïðàâèëî ñîçäàåò ãîðèçîíòàëüíóþ ïðîêðóòêó â IE, èçáàâèìñÿ îò íåå */ 
	margin:0 -1px;
	padding:5px 0px 5px 0px;
    margin: 0px;
    clear: right;
}

#container 
{ 
   /*clear:left;*/
	float:left; 
	width:100%; 
	/* IE óäâàèâàåò âíåøíèå ïîëîñêè (margins) ó ïëàâàþùèõ ýëåìåíòîâ, ïîçàáîòèìñÿ îá ýòîé ïðîáëåìå */ 
	display:inline; 
	/* Òóò ìû ðàñõîäèìñÿ âî ìíåíèÿõ ñ Ryan Brill (àâòîðîì ñòàòüè â ALA) */ 
	margin-left:-210px; 
	vertical-align: top;
    position: relative;
    padding-top: 10px;
}

#left 
{ 
	float:left; 
	width:272px; 
	/* IE óäâàèâàåò âíåøíèå ïîëîñêè (margins) ó ïëàâàþùèõ ýëåìåíòîâ, ïîçàáîòèìñÿ îá ýòîé ïðîáëåìå */ 
	display:inline; 
	margin-left:200px;
	font: 70% tahoma;
	color: #666;
} 

#left TD
{
    color: #999;
}

#left A
{
    text-decoration: none;
    /*color: #666;*/
}

#left A:hover
{
    text-decoration: underline;
    /*color: #3F78A8;*/
}

#left .content
{
	padding-left: 30px;
}

#main 
{ 
	/* øèðèíà ëåâîé êîëîíêè #left (272px) + îòðèöàòåëüíîå ïîëå (negative margin) ó áëîêà #container (200px) */
	margin-left:472px; 
	font: 70% tahoma;
	color: #666;
    min-height: 400px;
} 

#main P
{
    text-align: justify;
}

#main H1, H2, H3
{
    padding-left:0px;
}

#main .content
{
    padding: 0px 30px;
}

#main .content .lightbg
{
    background-color: #F5F5DC;
    padding:5px;
    border: dashed 1px #CCC;
    margin: 5px 0px;
    display: block;
}

/*#main .content .dmtxt DIV DIV DIV, */ #main .content .dmtxt PRE, #main .content PRE
{/*
    width: 650px;
	max-width: 650px;
	display: inline-block;
    overflow: auto;
	overflow-x: auto;*/
}

#main .content .dmtxt
{
	height: auto;
}

.paddedTextBox
{
    margin: 2px 0px;
    display: block;
}

/* Ïðèìå÷àíèå: åñëè áëîê #sidebar áóäåò êîðî÷å ÷åì áëîê #main, òîãäà ìîæåòå óäàëèòü ýòî ïðàâèëî */ 

#sidebar 
{ 
	/* Äëÿ ñîõðàíåíèÿ êîíòåíòà áëîêà #sidebar ñïðàâà îò áëîêà #main, åñëè êîíòåíòà â #main ìåíüøå */ 
	padding:0 0 0 100%; 
	/* Âîçâðàùàåì áëîê #sidebar íà ìåñòî, êîòîðûé áûë âûòåñíåí èç âüþïîðòà èç-çà îòñòóïà */ 
	margin:0px 0px 0px -210px;
	font: 70% tahoma;
	color: #666;
} 

#sidebar p 
{ 
	/* Óäîñòîâåðèìñÿ ÷òî IE (v6 sp2) îòîáðàæàåò ýëåìåíò (òà æå ïðîáëåìà ÷òî è ñ áëîêîì #header, íî ðåøåíèå äðóãîå) */
	/*position:relative;*/
} 

#sidebar A
{
    text-decoration: none;
    /*color: #666;*/
}

#sidebar A:hover
{
    text-decoration: underline;
    /*color: #3F78A8;*/
}

#header #info SPAN
{
    color: #CCC;
}

#footer 
{ 
	/* Ñì. áëîê #outer_wrapper */ 
	width:100%; 
	/* Äëÿ î÷èñòêè #container */ 
	clear:both; 
	/*border-top: solid 1px #999;	
	background-color: #EEE;*/
	background: #FFF url("../../images/logofooter6.gif") repeat-x top;
    /*padding-top: 10px;*/
    height: 80px;
} 

#footer .book
{
    position: relative;
    float:left;
    margin-top: -120px;
}

#footer P
{
    font: 70% tahoma;
    color: #999;
    padding: 20px 0px 20px 30px;
}

/* Ýòîò êëàññ ïðèìåíÿåòñÿ ê 2-ì ñòðóêòóðíûì õàêàì â ðàçìåòêå. Ïåðâûé "áåññìûñëåííûé" ýëåìåíò èñïîëüçóåòñÿ äëÿ î÷èñòêè áëîêà #left â NN6, à ïîñëåäíèé äëÿ î÷èñòêè #container â NN4 */ 
.clearing 
{
	height:0;
	clear:both;
}

.topline
{
	width: 100%;
	height: 9px;
	background: #999 url(../../images/toplinebg4.gif) left repeat-x;
	margin: 0px;
	padding: 0px;
}

.logo
{
	padding: 0px 30px 0px 30px;
 	height: 50px;
	float: left;
}

.logo P, .logo H1
{
	font: 11px tahoma;
	color: #963;
	margin: 0px;
	line-height: 25px;
}

.common
{
    display: inline;
    text-transform: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0px;
    margin: 0px;
}

#header .logo H1
{
    text-transform: none;
    padding: 0px;
}

.topmenu
{
	float: left;
	font: 14px tahoma;
	/*text-transform: uppercase;*/
	line-height: 15px;
	padding-top: 32px;
}

.topmenu A
{
	text-decoration: none;
	color: #999;
	background: url("../../images/menulinkbg.gif") repeat-x bottom;
    letter-spacing: 1px;
}

.topmenu A:hover
{
	color: #333;
}

.topmenu SPAN
{
	padding-left: 20px;
}

#info
{
    font: 70% tahoma;
	color: #666;
	float: right;
	/*color: #999;
	font: 14px georgia;
	line-height:15px;*/
	padding: 20px 30px 0px 0px;
	width: 170px;	
}

BODY #mainbg .headershadow
{
	background: #FFF url(../../images/headershadow.gif) top right no-repeat;
	width: 550px;	
	height: 6px;
	float:right;
}

.usermenu
{
    clear:left;
	padding: 0px 0px 15px 30px;
	float:left;
    position: relative;
	color: #999;
	font: 11px tahoma;
	width: 300px;
}

.usermenu
{
    margin-top: 5px;
}

.usermenu A
{
	text-decoration: none;
	/*color: #3F78A8;*/
}

.usermenu A:hover
{
	text-decoration: underline;
}

.comment
{
    font: 80% tahoma;
    color: #999;
}

.table TD
{
    padding: 2px 0px; 
}

.greenText, #main .greenText, #main .content .greenText, #sidebar #info .greenText, #header #info .greenText
{
    color: #696;
}

.redText, #main .redText, #main .content .redText, #sidebar #info .redText, #header #info .redText
{
    color: #B22222;
}

.invisible
{
    visibility: hidden;
    display: none;
}

.commonTable
{
    background: #CCC;
}

.commonTable TD
{
    padding: 0px 2px;
    background: #F9F9F9;
}

.commonTable .header TD
{
    background: #EAEAEA;
    font-weight: bold;
}


.noUnderline A, #main .content .noUnderline,#left .noUnderline, #sidebar .noUnderline, .content #leftmenu .noUnderline 
{
    text-decoration: none;
}

.mailbox:visited
{
    color: #999;
}

#main .content .commentItem
{
    /*background: #FFFAE1;*/
    background: #EDECEB url("../../images/commentbg2.gif");
    padding: 5px;
    border: dashed 1px #CCC;
}

#main .content .diceLine SPAN
{
    border: solid 1px #CCC;
    background: #F0F0F0;
    font: bold 11px tahoma;
    color: #963;
    padding: 2px;
}

#main .content .commentItem .diceRollsbg
{
    /*background: #FFEBCD;*/
    background: #E6E6E5;
    padding: 0px 2px;
}

#main .content .commentItem .diceRollsbg P
{
    padding: 2px 0px;
}

#main .content .commentItem A
{
    text-decoration: none;
}

#chatArea
{
    border: dashed 1px #CCC;
    /*overflow: auto;
    height: 500px;*/
    margin: 0px;
    padding: 0px;   
}

#chatArea IMG
{
    max-width: 300px;
}

.chatHeader
{
    color: #999;
    background: #E6E6E5;
    font: 12px tahoma;
    padding: 5px;
}

#chatGrid P
{
    margin: 0px;
    padding: 2px 5px;
    font: 12px tahoma;
    word-wrap: break-word;
}
.smallImage IMG
{
    max-width: 300px;
}



.postcomment
{
    color: #7B532B;
}

.ratinglink
{
    font: 80% Courier;
}

#main .content .portrait, #main .portrait, portrait
{
    margin: 2px 0px;
    display: block;
    border: solid 1px #999;
}

.submenu
{
    background-color: #EFEFEF;
    border: solid 1px #CCC;
}

.inline .submenu:hover
{
    /*overflow: auto; */
    text-decoration: none;
}

TD A
{
    text-decoration: none;
}

TD A:hover
{
    text-decoration: underline;
}

.brackets 
{
    color: #999;
}

.delimiter, #main .contents .delimiter
{
    background: url("../../images/delimiterbg.gif") repeat-x left center;
    padding: 10px 0px;
    width: 99%;
}

.slimdelimiter, #main .contents .slimdelimiter
{
    background: url("../../images/delimiterbg.gif") repeat-x left center;
    height: 10px;
    margin-left: 7px;
    width: 90%;
}

.chatdelimiter, #main .contents .chatdelimiter
{
    background: url("../../images/delimiterbg.gif") repeat-x left center;
    height: 10px;
    margin-left: 7px;
    width: 99%;
}

.pager 
{
    
}

.pager A
{
    text-decoration: none;
	color: #3F78A8;
}

.invisible
{
    display:none;
    visibility: hidden;
}

.visible
{
    display: block;
    visibility: visible;
}

#main .content .advantageItem
{
    background: #EEE;
    padding: 5px;
    /*border: dashed 1px #E0E0E0;*/
}

.advantageItem .number
{
    font: bold 18px georgia;
    color: #DDD;
}

.advantageItem .link A
{
    font: bold 16px tahoma;
}

.advantageItem .link A:hover
{
     text-decoration: none;
     color: #963;
}

.advantageItem .advantage
{
    font: bold 100% tahoma;
    color: #696;
}

#main .content .mainbanner, #sidebar .content .mainbanner
{ 
    
}

#main .content  .innerAdvert
{
    /*display: block;
    padding: 2px;
    font-weight: bold;
    border: dashed 1px #CCC;*/
    text-align: left;   
    margin: 5px 0px;
    padding: 0px 5px;
    width: 97%;    
    background-color: #E6E6E5;
    line-height: 18px;
}

#main .content .mainbanner P
{
    border: dashed 1px #CCC;
    text-align: left;
    padding: 2px;
    margin: 0px;
    width: 99%;
    font-weight: bold;
    background-color: #F5F5DC;
}



#main .content .mainbanner SPAN, #sidebar .content .mainbanner SPAN, #sidebar .mainbanner SPAN
{
    padding: 0px; 
    margin: 0px;
    font: 10px tahoma;
    color: #CCC;
    text-align: left;
}

.sidebarAdvert
{
    border: dashed 1px #CCC;
    text-align: left;
    padding: 2px;
    margin: 0px;
    width: 196px;
    font-weight: bold;
}

.sidebarAdvert SPAN
{
    padding: 0px; 
    margin: 0px;
    font: 10px tahoma;
    color: #CCC;
    text-align: left;
}

#main .sidebarAdvert
{
    width: 200px;    
}

#main .sidebarAdvert P, #main .sidebarAdvert A
{
    text-align: center;
}

.important
{
    font-size: 12px;
}

.defaultOpinion
{
}

.defaultOpinion .bg, .defaultOpinion .bg TD
{
	background-color: #ebe9da;
	color: #363;
}

.blacktext
{
    color: #333;    
}

.playerInfo
{
    position: fixed;
    left: 10px;
    top: 10px;
    width: 250px;
    height: 400px;
    overflow: auto;
    background-color: #EFEFEF;
    border: solid 1px #CCC;
    padding: 5px;
}

.gray6
{
	color: #666;
    display: block;
    padding-bottom: 4px;
}

.gray7
{
	color: #666;
}

.gray7:hover
{
	text-decoration: none;
}

.sidepadding, .sidepadding TD
{
    padding: 2px 4px;
}

* html body .dmtextbox {
	width: 90%;
	overflow: auto;
}


BODY #wrapper .gray
{
    color: #999;
}

BODY #main .padding5 TD
{
    padding: 0px 5px;
}

BODY #main .padding5 TD TD
{
    padding: 0px;
}

.graytext, .grayText
{
    color: #999;
}

.lightgraytext, .lightgrayText
{
    color: #CCC;
}

.commentItem
{
    /*max-width: 700px;*/
    /*overflow: auto;*/
}

.commentItem .dmtxt 
{
	width: 100%;
}

.commentItem .dmtxt IMG
{
    max-width: 650px;
    overflow: auto;
}

.quote
{
    background: #E6E6E5;
    border-left: solid 10px #B0C4DE;
    padding: 5px 5px;
    display: block;
}

.bold 
{
    font-weight: bold;
}

.commonTable
{
    background-color: #CCC;
    color: #666;
}

.commonTable .header TD
{
    background-color: #EAEAEA;
    font-weight: bold;
    text-align: center;
}

.commonTable TR TD
{
    background-color: #F9F9F9;
    padding: 2px 4px;
}

#links
{
    font: 10px tahoma;
}

#links A, #links
{
    color: #CCC;
    text-decoration: none;
}

.padding2pxhor
{
    padding: 0px 2px;
}

.storng16px
{
    font: bold 16px tahoma;
}

.important
{
    font: bold 120% tahoma;
}
