/* Глобальные */
body, h1, h2, h3, h4, h5, h6
{font-family: Times New Roman, Serif;
 font-size: 12pt;
 font-style: normal;
 font-variant: normal;
}
body {font-size:12pt;
			 font-weight: normal;}
h1, h2, h3, h4, h5, h6 {font-weight: bold;}
h1 {font-size: 24pt}
h2 {font-size: 18pt}
h3 {font-size: 14pt}
h4 {font-size: 12pt}
h5 {font-size: 10pt}
h6 {font-size: 8pt}

html, body, div, img, a {
	margin: 0;
	padding:0;
	border: 0;
}
 
body { background-image: url("./pictures/back.gif");
	   /*background-image: url("./pictures/ice.gif"); *//*NewYear*/
	/*background-image: url("./pictures/snowflake.gif")*/; /*NewYear*/
			 background-attachment: fixed;}
table th { 
	text-align: left;
	letter-spacing: 4px;
}
nobr { 
	font-style: italic;
	letter-spacing: normal;
}
textarea {
	width: 485px;
	height: 230px;
}

/* Контейнер для всего */
div.maindocument { border-color: #069;
									 border-style: double;
									 border-width: 3px;
									 width: 800px;
									 background-color: #9BDDFF;
									 text-align: left;}
									 
/* Пустой прямоугольник под главным меню */
div.emptydiv {border: 0px solid red;
					 		height: 27px;}

/* контейнер для вкладываемой страницы */
#theme { 
	border-color: #069;
	border-style: double;
	border-width: 3px;
	padding: 7px;
	margin: 0;
	margin-top:26px;
	background-color: #9BDDFF;
	position: static;
}

/* Контейнер для выбора года в Истории */
div.selector { border: 3px double #069;
							 padding:0;
							 float: right;
							 clear: both;
							 width: 180px;
							 height: 80px;
							 text-align:center;
							 margin: 1.3em}

/* Контейнер для логотипа на main страницах олимпиад */
div.label {float: right;
					 clear: both;
					 margin: 1em 1.5em;}
					 
/*Стиль таблицы для программы олимпиады в main.php*/
table.programm {width: 700px;}
table.programm td{text-align: justify;}
table.programm  th {text-align: center;
				letter-spacing: normal;}


/* Подпись Webmaster */
div.admin {width: 800px;
					 text-align: right;
					 font-size: smaller;
					 border: 0px solid green;}
/*Выбор числа постов*/
a.choice {color: #058;
					text-decoration: none;
					font-weight: normal;
					font-size: 6pt;}
a.choice:hover {text-decoration: underline;}


/* index.php */
/* Сообщение в новостях */
div.mess_caption { border: 1px solid #00E;
									 background-color: #04A;
									 color: #FF5;
									 width: 90%;
									 text-align:left;}
/* Тело сообщения в новостях*/
div.message {border-width: 0;
						 background-color: #76BBFF;
						 color: #136;
						 text-align: justify;}
/*div.message p {text-indent: 1em;}*/

/* Сообщение об отсутствии новостей*/
div.nonews { border: 1px solid #00E;
						 background-color: #76BBFF;
						 color: #FFF;
						 text-align: center}
/*Окно лекций*/
div.pop_lect{border: 1px solid #90D0FF;
						 background-color: #A8E1FF;
						 margin: 0px;
						 padding: 3px;
						 width: 90%;}
div.pop_lect h3 {padding: 0px;
								 margin: 0px;}
div.pop_lect h4 {padding: 0px;
								 padding-bottom: 5px;
								 margin: 0px;}

/* gbook */
/* форма для отправки нового сообщения */
div.newgbmessage { border: 3px solid #069;
									 padding: 0;
									 margin: 0;
									 width: 510px;}
div.newgbmesCaption { text-align: center;
					  				  background-color: #069;
					  				  color: #9BDDFF;
					  				  border: 1px solid #047;
					  				  border-left-color: #39C; 
					  				  border-top-color: #39C;}
#gremule1 {border: 1px solid #047;
					 border-bottom-width: 0px;
					 border-right-color: #39C;}
#gremule2 {border: 1px solid #59B;
					 border-bottom-width: 2px;}
form.newgbmessage {border: 0px solid red;
									 margin: 2px 5px;
									 padding: 0px 3px 0px 3px;
									 text-align: left;}
span.smiley {border:0px solid #379;
						 margin: 0px 0px;
						 padding: 9px 0px 1px 5px}
span.smiley img:hover{cursor: pointer;}

/* сообщения гостевой книги */									 
div.gbmescap { width: 85%;
							 background-color: #069;
							 color: #9BDDFF;
							 border: 1px solid #069;
							 text-align: left}
div.gbmesbody {width: 100%;
							 background-color: #8CE;
							 color: #047;
							 border: 0px solid #069;
							 text-align: left;
							 text-align: justify;}
