@charset "UTF-8";
/* From: template-parts/long-comments.php */
img.long-banner {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.long-comments-block {
  background: #109BFF;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}

.long-comments-title {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.long-comments-button span {
  line-height: 0;
}

.long-comments-button {
  color: #000;
  font-size: 12px;
  text-transform: uppercase;
  padding: 14px 20px;
  background: #fff;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
}

.long-comments-dislike, .long-comments-like {
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.long-comments-dislike a, .long-comments-like a,
.long-comments-dislike a:hover, .long-comments-like a:hover {
  color: #fff !important;
}

.long-comments-dislike span, .long-comments-like span {
  font-size: 30px;
  font-weight: 500;
}

.long-comments-line {
  flex: 0 0 1px;
  margin: 0 30px;
  height: 52px;
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.long-comments-info {
  display: flex;
}

.long-comments-dislike {
  margin: 0 40px 0 0;
}

.long-comments-form, .long-comments-button {
  display: flex;
  align-items: center;
}

.switch-long-like {
  display: inline-block;
  margin: 0 5px;
}

.switch-long-like span {
  position: absolute;
  top: 10px;
  pointer-events: none;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  width: 50%;
  text-align: center;
  z-index: 1;
}

input.long-like-check-toggle-round-flat:checked + label .off {
  color: #000 !important;
}

input.long-like-check-toggle-round-flat:checked + label .on {
  color: #fff !important;
}

.switch-long-like span.off-text {
  display: none;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  position: absolute;
  left: -110px;
  text-transform: none;
  width: 100px;
  text-align: right;
  top: 2px;
}

.switch-long-like span.on-text {
  display: inline-block;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  position: absolute;
  left: -110px;
  text-transform: none;
  width: 100px;
  text-align: right;
  top: 2px;
}

input.long-like-check-toggle-round-flat:checked + label .off-text {
  display: inline-block;
}

input.long-like-check-toggle-round-flat:checked + label .on-text {
  display: none;
}

.switch-long-like span.on {
  left: 0px;
  padding-left: 4px;
  color: #000;
}

.switch-long-like span.off {
  right: 0px;
  padding-right: 2px;
  color: #fff;
}

.long-like-check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}

.long-like-check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.long-like-check-toggle-round-flat + label {
  padding: 0px;
  width: 84px;
  height: 46px;
  background-color: #70C3FF;
  border-radius: 46px;
  border: 1px solid #fff;
}

input.long-like-check-toggle-round-flat + label:before, input.long-like-check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.long-like-check-toggle-round-flat + label:before {
  top: 3px;
  left: 3px;
  bottom: 3px;
  right: 3px;
  border-radius: 50%;
}

input.long-like-check-toggle-round-flat + label:after {
  top: 3px;
  left: 4px;
  bottom: 3px;
  width: 38px;
  background-color: #fff;
  border-radius: 50%;
  transition: margin 0.2s;
}

input.long-like-check-toggle-round-flat:checked + label:after {
  margin-left: 37px;
}

.switch-long-like span a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.iconlong-dislike:before {
  content: url("/wp-content/themes/ITC_6.0/images/long-dislike.png");
}

.iconlong-like:before {
  content: url("/wp-content/themes/ITC_6.0/images/long-like.png");
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Запрещаем скролл всего окна */
}

/* Контент модального окна */
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px 20px;
  border-radius: 10px;
  width: 90%;
  position: relative;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  overflow: auto;
  max-height: 80vh;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.close:hover {
  color: red;
}

#wp-wpeditor-wrap {
  margin-bottom: 20px;
}

#wpeditor_ifr {
  min-height: 300px;
}

body.no-scroll {
  overflow: hidden;
}

.blog_button_blue {
  vertical-align: top;
  padding: 12px 20px;
}

.comment_like {
  background: #edfff1 !important;
}

.comment_dislike {
  background: #ffeded !important;
}

.comment-like-image {
  position: absolute;
  top: 0;
  right: 15px;
}

.button-blue {
  text-align: center;
  background: #109bff;
  color: #fff !important;
  padding: 10px 15px;
  display: block;
  border-radius: 50px;
  font-size: 14px;
  margin: 0 auto 50px;
  max-width: 200px;
}

.button-blue:hover, .button-blue:focus {
  color: #fff !important;
}

.entry-excerpt {
  display: flex;
}

.entry-excerpt a {
  color: #000;
}

@media (max-width: 768px) {
  .long-comments-block {
    flex-direction: column;
  }
  .long-comments-title {
    margin-bottom: 20px;
  }
  .long-comments-line {
    flex: auto;
    margin: 20px 0;
    height: 1px;
    width: 100%;
  }
  #wpeditor_ifr {
    min-height: 100px;
  }
  .modal-content {
    max-height: 90vh;
  }
}
