html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }

body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
background: #a7cfdf; /* Old browsers */
background: -moz-linear-gradient(top,  #a7cfdf 0%, #23538a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a7cfdf), color-stop(100%,#23538a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #a7cfdf 0%,#23538a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a7cfdf', endColorstr='#23538a',GradientType=0 ); /* IE6-9 */
background-repeat: no-repeat; background-attachment: fixed;
}
 
input, textarea, select, button, a { outline: none; }
.reset, .reset li { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 { line-height: normal; }
h1 { font-size: 1.25em; } h2 { font-size: 1.2em; } h3 { font-size: 1.15em; } h4 { font-size: 1.1em; } h5 { font-size: 1em; }

p { margin-bottom: 0.4em; margin-left: 0.4em; }
hr { border: 0 none; border-top: 1px solid #dbe8ed; height: 1px; }
ul { margin: 0 0 18px 2em; list-style: disc outside; }
ol { margin: 0 0 18px 2.1em; list-style: decimal; }


a img { /* этот селектор убирает стандартную синюю рамку, которая появляется у изображений в некоторых браузерах, если вокруг изображения есть ссылка */
	border: none;
}

/* ~~ Оформление ссылок на вашем сайте должно оставаться в этом порядке, включая группу селекторов, создающих эффект наведения. ~~ */
a:link {
	color:#911E42;
	text-decoration: underline; /* если только ссылки не должны выглядеть исключительно своеобразно, то для быстрого зрительного распознавания рекомендуется использовать подчеркивание */
}
a:visited {
	color: #911E42;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* эта группа селекторов обеспечивает пользователю, работающему с клавиатурой, такие же возможности наведения, как и при использовании мыши. */
	text-decoration: none;
}

/* ~~ этот контейнер окружает все остальные контейнеры DIV, задавая их ширину на процентной основе ~~ */
.container {
	width: 1024px;
	margin: 0 auto; /* автоматическое задание величин по бокам в совокупности с шириной центрирует макет. Это необязательно, если ширина контейнера составляет 100 %. */
	border-right: 3px solid black;
	border-left: 3px solid black;
}
.header  {height: 250px; background: url("../img/top.png") no-repeat;}

.autoreg { margin-left: 299px;background: url("../img/reg.png") repeat-x;height:36px;width:208px;-webkit-border-radius: 0px 0px 5px 5px;border-radius: 0px 0px 5px 5px;}
.autoreg .button {font-size:14px;text-decoration:none;float: left;color:black;margin-left:6px;height:20px;margin-top: 5px;-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;}
.autoreg .button a { 
    text-shadow: none;
    color: transparent;}
.autoreg .buttonv  {background: url("../img/go.png");height:22px;width:55px;background-position: 0px -22px;}

.autoreg .buttonv:hover {background-position: 0 0;}
            
.autoreg .buttonr  {background: url("../img/go.png");height:22px;width:103px;background-position: 103px -22px;}

.autoreg .buttonr:hover {background-position: 103px 0;}

.autoreg .buttonp  {background: url("../img/go2.png");height:22px;width:78px;background-position: 0px -22px;}

.autoreg .buttonp:hover {background-position: 0 0;}
            
.autoreg .buttonvi  {background: url("../img/go2.png");height:22px;width:62px;background-position: 62px -22px;}

.autoreg .buttonvi:hover {background-position: 62px 0;}

#nav {
border-top: 3px solid black;
   font-family: Tahoma;
    font-size: 17px;
    height: 56px;
    list-style: none outside none;
    width: 100%;
	margin:0;
    /* Градиент */
    background-image: url("../img/menu.png"); background-repeat: repeat-x;
	margin-bottom:10px;
}
#nav ul {
    left: -9999px;
    position: absolute;
    top: -9999px;
    z-index: 2;
}
#nav li {
    display: block;
    float: left;
    height: 56px;
    position: relative;
    width: 210px;
	text-align:center;
}
#nav li a {
    font-family: 'EB Garamond', serif;
    display: block;
    line-height: 46px;
    outline: medium none;
    text-align: center;
    text-decoration: none;
	color:black;
	font-size:18px;}

 #nav li a:hover {
	height: 56px;
background-image: url("../img/menu.png"); background-repeat: repeat-x;
background-position: 0 -56px;

}