/* сообщение об ошибке*/
div.error {text-align: center;
					 background-color: #D00;
					 color: #FF0;
					 border: 0px solid #069;}


/* history.php */
table.table1 { border: 3px double #069;
							 padding: 0px;
							 margin: 0px}							 
table.table1 td {border: 0px solid #069;
								 border-bottom-width: 1px;
								 border-right-width: 1px;
								 margin: 0;
								 padding: 2px 8px;
								 text-align: center}


/* syllabus.php*/							
table.download {border-width: 0}
table.download tr td { padding: 0 40px;
											 text-align: center}

/* links.php */
div.links h3 { text-decoration: underline;
							 text-align: left;}
div.links a, td.dload a {color: #058;
						 						 text-decoration: none;
						 						 font-weight: bold;}
div.links a:hover, td.dload a:hover {color: red;}

div.links dl dt dd {text-align: justify;}


div.linkdiv {text-align: justify;
						 width: 650px;
						 text-indent: -130px;
						 border: 0px solid red;}


/*photo.php*/
/* стрелки вперед-назад*/
table.arrow {border:0 red solid;
						 width: 760px;
						 margin: 0 9px;
						 padding: 0;}
table.arrow tr td {border: 0 green solid;
									 margin:0;
									 padding: 0; }
table.arrow tr td span { vertical-align: super;
												 color: #069}
table.arrow tr td	a {text-decoration: none;}
/* Рамка для фотографии */
#mainPhoto { border: 4px groove #08B;
						 padding: 0;
						 margin: 0 9px;}
/* Таблица с миниатюрами */
#preview tr td { text-align: center;
								 padding: 0px 1px }
/*#preview tr td img {border: 2px solid transparent}
#preview tr td:hover img{border: 2px solid #069;}
*/

/* problems.php */
table.problems { border: 0px solid navy;
								 padding: 5px}
td.down_cell {padding: 0px 5px 8px 15px;}
td.up_cell 	 {padding: 8px 5px 0px 15px;}
table.problems tr td { border: 0px solid navy;}
td.inscription { color: #047;
								 font-weight: bold;}

/* statute.php*/
table.oldstatute {font-size: small}
ul.mainlist {list-style-type: none;
						 margin: 0px;
						 padding: 0px;}
ol.mainlist {list-style-type: upper-roman;
						 list-style-position: inside;
						 margin: 0px;
						 padding: 0px;}
ul.mainlist li, ol.mainlist li 
							 {font-weight: bold;
								padding: 0px;
								padding-top: 10px;}
ul.mainlist li ul {list-style-type: none;
									 margin: 0px;
									 padding: 0px;}
ul.mainlist li ul li {font-weight: normal;
											text-indent: 30pt;
											padding: 0px;
											padding-top: 5px;}
ul.mainlist li ul li ul, ol.mainlist li ol li ul
												{list-style-type: none;
									 			 margin: 0px;
									 			 padding: 0px;}
ul.mainlist li ul li ul li {padding: 0px;}

ol.mainlist li ol {list-style-position: outside;}

ol.mainlist li ol li {font-weight: normal}


/*quotas.php*/
table.quotalist {width: 750px}
tr.caption td {font-weight: bold;}
tr.summary td {color: red;}
td.ct {text-align: center;
			 width: 180px}

/*books.php*/
td.description {vertical-align: middle;
								padding-left: 20px;
								width:80%}
td.dload {padding-left: 12px;}
/*docs.php*/
div.odocs {width :85%;
					 text-align: justify;
					 border: 0 solid #069;
					 border-bottom-width: 1px;
					 padding-top: 8px;
					 /*border-top-width: 1px;*/}
div.odocs a {color: #058;
						 text-decoration: none;
						 font-weight: bold;}
div.odocs a:hover {text-decoration: underline;}

/*regional.php*/
table.norm {
	width: 100%;
}
table.norm th  {
	text-align: left;
	letter-spacing: 0px;
}
table.norm td {
	text-align:left
}
input.link
{
	background: url(./pictures/watch.gif)no-repeat 0 0;
}
input.link:hover
{
	background: url(./pictures/watch_over.gif)no-repeat 0 0;
}

/*lections.php*/

table.lections_group
{
	width: 100%;
	border: 1px red solid;
}

th.lection_name
{
	letter-spacing: 2px;
}
td.watch
{
	width: 20px;
	text-align: right;
	border: 1px green solid;
}
tr.hidden
{
	visibility: collapse;
}
.lcaption
{
	color: #069;
	text-indent: 0px;
	margin-top: 10px;
	padding-top: 0px;
	margin-bottom: 5px;
	padding-bottom: 0px;
	
}
h3.lcaption{
	padding-top: 20px;
}
