/*
Theme Name: WPS Advone
Theme URI: http://wp-studia.com/
Author: WPStudia(andreykashops)
Author URI: http://wp-studia.com/
Description: Шаблон разработан для сайта http://advone.net/ студией WPStudia
-------------------------------------------------------------- */

html{
	background: url("img/bg.png") repeat scroll 0 0 transparent;
}

body
{
    color: #484848;
    float: left;
    font: 12px/20px Tahoma;
    margin: 0;
    /*padding: 0 !important;*/
    width: 100%;
	height: 100%
}
#tabs {
	position: fixed;
	bottom: 0;
	right: 0;
}
#tabs ul {
	margin: 0;
}
a, form, p, h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
	border: none;
}
table, tbody, tr, td, input {
	margin: 0;
	padding: 0;
}
#center p {
	margin-bottom: 15px;
}
#center p:last-child {
	margin-bottom: 0;
}

a
{
	color: #6d2a24;
}

a:hover, a.active
{
	text-decoration: none;
}

h1
{
	color: #000000;
    font: 25px Tahoma;
}

h2 {

font-family: Tahoma, Arial, sans-serif;
font-size: 20px;
color: #8b3c35;
margin-bottom: 0.75em;
font-weight: normal;
font-style: normal;
text-shadow: 1px 2px 0.1em rgba(0,0,0,0.2);

}

h3 {

font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
color: #8b3c35;
margin-bottom: 0.75em;
font-weight: normal;
font-style: normal;
text-shadow: 1px 2px 0.1em rgba(0,0,0,0.2);

}

.midder-left {
	position: relative;
	right: 50%;
	float: right;
}
.midder-right {
	position: relative;
	z-index: 1;
	right: -50%;
}
#ya-search{
right: 0;
top: 0;
width: 245px;
margin-bottom:10px;
}
.ya-site-form__input-text{
padding: 4px 5px;
float: left;
font-weight: bold;
}
.ya-site-form__submit{
padding: 3px;
cursor: pointer;
}
#ya-site-form0 .ya-site-suggest {
position: absolute !important;
margin-top: 24px !important;
}
#ya-site-results{
background: transparent !important;
}
/* OVERLAY */
.js-overlay {
	display: none;
}
.overlay-box {
	position: fixed;
	width: 100%;
	height: 100%;
	background: url("img/pelena.png") repeat scroll 0 0 transparent;
	top: 0;
	left: 0;
}
.overlay-box td {
	vertical-align: middle;
}
.overlay-box .midder-right {
	background: white;
}
.overlay-toggler {
	display: none;
}
.overlay-close {
	cursor: pointer;
}
/* ===== */

.wrapper{
    margin: 0 auto;
    width: 990px;
}
#site {
	background: url("img/bg_top.jpg") repeat-x scroll center 0 transparent;
	float: left;
	width: 100%;
}
#header{
	background: url("img/header_bg.png") no-repeat scroll center bottom transparent;
	float: left;
    height: 125px;
    width: 100%;
	position: relative;
}
.flash-top {
	position: absolute;
	top: 5px;
}
.flash {
	float: left;
	margin-top: 10px;
}
.logo {
	position: absolute;
	top: 19px;
	left: 32px;
}
.wefirst {
	font-size: 0;
	background: url("img/first.png") no-repeat scroll 0 0 transparent;
	position: absolute;
	left: 250px;
	top: 40px;
	width: 116px;
	height: 60px;
}
.phone {
	font-size: 0;
	background: url("img/phone.png") no-repeat scroll 0 0 transparent;
	position: absolute;
	width: 298px;
	height: 15px;
	top: 56px;
	right: 28px;
}

#slider {
	float: left;
	width: 100%;
	height: 192px;
	margin-top: 15px;
	position: relative;
}

.slider-mid {
	background: url("img/sliderbg.png") no-repeat scroll 0 0 transparent;
	position: absolute;
	left: 163px;
	top: 0;
	width: 665px;
	height: 200px;
	z-index: 2;
}
.s-img {
	position: absolute;
	top: 8px;
	left: 7px;
}
.slider-left,
.slider-right {
	position: absolute;
	top: 17px;
	left: 0;
}
.slider-right {
	left: auto;
	right: 0;
}

