#tobox_overlay { 
	position: fixed; 
	top: 0; 
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 990; 
	background-color: #000;
}

* html #tobox_overlay {
 	position: absolute; 
	top: expression(((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); 
	left: expression(((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');
}

#tobox_throbber {
	width: 64px;
	height: 64px;
	position: absolute;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 991;
}

#tobox_container {
	position: absolute;
	top: 0; 
	left: 0; 
	z-index: 1000;
	background-color: white;
	overflow: hidden;
	min-height: 100px;
	min-width: 200px;
	border-radius: 10px;
	user-select: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	font-family: arial, sans-serif;
	font-size: 12px;
}

#tobox_container.ajax {
	user-select: auto;
	-webkit-user-select: auto;
	-khtml-user-select: auto;
	-moz-user-select: auto;
	-o-user-select: auto;
}

#tobox_inner {
	position: relative;
	padding: 15px 60px;
}

#tobox_container.ajax #tobox_inner {
	padding: 15px 82px 15px 38px;
}

#tobox_content {
	position: relative;
	width: auto;
	height: auto;
	margin 0 auto;
}

#tobox_close {
	cursor: pointer;
}

#tobox_close, #tobox_loader {
	width: 60px;
	height: 60px;
	position: absolute;
	top: 0px;
	right: 0px;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1010;
}

#tobox_download {
	cursor: pointer;
	width: 60px;
	height: 60px;
	position: absolute;
	top: 60px;
	right: 0px;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1010;
}

#tobox_download div {
	font-size: 11px;
	text-align: center;
	width: 60px;
	position: absolute;
	bottom: 0px;
}

#tobox_prev {
	cursor: pointer;
	width: 60px;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background: center no-repeat;
	z-index: 1005;
}

#tobox_next {
	cursor: pointer;
	width: 60px;
	height: 100%;
	position: absolute;
	top: 0px;
	right: 0px;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1005;
}

#tobox_description {
	text-align: center;
	font-weight: bold;
	color: #666;
	margin-top: 15px;
}

#tobox_temp {
	width: auto;
	height: auto;
	position: absolute;
	left: -10000px;
	top: -10000px;
}

#tobox_bar {
	width: 100%;
	height: 85px;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 1010;
	user-select: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	font-family: arial, sans-serif;
	font-size: 12px;
}

* html #tobox_bar {
	position: absolute;
	right: auto;
	bottom: auto;
	top: expression(-85+document.documentElement.clientHeight+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); 
	left: expression(((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');
}

#tobox_left {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	width: 30px;
	cursor: pointer;
	margin-right: 15px;
}

#tobox_right {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	width: 30px;
	cursor: pointer;
	margin-left: 15px;
}

#tobox_area {
	position: absolute;
	left: 45px;
	right: 45px;
	top: 0;
	bottom: 0;
	overflow: hidden;
}

#tobox_counter {
	width: auto;
	height: 22px;
	line-height: 22px;
	float: left;
	color: #fff;
	margin-right: 30px;
}

#tobox_counter span {
	margin-right: 4px;
}

#tobox_counter span.highlight {
	font-weight: bold;
}

#tobox_titles {
	width: auto;
	height: 22px;
	line-height: 22px;
	float: left;
	color: #fff;
}

#tobox_titles span.link {
	cursor: pointer;
}

#tobox_titles span.hover {
	color: #c70000;
}

#tobox_titles span.active {
	font-weight: bold;
	padding-left: 1px; /* chrome jest gupi */
}

#tobox_titles span.separator {
	margin: 0 10px;
}

#tobox_thumbs {
	clear: both;
	height: 53px;
	position: absolute;
	left: 0;
	bottom: 10px;
	white-space: nowrap;
}

* html #tobox_thumbs {
	bottom: 0;
}

#tobox_thumbs img {
	width: 60px;
	height: 45px;
	cursor: pointer;
	margin-right: 7px;
	border: 3px solid #4a4a4a;
	padding: 1px;
}

#tobox_thumbs img.active {
	border-color: #c70000;
}

#tobox_thumbs img.hover {
	border-color: #dddddd;
}

#tobox_banner {
	width: 1002px;
	height: 102px;
	left: 50%;
	margin-left: -501px;
	position: absolute;
	text-align: center;
	z-index: 999;
}

#tobox_banner div {
	margin: auto;
}

#tobox_banner div iframe {
	border: 1px solid #fff;
}

