/*
	Theme Name: Nicol
Theme URL: http://wordpressorg.ru/nicol/
	Description: Nicol is a free WordPress theme with featured posts option. Suitable for any niche. Theme Options at admin panel
	Author: NewWpThemes.com
	Author URI: http://newwpthemes.com/
	Version: 3.0
	Tags: Elegant, Ads Ready, Three Columns, Right Sidebar, Fixed Width, Blogging, Options Page
*/

/* LAYOUT */

body { 
	background: url(../images/background.png) top left;
	}

#wrapper { 	background-position:center;
		background: url(../images/m.png) top repeat-y;
	}

#container { 
    background: url(../images/container-bg.png) left top repeat-x;
	}

#contentwrap {
    background: url(../images/contentwrap-background.png) top left repeat-y;
	}

a {
	color: #950501;
	}

a:hover {
	color: #b50804;
	}
/* HEADER */

#header {
	height: 260px;
        background: url(../images/fonh.png) top left;
	}

#header h1 {
	margin-bottom: 0px !important;
	padding: 20px 0 0 15px;
	font-weight: normal;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	font-size: 44px;
	}

#header h1 a, #header h1 a:visited {
	color: #363529;
	text-decoration: none;
	}


#header h2 {
	color: #676658;
	font-size: 14px;
    padding-left: 15px;
    font-family: Arial, Helvetica, Sans-serif;
	}

.logoimg {
    margin: 20px 0 0 5px;
}

/* NAVIGATION MENUS */


#pagemenucontainer {
	height: 30px;
    float: right;
    margin-top: 3px;
	}

#pagemenu {
	height: 30px;
    float: right;
	}

#pagemenu, #pagemenu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	}

#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px
	}

#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
    padding: 0;
	}

#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0;

	}

#pagemenu li a, #pagemenu li a:link {
	color: #e0e0e0;
	display: block;
    margin: 0 3px;
	padding: 9px 14px 9px 14px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
    font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	}

#pagemenu li a:hover, #pagemenu li a:active{
	color: #fff;
	display: block;
	text-decoration: none;
    background: url(../images/pagenav-hover.png) left top repeat-x;
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
	}

#pagemenu  li.current_page_item a {
	color:#fff;
    background: url(../images/pagenav-hover.png) left top repeat-x;
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
	}

#pagemenu li:hover, #pagemenu li.sfhover {
	position: static;
	}

.topright {
	text-align: left;
    margin: 10px 0 0 0;
	}

.topright a {
	color: #e0e0e0;
	text-decoration: none;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	vertical-align: top;
    text-transform: uppercase;
    font-weight: bold;

	}
.topright a:hover {
    color: #fff;
    text-decoration: none;
}

#navcontainer {
	height: 5px;
	display: block;
	overflow: hidden;
    border-bottom: 5px solid #950501;
    margin-bottom: 1px;
	}

#navcontainer .current-cat a {
	background: url(../images/nav-background-hover.png) top left repeat-x;
    text-shadow: 0 1px 0 #6c0906;
	color:#fff;
    -moz-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
	}

/* CONTENT */

#content {
	padding: 15px;
	}

pre { overflow: auto;
	width: 470px;
	}

.post {
	padding-bottom: 15px;
	margin-bottom: 15px;
    border-bottom: 1px solid #dad9cf;
	}

.post p {
	margin-bottom: 10px;
	}

.title {
	margin: 6px 0 19px 19px;
	padding: 0px;
	line-height: 22px;
	font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
	color: #37362a;
	}


.title a {
	text-decoration: none;
	color: #37362a;
	}

.title a:hover {
	text-decoration: none;
	color: #950501;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Helvetica, Sans-serif;
	text-decoration: underline;
}


.readmorecontent {
	text-align: right;
	}

a.readmore {
	padding: 4px 15px;
	text-decoration: none;
    font-size: 12px;
    background: #6f6e5e;
    color: #fff;
	}

a.readmore:hover {
    background: #960501;
	color: #fff;
	}

.postdate {
	font-size: 11px;
	padding: 2px 0px;
	font-family: Arial, Verdana;
	color: #6a6a6a;
	}


.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
	}

