.sidebar.hide {
  padding: 0 5px;
  width: 70px;
  overflow: hidden;
  box-shadow: 10px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.sidebar.hide ul {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide hr {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .logo img {
  width: 51px;
  height: 55px;
  object-fit: cover;
  object-position: -13px;
}

.sidebar.hide .logo {
  justify-content: center;
}

.sidebar.hide .nav .title {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .nav>ul>li>a>.text {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .nav>ul>li>a>.text {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .nav>ul>li>a>i {
  width: 100%;
  text-align: center;
}

.sidebar.hide .nav-2>ul>li>a>.text {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .nav-2>ul>li>a>.text {
  max-width: 0px;
  overflow: hidden;
}

.sidebar.hide .nav-2>ul>li>a>i {
  width: 100%;
  text-align: center;
}

.sidebar.hide .consultation {
  max-width: 0px;
  overflow: hidden;
}


.detail-nav {
  height: 100vh;
  width: 350px;
  background: rgb(42, 56, 72);
  background: linear-gradient(188deg, rgba(42, 56, 72, 1) 0%, rgba(67, 73, 64, 1) 69%, rgba(140, 125, 39, 1) 91%, rgba(185, 157, 24, 1) 98%, rgba(255, 205, 0, 1) 100%);
  margin-top: 60px;
}

.detail-nav {
  padding: 20px;
  position: fixed;
  top: 0;
  z-index: 99999;
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 1440px;
  transform: translateX(-50%);
  padding-left: 100px;
}
header.zindex {
  transform: none;
  left: none;
}

.detail-nav ul {
  max-height: 0px;
  overflow: hidden;
}

.detail-nav>ul {
  max-height: none;
  overflow: hidden;
  height: 100%;
  overflow: scroll;
  padding-bottom: 100px;
}

.detail-nav li.show>ul {
  max-height: none;
  overflow: hidden;
}

.detail-nav .detail_category {
  display: flex;
  color: #fff;
  cursor: pointer;
  padding: 3px;
  align-items: center;
}

.detail-nav .detail_category .open {
  margin-right: 10px;
  transition: 0.4s;
  transform: rotate(0deg);

}

.detail-nav li.show>.detail_category>.open {
  transform: rotate(135deg);
}

.detail-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  padding: 3px 3px;
  align-items: center;
}

.detail-nav li a i {
  margin-right: 10px;
}

.detail-nav li .post {
  margin-left: 2px;
}

.detail-nav li a:hover {
  background-color: rgb(255, 255, 255);
  color: #000;
}

.detail-nav .detail_category:hover {
  background-color: rgb(255, 255, 255);
  color: #000;
}

.detail-nav .detail_category:hover a {
  background-color: rgb(255, 255, 255);
  color: #000;
  display: block;
}

.content {
  width: 100%;
  overflow: hidden;
  padding-left: 70px;
}

.detail-nav ul {
  list-style: none;
  padding-left: 20px;
}

.detail-nav>ul {
  padding-left: 0;
}

.bz-main {}

.bz-main .bz-content {
  padding-top: 100px;
  padding-left: 400px;
  overflow: scroll;
  height: auto;
}

.bz-main .bz-content h1 {
  margin-bottom: 30px;
}

.bz-main .bz-content p {
  margin-bottom: 10px;
}

.bz-main .bz-content ul {
  margin: 10px 0;
  margin-left: 15px;
}

.bz-main .bz-content table {
  margin: 10px 0;
}

.bz-main .bz-content img {
  max-width: 100%;
  height: auto !important;
}

footer {
  padding-left: 400px;
}

.bz-main .bz-content .bz_detail_nav_category {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
}

.bz-main .bz-content .bz_detail_nav_category li {
  margin-bottom: 5px;
}

.bz-main .bz-content .bz_detail_nav_category li a {
  color: black;
  text-decoration: none;
  font-size: 20px;
}

.bz-main .bz-content .bz_detail_nav_category li a:hover {
  color: #c51f1f;
}

.bz-main .bz-content .bz_detail_nav_post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bz-main .bz-content .bz_detail_nav_post .image {
  width: 100%;
  height: 150px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.bz-main .bz-content .bz_detail_nav_post .image .overlay {
  background: #000;
  opacity: 0.7;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.bz-main .bz-content .bz_detail_nav_post .image .title {
  z-index: 11;
  position: absolute;
  color: #fff;
  width: 100%;
  padding: 10px;
}

.bz-main .bz-content .bz_detail_nav_post .image .cover_logo {
  z-index: 11;
  position: absolute;
  color: #fff;
  width: 25%;
  margin: 10px;
  right: 0;
  bottom: 0;
}

.bz-main .bz-content .bz_detail_nav_post a {
  color: #000;
  text-decoration: none;
}

.bz-main .bz-content .bz_detail_nav_post .post>.title {
  color: #000;
  text-decoration: none;
  margin-top: 5px;
}

.bz-main .bz-content .bz_detail_nav_post .post>.description {
  font-size: 14px;
  margin-top: 3px;
}


.rating {
  text-align: center;
  color: #fff;
  background: #181820;
  padding: 30px;
  margin: 50px 0;
}

.feedback {
  --normal: #414052;
  --normal-shadow: #313140;
  --normal-shadow-top: #4c4b60;
  --normal-mouth: #2e2e3d;
  --normal-eye: #282734;
  --active: #f8da69;
  --active-shadow: #f4b555;
  --active-shadow-top: #fff6d3;
  --active-mouth: #f05136;
  --active-eye: #313036;
  --active-tear: #76b5e7;
  --active-shadow-angry: #e94f1d;
  --hover: #454456;
  --hover-shadow-top: #59586b;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.feedback label {
  position: relative;
  transition: transform 0.3s;
  cursor: pointer;
}

.feedback label:not(:last-child) {
  margin-right: 20px;
}

.feedback label input {
  appearance: none;
  outline: none;
  border: none;
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--sb, var(--normal));
  box-shadow: inset 3px -3px 4px var(--sh, var(--normal-shadow)), inset -1px 1px 2px var(--sht, var(--normal-shadow-top));
  transition: background 0.4s, box-shadow 0.4s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.feedback label div {
  width: 40px;
  height: 40px;
  position: relative;
  transform: perspective(240px) translateZ(4px);
}

.feedback label div svg,
.feedback label div:before,
.feedback label div:after {
  display: block;
  position: absolute;
  left: var(--l, 9px);
  top: var(--t, 13px);
  width: var(--w, 8px);
  height: var(--h, 1px);
  transform: rotate(var(--r, 0deg)) scale(var(--sc, 1)) translateZ(0);
}

.feedback label div svg {
  fill: none;
  stroke: var(--s);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s;
}

.feedback label div svg.eye {
  --s: var(--e, var(--normal-eye));
  --t: 17px;
  --w: 7px;
  --h: 4px;
}

.feedback label div svg.eye.right {
  --l: 23px;
}

.feedback label div svg.mouth {
  --s: var(--m, var(--normal-mouth));
  --l: 11px;
  --t: 23px;
  --w: 18px;
  --h: 7px;
}

.feedback label div:before,
.feedback label div:after {
  content: "";
  z-index: var(--zi, 1);
  border-radius: var(--br, 1px);
  background: var(--b, var(--e, var(--normal-eye)));
  transition: background 0.4s;
}

.feedback label.angry {
  --step-1-rx: -24deg;
  --step-1-ry: 20deg;
  --step-2-rx: -24deg;
  --step-2-ry: -20deg;
}

.feedback label.angry div:before {
  --r: 20deg;
}

.feedback label.angry div:after {
  --l: 23px;
  --r: -20deg;
}

.feedback label.angry div svg.eye {
  stroke-dasharray: 4.55;
  stroke-dashoffset: 8.15;
}

.feedback label.angry input:checked {
  animation: angry 1s linear;
}

.feedback label.angry input:checked+div:before {
  --middle-y: -2px;
  --middle-r: 22deg;
  animation: toggle 0.8s linear forwards;
}

.feedback label.angry input:checked+div:after {
  --middle-y: 1px;
  --middle-r: -18deg;
  animation: toggle 0.8s linear forwards;
}

.feedback label.sad {
  --step-1-rx: 20deg;
  --step-1-ry: -12deg;
  --step-2-rx: -18deg;
  --step-2-ry: 14deg;
}

.feedback label.sad div:before,
.feedback label.sad div:after {
  --b: var(--active-tear);
  --sc: 0;
  --w: 5px;
  --h: 5px;
  --t: 15px;
  --br: 50%;
}

.feedback label.sad div:after {
  --l: 25px;
}

.feedback label.sad div svg.eye {
  --t: 16px;
}

.feedback label.sad div svg.mouth {
  --t: 24px;
  stroke-dasharray: 9.5;
  stroke-dashoffset: 33.25;
}

.feedback label.sad input:checked+div:before,
.feedback label.sad input:checked+div:after {
  animation: tear 0.6s linear forwards;
}

.feedback label.ok {
  --step-1-rx: 4deg;
  --step-1-ry: -22deg;
  --step-1-rz: 6deg;
  --step-2-rx: 4deg;
  --step-2-ry: 22deg;
  --step-2-rz: -6deg;
}

.feedback label.ok div:before {
  --l: 12px;
  --t: 17px;
  --h: 4px;
  --w: 4px;
  --br: 50%;
  box-shadow: 12px 0 0 var(--e, var(--normal-eye));
}

.feedback label.ok div:after {
  --l: 13px;
  --t: 26px;
  --w: 14px;
  --h: 2px;
  --br: 1px;
  --b: var(--m, var(--normal-mouth));
}

.feedback label.ok input:checked+div:before {
  --middle-s-y: 0.35;
  animation: toggle 0.2s linear forwards;
}

.feedback label.ok input:checked+div:after {
  --middle-s-x: 0.5;
  animation: toggle 0.7s linear forwards;
}

.feedback label.good {
  --step-1-rx: -14deg;
  --step-1-rz: 10deg;
  --step-2-rx: 10deg;
  --step-2-rz: -8deg;
}

.feedback label.good div:before {
  --b: var(--m, var(--normal-mouth));
  --w: 5px;
  --h: 5px;
  --br: 50%;
  --t: 22px;
  --zi: 0;
  opacity: 0.5;
  box-shadow: 16px 0 0 var(--b);
  filter: blur(2px);
}

.feedback label.good div:after {
  --sc: 0;
}

.feedback label.good div svg.eye {
  --t: 15px;
  --sc: -1;
  stroke-dasharray: 4.55;
  stroke-dashoffset: 8.15;
}

.feedback label.good div svg.mouth {
  --t: 22px;
  --sc: -1;
  stroke-dasharray: 13.3;
  stroke-dashoffset: 23.75;
}

.feedback label.good input:checked+div svg.mouth {
  --middle-y: 1px;
  --middle-s: -1;
  animation: toggle 0.8s linear forwards;
}

.feedback label.happy div {
  --step-1-rx: 18deg;
  --step-1-ry: 24deg;
  --step-2-rx: 18deg;
  --step-2-ry: -24deg;
}

.feedback label.happy div:before {
  --sc: 0;
}

.feedback label.happy div:after {
  --b: var(--m, var(--normal-mouth));
  --l: 11px;
  --t: 23px;
  --w: 18px;
  --h: 8px;
  --br: 0 0 8px 8px;
}

.feedback label.happy div svg.eye {
  --t: 14px;
  --sc: -1;
}

.feedback label.happy input:checked+div:after {
  --middle-s-x: 0.95;
  --middle-s-y: 0.75;
  animation: toggle 0.8s linear forwards;
}

.feedback label input:checked {
  --sb: var(--active);
  --sh: var(--active-shadow);
  --sht: var(--active-shadow-top);
}

.feedback label input:checked+div {
  --m: var(--active-mouth);
  --e: var(--active-eye);
  animation: shake 0.8s linear forwards;
}

.feedback label input:not(:checked):hover {
  --sb: var(--hover);
  --sht: var(--hover-shadow-top);
}

.feedback label input:not(:checked):active {
  transform: scale(0.925);
}

.feedback label input:not(:checked):active+div {
  transform: scale(0.925);
}

.feedback label:hover {
  transform: scale(1.08);
}

@keyframes shake {
  30% {
    transform: perspective(240px) rotateX(var(--step-1-rx, 0deg)) rotateY(var(--step-1-ry, 0deg)) rotateZ(var(--step-1-rz, 0deg)) translateZ(10px);
  }

  60% {
    transform: perspective(240px) rotateX(var(--step-2-rx, 0deg)) rotateY(var(--step-2-ry, 0deg)) rotateZ(var(--step-2-rz, 0deg)) translateZ(10px);
  }

  100% {
    transform: perspective(240px) translateZ(4px);
  }
}

@keyframes tear {
  0% {
    opacity: 0;
    transform: translateY(-2px) scale(0) translateZ(0);
  }

  50% {
    transform: translateY(12px) scale(0.6, 1.2) translateZ(0);
  }

  20%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(24px) translateX(4px) rotateZ(-30deg) scale(0.7, 1.1) translateZ(0);
  }
}

@keyframes toggle {
  50% {
    transform: translateY(var(--middle-y, 0)) scale(var(--middle-s-x, var(--middle-s, 1)), var(--middle-s-y, var(--middle-s, 1))) rotate(var(--middle-r, 0deg));
  }
}

@keyframes angry {
  40% {
    background: var(--active);
  }

  45% {
    box-shadow: inset 3px -3px 4px var(--active-shadow), inset 0 8px 10px var(--active-shadow-angry);
  }
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: inherit;
}

*:before,
*:after {
  box-sizing: inherit;
}


.post_detail .post_author {
  padding: 20px 0;
}

.post_detail .post_author h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

.post_detail .post_author .info {
  width: 100%;
  display: flex;
  background-color: #edecec;
  padding: 50px;
}

.post_detail .post_author .info img {
  width: 200px;
  object-fit: cover;
  height: 200px !important;
}

.post_detail .post_author .info .text {
  display: flex;
  flex-direction: column;
  height: 200px;
  justify-content: space-between;
  margin-left: 50px;
}

.post_detail .post_author .info .text .name {
  font-size: 25px;
  font-weight: 600;
}

.post_detail .post_author .info .text .position {
  font-size: 20px;
  font-weight: 400;
  height: 70px;
}

.post_detail .post_author .info .text a {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #0c0092;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .post_detail .post_author .info {
    display: flex;
    flex-direction: column;
    padding: 30px;
    align-items: center;
  }

  .post_detail .post_author .info img {
    margin-bottom: 20px;
  }

  .post_detail .post_author .info .text {
    margin-left: 0;
    text-align: center;
    height: auto;
  }
}


.post_detail .comments {
  /* box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;  */
  padding: 20px;
  /* border-radius: 10px; */
  margin-top: 50px;
  margin-bottom: 30px;
}

.post_detail .comments h3 {
  margin-bottom: 20px;
}

.post_detail .comments .comment {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  padding: 10px;
  margin-top: 10px;
}

.post_detail .comments .comment img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover;
  margin-right: 15px;
}

.post_detail .comments .comment .group {
  display: flex;
}

.post_detail .comments .comment .author {
  font-weight: 700;
  margin-bottom: 5px;
}

.post_detail .comments .comment .text {
  margin-bottom: 5px;
}

.post_detail .comments .comment .bottom {
  display: flex;
  font-size: 12px;
  color: #474747;
}

.post_detail .comments .comment .bottom .response {
  color: #0c0092;
  text-decoration: underline;
  cursor: pointer;
}

.post_detail .comments .comment .bottom .date {
  margin-right: 15px;
}

.post_detail .comments .comment .comment {
  margin-top: 15px;
}

.post_detail .comments .new_comment.hide {
  display: none;
}

.post_detail .comments .new_comment {
  margin-top: 20px;
  display: flex;
}

.post_detail .comments .new_comment textarea {
  width: 80%;
  padding: 10px;
  font-size: 14px;
  border-radius: 10px;
  resize: none;
  overflow: hidden;
  /* скрываем лишний текст, если он не помещается */
  height: auto;
}

.post_detail .comments .new_comment button {
  border-radius: 10px;
  margin-left: 15px;
  padding: 0 20px;
  border: none;
  background-color: #261d8b;
  color: #fff;
  max-height: 60px;
}

.detail-nav_buttonopen {
  display: none;
}

.detail-nav_buttonclose {
  display: none;
}

@media (max-width: 1200px) {
  .content {
    padding-left: 0px;
  }

  .detail-nav {
    top: 0;
    left: 0;
    width: 100%;
    transition: .3s;
    opacity: 1;
  }

  .detail-nav.hide {
    left: -100%; 
    opacity: 0;
  }

  .bz-main .bz-content {
    padding-left: 0px;
    padding-top: 30px;
  }
  
  .detail-nav_buttonopen {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(188deg, rgba(42, 56, 72, 1) 0%, rgba(67, 73, 64, 1) 69%, rgba(140, 125, 39, 1) 91%, rgba(185, 157, 24, 1) 98%, rgba(255, 205, 0, 1) 100%);
    padding: 10px;
    text-align: center;
    color: #fff;
    z-index: 999;
    font-weight: 500;
  }

  .detail-nav_buttonclose.show {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(188deg, rgb(72, 44, 42) 0%, rgb(73, 67, 64) 69%, rgba(140, 125, 39, 1) 91%, rgb(185, 62, 24) 98%, rgb(255, 68, 0) 100%);
    padding: 10px;
    text-align: center;
    color: #fff;
    z-index: 99999999;
    font-weight: 500;
  }
  footer {
    padding-left: 0px;
    padding: 20px;
  }
  .bz-main .bz-content .bz_detail_nav_post {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
}
