html, body{
margin:0;
padding:0;
height:100%;
}
img{
border:none;
}
body{
background:url(../pic/back1.gif) #573D23; 
}
#holder{
height:100%;
background:url(../pic/fufi.gif) 100% 0 repeat-y #fff;
min-height:100%;
}
#holder2{
height:100%;
background:url(../pic/sheena.gif) 0 0 repeat-y;
position:relative;
min-height:100%;
}
#footer{
height:auto;
width:100%;
z-index: 100; 
background:url(../pic/footrast.gif) 0 0 repeat-y;
background-color:#573D23;
clear:both;

}
#pen{
    position:absolute;
    bottom:0px;
    width:33px;
    height:139px;
    overflow:hidden;
    left:233px;
    background:url(../pic/pen.png) 0 0 no-repeat;
    z-index:2;
}
#rastbot{
    position:absolute;
    bottom:0px;
    width:100%;
    height:42px;
    overflow:hidden;
    left:0px;
    background:url(../pic/backb.gif) 780px 100% repeat-x;
    z-index:0;
}
#addbg{
    position:absolute;
    bottom:42px;
    width:251px;
    height:4px;
    overflow:hidden;
    left:0px;
    background:url(../pic/addbg.gif) 0 0 no-repeat;
    z-index:0;
}
#foot5{
    width:100%;
    height:auto;
    position:relative;
}
#foot{
    background:url(../pic/foot1.jpg) left top no-repeat; 
    width:100%;
    overflow:hidden;
    position:relative;
    z-index:1000;
    min-height:205px;
}
#s1{
/*height:183px;
clear:both;*/
}
#s1 hr{
display:none;
}
.hr hr {
  display: none;
}
#sp2 {
  height: 46px; 
  font-size:1px; 
  line-height:1px;  
  background: url(../pic/it.gif) 0 100% repeat-x; 
  margin-right: 14px; 
  margin-left:343px; 
  margin-right:15px;
}
#holder3{
height:100%;

min-height:100%;
}

html>body{
height:auto;
min-height:100%;
} 


html>body  #holder{
height:auto;
min-height:100%;
} 

html>body  #holder2{
height:auto;
min-height:100%;
} 

html>body  #holder3{
height:auto;
min-height:100%;
} 

#holder4{
width:100%;
overflow:hidden;

}
a#logo{
float:left;
}
#top{
background:url(../pic/farma.jpg) repeat-x; 
height:102px;
}
#main{
width:100%;
height:360px;
background:url(../pic/back222.gif) 0 0 no-repeat; 
position: relative;
z-index: 300;
left:-34px;
/*
left:232px;
top:102px;*/
}
#content {
  margin-top:-50px; position: relative; z-index:400;
}

#main2{
width:100%;
height:360px;
background:url(../pic/back2.gif) 0 0 no-repeat; 
position: relative;
z-index: 300;
left:-34px;
}
#txt2 #main{
background-image: url(../pic/back2.gif); margin-bottom: -300px;
}
#rektor{
position:absolute;
top:30px;
left:70px;
z-index: 300;

display:none;
}
#rktr{
left:67px;
top:177px;
position:absolute;
width:180px;
display:block;
font-weight:normal;
font:12px Tahoma, sans-serif;
text-align:right;
color:#696969;
background:#F5F5CA;
z-index: 300;

display:none;
}
#rktr b{
display:block;

}
#rtext{
position:absolute;
width:100%;
left:271px;
top:18px;
height:230px;
font:12px Tahoma, sans-serif;
color:#563D23;
margin-left: -235px;
z-index:200;
}
#slogan{
top:47px;
left:2px;
position:absolute;
}

#newpic {
  /*margin-left: 223px; background: #F6F5C9;*/
  margin-left: 21px; margin-top:-1px;overflow:hidden;height:230px;background:#F6F5C9; 
	position:relative;
}
#newpic_dissolve{width:111px; height:248px; top:0; right:0; background:url(../pics/versions/1man_foto_dissolve.png) repeat-y; position:absolute; }