.s-link {
	display: block;
	float: left;
	margin-bottom: 2px;
	clear: both;
	position: relative;
}
.slider-right .s-link {
	float: right;
}
.slider-left .sl-left {
	background: url("img/head_menu_left.png") no-repeat scroll 0 0 transparent;
	float: left;
	width: 16px;
	height: 39px;
}
.slider-right .sl-left {
	background: url("img/head_menu_right.png") no-repeat scroll right 0 transparent;
	float: right;
	width: 16px;
	height: 39px;
}
.sl-mid {
	background: url("img/head_menu.png") repeat-x scroll 0 0 transparent;
	float: left;
	height: 39px;
	font-family: "Times New Roman", Times, serif;
	font-size: 17px;
	color: #dcc291;
	text-shadow: #6d2a24 0 1px 0;
	font-style: italic;
	line-height: 39px;
	z-index: 2;
	position: relative;
}
.slider-left .sl-mid {
	text-align: right;
}
.slider-right .sl-mid {
	float: right;
}
.slider-left .sl-right {
	background: url("img/head_menu.png") repeat-x scroll 0 0 transparent;
	float: left;
	height: 39px;
	width: 20px;
}
.slider-right .sl-right {
	background: url("img/head_menu.png") repeat-x scroll 0 0 transparent;
	float: right;
	height: 39px;
	width: 18px;
}
#sl-0 .sl-mid {	width: 180px; }
#sl-1 .sl-mid {	width: 170px; }
#sl-2 .sl-mid {	width: 160px; }
#sl-3 .sl-mid {	width: 150px; }

#sl-4 .sl-mid {	width: 150px; }
#sl-5 .sl-mid {	width: 160px; }
#sl-6 .sl-mid {	width: 170px; }
#sl-7 .sl-mid {	width: 180px; }

.s-link.active {
	z-index: 3
}
.slider-left .s-link.active .sl-left {
	background: url("img/head_menu_left_active.png") no-repeat scroll 0 0 transparent;
}
.slider-right .s-link.active .sl-left {
	background: url("img/head_menu_right_active.png") no-repeat scroll right 0 transparent;
}
.s-link.active .sl-mid {
	background: #d7ba8b;
	color: #521b17;
	text-shadow: none;
}
.slider-left .s-link.active .sl-right {
	background: url("img/menu_active_left_tail.png") no-repeat scroll right 0 transparent;
}
.slider-right .s-link.active .sl-right {
	background: url("img/menu_active_right_tail.png") no-repeat scroll 0 0 transparent;
}

#logomenu {
	background: url("img/line_bot.png") no-repeat scroll center bottom transparent;
	float: left;
	width: 100%;
	height: 58px;
}
.lm-left {
	background: url("img/menu_left.png") no-repeat scroll 0 bottom transparent;
	float: left;
	width: 15px;
	height: 33px;
	margin-left: 184px;
}
.lm-mid {
	background: url("img/menu.png") repeat-x scroll 0 bottom transparent;
	float: left;
	width: 550px;
	height: 33px;
}
.lm-right {
	background: url("img/menu_right.png") no-repeat scroll -17px bottom transparent;
	float: left;
	width: 24px;
	height: 33px;
}
#logomenu .block .content ul {
	margin: 0;
	padding: 0;
}
#logomenu .block .content ul li {
	background: url("img/menu_sep.png") no-repeat scroll 0 center #8b3c35;
	float: left;
	list-style: none;
	height: 33px;
	line-height: 33px;
	padding: 0 12px 0 12px;
	margin: 0;
}
#logomenu .block .content ul li.first {
	background: none;
}
#logomenu .block .content ul li a {
	color: white;
	font-size: 13px;
}
#logomenu .current-menu-item a,
#logomenu .block .content ul li.active-trail a {
	font-weight: bold;
	text-decoration: none;
}

