/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;border:0px solid #000;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

body, ul, li, img, div, a, td, tr, table, p { behavior: url('../s/iepngfix.htc');}
/* typography.css */
body {	
    height: auto;
    font-size:85%;
    color:#150805;
    background:url('../i/tx.jpg');
    font-family: 'Trebuchet MS', Helvetica, sans-serif;	 	
    line-height:1.6; 
    font-stretch: semi-bold;
    font-weight: 500;
    min-width:960px;
    max-width:1920px;
}

p {
    height: auto;
    color:#150805; 		    
    font-size:1.2em;
}

p.footer_content {
    margin-left:191px;
    height: 54px; 
    padding-left: 30px;
    padding-top: 10px;
    font-size:1em;
    color:#ffeeda;
}

h1, h2, h3, h4, h5, h6 {font-family: Palatino Linotype, Palatino;font-weight:normal;color:#230b07;text-align:center;}
h1 {font-weight:bold;font-size:1.25em;margin-bottom:0.5em;}
h2 {font-size:1.2em;margin-bottom:0.75em;font-weight:bold;}
h3 {font-size:1.0em;line-height:1;margin-bottom:1em;}
h4 {font-size:0.9em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:0.6em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:0.6em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}

p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a.active {color:#f2e19c;}
a:focus {color:#27120e;text-decoration:none;border-bottom: 1px dashed #27120e;}
a:hover {color:#27120e;text-decoration:none;border-bottom: 1px dashed #27120e;}
a {color:#27120e;text-decoration:none;border-bottom: none;}
a.afisha {color:#27120e;}
a.afisha_nondec {color:#27120e;text-decoration:none;border-bottom: 0px solid #fff;}
a.nondec {color:#ddc297;text-decoration:none;border-bottom: 0px solid #fff;}
a.default {color:#f2e19c; text-decoration:none;border-bottom: 1px solid #ddc297;}
a.default:focus {color:#f2e19c;text-decoration:underlined;}
a.default:hover {color:#a07758;text-decoration:underlined;}
a.afisha_name {color:#27120e;text-decoration:none;border-bottom: 1px dashed #27120e;} 
.breadcrumb {font-size:1em; color:#838383;}
blockquote {margin:1.5em;color:#838383;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #414141;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#838383;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em; width:100%;}
th {font-weight:bold;}
thead th {background:#414141;}
th, td, caption {padding:4px 10px 4px 5px;}
tr.even td {background:#838383;}
tfoot {font-style:italic;}
caption {background:#414141;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#838383;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/* grid.css */
html,body{
	margin:0;
	padding:0;
	height:100%;
}

body{
	padding-top:175px;/*match height of fixed header*/
	margin-top:-175px;/*match height of fixed header*/
	padding-left:190px;/*match width of fixed sidebar*/
	margin-left:-190px;/*match width of fixed sidebar*/
}

div{
	border: 0px solid #000;
}

#outer{
	margin-left:201px;/* match width (at least) of fixed sidebar (#left)*/
	margin-right:221px;
	
	/*background:url('/i/tx.png') repeat;*/
	border: 3px double #000;
	min-width:525px;
	max-width:1050px;
}

html>body #outer{
	min-height:100%
}

div.content{
	padding-left:30px;
	padding-top:10px;

}

div.menu
{      
	height:33px;
	position:relative;
	padding-left:20px;
	font-weight:bold;
	text-align:left;
       font-family: Palatino Linotype, Palatino;
}


div.footer_content {
	margin-left:201px;
	height: 54 px;
}

p.contacts{
	padding-top: 600px;
	padding-left: 310px;
	padding-right: 10px;
	padding-bottom: 10px;

}

.valign{
			display:table-cell; /* для не IE */
			line-height: expression(this.offsetHeight + "px"); /* для IE */ 
			behavior: expression(!this.extra ? this.extra = this.innerHTML = '<span></span><p>' + this.innerHTML + '</p>' : ''); /* для IE */
		}
		
		.valign, .valign p{
			vertical-align:middle; /* здесь выравниваем текст по вертикали */ 
		}
		/* для IE */ 
		.valign p{
			line-height:normal;
			display:inline;	
		}
		/* для IE */
		.valign *{
			zoom:1;	 /* Важно! Устанавливаем hasLayout = true */
		}


p.uslugi
{
	color:#f2e19c;
	padding-top: 60px;
	padding-left: 60px;
	padding-right: 60px;
	padding-bottom: 10px;
}

#inner{
       
	padding-top:10px; 
	padding-left:10px;
	padding-right:10px;
	margin:0 auto;	
	min-width:525px;
	max-width:1050px;	
}

#header{
	/*position:fixed;*//* for good browsers*/
	top:0;
	left:0;
	width:100%;
	height:177px;/* the height you want the header to be*/
	z-index:999;
}

#headerinner{/* header content goes inside here*/
	text-align:center;
	/* background:#230b07 url(images/blogphoto.jpg) repeat-x right top; */
	height:177px;/* match height of fixed header*/
	position:relative;
	z-index:999;
}

#left{/* Bear in mind that as there is no height then scrollbars won't appear in IE and very small screens will be unable to reach the content of his fixed side - so keep content to a minimum */
	width:200px;
	position:absolute;/* for good browers */
	left:0;
	top:177px;
	/*bottom:50px;*//* this will enable a vertical scrollbar to appear in good browsers*/
	overflow:auto;/* this will enable a vertical scrollbar to appear in good browsers*/
	/*background: url('../i/menu_left.png') no-repeat left top;*/
}

#leftmenu{
    width:130px;
    padding-left:70px;
    top:177px;
    bottom:50px;
}

#leftleft{
    width:100px;
    padding-left:100px; 
    top:177px;
    bottom:50px;
}

#right{
	width:220px;	
	position:absolute;
	right:0;
	top:177px;
	color:#f2e19c;
	overflow:auto;
}

#footer{
	height:50px;		
	/*position:fixed;*/
	bottom:0;left:0;
	z-index:999;
	width:100%;
}

#clearfooter{/* to clear footer*/
	height:51px;
	clear:both;
}
#gallery {}
#gallery div {float:left; align:justify; padding: 5px;}

/* Calendar */
#calendar-cont{
	height: 118px; padding-left:80px;
}
table#calendar{
	width: 186px;background:url('/i/tx.png') repeat;
	border:1px #27120e solid;
}
table#calendar td{
	width: 14%;
	padding: 0 2px 1px 2px;
	text-align: center;
	font-size: 1em;
	line-height: 100%;
}
table#calendar tr.month td{
	padding: 2px;
}
table#calendar tr.days td{
	padding: 1px;
	background:#e3cca7;
}

table#calendar td a:link, table#calendar td a:visited, table#calendar td a:hover, table#calendar td a:active{
	color: #000;
	display: block;
	padding: 1px;
}
table#calendar tr.month td a:link, table#calendar tr.month td a:visited,
table#calendar tr.month td a:hover, table#calendar tr.month td a:active{
	padding: 0;
}
table#calendar td.sat a:link, table#calendar td.sat a:visited, table#calendar td.sat a:hover, table#calendar td.sat a:active{
	color: #4b2623;
}
table#calendar td.sun a:link, table#calendar td.sun a:visited, table#calendar td.sun a:hover, table#calendar td.sun a:active{
	color: #4b2623;
}
table#calendar td.sat, table#calendar td.sun{
	color: #4b2623;
}
table#calendar td a.active:link, table#calendar td a.active:visited,
table#calendar td a.active:hover, table#calendar td a.active:active{
	color: #fff;
	background: #000;
}
table#calendar td.sat a.active:link, table#calendar td.sat a.active:visited,
table#calendar td.sat a.active:hover, table#calendar td.sat a.active:active{
	color: #fff;
	background: #752981;
}
table#calendar td.sun a.active:link, table#calendar td.sun a.active:visited,
table#calendar td.sun a.active:hover, table#calendar td.sun a.active:active{
	color: #fff;
	background: #752981;
}
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/i/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/i/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }