/* Copyright 2009 Xsevo */
.xs-gallery { position: absolute; z-index:100;width: 1000px; height: 634px; border: 2px solid #888; background-color: #fff;  padding: 15px; top:0; left:0; visibility: hidden; }
.xs-gallery-main-box {  position: absolute; top:0 left: 0; width: 1000px; height: 597px;}
.xs-gallery-photo-box { float: left; width: 796px; height: 534px;  overflow: hidden; background-color: #d8d8d8;}
.xs-gallery-tbl { width: 100%; height:100%; padding:0; }
.xs-gallery-tbl td { text-align: center; vertical-align: middle; padding:0;  }
.xs-gallery-photo-cell { margin: 0 auto; overflow: hidden;  }
.xs-gallery-photo-cell a { outline: none; }
.xs-gallery-photo-cell img { }
.xs-gallery-caption-box { float: left; width: 183px; height: 514px; background-color: #e8e8e8; border-left: 1px solid #ccc; padding: 10px; position: relative; overflow: hidden; font-size: 11px; }
.xs-gallery-caption-title-box { height: 25px; margin:0; padding: 0 5px 10px 5px; font-size: 120%; font-weight: bold; text-align: left; overflow: hidden;}
.xs-gallery-caption-inner-box { height: 432px; overflow: auto; text-align:justify; padding: 0 5px; }
.xs-gallery-caption-footer { position: absolute; height: 24px; bottom: 0; left:0; right:0; border-top: 1px solid #ccc; padding: 1px 6px; }
.xs-gallery-label { float: left; }
.xs-gallery-cmd a { color: #888; text-decoration: none; }
.xs-gallery-label a.arr { color: #666; text-decoration: none; font-size: 150%; }
.xs-gallery-label a:hover { color: #9e0700; }
.xs-gallery-cmd  { float: right; line-height: 24px; }
.xs-gallery-cmd a:hover { color: #9e0700; }
.xs-gallery-status { background: url(../images/gallery/status-gal.gif) no-repeat; width: 16px; height: 16px; visibility: hidden; float: right; margin-top: 8px; }
.xs-gallery-control-box { position: absolute; bottom: 15px; width: 1000px;}
.xs-gallery-left, .xs-gallery-right, .xs-gallery-slide-box { float: left; outline: none; }
.xs-gallery-left, .xs-gallery-right { display: block; width: 25px; height: 77px; border: 1px solid #d0d0d0;  opacity:.60;filter: alpha(opacity=60); -moz-opacity: 0.6;  }
.xs-gallery-left  { background: url(../images/gallery/left.gif) 50% 50% no-repeat; margin-right: 8px;}
.xs-gallery-right  { background: url(../images/gallery/right.gif) 50% 50% no-repeat; margin-left: 8px; }
.xs-gallery-left:hover, .xs-gallery-right:hover { border-color: #ccc;  opacity:1; filter: alpha(opacity=100); -moz-opacity: 1; background-color: #f5f5f5;  }
.xs-gallery-slide-box { width: 929px;  overflow: hidden; position: relative;}
.xs-gallery-slide-box table { border-collapse: separate ! important; }
.xs-gallery-slide-box td { padding: 0; vertical-align: middle; text-align: center; width: 113px; height: 75px; border: 1px solid #888; background-color: #e8e8e8; cursor: pointer; }
.xs-gallery-slide-box div { width: 113px; height: 0px; margin:0; padding:0; visibility: hidden; overflow: hidden;}
/* IE7 hack. Won't render 0px high div */
*:first-child+html .xs-gallery-slide-box div { margin-bottom:-3px; }
.xs-gallery-slide-box img { max-width: 113px; max-height: 75px;}
/* IE6 hack. Need max width/height */
* html .xs-gallery-slide-box img { width: 113px; height: 75px; }
.xs-gallery-slide-box a { outline: none; }
.xs-gallery-sel { border-color: #f00 ! important; }
.xs-gallery-slide-box td:hover { opacity:.50;filter: alpha(opacity=50); -moz-opacity: 0.5; }