/*------------------------------------------------------------*
**  Software Portal - Free Edition
**  Автор - www.senorra.net
**------------------------------------------------------------*/

* {
	margin:0;
	padding:0;
}

body, html {
	background-color: #e8e8e8;
	font-family: 'PT Serif', serif;
	font-size:12px;
	line-height:19px;
}

a {
	color:#282A9A;
	text-decoration: none;
}

a:hover {
	color:#595959;
}

img {
	border:none;
}



/*------------------------------------------------------------*
**  Блоки
**------------------------------------------------------------*/

#outer {
	text-align:left;
	background:#fff;
	margin:0;
    width: 103%;
}

#top {
	height:20px;
	background:#757575 url('../images/top.gif') repeat-x bottom;
	color:#fff;
}

#header {
	width:100%;
	height:280px;
}

#logo {
	width:100%;
	float:left;
}

#nav {
	float:left;
}

#menu {
	clear:left;
	height:107px;
	width:100%;
	background:url('../images/li.png') repeat-x;
}

#menu-left {
	width:315px;
	height:107px;
	float:left;
	background:url('../images/nav-logo.png') no-repeat;
}

#menu-right {
	float:left;
}

#wrapper {
	float:left;
	width:100%;m
}

#content {
	margin-left:330px;
	margin-right:30px;
	padding-top:0px;
}

#second {
	float:left;
	width:315px;
	margin-left:-100%;
}

#third {
	float:left;
	width:315px;
	margin-left:-225px;
}

#footer {
	width:100%;
	clear:both;
	background:url('../images/footer.gif') repeat-x;
	height:110px;
	color:#fff;
	font-size:12px;
}

#footer p {
	padding-top:50px;
	padding-left:30px;
}

#footer a {
	color:#fff;
}
/*------------------------------------------------------------*
**  Меню рядом с лого
**------------------------------------------------------------*/

#nav ul {
	margin-top:50px;
	list-style:none;
}

#nav li {
	display:inline;
	margin-right:20px;
}

#nav a {
	color:#1c9dc3;
	font-size:18px;
	text-decoration:none;
}

#nav a:hover {
	color:#595959;
}

/*------------------------------------------------------------*
**  Главное меню
**------------------------------------------------------------*/

#menu ul {
	margin-top:10px;
	list-style:none;
	float:left;
	margin-left:35px;
	padding-left:5px;
	border-left: #595959 solid 1px;
}

#menu ul.first {
	margin-left:0px;
	padding-left:20px;
	border-left:none;
}

#menu li {
	margin-bottom:0px;
	padding-left:14px;
	list-style-type: circle;
}

#menu a {
	color:#fff;
	font-size:11px;
	text-decoration:none;
}

#menu a:hover {
	color:#fff;
	text-decoration:underline;
}

/*------------------------------------------------------------*
**  Оформление
**------------------------------------------------------------*/

h1, h2, h3, h4 {
	font-weight:normal;
	font-family:Montserrat, Arial Black, sans-serif;
}

h1 {
	font-size:36px;
	padding-bottom:3px;
line-height: 1.2;
font-weight: bold;
}

h1 a {
	text-decoration:none;
}
h2 {
	font-size:26px;
}
h1 a:hover {
	text-decoration:underline;
}

.text {
	padding:10px;
}

.news {
	padding-bottom:30px;
	padding-left:15px;
	margin-bottom:40px;
	background:url('../images/img10.gif') no-repeat left bottom;
    width: 785px;
}

.info {
	margin-top:5px;
	font-size:12px;
}

.info ul {
	list-style:none;
}

li.more {
	background:url('../images/img16.gif') no-repeat;
	display:inline;
	padding-left:25px;
	margin-right:20px;
	padding-bottom:3px;
}

li.com {
	background:url('../images/img17.gif') no-repeat;
	display:inline;
	padding-left:25px;
}

li.views {
	background:url('../images/bullet-info.gif') no-repeat;
	display:inline;
	padding-left:20px;
	margin-right:20px;
	padding-bottom:3px;
}

li.fav {
	display:inline;
	padding-left:10px;
}

