/*   
Theme Name: rebatekey-blog
Theme URI: https://blog.rebatekey.com/
Version: 1.0
Tags:  development, html5, bootstrap
Description: Wordpress theme with minimal bootstrap4 markup for fast development starting
Author: orangelabel
Author URI: https://www.orangelabel.ru/
*/

.es_subscription_message.success, .es_subscription_message.error {
  color: #fff;
  margin-top: 15px;
  display: block;
}

.pagination-style {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

.es_spinner_image  {
      position: absolute;
    right: 50px;
     top: 241px;
}
.es_spinner_image img {
  width: 14px;
}
.products_v2 .products-item .img {
  margin-left: 0;
}
.products-item .img {
  text-align:  center;
}
.products-btn {
  text-align:  center;
}
@media (min-width: 668px) and (max-width: 770px) {
.products_v2 .products-item .title {
      max-width: 50%;
}
}
@media (max-width: 979px) {
  body .products_v2 .products-item .products-group {
    margin-left: 30px
  }
  .products-item {
    justify-content:  center;
  }
}
@media (min-width: 979px) {
  ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
    display: block;
  }

  .comment-list .children {
    padding: 0;
    margin-left: 74px;
    padding-bottom: 15px;
  }

  .comment-list .media {
    margin-top: 0;
  }
}

/* =WordPress Core
-------------------------------------------------------------- */
.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;
}

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;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.first-post {
  min-height: 414px;
}

.input-search .form-control-search:focus {
  outline: 0;
}

body .posts-item .card-title {
  min-height: inherit;
}

.es-field-wrap {
  margin-bottom: 0;
}

.content-item p {
  overflow: hidden;
}

.content-item ul {
  margin-bottom: 30px;
}

.content-item ol[start] {
  font-weight: 700;
  font-size: 1.75rem;
  font-style: normal;
  /*padding-left: 20px;*/
}

.sidebar-top .start .svg {
  margin-bottom: 18px;
}

.sidebar-top .start {
  padding: 34px 23px 43px;
  border-radius: 7px;
  margin-bottom: 45px;
}

.sidebar-top .start .h2 {
  font-size: 30px;
  line-height: 130%;
  /* or 39px */
  margin-bottom: 18px;
}

.sidebar-top .start p {
  font-size: 18px;
  line-height: 150%;
  /* or 27px */
  margin-bottom: 30px;
}

.sidebar-top .start p b {
  display: block;
  text-align: center;
}



.sidebar .start .svg {
  margin-bottom: 18px;

    margin-left: -34px;
}

