

body {font-family:Times, serif; margin:0 auto; max-width:1200px; padding:10px;}

p {text-align: justify; text-indent: 40px; margin:5px;}

h1 {text-align:center; margin-top: 0; margin-bottom: 10px; margin-left:5px; margin-right:5px}
h2 {text-align:center; margin-top: 0; margin-bottom: 10px; margin-left:5px; margin-right:5px}
h3 {text-align:center; margin-top: 5px; margin-bottom: 10px; margin-left:5px; margin-right:5px;}
h4 {text-indent: 0; text-align:center; margin-top: -5px; margin-bottom: 5px; margin-left:5px; margin-right:5px; }
h5 {text-indent: 0; text-align: justify; margin-top: 0; margin-bottom: 0; margin-left:0; margin-right:0; font-weight:400;}
h6 {font-size: 0; text-indent: 0; text-align:center; margin-top: 0; margin-bottom: 0; margin-left:0; margin-right:0; }
th {max-width:100%;}
td {/*text-align: center; */text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0;}
img {max-width:100%;}
hr {margin:5px; color:#E0A000; size:1px; text-align:center;}
 .header, .sidebar, .content, .footer { 
 margin: 10px;
	padding: 10px; /* Поля */
 border: solid 5px #FFD700; /* Параметры рамки */
 border-radius: 0;
	background: #FFFF99; /* Цвет фона */
	box-shadow: 2px 2px 2px rgba(122,122,165,0.4);
 }
 .header p { /* Верхняя часть с заголовком */
 
	}
 .header a { 
 text-decoration: none; 
 color: #000;	
	text-shadow: 1px 1px 3px rgba(250,250,250,0.9)
 }
 .layout {
	margin-top: 7px;
 margin-bottom: 7px;
 margin-left: 10px;
 margin-right: 10px;	
 /*min-width: 340px; /*Минимальная ширина */
 /*max-width: 1200px; /* Максимальная ширина */
 }
 
 .footer {
	/* display: inline-block; */
 font-size: 14px;
	font-weight:600;	
 text-align: center;	
	}
 .foto {display:inline-block; float:left ;text-align:center;}
 .foto img {width:150px;}

 .knopka {
	display:block; 
 position: absolute;	
	z-index: 100;
 float: left;
	margin-top: -8px;
	margin-left: -25px; 
	padding: 3px;
 vertical-align: text-bottom;	
	border: solid 5px #eb0; /* Параметры рамки */
	border-radius: 5px;
 background: #ff0; /* Цвет фона */
	box-shadow: 3px 3px 10px rgba(122,122,165,0.9);
 } 
 .knopka a {
	text-decoration: none; 
 font-family:calibri;	
	/*font-size: 20px;*/
 font-weight:600;	
 color: #000;
 text-shadow: none;	
 }
 .centr {
 margin: 0 auto;
 display: table;
	text-align: center;
 }
 .centr p {text-indent:0;}	
	
 .citata { 
 /*font-style:italic; */
 
 font-family:Georgia;
 font-weight:500; 
 color:#200;
 line-height: 130%; 
 background: #fffff0; 
 border:1px solid #eee; 
 border-radius:5px; 
 padding: 2px 0px; 
 box-shadow: 1px 1px 3px rgba(122,122,122,0.3);
 }
 .remarka {text-indent: -15px; font-size:80%; color:#c00; text-align: justify; text-shadow: 1px 1px 1px rgba(100,100,100,0.5);; line-height: 90%; background: #f6f6ff; margin: 0 00px; border:1px solid #ddd; border-radius:5px; padding: 5px;}
 .remarka a {
	color:#c00
 }
 .nb {
	margin: 0px;
	padding: 30px; /* Поля */
	font-family:Georgia;
	font-size: small;
 /*border: solid 1px #660; /* Параметры рамки */
 /*border-radius: 5px;*/
	background: #eeeeee; /* Цвет фона */
	box-shadow: 1px 1px 2px rgba(122,122,250,0.6);
	 
 }
 
 
 .nbc {
	display: inline-block; 
	margin: 0px;
	padding: 30px; /* Поля */
	font-family:Georgia;
	/*font-size: small;*/
 border: solid 1px #660; /* Параметры рамки */
 border-radius: 5px;
	background: #FFFFFF; /* Цвет фона */
	box-shadow: 3px 3px 10px rgba(122,100,50,0.6);
	 
 }
 .nbc p {
		text-indent: 0px;
		
	}
	
 .moi {
	 /*font-family: Courier;*/
	 font-weight:600;
	 color: #600;
 }
	
 .up {
	 position: fixed; 
	 right: 26px; 
	 bottom:58px;
	 width: 20px; 
	 opacity: 0.5; 
         filter:alpha(opacity=50);
	 padding: 15px;
	 border: solid 1px #000;
	 border-radius: 10px;
	 }
 .up:hover {
         opacity:0.8;
         filter:alpha(opacity=80);
         }



 .sidebar { /* Навигация по сайту */
 display:block;
	margin-top: 5px;
 margin-bottom: 10px;
 margin-left: 0px;
 margin-right: 20px;
	z-index: 0;
 width: 250px; /* Ширина меню */
 float: left; /* Состыковка с другим слоем по горизонтали */
	
 }
 .sidebar p { font-size:small; line-height:90%; text-align: left; text-indent: 0; margin:0;}
 .sidebar a {
	text-decoration: none; 
	/*font-size: 17px;*/
 font-weight:600;
 color: #0B0080; 
 }
 .sidebar a:hover {
 color: #000000;
 background-color: #FFD700;
}
 .row { width: 100%; margin: 0 auto; } /* стартовая страница */
 .nav { display: inline-block; }
 .nav img { display: block; } /* стартовая страница */
/*===============================*/
/* стиль при уменьшении экрана */

 @media screen and (max-width: 1340px) {
	 .nav { width: 100%; }	 
 .nav img { display: inline-block; }	 
	 }
	

 @media screen and (max-width: 800px) {
	 body, p, div { 
	 padding:0px; 
	 margin: 0px;
	 }
 .sidebar {
	display: none; 
	float: none;
 position: absolute	;
	z-index: 100 ;
	opacity: 0.8;
	 }
	.foto {float: none; display: block; padding:0; margin: 0 auto;}
	.foto img {width:200px;}
	 }
	
 
 @media screen and (max-width: 600px) {
 .ar, .al, .ac {
	float: none; 
	display: block; 
	width: 98%;
	margin: 15px auto;
	 }
 
	 
 