
body{
    margin: 0;
    padding: 0;
    font: 12pt "Trebuchet MS", Arial, sans-serif;
    color: #2e2613;
	background: fixed #fcf4d7 url(img/bodybg.jpg) 50% 0 no-repeat;
}

P{
	margin: 0 0 15px 0;
	font-size: 12pt;
	text-align: justify;
	color: #2e2613;
}

H1{
	margin: 0 0 7px 0;
    font-size: 16pt;
}

H2{
	margin: 0 0 7px 0;
    font-size: 14pt;
}

H3{
	margin: 0 0 7px 0;
	padding: 0;
    font-size: 12pt;
	color: #2e2613;
}

A{
    color: #663300;
	text-decoration: underline;
}

A:hover{
    color: #000000;
	text-decoration: none;
}

UL{
margin: 0 0 20px 0;
}

OL{
margin: 0 0 20px 0;
}

.miniImg{
	width: 250px; 
	cursor: pointer;
}

.table{
border-collapse: collapse;
}

.table td{
	font-size: 12px;
	border: #2e2613 1px solid;
	padding: 5px;
	margin: 0;
	vertical-align: top;
}

#raspisanie{
	border-collapse: collapse;
	margin: 10px 0px 10px 20%;
	border-spacing: 0px;
}

#raspisanie td{
	border: #2e2613 1px solid;
	padding: 5px;
	height: 50px;
}

#ankPl{
 padding: 5px;
}

#uch p{
	font-size: 11pt;
	padding: 0 5px 5px 5px;
	text-align: left;
}


#fotoUch{
	display: block;
	width: 91px;
	height: 113px;
	padding: 0 50px;
}

#wrapper{
	position: relative;
	display: block;
	margin: 0 auto;
	width: 1200px;
}
#wrapper:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#wrapper {height:1%;}
/* для ИЕ7 */
*:first-child+html#wrapper {min-height:1px;}

#header{
	position: relative;
	display: block;
	width: 1200px;
	height: 150px;
	background:url(img/headerbg.jpg) no-repeat;
}

#header:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#header {height:1%;}
/* для ИЕ7 */
*:first-child+html#header {min-height:1px;}

#logo{
	padding: 10px 0 0 50px;
}

#base{
	padding: 0;
    display: block;
    width: 100%;
}
#base:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#base {height:1%;}
/* для ИЕ7 */
*:first-child+html#base {min-height:1px;}

#left{
	display: block;
    width: 250px;
	float: left;
}

#left:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#left {height:1%;}
/* для ИЕ7 */
*:first-child+html#left {min-height:1px;}

#center{
	margin: 0 250px 0 250px;
	display: block;
    width: 670px;
	padding: 0 20px 10px 15px;
	margin-top: -1px;
	height: 90%;
	background: url(img/centerbg.png) repeat-y;
}
#center:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#center {height:1%;}
/* для ИЕ7 */
*:first-child+html#center {min-height:1px;}

#right{
	display: block;
    width: 250px;
	float: right;
}

#right:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#right {height:1%;}
/* для ИЕ7 */
*:first-child+html#right {min-height:1px;}

#menu{
	margin: 0;
	padding: 0;
	list-style: none;
}

#currentPage{
	display: block;
	padding: 2px 2px 2px 22px;
	background: #ffd68f url(img/menu_marker.png) 0% 50% no-repeat;
}

#menu a{
	display: block;
	padding: 2px 2px 2px 22px;
	text-decoration: none;
}

#menu a:hover{
	background: #ffd68f url(img/menu_marker.png) 0% 50% no-repeat;
}

.block{
	margin: 0;
	padding: 0 0px 35px;
	background: url(img/rzdl.png) 50% 100% no-repeat;
}
.block:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html.block {height:1%;}
/* для ИЕ7 */
*:first-child+html.block {min-height:1px;}

#footer { 
	text-align: center;
	display: block;
	height: 75px;
	margin-left: auto;
	background: url(img/footerbg.png) no-repeat;
}

#footer:after{
height: 0;
clear: both;
visibility:hidden;
}
/* для ИЕ6 */
html#footer {height:1%;}
/* для ИЕ7 */
*:first-child+html#footer {min-height:1px;}

/*--------- Gallery --------------*/
#overlay{
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	background: #000;
	z-index: 1;
	-moz-opacity: 0.5;
	filter: alpha(opacity=50);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	-ms-filter: alpha(opacity=50);
	opacity: 0.5;
}

#imgCase{
	display: none;
	position: fixed;
	background: #fcf3d4;
	Height: auto;
}

#photo{
	padding: 15px;
	margin: 0px auto;
	position: relative;
}

#clsBtn {
	margin: -5px 0px 0px 97%;
	width: 35px;
	height: 35px;
	position: absolute;
	cursor: pointer;
	z-index: 2;
}

#timeSet{
	font-size: 35px; 
	text-align: center; 
	font-weight: 900;
}