#galleries {
width:420px;
height: 274px;
margin: 0 0 30px;
}

#galleries a#image-gallery-link, #galleries #video-gallery-link, #galleries #decor-lighting-gallery-link {
display:block;
float:left;
line-height: 22px;
font-size: 12px;
padding: 0 6px;
background: url(images/gallery-select-bg.gif) bottom repeat-x #fff;
margin: 0 8px 0 0;
text-decoration:none;
color: #004f7e;
}

#galleries li.ui-tabs-selected a#image-gallery-link, #galleries li.ui-tabs-selected a#video-gallery-link, #galleries li.ui-tabs-selected a#decor-lighting-gallery-link {

background: #fff;

}

#galleries ul, #galleries li {
margin:0;padding:0;
list-style:none;
}

#galleries li {
display:inline;
float:right;
}

.ui-tabs .ui-tabs-hide {
    position: absolute;
    left: -10000px;
}

.sliderwrapper, #video-container{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/

border:6px solid #fff;
width: 408px; /*width of featured content slider*/
margin: 0 ;
background:#fff;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
}


.sliderwrapper{
height: 240px;
}


#video-container{
/*height: 240px;*/
}



.gallery-link {
 position:absolute; top:0; left:0; z-index:7;
 width:408px;
 height: 240px;
}

.image-title{
position:absolute; top: 0px; left:0px; line-height:15px; padding: 3px 0 3px 10px; background: url(images/80-percent-black.png) repeat ; display:none;  font-size: 11px; z-index:99;
width: 398px;
  -moz-border-radius-topright:6px;
  -moz-border-radius-topleft:6px;
    -webkit-border-top-left-radius:6px;
  -webkit-border-top-right-radius:6px;
}

.image-holder {
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  margin:0;
  overflow:hidden;
  
}

.sliderwrapper:hover .image-title {
display:block;
}

.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0;  /*leave as is*/
top: 0;  /*leave as is*/
padding: 0;
width: 408px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
height: 240px;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.pagination{
 width: 408px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
text-align: center;
margin: 0 auto;
padding: 5px 0;
z-index:9;
 position:absolute;
bottom:6px;
font-size: 9px;
letter-spacing:-1px;
font-weight:bold;
}

 .gallery-cover {
 position:absolute; top:0; left:0; z-index:7;
 width:420px;
 height: 252px;
 background: url(images/gallery-cover.png) top left no-repeat;
 }
 
 
.pagination a{
display:inline-block;
width: 14px;
height: 14px;
text-align:center;
text-decoration: none; 
color: #00007D;
background: url(images/gallery-circle.png) top right no-repeat;
margin: 0 1px;
line-height:14px;
/*padding: 0 1px 0 0;*/
}

 .pagination a.selected{
color: #fff;
background: url(images/gallery-active.png) top right no-repeat;

}

.pagination a:hover {
color: #000;
background: url(images/gallery-hover.png) top right no-repeat;

}