html>body  #main{
height:auto;
min-height:360px;
}
#left{
width:251px;
background:url(../pic/flg.gif) repeat-y #E3E3C5;
height:368px;
position:relative;
padding-bottom:51px;
float:left;
}
#left_new{
    width:251px;
    float:left;
    position:relative;
}
html>body  #left{
height:auto;
min-height:368px;
}
#lefth{
background:url(../pic/gaga1.gif) no-repeat; 
width:251px;
height:368px;
border-top:1px solid transparent;
}
* html #lefth{
border-top:none;
}
html>body  #lefth{
height:auto;
min-height:368px;
}
#lug{
position:absolute;
bottom:-1px;
left:0px;
}
ul#lmenu{
margin:0;
padding:0;
text-transform:uppercase;
font:11px Tahoma, sans-serif;
margin-top:20px;
margin-left:50px;
background:url(../pic/lmtop.gif) no-repeat;
padding-top:6px;
}
ul#lmenu ul{
margin:0;
padding:0;
text-transform:none; 
background:url(../pic/lmsp.gif) left top no-repeat; 
margin-top:6px;
position:relative;
left:-6px;
}
#lmenu li{
list-style:none;
line-height:100%;
padding:6px;
background:url(../pic/lmsp.gif) 0 100% no-repeat; 
}
html>body  #lmenu ul, html>body  #lmenu ul li{
background:none;
}
#lmenu ul li{
padding-left:17px;
padding-right:20px;
}
ul#lmenu li a.activ{
 color: #000;
 text-decoration:underline;
 line-height:16px;
}

#lmenu a{
color:#3E3E36;
text-decoration:none;
}
#lmenu li.nobg{
background:none;
padding-bottom:0px;
}
.myform{
margin:0;
padding:0;
font:11px Tahoma, sans-serif;
margin-left:50px;
margin-top:20px;
width:160px;
color:#31312E;
}
.myform strong{
margin-top:10px;
display:block;
width:170px;
clear:both;
}
.myform label{
display:block;
margin-top:10px;

}
.myform  img{
vertical-align: baseline;
}
.myform input{
font-size:10px;
width:155px;
margin-top:4px;
vertical-align: baseline;
}
.myform  .capcha{
width: 74px;
}
.myform textarea{
font-size:10px;
width:100%;
margin-top:4px;
height:50px;
overflow:hidden;
font:10px Tahoma, sans-serif;
}
input.but{
background:transparent url(../pic/but.gif) left center no-repeat;
border:none;
width:80px;
float:right;
color:#563D23;
font-weight:bold;
margin:10px 0;
}
#txt{

width:100%;
display:inline;
font:12px Tahoma, sans-serif;
color:#696969;
float:right;
margin-left: -251px;

}
#txt22 {
  margin-left: 251px; margin-right: 15px; _width: 100%; padding-right: 15px; padding-left:15px;
  background: url(../pic/scrap.gif) 14px 262px repeat-x;    position:relative;
}
#txt2 #txt22{background: none;}
#txt2{
width:100%;
display:inline;
font:12px Tahoma, sans-serif;
color:#696969;
float:right;
margin-left: -251px;
}
td{
font:12px Tahoma, sans-serif;
color:#696969;
}

p.news{
clear:both;
margin-bottom:20px; width: 100%; overflow: hidden;
}

p.news img{
float:left;
margin:0 10px 5px 0;
display:inline;
}
p.news a img{
float:none;
display:inline;
border:none;
vertical-align:bottom;
margin:0;
}
p.news em{
display:block;
font-style:normal;
font-weight:bold;
}
a{
color:#563D23;
}
h1{
font:bold 14px Tahoma, sans-serif;
margin:0;
padding:0;
}
#footer address{
    margin-top:34px;
    margin-left:20px;
    font:11px Tahoma, sans-serif;
    color:#5C5C5C;
    width:206px;
    float:left;
}
#dextra{
font:11px Tahoma, sans-serif;
display:block;
color:#fff;
margin:18px auto 0;
width:250px;
position:absolute;
bottom:15px;
left:50%;
clear:both;
_z-index:1000;
}
#dextra2{
position:absolute;
right:20px;
margin-top:64px;
margin-right:0px;
font:10px Tahoma, sans-serif;
display:block;
color:#6E5A42;
}
ul#map{
margin:10px 50px;
padding:0;
}
ul#map li{
list-style:square;
}
#iconz{
position:absolute;
left:490px;
top:46px;
font:9px Verdana, sans-serif;
color:#fff;
}
#iconz a{
color:#fff;
text-decoration:none;
}
#iconz a img{
/*margin-top:1px;*/
margin-bottom:3px;
margin-right:3px; 
}

