/*
Theme Name: theme-ttweb
Theme URL: http://www.ttweb.ru
Description: shop
Author: ZetRider
Author URI: http://www.ttweb.ru
Version: 2.0 
Tags: shop
*/

/* Reset */
html, body, div, span, applet, object, iframebed {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  outline: none;
}

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; }
strong { font-weight: bold; } 

input { outline: none; }

label { cursor:pointer; }

table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }


/* Main */
html {
height:101%;
font-size:14px;
color:#1b1b1b;
background-image:url('images/bg.jpg');
background-repeat:repeat-x;
background-position: left top;
background-color:#fff;
font-family:Century Gothic, Calibri;
}

body {
height:101%;
}

a { color:#1b1b1b; }

hr {
color:#163461;
background-color:#163461;
border:0 none;
height:1px;
clear:both;
margin:0;
padding:0;
}

/* Container */
.table_main {
width:100%;
height:100%;
}
.table_content {}
.table_footer {
height:60px;
}

.main {
width:1000px;
margin:0 auto;
}

.container {
margin-top:20px;
}

/* Настройки шапки */
.header {
width:1000px;
height:140px;
overflow:hidden;
color:#444444;
}
.header a { color:#444444; } 

.header_logo {
width:153px;
height:140px;
display:block;
float:left;
background-repeat:no-repeat;
background-position:left top;
background-image:url(images/logo.jpg);
}
 
.header_text {
width:520px;
height:130px;
margin:30px 0 0 75px;
float:left;
line-height:45px;
}

.header_contacts {
width:240px;
height:140px;
float:right;
}
.header_contacts .phone {
height:72px;
overflow:hidden;
background-image:url('images/ico_phone.jpg');
background-repeat:no-repeat;
background-position:left top;
padding-left:45px;
margin-top:15px;
}
.header_contacts .mail {
height:40px;
line-height:40px;
font-size:18px;
background-image:url('images/ico_mail.jpg');
background-repeat:no-repeat;
background-position:left top;
padding-left:45px;
}

/* Настройки верхнего меню */

.menu_header {
width:1000px;
height:37px;
float:left;
font-size:16px;
background-image:url(images/menu_header.jpg);
background-repeat:repeat-x;
}
.menu_header, .menu_header ul,.menu_header li {
list-style-type:none;
list-style:none;
display:block;
float:left;
margin:0;
padding:0;
position:relative; 
}
.menu_header li {
padding:0 13px 0 13px;
}
.menu_header li:last-child { padding-right:0; }
.menu_header li:last-child { background-image:none; }
.menu_header a {
color:#ffffff;
line-height:37px;
display:block;
float:left;
padding:0 10px 0 10px;
text-decoration:none;
}
.menu_header a:hover, .menu_header_a_hover, .menu_header .current-menu-item a, .menu_header .current-menu-parent a, .menu_header .current-menu-ancestor a {
text-decoration:none;
background-image:url(images/menu_header_hover.jpg);
background-repeat:repeat-x;
}

/* LEVEL TWO */
.menu_header .sub-menu {
width:235px;
display:none;
position:absolute;
padding-top:4px;
top:37px;
left:12px;
z-index:999;
}
.menu_header .sub-menu li {
margin:0;
padding:0;
float:left;
display:block;
background-image:none;
}

.menu_header .sub-menu li a {
width:235px;
display:inline-block;
margin-top:2px;
background-color:#3f4e56;
-moz-border-radius: 4px; 
-webkit-border-radius: 4px; 
-khtml-border-radius: 4px; 
border-radius: 4px; 
}
.menu_header .sub-menu a:hover{
text-decoration:underline;
}

/* LEVEL THREE > */
.menu_header .sub-menu ul {
left:100%;
padding-left:5px;
top:-3px;
}
.menu_header .sub-menu li:hover > ul {
display:none;
}

/* Контент */
.content {
width:785px;
float:right;
}
.meta {
margin:5px 0 5px 0;
font-size:10px;
}
.edit {
display:block;
height:16px;
float:left;
margin-right:5px;
line-height:16px;
}
.print {
display:block;
height:16px;
float:left;
margin-right:5px;
line-height:16px;
padding-left:25px;
background-image:url('images/system/print.jpg');
background-repeat:no-repeat;
background-position:left center;
}
.views {
display:block;
height:16px;
float:left;
margin-right:5px;
line-height:16px;
padding-left:20px;
background-image:url('images/system/views.jpg');
background-repeat:no-repeat;
background-position:left center;
}
.ttweb_social_ico_code {
float:left;
height:18px;
overflow:hidden;
}
.ttweb_social_ico_code a {
padding-top:0px !important;
padding-bottom:0px !important;
}
.the_post_thumbnail {
width:115px;
height:115px;
overflow:hidden;
float:left;
margin-right:5px;
}
.the_post_thumbnail img {
width:115px;
height:auto;
}
.content_h1, .content_h1 a  {
display:block;
font-size:36px;
color:#db251c;
font-weight:normal;
line-height:30px;
margin:0;
padding:0;
text-decoration:none;
}
.content_h1 { border-bottom:1px #a6a6a6 solid; padding:0 0 10px 0; }
.content_h2, .content_h2 a  {
display:block;
font-size:30px;
color:#1b1b1b;
font-weight:normal;

margin:0 0 5px 0;
padding:0;
text-decoration:none;
}
span.the_time { font-size:10px; float:right; }
.archive_images {
width:100px;
height:100px;
overflow:hidden;
float:left;
margin-right:10px;
}
.archive_images img { width:100px; height:auto; }

.single_tag {
display:block;
font-size:10px;
}


/* Car Table */
.content .car {
width:785px;
font-size:18px;
}
.content .car tr {
height:37px;
}
.content .car tr:nth-child(2n) { 
background-color:#dadada;
}

/* Single Project Gallery */
.single_p_g_s {
width:745px;
height:400px;
overflow:hidden;
margin-bottom:10px;
background-image:url('images/system/loading.gif');
background-repeat:no-repeat;
background-position:center center;
cursor:pointer;
}
.single_p_g {
width:745px;
height:175px;
background-image:url('images/single_p_g.jpg');
position:relative;
}
.single_p_g_nav {
width:30px;
height:175px;
cursor:pointer;
opacity:.7;
position:absolute;
}
.single_p_g_nav:hover {
opacity:1;
}
.single_p_g_nav_left {
background-image:url('images/single_p_g_left.jpg');
left:0;
}
.single_p_g_nav_right { 
background-image:url('images/single_p_g_right.jpg');
right:0;
}
.single_p_g ul, .single_p_g li {
list-style-type:none;
list-style:none;
display:block;
float:left;
margin:0;
padding:0;
position:relative;
}
.single_p_g_slide, .single_p_g_slide_no {
width:665px;
height:170px;
overflow:hidden;
margin-left:35px;
float:left;
}
.single_p_g li {
width:160px;
height:160px;
border:1px #fff solid;
margin:7px 7px 0 0;
cursor:pointer;
}
/* Slideshow */
.slideshow {
width:1000px;
height:260px;
margin:10px auto;
position:relative;
overflow:hidden;
}
.slideshow_nav {
width:30px;
height:30px;
position:absolute;
top:156px;
background-repeat:no-repeat;
background-image:url('images/slideshow_submit.png');
cursor:pointer;
z-index:999;
}
.slideshow_left { background-position:-30px 0; left:0; }
.slideshow_left:hover { background-position:-0 0; }
.slideshow_right { background-position:-90px 0; right:0; }
.slideshow_right:hover { background-position:-60px 0; right:0; }
.slide {
width:1000px;
height:260px;
overflow:hidden;
margin:0 auto;
}

/* Sidebar */
.sidebar {
width:200px;
float:left;
overflow:hidden;
}
.sidebar h2 {
display:block;
height:29px;
font-size:18px;
font-weight:normal;
color:#fff;
line-height:29px;
margin:0;
text-align:center;
background-image:url('images/menu_header.jpg');
background-repeat:repeat-x;
border-bottom:2px #949392 solid;
}
.sidebar h2 a { color:#fff; }
.sidebar h2 a:hover { text-decoration:none; }
.sidebar_content {
margin-bottom:20px;
}
.sidebar_content_block {
padding:5px;
border:1px #949392 solid;
}
.sidebar p {
margin:0;
padding:0;
}
/* car_brands */
.car_brands_sidebar .sidebar_content_block {
height:400px;
overflow:auto;
}
.car_brands {
height:30px;
line-height:30px;
margin-bottom:3px;
}
.car_brands a {
color:#585858;
}
.car_brands a:hover {
color:#d4221b;
}
.car_brands_ico {
width:30px;
height:30px;
overflow:hidden;
float:left;
margin-right:10px;
}
.car_brands_ico img {
width:30px;
height:auto;
}
/* Sidebar Menu */
.sidebar .menu { }
.sidebar .menu a {
display:block;
color:#000;
margin-left:5px;
}
.sidebar .menu a:hover, .sidebar .menu .current-menu-item a, .sidebar .menu .current-menu-parent a, .sidebar .menu .current-menu-ancestor a {
text-decoration:underline;
}
.sidebar .menu, .sidebar .menu li, .sidebar .menu ul {
list-style-type:none;
list-style:none;
padding:0;
margin:0;
}
.sidebar .menu li {
vertical-align:bottom;
border-bottom:1px #8b8b8b solid;
padding:8px 0 8px 0;
}

.sidebar li.active_first, .sidebar .menu .current-menu-parent, .sidebar .menu .current-menu-ancestor {

}
.sidebar li.active_first a, .sidebar .menu .current-menu-parent a, .sidebar .menu .current-menu-ancestor a {
background-position:left 4px;
background-repeat:no-repeat; 
}

/* Sub Menu */
.sidebar .menu .sub-menu {
padding-top:5px;
}
.sidebar .menu .sub-menu a {
padding:3px 0 3px 10px;
margin-left:27px;
background-image:url('images/sidebar_li_line.jpg');
background-position:left 11px;
text-decoration:none;
}
.sidebar .menu .sub-menu a:hover, .sidebar .menu .sub-menu .current-menu-item a, .sidebar .menu .sub-menu .current-menu-parent a, .sidebar .menu .sub-menu .current-menu-ancestor a, .sidebar .menu  .sub-menu .active_first  {
text-decoration:underline;
}
.sidebar .menu .sub-menu li{
border-bottom:0px;
padding:0;
}
.sidebar .menu li:last-child {
border-bottom:0px;
}
/* Next Level */
.sidebar .menu .sub-menu ul li a {
display:block;
margin-left:15px;
font-size:12px;
} 
.sidebar .menu .sub-menu ul li a:hover, .sidebar .menu .sub-menu ul .current-menu-item a, .sidebar .menu .sub-menu ul .current-menu-parent a, .sidebar .menu .sub-menu ul .current-menu-ancestor a, .sidebar .menu  .sub-menu ul .active_first {
text-decoration:underline;
}

/* Sidebar Search */
.sidebar_search, .sidebar_search_text, .sidebar_search_submit {
margin:0 0 20px 0;
padding:0;
border:0;
height:22px;
background-color:transparent;
color:#adadad;
font-size:12px;
}
.sidebar_search {
background-image:url('images/search_bg.jpg');
border:1px #939190 solid;
}
.sidebar_search_text {
line-height:22px;
padding-left:5px;
float:left;
width:165px;
}
.sidebar_search_submit {
width:20px;
height:22px;
margin-right:5px;
float:right;
cursor:pointer;
background-image:url('images/search_submit.jpg');
}
.sidebar_search_submit:hover {
background-position:-20px 0;
}

/* Sidebar Gallery */
.sidebar_gallery {
width:200px;
height:150px;
overflow:hidden;
border:1px #ccc solid;
}
.sidebar_gallery a {
display:block;
width:200px;
height:150px;
position:relative;
color:#fff;
}
.sidebar_gallery span {
width:200px;
display:block;
position:absolute;
left:0;
bottom:0;
padding:3px 0 3px 0;
text-align:center;
background-color:#1b1b1b;
}
.sidebar_gallery span:hover {
background-color:#0063a0;
}
.sidebar_gallery img {
width:200px;
height:auto;
}

/* Описание категорий */
.category_desc { display:block; margin-top:15px;}

/* Настройка галерей */
.gallery_box {
width:160px;
height:200px;
text-align:center;
display:-moz-inline-stack;
display:inline-block;
vertical-align:top;
margin:0 13px 10px 13px;
zoom: 1;
*display: inline;
}
.gallery_box a { color:#1b1b1b; }
.gallery_box a:hover { color:#D4221B; }
.gallery_box_content {
width:160px;
height:160px;
border:1px #d0d1d1 solid;
}
.gallery_box_content img {
width:150px;
height:auto;
float:none;
margin:4px auto;
}
.gallery_box img { border:1px #d0d1d1 solid; }



/* Блоки ссылок */
.llm  { width:100%; }
.llm, .llm li {
list-style-type:none;
list-style:none;
margin:0;
padding:0;
clear:both;
}
.llm a {
display:block;
margin:0 0 0 0;
}
.llm, .llm img {
float:left;
margin-right:3px;
}

/* GuestBook */
.gusetbook_row { width:720px; display:block; margin-bottom:25px; }
.gusetbook_avatar {
width:200px;
height:150px;
border:2px #7C9FB2 solid;
float:left;
overflow:hidden;
position:relative;
}
.gusetbook_avatar img {
width:200px;
height:auto;
position:absolute;
left:0;
z-index:999;
}
.gusetbook_info_right {
width:485px;
float:right;
padding-left:19px;
}
.gusetbook_info {
width:450px;
height:auto;
float:right;
background-color:#eee;
padding:15px;
overflow:hidden;
}
.gusetbook_author {
display:block;
font-size:20px;
color:#7C9FB2;
margin-bottom:15px;
position:relative;
}
.gusetbook_author small {
color:#7C9FB2;
font-size:12px;
height:25px;
line-height:25px;
}
.gusetbook_info_smile {
cursor:default;
padding:0;
margin:0;
}

/* form_order */
.form_order {
width:765px;
padding:10px;
background-color:#dadada;
color:#000;
}
.form_order b {
font-size:18px;
font-weight:normal;
}
.form_order_input {
width:290px;
height:23px;
padding-left:5px;
border:1px #a4a4a4 solid;
}
.form_order_textarea {
width:755px;
height:175px;
padding-left:5px;
border:1px #a4a4a4 solid;
}
.form_order small {
float:right;
font-size:12px;
}

/* Footer */
.footer {
width:1000px;
height:37px;
line-height:37px;
color:#fff;
margin:0 auto;
overflow:hidden;
background-image:url(images/menu_header.jpg);
background-repeat:repeat-x;
}
.footer a {
color:#fff;
}
.ttweb {
font-size:10px;
float:right;
margin-right:10px;
}

.ttweb_footer_text{
width:660px;
height:37px;
margin-left:10px;
float:left;
}


/* last_news */
.last_news {
display:block;
margin:5px 0 5px 0;
min-height:50px;
padding-bottom:5px;
border-bottom:1px #919191 solid;
}
.last_news:last-child {
border-bottom:0px;
}
.last_news_image {
width:50px;
height:50px;
margin:0 5px 0 5px;
border:1px #ccc solid;
overflow:hidden;
float:left;
}
.last_news_image img { width:50px; height:auto; }
.last_news_image_only {
width:200px;
height:200px;
border:1px #ccc solid;
overflow:hidden;
margin-top:5px;
}
.last_news_image_only img { width:200px; height:auto; }
.last_news_date {
font-size:10px;
color:#888;
}
.last_news_title {
color:#1b1b1b;
font-weight:bold;
}
.last_news_title_big {
font-size:18px;
line-height:22px;
color:#000;
}
.last_news_citata {}
.last_news_readmore {
float:right;
font-size:10px;
}

/* Прочие настройки */
.breadcrumbs {
width:785px;
float:right;
font-size:10px;
line-height:19px;
margin-bottom:10px;
display:block;
}

/* PopUp */
#user_popup_msg {
position:fixed;
z-index:1000;
top:50%;
left:50%;
margin-top:-100px;
margin-left:-100px;
border:1px #3e3e3e solid;
padding:15px;
display:none;
color:#fff;
background-color:transparent;
background-image:url('images/system/bg_popup.png');
background-repeat:repeat;

-webkit-box-shadow: 0px 0px 15px #222;
-moz-box-shadow: 0px 0px 15px #222;
box-shadow: 0px 0px 15px #222;
}
#user_popup_msg a {
color:#fff;
}
#user_popup_msg_close {
width:6px;
height:5px;
background-image:url('images/system/close_popup.gif');
background-repeat:no-repeat;
position:absolute;
right:5px;
top:5px;
font-size:10px;
cursor:pointer;
}
#user_popup_msg_close:hover {
background-image:url('images/system/close_popup_hover.gif');
}

a.readmore {
text-decoration:underline;
color:#163461;
font-size:12px;
}
a.readmore:hover { color:#1b1b1b; }

.wp-post-image {
float:left;
margin-right:5px;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px 0;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
-webkit-user-drag: none;
}
.wp-caption-dd {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
}
.alignleft { float:left; }
.alignright { float:right; }


/*Back-to-top*/
#back-to-top {
position:fixed;
z-index:0;
overflow:hidden;
bottom:150px;
right:40px;
width:32px;
height:44px;
background-image:url('images/backtotop.png');
cursor:pointer;
}

#wp-calendar {
border-collapse:collapse;
width:100%;
margin:0;
padding:0;
}
#wp-calendar caption {
padding-top:3px;
padding-bottom:6px;
text-align:center;
}
#wp-calendar #today {
background:#c0c0c0;
font-weight:700;
}
#wp-calendar td {
text-align:center;
padding-top:2px;
padding-bottom:2px;
border:0;
line-height:15px;
}
#wp-calendar th {
background-color:#D2D2C6;
border:0;
}
#wp-calendar tbody a {
text-decoration:none;
display:block;
border-style:none;
margin:0;
padding:0;
}
#wp-calendar tfoot a:hover {
background-color:#D2D2C6;
text-decoration:none;
color:#000;
}
#wp-calendar tfoot a {
display:block;
padding:2px 0;
}
/* Настройки форм */
.form_design {
display:block;
}
.form_design p{
display:block;
padding-top:10px;
clear:both;
}
.form_design small{
width:200px;
float:left;
font-size:10px;
margin-right:5px;
}
.form_design small b{
font-size:12px;
color:#444;
}
.form_design_input{ width:250px; }
.form_design_select{  width:255px; }
.form_design h3 {
font-size:16px;
clear:both;
display:block;
padding:3px;
background:#444;
color:#fff;
font-weight:bold;
margin-top:25px;
}
.form_design_smile, .gusetbook_info_smile {
cursor:pointer;
display:block;
width:26px;
height:25px;
margin-right:5px;
float:left;
padding-left:25px;
background-repeat:no-repeat;
background-position:left top;
}
.form_design_smile input { margin-top:8px; }
.form_design_smile_good, .gusetbook_info_smile_good { background-image:url('images/system/guestbook/good.gif'); }
.form_design_smile_nohow, .gusetbook_info_smile_nohow { background-image:url('images/system/guestbook/nohow.gif'); }
.form_design_smile_badly, .gusetbook_info_smile_badly { background-image:url('images/system/guestbook/badly.gif'); }
/* Submit */
.user_submit {
background-color:#444;
background-image: url(images/menu_header.jpg);
background-repeat: repeat-x;
color:#fff;
padding:5px 7px 5px 7px;
border:0;
margin:0;
cursor:pointer;
}
.user_submit:hover, .user_submit_hover  {
text-decoration:underline;
}
.user_submit:active {
box-shadow: inset 0px 0px 20px rgba(0,0,0,0.5);
}
/* Return Msg */
.result_true li, .result_false li {
list-style-type:none;
list-style:none;
display:block;
}
.result_true {
border:1px #e6db55 solid;
background:#ffffe0;
padding:5px 15px 0 15px;
font-size:14px;
margin-bottom:15px;
text-align:left;

-moz-border-radius: 4px; 
-webkit-border-radius: 4px; 
-khtml-border-radius: 4px; 
border-radius: 4px; 
}
.result_false {
border:1px red solid;
background:#ffc5c5;
padding:5px 15px 0 15px;
font-size:14px;
margin-bottom:15px;
text-align:left;

-moz-border-radius: 4px; 
-webkit-border-radius: 4px; 
-khtml-border-radius: 4px; 
border-radius: 4px; 
}