.sidebar .start {
  padding: 34px 23px 43px;
  border-radius: 7px;
  margin-top: 45px;
  position: sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: -webkit-sticky;
  display: block;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  top: 85px;
  background:  url('images/sbbg.svg'), linear-gradient(180deg, #FA5895 0%, #FE5868 100%);
  border-radius: 7px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
}

.sidebar .start .h2 {
  font-size: 30px;
  line-height: 130%;
  /* or 39px */
  margin-bottom: 18px;
}

.sidebar .start p {
  font-size: 18px;
  line-height: 150%;
  /* or 27px */
  margin-bottom: 30px;
}
.single .sidebar .start .btn-secondary {
  background: #FFFFFF;
  border-radius: 4px;
  font-size: 18px;
  line-height: 22px;
  color: #1990B1;
  padding: 14px 10px;
}

.sidebar .start p b {
  display: block;
  text-align: center;
}

.single .sidebar-top {
  margin-top: 84px;
}

.single .sidebar-top .btn-secondary {
  background: #FB528D;
  color: #fff;
}

.single .sidebar .btn-secondary {
  background: #FB528D;
  color: #fff;
}

.emaillist {
  margin-top: 45px;
}

@media screen and (min-width: 1200px) {
  .visible .single-social {
    position: fixed;
    left: inherit;
    margin-left: -64px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  body .nav-user {
    position: absolute;
  }
  body .navbar-logo {
    margin-left: 15px;
  }

  body .news-title {
    margin-top: 25px;
    font-size: 25px;
    line-height: 120%;
    margin-bottom: 20px;
	  width: 100%;
}
body .top-news .news-item {
    max-width: 50%;
}
body .top-news {
    display: -ms-flexbox;
    display: flex;
	flex-wrap: wrap;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1250px) {
.single .main {
  padding-left: 54px;
}
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  body .nav-user {
    position: static;
  }
  body .nav-user li:first-child {
    margin-right: 4px;
}
body .top-news .news-item {
  max-width: 100%;
}
}
@media screen and (max-width: 767px) {
  .posts-item {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
   body .input-search {
    margin-bottom: 15px;
   }
  body .input-search, body .tags {
    max-width: 100%;
    margin-right: 0;
  }
}
.sidebar-top {
	width: 100%;
}
@media screen and (max-width: 789px) {
	.recommended-sidebar .posts-item {
		max-width: 480px;
	}
	.sidebar .start {
		max-width: 350px;
		margin-left: auto;
		margin-right: auto;
	}
  .sidebar {
    height: inherit !important;
  }

  .img-crop {
    margin-left: -15px;
    margin-right: -15px;
  }

  .tags-list {
    width: 100%;
  }

  .sidebar-top {
    margin-bottom: 30px;
  }

  .single .sidebar-top {
    margin-top: 0;

  }

  .content-item ol[start] {
    font-size: 24px;
    line-height: 35px;
  }

  .first-post a:hover img {
    transform: none;
  }

  .prev span {
    display: none;
  }
}

.content-item img {
  max-width: 100%;
  width: inherit;
  height: inherit;
}

.img-crop {
  overflow: hidden;
  max-height: 693px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-crop img {}

em {
  font-weight: 500;
  font-style: italic;
}
.img-post {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 218px;
  overflow: hidden;
}

.img-post img {
  width: auto;
  height: 100%;
  max-height: 218px;
}

@media screen and (min-width: 760px) and (max-width: 1023px) {
  .sidebar {
    height: inherit !important;
        width: 100%;
  }

  #sidebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

  }

  /*  .sidebar-top {
  max-width: 45%;
  }
*/
}


@media screen and (min-width: 1200px) {
  .input-search + .tags {
    max-width: calc(100% - 420px);
  }
}

.news-item {
  align-items: flex-start;
}

.news-item img {
  height: inherit;
  border-radius: 2px;
}

.news-item .content .title {
  font-size: 16px;
}

.posts-item.sidebar-flex .card-body .card-title {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 120%;
  margin-top: 10px;
}

.posts-item.sidebar-flex .card-body {
  max-width: calc(100% - 163px);
  padding: 0;
}

.posts-item.sidebar-flex {
  margin-bottom: 30px;
  display: flex;
  /*align-items: center;*/
  flex-direction: inherit;
}

.posts-item.sidebar-flex img {
  width: 133px;
  margin-right: 16px;
}

.recommended-sidebar .posts-item .card-title {
  font-size: 18px;
  line-height: 120%;
}

.recommended-sidebar .posts-item {
  margin-bottom: 22px;
}

.recommended-sidebar .h3 {
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  line-height: 120%;
  /* or 26px */


  color: #353E47;
}

.card-photo {
  position: relative;

}

.tag-photo {
  position: absolute;
  bottom: 26px;
  left: 15px;
  background: #1A96B5;
  padding: 7px 11px;
  font-style: normal;
  font-weight: bold;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 99;
  color: #FFFFFF;
}

.single_products {
  margin-bottom: 60px;
}

.content-item blockquote p {
    text-align: center;
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 53px;
    color: #353e47;
    margin: 40px auto;
    max-width: 540px;
}

.tags {
  align-items: flex-start;
  flex-wrap: nowrap;
}
.tags .title {
  min-width: 140px;
}

@media (max-width: 767px) {
	body .content-item blockquote p {
    font-size: 25px;
    line-height: 37px;
    margin: 20px auto;
}
.tags {
  align-items: flex-start;
  flex-wrap: wrap;
}
}
body .tags-list li {
  margin-bottom: 0;
}