#thm_ph_card_list {
  margin: 0;
  padding: 0;
  list-style: none;
 }

li.thmb_ph_card {
  width:152px;
  height:200px;
  float: left;
  position: relative;
  margin-left: 40px;
  margin-bottom: 30px;
}

div.thmb {
  width: 150px;
  height: 150px;
  background: url('/images/dot_bg.png');
  border:1px solid #999;
} 

div.thmb_ph {
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  cursor: pointer;
}

div.thmb100 {
  width: 100px;
  height: 100px;
  margin: 10px 10px 0 0;
  float: left;
  background: url('/images/dot_bg.png');
  border:1px solid #999;
}

div.thmb100_ph {
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.sample_images {
  margin-left: 40px; 
  margin-bottom:0px;
}

div.ph_descr {
  width: 150px;
  margin-top: 5px;
  border:1px solid #999;
}

div.ph_descr_text {
  padding: 5px;
  background-color: #e5e5e5;
  border:1px solid #fff;
  color: #000;
}

div.ph_info {
  position: absolute;
  top: 128px;
  right: 0px;
  background-color: #eee;
  overflow: hidden;
  filter:alpha(opacity=80);
  opacity:.80;
}
	      
div.inner_ph_info {
  padding: 5px;
  border:1px solid black;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  filter:alpha(opacity=80);
  opacity:.80;
  z-index: 90;
}

#loading_ind {
  position: absolute;
  top: 0;
  left: 0;
  background: url('/images/loading.gif');
  z-index: 95;
}

#lb {
  position: absolute;
  background-color:#eee;
  z-index: 100;
}

#close_img {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: url('/images/close.gif');
  cursor: pointer;
}

#descr {
  padding-top: 5px;
}

#thm_ph_card_list a.adm_link {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  left: -21px;
}

#thm_ph_card_list a.adm_link:hover {
  border-left:1px solid red;
  left: -22px;
}

a.img_info_adm_link {
  top: 7px;
  background: url('/images/img_info_adm.gif');
}

a.img_up_adm_link {
  top: 28px;
  background: url('/images/img_up_adm.gif');
}

a.img_down_adm_link {
  top: 49px;
  background: url('/images/img_down_adm.gif');
}

a.img_del_adm_link {
  top: 75px;
  background: url('/images/img_del_adm.gif');
}

.prg_ind_photo {
  position: absolute;
  left: -19px;
  top: 110px;
  border: 0px;
}


#sect_list_nav {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 5px;
  background: #e5e5e5;
}

#sections_list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

div.section_name {
  height: 32px;
  position: relative;
  background: url('/images/gal_category.gif') no-repeat;
  border-bottom:1px solid #ccc;
}

div.cat_name {
  position: absolute;
  bottom: 5px;
  left:40px;
}

#sections_list a.to_sect {
  text-decoration: none;
  font-size: 120%;
}

#sections_list a.to_sect:hover {
  text-decoration: underline;
}

li.section_card {
  padding-top: 10px;
  clear: left;
}

#pages_navigation {
  clear: both;
  color: #333;
  font-size: 14px;
  margin-top: 0px;
  text-align: center;
}

#pages_navigation a {
  font-size: 14px;
  color: #677;
  text-decoration: none;
}

#pages_navigation a:hover {
  font-size: 14px;
  color: #f00;
  text-decoration: underline;
}

#pages_navigation #current_page {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Стили администрирования */

#create_new_sect {
  margin: 7px 0 0 15px;
}

#add_new_image {
  margin: 7px 0 0 15px;
}


.prg_ind {
  margin-left: 7px;
  vertical-align: top;
  border: 0px;
}

div.section_adm {
  padding-top: 3px;
  margin-left: 40px;
}

div.section_adm img {
  border: 0;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}

#sections_list a.sect_adm_link {
  text-decoration: none;
}

#sections_list a.sect_adm_link:hover {
  text-decoration: underline;
}
