@charset "utf-8";

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {font-size: 68.75%; overflow-y: scroll; height:100%;}
@media all and (min-resolution: 120dpi) {
    html {font-size: 55%}
    html, x:-moz-any-link {font-size: 68.75%}
} #for-opera927 {/* dont' remove! */}



article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:1em/1.231 sans-serif; }
select, input, textarea, button { font: inherit; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }


a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }

sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; }

.ie6 legend, .ie7 legend { margin-left: -7px; }

input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }

.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }


button, input, select, textarea { margin: 0; }

/*input:valid, textarea:valid   {  }*/
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
::-moz-selection{ background: #ccccff; color:#fff; text-shadow: none; }
/*::selection { background:#ccccff; color:#fff; text-shadow: none; }*/

button {  width: auto; overflow: visible; }

.ie7 img { -ms-interpolation-mode: bicubic; }



h1, h2, h3, h4, h5, h6 { font-weight: normal; font-variant:  small-caps; }

h1 { font-size: 1em; line-height: 1.9; }
h2 { font-size: 1em; line-height: 1.8; }
h3 { font-size: 1em; line-height: 1.7; }
h4 { font-size: 1em; line-height: 1.6; }
h5 { font-size: 1em; line-height: 1.5; }
h6 { font-size: 1em; line-height: 1.4; }

a, a:active, a:visited { color: #E2C683; }
a:hover { color: #E2C683; text-decoration: none; }


/*  Main blocks  */ /* body  bg:#007061  */
/* OLD font: 1.2em/1.3 "Times New Roman",Times,"Nimbus Roman No9 L","FreeSerif","Liberation Serif",serif !important; */
body { background: #018d70 url('../images/body_bg.jpg') repeat-x !important; color: #000; font: 1.2em/1.3 Arial,Helvetica,FreeSans,"Liberation Sans","Nimbus Sans L",sans-serif !important; }
body, select, input, textarea { color: #000; }

#wrapper { display: table; width: 100%; text-align: center; }
#wrapper.bg-01 { background: transparent url('../images/main_bg.jpg') no-repeat top center !important; }
#wrapper.bg-02 { background: transparent url('../images/main_bg_02.jpg') no-repeat top center !important; }
#container { width: 1000px; margin: 0 auto; text-align: left; }
#header { height: 342px; position: relative; z-index: 50; }
#main { position: relative; z-index: 1; }
#footer { width: 100%; margin-top: 30px; }

/* Header styles */
#header div.header-nav { height: 41px; }
#header div.header-nav ul{ margin: 0 auto; text-align: center; padding-top: 7px; }
#header div.header-nav li{ list-style-type: none; margin: 0 44px; display: inline-block; display:inline; }
#header div.header-nav a { color: #fff; font-weight: bold; }
#header div.header-nav a:hover { text-decoration: none; color: #E2C683; }
#header div.header-nav a img { background: transparent url('../images/all_menus.gif') no-repeat; height: 25px; }
#header div.header-nav a img.about { background-position: 0 -163px; width: 75px; }
#header div.header-nav a:hover img.about { background-position: 0 -189px; }
#header div.header-nav a img.rules { background-position: 0 -53px; width: 81px; }
#header div.header-nav a:hover img.rules { background-position: 0 -79px; }
#header div.header-nav a img.enciclop { background-position: -85px -53px; width: 132px; }
#header div.header-nav a:hover img.enciclop { background-position: -85px -79px; }
#header div.header-nav a img.ratings { background-position: 0 -106px; width: 88px; }
#header div.header-nav a:hover img.ratings { background-position: 0 -134px; }
#header div.header-nav a img.support { background-position: -91px -107px; width: 110px; }
#header div.header-nav a:hover img.support { background-position: -91px -134px; }

#header div.header-logo { float: left; margin: 0 0 0 5px; padding-top: 132px; }
#header div.header-logo a {  }
#header div.header-logo a img { width: 225px; height: 135px; }

#header div#header-middle { float: left; margin-left: 260px; width: 221px; }

#header div.header-reg-block { }
#training-fight, #training-fight:visited, #training-fight:hover { color: #000; font-weight: bold; }
#training-fight img { text-decoration: none; width: 102px; height: 60px; }
#training-fight-block { position:relative; z-index: 110; text-align: center; }
#training-fight-desc { padding: 20px 10px 0 155px; }

#header div#header-login-block, #header div#header-need-flash-block div { width: 206px; position: relative; z-index: 101; }
#header div#header-need-flash-block-reg { display: none; }
#header div#header-need-flash-block-reg div { padding: 25px 70px 40px 70px !important; }
#header div#header-need-flash-block div, #header div#header-need-flash-block-reg div { padding-top: 20px; color: #000; }
#header div#header-need-flash-block a:link, #header div#header-need-flash-block a:hover,
#header div#header-need-flash-block a:visited, , #header div#header-need-flash-block-reg a:link,
#header div#header-need-flash-block-reg a:hover, , #header div#header-need-flash-block-reg a:visited{ color: #000; }
#header div#header-need-flash-block img, #header div#header-need-flash-block-reg img { width: 158px; height: 39px; display: block;}
#header .header-link-reg, #header .header-link-reg img { background: transparent url('../images/all_menus.gif') no-repeat; }
#header .header-link-reg { display: block; width: 100%; padding-top: 26px; height: 50px; text-align: center; line-height: 2.2; background-position: 0 -330px; font-weight: bold; position: relative; z-index: 102; }
#header .header-link-reg img { background-position: -72px 0; width: 116px; height: 25px; margin-top: 11px; }
#header .header-link-reg:hover img, #header .header-link-reg img.active { background-position: -72px -26px; }
#header div.header-login-form { text-align: right; padding-top: 4px; }
#header div.header-login-form label { text-align: left; line-height:1; letter-spacing: 1px; font-variant: small-caps; position: relative; top: 5px; color: #000; }
#header div.header-login-form input[type='text'], #header div.header-login-form input[type='password']
{ text-align: right; text-align: left; width: 120px; margin: 5px 0 0 10px; padding: 2px 5px; border: none; border-left: 1px solid #000; border-top: 1px solid #000; background: rgb(155, 211, 223); background: rgba(155, 211, 223, 0.5); }
#header div.header-login-form input[type='submit'] { padding: 2px 10px; }
#header div.header-login-form .image-login { display: block; margin: 6px 0 0 76px; height: 22px; width: 63px; background: transparent url('../images/all_menus.gif') no-repeat 0 0; float: left; }
#header div.header-login-form .image-login:hover { background-position: 0 -22px; }
#header div.header-login-form form div { margin-top: 1px;  }

#errors_login_block {position: absolute; top: -95px; left: 14px; width: 190px; height: 100px; display: none; border: 1px solid #ff6666; font-weight: bold; background: rgb(175, 215, 232); background: rgba(175, 215, 232, 0.9); color: #ff0000; }
#errors_login, #errors_password { display: none; padding: 5px 10px; }

#header div.header-pirat { position: absolute; top: 90px; left: 200px; background-repeat: no-repeat; width: 306px; height: 544px; z-index: 100; }
#header div.header-pirat-01 {  }
#header a.lost-pass { text-align: left; padding: 2px 0 0; float: right; display: block; width: 42px; color: #000; font-size: 11px; line-height: 1.2; }
#header a:hover .lost-pass { color: #000; }

div#static-reg-form { width: 435px; position: absolute; top: 84px; left: 460px; display: none; z-index: 101; }
#static-reg-form-close, #static-reg-form-preview-close { position: absolute; top: 10px; right: 35px; display: block; z-index: 1000; }
#static-reg-form-close, #static-reg-form-close img, #static-reg-form-preview-close, #static-reg-form-preview-close img { width: 18px !important; height: 17px !important; }
#static-reg-form-close img, a#static-reg-form-preview-close img { background: transparent url('../images/all_menus.gif') no-repeat -235px -5px; display: block;}
a#static-reg-form-preview-close { background-image: none !important; top: -5px; right: -5px; }

div#static-reg-form .active{ display: block; }
#reg-form, div#static-reg-form-done { padding: 20px 0; }
#reg-form input, #reg-form select { background: #e6d2ba; border: 0; border-top: 1px solid #060000; border-left: 1px solid #060000; height: 20px; padding: 0 5px; width: 190px; }
#reg-form select { width: 200px; padding-right: 0; }
#reg-form input[type="checkbox"] { padding-top: 5px; }
#reg-form input#rules { width: 20px; background: none; border: none; }
#reg-form input#nickname { width: 160px; }
#reg-form div { vertical-align: middle; }
div#static-reg-form-done .blk { margin: 0 auto; padding: 5px 30px; }
div#static-reg-form-done .reg-label { padding: 0 !important; }

div.static-reg-form { padding: 0 30px !important; }
div.reg-label, div.reg-checkbox,
div.reg-label-2, div.reg-input { float: left; width: 205px; }
div.reg-label, div.reg-checkbox { width: 145px; }
div.reg-label, div.reg-checkbox { text-align: right; margin: 6px 5px 0 5px; padding: 4px 0; }
div.reg-checkbox { width: 110px; }
div.reg-label-2, div.reg-input { margin: 6px 0 0 0; }
.reg-label-2 a:link, .reg-label-2 a:hover, .reg-label-2 a:visited { color: #000; }
div#img-choice-sex { margin-top: 10px; }
div#img-choice-character-wrapper { margin: 0; padding: 0; display: none; position: relative; z-index: 100; }
div#img-choice-character { position: relative; z-index: 1; }
div#img-choice-sex a, div#img-choice-character a { background: transparent url('../images/choise_characters.gif') no-repeat; border: 1px solid transparent; display: block; float: left; margin-right: 2px; }
div#img-choice-sex a.selected, div#img-choice-character a.selected { border: 1px solid #0033cc; cursor: default; }
div#img-choice-sex a img, div#img-choice-sex a { width: 26px; height: 26px; }
a.male { background-position: -5px -4px !important; }
a.female { background-position: -35px -4px !important; }
#img-choice-character a img, #img-choice-character a { width: 47px; height: 47px; }

#nickname-variants { margin: 0 10px 3px 155px; display: none; }
#nickname-variants { padding: 3px 0; }
#nickname-variants label { vertical-align: middle; padding-left: 5px; }
#nickname-variants input { width: 13px; height: 13px; background: none; border: none; }

a.char1 { background-position: -5px -36px !important; }
a.char2 { background-position: -58px -36px !important; }
a.char3 { background-position: -111px -36px !important; }
a.char4 { background-position: -164px -36px !important; }
.female a.char1 { background-position: -5px -89px !important; }
.female a.char2 { background-position: -58px -89px !important; }
.female a.char3 { background-position: -111px -89px !important; }
.female a.char4 { background-position: -164px -89px !important; }

div.choice-sex { padding-top: 10px; }
div.choice-character { padding-top: 15px; }
div.security-key { position: relative; height: 63px; }
div.security-key span { position: absolute;  bottom: 5px; right: 0; }
#security_key_inp { float: left; }
#security_key_inp div { padding: 4px 3px 11px 0; }
#security_key_img { width: 90px; margin: 0 0 5px 5px; }
#security_key_img_upd { padding-left: 20px; }
#security_key { width: 60px !important; }


div#static-reg-form-submit { margin: 10px auto; text-align: center; position: relative; }
input#reg-form-button-submit{ width: 159px; height: 23px; background: none; border: none; background: transparent url('../images/all_menus.gif') no-repeat 0 -424px; }
input#reg-form-button-submit:disabled { opacity: .5; }

#img-loading { display: none; position: absolute; top: -5px; left: 72px; }

.form-error { margin: 0 10px 3px 155px; color: #ff0000; display: none; text-align: left; }

#static-reg-form-preview { width: 550px; position: absolute; top: -81px; left: -555px; z-index: 1000; zoom: 1; display: none; }
#static-reg-form-preview-header, #static-reg-form-preview-body, #static-reg-form-preview-footer { background: transparent url('../images/preview_bg.gif') no-repeat; }
#static-reg-form-preview-header { height: 10px; background-position: 0 -11px; }
#static-reg-form-preview-body { background-position: 0 -20px; background-repeat: repeat-y; padding: 15px 15px; }
#static-reg-form-preview-footer { height: 11px; background-position: 0 0; }
#static-reg-img-preview, #static-reg-txt-preview, #static-reg-img-set-preview { float: left; }
#static-reg-img-preview { width: 155px; height: 246px; border: 1px solid #c49039; display: block; }
#static-reg-txt-preview { width: 210px; margin-left: 15px; }
#static-reg-txt-preview-name, #static-reg-img-set-preview h3 { margin: 0 0 10px 0; color: #d69d14; line-height: .8; }
#static-reg-txt-preview-desc { color: #fff; padding: 0; }
#static-reg-img-set-preview { width: 120px; margin-left: 15px; }
#static-reg-img-set-preview h3 { }
img.equip-item { width: 47px; height: 47px; margin: 0 10px 10px 0;}



/* Main block styles */
#main {  }
#main div#main-left-sidebar { float: left; width: 480px; }

#sidebar-header { height: 10px; }
#sidebar-header, #sidebar-main {  }
#sidebar-main { background-repeat: repeat-y; background-position: 0 -10px; padding-bottom: 10px; position: relative; }

div#desc {  width: 190px; padding: 5px 0 0 20px; overflow: hidden; }
div#desc h1 { margin: 0 10px; }
div#desc p { line-height: 1.2; margin: 0; color: #e2c683; overflow: visible; }


#main div#main-content { float: left; width: 435px; margin-top: 36px; }
div.main-content-header-bg, div.main-content-footer-bg { background: transparent url('../images/content_bg_top_down.gif') no-repeat; }
div.main-content-header-bg { background-position: 0 0; height: 24px; }
div.main-content-middle { background: transparent url('../images/content_bg_middle.gif') repeat-y 2px 0; padding: 0 53px 0 64px; }
div.main-content-middle p { padding-bottom: 10px; }
div.main-content-footer-bg { height: 42px; background-position: 0 -25px; }
div.main-content-middle a:link, div.main-content-middle a:active, div.main-content-middle a:visited { color: #793d19; }

.content-news a { color: #381200; }
.content-news-date, .content-news-title, .content-news-content { color: #000; }
.content-news-title { color: #793d19; font-weight: bold; }
.content-news-content { color: #000; font-weight: normal; }
/* Content */


/* Sidevbar styles */
#left-sidebar-sub { height: 50px; width: 90%; }
#need-flash { margin-bottom: 10px; display: none; }
div#screenshots-header img { background: transparent url('../images/all_menus.gif') no-repeat 20px -297px; width: 200px; height: 20px; margin-top: 16px; }
div#screenshots { width: 187px; float: left; }
div#screenshots-all { margin: 5px 0 0 10px;  }
div.screenshot { margin: 5px 0 0 17px; }
div.screenshot img { width: 177px; height: 103px; border: 3px solid #7e4f23; }
div#stats { width: 205px; position: absolute; top: 257px; right: 30px; }
div.stats-header img, div.stats-footer { width: 205px; height: 28px; background: transparent url('../images/all_menus.gif') no-repeat -7px -228px; }
div.stats-content { color: #e2c683; width: 100%; font-weight: bold; }
div.stats-content table { width: 100%;}
div.stats-content table td { padding: 2px 0 0 3px; }
div.stats-content table td.pr-30 { padding-right: 32px; }
div.stats-footer { background-position: -5px -260px; }

/*Footer styles */
#footer div.footer-text, #footer a, #footer a:visited, #footer div.footer-copy { color: #e2c683; }
#footer div.footer-text { text-align: right; width: 100%; }
#footer div.footer-text div.slike {float:right;margin-left:10px;}
#footer div.footer-content { padding: 10px 0; }
#footer div.footer-counters { float: left; }
#footer div.footer-counters ul { margin-left: 0; }
#footer div.footer-counters li { list-style-type: none; float: left; margin: 0; width: 95px; }
#footer div.footer-copy { float: right; margin: 0; text-align: right; }


.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }

.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

.invisible { visibility: hidden; }

.clear { clear: both; }
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.a-right { text-align: right; }
.a-left { text-align: left; }
.a-center { text-align: center; }
.f-right { float: right; }
.f-left { float: left; }

.pl-10 { padding-left: 10px; }
.pl-20 { padding-left: 20px; }
.pl-30 { padding-left: 30px; }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }

.black { color: #000; }
.black:hover { color: #000; }

.color-y { color: #E2C683; }
.hide { display: none; }
.pbot { padding-bottom: 20px !important; }
.relative { position: relative; }

.h01 { font-size: 18px; text-align: center; }

.enter-game { background-position: 0 -470px !important; }

@media all and (orientation:portrait) { }
@media all and (orientation:landscape) { }

@media screen and (max-device-width: 480px) { }


@media print {
  * { background: transparent !important; color: #000 !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('../images/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #7e4f23;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #7e4f23;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('../images/fancybox/fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
    overflow: hidden;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 10%;
	cursor: pointer;
	outline: none;
	background: transparent url('../images/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-right { width: 90%; }

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('../images/fancybox/fancybox-x.png');
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('../images/fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -182px;
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('../images/fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('../images/fancybox/fancybox-y.png');
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('../images/fancybox/fancybox.png');
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #7e4f23;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('../images/fancybox/fancy_title_over.png');
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('../images/fancybox/fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('../images/fancybox/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('../images/fancybox/fancybox.png') -55px -90px no-repeat;
}

/* IE6 */

.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
	height: expression(this.parentNode.clientHeight + "px");
}

#fancybox-loading.fancybox-ie6 {
	position: absolute; margin-top: 0;
	top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}

#fancybox-loading.fancybox-ie6 div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_loading.png', sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg { background: transparent !important; }

.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }