
/* ibox controls -- most of this shouldn't be touched */
#ibox { z-index: 1000000; }
#ibox_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
	bottom: 0px;
	height: 100%;
	width: 100%;
    z-index:1000000;
    /* we use a background image because mac firefox bugs */
    background: url('images/bg-black.png');
}
#ibox_progress {
    position:absolute;
    z-index:1000001;
}
#ibox_wrapper {
    position:absolute;
    top:0;
    left:0;
    z-index:1000001;
    padding: 40px 10px 10px 10px;
	border: 0px !important;
}
#ibox_content {
    z-index:1000002;
    overflow:auto;
    height:100%;
    position:relative;
    padding: 2px 2%;
	width: 96% !important;
}
#ibox_content object { display: block; }
#ibox_content .ibox_image { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; display: block; }
#ibox_footer_wrapper a {
    float: right;
    display: block;
    outline: 0;
    margin: 0;
    padding: 5px;
}
#ibox_footer_wrapper {
    position: absolute;
    top: 5px;
    right: 10px;
    left: 10px;
    white-space: nowrap;
    overflow: hidden;
}

/* feel free to customize the following in an external css */

/* footer and close link */
#ibox_footer_wrapper { font-weight: bold; }
#ibox_footer_wrapper a {
    text-decoration: none;
    color: #fff;
	display: block;
	background: #f6511d;
    text-transform: lowercase;
    font-weight: normal;
    font-size: 1em;
}

#ibox_footer_wrapper a:hover {
	background-color: #f13510;
	color: #fff;
}

#ibox_footer_wrapper {
    font-size: 1em;
}

/* this is the ibox container */
#ibox_wrapper {
    width: 100% !important;
	max-width: 980px !important;
}
#ibox_wrapper { background-color:#444; }

#ibox_footer_wrapper a { background-color:#f6511d; }

/* inner container */
#ibox_content {
    background-color:#fff;
    border: 0px;
}
#ibox_progress {
    width: 128px;
    height: 128px;
    background: url('images/indicator.gif') no-repeat;
}



@media (max-width: 500px) {
#ibox_wrapper {
    padding: 40px 0 10px 0;
}

#ibox_wrapper {
	left: 0px !important;
}

}