* {
	margin: 0;
	padding: 0;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	margin: 5px 0 100px 0;
	background: #6a8989;
}
a {
	color: blue;
	outline: none;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
p {margin: 0 0 18px}
img {
	border: none;
}
input {vertical-align: middle}
#wrapper {
	width: 1000px;
	height: auto;
	margin: 0 auto;
	background: #fff;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
width: 1000px;
	height: 215px;
background: url(images/max_logo.jpg) no-repeat;
}

#logo {
	width: 375px;
  height: 177px;
border: #000 dotted 0px;
float: left;
}

#maxto {
width: 625px;
height: 215px;
border: #000 dotted 0px;
float: left;
}

.logo_maxto {
width: 625px;
height: 171px;
}

.menu {
	width: 585px;
  height: 44px;
  float: right;
  	background: #cab86f;
}

.menu ul{
	list-style:none;
	width: 570px;
	height:40px;
	border: #000 dotted 0px;
	margin-left: 11px;
}
.menu ul li{
	float:left;
}
.menu ul li a{
	display:block;
	height:40px;
	padding:12px 7px 0 7px;
	margin: 0 10px 0 0;
	float:left;
	text-transform: none;
	font-family: Georgia;
	font-size: 18px;
	color:#fff;
	text-decoration: none;
	text-align:center;
}
.menu ul li a:hover, ul li.active a{
text-decoration: underline;
}

/* Main
-----------------------------------------------------------------------------*/
#main {
width: 1000px;
padding: 0 10px 0 10px;
}

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

#index_left {
height: auto;
width: 430px;
float: left;
}

#old-photo_index {
height: auto;
width: 400px;
float: left;
padding: 0 10px 0 0;
margin: 50px 0 0 20px;
border: #000 dotted 0px;
background: url(images/retrophoto_index.jpg) no-repeat;
}

.old-photo_index_text {
margin-top: 270px;
font-family: Georgia;
font-size: 14px;
color: #000;
text-align: center;
}

.new_old_photo {
font-family: Georgia;
font-size: 19px;
color: #ccc;
}

#old-photo_index_last {
height: auto;
width: 400px;
float: left;
font-family: Georgia;
font-size: 14px;
color: #696969;
padding: 0 0 0 0;
margin: 30px 0 10px 20px;
border: #000 dotted 0px;
}

#old-photo_index_last h1 {
font-weight: bold;
font-family: georgia;
font-size: 11px;
}

#old-photo_index_last h1 a {
color: #5E6F80;
}

#old-photo_index_last h1 a:hover {
text-decoration: underline;
}

#old-photo_index_last_blok {
width: auto;
height: auto;
margin-bottom: 15px;
}

#old-photo_index_last_blok:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#old-photo_index_last_img {
width: 150px;
height: auto;
float: left;
text-align: center;
border: #000 dotted 0px;
}

#old-photo_index_last_img img {
width: auto;
height: 100px;
}

#old-photo_index_last_img img:hover {
 opacity: 0.8;
}

#old-photo_index_last_text{
width: 240px;
height: auto;
float: left;
border: #000 dotted 0px;
}

#artikles {
height: auto;
width: 400px;
float: right;
font-family: Georgia;
font-size: 14px;
color: #696969;
padding: 0 18px 0 0;
margin: 30px 0 0 0;
}

#artikles h2 {
font-size: 14px;
font-weight: normal;
}

#artikles h2 a {
color: #396da1;
}

#artikles h2 a:hover {
color: #ccc;
}

#artikles p {
margin: 0;
}

.artikles_img {
float: left;
width: 100px;
height: 100px;
position: relative;
left: -125px;
margin-right: -125px;
}


.artikles_text {
margin: 0 0 20px 0;
}

.artikles_date {
color: #cab86f;
font-size: 11px;
font-weight: bold;
}

/* Content
-----------------------------------------------------------------------------*/
#content {
float: left;
width: 975px;
height: auto;
padding: 25px 5px 15px 0;
}

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

#content .page_none {
display: none;
}

.page_content_text {
font-family: Georgia;
font-size: 14px;
color: #404040;
}

.page_content_text img {
border: #ccc solid 1px;
padding: 5px;
}

#content_left_sidebar {
width: 165px;
height: auto;
float: left;
padding: 35px 5px 0 0;
font-family: Georgia;
font-size: 11px;
font-weight: bold;
color: #000;
line-height: 23px;
}

.content_left_sidebar_razdels {
line-height: 15px;
}

#content_left_sidebar a {
font-size: 14px;
font-weight: normal;
color: #396da1;
margin-left: 10px;
}

#content_left_sidebar a:hover {
color: #ccc;
}