table.stab{ margin:0px; padding:0px; border-collapse:collapse; border:2px solid #E0E0C3; }
table.stab tr th{ 
    font-size:12px; 
    text-align:center; 
    background-color: #573D24; 
    color:#FFFFFF; 
    padding: 2px 6px;
    border: 2px solid #C7C7AD;
}
table.stab tr.some th p{
    margin: 0px;
}
table.stab tr.some th{
    border-bottom: 0px;
}
table.stab tr#sth th{
    border-top: 0px;
}
table.stab td{ text-align:center; background-color: #F5F5EA; color:#3E3E36; padding-top:3px;padding-bottom:3px; padding-left:6px; padding-right:6px; border:2px solid #E0E0C3; }
table.stab th a{ color:#ffffff; text-decoration:underline; }
table.stab th a:hover{ color:#ffffff; text-decoration:none; }

table.stab th select{ border:1px solid #C7C7AD; font-size:8pt; margin-top:0px; }
table.stab th select{ background-color:#ffffff; }

input#substab, input.substab  { background-color:#E3E3C5; border:1px solid #C7C7AD; color:#563D23; font-weight:bold; }
#student p strong, #teachers p strong{ color:#573D24;  }
#student p b, #teachers p b{ color:#000000;  }
/* #student p{ display:block; margin-top:12px; }*/

#counters{
 float:right;
 margin-top:11px;
 margin-right:22px;
 display:block;
    right:0;
    bottom:10px;
    position:absolute;
    z-index:100;
}
#student{
    padding-top: 36px;
    $padding-top: 22px;
}
#student p{
    margin: 15px 0px 0px 0px;
}
#teachers p{
    margin: 15px 0px 0px 0px;
}

#moodylink{ position:absolute; right:-37px; top:1px; }
#moodylink a{ text-decoration:none; z-index:99; }
#moodylink a:hover{ text-decoration:underline; z-index:99; }

#vers{ position:absolute; top:40px; right:20px; }
#vers a{ color:#ffffff; font-size:8pt; font-family:Verdana; }
#vers #vact{ color:#B7AB9F; text-decoration:none; }

#partner1{
 margin-right:15px;
 width:auto;
 margin-left:286px;
 position:relative;
 padding-bottom:51px;
 min-height:100px;
_width:80%;
_margin-left:0px;
_float:right;
}
#partner1 table{
    width:100%;
    height:auto;
}
#partner1 table td{
    text-align:center;
    height:auto;
}
#partner1 a img, #partner1 img{
    margin:0 30px 0 0;
}
#partner1 a img{
    opacity: 0.70;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
#partner1 a:hover img{
    opacity: 1;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}
#partner2{
 position:relative;  
 margin:50px 15px 20px 25px;
}
#partner2 a img, #partner2 img{
    /*margin:0 10px 0px 0;
    float:left;*/
}

div.partner_list{
 position:relative;
 float:left;
 width:50%;
 _width:49%;
 height:150px;
 margin:0 0 10px 0px;
 text-align:center;
}

div.partner_list div{
 position:relative;
 /*margin:0px 0 0 110px;*/
 margin:0 100px;
 padding-top:10px;
 width:auto;
/* height:150px;*/
 clear:both;
 overflow:hidden;
}
a#all_partners{
    color:#B7AB9F;
    font:normal 11px tahoma;
    position:absolute;
    right:10px;
    bottom:47px;
}



#newpic img.tops{
    float:left;
}
#newpic #topmenu{
	padding-right:20px;
	text-align:right;
	position:absolute;
	top:0;
	right:5px;
}

#tmenu{
	list-style:none;
	padding-top:10px;
	margin:0;
}
#tmenu li{
	overflow:hidden;
	padding-left:9px;
	}
#tmenu li span{
	float:right;
	height:23px;
	/*padding-bottom:5px;*/
	padding-right:9px;
	background:url(../pics/versions/tmenu_presentation_right.png) 100% 0 no-repeat;
	margin:0 0 10px;
	white-space:nowrap;
	position:relative;
}
#tmenu span span{
	width:9px;
	height:23px;
	position:absolute;
	left:-9px;
	top:0;
	font-size:0;
	line-height:0;
	display:block;
	background:url(../pics/versions/tmenu_presentation_left.png) no-repeat;
}
#tmenu a{
	color:#fff;
	display:block;
	height:23px;
	line-height:23px;
	background-color:#52381f;
	padding:0 3px;
}

.ban { margin: 15px 0 15px 50px; }
    .ban img { border: 1px solid #5D442E; }