.top-info {
	margin-bottom:5px;
	font-size:11px;
	padding-left:0px;
}
.post-date {
	width: 45px;
	height: 49px;
	float:left;
	background: url(../images/date-bg.gif) no-repeat;
	margin-right:5px;
}
.post-month {
	font-size: 10px;
	color: #FFFFFF;
	text-align: center;
	display:block;
	line-height: 11px;
	padding-top: 2px;
	margin-left: -3px;
}
.post-day {
	font-size: 18px;
	text-transform: uppercase;
	color: #999999;
	text-align: center;
	display:block;
	line-height: 18px;
	padding-top: 7px;
	margin-left: -3px;
}
.post-title {
	float: left;
	margin-left: 10px;
}
.news-text {
	clear:center;
	padding-top:3px;
	padding-bottom:3px;
}

#module {
	margin-bottom:10px;
	font-size:12px;
	margin-top:10px;
	margin-left:15px;
}

#module h1 {
	font-size:18px;
}

.m-bottom {
	width:300px;
	background:url('../images/m-bottom2.gif') repeat-y bottom;
	border-top:2px solid #ededed;
border-left:2px solid #ededed;
}

.m-text {
	padding:3px 10px 30px 10px;
}

h1.red {
	color:#C40000;
}

h1.yellow {
	color:#d2a437;
}

.hello {
	background:#FFF9DE;
	margin-left:10px;
	padding:5px;
	border:1px dashed #aaa;
	margin-bottom:15px;
}

#top-right {
	float:right;
	width:20px;
	height:17px;
	background:url('../images/top-right.gif') no-repeat;
}

#b-l {
	width:27px;
	height:18px;
	background:url('../images/b-l.gif') no-repeat;
	float:left;
}

#b-r {
	width:27px;
	height:18px;
	background:url('../images/b-r.gif') no-repeat;
	float:right;
}
	
/* ==================== */

.f_textarea {
	color: #757575;		/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 449px;
	height: 156px;
	border: 1px solid #e0e0e0;
}
.f_input {
	color: #757575;		/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 300px;
	height: 14px;
	border: 1px solid #e0e0e0;
}
.f_select {
	color: #757575;		/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	height: 14px;
	border: 1px solid #e0e0e0;
}
/*------------------------------------------------------------*
**  Комментарии
**------------------------------------------------------------*/
#comment {
	margin-bottom:10px;
	padding-bottom:10px;
}
#comment-top {
	font-size:11px;
}
.comment-date {
	float:left;
	padding-right:10px;
}
#comment-bottom {
	margin:5px;
	font-size:11px;
	paddding-top:5px;
	clear:left;
}
.comment-s {
	padding:10px;
	overflow:hidden;
}
#com-l {
	width:20%;
	float:left;
}
#com-r {
	width:70%;
	float:left;
}
#com {
	margin-bottom:20px;
	border-top:1px dashed #e6e6e6;
	background:url('../images/news.gif') bottom right no-repeat;
}
.ctitle {
	font-size:18px;
    text-align: center !important;
        
}	


/* --- page navigation --- */
.pagi-nav {line-height:36px; text-align:left; font-size:16px; margin:20px 0; !important}
.pagi-nav > span {display:inline-block; !important}
.pnext a, .pprev a {display:block; width:36px; text-align:center; border-radius:3px; !important}
.navigation {padding:0 20px; text-align:center;!important }
.navigation a, .navigation span {display:inline-block; padding:0 5px; min-width:36px; margin:0 7px 5px 0; border-radius:3px; background-color:#f5f5f5; color:#afaeae;!important }
.navigation span {background-color:#292929; color:#fff; !important}
.pagi-nav a:hover {background-color:#292929; color:#fff; !important}
.navigation span.nav_ext {background-color:transparent; color:#888;!important }
.dle-comments-navigation .pagi-nav {margin-bottom:0; padding-bottom:20px; !important}
@media screen and (max-width: 950px) {.pagi-nav {white-space:nowrap; overflow-y:hidden; overflow-x:auto;} !important}
/* --- /page navigation --- */

#footer span { color:#888; float:right; }
#footer span a { color:#888; }

 p {
    margin-top: 0.5em; 
    margin-bottom: 1em; 
    font-family: Arial;
   }
 block {
    border: 10px solid #c28b7b; 
  
    padding: 5px;
    -moz-border-image: url(images/border.png) 35 34 35 35 repeat; 
    -webkit-border-image: url(images/border.png) 35 34 35 35 repeat; 
    -o-border-image: url(images/border.png) 35 34 35 35 repeat; 
    border-image: url(images/border.png) 35 34 35 35 repeat; 
   }
   .center {
    max-width: 990px; 
    margin: auto;
   }
