*
{
    font-family: Arial;
}
.signature {
	font-family: "Monotype Corsiva";
	font-size: 24px;
	color: #000;
	padding-top: 10px;
}
.photo_frame {
	border: 1px solid black;
	max-width:161px;
}
#container
{
    width: 891px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #7f868b;
}
#header
{
    width: 891px;
    height: 72px;
    background-image: url('header.gif');
    background-repeat: no-repeat;
}
#autorization
{
    width: 186px;
    height: 69px;
    background-image: url('auto.gif');
    position: relative;
    left: 700px;
    top: 1px;
    /*z-index: 9000;*/
    z-index: 998;
    padding-left: 4px;
    background-repeat: no-repeat;
    font-weight: bold;
}
#mbanner
{
	width: 142px;
	height: 188px;
	position:absolute;
	z-index: 0;
	background-image: url('/web2/fclass/logo.jpg');
	right: 0px;
	top:0px
}
#auto_button
{
    width: 40px;
    height: 20px;
    position: relative;
    float: right;
    margin-right: 5px;
    background-repeat: no-repeat;
}
.clear
{
    clear: both;
}
#menu
{
    width: 100%;
    height: 37px;
    background-image: url('menu.gif');
    color: #757575;
    font-size: 12px;
    background-repeat: no-repeat;
}
#content
{
    width: 869px;
    background-color: White;
    padding: 11px 11px 11px 11px;
    background-repeat: repeat-y;
    min-height: 360px;
}
#footer
{
    width: 891px;
    /*height: 31px;
    background-image: url('footer.gif');*/
    background-color: #E7E7E7;
    text-align: center;
    padding-top: 2px;
    clear: both;
    /*background-repeat: repeat-x;*/
}
.form
{
    height: 14px;
    width: 130px;
    background-color: #f8f8f8;
    border: solid 1px #ababab;
    font-size: 12px;
    color: #0076c7;
    font-weight: bold;
}
html .form
{
    height: 13px;
}
.auth
{
    font-size: 11px;
    color: White;
}
a.tm
{
    font-family: Tahoma;
    color: White;
    height: 28px;
    font-weight: bold;
    text-decoration: none;
    font-size: 12px;
}
a.tma
{
    font-family: Tahoma;
    height: 28px;
    color: White;
    font-weight: bold;
    text-decoration: none;
    font-size: 12px;
}
.block_left
{
    float: left;
	overflow:hidden;
}
.block_right
{
    float: right;
}
.big_block
{
    width: 847px;
    margin-left: 10px;
    margin-top: 6px;
    margin-bottom: 3px;
}
.big_block_top
{
    width: 807px;
    height: 18px;
    background-image: url('big_block_top.gif');
    padding-left: 40px;
    text-transform:uppercase;
    color: #626262;
    font-weight: bold;
    padding-top: 2px;
    font-size: 12px;
}
.big_block_content
{
    width: 825px;
    background-image: url('big_block_content.gif');
    padding: 11px 11px 11px 11px;
    color: #6a6a6a;
    font-size: 12px;
    font-weight: bold;
}
.big_block_bottom
{
    width: 847px;
    height: 1px;
    background-image: url('big_block_bottom.gif');
    background-repeat: no-repeat;
}
.small_block
{
    width: 414px;
    margin-left: 9px;
    margin-right: 11px;
    margin-top: 6px;
    margin-bottom: 3px;
}
.small_block_top
{
    width: 374px;
    height: 19px;
    background-image: url('small_block_top.gif');
    padding-left: 40px;
    text-transform: uppercase;
    color: #626262;
    font-weight: bold;
    background-repeat: no-repeat;
    font-size: 12px;
    padding-top: 1px;
}
.small_block_content
{
    width: 390px;
    background-image: url('small_block_content.gif');
    padding: 12px 12px 12px 12px;
    color: #6a6a6a;
    font-size: 12px;
    font-weight: bold;
    background-repeat: repeat-y;
}
.small_block_bottom
{
    width: 414px;
    height: 1px;
    background-image: url('small_block_bottom.gif');
    background-repeat: no-repeat;
}
.feed_block
{
    width: 620px;
    margin-left: 10px;
    margin-right: 9px;
    margin-top: 6px;
    margin-bottom: 6px;
}
.feed_block_top
{
    width: 580px;
    height: 18px;
    background-image: url('feed_block_top.gif');
    padding-left: 40px;
    text-transform: uppercase;
    color: #626262;
    font-weight: bold;
    padding-top: 2px;
    font-size: 12px;
}
.feed_block_content
{
    width: 598px;
    background-image: url('feed_block_content.gif');
    padding: 11px 11px 11px 11px;
    color: #6a6a6a;
    font-size: 12px;
    font-weight: bold;
    background-repeat: repeat-y;
}
.feed_block_bottom
{
    width: 620px;
    height: 1px;
    background-image: url('feed_block_bottom.gif');
    background-repeat: no-repeat;
}
h1
{
    color: #107eca;
    font-size: 16px;
    font-weight: bold;
    text-align:center;
}
h2
{
    color: #107eca;
    font-size: 16px;
    font-weight: bold;
    text-align:center;
}
a.forum_title
{
    color: #595959;
    text-decoration: none;
}
a
{
    text-decoration: none;
    color: #0072c1;
    text-size: 14px;
    font-weight: bold;
}
a.user
{
    color: #107eca;
}
.blue
{
    color: #0072c1;
    text-size: 14px;
    font-weight: bold;
}
.gray
{
    color: #595959;
}
.date
{
    color: #595959;
    font-size: 11px;
}
.district
{
    color: #595959;
    font-weight: normal;
    font-size: 11px;
}
.more
{
    color: #809bb3;
    text-size: 12px;
    text-decoration: none;
    float: right;
    padding-right:30px;
    cursor: pointer;
}
.button
{
    float: right;
    height: 26px;
}
.button_left
{
    float: left;
    width: 7px;
    height: 26px;
    background-image: url('but_left.gif');
}
.button_right
{
    float: left;
    width: 7px;
    height: 26px;
    background-image: url('but_right.gif');
}
.button_content
{
    float: left;
    height: 24px;
    background-image: url('but_content.gif');
    color: white;
    padding-top: 2px;
    font-weight: bold;
    font-size: 12px;
}
a.button
{
    color: white;
    font-size: 13px;
    font-weight: bold;
}
textarea, input.text, input[type=text], input.password, input[type=password]
{
    background-color: #f8f8f8;
    border: solid 1px #ababab;
    font-size: 12px;
    color: #0076c7;
    font-weight: bold;
}
html .text
{
    background-color: #f8f8f8;
    border: solid 1px #ababab;
    font-size: 12px;
    color: #0076c7;
    font-weight: bold;
}
.timearea
{
	width: 100px;
	height: 13px;
	float: left;
	color: #0076c7;
	border: solid 1px #ababab;
	font-weight: bold;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}
