/* Global page style */
#main_page { 
  width: 965px; 
  margin: 0 auto; 
  padding: 20px 0 0 0;
  position: relative;
  background: #171717;
  border: 5px solid #302f2f; 
}

/* HEADER style */
#header {
  padding-bottom: 1em;
  height: 80px;
}
#search_mainmenu {
  width: 455px;
  height: 65px;
  float: left;
  margin: 2px 0 0 25px;
}
.search {
  width: 100%;
  height: 45px;
  background: #302f2f;
  display: block;
  margin: 0 auto;
}
.mainmenu {
  width: 100%;
  height: 19px;
  background: #424242;
  display: block;
  margin: 1px 0 0 0;
}
.adress_1, .adress_2 {
  width: 140px;
  height: 54px;
  float: right;
  margin-top: 2px;
  display: block;
  padding: 10px 0;
}
.adress_1 {
  background: #242323;
  right: 0;
}
.adress_2 {
  background: #353333;
  right: 150px;
}
.adress_2 span {
  float: right;
  *position: relative;
}

/* CONTENT style */
#content { 
  width: 100%;
  height: 435px;
  float: left;
  position: relative;
}
.main_pic {
  width: 100%;
  height: 435px;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}
.above_mainpic {
/*  position: absolute;
    top: 0; left: 0;
    z-index: 2;*/
    width: 100%;
    height: 435px;
}
#auth {
    position: absolute;
    top: 280px;
    left: 0;
    z-index: 2;
    width: 200px;
    height: 100px;
    background: none #393838; filter:alpha(style=0,opacity=73);
    opacity: 0.73;
/*  margin: 280px 0 0 0;*/
}
#auth td {
    height: 37px;
    text-align: center;
}
#auth a {
    color: #7D7C7C;
    text-decoration: underline;
    font-size: 0.9em;
}
#auth a:hover {
    color: #FFF;
}
#auth .auth_button { 
  padding: 2px 4px;
  background: #424241;
  
  border: 1px solid #585858;
  height: 20px;
  width: 50px;
  cursor: pointer;
  font-size: 12px;
  color: #94928f;
  font-family: Tahoma;
  font-variant: normal;
  float:right;
  margin-top: 1px;
  margin-right: 6px;
}
#auth div.logout-button .auth_button
{
    float: left;
    margin-right:0;
    margin-left:67px;
}
#categoryPictureSlider {
    width: 965px;
    height: 435px;
    overflow: hidden;
    background: #171717;
    color: #FFF;
    margin: 0 !important;
    padding: 0 !important;
}
#categoryPictureSlider a {
    display: block;
    width: 965px;
    height: 435px;
    float: left;
    border: none;
    text-decoration: none;
    margin: 0 !important;
    padding: 0 !important;
}
#categoryPictureSlider a img {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FOOTER style */
#footer {
  clear: both;
  padding: 0;
}
#footer a {
    color: #CCC;
    font-weight: normal;
    text-decoration: underline;
}
#footer a:hover {
    color: #FFF;
}
#footer #copyright {
    margin: 0;
    padding: 1em;
    text-align: right;
    display: block;
}



.head_item {
    height: 21px;
    background-image: url(/bitrix/templates/shablon_main/images/bg_headblock.gif);
    background-repeat: no-repeat;
}
.block_main_1 {
    background: #292828;
}
.block_main_2 {
    background: #302f2f;
}
.block_main_3 {
    background: #353434;
}
.head_block {
    height: 21px;
    display: block;
    background: #3f3f3f;
}
img.bg_head_block {
    margin: 0;
}
.cont_block {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}
.sub_block {
    height: 170px;
    position: relative;
    float: left;
}
.cont_sub_block {
    width: 140px;
    font-size: 10px;
    color: #9a9a9a;
    text-align: justify;
    padding: 0 5px;
}
.bot_sub_block {
    padding: 2px;
    border-top: 1px solid #252424;
}
span.date {
    font-size: 10px; 
    color: #6e6e6e;
    float: left;
}
.rek {
    width: 260px;
    height: auto;
    display: block;
    position: relative;
    margin-left: 17px;
}

//нижний блок с фотоотчётами
#footer div.photo {
    width: 450px;
    height: 162px;
    display: block;
    margin-top: -5px;
    border: 1px solid #0FC;
}


/* Content Form and Inputs */
/* Forms styles */
.content form { 
  padding: .5em 0; 
}
.content fieldset { 
  margin-bottom: 1em; 
  border: none; 
}
.content legend { 
  margin-top: -1px; 
  padding-bottom: 1em; 
  font-size: 1.1em; 
  font-weight: bold; 
}

.content .f-row, .content .auth-row { 
/*  overflow: hidden; */
    margin-bottom: 2px;
    clear: both;
}
.content label { 
    float: left;
    padding: 0 4px;
    display: block;
}
.content .f-inputs, .content .auth-inputs { 
  padding-left: 60px;
}
.content .auth-inputs label {
    margin: 4px 1px;
    padding: 0;
}

.f-actions { 
  padding-top: 1em; 
  border-top: 1px solid #ccc; 
}

/* Inputs style */
input { 
  vertical-align: middle;
}
.i-checkbox { 
  margin-top: 3px;
  padding: 0;
}
.auth-checkbox {
    float: left;
    display: block;
    margin: 4px 3px 4px 0;
    display: inline;
    -margin: 2px 0;
}
.i-text { 
  width: 200px; 
  padding: 0 1px; 
}
.auth-text { 
  width: 130px;
  height: 15px; 
  padding: 0 1px;
  border: 1px solid #686867;
  background: #1d1d1d;
}
.inp_search {
  width: 260px;
  height: 20px;
  display: block;
  margin: 12px 10px;
  padding: 0 5px;
  background: #171717;
  border: 1px solid #545454;
  float: left;
  color: #646464;
}

.but_search {
  width: 70px;
  float: left;
  height: 20px;
  margin: 13px 0;
  border: 1px solid #545454;
  background: #3b3b3b;
  color: #969393;
}
#pageLoading {
	position: absolute;
	display: block;
	padding-left: 60px;
	width: 180px;
	height: 46px;
	line-height: 46px;
	border: 1px solid #393838;
	color: #393838;
	font-weight: bold;
	background-color: white;
	background-image: url(/bitrix/templates/shablon_main/images/loading.gif);
	background-position: 10px center;
	background-repeat: no-repeat;
	z-index: 100;
	top: 100px;
	left: 350px;
}

#footer table.foot_table td a {
	text-decoration: none;
}
