/* GALLERY */


/* the overlayed element */
.simple_overlay {

	/* must be initially hidden */
	display:none;

	/* place overlay on top of other elements */
	z-index:10000;

	/* styling */
	background-color:#F7F7F7;
    padding:10px;
	width:675px;
	min-height:200px;
	border:1px solid #666;

	/* CSS3 styling for latest browsers */
	-moz-box-shadow:0 0 90px 5px #000;
	-webkit-box-shadow: 0 0 90px #000;
}

/* close button positioned on upper right corner */
.simple_overlay .close {
	background-image:url(../img/global/close.png);
	position:absolute;
	right:-15px;
	top:-15px;
	cursor:pointer;
	height:35px;
	width:35px;
}

/* "next image" and "prev image" links */
.simple_overlay .next, .simple_overlay .prev {

    /* absolute positioning relative to the overlay */
    position:absolute;
    top:40%;
    border:1px solid #666;
    cursor:pointer;
    display:block;
    padding:10px 20px;
    color:#fff;
    font-size:11px;

    /* upcoming CSS3 features */
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

.simple_overlay .prev {
    left:0;
    border-left:0;
    -moz-border-radius-topleft:0;
    -moz-border-radius-bottomleft:0;
    -webkit-border-bottom-left-radius:0;
    -webkit-border-top-left-radius:0;
}

.simple_overlay .next {
    right:0;
    border-right:0;
    -moz-border-radius-topright:0;
    -moz-border-radius-bottomright:0;
    -webkit-border-bottom-right-radius:0;
    -webkit-border-top-right-radius:0;
}

.simple_overlay .next:hover, .simple_overlay .prev:hover {
    text-decoration:underline;
    background-color:#000;
}

/* when there is no next or previous link available this class is added */
.simple_overlay .disabled {
    visibility:hidden;
}

.simple_overlay .progress {
    position:absolute;
    top:45%;
    left:50%;
    display:none;
}

/* everybody should know about RGBA colors. */
.simple_overlay .next, .simple_overlay .prev, .simple_overlay .info {
    background:#161F00 !important;
    background:rgba(0, 0, 0, 0.6) url(/img/global/gradient/h80.png) repeat-x;
	color:#FFF; 
	font-size:140%;
}


/* the "information box" */
.simple_overlay .info {
    position:absolute;
    bottom:0;
    left:0;
    padding:10px 15px;
    color:#fff;
    font-size:96%;
    border-top:1px solid #666;
	margin-left:10px;
	margin-bottom:10px;
}

.simple_overlay .info strong {
    display:block;
}

/* progress indicator (animated gif). should be initially hidden */


/* FIM GALLERY */


.image_overlay {

}



.modal {
    background-color:#fff;
    display:none;
    width:350px;
    padding:15px;
    text-align:left;
    border:2px solid #333;

    opacity:0.8;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
}

.modal h2 {
    background:url(../img/global/info.png) 0 50% no-repeat;
    margin:0px;
    padding:10px 0 10px 45px;
    border-bottom:1px solid #333;
    font-size:20px;
}

.close {
    background-image:url(../img/global/close.png);
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:35px;
    width:35px;
}


#thumbs_wrap {
    /* dimensions */
    width:790px;
    margin:15px 0 0px 30px;
    padding:0px;

    /* centered */
    text-align:center;

    /* some "skinning" */
    background-color:#F0F0F0;
    border:2px solid #fff;
    border-top: 1px solid #F4F4F4;
    outline:1px solid #ddd;
    
    -moz-ouline-radius:4px;
    clear: both;
}

#thumbs_wrap a img {
    margin: 5px 0px 0px 0px;
}

.scrollable {
    /* required settings */
    position:relative;
    overflow:hidden;
    width: 772px;
    height: 120px;

    /* custom decorations */
    border:1px solid #ddd;
    border-bottom: 1px solid #F4F4F4;
    background: url(http://static.flowplayer.org/img/global/gradient/h300_reverse.png) repeat-x scroll 0px -140px;
}

/*
	root element for scrollable items. Must be absolutely positioned
	and it should have a extremely large width to accomodate scrollable items.
	it's enough that you set the width and height for the root element and
	not for this element.
*/
.scrollable .items {
    /* this cannot be too large */
    width:20000em;
    position:absolute;
    clear:both;
}

/* single scrollable item */
.scrollable img {
    float:left;
    margin:20px 5px 20px 21px;
    background-color:#fff;
    padding:2px;
    border:1px solid #ccc;
    cursor:pointer;
    width:100px;
    height:75px;

    -moz-border-radius:4px;
    -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
    border:2px solid #000;
    width: 110px;
    height: 85px;
    z-index:9999;
    position:relative;
}


/* styling for the image wrapper  */
.paging{
	color:#666666;
	}  

#gallery img{
	margin:0!important;
	}