/* pm-modern-images: копия /wp-content/themes/books/style.css с адресами картинок без расширения (формат выбирает сервер). Не править — пересоздаётся из исходника. */
/*
Theme Name: Author's books
Author: Аlienti
Url: https://www.fl.ru/users/zelikian
*/

/* =WordPress Core
-------------------------------------------------------------- */

.screen-reader-response,
.wpcf7-not-valid-tip,
.wpcf7-response-output {
  display: none !important;
}
.wpcf7-mail-sent-ok {
  display: block !important;
}
.wpcf7-not-valid {
  border-color: red !important;
}

.disabled_bcn {
  cursor: pointer;
}
.header_book_vasut_page {
  text-align: center;
  font-size: 54px;
}
p.pink_col {
  color: rgb(221, 36, 105);
}
.header_book_vasut_page p.i {
  font-style: italic;
  font-weight: 500;
  margin-top: 60px;
  margin-bottom: 50px;
  font-size: 50px;
  text-transform: uppercase;
  color: black;
}
.main_vasut_book_items {
  display: flex;
  flex-wrap: wrap;
}
.vasut_book_item {
  width: 43%;
}
.vasut_book_item p {
  font-size: 30px;
  font-style: italic;
  /* width: 360px; */
  width: 130%;
  color: rgb(121, 121, 121);
}
.vasut_book_item div {
  /* margin-top: 121px; */
  display: flex;
  align-items: center;
  /* width: 81%; */
  /* padding: 20px;
  background: white; */
}
.vasut_book_subitem {
  margin-top: 26px;
  display: flex;
  align-items: center;
  width: 81%;
  padding: 20px;
  background: white;
}
.vasut_book_item div span {
  margin-left: 80px;
  font-size: 24px;

  color: #123153;
}
.main_info_vasut_items {
  margin-top: 70px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.main_info_vasut_item p:first-child {
  font-size: 180px;
  color: orange;
  font-style: italic;
  font-weight: 700;
}
.main_info_vasut_item p:last-child {
  font-style: italic;
  font-size: 30px;
  color: rgb(121, 121, 121);
}
/* .book_request_block div{
    display: none;
} */
.main_info_vasut_item {
  width: 28%;
  text-align: center;
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about_vasut_items {
  display: flex;
  margin-top: 60px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about_vasut_item p:first-child {
  font-style: italic;
  font-weight: 600;
  font-size: 40px;
  color: black;
}
.about_vasut_item {
  width: 70%;
}
.about_vasut_item.last {
  width: 21%;
}
.about_vasut_items p.text_about_vasut {
  font-size: 23px;
  font-style: italic;
  color: rgb(121, 121, 121);
  margin-top: 15px;
}
.order_vasut_book form {
  display: flex;
  justify-content: space-around;
  /* outline: none; */
  /* border: none; */
  margin: 40px 0;
  background: white;
  padding: 40px 10px;
  width: 85%;
  margin: 30px auto 39px;
  /* flex-wrap: wrap; */
  align-items: center;
}
.order_vasut_book form input[type="text"],
.order_vasut_book form input[type="email"] {
  outline: hidden;
  /* outline: white; */
  /* border: none; */
  display: block;
  /*width: 90%;*/
  height: auto;
  padding: 8px 13px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
  color: #123153;
  background-color: #fff;
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  box-shadow: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  /* margin: 40px 0; */
  /*margin-left: 20px;*/
}
.order_vasut_book form input[type="submit"] {
  display: inline-block;
  vertical-align: top;
  position: relative;
  font-size: 17px;
  line-height: 20px;
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 30px rgb(238 117 2 / 20%);
  background: #ee7402;
  background: -webkit-gradient(
    left top,
    right top,
    color-stop(0, #ee7402),
    color-stop(100%, #ff9b04)
  );
  background: linear-gradient(90deg, #ee7402 0, #ff9b04);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ee7402",endColorstr="#ff9b04",GradientType=1);
  transition: all 0.3s;
}
.order_vasut_book form input[type="submit"]:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #ff9b04;
  background: -webkit-gradient(
    left top,
    right top,
    color-stop(0, #ff9b04),
    color-stop(100%, #ee7402)
  );
  background: linear-gradient(90deg, #ff9b04 0, #ee7402);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff9b04",endColorstr="#ee7402",GradientType=1);
  opacity: 0;
  border-radius: 30px;
  transition: all 0.3s;
  z-index: 1;
}
a.btn-grad:hover:before,
.order_vasut_book form input[type="submit"]:hover:before {
  opacity: 0.8;
}
.btn.focus,
.btn:focus,
.btn:hover {
  color: #ff9b04;
}
.delivery_vasut_items {
  display: flex;
  justify-content: space-around;
  width: 91%;
  margin: 0 auto;
  background: white;
  padding: 40px 20px 0;
  flex-wrap: wrap;
}
.delivery_vasut_item {
  display: flex;
  flex-direction: column;
  width: 49%;
  flex-wrap: wrap;
}
.delivery_vasut_item p {
  font-size: 20px;
  display: flex;
  line-height: 30px;
  color: #123153;
  font-weight: 700;
  /* width: 730px; */
  /* width: 240px; */
  /* display: block; */
  /* width: 200px; */
  justify-content: space-between;
  width: 80%;
  margin-bottom: 30px;
}
.delivery_vasut_item p span {
  font-weight: 500;
}
.flex_row {
  display: flex;
  flex-direction: row;
}
.delivery_vasut_subitem {
  display: flex;
  flex-direction: column;
  /* align-items: center; */

  /* margin-left: 20px; */
  font-size: 20px;
}
.flex_row div:first-child {
  margin-right: 30px;
}
.delivery_vasut_item p:last-child {
  font-weight: 500;
  margin-top: 30px;
}
.book_request_block p:first-child {
  font-size: 27px;
  font-style: italic;
  color: rgb(121, 121, 121);
  margin-bottom: 60px;
  text-align: center;
}
.book_request_block {
  position: relative;
  margin-top: 50px;
  font-size: 40px;
  width: 70%;
  margin: 60px auto 20px;
}
section.section_main_book_vasut {
  /* background: url(/wp-content/uploads/flow-l) no-repeat; */
  padding: 60px 0;
}
.main_vasut_book_items {
  position: relative;
}
.main_vasut_book_items:before {
  position: absolute;
  content: "";
  height: 78%;
  width: 110%;
  right: 0;
  bottom: -90px;
  background: url(/wp-content/uploads/flow-l) no-repeat;
}
.vasut_book_item img {
  /* height: 510px; */
}
section.section_book_vasut {
  background: rgb(250 240 245 / 66%);
  padding: 60px 0 0;
  margin-top: 30px;
}
.header_book_vasut_page p {
  font-weight: 700;
}
.delivery_vasut_subitem span {
  margin-bottom: 15px;
}
.vasut_video_block video {
  width: 536px;
  border: 1px solid orange;
}
.vasut_video_block {
  margin: 30px 0;
  text-align: center;
}
.vasut_video_block {
  position: relative;
}
.vasut_video_block:after {
  position: absolute;
  background: url(/wp-content/themes/books/assets/img/play.svg) no-repeat;
  content: "";
  top: 37%;
  left: 47%;
  transition: 0.2s;
  width: 80px;
  height: 80px;
  background-position: center;
  pointer-events: none;
}
.vasut_video_block:hover:after {
  transform: scale(1.2);
}
.vasut_video_block a {
  display: inline-block;
  text-decoration: none;
}
.vasut_video_block a img {
  width: 81%;
  border: 1px solid orange;
}
.book_request_block form input[type="text"] {
  width: 100%;
}
.new_gallery_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.new_gallery_item {
  width: 22%;
}
.new_gallery_item:not(:last-child) {
    margin-right: 30px;
}
.new_gallery_item a {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  margin-bottom: 15px;
}
.new_gallery_item a:hover {
  text-decoration: underline;
}
.new_gallery_item img {
  margin-bottom: 15px;
  box-shadow: 0 0 11px 2px #80808075;
  height: 400px;
  width: auto;
}
.new_gallery_item img:hover {
  box-shadow: 0 0 15px 2px #80808075;
}
.vasut_book_item.slider.owl-carousel.owl-theme.owl-loaded.owl-drag {
  width: 41%;
}
.vasut_video_block:before {
  position: absolute;
  content: "";
  height: 78%;
  width: 100%;
  left: 15%;
  bottom: -60px;
  background: url(/wp-content/uploads/flow-l) no-repeat;
  z-index: -1;
}
.about_vasut_item.last {
  position: relative;
}
.about_vasut_item.last::before {
  position: absolute;
  content: "";
  height: 78%;
  width: 100%;
  left: -55%;
  bottom: 40px;
  background: url(/wp-content/uploads/flow-l) no-repeat;
  z-index: -1;
}
.slide_vasut_book img {
  width: 69% !important;
}
/* .owl-carousel .nav-btn{
  height: 47px;
  position: absolute;
  width: 26px;
  cursor: pointer;
  top: 100px !important;
} */

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.owl-carousel .prev-slide {
  left: -33px;
  background: url(/wp-content/themes/books/assets/img/prev-btn.svg) no-repeat
    50%;
  width: 10px;
  height: 20px;
  position: absolute;
  left: -8%;
  margin-left: -5px;
  top: 50%;
  margin-top: -10px;
  z-index: 40;
  cursor: pointer;
  padding: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 30px rgb(0 0 0 / 5%);
}
.nav-btn.next-slide {
  width: 10px;
  height: 20px;
  position: absolute;
  left: 69%;
  margin-left: -5px;
  top: 50%;
  margin-top: -10px;
  z-index: 40;
  background: url(/wp-content/themes/books/assets/img/next-btn.svg) no-repeat
    50%;
  border-radius: 50%;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 30px rgb(0 0 0 / 5%);
  padding: 24px;
}
.first_letter::first-letter {
  color: #ee7402;
}
.about_vasut_item p:first-child {
  margin-bottom: 40px;
}
section.publishing_section_1 {
  background: #FAF9FB;
  position: relative;
}
section.publishing_section_1::before{
  position: absolute;
  content: "";
  right: 0;
  bottom: -80%;
  background: url(/wp-content/uploads/circle_img_01) no-repeat;
  width: 13%;
  height: 100%;
}
.publishing_header {
  display: flex;
  justify-content: space-between;
}
.publisher_header_img{
  position: relative;
  z-index: 10;
}
.publisher_header_img:before{
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/lines_img.svg) no-repeat;
  height: 120px;
  width: 99%;
  top: 320px;
  left: -310px;
  z-index: -1;

}
.info_about p {
  max-width: 690px;
  margin: 0 auto;
  font-size: 17px;
  color: #123153;
  line-height: 176%;
}
.info_about {
  margin: 45px 0px;
  position: relative;
  z-index: 1;
}
.info_about::before{
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/rectangle_img_01) no-repeat;
  height: 407px;
  width: 99%;
  top: -96px;
  left: -80px;
  z-index: -1;
}
.info_about::after{
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/dots_group_img01) no-repeat;
  height: 47px;
  width: 5%;
  top: 244px;
  left: 40px;
  z-index: -1;
}

/*.publisher_header_img img {
  background: radial-gradient(42% 44% at 41% 50%, #4C5469 -23.29%, rgba(255, 255, 255, 0) 100%);
}*/

p.our_services_title_block {
  text-align: center;
  font-weight: 300;
  font-size: 36px;
  line-height: 50px;
  margin-bottom: 50px;
  margin-top: 100px;
  position: relative;
}
.our_services_title_block:before{
  content: "";
    width: 100%;
    height: 3px;
    background: url(/wp-content/themes/books/assets/img/h2-bg.svg) repeat-x 50%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
    z-index: -1;

}
.our_services_title_block span{
  display: inline-block;
  vertical-align: top;
  background: #fff;
  z-index: 2;
  padding: 0 30px;
}
.our_services_title_block span a {
	text-decoration: 1px underline  #EE7502;
}
.our_services_title_block span a:hover {
	color: #EE7502;
}
.our_services_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;

}
.our_services_item {
  width: 28%;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  height: 300px;
}
.our_services_item:before{
  content: "";
  position: absolute;
  border-right: 1px dashed rgba(0, 0, 0, 0.1);

  width: 100%;
  height: 91%;
  left: 2px;
  bottom: 0;
  transform: translateY(-20px);
}
.our_services_item:after {
  content: "";
  position: absolute;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  width: 100%;
  left: -31px;
  bottom: -39px;
  transform: translateY(-20px);
}
.our_services_item.last:before{
  border-right: none;
}
.our_services_item img{
  float: left;
}
.our_services_item.bot_bord:after{
  border-bottom: none;
}
.our_services_title{
  margin: 10px 0 0 0;
}
.our_services_title {
  margin: 0px 0 0 20px;
  font-size: 24px;
  color: orange;
}
p.out_srvisec_subtitle {
  font-size: 17px;
  line-height: 30px;
  margin-top: 20px;
}
.our_services_item a {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 30px rgb(0 0 0 / 5%);
  border-radius: 30px;
  padding: 15px 40px;
  margin-top: 37px;
  cursor: pointer;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  display: block;
  z-index: 999;
}

.our_services_item a:hover {
  background: #f7f5f8;
}

.publishing_section_3{
  position: relative;
}
.publishing_section_3:before {
  position: absolute;
  content: "";
  height: 120%;
  width: 39%;
  right: -20px;
  bottom: -350px;
  background: url(/wp-content/uploads/vector_01_img) no-repeat;
  z-index: -1;
}
.publishing_section_3:after {
  position: absolute;
  content: "";
  height: 50%;
  width: 19%;
  left: -130px;
  bottom: 0;
  background: url(/wp-content/uploads/circle_img_02) no-repeat;
  z-index: -1;
}
.books_block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.book_block.first {
  border: 2px solid orange;
  z-index: 10;
  background-color: white;
  position: relative;
}
.book_block.first:before{
  background: url(/wp-content/uploads/pic_border_img_01) no-repeat;
  position: absolute;
  height: 100%;
  width: 105%;
  content: "";
  bottom: -9px;
  left: -12px;
  /* box-shadow: 0 0 3px 1px #80808087; */
  background-size: 100%;
}
.book_block.second{
  transform: translate(-50px, 30px);
  border: 2px solid orange;
  position: relative;
      width: 38%;
}
.book_block.second:before{
  background: url(/wp-content/uploads/pic_border_img_01) no-repeat;
  position: absolute;
  height: 100%;
  width: 105%;
  content: "";
  bottom: -10px;
  left: -13px;
  /* box-shadow: 0 0 3px 1px #80808087; */
  background-size: 100%;
}
.numbers_about_items {
  display: flex;
  margin: 140px auto;
  justify-content: space-between;
}
.numbers_about_item p:first-child {
  color: #EE7502;
  font-size: 64px;
}
.numbers_about_item p+p {
  font-size: 28px;
  color: #123153;
  padding-left: 30px;
}
.numbers_about_item {
  width: 27%;
}
.numbers_about_item{
  position: relative;
}
.numbers_about_item:before {
  position: absolute;
  background: url(/wp-content/uploads/ellipse_img_01) no-repeat;
  content: "";
  width: 86%;
  bottom: -118px;
  height: 200%;
  left: 13px;
  z-index: -1;
}
.publishing_section_6{
  position: relative;
  margin: 250px 0 100px;
}
.publishing_section_6:before{
  position: absolute;
  background: url(/wp-content/uploads/books_list_img_01) no-repeat;
  content: "";
  width: 100%;
  height: 170%;
  left: 0;
  bottom: -50px;
  content: none;
}
.text_block_center {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.text_block_center_image{
    position: absolute;
    left: -352px;
    top: -112px;
    width: 792px;
}


.list_text_publish{
  width: 56%;
  font-size: 17px;
line-height: 176%;
color: #123153;
position: relative;
}

.text_block_center p:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 210%;
  /*background: url(/wp-content/uploads/rectangle_img_01) no-repeat;*/
  background: url(/wp-content/uploads/pmimg-themes/books/assets/img/rectangle-7) no-repeat;
  right: -32px;
  z-index: -1;
  top: -90px;
}

/*.text_block_center p:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 90%;
  background: url(/wp-content/uploads/dots_group_img01) no-repeat;
  right: -90px;
  bottom: 91px;
  z-index: -1;
}*/

.publishing_section_7 {
  background: #F1EEF2;
  position: relative;
  height: auto;
  padding: 60px 30px;
}
.publishing_section_7:before {
  background: url(/wp-content/uploads/flower_group) no-repeat;
  content: "";
    width: 100%;
    height: 97%;
    position: absolute;
    left: 0;
    background-size: auto 100%;
    bottom: 0;
}
.publishing_section_7 .our_services_title_block{
  margin-top: 0px;
}
.whyarewe_blocks {
  display: flex;
  justify-content: space-between;
}
.whyarewe_block {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  width: 30%;
  background: white;
  padding: 30px;
}
.whyarewe_block p:first-child{
  font-size: 24px;
line-height: 39px;
color: #123153;
}
.whyarewe_block p+p{
  font-size: 17px;
line-height: 30px;
color: #76899F;
}
.whyarewe_block.first:before{
  position: absolute;
  background: url(/wp-content/uploads/num_one) no-repeat;
  content: "";
  width: 20%;
  height: 30%;
  left: 280px;
  top: -20px;
}
.whyarewe_block.second:before{
  position: absolute;
  background: url(/wp-content/uploads/num_two) no-repeat;
  content: "";
  width: 20%;
  height: 30%;
  left: 280px;
  top: -20px;
}
.whyarewe_block.third:before{
  position: absolute;
  background: url(/wp-content/uploads/num_three) no-repeat;
  content: "";
  width: 20%;
    height: 30%;
    left: 280px;
    top: -20px;
}
.publish_form_items {
  display: flex;
  justify-content: flex-end;
}
.publish_form_subitem {
  display: flex;
  flex-direction: column;
  width: 26%;
  margin-right: 35px;
}
.publish_form input[type=checkbox]:checked, .publish_form input[type=checkbox]:not(:checked), .publish_form input[type=radio]:checked, .publish_form input[type=radio]:not(:checked){
  position: inherit;
  left: auto;
  visibility: visible;
}
.publish_form_subitem label{
  font-weight: 400;
font-size: 17px;
line-height: 30px;
color: #76899F;
}

.publish_form_subitem label input[type="checkbox"]{
  display: none;
}

.publish_form_subitem label span.checkbox_type {
    position: relative;
    display: inline-block;
    width: 27px;
    height: 22px;
}

.publish_form_subitem label span.checkbox_type:before{
    position: absolute;
    content: '';
    z-index: 2;
    left: 0;
    width: 20px;
    height: 20px;
    top: 7px;
    border: 1px solid rgba(0,0,0,.1);
    background-color: #fff;
}

.publish_form_subitem label input[type="checkbox"]:checked + span.checkbox_type:before{
  background: url(/wp-content/themes/books/assets/img/vector_ar.svg) no-repeat center;
}


.publish_form_subitem label input[type="radio"]{
  display: none;
}

.publish_form_subitem label span.radio_type span.wpcf7-list-item-label {
    position: relative;
    display: inline-block;
    width: 27px;
    height: 22px;
}

.publish_form_subitem label span.radio_type span.wpcf7-list-item-label:before{
    position: absolute;
    content: '';
    z-index: 2;
    left: 0;
    width: 20px;
    height: 20px;
    top: 7px;
    border: 1px solid rgba(0,0,0,.1);
    background-color: #fff;
    border-radius: 10px;
  }

.publish_form_subitem label input[type="radio"]:checked+span.wpcf7-list-item-label:before{
  background: url(/wp-content/themes/books/assets/img/active.svg) no-repeat center;
  background-position: center 5px;
}




.publish_item_fix {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
.publish_form_subitem.width_fix{
  width: 16.5%;
}
.publish_form_items .publish_form_subitem:last-child{
  width: 40%;
}
.publish_item_fix .form-group {
  width: 48% !important;
}
.publish_form_subitem.width_fix input[type="text"]{
  display: block;
    width: 100%;
    height: auto;
    padding: 8px 15px;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
    color: #123153;
    background-color: #fff;
    background-image: none;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 3px;
    box-shadow: none;
    transition: border-color .3s,box-shadow .3s;
    margin-bottom: 10px;
}
.publish_form_subitem .form-group-btn {
    align-items: center;
    position: relative;
    display: flex;
    width: 100%;
    margin-left: -144px;
}

.publish_form_subitem .form-group-btn > span{
    padding: 15px 15px 15px 0;
    white-space: nowrap;
}

section.publishing_section_8{
  position: relative;
  margin: 30px 0 0;
  /*margin: 0;*/
}

section.publishing_section_8:before{
  /*position: absolute;
  content: "";
  background: url(/wp-content/uploads/publish_form_img) no-repeat;
  width: 40%;
  height: 110%;
  bottom: -80px;*/
  display: none;
}



section.publishing_section_8 .order_calculation {
    width: 100%;
    display: block;
    padding-left: 19%;
    position: relative;

}

section.publishing_section_8 .order_calculation:before {
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/publish_form_img) no-repeat;
  width: 683px;
    height: auto;
    bottom: 0;
    left: -352px;
    background-position: center;
    background-size: 100%;
    top: -130px;
}


.our_services_title_block.order_calculation_title {
    text-align: left;
    margin-left: 13%;
}


.our_services_title_block.order_calculation_title:before {
    content: "";
    width: 57px;
    height: 44px;
    background: url(/wp-content/themes/books/assets/img/dots_for_title.svg) no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
    z-index: -1;
}

.our_services_title_block.order_calculation_title span {
    background: none;
}

.our_services_title_block.order_calculation_title span:first-letter {
    color: #EE7502;
   }


.publish_form {
    background: #FAF9FB;
    padding: 50px 0 80px;
    display: block;
    width: 100%;
}

.publishing_section_7:after {
  background: url(/wp-content/uploads/ellipse_img_01) no-repeat;
  content: "";
  width: 10%;
  height: 100%;
  position: absolute;
  right: 0;
  /* background-size: 14.2%; */
  bottom: -321px;
}

.publish_form_subitem .form-group span{
  color:#EE7502;
  background: white;
}
.publish_form_subitem .form-group label{
  background: white;
}
.publish_books_slider{
  display: flex;
  margin: 0 auto;
  justify-content: center;
}
.publish_book{
  width: 63%;
  position: relative;
}
.publish_book:before {
  content: "";
  position: absolute;
  background: #F1EEF2;
  width: 150px;
  height: 190px;
  right: -20px;
  top: 20px;
}
.publish_book p{
  font-weight: 400;
font-size: 17px;
line-height: 30px;
margin-top: 16px;
}
.our_services{
  position: relative;
}
.our_services:after {
  position: absolute;
  content: "";
  height: 106%;
  width: 39%;
  right: 1080px;
  bottom: -380px;
  background: url(/wp-content/uploads/ellipse_img_02) no-repeat;
  z-index: -1;
}
section.publishing_section_4{
  position: relative;
}
section.publishing_section_4:before {
  position: absolute;
  right: 116px;
  top: 150px;
  content: "";
  width: 2.8%;
  height: 7.9%;
  background: url(/wp-content/uploads/lines_group) no-repeat;
}
.publishing_section_4:after{
  position: absolute;
  left: 0px;
  bottom: -150px;
  content: "";
  width: 10%;
  height: 7.9%;
  background: url(/wp-content/uploads/dots_group_img02) no-repeat;
}
.publishing_section_7 .our_services_title_block span{
  background: #F1EEF2;
  z-index: 2;
  position: relative;

}
section.publishing_section_7_1{
  position: relative;
}
section.publishing_section_7_1:before {
  position: absolute;
  left: 0px;
  bottom: -2px;
  content: "";
  width: 99%;
  height: 100%;
  background: url(/wp-content/uploads/circle_img_03) no-repeat;
}
section.publishing_section_7_1 p.our_services_title_block:after {
  z-index: -1;
  position: absolute;
  left: 1411px;
  bottom: -350px;
  content: "";
  width: 97%;
  height: 300px;
  background: url(/wp-content/uploads/circle_img_04) no-repeat;
}
section.publishing_section_7_1 p.our_services_title_block{
  position: relative;
}
section.publishing_section_7_1 p.our_services_title_block:after {
  z-index: -1;
  position: absolute;
  left: 1413px;
  bottom: 330px;
  content: "";
  width: 97%;
  height: 300px;
  background: url(/wp-content/uploads/circle_img_04) no-repeat;
}
section.publishing_section_7_1:after {
  position: absolute;
  left: 0px;
  bottom: -16px;
  content: "";
  width: 99%;
  height: 100%;
  background: url(/wp-content/uploads/ellipse_img_04) no-repeat;
  z-index: -1;
}
.publish_books_slider {
  position: relative;
}
.publish_books_slider:before{
  position: absolute;
  left: 1413px;
  bottom: 20px;
  content: "";
  width: 99%;
  height: 100%;
  background: url(/wp-content/uploads/circle_img_05) no-repeat;
  z-index: -1;
}

section.publishing_section_7_1 button.owl-prev,section.publishing_section_7_1 button.owl-next{
  cursor: pointer;
  position: absolute;
  bottom: 170px;
  right: -20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 4px !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 0 30px rgb(0 0 0 / 5%);

}
.publish_books_slider button.owl-prev{
  position: absolute;
    left: -80px;
    bottom: 180px;
    padding: 4px;
}
.publish_books_slider button.owl-prev 
.publish_books_slider button.owl-next{
  position: absolute;
  right: -40px;
  bottom: 160px;
  padding: 4px !important;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot{
  padding: 4px !important;
}
.publish_books_slider button:focus {
  outline: none !important;
}



.our_services_title_block.gray_title_block:before {
    content: "";
    width: 100%;
    height: 3px;
    background: url(/wp-content/themes/books/assets/img/h2-bg-gray.svg) repeat-x 50%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
    z-index: 1;
}
.whyarewe_block{
  position: relative;
}
.whyarewe_block:after {
  content: "";
  width: 4%;
  height: 13px;
  background: url(/wp-content/uploads/plus_icon) no-repeat;
  position: absolute;
  right: -40px;
  top: 50%;
  margin-top: -2px;
  z-index: 1;
}
.whyarewe_block.third::after{
  content: none;
}
section.publishing_section_5_1 .b-index-forma-box-out {
    height: 360px;
    margin-top: -190px;
}
section.publishing_section_5_1 .b-index-forma-box-out .wpcf7{
  transform: translateY(50px);
}
section.publishing_section_5_1 {
  margin: 100px 0;
  background: #FAF9FB;
}
section.publishing_section_5_1 .b-index-forma-box-out .b-index-forma-inf>div{
  font-size: 36px;
}
section.publishing_section_5_1 .b-index-forma-inf{
  width: 380px;

}
section.publishing_section_5_1 .b-index-forma-box-out .wpcf7 .form-group-double {
  margin: 0px -15px 20px;
}
.publish_item_fix div:last-child {
  width: 100% !important;
}
textarea.form-control::placeholder{
  text-align: left;
}
.publish_form_subitem.width_fix label {
  color: #76899F;
  font-weight: 400;
  background: #FAF9FB;
}
.publish_form_subitem .form-group-btn {
  align-items: center;
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  margin-left: 0px;
}
.publishing_section_5_1 .wpcf7-mail-sent-ok {
  top: -140px;
}
.publish_form_subitem label span.radio_type span.wpcf7-list-item-label:before{
  left: -22px;
}
.publish_form_subitem label span.radio_type span.wpcf7-list-item-label {
  width: 82%;
  margin-left: 20px;
}
.list_text_publish ul {
  margin-left: 21px;
}

@media (max-width: 1600px){

    .publish_form_subitem .form-group-btn {
        margin-left: -195px;
    }

    section.publishing_section_8 .order_calculation:before {
      width: 600px;
    }


  .numbers_about_item {
    width: 32%;
}



}


@media (max-width: 1500px){
  
section.publishing_section_8:before {
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/publish_form_img) no-repeat;
  width: 27%;
  height: 72%;
  bottom: 60px;
  background-size: 100%;
}

.book_block.second:before {
    left: -9px;
  }
} 

@media (max-width: 1200px) {
  .nav-btn.next-slide{
    left: 72%;
  }
  .vasut_book_item p {
    width: 100%;
    font-size: 26px;}
    .main_vasut_book_items{
      justify-content: center;
    }
    .numbers_about_items{
      flex-wrap: wrap;
    }
    .numbers_about_items {
      justify-content: space-around;
      flex-wrap: wrap;
  }
    .numbers_about_item {
      margin-bottom: 110px;
      width: 44%;
      height: 150px;
  }
  .publishing_section_6:before{
    background-size: 60%;
  }

  .text_block_center p:before {
    right: 70px;
    bottom: -80px;
    background-size: cover;
    width: 83%;
    height: 159%;
}

  .publish_book {
    width: 83%;
  }
  .publishing_section_7 {

    height: 550px;
  }
  .publishing_section_7:after{
    height: 73%;
  }

  .whyarewe_block.first:before{
    width: 22%;
    height: 30%;
    left: 194px;
  }
  .whyarewe_block.second:before {
    width: 22%;
    left: 194px;

}
.whyarewe_block.third:before {
  width: 22%;
  left: 192px;
}

.publishing_section_7:before{
  background-size: 37.2%;
}
/*section.publishing_section_8:before {
  height: 39%;
  background-size: 77%;
}*/
section.publishing_section_8 {
  margin: 0;
}

section.publishing_section_8 .order_calculation:before {
    width: 400px;
    left: -87px;
}

.publish_form_subitem .form-group-btn {
    margin-left: -182px;
}

.publish_form_subitem label {
    font-size: 15px;
}

.publish_form_subitem.width_fix input[type="text"] {
    font-size: 15px;
}

.publish_form_subitem .form-control {
    font-size: 15px;
}

.text_block_center_image {
    left: -75px;
    top: -45px;
    width: 500px;
}



}


@media (max-width: 1180px) {

  section.publishing_section_8 .order_calculation:before{
    display: none;
  }

  section.publishing_section_8 .order_calculation {
    padding-left: 0;
  }

  .publish_form_items {
    justify-content: center;
}

.publish_form_subitem.width_fix {
    width: 21%;
}

.publish_form_subitem .form-group-btn {
    margin-left: 0;
}

.publish_form_subitem .form-group-btn > span {
    white-space: inherit;
    text-align: left;
}

.whyarewe_blocks {
    flex-wrap: wrap;
}

.whyarewe_block {
    width: 47%;
    margin-bottom: 30px;
}


 .whyarewe_block.first:before{
    right: -23px;
    left: auto;
  }
  .whyarewe_block.second:before {
    left: auto;
    right: -23px;

}
.whyarewe_block.third:before {
  left: auto;
  right: -23px;
}

.publishing_section_7 {
    height: auto;
}

.publishing_section_7:after {
    bottom: -371px;
}

.publishing_section_7:before {
    background-size: 39.2%;
    bottom: 0;
    height: 71%;
}

section.publishing_section_4:before{
  content: none;
}

.book_block.first {
    width: 39%;
}

.book_block.first:before {
    left: -8px;
}

.book_block.second:before {
    bottom: -7px;
}

.text_block_center_image {
    width: 410px;
}

.text_block_center p:before {
    width: 80%;
    height: 132%;
}
section.publishing_section_7_1 button.owl-prev, section.publishing_section_7_1 button.owl-next{
  margin-left: 30px;
}
section.publishing_section_5_1 .b-index-forma-box-out{
  right: 0px;
  width: calc(50% - 10px);
    min-width: 330px;
}
.publish_form_subitem label {
  font-size: 17px;
}
}




@media (max-width: 991px) {
  .vasut_book_subitem {
    width: 100%;
  }

  .vasut_book_item p {
    width: auto;
    margin-top: 30px;
  }
  .main_vasut_book_items {
    justify-content: space-around;
  }
  .vasut_book_item {
    width: 47%;
  }
  .main_info_vasut_item {
    width: 54%;
  }
  .about_vasut_items {
    justify-content: space-around;
  }
  .delivery_vasut_item p {
    width: 100%;
  }
  .delivery_vasut_item {
    display: flex;
    flex-direction: column;
    width: 45%;
  }
  .order_vasut_book form input[type="text"],
  .order_vasut_book form input[type="email"] {
    width: 78%;
    height: auto;
    padding: 13px 13px;
  }
  .about_vasut_item {
    width: 88%;
  }
  .about_vasut_item.last {
    /* margin: 0 auto; */
    width: 52%;
    margin: 20px 0;
  }
  .new_gallery_item {
    width: 31%;
  }
  .vasut_book_item div {
     margin-top: 0; 
}

.nav-btn.next-slide {
  left: 100%;
}
.owl-carousel .prev-slide,.owl-carousel .next-slide{
  top: 37%;
}

.publishing_header {
    display: block;
}

.publisher_header_img {
    position: relative;
    z-index: 10;
    width: 60%;
    margin: -40px auto 0;
}

.publisher_header_img:before {
    height: 120px;
    width: 300px;
    top: 51%;
    left: -32%;
    z-index: -1;
}

.our_services_item {
    width: 44%;
}

.whyarewe_block {
    width: 100%;
}

.whyarewe_block.first:before {
    width: 100px;
    height: 62px;
}

.whyarewe_block.second:before {
    width: 100px;
    height: 62px;
}

.whyarewe_block.third:before {
    width: 100px;
    height: 62px;
}

.publishing_section_7:after{
  content: none;
}

.publishing_section_7:before {
    background-size: 350px;
    bottom: 0px;
    height: 480px;
}

.info_about::after{
  content: none;
}


.book_block.first {
    width: 32%;
}

.book_block.second {
    width: 30%;
}

.book_block.first:before {
    left: -7px;
    bottom: -6px;
}

.book_block.second:before {
    bottom: -5px;
    left: -5px;
}

.publishing_section_4:after{
  content: none;
}

.numbers_about_item {
    margin-bottom: 110px;
    width: 100%;
    height: 190px;
}

.numbers_about_item:before {
    bottom: -240px;
}

.numbers_about_item {
    width: 330px;
    height: 310px;
    margin: 0 auto;
    display: block;
}

.numbers_about_items {
    display: block;
}

.text_block_center_image {
    width: auto;
    display: block;
    margin: 0 auto 30px;
    max-width: 100%;
    position: relative;
    left: auto;
    top: auto;
    z-index: -1;
}

.text_block_center {
    display: block;
}

.text_block_center p {
    width: 100%;
}

.text_block_center p:before {
    background: url(/wp-content/uploads/pmimg-themes/books/assets/img/rectangle-7-min) no-repeat;
    width: 248px;
    height: 430px;
    right: -63px;
    top: -81px;

  }
  .whyarewe_block:after{
    top: 106%;
    width: 50%;
    right: 0;
  }
.publishing_section_8 .container{
  padding: 0 20px;
}
.publish_form {
  padding: 50px 20px 40px;
}
section.publishing_section_7_1 button.owl-prev, section.publishing_section_7_1 button.owl-next {
  right: -40px;
}
section.publishing_section_5_1{
  margin: auto;
}
section.publishing_section_5_1 .b-index-forma-inf {
  width: 275px;
}
.publish_form_subitem label span.radio_type span.wpcf7-list-item-label {
  width: 98%;
}
.list_text_publish {
  width: 100%;
  text-align: justify;
}
.info_about p {
  text-align: justify;
}
.list_text_publish p {
  margin-bottom: 20px;
}
}



@media (max-width: 767px) {
  .delivery_vasut_item p {
    width: 100%;
  }
  .delivery_vasut_item {
    width: 100%;
  }
  .vasut_book_subitem {
    width: 81%;
    margin-top: 51px;
  }

  .main_info_vasut_item {
    width: 100%;
  }
  .about_vasut_item {
    width: 92%;
  }
  .order_vasut_book {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .order_vasut_book input[type="text"] {
    width: 90%;
    margin: 10px;
  }
  .order_vasut_book a.btn-grad {
    width: 60%;
    margin: 0 auto;
    text-align: center;
  }
  .main_vasut_book_items:before {
    right: -10%;
    bottom: 7%;
  }
  .vasut_book_item.slider.owl-carousel.owl-theme.owl-loaded.owl-drag {
    width: 57%;
    margin: 0 auto;

}
.vasut_book_item {
  width: 81%;
  margin: 0 auto;
}
.nav-btn.next-slide {
  left: 95%;
}

.publisher_header_img:before {
    height: 100px;
    width: 100%;
    left: -22%;
    background-size: 100%;
}

.publish_form_items {
    display: block;
}

.publish_form_subitem.width_fix {
    width: 40%;
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
}

.publish_form_items .publish_form_subitem:last-child {
    width: 95%;
    display: block;
    margin: 0 auto;
}

.publish_form_subitem .form-group-btn{
    text-align: center;
    display: block;
}

.publish_form_subitem .form-group-btn > span {
    text-align: center;
}

.publish_form_subitem label {
    font-size: 15px;
    display: block;
}

.book_block.second {
    width: 41%;
}

.book_block.first {
    width: 42%;
}

.publishing_section_6 {
    margin: 0px 0 100px;
}



}

@media (max-width: 620px) {


.publish_form_subitem.width_fix {
    width: 40%;
    display: inline-block;
    vertical-align: top;
    margin-left: 14px;
}

}




@media (max-width: 580px) {
  .new_gallery_item {
    width: 41%;
  }
  .new_gallery_items {
    justify-content: space-around;
  }

  .vasut_book_item div {
    margin: 0;
  }

.our_services_item {
    width: 100%;
  }

 .publish_form_subitem.width_fix {
    width: 40%;
}

  .publish_item_fix {
    display: block;
}

  .publish_item_fix .form-group {
    width: 100% !important;
    display: block;
}

.publish_form_subitem {
    margin-right: 2px;
}

.publishing_section_7:before {
    background-size: 90%;
    bottom: 0px;
    height: 450px;
}

section.publishing_section_1::before {
    bottom: -76%;
    background: url(/wp-content/themes/books/assets/img/circle_img_min.svg) no-repeat;
    width: 80px;
    background-size: 100%;
}

.publisher_header_img {
    width: 85%;
}

.publisher_header_img img{
  margin-left: 36px;
}

.publisher_header_img:before {
    left: -3%;
}

.our_services_item a {
    margin-top: 0px;
    display: block;
    position: relative;
    padding: 20px 40px;
    width: 41%;
    text-align: center;
    margin-left: 60%;
}

.our_services_title {
    font-weight: 600;
}


.book_block.second {
    transform: translate(-15px, 30px);
    width: 47%;
}

.book_block.first {
    width: 47%;
}

.book_block.first:before {
    left: -5px;
    bottom: -4px;
}

.book_block.second:before {
    bottom: -4px;
    left: -5px;
}

.text_block_center p:before {
    width: 280px;
    height: 573px;
    right: -124px;
    top: -90px;
    background-size: 350px;
}



}


@media (max-width: 450px) {
  .text_block_center_image {
    margin: 0 auto 78px;
  }

.publishing_section_7 {

  padding: 60px 10px;
}
.whyarewe_block {
  margin-bottom: 40px;
}
.whyarewe_block p:first-child{
  font-weight: 700;
}
section.publishing_section_8 .container{
  padding: 0;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #EE7502;
}
.owl-dots {
  position: absolute;
  top: -35px;
  right: 42%;
}
button.owl-prev .vector_prev, button.owl-next .vector_next{
  position: relative;
}
button.owl-prev .vector_prev::before{
  content: "";
  background: url(/wp-content/uploads/arrow_slide_prev) no-repeat;
  width: 50px;
  height: 40px;
  left: 50px;
  top: -170px;
  position: absolute;
}
button.owl-next .vector_next::before{
  content: "";
  background: url(/wp-content/uploads/arrow_slide_next) no-repeat;
  width: 50px;
  height: 40px;
  right: 50px;
  top: -170px;
  position: absolute;
}
section.publishing_section_5_1 {
  margin: 0 0 100px;
}
section.publishing_section_5_1 .b-index-forma-box-out {
  min-width: 330px;
  margin: 0 auto;
}
section.publishing_section_5_1 .b-index-forma-inf {
  width: 405px;
}
.info_about::before {
  position: absolute;
  content: "";
  background: url(/wp-content/uploads/rectangle_img_01) no-repeat;
  height: 467px;
  width: 70%;
  top: -77px;
  left: -186px;
  z-index: -1;
  background-size: 100%;
}
.publish_form_subitem label {
  font-size: 16px;
}
}



@media (max-width: 425px) {
  .delivery_vasut_subitem {
    justify-content: center;
  }
  .delivery_vasut_subitem img {
    width: 150px;
  }
  .about_vasut_item.last {
    width: 82%;
  }
  .vasut_book_item div span {
    margin-left: 54px;
  }
  .order_vasut_book form input[type="submit"] {
    margin: 20px auto 0;
  }
  .order_vasut_book form {
    flex-wrap: wrap;
  }
  .order_vasut_book form input[type="text"],
  .order_vasut_book form input[type="email"] {
    width: 90%;
  }
  .vasut_book_item img {
    height: auto;
  }
  .main_info_vasut_item p:first-child {
    font-size: 150px;
  }
  .vasut_video_block a img {
    width: 95%;
  }
  .vasut_video_block:after {
    left: 41%;
  }
  .new_gallery_item {
    width: 41%;
  }
  .new_gallery_items {
    justify-content: space-around;
  }
  .nav-btn.next-slide {
    left: 100%;
}
.main_vasut_book_items:before {

  bottom: 16%;
}
.vasut_book_item.slider.owl-carousel.owl-theme.owl-loaded.owl-drag {
  width: 67%;
}
.vasut_book_item {
  width: 88%;
}
.vasut_book_subitem {
  width: 90%;
}

.our_services_item a {
    margin-top: 0px;
    display: block;
    position: relative;
    padding: 20px 40px;
    width: 174px;
    text-align: center;
    margin-left: 41%;
}
.publish_form_subitem.width_fix{
  margin-bottom: 20px;
}
.publish_form_items{
  padding: 0 10px;
}
.publish_form_subitem label {
  font-size: 14px;
}
.numbers_about_items {
  margin: 40px auto;

}
.publishing_section_5_1 .container{
  padding: 0;
}
.publishing_section_5_1 .form-group-double>.form-group {
  width: 90%;
    padding: 0;
    margin: 0 auto 10px;
}
section.publishing_section_5_1 {

  height: 430px;
}
p.our_services_title_block {
  margin-bottom: 75px;
}
p.our_services_title_block {
  text-align: center;
  font-weight: 400;
}
.our_services_title_block span{
  padding: 0;
}
.publish_form_subitem label {
  font-size: 16px;
}
.check-item.check-item-good-max label{
  font-size: 16px;
}
}




@media (max-width: 375px) {
  .vasut_book_subitem{
    flex-direction: column;
    text-align: center;
  }
  .vasut_book_item div span {
    margin: 10px 0 0 0;
  }
  .main_info_vasut_item p:first-child {
    font-size: 144px;
  }
  .new_gallery_item {
    width: 87%;
    text-align: center;
  }
  .main_vasut_book_items:before {
    bottom: 25%;
}
button.owl-prev .vector_prev::before,button.owl-next .vector_next::before{
  top: -166px;
}

.publishing_section_7:before {
    background-size: 100%;
    bottom: 0px;
    height: 468px;
}
.publish_book:before{
  height: 167px;
  right: -18px;
}
.publish_form_subitem.width_fix {
  width: 44%;
}
section.publishing_section_5_1 .b-index-forma-inf {
  width: 315px;
}
.info_about::before {

  top: -72px;
  left: -156px;
  z-index: -1;

}
p.our_services_title_block {

  font-size: 27px;
}
section.publishing_section_7_1:before,section.publishing_section_7_1:after {
  content: none;
}
p.our_services_title_block{
  margin-top: 0;
}
.publishing_section_6 {
  margin: 0px 0 30px;
}
.whyarewe_block p+p {
  font-size: 16px;
}
.whyarewe_block p:first-child {
  font-size: 18px;
}
.publishing_section_7 .container{
  padding: 0;
}
.books_block{
  margin-bottom: 80px;
}
.publish_form_subitem.width_fix {
  width: 46%;
}
.check-item.check-item-good-max label{
  padding: 0 0 0 26px;
}
.publish_form_subitem.width_fix{
  margin-left: 1px;
}
}

@media (max-width: 320px) {
  .main_info_vasut_item p:first-child {
    font-size: 94px;
  }
  /* .vasut_book_item img {
    height: 377px;
  } */
  .main_info_vasut_items {
    margin-top: 40px;
  }
  .delivery_vasut_items {
    width: 100%;
  }
  .vasut_video_block:after {
    left: 40%;
  }
  .publish_form_subitem.width_fix{
    margin-left: 4px;
  }
  .publish_form_subitem.width_fix {
    width: 44%;
}
.publish_book:before {
  width: 107px;
  height: 139px;
  right: -16px;
}
button.owl-prev .vector_prev::before, button.owl-next .vector_next::before {
  top: -133px;
}
.publish_form_subitem.width_fix {
  margin-left: 5px;
}
section.publishing_section_5_1 .b-index-forma-box-out {
  min-width: 280px;
}
section.publishing_section_5_1 .b-index-forma-inf {
  width: 276px;
}
.publish_form {
  padding: 50px 5px 40px;
}
.publish_form_subitem.width_fix {
  width: 47%;
}
.info_about::before{
  width: 100%;
  top: -72px;
  left: -206px;
}
section.publishing_section_5_1 {
  margin: 0 0 190px;
}
.publish_form_subitem.width_fix {
  width: 45%;
}
}

@media (max-width: 280px) {
  .vasut_video_block:after {
    left: 37%;
    top: 30%;
  }
  .delivery_vasut_item p {
    font-size: 17px;
  }
  .delivery_vasut_item p:last-child {
    display: flex;
    align-items: center;
  }
  .publish_form_subitem label span.radio_type{
    width: 22px;
  }
  button.owl-prev .vector_prev::before, button.owl-next .vector_next::before {
    top: -109px;
}
section.publishing_section_5_1 .b-index-forma-box-out {
  min-width: 240px;
}
section.publishing_section_5_1 .b-index-forma-inf {
  width: 246px;
}
.publish_book p {

  font-size: 15px;
}
.whyarewe_block p:first-child {
  font-size: 20px;
}
.publish_form_subitem.width_fix {
  width: 94%;
}
}


/* blog */
.blog_content_wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding: 60px 0;
}
.blog_content_wrap a.blog-single-item {
	width: calc((100% - 60px)/3);
	border-radius: 10px;
border: 1px solid rgba(0, 0, 0, 0.10);
background: #FFF;
	overflow: hidden;
}
.blog_content_wrap a.blog-single-item .blog-single-item-img {
	position: relative;
	height: 242px;	
	border-radius: 10px;
	overflow: hidden;
}
.blog_content_wrap a.blog-single-item img {
	width: 100%;
	height: 100%;	
	object-fit: cover;
}
.blog_content_wrap a.blog-single-item span {
	display: block;
	font-size: 18px;
	padding: 20px;
	transition: 0.25s color;
}
.blog_content_wrap a.blog-single-item:hover span {
	color: #EE7502;
}
.blog_content_wrap a.blog-single-item .blog-single-item-img:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.50) url('/wp-content/uploads/hover-icon.svg') no-repeat center;	 transition: 0.25s opacity;
	opacity: 0;
}
.blog_content_wrap a:hover .blog-single-item-img:before {
	opacity :1;
}
.blog_content_wrap .b-mk-paginations {
	display: block;
	width: 100%;
	text-align: center;
}
h2.title-mb {
	margin-bottom: 60px;
}
.b-index-uslizdat-box>div>div.b-index-uslizdat-box-wrap {
	display: flex;
	align-items: center;
	margin-bottom: 30px;	
}
.b-index-uslizdat-box>div>div.b-index-uslizdat-box-wrap >span {
	line-height: normal;
}
/* single */
.single-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px 98px;
	margin: 40px 0;
}
.b-single-content img {
	border-radius: 10px;
}
.b-single-content a:hover {
	color: #EE7502;
}
.b-single-sidebar {
	width: 35%;	
	max-width: 414px;
	flex-shrink: 0;
	overflow: hidden;
	padding-left: 36px;
	border-left: 1px dashed #76899F;
}
.b-single-content .e-block-acf-list, 
.b-single-content .e-block-core-gallery, 
.b-single-content .e-block-core-heading, 
.b-single-content .e-block-core-image, 
.b-single-content .e-block-core-paragraph {
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 20px;
	padding: 0;
}
.b-single-content .e-block-core-heading  {
	margin-top: 40px;
}
.b-single-content .e-block-core-heading .wp-block-heading {
	line-height: 1.2em;
}
.b-single-content p {
	font-size :17px;
	line-height: 140%;
}
.b-single-content a {
	text-decoration: underline;
	color: #006EB8;
}
.b-single-content .e-block-core-list ul, .b-single-content .e-block-core-list ol{
	font-size: 17px;
	line-height: 1.4em;
	margin-left: 40px;
}
.b-single-content .e-block-core-list ul .e-block-core-list-item:not(:last-child), 
.b-single-content .e-block-core-list ol .e-block-core-list-item:not(:last-child) {
	margin-bottom: 12px;
}
.b-single-sidebar #sidebar {
	display: flex;
	flex-direction: column;	
	gap: 120px 0;
}
.b-index-uslizdat-box-vertical {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div {
	float: none;
    width: 100%;
    display: flex;
    align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 30px 20px 30px 0;
	border-left: none;
	border-bottom: 1px dashed rgba(0,0,0,.1);
	text-align: left;
}

.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div>div.b-index-uslizdat-box-wrap {
	margin-bottom: 0;
}
.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div>div>img,
.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div>div>picture>img {
	max-width: 40px;
	margin-right: 20px;
}
.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div>div>span {
	font-size: 18px;
}
.sidebar-title {
	font-size: 24px;
	font-weight: 300;
	line-height: 138.27%;
}
.post-share {
	display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	gap: 8px;
}
.post-share-text {
	display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-banner.b-mk-banner {
	margin: 0;
}
.single-related, .single-related .our_services_title_block span {
	background: #FAF9FB;
}
.single-related {
	padding: 60px 0;
	text-align: center;
} 
/* faq */
.wp-block-yoast-faq-block .schema-faq-question {	
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
    color: #76899F;
    padding: 14px 50px 14px 30px;     
    transition: border-color .3s,color .3s;
}
.wp-block-yoast-faq-block .schema-faq-question:after {
	content: '';
	width: 8px;
	background: url(/wp-content/themes/books/assets/img/arr-down.svg) no-repeat 50%;
	transition: transform .3s,-webkit-transform .3s;
}
.wp-block-yoast-faq-block .schema-faq-question.faq-q-open:after {
	content: '';
	transform: rotate(90deg);
}

@media (max-width: 1200px) {
	.single-content {
		gap: 40px;
	}
}
@media (max-width: 991px) {
	.blog_content_wrap a.blog-single-item {
		width: calc(50% - 15px);
	}
	.single-content {
		flex-direction: column;
		margin: 0 0 40px 0;
	}
	.b-single-sidebar {
		width: 100%;
		max-width: 100%;
		padding-left: 20px;
	}
	.b-single-sidebar #sidebar {
		gap: 40px 0;
	}
	.b-index-uslizdat-box-vertical.b-index-uslizdat-box>div {
		max-width: 100%;
	}
}
@media (max-width: 768px) {
	.b-single-content .e-block-acf-list, .b-single-content .e-block-core-gallery, .b-single-content .e-block-core-heading, .b-single-content .e-block-core-image, .b-single-content .e-block-core-paragraph {
		margin-bottom: 10px;
	}
	.b-single-content .e-block-core-heading {
		margin-top: 20px;
	}
	.e-block-yoast-faq-block {
		padding-left: 15px;
		padding-right: 15px;
	}
	.wp-block-yoast-faq-block .schema-faq-question {
		font-size: 16px;
		line-height: 24px;		
		padding: 10px 35px 10px 20px;
	}
}
@media (max-width: 576px) {
	.blog_content_wrap {
		gap: 16px;
	}
	.blog_content_wrap a.blog-single-item {
		width: 100%;
	}
	h2.title-mb {
    margin-bottom: 20px;
}
	.blog-author .b-index-uslizdat-box>div {
		text-align: left;
	}
	.b-index-uslizdat-box>div>div.b-index-uslizdat-box-wrap {
		margin-bottom: 16px;
	}
	.post-share, .b-index-uslizdat-box-vertical.b-index-uslizdat-box>div {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* front page author */
.b-index-authors {
	padding-top: 90px;
}
.b-index-authors-col {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}
.b-index-authors-col h2 {
	flex-shrink: 0;
	text-align: left;
	margin: 0;
}
.b-index-authors-col h2 span {
	padding: 0;
}
.b-index-authors-wrap {
	display: flex;
}
.b-index-authors-item {
	display: flex; 
	align-items: center;
	gap: 16px;
	background: #E2E6EE;
	border-radius: 50px;	
	flex: 1 0 410px;	
	max-width: 108px;
	margin-left: -24px;
/* 	cursor: pointer; */
	overflow: hidden;
	transition: 0.4s margin, 0.4s max-width;
}
.b-index-authors-hidden {
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
	align-items: center;
	gap :16px;
	outline: none;
}
.b-index-authors-item img {
	flex-shrink: 0;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	border-style: solid;
	border-width: 4px;
	border-color: transparent;
}
.b-index-authors-item img.author-img {
	border-color: #fff;
}
.b-index-authors-item .name {
	display: block;
	color: #123153;	
	font-size: 20px;	
	font-weight: 600;
	line-height: 1.25em;
	transition: 0.4s color;
}
.b-index-authors-item .book {
	color: #123153;
}
.b-index-authors-item.active {
	max-width: 410px;	
}
.b-index-authors-item.active img.author-img {
	border-color: #E2E6EE;
}
/* a.b-index-authors-hidden:hover .name {
	color: #EE7502;
}  */
@media (min-width: 768px) {
	.b-index-authors-item:hover {
		margin-right: 18px;
   }
	.b-index-authors-item:hover img.author-img {
		border-color: #EE7502;
  }
}
@media (max-width: 1200px) {
	.b-index-authors-col {
		flex-direction: column;
	}
	.b-index-authors-wrap {
		max-width: 100%;
		padding-left: 24px;
		padding-bottom: 13px;
		overflow: auto;
		scrollbar-width: thin;
		scrollbar-color: #EE7502 #E2E6EE;
	}
	.b-index-authors-wrap::-webkit-scrollbar {   
		height: 1px; /* высота для горизонтального скролла */
		background-color: #E2E6EE;
	}

	/* ползунок скроллбара */
	::-webkit-scrollbar-thumb {
		background-color: #EE7502;
		border-radius: 1px;		
	}
}
@media (max-width: 768px) {
	.b-index-authors-item {		
		gap: 4px;		
		flex: 1 0 fit-content;	
		max-width: 46px;
		margin-left: -24px;	
	}
	.b-index-authors-hidden {		
		gap :4px;		
	}
	.b-index-authors-item img {
		width: 46px;
		height: 46px;		
		border-width: 2px;		
	}	
	.b-index-authors-item .name, .b-index-authors-item .book {			
		font-size: 12px;
		line-height: 1em;
		white-space: nowrap;
	}
	.b-index-authors-item.active {
		max-width: 100%;
	}
}

/* «Продукция»: серый блок «Нет в наличии», который выводится на странице
   товара вместо кнопки «Заказать книгу» и цены, когда для товара
   выключен переключатель «Есть в наличии?» (см. single-products.php,
   functions.php: registerProductInStockField / pm_product_in_stock). */
.b-out-of-stock {
	display: inline-block;
	vertical-align: top;
	font-size: 17px;
	line-height: 20px;
	color: #6b7280;
	padding: 14px 30px;
	border-radius: 30px;
	border: 1px solid rgba(0, 0, 0, .1);
	background: #e9ecef;
}


/* --- Intrinsic image dimensions -----------------------------------------
   Every <img> in the theme now carries width/height attributes so the
   browser can reserve the space before the file arrives. They are
   presentational hints with zero specificity, and main.css already sets
   img { height: auto; max-width: 100% }, so normal images are unaffected.
   The rules below are the exceptions: they pin one axis and left the other
   to the image's own proportions, which the new width attribute would
   otherwise take over and squash. */

.navbar-brand > img,
.navbar-brand > picture > img,
.b-sk-img > div > img,
.b-sk-img > div > picture > img,
.b-ysiz-all-img > img,
.b-ysiz-all-img > picture > img,
.b-product-slider .index-them-slider-item-img img {
	width: auto;
}



/* --- <picture> не должен участвовать в раскладке ------------------------
   Изображения обёрнуты в <picture> ради webp-версий. Обёртка сама по себе
   безразмерна, и там, где раньше флекс-элементом был <img>, им стал
   <picture> — портреты в блоке «Нам доверяют» сплющивались со 108px до 8px.
   display: contents убирает бокс обёртки из раскладки: <img> снова
   становится прямым элементом флекса, как было до внедрения webp. */

picture {
	display: contents;
}

/* /izdatelstvo/ «Издадим любую книгу!» block: it renders the full «Вопросы» form (id 35),
   which is taller than the name+phone form the fixed sizes above were tuned for. */
@media (min-width: 768px) {
	section.publishing_section_5_1 {
		padding-bottom: 90px;
	}
}
@media (min-width: 1200px) {
	section.publishing_section_5_1 .b-index-forma-inf {
		width: 340px;
	}
}
@media (max-width: 1199px) {
	section.publishing_section_5_1 .b-index-forma-box {
		padding-bottom: 50px;
	}
	section.publishing_section_5_1 .b-index-forma-box-out .wpcf7 .form-group-double {
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 767px) {
	section.publishing_section_5_1,
	section.publishing_section_5_1 .b-index-forma-box-out {
		height: auto;
	}
	section.publishing_section_5_1 .b-index-forma-inf {
		max-width: 100%;
	}
	section.publishing_section_5_1 .form-group-double > .form-group {
		width: 100%;
	}
}

/* /fotogalereya/ modal: on mobile the photo box is 241px high and the photo gets
   max-height: 100%. The width/height attributes from pm_img_dim() make the
   browser clamp width and height independently, so a 750x750 photo rendered
   350x241. Auto sizes restore the aspect-preserving max-width/max-height clamp. */
@media (max-width: 767px) {
	.modal-gallery-img > img,
	.modal-gallery-img > picture > img {
		width: auto;
		height: auto;
	}
}

/* Self-links lose their href (pmStripSelfLinks() in functions.php), and so
   does the «Цены» menu parent: keep them looking like the rest of their
   block, just without the link cursor. */
a[aria-current="page"]:not([href]),
.navbar-m > li > a:not([href]) {
	cursor: default;
}

/* The «Вопросы и ответы» block (acf/faq) in page content. The column it sits
   in has to match what the Yoast FAQ block it replaced occupied: 690px of
   content on desktop (.e-block-yoast-faq-block's own rule in main.css) and
   the same 15px inset from the screen edges on mobile that the plugin's
   stylesheet used to give it. The 15px padding here plus the 720px cap comes
   to exactly those 690px; the accordion rows inside are styled by the
   .b-index-faq-* rules the front page uses. */
.e-block-acf-faq {
	width: 100%;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