.content {background-color: #e1e3fc;min-height: 650px;}

.news {padding-bottom:10px;}
.news .titlenews {
font-weight: bold;
   font-family: Tahoma;
    font-size: 19px;
    height: 54px;
    list-style: none outside none;
    width: 100%;
	margin:0;
	line-height: 50px;
    /* Градиент */
    background-image: url("../img/news.png"); background-repeat: repeat-x;
   }
.news .titlenews a {color:black;text-decoration:none; margin-left:30px;}
.news .text, .textstatic {margin-left:5px; margin-right:5px;}	
.news .textstatic img {padding: 4px;
background: #000;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
margin-top: 4px;
margin-left: 4px;
margin-bottom: 4px; }
.news .text img {padding: 5px; }
.lastnews .titlelnews {
    font-weight: bold;
   font-family: Tahoma;
    font-size: 19px;
    height: 47px;
    list-style: none outside none;
    width: 100%;
	margin:0;
	line-height: 50px;
    color:black;
    text-decoration:none;
    /* Градиент */
    background-image: url("../img/news.png"); background-repeat: repeat-x;
	background-position:0 -54px;border-bottom: 3px solid black;}
.lastnews p {color:black;text-decoration:none; margin-left:30px;}	

.footer {	border-top: 3px solid black; height:60px;font-family: "Lucida Sans Unicode",Verdana,Arial,sans-serif;
font-size: 13px;background-color:#c4c4c4;margin-bottom:-40px;}	
.footer .fl {float:left;margin-left:5px;}
.footer .fr {float:right;margin-right:5px;text-align:right;}
.footer a {color:black;}
.image_carousel {
	padding: 15px 0 15px 41px;
	position: relative;
}
.image_carousel img {
	border: 1px solid #ccc;
	background-color: #3db7e5;
	padding: 9px;
	margin: 7px;
	display: block;
	float: left;
}
a.prev, a.next {
	background: url(../img/miscellaneous_sprite.png) no-repeat transparent;
	width: 45px;
	height: 50px;
	display: block;
	position: absolute;
	top: 75px;
}
a.prev {			left: 0;
					background-position: 0 0; }
a.prev:hover {		background-position: 0 -50px; }
a.prev.disabled {	background-position: 0 -100px !important;  }
a.next {			right: 0;
					background-position: -50px 0; }
a.next:hover {		background-position: -50px -50px; }
a.next.disabled {	background-position: -50px -100px !important;  }
a.prev.disabled, a.next.disabled {
	cursor: default;
}

a.prev span, a.next span {
	display: none;
}
.pagination {
	text-align: center;
}
.pagination a {
	background: url(../img/miscellaneous_sprite.png) 0 -300px no-repeat transparent;
	width: 15px;
	height: 15px;
	margin: 0 5px 0 0;
	display: inline-block;
}
.pagination a.selected {
	background-position: -25px -300px;
	cursor: default;
}
.pagination a span {
	display: none;
}
.clearfix {
	float: none;
	clear: both;
}
.image_carousel a {
	display: block;
	float: left;
}
div.clearfix {
	float: none;
	clear: both;
}

.userinfo {
padding-left: 125px;
    }
    .userinfo .lcol {margin-left: -125px;width: 110px;        padding-right: 15px;}
    .lcol {float:left;}
.userinfo .rcol {            width: 100%;}
.rcol {float:right;}
.reset, .reset li {
list-style: none;
padding: 0;
    margin: 0;}
.logform li.lfield { margin-bottom: 10px; }
.logform li.lbtn { text-align: center; }
  .logform li.lfield input { width: 265px; }
        .logform li.lfchek input { width: 13px; border: none; background: none; }
        .logform li.lfchek label { display: inline; margin-bottom: 0.2em; }

/*---forms---*/
table.tableform { border-collapse: collapse; border-spacing: 0; }
.baseform { float:left;
}
.tableform { width: 100%;}
	.tableform td { }
	.tableform td.label { width: 20%; vertical-align: top; padding-right: 0;}
	.fieldsubmit, .tableform td { padding: 10px 15px;}
	.addnews { font-weight: bold; }
	.impot { color: #96c; font-weight: normal; }
	.checkbox { padding: 4px 0; line-height: 1em; }
		.checkbox input { margin-top: -2px; vertical-align: middle; }

.f_input { width: 300px; padding: 1px; }
.f_textarea { width: 458px; }
.fieldtr select, .textin, .f_textarea, .f_input, .xfields textarea, .xprofile textarea,
.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select { padding: 2px; background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2; }
.f_textarea, .editor_button select { padding: 0; }
.textin { padding: 2px; }


	
	/*---buttons---*/
.fbutton { -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }
.fbutton, { border: 0 none; background: none; cursor: pointer; }
  .fbutton { text-shadow: 0 1px 0 #fff; margin-bottom: 2px; border: 1px solid #c4c4c4; width: 103px; height: 31px; color: #3c3c3c; padding: 4px 0 5px 0; background: #fff url("../images/fbutton.png") repeat-x 0 100%; font-weight: bold;
    -moz-box-shadow: 0 1px 4px -2px black;
    -webkit-box-shadow: 0 1px 4px -2px black;
    box-shadow: 0 1px 4px -2px black;
  }
  .fbutton:hover { background-position: 0 5px; }
  button.fbutton span { cursor: pointer; display: block; }

.btn_reglog, .radial, .fbutton, .headlinks ul a, #loading-layer, .navigation a, #dropmenudiv { -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; }
		button.fbutton span { cursor: pointer; display: block; padding-top: 2px; }
 
.blocktext{
	width: 90%;
	height: 875px;
  	padding: 5px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.9) inset;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin:auto;
}

/*---Комментарии---*/
.addcombtn { text-align: center; font: 1.15em/30px sans-serif; color: #fff; float: left; height: 31px; width: 181px; padding-right: 27px; background: #428cda url("../images/addcombtn.png") no-repeat; }
  .addcombtn:hover { background-position: 0 -31px; }

.bcomment { border-bottom: 1px solid #dadada; background: url("../images/speedbar.png") repeat-x 0 100%; padding-bottom: 15px; }
  .bcomment .dcont, .bcomment .dtop { padding: 0 15px; }
  .bcomment .dcont { padding-top: 10px; }
  .bcomment .dtop { overflow: hidden; padding-left: 70px; height: 67px; border-top: 3px solid #3f84cb; }
  .bcomment .dtop .lcol { width: 40px; padding: 0 15px; margin-left: -70px; }
    .bcomment .dtop .lcol span { margin-top: 12px; float: left; width: 40px; height: 40px; overflow: hidden; }
      .bcomment .dtop .lcol span img { width: 40px; }

  .bcomment .dtop .rcol { font-size: 0.9em; color: #90a7b2; width: 100%; }
    .bcomment .dtop .rcol ul { margin-top: 12px; padding-top: 4px; height: 36px; float: left; margin-right: 15px; }

    .cmsep { padding-left: 19px; background: url("../images/cmsep.png") no-repeat 0 50%; }

  .reply a, .reply a b { height: 28px; background: #2b88d5 url("../images/reply.png") no-repeat; }
    .reply a { float: right; margin-top: 21px; color: #fff; line-height: 27px; }
    .reply a b { cursor: pointer; float: left; padding: 0 15px; background-color: transparent; background-position: 100% -28px; }
      .reply a:hover { background-position: 0 -56px; }
      .reply a:hover b { background-position: 100% -84px; }

  div.cominfo { position: relative; color: #e4e6e6; font-size: 0.9em; min-height: 29px; background: #3f4b51 url("../images/cominfo.png") repeat-x; }
    div.cominfo .thide { width: 13px; padding-top: 8px; position: absolute; left: 29px; top: -7px; background: url("../images/comarrow.png") no-repeat; }
    div.cominfo .dpad { overflow: hidden; }
    .comedit, .selectmass { padding-right:3px; }
    .selectmass input, .comedit ul, .comedit ul li { float: right; }
    .comedit ul li, .selectmass input { margin: 6px 0 0 8px; }
      .comedit ul li { float: left; }
      .comedit ul li a { color: #9dc4e6; }
      .selectmass input { vertical-align: middle; }

      .signature { color: #93918d; }

    ul.cominfo, ul.cominfo li { float: left; }
      ul.cominfo { margin: 6px 0 0 -8px; }
        ul.cominfo li { border-left: 1px solid #73858e; margin: 0 16px 0 0; padding-left: 25px; }

img {vertical-align:middle !important;}


  
  .comms {padding:5px 0 8px 0;width:100%;overflow:hidden;background: #accede;}
  .commbar {width:14%;float:left; padding-left:15px; border-right:1px solid #eee;}
  .commbar li {list-style-type:none;color:#98a6b1; font:11px Arial;}
  .commbar img {border:1px solid #eee;}
  .reply {float:right; position:relative; left:-20px;}
  .coments {width:70%;float:left;padding-left:10px;}
  .authory {display:block; width:108px; text-align:center;text-indent:-8px;}
  .authory a {color:#FFF; font-weight:bold; text-shadow: 0px 1px 0px #000; }
  div.cominfo .thide {left:60px;}
  .cominfo a {color:#efefef; text-decoration:none;}
  .cominfo a b {padding-left:1px; padding-right:1px; }


.reset, .reset li { list-style: none;}

.clr { clear: both; }
.thide { overflow: hidden; display: block; height: 0; line-height: normal; }