/* Add custom styles here */

.invert.footer-area-wrap, 
.invert.footer-container,
footer input[type="email"],
footer .subscribe-block__message {
	color: grey !important;
}

.single-post .post.type-post .post-thumbnail,
.entry-header {
	text-align: center;
}
.kk-star-ratings.lft {
	margin: 0 auto;
}

.post-about-block {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}
.post-about-block h2 {
  width: 100%
}
.post-about-block .widget-about__logo {
  width: 30%;
}
.post-about-block.widget-about__tagline {
  width: 0;
}
.post-about-block .widget-about__content {
  width: 70%;
}
.post-about-block p {
  font-size: 1rem;
  padding-left: 20px;
}
@media(max-width: 768px) {
  .post-about-block .widget-about__logo,
  .post-about-block .widget-about__content {
    width: 100%;
  }
}
@media(max-width: 480px) {
  .post-about-block {
    flex-direction: column;
  }
  .post-about-block .widget-about__logo {
    width: 100%;
  }
  .post-about-block p {
    padding-left: 0;
  }
}

.breadcrumbs__wrap,
h1.page-title {
	text-align: center;
}

#toTop {
  right: 20px;
}

/* sitemap */
.wsp-container li {
	list-style-position: inside;
}

/* index page random posts */
.wprpi_post_box .wp_random_inside {
	width: 25%;
	display: inline-flex;
}

.wp_random_inside .wprpi-content.thumbexcerpt-true {
	display: flex;
	flex-direction: column-reverse;
  width: 90%;
  margin: 0 auto;
}
.wp_random_inside .wprpi-content.thumbexcerpt-true p {
	display: none;
}

.wp_random_inside .wprpi-thumbnail {
	width: 100%;
}
.wp_random_inside a,
.wp_random_inside a:hover {
  color: inherit !important;
}

@media(max-width: 800px) {
  .wprpi_post_box .wp_random_inside {
    width: 50%;
  }
} 
@media(max-width: 480px) {
	.wprpi_post_box .wp_random_inside {
		width: 100%;
		float: none;
	}
  .wp_random_inside .wprpi-content.thumbexcerpt-true {
    width: 100%;
  }
}

/* about bottom block */
.after-article-text {
  margin-bottom: 30px;
  padding: 0 15px;
}
.after-article-text .wrap {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
.after-article-text h2 {
  width: 100%;
}
.after-article-text .widget-about__content {
  width: 70%;
}
.after-article-text .widget-about__logo {
  width: 28%;
}
@media(max-width: 768px) {
  .after-article-text .widget-about__content,
  .after-article-text .widget-about__logo {
    width: 100%;
  }
  .after-article-text .wrap {
    flex-direction: column;
  }
  .after-article-text .widget-about__logo {
    margin-bottom: 20px;
  }
}

.share_buttons_main_page {
  margin-top: 20px;
}
.share_buttons_main_page .share-btns__before {
  display: none;
}

.share_buttons_main_page .share-btns__items {
  text-align: right;
}

/* bottom panel at reviews */
.bottom-product-panel {
  position: fixed;
  bottom: -100px;
  height: 70px;
  width: 100%;
  left: 0;
  background: #fff;
  text-align: center;
  padding: 15px 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;  
  z-index: 9999;
}

.bottom-product-panel .second-column {
	display: flex;
	align-items: center;
}

.bottom-product-panel img {
  width: auto;
  height: 40px;
  margin-right: 10px;
}

.bottom-product-panel .check-price {
  padding: 5px 20px;
  text-align: center;
  background: #f66b1b;
  color: #fff;
  border-radius: 20px;
}

.bottom-product-panel.show {
  -webkit-animation: .3s linear 0s 1 alternate slidein;
     -moz-animation: .3s linear 0s 1 alternate slidein;
       -o-animation: .3s linear 0s 1 alternate slidein;
          animation: .3s linear 0s 1 alternate slidein;
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes slidein { from { bottom: -100px; } to { bottom: 0; }  }
   @-moz-keyframes slidein { from { bottom: -100px; } to { bottom: 0; }  }
     @-o-keyframes slidein { from { bottom: -100px; } to { bottom: 0; }  }
        @keyframes slidein { from { bottom: -100px; } to { bottom: 0; }  }

.bottom-product-panel .close-button {
  position: absolute;
  bottom: 54px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
}

.bottom-product-panel .kk-star-ratings {
  display: none;
}

@media(max-width: 768px) {
  .hidden-xs {
    display: none;
  }
}

@media(max-width: 480px) {
  .bottom-product-panel {
    padding: 15px 10px;
    font-size: 12px;
  }
  .bottom-product-panel .second-column {
  	width: 65%;
  }
  .bottom-product-panel img {
    margin: 0;
  }
  .hidden-xs {
    display: none;
  }
  .bottom-product-panel .kk-star-ratings {
	display: none !important;
  }
}

/* переопределяем положение кнопки наверх */
#toTop {
  bottom: 100px;
}

/* Фикс стилей для шрифта блока Pros & Cons */
.wp-pros-cons ul.wp-pros-cons-list li::before,
li.joomdev_wpc_pro_single:before,
li.joomdev_wpc_con_single:before {
	font-family: 'FontAwesome' !important;
}
li.joomdev_wpc_pro_single,
li.joomdev_wpc_con_single {
	list-style: none;
}
li.joomdev_wpc_pro_single:before,
li.joomdev_wpc_con_single:before {
	font-weight: 900;
	padding-right: 10px;
}
li.joomdev_wpc_pro_single:before {
	content: "\f00c";
	color: #27c110;
}
li.joomdev_wpc_con_single:before {
	content: "\f00d";
	color: red;
}
ul.joomdev_wpc_pros_list,
ul.joomdev_wpc_cons_list {
	margin: 0;
	padding: 0 20px;
}
.wp-pros-cons i {
	font-family: 'FontAwesome';
	font-style: normal;
}

/* kk star rating styles override */
.kk-star-ratings .kksr-star.gray {
	background-image: url(../images/gray.png) !important;
}
.kk-star-ratings .kksr-star.yellow {
	background-image: url(../images/yellow.png) !important;
}
.kk-star-ratings .kksr-star.orange {
	background-image: url(../images/orange.png) !important;
}