.time
{
	width: 100px;
	height: 13px;
	float: left;
	color: #0076c7;
	font-weight: bold;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}
#tooltip
{
	color: #0076c7;
    position: absolute;
    z-index: 3000;
    border: solid 1px #ababab;
    background-color: #ebebeb;
    padding: 5px;
    opacity: 30;
    font-size: 12px;
}
#tooltip h3, #tooltip div
{
    margin: 0;
}
#overlay_field
{
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 7;
    background-color: black;
    opacity: 0.5;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
    width: 100%;
    height: 100%;
}
#overlay_box
{
    z-index: 8;
    width: 660px;
    position: absolute;
    top: 140px;
    border: 2px solid #0076c7;
    margin-left: auto;
    margin-right: auto;
    background-color: #d0e0eb;
    left: 30px;
}
html .del
{
    position: relative;
    top: 1px;
    margin-left: 3px;
}
html .ed
{
    position: relative;
    left: -5px;
}
.close-floatbox
{
    width: 20px;
    height: 22px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    z-index: 10;
}
hr
{
    background-color: #ebebebe;
    color: #ebebeb;
}
.mdownforms
{
    width: 150px;
}

.mainNtitle {
    font-size: 12px;
    font-weight: bold;
    color: #595959;
}

.mainNText {
    font-size: 12px;
    text-align:justify;
    padding-right:10px;
}

.mainNdate
{
    color: #595959;
    font-size: 11px;
    font-weight: bold;
}

SELECT.menuSchoolList, SELECT.menuFormList, INPUT.menuSearch {
    height:22px;
}