/* Ajax Loading */
.loading_main {
display:block;
width:35px;
height:35px;
}
.loading {
display:none;
width:35px;
height:35px;
background-image:url('images/system/loading.gif');
background-repeat:no-repeat;
}
.loading_main_icon_edit {
background-position:0 0 !important;
background-image:url('images/system/loading.gif') !important;
}
/* page_navigation */
.page_navigation {
display:block;
margin:15px 0 15px 0;
}
.page_navigation a, .page_navigation span.current, .page_navigation span.extend  {
display:block;
width:20px;
height:20px;
line-height:20px;
text-align:center;
color:#000;
float:left;
margin: 2px;
text-decoration: none;
border:1px #444 solid;
}
.page_navigation a {
background-color: #fff;
cursor:pointer;
}
.page_navigation a:hover {
background-color:#444;
color:#fff;
}
.page_navigation span.current {
background-image:none;
background-color:#444;
color:#fff;
}
.page_navigation span.extend {
color:#000000;
background-color: #444;
}


/* Border */
.border_radius_all {
-moz-border-radius: 4px; 
-webkit-border-radius: 4px; 
-khtml-border-radius: 4px; 
border-radius: 4px; 
}
.border_radius_top {
-moz-border-radius: 4px 4px 0 0; 
-webkit-border-radius: 4px 4px 0 0; 
-khtml-border-radius: 4px 4px 0 0; 
border-radius: 4px 4px 0 0; 
}
.border_radius_bot {
-moz-border-radius: 0 0 4px 4px; 
-webkit-border-radius: 0 0 4px 4px; 
-khtml-border-radius: 0 0 4px 4px; 
border-radius: 0 0 4px 4px; 
}
.border_radius_left {
-moz-border-radius: 4px 0 0 4px; 
-webkit-border-radius: 4px 0 0 4px; 
-khtml-border-radius: 4px 0 0 4px; 
border-radius: 4px 0 0 4px; 
}
.border_radius_right {
-moz-border-radius: 0 4px 4px 0; 
-webkit-border-radius: 0 4px 4px 0; 
-khtml-border-radius: 0 4px 4px 0; 
border-radius: 0 4px 4px 0; 
}

.clear {
border:0;
height:0;
margin:0;
padding:0;
clear:both;
}
/*
 * 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('js/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: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#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('js/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;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('js/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('js/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('js/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('js/fancybox/fancybox-x.png');
}

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

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

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

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

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

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

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

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

.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('js/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('js/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('js/fancybox/fancybox-x.png') 0px -40px;
}

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

/* IE6 */

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

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

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='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='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='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }