/**
 * стили фотогалереи
 * АртФактор, 2009
 *
 */

/* вся галерея*/

.af_gallery {
    font-family: Arial, sans-serif;
    width: 653px;
    padding: 0;
    background: #ffffff;
}
.af_gal_close {
    background: url('/images/gallery-controls/button_close.png') no-repeat;
    background-position: center center;
    width: 29px;
    height: 24px;
    display: block;
    float: right;
    margin: 3px 0 0 5px;
    text-decoration: none;
}

.af_gal_title {
    background: url('/images/gallery-controls/gallery_logo.png') no-repeat;
    background-position: left center;
    margin-left: 20px;
    padding: 25px 5px 25px 183px;
    font-family: "MS Trebuchet", arial, sans-serif;
    font-style: italic;
    font-size: 15px;
    
}
.af_gal_title a {
    color: #000000;
       
}

/** альбомы */
.af_gal_albums {
    padding: 30px 0 0 50px;
    
}
.af_gal_albums a {
    display: block;
    margin-bottom: 30px;
    padding: 0 0 0 30px;
    background: url('/images/gallery-controls/button_plus.png') no-repeat;
    background-position: left center; 
    font-size: 17px;
    font-weight: bold;
    color: #000000;    
    
}

/** фотки */
/* кнопки пред-след фото */
.af_gal_prev_foto {
    display: block;
    width: 30px;
    height: 440px;
    padding: 0 10px 0 0;
    background: url('/images/gallery-controls/arrow_left.gif') no-repeat;
    background-position: left center; 
    float: right;
    text-decoration: none;
}

.af_gal_next_foto {
    display: block;
    width: 30px;
    height: 440px;
    padding: 0 0 0 10px;
    background: url('/images/gallery-controls/arrow_right.gif') no-repeat;
    background-position: right center; 
    float: left;
    text-decoration: none;
}

.af_gal_prev_foto_disabled {
    display: block;
    width: 30px;
    height: 440px;
    padding: 0 10px 0 0px;
    background: url('/images/gallery-controls/arrow_left_disabled.gif') no-repeat;
    background-position: left center; 
    float: right;
    text-decoration: none;
}

.af_gal_next_foto_disabled {
    display: block;
    width: 30px;
    height: 440px;
    padding: 0 0 0 10px;
    background: url('/images/gallery-controls/arrow_right_disabled.gif') no-repeat;
    background-position: right center; 
    float: left;
    text-decoration: none;
}

/*страницы*/
.af_gal_prev_page {
    display: block;
    width: 30px;
    height: 180px;
    padding: 0 20px 0 0;
    background: url('/images/gallery-controls/button_arrow_left.gif') no-repeat;
    background-position: left center; 
    float: left;
    text-decoration: none;
}

.af_gal_next_page {
    display: block;
    width: 30px;
    height: 180px;
    padding: 0 0 0 20px;
    background: url('/images/gallery-controls/button_arrow_right.gif') no-repeat;
    background-position: right center; 
    float: right;
    text-decoration: none;
}

.af_gal_prev_page_disabled {
    display: block;
    width: 30px;
    height: 180px;
    padding: 0 20px 0 0;
    background: url('/images/gallery-controls/button_arrow_left_disabled.gif') no-repeat;
    background-position: left center; 
    float: left;
    text-decoration: none;
}

.af_gal_next_page_disabled {
    display: block;
    width: 30px;
    height: 180px;
    padding: 0 0 0 20px;
    background: url('/images/gallery-controls/button_arrow_right_disabled.gif') no-repeat;
    background-position: right center; 
    float: right;
    text-decoration: none;
}

.af_gal_big_photo {
    text-align: center;
    width: 430px;
    height: 400px;
    vertical-align: bottom;
    
}
.af_gal_big_photo_descr {
    text-align: center;
    font-size: 12px;
    /*padding-bottom: 20px;*/
    height: 40px;
    
}
.af_gal_thumbnail {
    width: 90px;
    height: 90px;
     border: #ffffff solid 2px;
    
}
.af_gal_thumbnail_active {
    width: 82px;
    height: 82px;
     border: #ffffff solid 2px;
}

.af_gal_thumbnail a img, .af_gal_thumbnail a:visited img {
    text-decoration: none;
    border: #ffffff solid 2px;
    
}

.af_gal_thumbnail_active a img {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #ee1c24;
    border-bottom: 2px solid #ee1c24;
    
    
}

/*постраничная навигация*/
.af_gal_bottom {
    text-align: center;
    font-size: 12px;
   
}

.af_gal_bottom a {
    color: #106d9d;
}

.af_gal_bottom span {
    color: #106d9d;
    font-size: 150%;    
}
/*назад*/
.af_gal_back {
  background: url('/images/gallery-controls/button_arrow_left_circle.gif') no-repeat;
  background-position: top center;
  width: 40px;
  height: 40px;
  display: block;
  float: left;
  padding: 27px 5px 5px 5px;
  text-decoration: none;
  color: #106d9d;
}

/*  это всплывающая подсказка :)*/
#af_gal_mess {
	position: absolute;
	top: 0;
	visibility: hidden;
	background: #ffffff;
	border: #ffcccc 1px solid ;
	padding: 5px;
	z-index: 12000;
}

#af_gal_big_photo_table {
}

#af_gal_thumbnails_holder {
    width: 440px;
}

#af_gal_navigation {
}

#af_gal_inner {
  padding: 20px;
}

#af_gal_inner table {
  width: 100%;
}
#af_gal_inner table td {
  vertical-align: middle;
}

#slide_prev, #slide_next {
  height: 80px;
  width: 34px;
  cursor: pointer;
}

#slidegal {
  background: url('/images/gallery-controls/gallery_logo.png') left top no-repeat;
  padding: 64px 0 0 0;
  margin: 1em 0;
  display: none;
  text-align: center;
}

#slide_prev {
  float: left;
}

.slide_prev_disabled {
  background: url(/images/gallery-controls/button_arrow_left_disabled.gif) center no-repeat;
}
.slide_prev_enabled {
  background: url(/images/gallery-controls/button_arrow_left.gif) center no-repeat;
}

#slide_next {
  float: right;
}
.slide_next_disabled {
  background: url(/images/gallery-controls/button_arrow_right_disabled.gif) center no-repeat;
}

.slide_next_enabled {
  background: url(/images/gallery-controls/button_arrow_right.gif) center no-repeat;
}


#slide_thumbs{
  height: 80px;
  overflow: hidden;
}

#slide_thumbs div.slide_thumbs_hld {
  position: relative;
  display: none;
}

.slide_thumbs_hld a{
/*  display: block;
  float: left;
  margin-right: 8px;*/
  margin: 0 4px;
}

.clear {
  font-size: 0;
  height: 0;
  clear: both;
}
