@charset "UTF-8";

body  {
	font: 100% Georgia, Verdana, Geneva, sans-serif;
	background:url(images/wall_dark.gif);
	margin: 0px; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0px;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #493900;
}
A {
    color: #493900; /* Цвет ссылок */
}
A:visited {
    color: #493900; /* Цвет посещенных ссылок */
}
A:active {
    color: #493900; /* Цвет активных ссылок */
}
A:hover {
    color: #1d1701; /* Цвет активных ссылок */
}

.main #container { 
	width: 1024px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	height: auto;
	background-image:url(images/wood_bg.jpg);
	/*background: #694b25;*/
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 8px ridge;
	border-style: ridge;
	border-color:#f4d868 ;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

.main #header { 
	background:url(images/header.jpg);
	width: 1024px;
	height: 300px;
	padding: 0px 0px 0px 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

.main #menu { 
	background:
	padding: 0 0px 0 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	margin-top: 0px;
	margin-bottom: 15px;	
} 

.main #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

.main #sidebar1 {
	float: right;
	height:750px;
	width: 340px; /* 340the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background-image:url(images/bg_right_div.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 32px 0px 0px;
}

.main #mainContent { 
	float: left;
	width: 500px;
	height: 750px;
    background-image:url(images/bg_left_div.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	text-align:justify;
} 
/*ДЛЯ УСЛУГ*/

.main #sidebar1_service {
	float: right;
	height:930px;
	width: 340px; /* 340the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background-image:url(images/bg_right_div.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 32px 0px 0px;
}

.main #mainContent_service { 
	float: left;
	width: 500px;
	height: 930px;
    background-image:url(images/bg_left_div.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	text-align:justify;
} 

/*ДЛЯ ГАЛЛЕРЕИ*/

.main #mainContent_gallery { 
	float: left;
	width: 900px;
	height: 500px;
    background-image:url(images/bg_div_gallery.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	text-align:center;
} 

/*ДЛЯ СТАТЕЙ*/

.main #mainContent_articles{ 
	float:inherit;
	width: 900px;
	height: 400px;
    background-image:url(images/bg_div_gallery.jpg);
	padding: 0px 30px 15px 30px;
	margin: 0px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	text-align:justify;
} 
/*ЗАКРУГЛЕНИЕ ОСНОВОГО ИНФ. БЛОКА ЕСЛИ ОН ОДИН, КАК В ГАЛЛЕРЕЕ*/
.main #top_round_gallery { 
	float:none;
	width: 900px;
	height:15px;
	background-image:url(images/top_round_gallery.png);
	padding: 15px 30px 15px 30px;
	margin: 15px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
} 

.main #top_round { 
	float:none;
	width: 900px;
	height:15px;
	background-image:url(images/top_round.png);
	padding: 15px 30px 15px 30px;
	margin: 15px 0px 0px 32px; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
} 

.main #footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:url(images/down_round.png);
	margin: 0px 0px 0px 32px;
	width: 930px;
	height:50px;
} 

.main #footer_gallery { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:url(images/down_round_gallery.png);
	margin: 0px 0px 0px 32px;
	width: 930px;
	height:50px;
} 
.main #footer_clear { 
	float:none;
	width: 930px;
	height:20px;
	text-align:center;
} 
.main #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.main #menu_table {
	text-align: center;
	color: #FFFfff;
	width: 960 px;
	height: 32 px;
	border: 0 px;
	bgcolor: #002200;

}

.imgCenter {
text-align:center;
}

.textind {
text-indent: 40px;
}

h3 {
	color: #352500;
	margin: 0 0 0 0;
    padding: 0 0 0 0;
	font: 22px;
	text-align:center;
	size: 24px;
	font-weight: bold;
	
}

h2 {
	color: #352500;
	margin: 0 0 0 0;
    padding: 0 0 0 0;
	font: 20px;
	text-align:center;
	size: 24px;
	font-weight: bold;
	
}

.main #photo_gallery { 
	padding: 10px 10px 10px 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
} 

hr {
	color: #352500;
	width:600px;
	text-align:center;
}

.centertext {
	text-align: center;
	font:Verdana;
	font-size:16px;
}

.main #smallfont { 
	font-size:14px;
}
