body
{ margin:0;
background:url(img/mainfon.jpg) repeat
}
h1 /*Название статьи*/
{ padding:5px; margin:0px; background:url(img/brownfon2.jpg); font-family:"Comic Sans MS"; color:#FFFFFF; font-size:20px; border: ridge #660000 6px; text-align:center;

}

h2 /* Название игры*/
{
margin-top:15px; margin-left:30px; margin-right:30px; margin-bottom:10px; text-align:center;
font-family:  Monotype Corsiva;  font-size: 31px; border-color:#660000; border:#660000 3px solid; color:#440000; padding:0px; background:url(img/fon1.jpg)
}

h4 /* Верхняя надпись: Мир ...*/
{
margin-top:3px; margin-bottom:10px ; margin-left:290px;
font-family:  Monotype Corsiva;  font-size: 31px; color:#660000; 
}

h3 /* Самая верхняя строка*/
{
font-family:  Verdana;  font-size: 11px; color:#FFFFFF ; 
background: #800040 url(img/brownfon1.jpg) repeat-x;
margin:0px;
padding-top: 1px; padding-bottom: 1px; padding-left: 5px;
border-bottom:solid black 1px;
border-top:solid black 1px;
border-left:solid brown 1px;
border-right:solid brown 1px;
}

/*Заголовки статей в списках*/
h5
{ padding:1px; padding-left:7px; margin:0px; background:url(img/brownfon1.jpg); font-family:"Comic Sans MS"; color:#FFFFFF; font-size:13px; border: outset #660000 3px; text-align:left;
}

h6
{ padding:15px 0 5px 5px; margin:0 0 0 5px;  font-family: "Century Gothic"; color: #550000; font-size:18px; text-align:right; margin-right: 20px;
}
h6.le {text-align:left}
h6.ce {text-align:center}
.topbanner /*Позиция верхнего баннера*/
{
margin-top:16px; margin-bottom:10px ; margin-left:290px;
}

.letterline /*Буквы от А до Я*/
{
background: #800040 url(img/brownfon1.jpg) repeat-x;
text-align:center ; padding-bottom:2px;
font-family: Comic Sans MS; font-weight:bold;  font-size:12px;
letter-spacing:1px;
}
.x {font-weight:bold;}
a.x:link {text-decoration:none; color:#e6e6fa}
a.x:active {text-decoration:none; color:#FFFFFF}
a.x:visited {text-decoration:none; color:#e6e6fa}
a.x:hover {text-decoration:none; color:#FFFFFF}

/*Боковые блоки */
.papirus
{ background:url(img/papirus.jpg) center repeat-y;
padding-left:17px;
padding-right:17px
}

.planka
{ background:url(img/planka.jpg) no-repeat center;
width:200px;
height:20px;
}

.endpapirus
{ background:url(img/endpapirus.jpg) center no-repeat ;
width:206px;
height:21px;
}

/*заголовки в блоках*/
.blocktitle
{ font-family:Arial; font-style:italic;
color:#400000;
text-align:center;
font-size:14px;
margin-top: 3px; margin-bottom:0px;
}



/*Ссылки на разделы в блоках*/
ul.menu {margin-top:0; margin-bottom:0; padding-left:0; list-style: none; text-align:left; font-weight:bold;}
li.m {padding:0 0 0 11px; background:url(img/paint.gif) no-repeat  0px 5px; font-family:"Comic Sans MS" ; font-size:13px; }

.m {text-decoration:none; color:#200000;  white-space:nowrap;}
a.m:link {text-decoration:none; color:#200000;}
a.m:active {text-decoration:none; color:#AD090E;}
a.m:visited {text-decoration:none; color:#200000;}
a.m:hover {text-decoration:none; color:#AD090E;}

/*Ссылки на категории в блоках*/
ul.menu2 {margin-top:0; margin-bottom:0; padding-left:10px; list-style: none;}
li.m2 {padding:2px 0 0 11px; background:url(img/paint.gif) no-repeat  0px 7px; font-family:"Comic Sans MS" ; font-size:12px}

.m2 {text-decoration:none; color:#AD090E;  white-space:nowrap;}
a.m2:link {text-decoration:none; color:#500000}
a.m2:active {text-decoration:none; color:#AD090E}
a.m2:visited {text-decoration:none; color:#500000}
a.m2:hover {text-decoration:none; color:#AD090E}

a.m2m:link {text-decoration:none; color:#AD090E}
a.m2m:active {text-decoration:none; color:#AD090E}
a.m2m:visited {text-decoration:none; color:#AD090E}
a.m2m:hover {text-decoration:none; color:#AD090E}


ul.menu {margin-top:0; margin-bottom:0; padding-left:0; list-style: none;}
li.m3 {padding:0 0 0 11px; background:url(img/paint.gif) no-repeat  0px 5px; font-family:"Comic Sans MS" ; font-size:13px; font-weight:bolder;}


/*Центральная часть - фон*/
.center1
{ background:url(img/center1.jpg) center no-repeat ;
width:16px;
height:18px;}
.center3
{ background:url(img/center3.jpg) center no-repeat ;
width:16px;
height:18px;}
.center7
{ background:url(img/center7.jpg) center no-repeat ;
width:16px;
height:18px;}
.center9
{ background:url(img/center9.jpg) center no-repeat ;
width:16px;
height:18px;}
.center2
{ background:url(img/center2.jpg) repeat-x ;
height:18px;}
.center4
{ background:url(img/center4.jpg) repeat-y ;
width:16px;}
.center6
{ background:url(img/center6.jpg) repeat-y ;
width:16px;}
.center8
{ background:url(img/center8.jpg) repeat-x ;
height:18px;}
.center5
{ background:url(img/fon2.jpg) repeat}

/*Нижняя часть*/
.footer
{ background:url(img/brownfon2.jpg) repeat-x;}


/*Стили таблицы с играми*/

/*Середина*/
.gcenter
{ border-left:solid #660000 3px;
border-right:solid #660000 3px;
background:url(img/fon4.jpg) repeat; padding: 10px
}

/*Верх*/
.gmaintop
{ border-left:solid #660000 3px;
border-right:solid #660000 3px;
border-top:solid #660000 3px;
background:url(img/fon4.jpg) repeat;
 font-family:"Comic Sans MS" ; font-size:13px; font-weight:bold;  color:#250000; text-align:center;
 padding-left:2px; padding-right:2px; padding-top:2px; padding-bottom:2px;
 white-space:nowrap;
}
.gtop
{ border-left 0px;
border-bottom:solid #660000 3px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon2.jpg); text-align:center;
 white-space:nowrap;
}


/*Низ*/
.gmainbottom
{ border-left:solid #660000 3px;
border-right:solid #660000 3px;
border-bottom:solid #660000 3px;
background:url(img/fon4.jpg) repeat;
font-family:"Comic Sans MS" ; font-size:13px; font-weight:bold;  color:#250000;  text-align:center;
 padding-left:2px; padding-right:2px; padding-top:2px; padding-bottom:2px;
 white-space:nowrap;
}
.gbottom
{ border-left 0px;
border-top:solid #660000 3px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon2.jpg); text-align:center;
 white-space:nowrap;
}

.g {text-decoration:none;}
a.g:link {text-decoration:none; color:#400000;
 border-left:solid #660000 1px;
border-right:solid #660000 1px;
border-top:solid #660000 1px;
border-bottom:solid #660000 0px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon1.jpg); text-align:center; 
 padding-left:2px; padding-right:2px;}
a.g:active {text-decoration:none; color:#AD090E}
a.g:visited {text-decoration:none; color:#400000;
 border-left:solid #660000 1px;
border-right:solid #660000 1px;
border-top:solid #660000 1px;
border-bottom:solid #660000 0px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon1.jpg); text-align:center; 
 padding-left:2px; padding-right:2px;}
a.g:hover {text-decoration:none; color:#AD090E;
 border-left:solid #660000 3px;
border-right:solid #660000 3px;
border-top:solid #660000 3px;
border-bottom: #660000 dotted ;
background:url(img/fon1.jpg) repeat;
 font-family:"Comic Sans MS" ; font-size:13px; color:#200000; text-align:center;
padding-left:6px; padding-right:6px; padding-top:1px; padding-bottom:3px;}

.g2 {text-decoration:none;}
a.g2:link {text-decoration:none; color:#400000;
 border-left:solid #660000 1px;
border-right:solid #660000 1px;
border-top:solid #660000 0px;
border-bottom:solid #660000 1px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon1.jpg); text-align:center; 
 padding-left:2px; padding-right:2px;}
a.g2:active {text-decoration:none; color:#AD090E}
a.g2:visited {text-decoration:none; color:#400000;
 border-left:solid #660000 1px;
border-right:solid #660000 1px;
border-top:solid #660000 0px;
border-bottom:solid #660000 1px;
 font-family:"Comic Sans MS" ; font-size:12px;   color:#400000; background:url(img/fon1.jpg); text-align:center; 
 padding-left:2px; padding-right:2px;}
a.g2:hover {text-decoration:none; color:#AD090E;
 border-left:solid #660000 3px;
border-right:solid #660000 3px;
border-top: #660000 dotted;
border-bottom:solid #660000 3px;
background:url(img/fon1.jpg) repeat;
 font-family:"Comic Sans MS" ; font-size:13px; color:#200000; text-align:center;
padding-left:6px; padding-right:6px; padding-top:3px; padding-bottom:1px;}

/*Текст статей*/
li.s strong, p strong {color:#770000}
p { text-indent:20px;  margin:0; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; text-align:justify; color:#150000; padding-left:10px; padding-top:10px; padding-bottom:5px; padding-right:10px;}
p.ri {text-align: right;}


/*Рамка картинки 125х100*/
.ram
{border:#660000 groove 5px; margin:10px; margin-bottom:0px; width:125px;; height:100px; background:url(mini/image.jpg)
}
/*стиль таблицы общей инфы*/
.infram
{border-top:#660000 3px inset; border-bottom:#550000 3px inset; border-right:#550000 3px inset; border-left:#550000 3px inset; font-family:Verdana; font-size:13px; margin:10px; padding:1px; text-align:left; color:#200000; white-space:nowrap;}

a:link {text-decoration:none; color:#660000;}
a:active {text-decoration:none; color:#AD090E;}
a:visited {text-decoration:none; color:#660000;}
a:hover {text-decoration:underline; color:#bb0000;}

.r {padding:3px; text-decoration:none; color:#660000;}
a.r:link {text-decoration:none; color:#660000;}
a.r:active {text-decoration:none; color:#AD090E;}
a.r:visited {text-decoration:none; color:#660000;}
a.r:hover {text-decoration:none; color:#bb0000;}

/*Жирный без стронга*/
.b
{font-weight:bold;}
td.b
{padding-left:2px; padding-bottom:0px; color:#220000; white-space:normal}
/*Нежирный стронг*/
strong.n, li.s strong.n { font-weight:normal; color:#150000;}

/*Оформление ссылок с сайтами*/
.gsite
{ border: 4px #660000 inset; text-align:center; width:127px; margin-right:10px; margin-top:7px; margin-bottom:0px; margin-left:10px; font-family:Century Gothic; font-weight:bold; font-size:13px; background-color:#660000; color: #FFFFFF; padding-top:2px; padding-bottom:3px; text-indent:0px; padding-left:0px; padding-right:0px;
}


/*468x60*/
.reclama
{ background-image:url(img/reclama.png); text-align:center; background-repeat: no-repeat; background-position: center; padding:20px;
}
/*В полной новости подпись*/
.tad
{ font-size:11px; border-top:dashed  #AAAAAA 1px;border-bottom:dashed  #AAAAAA 1px; font-family:Georgia; padding:2px; color: #222222; white-space:nowrap;
}
/*Блок с краткой новостью*/
.artblock
{ background:url(img/fon1.jpg); margin:0px 5px 4px 5px; border-right:#FF9933 ridge 4px; border-left:#FF9933 ridge 4px;border-top:#FF9933 ridge 0px; border-bottom: #FF9933 ridge 4px; width:98%

}
.pstrnav { text-align:center;
	padding: 5px 5px 5px 5px;
	color:#66000;  font-family: Georgia;  font-size:13px; text-indent:5px;
}

.pstrnav a{text-align:center;
	 font-family: Georgia; font-size:13px;color:#660000; text-decoration:none;
}

/*Главная страница*/

/*Информеры в полосочку*/
.h
{ padding:1px; padding-left:7px; background:url(img/brownfon1.jpg); font-family: "Century Gothic" ; color:#FFFFFF; font-size:13px; border:  solid #660000 3px; text-align:center; font-weight:bold; text-indent:0px;
}


.polosa1
{ padding:1px 5px 0px 5px; background:url(img/fon1.jpg); font-family:Times New Roman; font-size:15px; text-indent:0;
}
.polosa2
{padding: 1px 5px 0px 5px; background:url(img/fon3.jpg); font-family:Times New Roman; font-size:15px; text-indent:0;
}
.polram
{ border: solid 3px #660000 ; border-top: none; 
}

/*4 картинки на главной*/
.box { border:#EDC387 inset 5px; margin:15px 6px 0px 6px; background:D3B07C;
}
.allbox {background:url(img/fon1.jpg); border:#EDC387 5px outset
}
/*Тип картинки около названия*/
.arttype
{ margin:0px 0px 0px 10px; border:#660000 solid 1px;

}

.up {padding:0px 0px 2px 11px; margin:1px 1px 1px 1px; font-family:"Comic Sans MS" ; font-size:13px; font-weight:bolder; color:#666000; border:#660000 outset 2px; background:url(img/fon1.jpg); text-align:left }

/*Ссылки на типы галереи*/
.gt {font-weight:bold;  text-align:center; font-family:Century Gothic; margin: 0 5px 0px 5px; padding: 2px 10px 3px 10px; background:#660000; font-size:14px;}
a.gt:link {text-decoration:none; color:#e6e6fa; border: 4px #660000 outset; }
a.gt:active {text-decoration:none; color:#e6e6fa; border: 4px #880000 inset;}
a.gt:visited {text-decoration:none; color:#e6e6fa;border: 4px #660000 outset;}
a.gt:hover {text-decoration:none; color:#FFFFFF; border: 4px #660000 inset;}
.gt2 {font-weight:bold;  text-align:center; font-family:Century Gothic; margin: 0 5px 0px 5px; padding: 2px 10px 3px 10px; background:#880000; font-size:14px;  border: 4px #880000 inset; color:#FFFFFF;}

.galram
{ border: solid 3px #660000 ; border-bottom: none; 
}

.galram2
{ border: solid 3px #660000 ;
}

hr {color:#EBD98E;}

.mark { font-family:"Comic Sans MS"; text-align:right; color:#660000; font-size:16px; margin-right:50px;}


ul.s { list-style: none; text-indent:20px;  margin:0 0 0 15px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; text-align:justify; color:#150000; padding-left:10px; padding-top:8px; padding-bottom:0px; padding-right:15px;
}
li.s {padding-top:3px; background:url(img/paint.gif)  no-repeat  5px 5px;}

.cit{ font-family:Century Gothic; font-style:italic; background:url(img/fon5.jpg); border: #666666 2px solid; font-size:13px; padding:5px; text-align:center}

.ef {font-family: "Comic Sans MS"; font-size:14px;}
a.ef:link {text-decoration:none; color:#330000}
a.ef:active {text-decoration:none; color:#FFFFFF;}
a.ef:visited {text-decoration:none; color:#330000;;}
a.ef:hover {text-decoration:none; color:#FFFFFF;}

.search
{ color:#330000; font-family:"Comic Sans MS"; font-size:14px; border:solid 2px #660000; background:none;margin:2px; font-weight:bold;
}
.seap
{font-family:"Comic Sans MS"; font-size:14px; border:solid 2px #660000; margin:2px;
}
.ram2
{border:#666666  solid 3px; margin:10px; margin-bottom:0px; background:url(mini/image.jpg)
}

/* use a semi-transparent image for the overlay */
      #overlay {
      background-image:url(scripts/white.png);
      color:#efefef;
      }

  /* положение странички */
      div.wrap {
      height:400px;
	  width: 200px;
      overflow-y:auto;
      }
	  

/* the overlayed element */
div.overlay {	
/* growing background image */
	background-image:url(white.png);
	
	/* dimensions after the growing animation finishes  */
	width:410px;
	height:200px;		
	
	/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:15px 0px 0px 15px;
}

/* default close button positioned on upper right corner */
div.overlay div.close {
	background-image:url(scripts/close.png);
	position:absolute;
	right:190px;
	top:0px;
	cursor:pointer;
	height:35px;
	width:35px;
}

tizimg {
 border: 1px solid rgb(43, 43, 43); margin: 0px 5px 0px 0pt; float: left;" width="50" height="50"
}

tiztxt {
text-decoration:none; color: #660000; font-family:  Comic Sans MS; font-size:13px;
}

tiztd {padding: 5px 0px 5px 0px;
}