#text {
float: left;
width: 700px;
margin-bottom: 15px;
}

#text h1 {
font-family: Georgia;
font-size: 16px;
color: #708090;
padding: 0 0 15px 0;
text-align: left;
}

/* +++ COMMENTS +++ */

#comments {
width: 700px;
height: auto;
font-size: 13px;
padding: 5px 0 5px 0;
font-family: Georgia;
}

.comment_count {
color: #cab86f;
padding: 10px 0 10px 91px;
}

.commentblock {
border: 0px solid #cab86f;
width: 600px;
background: #fff;
color: #cc9;
float: right;
margin: 10px 0 0 0;
font-size: 12px;
padding: 5px 5px 10px 5px;
}

.comments h3 {
font-size: 11px;
font-family: tahoma;
color: #657F73;
}

.comment_user {
color: #000;
font-family: Georgia;
font-size: 15px;
font-weight: bold;
}

.comment_user a {
color: #c60104;
text-decoration: none;
}

.comment_data {
font-size: 12px;
width: 70px;
float: left;
font-family: Georgia;
color: #999999;
text-align: right;
padding-right: 5px;
}

.comment_moder {
color: #6A97A8;
font-family: tahoma;
font-size: 9px;
padding-left: 75px;
}

.comment_text {
font-size: 12px;
font-family: verdana;
color: #404040;
padding: 5px 0 0 75px;
line-height: 15px;
}

.comment_text p {
margin-top: 0; 
margin-bottom: 0;
}

.commentform {
padding: 0px 0 5px 91px;
}

.comment-form {
margin: 20px 0 0 0;
}

.comment-form input, .commentform textarea {
background: #fff;
border: 1px solid #6a8989;
font-family: verdana;
color: #696969;
font-size: 13px;
padding: 2px 10px 2px 10px;
}

.add_comment {
color: #cab86f;
padding: 0 0 0 0;
}


/* category
-----------------------------------------------------------------------------*/

#category {
width: 720px;
float: right;
}


.category_blok {
height: auto;
width: 690px;
font-family: Georgia;
font-size: 14px;
color: #696969;
padding: 0 10px 0 0;
margin: 30px 0 20px 0;
}



.category_blok h1 {
font-size: 14px;
font-weight: normal;
margin-left: 140px;
}

.category_blok h1 a {
color: #396da1;
}

.category_blok h1 a:hover {
color: #ccc;
}


.category_img {
float: left;
width: 100px;
height: 100px;
position: relative;
left: -125px;
margin-right: -125px;
}

.category_text {
margin: 0 0 20px 0;
margin-left: 140px;
}

.category_date {
color: #cab86f;
font-size: 11px;
font-weight: bold;
margin-left: 140px;
}

#category_left_sidebar {
width: 260px;
min-height: 400px;
float: left;
margin-left: -10px;
border: 0px dotted black;
}

#category_left_sidebar_map {
width: 220px;
height: 176px;
float: left;
margin: 30px 0 30px 20px;
background: url(images/map1.jpg) no-repeat;
}

#category_left_sidebar_title {
width: auto;
height: auto;
float: left;
color: #000;
font-family: Georgia;
font-size: 18px;
padding: 6px 30px 6px 30px;
background: #fcefad;
}

#category_left_sidebar_menu {
width: 200px;
height: auto;
margin: 0;
border: 0px dotted black;
float: left;
}

#category_left_sidebar_menu	ul {
   padding: 0;
   margin: 0;
   list-style: none;
   width: auto;
}

#category_left_sidebar_menu	ul li {
	  float: left; 
}

#category_left_sidebar_menu	ul li a {
   display: block;
   padding: 3px 30px 3px 40px;
   font-family: Georgia;
   font-size: 15px;
   margin: 1px 0 1px 0;
   color: #4682B4;
   background-color: #fff;
   width: auto;
   height: 20px;
   text-decoration: underline;
	}

#category_left_sidebar_menu	ul li a:hover {
   color: #fff;
   background: #afafaf;
   text-decoration: none;
}

#category_left_sidebar_menu #currentpage a {
   color: #fff;
   background: #afafaf;
   text-decoration: none;
	}

#category_left_sidebar_menu #currentpage a:hover {
   background: #afafaf;
	}

/* old-photo (Старые фотографии)
-----------------------------------------------------------------------------*/
#old-photo_category_blok {
height: auto;
width: 970px;
font-family: Georgia;
font-size: 14px;
color: #696969;
padding: 0 10px 0 0;
margin: 30px 0 50px 0;
border: 0px dotted black;
}

#old-photo_category_blok:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#old-photo_category_blok h1 {
font-size: 14px;
font-weight: normal;
}

#old-photo_category_blok h1 a {
color: #396da1;
}

