header {
	background: #003c70;
	padding: 0 55px 0px;
}

header > .content {
	padding-bottom: 10px;
	min-height: 0px;
}

header .main-menu {
    text-align: center;
	max-width: 600px;
	margin: 0 auto 10px;
}

header .homepage-link {
	float: none;
	margin-bottom: 5px;
}

header .homepage-link, header .main-menu-search {
	float: none;
	max-width: none;
	display: block;
}

header .search .search-button {
	max-width: 20%;
}

header .search .text {
	width: 79%;
}

header .search {
  text-align: center;
  padding: 0px 3px;
}

header .main-menu nav ul > li {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 0px;
  padding: 3px;
  width: 33.3%;
}

header .main-menu nav ul > li a:hover {
    border-bottom: 0;
}

header .main-menu nav ul > li:not(:first-child):before {
	content: none;
}

header .main-menu nav ul > li a {
	padding: 12px 0 7px;
	display: inline-block;
	width: 100%;
	border-radius: 5px;
	border: 2px solid #fff;
}

header .main-menu nav ul > li a:hover {
	border: 3px solid #f26522;
	padding: 11px 0 6px;
}

#front_slider {
	margin: 10px 55px;
}

#front_slider {
	height: 430px;
}

#front_slider .slider_title p {
  font: 62.11px/56.67px OpenSansBold;
}

#front_sections .section {
	width: 31.33%;
}


#front_goods ul li {
	display: inline-block;
	width: 32%;
	margin-left: 2%;
	vertical-align: top;
	margin-bottom: 20px;
}

#front_goods ul li:nth-child(4) {
	display: none;
}

#front_slider .front_slider_shadow {
	display: none;
}


@media (max-width: 600px) {
	#front_slider .slider_title p {
	  font: 46.11px/46.67px OpenSansBold;
	}

	#front_firms .firm {
	  width: 100%;
	}

	#front_firms {
		padding-bottom: 30px;
	}

	#front_firms .all_firm_link {
	  bottom: 40px;
	}

	#front_firms .firms_count {
		margin-top: 0;
		margin-bottom: 15px;
		display: block;
	}

	#front_firms .front_title {
		margin-bottom: 15px;
	}
	#front_goods ul li {
		display: inline-block;
		width: 48%;
		margin-left: 4%;
		vertical-align: top;
		margin-bottom: 20px;
	}

	#front_goods ul li:first-child, #front_goods ul li:nth-child(3) {
		margin-left: 0;
	}

	#front_goods ul li:nth-child(4) {
		display: inline-block;
	}

	.front_media > li {
	  width: 100%;
	  display: inline-block;
	  vertical-align: top;
	  margin-left: 0%;
	}
	.front_media > li:first-child {
		margin-left: 0;
	}
}

#front_docs .doc_block{
	display: inline-block;
	vertical-align: top;
	width: 45%;
	margin-right: 4%;
	margin-bottom: 20px;
}

#front_docs .doc_block:nth-child(2) {
	margin-right: 0;
}


#footer_block .row1 .col{
	width: 41%;
	margin-right: 8%;
	display: inline-block;
	vertical-align: top;
	font: 14px/24px OpenSans;
	margin-bottom: 30px;
}

#front_docs {
	margin-bottom: 20px;
}

#post_bottom_block .bottom_content {
  display: block;
  float: none;
  text-align: left;
  margin: 10px 0;
}

#non_front_sections #sections > ul > li {
	width: 31%;
	margin-left: 2.25%;
}
#non_front_sections #sections > ul > li:nth-child(5n+1) {
	margin-left: 2.25%;
}
#non_front_sections #sections > ul > li:nth-child(4n+1) {
	margin-left: 2.25%;
}
#non_front_sections #sections > ul > li:nth-child(3n+1) {
	margin-left: 0%;
}
@media (max-width: 600px) {
	#non_front_sections #sections > ul > li {
		width: 46%;
		margin-left: 6%;
	}
	#non_front_sections #sections > ul > li:nth-child(5n+1) {
		margin-left: 6%;
	}
	#non_front_sections #sections > ul > li:nth-child(4n+1) {
		margin-left: 6%;
	}
	#non_front_sections #sections > ul > li:nth-child(3n+1) {
		margin-left: 6%;
	}
	#non_front_sections #sections > ul > li:nth-child(2n+1) {
		margin-left: 0%;
	}

	#archive_posts .archive_post .post_info {
		margin-left: 0px;
	}
	#archive_posts .archive_post .post_img {
	  float: none;
	  margin: 10px auto;
	}
	#toggle_categorys .toggle_toggle {
	  display: none;
	}
	#toggle_categorys {
		text-align: center;
	}
	#filter_for_brands .letter_title {
		margin-bottom: 0;
	}
}

