/*
Theme Name: Lianozovo
Theme URI: http://blacklink.free-lance.ru
Description: The Lianozovo theme.
Version: 1.0
Author: Pavel Vrubel
Author URI: http://blacklink.free-lance.ru
Tags: wood, fluid, two columns
*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote{margin:1em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}

/* Begin Typography & Colors */
body {
	font-size: 11px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	color: #666666;
	background:url(images/ffbg.jpg) repeat-x bottom;
	overflow-x:hidden;
}

a {
	text-decoration: none;
	color: #cd162c;
}

h1, h2 {
	color: #000;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: normal;
	padding-left: 20px;	
	height: 24px;
	padding-top: 9px;
}
th {
	text-align: left;
	line-height: 220%;
}

* html li {
  z-index: expression(
    runtimeStyle.zIndex = 1,
    this == parentNode.firstChild ? (className = "first-child") : 0,
    this == parentNode.lastChild ? (className = "last-child") : 0
  );
}

#page {
	height: 100%;
	}

#top {
	background: url(images/hbg.jpg);
	height:118px;
	width:100%;
}
#top td {
	text-align: right;
}
#logo {
	background: url(images/logo.jpg);
	width: 370px;
	height:118px;
}
#logo a{
	display: block;
	width: 370px;
	height:118px;
}
#address {
	background: url(images/address.png);
	width: 446px;
	height:118px;
	text-align: right;
}
#mainmenu-container {
	width: 100%;
	background: url(images/mm.jpg);
	vertical-align: top;
}
#mainmenu {
	vertical-align: top;
}
#mainmenu li{
	float: left;
	display: block;
	height: 68px;
}
#mainmenu a{
	color: #3e3b34;
	text-decoration: none;
		height: 68px;
	display: block;
	padding-left: 26px;
	padding-right: 26px;
	font-size: 24px;
	text-transform: uppercase;
	padding-top: 28px;
}
#mainmenu a:hover{
	color: #FC3619;
}
#mainmenu  .current_page_item {
	background:url(images/mmr.png) no-repeat right;
}
#mainmenu  .current_page_item a{
	text-decoration: none;
	color: #fff;
	background:url(images/mml.png) no-repeat;
}
#slider {
	width: 100%;
	background: url(images/hmbg.jpg);
}
#desc {
	height:242px;
	width:100%;
	background: url(images/hb.jpg) no-repeat right;
}
#desc p{
		color:#dcd8c7;
	font-weight: bold;
	padding-top: 50px;
	line-height:25px;
		padding-left: 5%;
}
#slide-corner{
	height: 11px;
	width: 11px;
	position: absolute;
	background:url(images/s-corner.png);
}
#slide-arr{
	height: 60px;
	width: 30px;
	position: absolute;
	background:url(images/arr.png);
	left: 470px;
	top: 294px;
}
#slide{
	height: 242px;
	width: 459px;
	background:url(images/slide.jpg) no-repeat;
	border-right: 1px #6A645D solid;
}
#slider-sel {
	height: 34px;
	margin-top: 50px;
	margin-left: 5%;
}
#slider-sel td{
	background: url(images/sm.png);
	font-size:18px;
	text-transform: uppercase;
	text-align: center;
	width: 110px;
	cursor: pointer;
}
#slider-sel a{
	color: #59554b;
}
#slider-sel .active{
	background-position: bottom;
}
#slider-sel .active a{
	color: #fff;
}
td#sl {
	background: url(images/sl.png);
	width: 12px;
}
td#sr {
	background: url(images/sr.png);
	width: 12px;
}
#tel small{
	font-size: 24px;
}
address {
	color: #acabab;
	font-size: 18px;
	font-style: normal;
}
#accordion {
	height: 239px;
  	margin-left: 19px;
}

#container {
	width:100%;
}
#container-c {
		width:100%;
		margin-top: 44px;
		margin-left: 59px;
}
#sidebar {
	background:url(images/dots.png) repeat-y left;
	width: 340px;
	vertical-align: top;
	height: 100%;
	padding-top: 20px;
	padding-bottom: 50px;
}
#sidebar h2{
	width: 160px;
	background: #C1BEAD;
}
.module {

}
.module p{
	padding-left:20px;
}
#photo img{
	margin-top: 50px;
}
.more {
	padding-left: 12px;
	background: url(images/m.png) no-repeat left 5px;
}

#content {
	background:url(images/dots.png) repeat-y left;
	vertical-align: top;
	padding-top: 20px;
	padding-bottom: 50px;
	line-height: 180%;
}

#content h2{
	margin-bottom: 28px;
}

#content p{
	margin-left: 20px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-right: 150px;
}

#content table {
	margin-left: 20px;
	margin-bottom: 38px;
}

#h2-1 {
	background: #FCAD19;	
}
#h2-2 {
	background: #FC7C19;	
}
#h2-3 {
	background: #FC3619;	
}
#h2-4 {
	background: #FCAD19;	
}

.intro h2{
	width: 160px;
	background: #FCAD19;
}

#footer {
	height: 40px;
		vertical-align: bottom;
}
#footer td{

}
#footermenu li{
	float: left;
	padding-left: 17px;
	padding-right: 17px;
	border-right: 1px solid #7D7D7D;
}
#footermenu a{
	color: #cd162c;
	text-decoration: none;
}
#footermenu li:first-child, #footermenu li.first-child{
		padding-left: 0;
}
#footermenu li:last-child, #footermenu li.last-child{
	border-right: none;
}
#footermenu  .current_page_item a{
	text-decoration: none;
	color: #666666;
}
#ffl {
	height:73px; width:40px; background:url(images/ffl.png);
}
#ffbg {
	background:url(images/ffbg.png);
}
#ffr {
	height:73px; width:40px;background:url(images/ffr.png);
}
.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

.entry p a:visited {
	color: #b85b5a;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}


code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}


/* End Structure */

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#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;
	}
/* End Form Elements */



/* Begin Comments*/
.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;
	}
/* End Comments */

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}


/* End Various Tags & Classes*/



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

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
}
/* End captions */


/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
	
	
	
.editComment, .editableComment, .textComment{
	display: inline;
 
}
.comment-childs{
	border: 1px solid #999;
	margin: 5px 2px 2px 4px;
	padding: 4px 2px 2px 4px;
	background-color: #fff;
            width:500px;
 
}
.chalt{
	background-color: #E2E2E2;
            width:470px !important;
}
#newcomment{
	border:1px dashed #777;width:90%;
}
#newcommentsubmit{
	color:red;
}
.adminreplycomment{
	border:1px dashed #777;
	width:600px;
	margin:4px;
	padding:4px;
}
.mvccls{
	color: #999;
}
			
.ngg-gallery-thumbnail , .ngg-galleryoverview, .ngg-gallery-thumbnail-box {display:inline;}
			