#old-photo_category_blok h1 a:hover {
color: #ccc;
}


#old-photo_category_img img {
border: 1px solid #ccc;
padding: 3px;
max-width: 200px;
height: auto;
}

#old-photo_category_img img:hover {
border: 2px solid #CAD3CE;
padding: 2px;
}

#old-photo_category_img {
float: left;
width: 200px;
height: auto;
position: relative;
margin: 0 20px 0 20px;
text-align: center;
}

#old-photo_category_text {
margin: 0;
width: 700px;
float: left;
}

.old-photo_category_date {
color: #cab86f;
font-size: 11px;
font-weight: bold;
}

/* СТРАНИЦА со старой фотографией
-----------------------------------------------------------------------------*/


#content_old-photo {
float: left;
width: auto;
height: auto;
padding: 25px 0 15px 0;
}

#content_old-photo_to_comments {
min-width: 985px;
height: auto;
                             border: 0px dotted black;
}

#content_old-photo_to_comments:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

.page_content_text_old-photo {
font-family: Georgia;
font-size: 14px;
width: 700px;
min-height: 1px;
float: left;
color: #404040;
text-align: center;
}

#content_old-photo_right_sidebar {
width: 275px;
height: auto;
float: right;
padding: 0;
font-family: Georgia;
color: #696969;
}

#content_old-photo_right_sidebar h1 {
font-family: Georgia;
font-size: 14px;
color: #000;
padding-bottom: 5px;
}

#content_old-photo_right_sidebar a {
color: #627789;
}

#content_old-photo_right_sidebar p {
margin-top: 5px;
}

.page_content_text_old-photo img {
}

#text_old-photo h1 {
font-family: Georgia;
font-size: 16px;
color: #600;
padding: 0 0 15px 0;
text-align: center;
}

#content_old-photo .page_none {
display: none;
}


/* photo (Фотогалерея_рубрики)
-----------------------------------------------------------------------------*/
#photo_category_blok {
height: auto;
width: 1000px;
font-family: Georgia;
font-size: 14px;
color: #696969;
padding: 0 10px 0 0;
margin: 30px 0 30px 0;
border: 0px dotted black;
float: left;
}

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

#photo_category_blok h1 {
font-size: 14px;
font-weight: normal;
}

#photo_category_blok h1 a {
color: #396da1;
}

#photo_category_blok h1 a:hover {
color: #ccc;
}

#photo_category_img {
	width: 450px;
	min-height: 80px;
	float: left;
  margin: 0 20px 0 0;
text-align: center;
border: 0px dotted black;
}

#photo_category_img img {
border: #cab86f solid 1px;
padding: 6px 6px 30px 6px;
background: #f3df8f url(images/img_fon.jpg) repeat;
}

#photo_category_text {
width: 420px;
float: left;
padding-top: 15px;
border: 0px dotted black;
}

/*   ФОТОГАЛЕРЕЯ (страница)  ---------------------------------------------------------- */
#content_photo {
float: left;
width: auto;
height: auto;
padding: 25px 0 15px 0;
}

#content_photo img {
border: #ccc solid 1px;
padding: 5px;
}



/* Footer
-----------------------------------------------------------------------------*/
#footer {
	height: 125px;
	background: #fff url(images/footer_fon.jpg) no-repeat;
	font-family: Georgia;
font-size: 14px;
color: #404040;
border-top: 1px solid #cab86f;
}

#footer a {
color: #396da1;
}

#footer a:hover {
color: #ccc;
}

#footer_left {
height: 125px;
width: 300px;
float: left;
padding: 12px 0 5px 50px;
}

#footer_right {
height: 125px;
width: 646px;
float: left;
border: 0px dotted #ccc;
}

#footer_right ul{
	list-style:none;
	width: 646px;
	height:40px;
	border: #000 dotted 0px;
	margin-left: 10px;
}
#footer_right ul li{
	float:left;
}
#footer_right ul li a{
	display:block;
	height:40px;
	padding:12px 6px 0 6px;
	margin: 0 10px 0 0;
	float:left;
	text-transform: none;
	font-family: Georgia;
	font-size: 14px;
	color:#6a8989;
	text-decoration: none;
	text-align:center;
}
#footer_right ul li a:hover,
#footer_right ul li.active a{
text-decoration: underline;
}

/* Разное важное-----------------------------------------------------------------------------*/

.pagination {
text-align: center;
padding: 10px 5px 20px 5px;
font-family: Georgia;
color: #cab86f;
font-size: 17px;
}

.pagination a {
color: #6a8989;
padding: 6px 3px 6px 3px;
font-size: 16px;
}

.pagination a:hover {
color: #fff;
background: #cab86f;

}