/*
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;
}