#sidebar {
	margin-top: 30px;
}

#popular_posts li{
	width: 48%;
	margin-left: 4%;
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	background: url(../img/popular_separator.png) right 40px no-repeat;
	min-height: 250px;
	margin-bottom: 25px;
	background: none;
}

#popular_posts li:first-child, #popular_posts li:nth-child(3) {
  margin-left: 0%;
}

#popular_posts .post_link {
  height: 60px;
}

#popular_posts {
  margin-bottom: 0px;
}

.gallery_card .wp-caption {
  width: 100% !important;
  max-height: 225px;
  overflow: hidden;
  height: 133px;
}

.gallery_card .wp-caption a {
  display: block;
  width: auto !important;
  height: 100%;
  max-width: 100%;
  max-height: 100px;
  overflow: hidden;
}

#book_list li .book_img {
	float: none;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
}

#book_list li .book_img .book_img_inside{
	margin: 0 auto;
}

#book_list li .book_rating_block {
	float: none;
	text-align: center;
	margin-bottom: 10px;
}

#book_list li .book_info {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

#book_list li .book_info .book_name {
	margin-bottom: 15px;
	margin-top: 0px;
}


#book .book_img {
	float: none;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
}

#book .book_img .book_img_inside{
	margin: 0 auto;
}

#book .book_rating_block {
	float: none;
	text-align: center;
	margin-bottom: 10px;
}

#book .book_info {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

#book .book_info .book_name {
	margin-bottom: 15px;
	margin-top: 0px;
}

.category_brand_list li {
	display: inline-block;
	vertical-align: top;
	width: 46%;
	margin-right: 8%;
}
.category_brand_list li:nth-child(3n) {
	margin-right: 8%;
}

.category_brand_list li:nth-child(2n) {
	margin-right: 0%;
}

#last_brands ul li {
  display: inline-block;
  vertical-align: top;
  width: 24%;
  margin-left: 1.33%;
}

#last_brands ul li:nth-child(5) {
	display: none;
}

@media (max-width: 600px) {
	.brand_in_category .brand_rating_block {
		float: none;
		text-align: center;
		margin: 10px 0;
	}
	.brand_in_category .brand_category_img {
		float: none;
		margin: 0 auto;
	}
	.brand_in_category .brand_info {
		margin-left: 0px;
		display: block;
	}
	.brand_in_category .brand_title {
		text-align: center;
	}

	#last_brands ul {
		text-align: center;
	}

	#last_brands ul li {
	  display: inline-block;
	  vertical-align: top;
	  width: 30%;
	  margin-left: 3.33%;
	  margin-bottom: 15px;
	}

	#last_brands ul li:nth-child(4) {
		margin-left: 0;
	}

	#last_brands ul li:nth-child(5) {
		display: inline-block;
	}
}

.author_page .author_av {
	float: none;
	margin: 0 auto;
	margin-bottom: 44px;
}

.author_page .author-info {
	margin-left: 0px;
}


.author_page .archive_post .post_img {
	float: none;
	margin-right: 0px;
	margin: 0 auto;
	margin-bottom: 15px;
}

.author_page .archive_post .post_info {
	display: block;
	margin-left: 0px;
}

.service_img_block {
	float: none;
}

.service_img_block .service_img {
	margin: 0 auto 15px;
	max-width: 100%;
}

.product_page .service_content {
	display: block;
	margin-left: 0px;
}


.goods_list .goods_list_img {
	display: block;
	margin: 0 auto 10px;
}

.goods_list td:first-child {
	text-align: center;
}

.goods_list .good_info {
	text-align: center;
}


.category_list li {
	width: 32%;
	margin-left: 2%;
}

.category_list li:nth-child(4n+1) {
	margin-left: 2%;
}

.category_list li:nth-child(3n+1) {
	margin-left: 0%;
}





#fronttest .ft_text{
		padding: 20px 10px;
		font-size: 20px;}


#last_brands ul li{
	width: 23.4%;
}
.post_page h1 {
    font: 21px PTserif;
    margin-bottom: 0px;
}
.post_page .content_text h2 {
    font: 21px PTserif;
    
}
header > .content > .row.n2 {
        padding-top: 0px;
}
#breadcrumbs {
    margin: 10px 0 10px;
    font: 13px/16px OpenSans;
}
.content_text iframe{
    	margin: 6px auto;
}























