html, body {
	height: 100%;
}

div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	display: none;
	z-index: 500;
	opacity: 0.3;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('/media/templates/2/styles/jquery_fancybox/fancy_progress.png') no-repeat;
}




div#fancy_loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 500;
}

/*div#fancy_loading_icon {
	position: absolute;
	background: url('/templates/pics/preload.gif') no-repeat;
	z-index: 505;
	width: 16px;
	height: 16px;
}*/

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 590;
    padding: 18px 18px 33px 18px;
    margin: 0;
    overflow: hidden;
    background-color: transparent;
	display: none;
	
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #DFE6EE;
	border-right-width: 5px;
	border-bottom-width: 5px;
	background-color: #FFFFFF;
}

div#fancy_content {
	z-index: 600;
	position: absolute;
}

div#fancy_div {
	background: #FFFFFF;
	color: #333333;
	height: 100%;
	width: 100%;
	z-index: 600;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 600;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 35px;
	width: 32px;
	background: url('/media/templates/2/styles/jquery_fancybox/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
	z-index: 680;
	display: none;
}
* html div#fancy_close { background: url('/media/templates/2/styles/jquery_fancybox/fancy_closeboxie6.png') top left no-repeat; }
#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 53px; 
	cursor: pointer;
	z-index:611; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#fancy_left {
	left: -35px; 
}

a#fancy_right {
	right: -45px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 35px;
	height: 32px;
	z-index: 612; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: 15px;
	background: transparent url('/media/templates/2/styles/jquery_fancybox/fancy_prev.png') no-repeat;
}
* html span#fancy_left_ico { background: transparent url('/media/templates/2/styles/jquery_fancybox/fancy_leftie6.png') no-repeat; }
span#fancy_right_ico {
	right: 25px;
	background: transparent url('/media/templates/2/styles/jquery_fancybox/fancy_next.png') no-repeat;
}
* html span#fancy_right_ico { background: transparent url('/media/templates/2/styles/jquery_fancybox/fancy_rightie6.png') no-repeat; }

a#fancy_left:hover {
  visibility: visible;
}

a#fancy_right:hover {
  visibility: visible;
}

/*a#fancy_left:hover span {
	left: 0px; 
}

a#fancy_right:hover span {
	right: 0px; 
}*/

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 570;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 570;
	border: 0;
	padding: 0;
	margin: 0;
}

/*div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('fancy_shadow_n.png') repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('fancy_shadow_ne.png') no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('fancy_shadow_e.png') repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('fancy_shadow_se.png') no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('fancy_shadow_s.png') repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('fancy_shadow_sw.png') no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('fancy_shadow_w.png') repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('fancy_shadow_nw.png') no-repeat;
}*/ 

div#fancy_title {
	position: absolute;
	bottom: -32px;
	left: -1px;
	width: 100%;
	z-index: 600;
	display: none;
	color: #656565;
	background-color: #FFFFFF;
	border: 1px solid #DFE6EE;
	border-top: 0;
	border-right-width: 5px;
	border-bottom-width: 5px;
}

div#fancy_title div {
	font: bold 12px Arial;
	padding-bottom: 3px;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	background: transparent url(/media/templates/2/styles/jquery_fancybox/fancy_title_left.png) repeat-x;
}
* html td#fancy_title_left { background: transparent url(/media/templates/2/styles/jquery_fancybox/fancy_title_leftie6.png) repeat-x; }
td#fancy_title_main {
	height: 32px;
	/*background: transparent url(/media/templates/2/styles/jquery_fancybox/fancy_title_main.png) repeat-x;*/
}
* html td#fancy_title_main { background: transparent url(/media/templates/2/styles/jquery_fancybox/fancy_title_mainie6.png) repeat-x; }
td#fancy_title_right {
	display: none;
}
* html td#fancy_title_right {
	background: transparent url(/media/templates/2/styles/jquery_fancybox/fancy_title_rightie6.png) repeat-x;
}
.popin { height: 200px; overflow: visible; padding: 20px; }
.popin h2 { margin: 0 0 15px 0; font-size: 18px; }
html>body .popin { height: auto; min-height: 200px; }
.popin a:link, .popin a:visited, .popin a:active, .popin a:hover { background-image: url(/templates/pics/apopin.png); background-repeat: no-repeat; background-position: 0 3px; padding-left: 20px; color: #014085; text-decoration: none; font-weight: bold; }
.fancyhead { color: #656565; }
.fancyhead .fs-14 { font-size: 14px; }
/* Galerie */
.contentm .galerie { margin: 0; padding: 0; list-style: none; }
.contentm .galerie li { background-image: url(/templates/pics/bggalerie.gif); background-repeat: no-repeat; width: 99px; height: 99px; padding: 1px 0 0 1px; display:block; float: left; margin: 0; }
.jgalerie { width: 470px; height: 80px; overflow: hidden; margin: 0 35px 0 220px; }
.jgaleriecol1 { margin: 0 35px 0 50px; }
.jgalerie ul { height: 64px; list-style: none; white-space: nowrap; margin: 0; padding: 0; }
.jgalerie li { width: 94px; height: 64px; float: left; }
.jgalerie li img { border: 3px solid #65c4ec; }
.galerie-prev, .galerie-prev-col1 { position: absolute; width: 35px; height: 64px; left: 180px; bottom: 16px; outline: none; background-color: #FFFFFF; border: 0; background-image: url(/media/templates/2/styles/jquery_fancybox/fancy_prev.png); background-repeat: no-repeat; background-position: center; }
.galerie-prev-col1 { left: 0; }
.galerie-next { position: absolute; width: 35px; height: 64px; right: 10px; bottom: 16px; outline: none; background-color: #FFFFFF; border: 0; background-image: url(/media/templates/2/styles/jquery_fancybox/fancy_next.png); background-repeat: no-repeat; background-position: center; }
/* Partner */
#fancy_content .partnerdetail { background-repeat: no-repeat; width: 540px; height: 475px;padding: 0 20px 0 0;  overflow: auto; }
#fancy_content .partnerdetail h2 { background-repeat: no-repeat; background-position: 0 0; }

