* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
}

h1 {
    font-weight: normal;
    color: #666;
    font-size:12px;
    display: inline;
}
h2 {
    font-weight: normal;
    color: #666;
    font-size:11px;
    display: inline;
}
h3 {
    font-weight: normal;
    color: #666;
    font-size:13px;
    display: inline;
}
h4 {
    font-weight: normal;
    color: #5C5959;
    font-size:10px;
    display: inline;
}
b {
    font-weight: normal;
    color: #666;
    font-size:13px;
}
a {
    color: #069; text-decoration:none;
}
a:hover {
    color: #CCC;
}
a:active {
    color: #069;
}
p {
	margin: 0 0 18px
}
img {
	vertical-align:bottom;
}
input {
	vertical-align: middle;
}
#wrapper {
	width: 1040px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

ul {
    padding-left:10px;
    padding-right:10px;
    font-size:10px;
}
/* Header
-----------------------------------------------------------------------------*/
#header {
	background-color: white;

}

/* Logo and search
-----------------------------------------------------------------------------*/
#logo_search_block {
	background: #ccc; 
    
}
#logo {
	width:250px;
    float:left;
  
}
#search_form {
    padding-top:10px;
    
}
#user_form {
    width:175px;
    padding:4px 0px 6px 0px !important;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif; /*тип шрифта*/
    font-size: 13px; /*размер шрифта*/
    font-weight: bold; /*тип шрифта: жирный*/
    color: #545454; /*цвет*/
    text-align:center;
    border:1px solid #ccc;
}
#go {
    width:69px;
    height:28px;
    border:1px solid #ccc;
}
#search_block {
    width: 250px;
    float:right;
    background: #fff; 
    border-left:0px solid #ccc;
    border-right:0px solid #ccc;
}
#topline {
    clear: both;
}


/* Middle
-----------------------------------------------------------------------------*/
#middle {
     
	width: 100%;
	padding: 0 0 20px;
	height: 1%;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 261px 0 267px;
}

/* Вывод фоток
-----------------------------------------------------------------------------*/
#title{
    padding:5px; 
    margin-top:1px;
    line-height:15px;
    background-color: #E9EEF2;
    border-bottom: 1px solid #ccc;
}
#bl_rek1 {
    border:0px solid #E9EEF2;
    margin-left:-5px !important;
}
#rek_photo {
    width:505px !important;
    margin-left:-5px !important;
    clear:both;
}
#photos {
    text-align:center;
    margin-bottom:10px;
}
#navig {
    font-size:12px;
    padding:10px;
}
#pstrnav {
    clear:both;
}
#box {
    float:left;
    padding:2px;
    margin:1px;
    border:1px solid #E9EEF2;
    vertical-align: bottom;
}

#info {
    padding:5px;
    font-size: 11px;
    font-family: Verdana;
    text-align: justify;
    color: #666;
}
#info a {
    color: #666;
    font-size: 11px;
}
#info b {
    font-weight: normal;
    font-size: 11px;
}
#info strong {
    font-weight: normal;
    font-size: 11px;
}
#photo_info {
    text-align: left;
    padding:1px;
}
#info_rez {
    float:left;
    text-align: right;
    padding:1px;
}
#list {
    clear:both;
}

#photo {
    border:1px solid #E9EEF2;
    padding-bottom:0px;
}
#photo_size {
    width:400px;
}
#prewphoto {
    float: left;
    padding:3px 5px 3px 5px;
    background-color: #E9EDF1;
}
#nextphoto {
    float: right;
    padding:3px 5px 3px 5px;
    background-color: #E9EDF1;
}
#full {
    width:100%;
    
}
#vk {
    border:0px solid black;
    width:50%;
    float:left;
    padding-left:6%;
    padding-top: 2px;
}
#text {
    text-align:left;
    
}
#text a {
    color:#5C5959;
}
.lp {
	width:50px;
}
.lp a{
	display: block; 
}
.p {
	background-color: #F7F7F7;
	border:1px solid #98ABC1;
	background-image:url(img/left_arrow.png);
	background-repeat:no-repeat;
	background-position: center center;
}

.ph{
	background-color: #E1E7ED;
	border:1px solid #98ABC1;

}
.n {
	background-color: #F7F7F7;
	border:1px solid #98ABC1;
	background-image:url(img/right_arrow.png);
	background-repeat:no-repeat;
	background-position: center center;
	width:49px;
}
.nn{
	background-color: #E1E7ED;
	border:1px solid #98ABC1;

}
/* Sidebar Left
-----------------------------------------------------------------------------*/
#google_mainmenu {
    background-color: #E9EEF2;
    margin: 0px 1px 0px 1px;
    border-left:1px solid #ccc;
}

#sideLeft {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
	background: #fff;
}

.menu_list {	
	width: 250px;



}
.menu_head {
	padding: 5px 5px;
	cursor: pointer;
	line-height:15px;
	margin:1px;
    font-weight: normal;
	font-size:11px;
	font-family:Verdana, Geneva, sans-serif;
    background:  #e9eef2 url(img/left.png) center right no-repeat;
	border-left:1px solid #D7D8DA;
}

.menu_body {
	display:none;
	font-size:10px;
        text-align:left !important;
}
.menu_body a{
  font-size:10px;
  display:block;
  color:#555;
  background-color:#fff;
  padding-left:11px;
  text-decoration:none;
  font-family:Verdana, Geneva, sans-serif;
}
.menu_body a:hover {
	font-size:10px;
    color: #333;
    text-decoration:underline;
    border-left:3px solid #e9eef2;
    margin-left:-3px;
  }


/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: left;
	margin-right: -3px;
	width: 250px;
	margin-left: -250px;
	position: relative;
	background: #fff;
}
#title_rm {
    padding:5px;
    margin-top:1px;
    line-height: 15px;
    border-bottom: 1px solid #ccc;
    background-color: #E9EEF2;
    text-align:center;
    color: #666;
}
#block_rm {
    margin-bottom:10px;
}
#stat {
    text-align:  center;
}
#rez {
    padding:5px 2px 5px 70px;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width: 1040px;
	margin: 40px auto 0;
	height: 20px;
	background-color: #E9EEF2;
        border-top: 1px solid #ccc;
}
#cop {
    width: 360px;
    float:  left;
    padding:2px 2px 0px 10px;
    font-size:11px;
    
}
#about {
    width: 300px;
    float:  left;
    padding:2px 2px 0px 10px;
    font-size:11px;
    text-align:center;
}
#counter {
    width: 330px;
    float:  left;
    padding:0px 6px 0px 10px;
    font-size:11px;
    text-align:right;
}