.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}

.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family: Arial, Verdana;
	font-size: 14px;
	}
.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}

.post img {
	max-width: 680px;
	}

img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
	}

.alignleft {
   float: left;
   margin: 0 10px 5px 0;
	}

.alignright {
   float: right;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
	}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}

/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #706f5a !important;
    background:none !important;
    border: 0 !important;
}
.wp-pagenavi a:hover {
    border: 0 !important;
    color: #fff !important;
    background:#6f6e5e !important;
    border: 0 !important;

}
.wp-pagenavi span.pages {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #706f5a !important;
    background: none !important;
    border: 0 !important;
}
.wp-pagenavi span.current {
    font-size: 15px !important;
    padding:  4px 8px !important;
    font-weight: bold;
    color: #fff !important;
    background:#960501 !important;
    border: 0 !important;
}
.wp-pagenavi span.extend {
    font-size: 15px !important;
    padding:  4px 8px !important;
    background:transparent !important;
    color: #706f5a !important;
    background: none !important;
    border: 0 !important;
}

/* SIDEBAR(S) */

.sidebaradbox {
	margin-top: 5px;
	text-align:center;
	}

.ad125 {
	margin: 10px;
	}


.sidebar {
	margin: 0 0 10px 0;
    color: #747360;
	}

.sidebar-right {
    margin: 0 10px 0 0;
	}

.sidebar-left {
    margin: 0 0 0 10px
	}


.sidebar a {
	text-decoration: none;
	color: #747360;
	}

.sidebar a:hover {
	text-decoration: underline;
	color:#333224;
	}


#search {
    border: 0;
    height: 30px;
    padding: 0;
    background: #eeede5;
    text-align: right;
    border: 1px solid #c5c4b8;
}

#search input {
    border: 0;
    background: none;
    color: #8f8e7d;
    font-size: 14px;
}


#s {
	width: 140px;
	padding: 4px;
    margin:3px 0 0 0;
    background: none;
}

#topsearch 	#s {
  width: 140px;
}

#topsearch #search {
    margin: 15px 0 0 0;
}

.sidebar h2 {
	margin: 10px 0 0 0;
	padding: 6px 0 6px 6px;
	background: url(../images/sidebar-tab.png) left center repeat-x;
	font-size: 15px;
    line-height: 15px;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
    text-transform: uppercase;
	color: #e9e9e1;
    text-shadow: 0 1px 0 #797865;
	}

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}

.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0;
	}

.sidebar ul li ul li, .sidebar ul li li {
	padding: 6px 0px 6px 9px;
	margin: 0;
    border-bottom: 1px solid #d7d7d4;
    background: url(../images/bullet.png) left 12px no-repeat;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	color: #747360;
	background: none;
	}
#wp-calendar caption {
	padding: 2px 4px;
	text-transform: uppercase;	margin: 2px 0 2px 0;
	background: none;
    color: #747360;
	}

#wp-calendar td {
	color: #747360;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
	}

#wp-calendar td:hover, #wp-calendar #today {
	background: #747360;
	color: #fff;
	}

#wp-calendar td:hover a{
   color: #fff;
}

#wp-calendar {
	empty-cells: show;
	font-size: 8px;
	margin: 0;
	font-weight: bold;
	width: 95%;
	}


/* FOOTER */

#footer {
	background: #929180 url(../images/footer-bg.png) left top repeat-x;
	padding: 20px 0 15px 0;
	text-align: center;
	color: #e6e5d8;
	font-size: 13px;
	}

#footer a {
	color: #e6e5d8;
	}

#footer a:hover {
	text-decoration: none;
    color: #e6e5d8;
	}

#footer2 {
	color: #929180;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	}

#footer2 a {
	color: #929180;
    text-decoration: none;
	}

/* COMMENTS */

#comments h3 {
	margin-bottom: 10px;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#respond:after {
		content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
	}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}

.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

.post_thumbnail {
    padding: 6px;
    border: 1px solid #dad9cf;
    margin: 0 10px 10px 0;
}

.clr {display:block; clear:both; line-height:0; height:0; font-size:0; overflow:hidden; float:none !important;}

