.fg {
position:relative;
overflow:hidden;
width:100%;
max-width:950px;
margin:0 auto;
padding:0;
}

.fg a:link, .fg a:active, .fg a:visited {outline:0;text-decoration:none;color:#004e7b;}
.fg a:hover {color:#a63510;} 

.fg img {border:0;}
.fg .clear {clear:both;}

.fg .p10-lr {padding:0 10px;}
.fg .title {font-weight:700;}

.fg .thumb-wrapper {
position:relative;
overflow:hidden;
float:left;
width:150px;
height:112px;
margin:8px;
background-color:#fff;
border-radius:2px;
box-shadow: 0px 0px 4px 1px #7a7a7a;
z-index:198;
}

.fg .thumb-wrapper:hover {box-shadow: 0px 0px 4px 1px #3a3a3a;}

.fg .thumb-wrapper .caption {
position:absolute;
display:block;
width:94%;
padding:0 3%;
left:0;
bottom:0;
height:18px;
line-height:18px;
font-family:Helvetica,Arial,sans-serif;
font-size:11px;
color:#eee;
background:url(foliogallery/pngbg.png) repeat;
z-index:199;
}

.fg .thumb-wrapper .caption a {color:#eee;}
.fg .thumb-wrapper .caption a:hover {color:#fff;}

div.tooltip-container {position:relative;cursor:pointer;background:url(foliogallery/info.png) right 0 no-repeat;}

div.tooltip-container .tooltip {
display:block;
position:absolute;
width:96%;
padding:2%;
left:0;
top:-90px;
color:#000;
background:#fff;
opacity:0;
-webkit-transition:all 0.2s ease-in-out;
   -moz-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	 -0-transition:all 0.2s ease-in-out;
	    transition:all 0.2s ease-in-out;
-webkit-transform:scale(0);
   -moz-transform:scale(0);
	-ms-transform:scale(0);
	 -o-transform:scale(0);
	    transform:scale(0);
line-height:1.2em;
}

div.tooltip-container .tooltip:before,
div.tooltip-container .tooltip:after {
content:'';
position:absolute;
top:-90px;
left:0;
width:0;
height:0;
}

div.tooltip-container .tooltip:after {top:-95px;}

div.tooltip-container:hover .tooltip {
opacity:0.85;
-webkit-transform:scale(1);
   -moz-transform:scale(1);
    -ms-transform:scale(1);
	 -o-transform:scale(1);
	    transform:scale(1);
}

.fg .thumb {width:100%;height:112px;overflow:hidden;display:table-cell;vertical-align:top;text-align:center;}
.fg .thumb img {width:auto !important;width:100%;height:auto !important;position:relative;display:block;margin:auto;}
.fg .refresh {cursor:pointer;}

.fg .description-wrapper {padding-left:8px;font-size:13px;line-height:1.4em;}

/***** pagination style *****/
.fg a.paginate,
.fg a.current-paginate, 
.fg a.paginate:hover,
.fg a.prev,
.fg a.next,
.fg a.prev:hover,
.fg a.next:hover {
display:inline-block;
width:12px;
height:12px;
padding:0;
margin:2px 2px 0 2px;
text-decoration:none;
outline:none;
background-image:url(foliogallery/nav.png);
background-repeat:no-repeat;
background-position:0 0;
}

.fg a.paginate,
.fg a.current-paginate, 
.fg a.paginate:hover {width:8px;height:8px;margin:2px 3px;}

.fg a.current-paginate, 
.fg a.paginate:hover {background-position:0 -8px;}

.fg a.next {background-position:0 -16px;}
.fg a.prev {background-position:0 -28px;}
.fg a.next:hover {background-position:0 -40px;}
.fg a.prev:hover {background-position:0 -52px;}
/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:url(colorbox/images/pngbg.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}

    #cboxContent{background:#fff; overflow:hidden;padding:10px 10px 0px 10px;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#fff;margin-bottom:23px;}
        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
        #cboxLoadingOverlay{background:url(colorbox/images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(colorbox/images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxSlideshow{position:absolute; bottom:3px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:2px; background:url(colorbox/images/controls.png) no-repeat 0px 2px; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:0px -23px;}
        #cboxNext{position:absolute; bottom:0; left:22px; background:url(colorbox/images/controls.png) no-repeat -25px 2px; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext:hover{background-position:-25px -23px;}
        #cboxClose{position:absolute; bottom:0; right:3px; background:url(colorbox/images/controls.png) no-repeat -50px 2px; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose:hover{background-position:-50px -23px;}
