/*
	Author URI: https://dennikstandard.sk
	Description: WordPress téma pre denník Štandard diskusie
	Version: 1.2
*/

.discuss-reactions {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.22s ease;
}

.discuss-reactions.visible {
  opacity: 1;
}

.discuss-reactions:hover,
.discuss-reactions:focus {
  opacity: 0.6;
}

.discuss-reactions svg {
  display: block;
  fill: #000f30;
}
/* special issue fix */
.single-pro .single__content .discuss-reactions h4,
.single__content .discuss-reactions h4 {
  margin: 0;
  color: black;
}

.discuss-reactions h4 {
  margin: 0;
  font-weight: 100;
  margin-top: 1px;
  line-height: 1;
  height: 19px;
  font-family: "GT America", sans-serif, "Sharp Grotesk Bold 15",
    "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial",
    "Apple Color Emoji", "Segoe UI Emoji";
}

.discuss-reactions .discussion-arrow {
  stroke: #000;
  width: 12px;
  position: relative;
  height: 5px;
  top: -2px;
  left: 7px;
}

.discussion-iframe {
  background: white;
  position: fixed;
  top: 0;
  right: -560px;
  bottom: 0;
  width: 100%;
  max-width: 560px;
  height: 100%;
  z-index: 100;
  padding: 0;
  padding: 40px 0 40px 16px;
  box-shadow: 0 0 16px rgb(0 0 0 / 16%);
  transition: transform 0.32s ease;
  overflow: hidden;
}

@media (max-width: 769px) {
  .discussion-iframe {
    right: 0;
    bottom: -100%;
    top: auto;
    max-width: 100%;
  }
}

.discussion-iframe iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.discussion-iframe.active {
  transform: translate(-560px);
}

@media (max-width: 769px) {
  .discussion-iframe.active {
    height: 90%;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    max-width: 100%;
    transform: translate(0);
  }
}

.close-icon {
  display: none;
  position: absolute;
  top: 24;
  right: 19px;
  padding: 5px;
  cursor: pointer;
  box-sizing: content-box;
  opacity: 1;
  transition: opacity 0.32s ease 0s;
}

.close-icon:hover,
.close-icon:focus {
  opacity: 0.6;
}

.discussion-iframe.active .close-icon {
  display: block;
}