#main_body {
	float: left;
	width: 100%;
	margin-top: 25px;
}
#left {
	display: none;
}
#center {
	float: left;
	width: 719px;
}
.title-lines, .title-com {
	background: url("img/line.png") repeat-x scroll 0 0 transparent;
	float: left;
	position: absolute;
	right: 0;
	top: 9px;
	height: 9px;
}
.title-head {
	float: left;
	width: 100%;
	margin-bottom: 22px;
	position: relative;
}
.site-title {
	padding-right: 10px;
	float: left;
}
.messages {
	clear: both;
}
.field-name-field-image {
	float: left;
	margin: 4px 10px 2px 0;
	border-radius: 8px;
	padding: 2px;
	box-shadow: black 0 0 7px -1px;
}
.field-name-field-image * {
	float: left;
}
.field-name-field-image img {
	border-radius: 6px;
}
#teasers_page {
	background: url("img/line_top.png") no-repeat scroll center 0 transparent;
	width: 100%;
	margin-top: 22px;
	display: inline-block;
}

#teasers {
	background: url("img/line_top.png") no-repeat scroll center 0 transparent;
	float: left;
	width: 100%;
	margin-top: 22px;
	height: 119px;
}
#teasers a {
	background: url("img/teaser_bg.png") no-repeat scroll 0 0 transparent;
	display: block;
	float: left;
	width: 254px;
	height: 97px;
	text-decoration: none;
	margin-top: 20px;
	margin-right: -10px;
}
#teasers a:hover {
	background-position: 0 bottom;
}
#teasers a img {
	float: left;
	margin: 8px 0 0 15px;
}
#teasers a span {
	font-size: 18px;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	color: #ffedcb;
	text-shadow: #4a110c 0 1px 0;
	float: left;
	width: 220px;
	margin-left: 10px;
	text-align: center;
	margin-top: 1px;
}
#teasers a:hover span {
	text-shadow: none;
	color: #4a110c;
}

#teasers1 {
	float: left;
	width: 100%;
	margin-top: 22px;
	height: 119px;
}
#teasers1 a {
	background: url("img/teaser_bg.png") no-repeat scroll 0 0 transparent;
	display: block;
	float: left;
	width: 254px;
	height: 97px;
	text-decoration: none;
	margin-top: 5px;
	margin-right: -10px;
}
#teasers1 a:hover {
	background-position: 0 bottom;
}
#teasers1 a img {
	float: left;
	margin: 8px 0 0 15px;
}
#teasers1 a span {
	font-size: 18px;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	color: #ffedcb;
	text-shadow: #4a110c 0 1px 0;
	float: left;
	width: 220px;
	margin-left: 10px;
	text-align: center;
	margin-top: 1px;
}
#teasers1 a:hover span {
	text-shadow: none;
	color: #4a110c;
}

#right {
	float: right;
	width: 250px;
}
#right .title_block {
	float: left;
	width: 100%;
}
#right .tb-left {
	background: url("img/head_menu_left.png") no-repeat scroll 0 0 transparent;
	float: left;
	width: 15px;
	height: 39px;
}
#right .tb-right {
	background: url("img/head_menu_right.png") no-repeat scroll right 0 transparent;
	float: left;
	width: 15px;
	height: 39px;
}
#right .tb-mid {
	background: url("img/head_menu.png") repeat-x scroll 0 0 transparent;
	float: left;
	width: 220px;
	height: 39px;
}
#right .title_block h2 {
	color: white;
	font-family: "Times New Roman", Times, serif;
	font-size: 20px;
	font-style: italic;
	line-height: 39px;
}
#right .block {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}
#right .block .content {
	padding: 10px;
}
#right .views-row {
	margin: 20px 0 10px 0;
	float: left;
	width: 100%;
}
#center .views-row {
	margin: 10px 0 20px 0;
	float: left;
	width: 100%;
}
#center .views-row .views-field-created {
	color: #000000;
    font: 12px/15px Tahoma;
    margin: 0 0 10px 3px;
}
#right .views-field-field-image,
#center .views-field-field-image{
	float: left;
	margin: 0px 10px 2px 0;
	border-radius: 8px;
	padding: 2px;
	box-shadow: black 0 0 7px -1px;
}
#right .views-field-field-image *,
#center .views-field-field-image * {
	float: left;
}
#right .views-field-field-image img,
#center .views-field-field-image img {
	border-radius: 6px;
}
#right .views-field-title {
	font-size: 13px;
	line-height: 18px;
	float: right;
	width: 152px;
}
#center .views-field-title  {
	font-size: 14px;
	margin-bottom: 10px;
}

