.sgGallery{
    background:none repeat scroll 0 0  #eee;
    /*border:6px solid #FFFFFF;*/
    margin: 20px 0;
    position:relative;
    /*width: 555px;*/
    width: 100%;
    padding:5px;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.sgGallery *{
    margin:0px;
    padding:0px;
}

.sgGallery .sgImage{
    background: url("loading.gif") no-repeat scroll center center #FFFFFF;/**/
    border:2px solid #FFFFFF;
    height:375px;
    padding:0px;
    position:relative;
    text-align:center;
}

.sgGallery .sgImageN{
    z-index:50;
    opacity:1;
    margin:0px auto;
    padding:0;
    max-width: 100%;
}

.sgGallery .sgImage .sgNavimg{
    cursor:pointer;
    height:375px;
    outline:medium none;
    position:absolute;
    width:20%;
    z-index:100;
    opacity:0.5;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}


.sgGallery .sgImage .sgPrevimg{
    background:url("left.gif") no-repeat scroll left center transparent;
    left:0;
}

.sgGallery .sgImage .sgNextimg{
    background:url("right.gif") no-repeat scroll right center transparent;
    right:0;
}


.sgGallery .sgImage .sgAddinfo{
    margin-top:3px;
    position:absolute;
    width:200px;
    bottom:1px;
    display:none;
    z-index:5;
}

.sgGallery .sgImage .sgImageId{
    display:none;
}

.sgGallery .sgImage .sgImgDescr{
    left:0px;
    position:absolute;
    z-index:40;
    padding: 4px 7px;
    opacity:0;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    color:#777777;
    background:#ffffff;
}

.sgGallery .sgThumbwrapper{
    background:none repeat scroll 0 0 #FFFFFF;
    /*border:2px solid #666666;*/
    margin-top:7px;
    background: #F9F9F9;
    position:relative;
    height:98px;
}

.sgGallery .sgThumbarea{
    height:92px;
    overflow:hidden;
    position:absolute;
    top:0px;
    left:0px;
    /*width:549px;*/
    width: 100%;
    margin: 3px;
}

.sgGallery .sgThumbs{
    left:0px;
    top:0px;
    border-right:5px solid #FFFFFF;
    list-style:none outside none;
    position:absolute;
    width:10000px;
}


.sgGallery .sgThumbs p, .sgGallery .sgThumbs h3, .sgGallery .sgThumbs em{
    display: none;
}

.sgGallery .sgThumbs li {
    cursor:pointer;
    float:left;
    margin-right:5px;
}

.sgGallery .sgThumbs li img{
    border:1px solid #AAAAAA;
    opacity:0.8;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
}

.sgGallery .sgThumbs li img.sgThumbSelected{
    border:1px solid #1174b8 !important;
}
