html, body { height: 100%; margin: 0; padding: 0; background: white; }
/*html>body #content { height: auto; min-height: 100%;}*/

h5,h6,h7,p{font-family: "Times New Roman", Times, serif;}
ul, li {list-style: none;}

#content{
    width: 1000px;
    margin-left:auto;
	margin-right:auto; 
    padding-bottom: 0px; 
	clear:both;
}
/*Style for div.text which contain the content*/
#text{ 
    width: 100%;
    margin-left:auto;
	margin-right:auto; 
	padding-left: 10px;
	padding-right: 10px;
	min-height: 500px;
}
	     
#text a {color:black; font-style:italic; text-decoration:none;}
#text a:hover{background: #fdb;}
#text a.libr {font-style:normal;}
#text p{font-size: 16px;}
#text p, #text h1, #text h2, #text h3, #text h4 {margin-left: 20px; }
#text li {
	margin-bottom: 15px;
}
#text h1{
color: black;
font-size:20px;
margin-top:30px;
text-align: center;
color: #a52a2a;
}
#text h2{
color: black;
font-size:16px;
margin-top:30px;
text-align: center;
}
#text h3{
color: maroon;
font-size:16px;
margin-top:10px;
text-align: left;
}
#text h4{
color: maroon;
font-size:16px;
margin-top:10px;
text-align: left;
}

#text .dl {
	color: navy;  
	background: #D1D1DE; 
	border: 1px solid navy;
	margin: 10px;
	padding:5px;
	float:right;
}
#text ul li .dl_sm {
	font-size: 12px;	
	color: black;  background: white; border: 1px solid black;
	margin: auto;padding:3px 5px 3px 5px;
}
#text ul li .dl_sm, #text .dl, #bar ul, #bar li,h1,h2,h3,h4 {
	font-family:Arial, Helvetica, sans-serif;
}
#text .photoname{
	font-weight:bold;;
}		 
#bar ul, #bar li {
	font-size:12px; 
	line-height:18px;
	/*text-align:left;*/
} 

li.libr { 
font-size:16px;
font-weight:bold; 
}
.libr_text {
font-size:14px;
font-weight:normal; 
margin-right:12px;
}

#guestbook {
width:96%;
margin-top:20px;
}

.question{
width:100%;
margin:20px;
border-bottom:dotted;
border-width:1px;
border-color:brown;
}

/*Style for menu*/

#footer {
    clear:both;
	height:45px;
	border: 1px #F4F4F4;
	width:960px;
	/*background:#c4c4c4;*/ 
}

#bar {
    clear:both;
	/*height:45px;*/
	border: 1px #F4F4F4;
	width:960px; 
    margin:auto auto 0px auto; 	
	padding:0px 20px 0px 20px;
	background-image: url(img/0001.png);
	background-repeat: repeat-x;
    /*border: 1px red solid;*/
}
    
.menu {margin: 0px; padding:0px;}
.menu li {/*display:block;
	float:left; clear: both;
	display:inline;*/
	text-align:center;
	position:relative;
	/*vertical-align:top;*/
	padding: 3px 4px 4px 4px;
	margin: 4px 2px 0px 2px; 	
	
}

#tbar { width:100%; }

#bar table, #bar table td {margin: 0; padding:0;}

#bar table td{ width: auto; }

.menu li:hover{
	/*padding: 5px 6px 6px 6px;*/
	background: white; 
	color:black;
}
.menu li a{

	font-family:Arial, Helvetica, sans-serif;
	font-size: 14px; 
	color: black; 
	/*display: block;*/
	outline: 0;
	text-decoration: none;
}

.menu li:hover a{color:black;}