#footer {
	background: url("img/fline.png") no-repeat scroll center 0 transparent;
	float: left;
	width: 100%;
	margin-top: 12px;
}
.foot_text {
	float: left;
	margin: 15px 0 0 0;
	line-height: 20px;
	font-size: 13px;
	color: black;
}
.counter {
	float: right;
	margin: 9px 18px 0 0;
}


fieldset {
	border: 0 none;
	margin: 0;
	padding: 0;
}

.grippie {
	display: none;
}

#comments {
margin: 0;
width: 100%;
clear: both;
position: relative;
}

.attachment-120x90{
width: 120px;
height: 90px;
}
.attachment-64x43{
width: 64px;
height: 43px;
}
#right .widget div.widgetcontent{
padding: 10px;
}
#right .widget div.widgetcontent ul{
list-style-type: none;
margin: 0;
padding: 0;
}
ol.commentlist{
padding: 0;
list-style-type: none;
}
ul.children{
list-style-type: none;
}
#comments .avatar{
float: left;
margin: 5px 5px 0 0;
}
#respond label{
width: 100%;
display: inline-block;

}
#respond {
width: 100%;
background: url("http://advone.net/wp-content/themes/wpsadvone/img/line_bot.png") no-repeat scroll center top transparent;

}
#respond h3{
padding: 25px 0 0 0;

}
.form-submit #submit{
padding: 3px;
}
.pagi span{
float: right;
}
#comments textarea {
width: 400px;
height: 130px;
resize: none;
}
#comments input[type="text"] {
width: 400px;
}
#comments {
margin: 0;
}
#comments .clearfix {
float: none;
margin: 0;
width: 100%;
}
#comments h2 {
padding: 15px 0;
}
#comments .comment {
margin: 0 0 15px;
}
#comments .comment .comment-author {
margin: 0 0 3px;
}
#comments .comment .comment-author .date {
color: #000000;
font: 11px Arial;
margin: 0 0 0 6px;
}
#comments .comment .comment-author .author {
color: #000000;
font: bold 12px Arial;
}
ol.commentlist{
padding: 0;
list-style-type: none;
}
ul.children{
list-style-type: none;
}
#comments .avatar{
float: left;
margin: 5px 5px 0 0;
border: 1px solid #000;
}
#respond label{
width: 100%;
display: inline-block;
}
.comment-body{
border-bottom: 1px solid #B6B6B6;
padding-bottom: 5px;
margin-bottom: 5px;
}
.comment-body p{
clear: both;
margin-bottom: 5px !important;
}
#commentform{
position: relative;
position: relative;
width: 500px;
}
.comment-form-captcha{
position: absolute;
top: 46px;
right: 0;
width: 240px;
}
.required{
display: none;
}
.form-submit #submit{
padding: 3px;
}
label[for="captcha"]{
line-height: 42px;
}
input[name="captcha"]{
width: 118px;
}


.menu li ul {
    display: none;
    width: 103px;
    margin: 20px;
}

.menu li:hover ul {
    display: block;
    margin: 20px;
}


.sub-menu ul{

    padding: 15px 0 0 10px;
    font-size: 14px;
    list-style: none;
}

.sub-menu li{

    
    background: url("img/menu_sep.png") no-repeat scroll 0 center transparent;

    padding: 7px 0 0 2px;
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.title2 {

color: white;
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: italic;
line-height: 39px;

}

.title2 a{

color: white;
text-decoration: none;
}

.soderzh ul{
list-style: none;

}

.soderzh ul ul{

padding: 0 0 0 10px;
}

#a_menu {

font-family: Tahoma, Arial, sans-serif;
font-size: 18px;
color: #8b3c35;
text-shadow: 1px 2px 0.1em rgba(0,0,0,0.2);

}