/*
Theme Name: default-theme
Author: Geniy
*/

body {color: #444;font-size: 14px;background: #f7f7f7;font-family: 'Arial', 'Tahoma', 'Verdana';}

p {margin-bottom:18px;line-height:24px;}
h1 {font-family: Arial; font-weight:bold;font-size: 22px;color: #000;padding: 10px 0;}
h2, h3 {font-family: Arial;font-size: 18px;color: #000;margin: 20px 0px 10px;display: inline-block; text-align:left;width:98%;font-weight:bold;}
.h1 {font-weight: bold;font-size: 20px;}
a {outline:0;}
:focus {outline: -webkit-focus-ring-color auto 0px; outline: 0px;}
a {color:#3e85b7;}
a:hover {text-decoration:none;}
a:visited {color: #B73EA8;}

.title, .site-title a {display: table-cell;padding: 0 30px;margin: 0;font-size: 26px;color:#000;text-decoration:none;}
.site-description {float: left;padding: 0 30px;}
.site-header {height: 75px;padding-top: 20px;}
.site-header img {float:left;display:table-cell;}

.breadcrumbs li {display:inline-block;font-size:12px;}
.breadcrumbs li:before  {content: '-';left: -9px;position: relative;}
.breadcrumbs li:nth-child(1):before  {content:none;}
.breadcrumbs li:nth-child(1)  {padding-left:0;}
.breadcrumbs a {color: #3e85b7!important;}

.container {max-width: 1000px;text-align:justify;width:100%;background: #fff;min-height: 100%;height: auto !important;height: 100%;margin: 0 auto -7em;padding: 0 10px;}
.content {}
.main {width:100%;height:85px;}

.nav {float: left;margin-left: 1%;width: 97%;}
.nav li {display:inline-block; margin-right:10px;}

article {display:table;margin:20px 0 35px;}
article p {margin-bottom:10px;}
article .wp-caption {display: table-cell;vertical-align: top;padding-right: 15px;}
article .wp-caption img {border: 1px solid #DBDBDB;}
article .replace {text-decoration:underline;}
article .replace:hover {text-decoration:none;}
article a {font-size:18px;}

.nav-wrap {background: #F4F4F4;margin: 0 -10px 30px;padding: 10px;}
.cat-item {display:inline-block;padding:10px 5px;}
.cat-item a {text-decoration: none;color: #000;text-transform: uppercase;font-weight: bold;font-size: 15px;padding: 6px;border: 1px solid #000;border-radius: 6px;}
.current-cat {}
.current-cat a, .cat-item a:hover, .current-cat a:hover {background: #000;color: #fff;}
.current-cat a:hover {cursor:default;}

nav {margin: 0 -10px;padding: 10px;}
nav .cat-item {width: 48%;}
nav .cat-item a:after {content:none;}
nav li {width:30%;display: inline-block;}
nav li img {border: 2px solid #acacac;margin-right: 10px;display: table-cell;float: left;}
nav li span {text-decoration: none;
color: #000;
text-transform: uppercase;
font-weight: bold;
font-size: 15px;
padding: 6px;
border-radius: 6px;display: table-cell;vertical-align: middle;text-align:left;}
nav li a {text-decoration:none;}
nav li span:hover {background: #000;color: #fff!important;}

.wp-pagenavi {margin: 15px auto;text-align: center;}
.wp-pagenavi a, .wp-pagenavi .current {padding: 10px;font-size: 18px;border: 0 !important;}

#searchform {float: right;margin: -66px 0 0 0;}
#searchform input[type="text"] {height: 22px;border-top: 1px solid #000000;padding-left: 5px;}
#searchform input[type="submit"] {float: right;position: relative;height: 26px;border: 1px solid;padding: 0 20px;;}
#searchform input[type="submit"]:hover {box-shadow: inset 0px 2px 4px -1px #999;}
#searchform input[type="submit"]:hover {cursor:pointer;}
.lupa {position: relative;left: 23px;top: 5px;float: left;}
	
footer {padding-top: 35px;width: 100%;margin: 0 auto; height: 5em;border-top: 1px solid #d2d2d2;max-width: 1000px;}
footer span {padding-right:10px;margin-right:10px;border-right:1px solid #999;}
.push {height: 7em;}


#true_loadmore{color: #fff;padding: 15px;text-align: center;cursor: pointer;background: #3eb769;font-family: Roboto;font-size: 18px;}
iframe {display: block;margin: 0 auto;}

.aligncenter {margin:10px auto;border: 1px solid #4D4D4D;display:block;}
.aligncenter  img, .alignleft img, .alignright img {width:100%;height:auto;}
.alignleft {float:left; margin: 5px 10px 5px 0px;border: 1px solid #4D4D4D;}
.alignright {float:right; margin: 5px 0px 5px 10px;border: 1px solid #4D4D4D;}
.alignnone {width: 80%;height: auto;}
.post .wp-caption img {position:relative;z-index:10;}
.wp-caption-text {font-family: Arial;font-size: 14px;color: #fff;background: #4D4D4D;text-align: center;padding: 5px;margin: 0;}

li {line-height:22px;padding-left: 16px;}
ul, ol {margin-bottom:18px;}
ol li {list-style-type: decimal;margin-left: 22px;padding-left: 4px;color: #444;position: relative;}
.post-caption {box-shadow: 0px 0px 9px -1px #999;border-radius: 5px;padding: 2px;}
.post-caption img {border-radius: 5px;}
 ul li {list-style-type:none;}
.post ul li:before {content:'';background: #000;width: 6px;height: 5px;position: absolute;margin-top: 9px;margin-left: -14px;}

.category {width:98% !important; max-width:none;box-shadow:none;background:none;border:none;padding:0;}

.yarpp-related {display: table;margin: 10px 0 30px;width: 100%;}
.similar {width: 177px;float: left;margin-right: 22px;text-align: center;}
.similar .wp-caption {border: 1px solid #999;margin-bottom: 10px;}
.social {margin: 0 0 30px;height:50px;}
.social p {float:left;}
.social-inner {float:left;}

blockquote {background: url(img/blockquote.png) no-repeat #f2f2f2;background-position: 10px center;padding:30px 10px 30px 75px;margin: 0 auto 15px;width: 70%;border: 1px solid #000;display: table;}
blockquote p {margin:0;margin-bottom:0;}
table, td, tr {border:1px solid;}
.author {margin-bottom: 15px;font-weight: bold;}

.b-top {z-index:2600;position:fixed;left:0;bottom:90px;width:34%;margin-left:50%;opacity: 0.7;filter:alpha(opacity=50);}
.b-top:hover {opacity:1;filter:alpha(opacity=100);cursor:pointer;}
.b-top-but {z-index:2600;position:absolute;display:block;left:516px;bottom:0;padding:63px 28px 4px;color:white;background: url(img/arrow.png) no-repeat 50% 11px;border-radius:7px;}
.arve-wrapper {width:70%!important;margin:0 auto!important;}

#ya-site-results table, #ya-site-results td, #ya-site-results tr {border:0;border-color:#fff;}

@media screen and (max-width: 1170px) {

}
@media screen and (max-width: 1000px) {

}
@media screen and (max-width: 995px) {
.content, .related, .category-block {width:69%}
.statistika {float:none;margin-top:0;padding:0;}
.metki {top: 7px;margin-bottom: 8px;}
}
@media screen and (max-width: 960px) {
.content, .related, .category-block {width:67%}
}
@media screen and (max-width: 915px) {
.content, .related, .category-block {width:66%}
}
@media screen and (max-width: 870px) {
.content, .related, .category-block {width:64%}
}
@media screen and (max-width: 820px) {
	.search {width:100%;margin-bottom:-25px;}
	.content, .related, .category-block {width:62%}
}
@media screen and (max-width: 792px) {
.content, .related, .category-block {width:61%}
}
@media screen and (max-width: 768px) {
.colomn-first {width:100%;}
footer ul {display:none;}
.block {background-position: center !important;float:none; display:block; width:100%;max-width:430px;margin:3% auto !important;}
.search input[type="text"] {padding-left:6%;width:85%;}
.sidebar {display:none;}
.content, .related {width:96%;border:0;margin:30px 1% 0;}
.category-block {width:98%;}
.metki {display:none;}
.alignright, .alignleft {width:80%!important;margin: 10px auto; float: none;}
blockquote, .questions {background-position: center 10px;padding: 70px 20px 20px 20px;margin: 0 0 15px;text-align: center;}
}

@media screen and (max-width: 650px) {
.related .wp-caption {display:none;}
.related .load-block {float:none; width:auto;}
.related .load {height:auto;width:auto;display:block; margin-bottom:10px;border-radius:0;}
}

@media screen and (max-width: 500px) {
.category-block .wp-caption img {display:none;}
}
@media screen and (max-width: 400px) {
.block span {font-size:30px;}
.block li {font-size:20px;}
}
.replace { cursor:pointer;font-size: 13px; }
		
#textercalc_brick_first{width: 220px;}
#textercalc_brick_addsurface{float:right}
.textercalc_delparent{float: right;}
.textercalc_surface_div{padding-bottom: 10px;}
#oglavlenie{border: 1px dashed #a2a2a2;padding: 5px 7px;margin: 10px 0px 10px;clear: both;}
#oglavlenie p:last-child{margin:0px;}
#oglavlenie ul{margin-bottom:0;}
#oglavlenie ul li:before {content:none;}
#oglavlenie ul li {line-height: 22px;}
#oglavlenie ul li a {font-family:Verdana;}
#oglavlenie ul li a:hover {border:0;}
#oglavlenie ul li>ul li a {border:0;margin-left: 20px;font-weight: normal;}
#oglavlenie ul li>ul li a:before {content: '';background: #868686;border-radius: 28px;width: 5px;height: 5px;position: absolute;margin-top: 8px;margin-left: -12px;}
#oglavlenie ul li>ul li a:hover {text-decoration:underline;}
#oglav_title{}
#video_main_content{display:none;}
#foto_main_content{display:none;}
.img_main_all {max-width: 200px !important;margin: 0 10px 10px 0;}
#txt_main_show, #txt_main_foto, #txt_main_video{margin: 0 25px;width: 150px;text-align: center;display: inline-block;font-weight: bold;cursor: pointer;border-radius: 5px;}
#txt_main_show:hover, #txt_main_foto:hover, #txt_main_video:hover, #txt_main_show.cur_type, #txt_main_foto.cur_type, #txt_main_video.cur_type{background: #BBB;}
#type_navig_main{padding: 10px;border: 1px solid #CCC;margin-bottom: 10px;}
.new_video_type iframe{margin-right:10px;}
#oglav_main{font-size: 17px;}
#togglelink {}
.return_oglavlenie a{color:#999;}
@media screen and (max-width: 870px) {
#oglavlenie{margin:10px -1% 10px;padding:5px;}
}
#itog_show{ display:none;}
#floatTip {position: absolute; display: none; border-radius:3px; padding: 4px 10px;font-family: Arial; font-size: 14px;color: #fff;background:url(img/floattip.png) no-repeat #3eb769; background-position:bottom center;z-index: 10;}

.commentlist li {max-width: 725px;border: 1px solid #dcdcdc;background: #fff;display: inline-block;margin: 0px 0px 20px 1%;width: 70%;box-shadow: 0px 0px 11px 1px #D9D9D9;border-radius: 4px;padding: 10px 1%;}
#comments {margin-left:11px;width: 110px;}
.comment-author {font-size:24px;font-family:Roboto;}
#respond label {float:left;width: 125px;}
#respond textarea, #respond input[type="text"] {border: 1px solid #e9e9e9;border-radius: 4px;box-shadow: inset 0px 2px 3px #e9e9e9;}
#respond input[type="text"] {height:23px;}
#respond input[type="submit"] {background:url(img/button.png);border:0;width: 125px;height: 37px;margin-left: 125px;}
#respond input[type="submit"]:hover {background:url(img/button.png);border:0;background-position: 0px -43px;cursor: pointer;}
.commentlist {margin-bottom:10px;}