.menu li:hover .drop{
	background: white;
}
.dropdown_column{
	margin: 5px auto 0 auto ;/*check out this value of margin*/
	float: left;
	position: absolute;
    left: -999em;

	padding: 10px;
	border: 1px solid #c4c4c4;
	border-top:none;
	width: 136px;
	background: white;

}
.menu li:hover .dropdown_column{ left: -1px; top:auto;}
	.col_1{text-align:left;
		/*display: inline;*/
		float: left;
		position: relative;
		width:120px;
		margin-left: 20px; 
	}

	
.menu li:hover div a{
	font-size: 12px; 
	color: #8b0000; 
	/*background-color: none; */
	border: none;
	}
	
.menu li:hover div a:hover{
	color: red;
}

#current{
   
	background: white; 
	padding: 2px 3px 3px 3px;
	
}	
#current a:first-child{
	text-decoration: underline;
}




/*Style for div#navi*/

#navi{ margin-left: auto; margin-top: 20px;
       width: 200px; float: left; padding: 5px;
      }
      

#navi ul li{
	list-style: none;
	margin-left: -27px;
	padding-right: 10px; 
	display: block;
}

#navi ul li a{font-size: 16px;
	text-decoration: none; display: block;
   text-align: center;
	margin-top: 3px;
	margin-bottom: 3px;  
	padding: 3px 5px 3px 5px;	color: #a52a2a;
          	text-shadow: none;
		 	/*color: yellow;
	 text-shadow:1px 1px 1px #727300;*/
} 
#navi ul li #cur{
	border: 1px solid #a52a2a; 
	color: #a52a2a; 
	background: white;
}

#navi .nest0 li a{background-color: white;border:1px dotted silver;}
#navi .nest1 li a{background: white; border:1px dotted #d8d8d8}
#navi .nest1 li .nest2 li a{ background: white; border: 1px dotted #c8c8c8;}

#navi ul li a:hover, /* <--ховер для классов nest0 и nest1  */
#navi .nest1 li .nest2 li a:hover /*ховер для nest2*/{
color: black; 
border: 1px solid black;}

/*style for images*/
img{border: none;}

#header {
min-height:200px;
background-color: white;
background: white url('img/head.jpg');
}
#header img {
border: 1px solid white;
}
#flags {
float:right;
margin-right:20px;
margin-top:20px;
}

#search_form{ 
width: 300px; float: right; 
margin: 0;  margin-top: 50px;
}

form, #srch_icon {vertical-align: middle;}
#srch_icon{	margin: 0 5px 3px 0; }
#text_input{width:200px; height:20px;}
#text_input {color: blue;}

#footer p, #footer p a {
font-size:16px;
font-weight:bold;
color:orangered; 
text-decoration: none;
text-shadow: 1px 1px 1px #fff;
}
#footer p a{text-decoration: underline;}
#footer p a:hover{color:#004690;text-shadow: none;}

#footer{	
height:40px;
margin: 80px auto 0px auto;
clear:both;
padding:0px 20px 0px 20px; 
background-image: url(img/bottom.jpg);  
background-repeat: no-repeat;	
}
#footer p{position: relative; text-align:center; padding-top: 10px;}

/*Style for photogallery*/

.photo{margin:auto auto 60px 0;  
width: 330px; float: left;  height: 380px; min-height: 320px; }
p.about, p.ph {text-align: center; }
p.ph{margin: 0; padding: 0; }
p.about{padding: 15px; max-height:150px; }

/*  P A G E S    Numbers  */
#page_numb{clear: both;
	width:400px;
	margin: 140px auto 80px auto; 
	padding: 0px;
	/*padding: 0px auto 0px 0px; */
}
#page_numb ul{margin: 0; padding: 0;}
#page_numb li{ list-style: none; display: inline;	height:20px; 
margin: 0px 7px;}

.p_n {display: inline-block;	
	   outline:0; text-align: center;
   	text-decoration:none;  color:#000;
      border: 1px dotted #bdbdd1;
      background: none; 
      padding: 4px 10px;
      line-height:18px;
	   font: bold 16px "Times New Roman", Times, serif;
  	}

.p_n:hover {  background-color: #fdb; }
