/* BODY */
body {abackground: #EEEEEE; font-size: 10pt; font-family:  tahoma, arial, sans-serif, verdana; margin: 0; background:#B5B5B5 url(/i/afbg-body.gif) repeat-x;}


/* TABLES */
td {color: #666666;}


#logo1_td {abackground: #B50D13 url(/i/top_bgr1.jpg) no-repeat top left; padding-top: 20;}
#top_td {abackground: #B50D13 url(/i/top_bgr2.jpg) no-repeat top left;}
#logo2_td {abackground: #B50D13 url(/i/top_bgr3.jpg) no-repeat top left; padding-top: 0;}


#top, #main, #footer {border-left: 1px solid #990000; border-right: 1px solid #990000;}
table.block {margin-top: 0; margin-bottom: 5;}
td.main_td {background: #FFFFFF;}


#menu_td {background: #681B1B; color: #FFFFFF; text-align:center; vertical-align: middle;}
#footer_line {background: #B50D13 url(/i/bottom_bgr.jpg) no-repeat top left;}
#footer_td {color: #666666; background: #FFFFFF; font-size: 7pt; padding: 10 10 10 20;}

td.block_title {color: #FFFFFF; font-size: 10pt; font-weight: bolder; background: #B50D13 url(/i/title_bgr.gif) top left no-repeat; border-bottom: solid 2px #666666; padding: 0 0 0 30;}
td.inblock_title {color: #FFFFFF; font-size: 10pt; font-weight: bolder; background: #D00D15 url(/i/intitle_bgr.gif) top right no-repeat; border-bottom: solid 2px #666666; padding: 0 0 0 0;}
td.block_td {padding: 10 5 5 10;}
td.cal_block {background: #EEEEEE;}


td.block_title300 {color: #FFFFFF; font-size: 10pt; font-weight: bolder; background: #B50D13 url(/i/title_bgr300.gif) top left no-repeat; border-bottom: solid 2px #666666; padding: 0 0 0 30;}
td.inblock_title300 {color: #FFFFFF; font-size: 10pt; font-weight: bolder; background: #D00D15 url(/i/intitle_bgr300.gif) top right no-repeat; border-bottom: solid 2px #666666; padding: 0 0 0 0;}
td.block_td300 {padding: 10 5 5 10;}


#calendar td { font-size: 9pt; font-weight: bolder; padding: 5 0 5 0; text-align: center;}
/* #today {background: #666666; color: #FFFFFF;} */
#calendar {
   width:180px;
   background-color: #E6E6E6; 
   border-collapse: separate; 
   border-spacing: 5px;
} 
td.calendarHeader {color: #880000; background-color: #D8D8D8;}
td.weekend {color: #990000; background-color: #D8D8D8;}
td.calendar { background-color: #E1E1E1;} 
 .calendarToday { background-color: #333333; color:#FFFFFF; }
/*.calendarweekToday { background-color: #820000; color:#FFFFFF; } */



/* DIV */
#menu_td div {height: 30px;}
#footer_line div {height: 20px; padding-left: 20;}
td.block_title div {height: 20px;}


/* IMAGES */
img.anons {border: #990000 1px solid; padding: 2 2 2 2; float: left;margin:5px;}

img.objimg {border: #990000 1px solid; padding: 3 3 3 3;}

/* LINKS */
a {color: #213C89; text-decoration: underline;}

a.menu {color: #FFFFFF; font-size: 11pt; font-weight: bolder; text-decoration: none; vertical-align: middle;}
a.menu:hover {text-decoration: underline; background: #FFFFFF; color:#681B1B;}

a.amenu {color: #F6C7C7; font-size: 11pt; font-weight: bolder; text-decoration: none;  vertical-align: middle;}
a.amenu:hover {text-decoration: underline;}

a.menua {color: #6B1818; background-color: white; font-size: 14px; font-weight: bolder; text-decoration: none; vertical-align: middle;}
a.menua:hover {text-decoration: underline;}


a.submenu {color: #FFFFFF; font-size: 9pt; text-decoration: underline;}
a.submenu:hover {text-decoration: none;}


a.afnews {color: #666666; text-decoration: none; font-size:9pt;}
a.afnews:hover {text-decoration: underline;}

a.day {color: #666666; text-decoration: underline;}
a.weekend {color: #990000; text-decoration: underline;}
a.today {color: #FFFFFF; text-decoration: underline;}

a.mail {color: #990000;  text-decoration: underline;}
a.infoline {color: #666666; text-decoration: none;}

/* TEXT */
font.red_title {color: #CC0000; font-size: 11pt; font-weight: bolder;}
b.red_title {color: #CC0000; font-size: 10pt; font-weight: bolder;}
b.red_bigtitle {color: #CC0000; font-size: 13pt; font-weight: bolder;}
b.infoline {color: #CC0000; font-size: 10pt; font-weight: bolder;}
div.red_title {color: #CC0000; font-size: 10pt; font-weight: bolder;}


#menu_td span {vertical-align: middle; margin-left: 20;}
td.block_title span {vertical-align: middle;}
#footer_line span {vertical-align: top; margin-right: 30;}
p  {margin: 0 0 10 0; font-size: 8pt; color: #666666; text-align: justify;}
div.text {margin: 0 0 10 0; font-size: 8pt; color: #666666; text-align: justify;}
div.event  {margin: 0 0 10 0; font-size: 8pt; color: #666666; text-align: justify;clear:both;}
span.date {color: #990000; font-weight: bolder; font-size: 10pt;}



ul > li, ol > li {
    font-size: 8pt;
}


.bonus {
        color: black;
        font: 13px Arial;
        background-color: #FFDEDE;
        border: 1px solid #CC0000;
        padding: 1em;
}
.news-captions { font-size: 12px; }
.news-captions-red { font-size: 12px; color: #FF0000; 	font-weight: bold;}
#titwhite { font-family: Arial; font-size: 14px; color: #FFFFFF; font-weight: bold; }


a.afisha_title {color: #000; font-size:11px; font-weight: bolder; text-decoration: none;}
a.afisha_title2 {color: #000; font-size:10px; font-weight: bolder; text-decoration: none;}

a.afisha_now {color: #000; font-size: 5pt; text-decoration: none;}

a.afisha_raz {color: #ABA99C; font-size: 7pt; text-decoration: none; margin-bottom: 10px;margin-top: 20px; }

#raspisanie td {padding-bottom: 8px; padding-left: 8px;}

div.comments 
{
   margin: 5px;
   font-size: 7pt;
}

div.commenttitle {
   /* border-bottom: #000 dashed 1px; 
   width:300px; */
   margin-top: 5px;
   font-size: 9pt;
}

span.comuser {
	color: gray;
        font-size: 9pt; 
        border-bottom: #dedede dashed 1px; 
        font-weight: bolder;
	margin-left: 30px;
	}
span.comdate {
	color: gray;
        font-size: 7pt; 
        border-bottom: #dedede dashed 1px; 
        font-weight: bolder;
	}
span.comstars {
        font-size: 7pt; 
        border-bottom: #dedede dashed 1px; 
        font-weight: bolder;
	}
div.cominfo {
	color: black;
        font-size: 9pt;
	margin-top: 0.5em;
	margin-bottom: 1em;
	margin-left: 100px;
	}

select.ratingInput{border:1px solid #CCCCCC; font-size:11px; font-family: Verdana, sans-serif;}

input.usernameInput{border:1px solid #CCCCCC; font-size:11px; font-family: Verdana, sans-serif;}

textarea.commentInput{border:1px solid #CCCCCC; font-size:11px; font-family: Verdana, sans-serif;}


.gradient_top {position:absolute;top:0;left:0;z-index:1;width:100%;height:261px;background:url(http://www.dmitrov.su/i/bg_main_top.png) repeat-x 0 0;-background-image:none;-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.dmitrov.su/i/bg_main_top.png', sizingMethod='scale');}
.container {position:relative;z-index:20;height:100%;min-width:1000px;max-width:1000px;margin:0 auto;background-color:#f2f0e6; width:1140px;}



td.top_banners {  /* Серая верхняя ячейка (содержит банеры) */	background: url(/i/gray_top.gif) bottom left repeat-x;
	}

td.gray_left {   /* Серая левая ячейка  */
	background: url(/i/gray_left.gif) top right repeat-y;
	}

td.gray_right { /* Серая правая ячейка */
	background: url(/i/gray_right.gif) top left repeat-y;
	}

td.gray_bottom {  /* Серая нижняя ячейка  */
	background: url(/i/gray_btm.gif) top left repeat-x;
	}



/* web2.0shit */
.t {background: url(/i/dot2.gif) 0 0 repeat-x; awidth: 20em;}
.b {background: url(/i/dot2.gif) 0 100% repeat-x}
.l {background: url(/i/dot2.gif) 0 0 repeat-y}
.r {background: url(/i/dot2.gif) 100% 0 repeat-y}
.bl {background: url(/i/bl2.gif) 0 100% no-repeat}
.br {background: url(/i/br2.gif) 100% 100% no-repeat}
.tl {background: url(/i/tl2.gif) 0 0 no-repeat}
.tr {background: url(/i/tr2.gif) 100% 0 no-repeat; padding:10px} 




.sidebox {
margin: 0 auto; /* center for now */
width: 18em; /* ems so it will grow */
background: url(/i/sbbody-r.gif) no-repeat bottom right;
font-size: 100%;
}
.boxhead {
background: url(/i/sbhead-r.gif) no-repeat top right;
margin: 0;
padding: 0;
text-align: center;
}
.boxhead h2 {
background: url(/i/sbhead-l.gif) no-repeat top left;
margin: 0;
padding: 20px 30px 5px;
color: white; 
font-weight: bold; 
font-size: 1.2em; 
line-height: 1em;
text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.boxbody {
background: url(/i/sbbody-l.gif) no-repeat bottom left;
margin: 0;
padding: 5px 30px 31px;
}
.widthlessbox {
margin: 0 25%; /* NO WIDTH! Opens up a world of possibilities! */
background: url(/i/sbbody-r.gif) no-repeat bottom right;
font-size: 100%;
}





#liquid-round {
width:70%;
margin:0px auto;
background:#fff url(/i/leftside.gif) repeat-y left top;
}

.top {
width:100%;
height:20px;
background:url(/i/top.gif) no-repeat left top;
}
.top span {
display:block;
position:relative;
height:20px;
background:url(/i/top-right.gif) no-repeat right top;
}
.center-content {
position:relative;
background:url(/i/rightside.gif) repeat-y right top;
padding:1px 20px 1px 25px;
margin:-1px 0 -50px 0;
}
.bottom {
width:100%;
height:60px;
background:url(/i/bottom.gif) no-repeat left bottom;
}
.bottom span {
display:block;
position:relative;
height:60px;
background:url(/i/bottom-right.gif) no-repeat right top;
}




/* ---------- */
/* элементы закругления */
#advcontent {
	float: center;
	width:275px;
	amargin-top:4em;
}

#newscontent {
	float: center;
	width:340px;
}

#eventcontent {
	float: center;
	width:365px;
}

#doccontent {
	float: center;
	width:710px;
}


.inner-box {
	padding:0.7em 1em; 
}

.r1, .r2, .r3, .r4, .r5, .r6, .r7, .r8, .r9, .r10 {
	display: block;
	height: 1px;
	overflow: hidden;
	font-size:1px;
}

.r10 { margin: 0 10px; }
.r9 { margin: 0 9px; }
.r8 { margin: 0 8px; }
.r7 { margin: 0 7px; }
.r6 { margin: 0 6px; }
.r5 { margin: 0 5px; }
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }

/*

возможные комбинации

r3 r1 r1 вверху
r1 r1 r3 внизу

r5 r3 r2 r1 r1 вверху
r1 r1 r2 r3 r5 внизу

r10 r7 r5 r4 r3 r2 r2 r1 r1 r1 вверху
r1 r1 r1 r2 r2 r3 r4 r5 r7 r10 внизу

однако не стоит ограничивать полет фантазии только этими вариантами, возможны и другие комбинации и не только скругление углов, но и множество других эффектов.

*/

#feeds, #categories, #favorites { margin: 1em;}

#categories .inner-box, #categories b { background-color: #E7E7E7; }
#categories .darkgray-bg b, #categories h3 {background-color: #959595; color:white;}
#categories h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }

#feeds .inner-box, #feeds b { background-color: wheat; }

/* немного выделяем блок лучшие статьи */

#favorites .red-bg b, #favorites h3 {background-color: #D60C10; color:white;}
#favorites h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#favorites .inner-box, #favorites b { background-color: #FDD9DA;  }

#favorites-sm .darkred-bg b, #favorites-sm h3 {background-color: #AC0A0D; color:white;}
#favorites-sm h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#favorites-sm .inner-box, #favorites-sm b { background-color: #FDD9DA;  }

#advbox .red-bg b, #advbox h3 {background-color: #D60C10; color:white; }
#advbox h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#advbox .inner-box, #advbox b { background-color: #E7E7E7;  }

#eventbox .darkred-bg b, #eventbox h3 {background-color: #AC0A0D; color:white; }
#eventbox h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#eventbox .inner-box, #eventbox b { background-color: #E7E7E7;  }

#newsbox .red-bg b, #newsbox h3 {background-color: #D60C10; color:white; }
#newsbox h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#newsbox .inner-box, #newsbox b { background-color: #E7E7E7;  }

#docbox .red-bg b, #docbox h3 {background-color: #D60C10; color:white; }
#docbox h3 { padding:0.25em 0.75em 0.5em; margin-bottom:0; }
#docbox .inner-box, #docbox b { background-color: white;  }



h1 {
	font:1.8em/1em arial;
	margin: 1.5em 0 0.5em 0;
}

h3 {
	font: 1.1em/1.1em arial;
	margin-bottom: 0.5em;
	padding: 0;
	margin: 0;
}

h5 {
	font: 1em/1em arial;
	margin: 0.5em 0;
}

p {
	margin: 1em 0;
}


/* mega cal */
.tableStyle 
{
	background-color: #eeeeee;
}

.monthHeaderStyle 
{
	text-align: center;
	background: #97080A;
	font-weight: bold;
	padding:0px;
	margin:0px;
	padding:0;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 11pt;
}

.dayHeaderStyle {   color:white;  }
.dayHeaderStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	background: #6A6A6A;
	font-weight: bold;
	height: auto;
	width: 14%;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 11pt;
}

.nonMonthStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	line-height: 13px;
	font-weight: normal;
	background: #F5E6D0;
	border: thin dotted #FFCC00;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 8pt;
}

.weekdayStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	font-weight: normal;
	background: #FFBAC9;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 10pt;
}
.weekdayStyle a {   color:white; }

.weekendStyle a {  color:white;  }
.weekendStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	font-weight: bold;
	background: #FDA3A3;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 10pt;
}


.curdateStyle a {  color:white;  }
.curdateStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	font-weight: bold;
	background: #E82C2C;
	color: #FFFFFF;
	font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 11pt;
}

.holidayStyle 
{
	padding:0px;
	margin:0px;
	text-align: center;
	font-weight: normal;
	background: #F4B359;
}

.holidayStyleb 
{
	padding:0px;
	margin:0px;
	text-align: center;
	font-weight: normal;
	background: #09B009;
}

.inputStyle 
{
	background-color: transparent;
	font: 6pt/ 13pt georgia;
	margin: 0px;
	text-align: justify;
	font-weight: bold;
	color: #003CB9;
}



.spqs {width: 190px; padding:2px; margin: 2px; height: 22;
border-left:1px solid #666666;
border-top:1px solid #666666;
border-right:1px solid #CCCCCC;
border-bottom:1px solid #CCCCCC;
}
.spsb {padding: 2px; width: 70px; height: 22;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
border-right: 1px solid #990000;
border-bottom: 1px solid #990000; 
background-color: #cccccc;
}

