* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: Verdana sans-serif;
   font-size: 80%;
   background: #2f6d5e url(img/gbackground.png) repeat-x; }
.nav3-grid {width:180px; border-bottom:solid 1px rgb(200,200,200);}
.nav3-grid dt a, .nav3-grid dt a:visited {display:block; min-height:2.0em /*Non-IE6*/; height:auto !important; height:2.0em /*IE6*/; line-height:2.0em; padding:0px 10px 0px 20px;  border-top: solid 1px rgb(200,200,200); text-decoration:none; color:#337766; font-weight:bold; font-size:120%;}
.nav3-grid dd a, .nav3-grid dd a:visited {display:block; min-height:1.7em /*Non-IE6*/; height:auto !important; height:1.7em /*IE6*/; line-height:1.7em; padding:0px 10px 0px 40px; border:none; font-weight:normal; text-decoration:none; color:#337766); font-size:120%;}
.nav3-grid dt a:hover, .nav3-grid dd a:hover {background-color:#7CC0A8; color:black; text-decoration:none;}
/******** Content variations ********/
#head { 
   background-color: #000; }
#outerwrapper {
   width: 960px; 
   background-color: #fff;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040; }
#innerwrapper {
   float: left; 
   margin-left:5px;
   width:760px;}
#content {
   float: left; 
   width: 550px; }
#contentmid {
   font-size: 115%;
   float: right;
   margin-right: 10px;
   width: 550px; }
#midsidebar { 
   margin-right: 10px; 
   width: 180px;
   float: right; }
#leftsidebar { 
   margin-right: 10px; 
   width: 180px;
   float: left; }
/***** Стили для тегов *****/
a {
   text-decoration: none;
   color: #337766;
   font-weight: bold; }
a:hover {
   color: #0c453f;
   }
p {
   margin-bottom: 2px;
    }
code, pre {font-size: 1.2em; 
	color:#337766; }
blockquote:before, blockquote:after {content: "\"";
	font-size: 16pt;
	font-family: serif; }
blockquote {
	margin: 5px 0 0 0; 
	padding: 1px;
	background: #7cc0a8;
	border: 2px solid #499279;
	line-height: 1.5em;
	color: #ffffff;
	font-style:italic; }
table {
   border-collapse: collapse; 
   margin: 10px auto 15px auto;
   border:5px solid #dedede; }
thead {
background-image:url(img/fontabl.gif);
background-repeat:repeat-x;
}
label{
   color: green;
   }   
th {
   background: #7cc0a8; 
   height: 25px; 
   padding: 0 10px;
   color: #ffffff; 
   text-align: left; }
td {
   padding: 5px 10px; 
   height: 25px; }
tr.odd {
   background: #efefef; }
tr.even {
   background: #cfcfcf; }
form {
   background: #7cc0a8; 
   margin: 10px auto; 
   padding: 5px; 
   border: 1px solid #499279; }
textarea {
   width: 98%; 
   padding: 2px; 
   border: 1px solid #499279;
   height: 140px; 
   display: block; }

h1 {
   font-size: 1.6em;
   font-weight: bold;
   color: #111;
   line-height: 1.2;
   margin: 0 0 5px 0; }
h2 {
   font-size: 1.4em; 
      margin: 10px 0; } 
h3 {
   font-size: 1.25em; 
      margin: 10px 0;  
   font-weight: bold; }
ul, ol {
   list-style-position: inside; }
img {
   border: 1px solid #f1f1f1;	
   background-color: #f5f5f5; 
   margin: 5px;
   padding: 5px; 
   text-align: center; }
img.float-center {
   margin-left:140px;
   }
img.float-left {
   margin: 0 10px 5px 0px;
   float:left; }
   
/***** Identity ******/
#topbar {
   width: auto !important; 
   width /**/:760px; 
   height: 45px;
   border: 0px; }
#identity {
   height: 45px;
   width: 410px;
   border: 0px;
   float: left; }
#identity h1 {
   font-size: 1.0em;
   padding: 5px 0 0 3px; }
#identity a {
   color: #fff;
   text-decoration: none; }
#identity span.head2 {
   color: #fff;
   font-size: 0.9em; 
   padding-left: 3px; 
   font-weight: normal;
   line-height: 1.7; }