.ttl {top:357px;left:96px;position:absolute;font-size: 24px;line-height: 24px;color: #fff;text-transform: uppercase;}

.list_album .alb_wrap{border-top: 2px solid #fff1c3;padding-top: 11px;margin-top: 9px;}
.list_album .alb_wrap.first {border: none;padding: 0;margin: 0;}
.list_album .alb_item {width: 235px;float: left;margin: 0 0 0 20px;}
.list_album .alb_item.first {margin-left: 19px;}

.list_album .alb_item .img{display: block;margin-bottom: 9px;margin-left: 0px;}
.list_album .alb_item .img img, .list_album2 .alb_item .img img, .mater_item .img img, .ph_box .img img{padding:4px 5px;background: #fff;border: 1px solid #bebebe;}
.list_album .alb_item .ttl2, .list_album2 .alb_item .ttl2,  .mater_item .ttl2 {display: block;font-size: 20px;line-height: 18px;color: #286c97;text-decoration: none;margin: 0 0 10px;}
.list_album .alb_item .counter {font-size: 18px;line-height: 18px;color: #e98500;text-align: left;}
.list_album .alb_item p, .mater_item p {line-height: 15px;}
.list_album .car_box {margin: 23px 0 61px;}

.list_album2 .alb_item, .mater_item {border-bottom: 2px solid #fff1c3;margin:0 0 9px 19px;padding-bottom: 9px;}
.list_album2 .alb_item .img, .mater_item .img{display: block;float: left;margin-right: 11px;}
.list_album2 .alb_item .ttl2, .mater_item .ttl2 {padding-top: 3px;}
.list_album2 .alb_item .ttl2 span {display: inline-block;color: #e98500;margin-left: 4px;}
.list_album2 .alb_item .ttl2:hover, .list_album .alb_item .ttl2:hover, .mater_item .ttl2:hover{text-decoration: underline;}
.list_album2 .alb_item p {line-height: 14px;}
.list_album2 .car_box {margin: 20px 0 116px;}

.list_materials {margin-bottom: 120px;}
.list_materials .mater_item.last {border: none;padding: 0;margin-bottom: 27px;}
.list_materials .mater_item .ttl2 {margin-bottom: 7px;}
.list_materials .mater_item .date, .photo_in_album .mater_item .date {font-weight: bold;color: #fff;padding-left: 20px;line-height: 18px;background: url(../images/date_bg.jpg) 0 0 no-repeat;width: 479px;float: right;margin-bottom: 6px;margin-top: 2px;}


.titlel {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 3px;
    margin-top: 41px;
}

.last_news {margin-bottom: 120px;}
.last_news .mater_item 
{
/*    border-bottom: 2px solid #FFF1C3;*/
    border-bottom: 2px solid #CBA400;
    margin: 0 1px 9px 4px;
    padding-bottom: 9px;
    padding-top: 16px;
}
.last_news .mater_item.last {border: none;padding: 0;margin-bottom: 27px;}
.last_news .mater_item .ttl2 {margin-bottom: 4px;font-size: 18px;}
.last_news .mater_item .img {margin-left: 0px;}
.last_news .btn {
    color: #236BF1;
    float: right;
    font-weight: bolder;
    margin-bottom: 19px;
    margin-top: -17px;
    text-decoration: underline;
}
.last_news .mater_item .date, .photo_in_album .mater_item .date {font-weight: bold;color: #fff;padding-left: 25px;line-height: 18px;background: url(../images/date_bg.jpg) 0 0 no-repeat;width: 150px;float: right;margin-bottom: 6px;margin-top: 2px;}



.photo_in_album {margin: 0 0 168px;}
.ph_box {margin: 0 0 8px;}
.ph_box .img {display: block;position: relative;width: 202px; height: 152px; float: left;margin: 0 0 8px 10px;}
.ph_box .img.first {margin-left: 19px;}
.ph_box .img img {width: 200px !important;height: 150px !important;} 
/*.ph_box .img span {position: absolute;top: 0;left: 0;display: none;width: 202px;height: 152px; border: 4px solid blue; background: url(../images/ph_bdr.png) 0 0 no-repeat;}*/
.ph_box .img span {position: absolute;top: 0;left: 0;display: none;width: 206px;height: 156px; border: 2px solid darkblue;}
.ph_box .img:hover span {display: block;width: 206px !important;height: 156px !important;}

.pager{overflow:hidden;float:right;}
.pager ul{height:32px;}
.pager ul li{float:left;margin:0 0 0 5px;list-style-type: none;}
.pager ul li > *{display:block;}
.pager ul li a {width:30px !important; height:30px !important;line-height:30px;display:block;background-color:#f5f5f5;border:1px solid #cfcece;text-align:center;font-size:12px;text-decoration:none;color:#5d5d5d;}
.pager ul li a:hover, .pager ul li.active a {color:#fff;background:url(../images/pager_bg.png) 0 0 repeat-x;border-top:1px solid #34a6ff;border-right:1px solid #0070c9;border-bottom:1px solid #0063b3;border-left:1px solid #48a7f4;}
.pager span {display:block;width:7px;height:6px;background:url(../images/pag_but.png) 0 0 no-repeat;margin:13px 0 0 12px;//margin-left:0;}
.pager .lbtn:hover span {background-position:0 -6px;}
.pager .rbtn span {background-position:-8px 0;}
.pager .rbtn:hover span {background-position:-8px -6px;}

#menu_top {font-size: 16px; font-weight: bold; margin-top: 10px; margin-left: 5px;}

#dwn
{
    text-align: center;
}

.downcounter
{
    border: 2px solid darkblue;
    background-color: yellow;
    font-family: verdana,tahoma;
    font-weight: bold;
    font-size: 36px;
    text-align: right;
    padding: 5px 5px 5px 5px;
}

.downcounterdays
{
    
    
    font-family: verdana,tahoma;
    font-weight: bold;
    font-size: 24px;
    text-align: right;
    padding: 5px 5px 5px 5px;
}

.banner
{
    padding-left: 10px;
    padding-top: 10px;
}
.banner2
{
    padding-left: 0px;
    padding-top: 10px;
}

.news_item
{
    padding-top: 20px;
}

.feedback{width:379px;}
.feedback .line{margin:0 0 2px; overflow:hidden; clear:both;}
.feedback .line label{display:block;float:left;padding:2px 0 0;font-size:12px;color:#b34c22;}
.feedback .line label:first-child{width:120px !important;font-weight:bold;}
.feedback input[type=text]{display:block; position:relative; float:left;background:none; border:1px solid #e3ddc3; height:25px !important;line-height:25px;width:235px !important;padding:0 10px;overflow:hidden;font-size:12px;color:#4f4e4e; font-family:  Arial, Helvetica, sans-serif; }
.feedback textarea{display:block; position:relative;float:left;height:69px !important;width:236px !important;padding:2px 10px;background:none; border:1px solid #E3DDC3; font-size:12px;color:#4f4e4e; font-family:  Arial, Helvetica, sans-serif; }
.feedback input.error , .feedback textarea.error{background:none; border:1px solid #edb829}
.feedback label.error{display: block;color:#b34c22;margin-left:110px;font-weight:normal; font-size:11px;border: none;background: none;}
.feedback .capcha_line{margin:4px 0 0;}
.feedback .capcha_line label{color:#4f4e4e;float:right;margin:0 6px 0 10px;}
.feedback .capcha_line .renew_capcha{float:right;display:block;background:url(../images/renew_capcha.png) 0 0 no-repeat;width:25px;height:25px;margin:0 7px 0 0;}
.feedback .capcha_line .capcha_img{float:right;display:block;margin:1px 0 0;}
.feedback .capcha_line input[type=text]{width:33px !important;float:right;padding:0 10px;}
.feedback .btn{float:right;margin:20px 0px 0 0;}
*:first-child + html .feedback .sbtn > span {padding:0 14px 0 0;}
.feedback input[type="button"] { background:url(../images/btn_bg_hover.png) no-repeat 0 0; height: 53px; width: 157px; cursor:pointer;border: none; margin-left: 169px;font-weight: bold;}
.feedback input[type="button"]:hover { background:url(../images/btn_bg_hover.png) no-repeat 0 bottom;}