@font-face {
    font-family: 'Roboto Condensed';
    src: url('/wp-content/themes/1poteply/fonts/robotocondensed-light.eot');
    src: url('/wp-content/themes/1poteply/fonts/robotocondensed-light.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/1poteply/fonts/robotocondensed-light.woff') format('woff'),
         url('/wp-content/themes/1poteply/fonts/robotocondensed-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/1poteply/fonts/roboto-regular.eot');
    src: url('/wp-content/themes/1poteply/fonts/roboto-regular.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/1poteply/fonts/roboto-regular.woff') format('woff'),
         url('/wp-content/themes/1poteply/fonts/roboto-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {color: #444;font-size: 14px;background: #f7f7f7;font-family: 'Open Sans', 'Tahoma', 'Verdana';}

p {margin-bottom:18px;line-height:22px;}
h1, .aside-h1 {font-family: Arial; font-weight:bold;font-size: 24px;color: #000;margin: 0px -1%;padding: 10px 15px;text-align:left;}
.aside-h1 {text-align:left;font-size:18px;padding: 15px 2px 11px;margin: 0;}
h2, h3, .header-2, .header-3, .header-4, .header-5, .header-6 {font-family: Arial;font-size: 18px;color: #000;margin: 20px 0px 10px;display: inline-block; text-align:left;width:98%;font-weight:bold;padding-left:15px;}
a {outline:0;}
:focus {outline: -webkit-focus-ring-color auto 0px; outline: 0px;}
a {color:#3e85b7;}

.container {max-width: 1000px;text-align:justify;width:100%;min-height: 100%;height: auto !important;height: 100%;margin: 0 auto -7em;}
.content, .related {max-width:725px;border:1px solid #dcdcdc;background:#fff;display:inline-block;margin: 30px 1% 20px 1%;width: 69%;box-shadow: 0px 0px 11px 1px #D9D9D9;border-radius: 4px;padding: 0 1% 1%;float:left;}
.related {margin-top:-10px;float:none;}
.logo, .main_page {background: url(img/logo.png) no-repeat;float:left;margin:10px 0px 0px 0.5%;width: 210px;height: 60px;}
.main {width:100%;height:85px;}
header {height:100px;}

.nav {float: left;margin-left: 1%;width: 97%;}
.nav li {display:inline-block; margin-right:10px;}
.odin {width: 98%;height: 26px;background: #ffd14f;padding: 10px;border-top-left-radius: 4px;border-top-right-radius: 4px;}
.dva {width: 98%;height: 26px;background: #3eb769;padding: 10px;}
.tri {width: 98%;height: 26px;background: #3e85b7;padding: 10px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;}
.nav li a, .nav li span {padding: 6px;background: #f8f8f8;border-radius: 2px;color: #000;font-family: 'Roboto';font-size: 12px;text-decoration: none;box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);}
.nav li a:hover, .nav li span:hover, .current{box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.3);background: rgba(0, 0, 0, 0.1);color: #fff;cursor:pointer}
.current {padding: 6px;border-radius: 2px;font-family: 'Roboto';font-size: 12px;}
.tri span {padding: 10px 10px 0 0; color: #fff;}

.block-main {display:table;width:100%;margin-bottom:15px;}
.block {display:table-cell; width: 49%;height: 160px;margin: 1% 0.5% 0;padding: 38px 0 3px;float:left;border-radius: 40px;}
.block:nth-child(2n+2) {margin-right:0;}
.block:nth-child(1) {background:url(img/1.png) no-repeat;}
.block:nth-child(2) {background:url(img/2.png) no-repeat;background-position: top right;}
.block:nth-child(3) {background:url(img/3.png) no-repeat;}
.block:nth-child(4) {background:url(img/4.png) no-repeat;background-position: top right;}
.block a {color: #939393;text-decoration: none;padding: 0 5px;font-family: 'Roboto Condensed';background: #fff;} .block span a {color:#444; padding:0 10px;background: #ffd14f;}
.block a:hover {background:#3eb769;color:#fff;}
.block span a:hover {color:#444;}
.block span {font-size:34px;float:left;}
.block:nth-child(2n+2) span {float:right;}
.block ul {margin: 65px 15px;text-align: left;}
.block li {display: inline-block;margin:5px 10px 0 0;font-size:23px;}
.block:nth-child(2n+2) li {margin-left:2px;}

.search {float: right;margin: 20px 7px 0 0;width: 70%;}
.search input[type="text"] { width: 89%; height: 39px; border: 0; border-top: 1px solid #dcdcdc; border-radius: 30px; padding-left: 5%;} 
.lupa { position: relative; left: 23px; top: 15px; float: left; }
.search input[type="submit"]{ float: right; position: relative; top: -43px; right: 2%; background: #ffd14f; height: 44px; border-radius: 30px; border: 0; padding: 0 20px; border-bottom-right-radius: 0; } 
.search input[type="submit"]:hover {box-shadow: inset 0px 2px 4px -1px #999;}
.search input[type="submit"]:hover {cursor:pointer;}

	
footer {padding-top: 15px;width: 100%;margin: 0 auto;max-width: 980px; height: 5em;border-top: 1px solid #d2d2d2;position: relative;z-index: 1000;}
.push {height: 7em;}
.colomn-first {width:50%;float:left;}
.colomn-first img {padding: 0; float:left;position: relative;z-index: 10;}
.colomn-first img:hover {cursor:pointer;}
.colomn-first p {font-size: 12px;font-weight: 300;text-align: left;position: relative;padding: 0px 0px 0px 65px;margin: -2px 0 10px;line-height: 12px;color:#707070;}

footer ul {float:right;}
footer li {float:left; margin-left:13px;font-size:12px;}
footer li a {color:#707070; text-decoration:none;}
footer li a:hover, footer span:hover {text-decoration:underline;}

.calendar, .rating, .views {height: 16px;margin: 4px 0px 0px;}
.views p, .calendar p, .rating p {line-height: normal;font-size: 12px;font-family: 'Roboto';}
.metki {position: relative;top: 37px;float: left;}
.metki img {margin-right:10px;}
.clear {clear:both;}
.statistika {float:left;margin-top: 34px;padding-right: 50px;}

#true_loadmore{color: #fff;padding: 15px;text-align: center;cursor: pointer;background: #3eb769;font-family: 'Roboto';font-size: 18px;}

.aligncenter {margin:10px auto;border-radius: 5px;padding: 2px;box-shadow: 0px 0px 9px -1px #999;}
.aligncenter  img, .alignleft img, .alignright img {width:100%;height:auto;}
.alignleft {float:left; margin: 5px 10px 5px 0px;border-radius: 5px;padding: 2px;box-shadow: 0px 0px 9px -1px #999;}
.alignright {float:right; margin: 5px 0px 5px 10px;border-radius: 5px;padding: 2px;box-shadow: 0px 0px 9px -1px #999;}
.alignnone {width: 80%;height: auto;}
.post .wp-caption img {position:relative;z-index:10;border-top-left-radius: 5px;border-top-right-radius: 5px;}
.wp-caption-text {font-family: Arial;font-size: 14px;color: #fff;background: #3eb769;text-align: center;padding: 5px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;margin: 0;}

.post li , .page li{line-height:22px;padding-left: 16px;}
.post ul, .page ul {margin-bottom:18px;}
.post ul li:before, .page ul li:before  {content: url(img/marker.png);width: 16px;height: 10px;margin-top: 9px;margin-right: -10px;left: -15px;position: relative;top: -2px;}
.post ol li, .page 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;}
.post ul li {list-style-type:none;}

.category {width:98% !important; max-width:none;box-shadow:none;background:none;border:none;padding:0;float:none;}
.category-block {border: 1px solid #dcdcdc;background: #fff;box-shadow: 0px 0px 11px 1px #D9D9D9;border-radius: 4px;padding: 1%;margin-bottom: 10px;width:70%;}
.category-block .wp-caption {display:table-cell;}
.category-block .wp-caption img {border-radius:4px;border: 1px solid #E3E3E3;}
.wp-caption-block {display: table-cell;vertical-align: top;padding-left: 15px;}
.wp-caption-block a {display: table-cell;font-family: Roboto;font-size: 18px;color: #000;text-align: left;}
.wp-caption-block a:hover {text-decoration:none;}
.wp-caption-block span {font-weight:bold;}
.category .sidebar {margin-top:0;float: right;}

.page {border: 1px solid #dcdcdc;background: #fff;display: inline-block;margin: 30px 1% 20px 1%;width: 95%;box-shadow: 0px 0px 11px 1px #D9D9D9;border-radius: 4px;padding: 0 1% 1%;}
.page .category-block {width:auto;}
.page .category-block a {background:#3eb769;color:#fff;padding:2px 8px;text-decoration:none;font-family:'Roboto';font-size:20px;}
.page .category-block p {margin-top:15px;font-family:'Roboto';}
.page .category-block span {margin-right:10px; padding-right:10px; border-right:1px solid #d9d9d9;}
.question {width:69%;max-width:725px;vertical-align: top;}

.sidebar {width:240px;display:inline-block;margin: 30px 18px 20px 0;}
.aside {background: #fff;border: 1px solid #dcdcdc;box-shadow: 0px 0px 11px 1px #D9D9D9;border-radius: 4px;padding: 0 5px;margin-bottom: 10px;text-align: left;}
.pic {padding:0;border: 0;box-shadow: none;}
.aside li {display: list-item;padding: 10px;border-bottom: 1px solid #f5f5f5;margin: 0 -5px;line-height: 12px;}
.aside li a {font-size: 12px;color: #000;}
.aside li a:hover {text-decoration:none;}
.aside li a:visited {color:#797979;}
.load {background: #3eb769;padding: 5px;border-top-left-radius: 4px;border-top-right-radius: 4px;text-align: left;}
.load a {color: #fff;text-decoration: none;font-size: 14px;}
.load a:hover {text-decoration:underline;}
.aside .wp-caption, .aside .wp-caption img  {border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;}
.aside .wp-caption {margin-bottom:10px;}
.aside .wp-caption img {width:100%;}

.related .load-block {width: 32%;vertical-align: top;padding: 2px;float: left;border-radius: 5px;box-shadow: 0px 0px 9px -1px #999;margin-left: 0.5%;}
.related img {width:100%; height:auto;}
.related .load {display: table-cell;vertical-align: middle;height: 60px;width: 32%;text-align: center;}
.related-link:hover {cursor:pointer;}

.breadcrumbs {margin:0 10px 25px;}
.breadcrumbs li {display:inline-block;}
.breadcrumbs li a {color:#999;}
.breadcrumbs li:after {content:'>';color:#999;padding: 0 10px;}
.breadcrumbs li:last-child:after {content:none;}

.glav {width: 97%!important;margin: 0 auto 10px;}
.glav p {margin-bottom: 11px;
line-height: 18px;
font-size: 14px;}

blockquote {background: url(img/blockquote.png) no-repeat #ffd14f;background-position: 10px center;padding:15px 10px 15px 75px;margin: 0 0 15px;border-radius: 4px;min-height:34px;display: table;}
blockquote p {margin:0;margin-bottom:0;line-height:normal;display: table-cell;vertical-align: middle;}
table, td, tr {border:1px solid;}
.author {margin-bottom: 15px;font-weight: bold;}

#ya-site-results table, #ya-site-results td, #ya-site-results tr {border:0;border-color:#fff;}

#wprmenu_menu span, #wprmenu_menu span {color: #fff;padding: 10px!important;font-size: 17px;}
#wprmenu_bar span:hover, #wprmenu_bar span:hover, #wprmenu_menu span:hover, #wprmenu_menu span:hover {cursor: pointer;}
#wprmenu_menu span:hover, #wprmenu_menu span:hover {background:#fff;color:#000;}
#wprmenu_menu.wprmenu_levels ul li {padding: 10px!important;}
.sub-menu {display:block!important;}
#wprmenu_menu.wprmenu_levels ul li {border-top:0!important;}
#wprmenu_menu.wprmenu_levels ul li ul li {padding-left: 44px!important;}
	
@media screen and (max-width: 1170px) {

}
@media screen and (max-width: 1000px) {

}
@media screen and (max-width: 995px) {
.content, .related, .category-block, .question {width:68%}
.statistika {float:none;margin-top:0;padding:0;}
.metki {top: 7px;margin-bottom: 8px;}
}
@media screen and (max-width: 960px) {
.content, .related, .category-block, .question {width:66%}
}
@media screen and (max-width: 915px) {
.content, .related, .category-block, .question {width:65%}
}
@media screen and (max-width: 870px) {
.content, .related, .category-block, .question {width:63%}
}
@media screen and (max-width: 820px) {
	.search {width:100%;}
	.content, .related, .category-block, .question {width:61%}
}
@media screen and (max-width: 792px) {
.content, .related, .category-block, .question {width:60%}
}
@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, .question {width:96%;border:0;margin:-25px 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;}
.nav, .glav {display:none;}
.front-page {z-index: 100;position: relative;background: #F7F7F7;margin-top: -43px;}
.logo, .main_page {display:none;}
.search {display:none;}
.post-caption {display:none;}
header {height: 35px;}
.front-page .logo {display:block;width: 100%;max-width: 430px;margin: 0px auto;float: none;top: 25px;position: relative;}
}

@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; }
		
#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;background-color: #f1f1f1;padding: 5px 7px;margin: 10px 0px 10px;clear: both;border-radius: 5px;}
#oglavlenie p:last-child{margin:0px;}
#oglavlenie ul{margin-bottom:5px;margin-left: 0px;}
#oglavlenie ul li:before {content: url(img/marker.png);margin-left:15px;}
#oglavlenie ul li {padding:0;line-height: 1.5;}
#oglavlenie ul li a, #oglavlenie ul li span {text-decoration:none;color:#000;font-family: 'Roboto';font-weight: bold;font-size: 12px;}
#oglavlenie ul li a:hover, #oglavlenie ul li span:hover {text-decoration:underline;}
#oglavlenie ul li>ul li a {border:0;margin-left: 20px;font-weight: normal;}
#oglavlenie ul li>ul li a:before {content:'';background:#3eb769;border-radius:10px; width:4px;height:4px;position: absolute;margin-top: 9px;margin-left: -9px;}
#oglavlenie ul li>ul li a:hover {text-decoration:underline;}
#oglav_title{text-align: left;padding: 3px 10px;background: #3eb769;display: inline-block;font-family: ScadaRegular;font-size: 14px;color: #fff;margin: 4px 0;}
#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{color: #fff;font-size: 14px;font-family: 'Roboto';}
#togglelink {color: #fff;font-size: 14px;}
.return_oglavlenie a, .return_oglavlenie span {color: #000;text-decoration: none;font-size: 20px;}
.return_oglavlenie span:hover {cursor:pointer;text-decoration:underline;}
.return_oglavlenie {margin-top: 15px;}

@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;}
.comment-author {font-size:24px;font-family:'Roboto';}
#respond label {float:left;width: 125px;}
#respond textarea, #respond input[type="text"], .obratka  textarea, .obratka input[type="text"] {border: 1px solid #e9e9e9;border-radius: 4px;box-shadow: inset 0px 2px 3px #e9e9e9;}
#respond input[type="text"], .obratka  input[type="text"]{height:23px;}
#respond input[type="submit"], .obratka  input[type="submit"]{background:url(img/button.png);border:0;width: 125px;height: 37px;margin-left: 125px;}
#respond input[type="submit"]:hover, .obratka  input[type="submit"]:hover {background:url(img/button.png);border:0;background-position: 0px -43px;cursor: pointer;}
.obratka  input[type="submit"] {margin:0 0 20px 0;}
.obratka  input[type="text"] {width:60%;}
.commentlist {margin-bottom:10px;float: left;width: 100%;}

.top_comment .h2,
.most_commented .h2 {  color: #fff;
  background: #3eb769;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 15px;
  width: auto;
  margin-left: -5px;}
.top_comment {}
.top_comment ul { padding: 0 0 0 5px; margin: 0; }
.top_comment ul li { list-style: none; position: relative;width: 100%;  padding: 0;margin: 10px 0 15px; border:0;  display: table;}  
.top_comment ul li a .number_block { display: block; position: absolute; left: -5px; top: 17px; background: #ffcc00; display: block; height: 22px; line-height: 22px; padding: 0 4px; font-size: 14px; color: #111111; font-weight: bold; } 
.top_comment ul li a .number_block:after { position: absolute; bottom: -4px; left: 0; content: ""; width: 9px; height: 4px; background: url(img/ugolok.png) no-repeat;  }
.top_comment ul li a { text-decoration: none; }
.top_comment ul li a .title_text {display:table-cell; zoom:1; *display:inline; color: #3eb769; font-size: 12px;
  font-weight: bold;  padding-left: 10px;
  font-family: Arial;  vertical-align: middle; }
  .top_comment ul li a:hover .title_text {text-decoration:underline;}
.top_comment ul li a .title_text p { margin: 0;line-height: normal; }
.top_comment ul li a .img_border { width: 100%; height: 54px; overflow: hidden; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; } 
.top_comment ul li .pull-left {margin-right: 10px; width: 54px;display:table-cell; }

.most_commented {}
.most_commented ul { margin: 0; padding: 0; }
.most_commented ul li  { list-style: none; margin-bottom: 17px; padding-bottom: 10px; border-bottom: 1px solid #e1e1e1; }
.most_commented ul li:last-child {border-bottom:0;}
.most_commented ul li .full_date { float: left; font-size: 11px; color: #202020; background: #ffcc00; padding: 2px 5px; }
.most_commented ul li .title {  margin: 10px 0;line-height: normal;
  font-weight: bold;
  display: block;
  font-size: 13px;
  color: #3eb769;
  font-family: Arial;}
.most_commented ul li .desc { margin: 0; font-size: 12px; color: #464646;   line-height: normal }