/*EDIT FORM*/
form.edit_school_info {display:block; overflow:hidden;}
form.edit_school_info label {display:block; margin:0 0 5px 0; padding:0;}
form.edit_school_info label p.label_desc {display:block; font-size:12px; font-weight:normal; margin:-3px 0 0;}
form.edit_school_info input {margin:0 0 5px 10px; height:23px; line-height:23px; width:340px; font-weight:normal;}
form.edit_school_info div.phone_school_edit_input input {}
.phone_school_edit_input input.city_code {margin-left:0; width:38px; text-align:center;margin:0 2px 0 1px;}
.phone_school_edit_input input.phone_num {margin-left:3px; width:84px; text-align:center;}
.phone_school_edit_input input.phone_desc {width:180px; margin:0 0 0 5px;}
form.edit_school_info .phone_school_edit_input {padding:7px; border:1px solid #ababab; position:relative; margin:0 0 5px;}
form.edit_school_info .phone_school_edit_input.sel {background:#FC9;}
form.edit_school_info #phones {position:relative;}
form.edit_school_info #phones a.remove_num {font-weight:normal; text-decoration:none; border-bottom:1px dashed #0072c1;}
form.edit_school_info #phones a#add_phone_num {font-weight:normal; text-decoration:none; border-bottom:1px dashed #0072c1; position:absolute; display:block; bottom:7px; left:66px;}
 .button {float:right; height:28px; margin:3px 5px; position:relative; padding:0 6px;}
 .button .button_left,  .button .button_content, .button .button_right { height:28px; background-image:url(/web2/buttons.png); background-repeat:no-repeat;}
 .button .button_left {width:6px; background-position:0 0; position:absolute; top:0; left:0;}
 .button .button_right {width:6px; background-position:-6px 0; position:absolute; top:0; right:0;}
 .button .button_content { background-position:0 -28px; background-repeat:repeat-x; color:#FFF; text-shadow:0px 1px 0 rgba(0,0,0,.5); line-height:23px;}
 .button .button_content span {top:0 !important; line-height:23px;}
 
 .button1 {float:right; height:21px; margin:3px 5px; position:relative; padding:0 6px;}
 .button1 .button_left,  .button1 .button_content, .button1 .button_right { height:21px; background-image:url(/web2/buttons.png); background-repeat:no-repeat;}
 .button1 .button_left {width:6px; background-position:-14px 0; position:absolute; top:0; left:0;}
 .button1 .button_right {width:6px; background-position:-20px 0; position:absolute; top:0; right:0;}
 .button1 .button_content { background-position:0 -59px; background-repeat:repeat-x; color:#FFF; text-shadow:0px 1px 0 rgba(0,0,0,.5); line-height:16px;}
 .button1 .button_content span {top:0 !important; line-height:16px;}

::-webkit-input-placeholder { font-weight:normal !important; color:#888 !important;}
:-moz-placeholder {font-weight:normal !important; color:#888 !important;}
.placeholder {font-weight:normal !important; color:#888 !important;}

/*SCHOOL INFO*/
div.vcard div {font-weight:normal;}
div.vcard td { padding:2px 6px 6px 2px;}
div.vcard td.card_desc {text-align:right; width:104px; vertical-align:top;}
div.vcard td em {font-weight:normal; font-style:italic;}
div.vcard td span.tel {line-height:19px;}

/*ATTENTION*/
.attention {padding:7px; margin:0 auto 7px;  background:#107ECA; overflow:hidden;}
.attention h2 {margin:0 0 7px 0;}
.attention h2, .attention p, .view p {color:#FFF; font-size:12px;}
.attention * {color:#FFF; font-size:12px;}
.attention a {text-decoration:underline;}
.attention b#slide_view {color:#000; text-decoration:none; border-bottom:1px dashed #000; font-size:12px;}

/*MAPS*/
.vcard {float:left;}
div#YMapsID {float:right; border:2px solid #107eca;}

/*COMMENTS*/
.comments_news {position:relative; overflow:hidden;}
.comment {background:#FFF; border:2px solid #d6d6d6; padding:16px 7px 7px; position:relative; margin:20px 0 12px;}
.comment *, .comment_textarea * {font:bold 12px Arial, Helvetica, sans-serif;}
.comment .comment {margin-left:5px;}
.comment.otvet {border-color:#107ECA;}
.comment.otvet b.com_quot {background-position:-33px 0;}
.comment b.com_quot, .comment.otvet .comment b.com_quot{display:block; width:33px; height:19px; position:absolute; top:-17px; left:50px; background:url(http://oshkole.ru/web2/com-quot.png) no-repeat 0 0;}
.comment .comment_info, .comment.otvet .comment .comment_info {height:20px; border-radius:10px; border:2px solid #d6d6d6; line-height:20px; position:absolute; top:-14px; right:30px; width:320px; background:#FFF; padding:0 10px; float:right;}
.comment.otvet .comment_info {border-color:#107eca;}
.comment_info a.user, .comment_info span.user {background-position:0 50%; background-repeat:no-repeat; line-height:20px; font-weight:normal; padding:0 0 0 18px;height:20px; display:block; width:110px; position:relative; overflow:hidden; white-space:nowrap; float:left;}
.comment_info span.user {color:#242424; font-weight:bold;}
.comment_info a.user:hover {text-decoration:underline;}
.comment_info a.user i, .comment_info span.user i {display:block; height:20px; width:20px; position:absolute; top:0; right:0; background:url(/web2/com-name-w.png) repeat-y 0 0;}
span.comment_date {float:right; font-weight:normal; font-size:11px; line-height:20px;}
.comment ul.comment_action {overflow:hidden; margin:7px 15px 5px 0; padding:0;}
.comment ul.comment_action li {list-style:none; float:left; padding:0 8px 0 0; margin:0 0 0 8px; border-right:1px solid #d6d6d6;}
.comment .com_action {margin:7px 0 3px; overflow:hidden;}
.comment .com_action a, .comment .com_action span {line-height:20px;}
.comment .com_action span {padding:0 4px; color:#d6d6d6;}
.comment_textarea_replay form {margin:7px 0;}
.comment_textarea_replay input, .comment_textarea_replay textarea, .comment_textarea input, .comment_textarea textarea {padding:2px 3px; margin:0 0 4px 0; clear:both;}
.comment_textarea_replay label, .comment_textarea label {display:block; color:#000; margin:0 0 3px;}
.comment_textarea_replay img, .comment_textarea img {border:1px solid #d6d6d6; margin:7px;}
div.comment div.comm_text {font:bold 12px Arial, Helvetica, sans-serif; color:#6a6a6a; border-bottom:1px solid #d7d7d7; padding:0 5px 7px;}

/*BREADCRUMBS*/
div.breadcrumb {width:847px; margin:3px auto 12px; overflow:hidden;}
div.breadcrumb ul {overflow:hidden; margin:0; padding:0;}
div.breadcrumb ul li {list-style:none; float:left; margin:0 5px 0 0; padding:0; font-size:12px; font-weight:bold;}
div.breadcrumb ul li.sep {width:12px; height:12px; background:url(/web2/sep.png) no-repeat 50% 2px;}
div.breadcrumb ul li a {font-size:12px;}

/*SCHOOL NEWS MAIN*/
.school_news_item {float:left; width:270px; margin-right:15px; position:relative;}
.school_news_item * {font-size:12px;}
.school_news_item table td.school_news_item_img {width:105px; text-align:left; padding:0 2px 2px 0;}
a.school_news_item_link {display:block; margin:2px 0 3px; text-transform:uppercase;}
a.school_num {display:block; margin:7px 0 0; color:#6a6a6a; text-decoration: underline;}
div.school_news_item_text {font-weight:normal; margin:2px 0; clear:both;}
span.school_news_item_date {font-weight:normal; font-size:11px;}

/*PHOTOS/ALBUMS*/
table.school_albums {width:820px; margin:0 auto;}
table.school_albums td.td0 {width:410px; padding-right:10px;}
table.school_albums td.td0 {width:410px; padding-left:10px;}
table.school_albums td {text-align:left; padding-top:5px; padding-bottom:4px;}
table.school_albums td div.album_item {position:relative; border-bottom:1px solid #dadada; overflow:hidden; padding:5px;}
table.school_albums td div.album_item:hover, table.school_albums td div.album_item.hover {border:none; box-shadow:0 0 15px #333;}
table.school_albums td div.album_img {float:left; width:130px; margin:0 7px 7px 0;}
table.school_albums td a.album_link {display:block; overflow:hidden; float:left; background:#e7e7e7; width:130px; height:86px; margin:0 0 4px 0;}
table.school_albums td a.album_link img {width:130px;}
a.album_link_name {color:#0072c1; margin:4px 0 0;}
a.album_link_name:hover {text-decoration:underline;}
.album_desc_info {position: relative; padding:2px 3px; border:1px solid #e7e7e7; border-width:1px 0; margin:3px 0 3px 137px; height:13px;}
.album_desc_info span {width:45%; display:block; position:absolute; top:2px; bottom:2px; line-height:13px; font-size:10px; font-weight:normal;}
.album_desc_info span.album_date {left:3px;}
.album_desc_info span.album_qty {right:3px; text-align:right;}
.album_desc {margin:5px 0 3px 137px; font-weight:normal; font-size:11px;}

table.images_items_table {width:820px; margin:0 auto; padding:0; border-collapse:collapse; border-spacing:0;}
table.images_items_table td {padding:0;}
table.images_items_table div.img_item {width:130px; height:98px; background:#e1e1e1; overflow:hidden; text-align:center; margin:3px;}
table.images_items_table div.img_item img {height:98px;}

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#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: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 30px 15px 0;
	background:#FFF;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: none !important;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 70px;
	height: 30px;
	cursor: pointer;
	z-index: 1103;
	display: none;
	font-size:12px; font-weight:normal; text-decoration:underline;
	text-align:right;
}

#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;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('images/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#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 {
	background:#FFF;
	z-index: 1102;
	padding:15px;
	margin:0 !important; bottom:0 !important;
}

#fancybox-title span#fancybox-title-over {display:block; background:#FFF; border-radius:20px 20px 0 0; width:40px; height:25px; position:absolute; top:-20px; left:50%; margin:0 0 0 -20px; font-weight:bold; font-size:12px; line-height:12px; text-align:center; color:#333;} 

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	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'); }
