.darkenBackground {
	background: #000000;
	opacity: 0.7;
	-moz-opacity: 0.70;
	zoom: 1;
	filter: alpha(opacity=70);
	z-index: 20;
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
}

#imgbox-loading {
        background: url(../images/imgboxicons/ajax-loader.gif) no-repeat;

        width: 24px;
        height: 24px;

        text-indent: -10000px;
}

#imgbox {      

       	/*width: 640px; */
        padding: 20px;
        z-index: 100;
}

        #imgbox-close {
                background: url(../images/imgboxicons/close.png) no-repeat;

                display: block;
                width: 40px;
                height: 40px;

                text-indent: -10000px;
                text-decoration: none;
                outline: 0;

                position: absolute;
                top: 5px;
                left: 5px;
                
                z-index: 150;
        }

        #imgbox p:first-child {
                /*margin-top: 40px;*/
        }

        #imgbox p img {
                /*min-width: 633px;
                min-height: 525px;*/
                border: 1px solid #333;
        }
        
        #imgbox ul {
                margin-left: 0;
                padding-left: 0;
                list-style-type: none;
        }
        
        #imgbox ul:after {
                content: ".";
                display: block;
                height: 0;
                visibility: hidden;
                clear: both;
        }
        
                #imgbox ul li {
                        float: left;
                        position: relative;
                        width: 35px;
                        height: 35px;
                        margin: 0 /*5px 5px 0*/;
                }
                
                        #imgbox ul li a {
                                background: #fff;
                                position: absolute;
                                left: 0;
                                top: 0;
                                display: block;
                                width: 33px;
                                height: 33px;
                                border: 1px solid #666;
                                overflow: hidden;
                                z-index: 101;
                        }
                        
                        #imgbox ul li a.selected {
                                border-color: #369;
                        }
                        
                        #imgbox ul li a:hover {
                                left: -25px;
                                top: -25px;
                                width: 83px;
                                height: 83px;
                                z-index: 103;
                        }
                        
                                #imgbox ul li a img, 
                                #imgbox ul li a:hover img {
                                        width: 150px;
                                        border: 0;
                                }