/****** Top Navigation ******/
#topnav { 
   list-style-type: none;
   font-weight:bold;
   line-height: 1.0em;
   padding-top:5px;
   color:#fff; 
   float: right; }
/****** Логотип ******/
#logo {
   height: 145px;
   width: 960px;
   background: url(img/bannergreen.jpg) no-repeat; }
/****** Navigation ******/
#navigation {
   width: 960px;
   background: url(img/nav_seagreen.png) top center repeat-x;
   height: 31px;
   border-top: #023634 solid 1px; 
   margin-bottom: 20px;}
#navbar_link {
   height: 30px;
   float: left; }
#navigation #navbar_link ul {
   float: left;
   height:30px;
   width: 100%;
   list-style-type: none; }
#navigation #navbar_link ul li {
   display: inline; }
#navigation #navbar_link ul li a {
   padding: 6px 15px;
   color: #fff;
   text-decoration: none;
   line-height: 1.6em;
   float: left;
   border-right: 1px solid #17514a;
   text-decoration: none;
   font-size: 1.0em;
   font-weight: bold; }
#navigation #navbar_link a:hover { 
   text-decoration: none;	
   border-right: 1px solid #17514a;
   color: #fff;
   background: #ddd url(img/nav_seagreen.png) center -33px repeat-x; }
   
.currentpage a {background: #ddd url(img/nav_seagreen.png) center -33px repeat-x; }
/****** Блок новости ******/
#rightsidebar {
   float: right; 
   margin-right: 3px; 
   width: 180px; }
.SidebarItem li {
   padding-bottom: 17px;
   line-height: 1.2; }
/******** Footer ********/
#footer {
   clear: both;
   width: 960px; 
   color: #777;
   height: 30px;
   font-size: 0.8em;
   font-weight: bold;
   padding-top:170px; }
#footer p {
   font-weight: bold;
   border-top: 1px solid #aaa;
   padding: 5px 0 5px 3px; }
#footer p span {
   padding-right: 3px; }
#footer a {
   color: #777;
   text-decoration: underline; }
#footer a:hover {
   color: #444; }
/******** Стили для таблицы лекций ********/ 
.lessons{ width:95%; }
.lessons_tit p { margin-bottom:-2px;}
.nazvanie a{ color:#409594;}
.lessons_data {font-size:12px;}
.lessons_author {font-weight:bold; }
/******** Навигация для статей ********/
.pstrnav {text-align:center;}	
.pstrnav a{
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:11px;
text-decoration:underline;
}
.nazad {
background-image:url(img/nnav.gif);
background-repeat:no-repeat;
padding-left:15px;
}
.next {
background-image:url(img/nav.gif);
background-repeat:no-repeat;
background-position:right;
padding-right:15px;
}  
.data_author {
text-align:right;
font: italic 12px Tahoma;
color:#adadad;
}
.example {
    border: dashed 1px #634F36;
    background: #fffff5;
    font-family: "Courier New", Courier, monospace; 
    padding: 7px;
    font-size: 80%;
    margin: 0 0 1em;
}
.red_text {
color:#FF0000;
font-family:Tahoma;
font-weight:bold;
font-style:italic;}
.green_text {
font-family:Tahoma;
font-weight:bold;
color:green;}
.line {
line-height:20px;
}
#poll {
position:relative;
float:right;
margin: 200px 0 0 -200px; }

.downloand {
font-size:16px;
font-weight:bold;
text-align:center;
background-color:#BBB;
margin-bottom:7px;
}
.downl {
width:98%;
border: 3px solid silver;
}
.dow-text {
padding-left:5px;
padding-right:2px;
 }
.downl-link { 
text-align:center;
}
.downl-link a:hover{ 
background: #ffc;
}
.spisok {
float:left;
}
#contact {
background-color:#FFFFFF;
}
.bold
{font-weight:bold};
.italik {
font-style:italic;
}
.p {
text-indent: 30px;}