﻿/* starts */

.setable-rating {
  display: inline-block;
  position: relative;
  height: 30px;
  line-height: 1.2em;
  font-size: 30px;
}

.setable-rating label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  cursor: pointer;
}

.setable-rating label:last-child {
  position: static;
}

.setable-rating label:nth-child(1) {
  z-index: 5;
}

.setable-rating label:nth-child(2) {
  z-index: 4;
}

.setable-rating label:nth-child(3) {
  z-index: 3;
}

.setable-rating label:nth-child(4) {
  z-index: 2;
}

.setable-rating label:nth-child(5) {
  z-index: 1;
}

.setable-rating label input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.setable-rating label .icon {
  float: left;
  color: transparent;
}

.setable-rating label:last-child .icon {
  color: #000;
}

.setable-rating:not(:hover) label input:checked ~ .icon,
.setable-rating:hover label:hover input ~ .icon {
  color: #09f;
}

.setable-rating label input:focus:not(:checked) ~ .icon:last-child {
  color: #000;
  text-shadow: 0 0 5px #09f;
}

/* end stars */

.average-rating-topic {
    text-align: right;
}

@media(max-width: 767px) {
    .average-rating-topic {
        text-align: left;
    }
}

.emoji-star-topic {
    color: #09f;
    font-size: 1.2em;
}

.image-topic {
    width: 100%;
    border-radius: 3px;
}

.text-topic {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 2;
    text-align: justify;
}

.text-topic p {
    word-wrap: break-word;
    text-align: justify;
}

.text-topic img {
    width: 100%;
}




.fixed-left-button i, .fixed-top-button i {
    position: absolute;
    top: 45%;
    left: 20%;
    font-size: 1.3em;
}

.fixed-right-button i, .fixed-read-button i {
    position: absolute;
    top: 45%;
    right: 20%;
    font-size: 1.3em;
}

.fixed-left-button, .fixed-read-button, .fixed-right-button, .fixed-top-button {
    position: fixed;
    width: 20%;
    border: 1px solid #d7d8db;
    color: black;
    background: #f5f7fa;
}

.fixed-left-button, .fixed-right-button {
    height: 100%;
}

.fixed-top-button, .fixed-read-button {
    height: 15%;
    z-index: 1;
    cursor: pointer;
}

.fixed-left-button, .fixed-top-button {
    left: 7%;
}

.fixed-right-button, .fixed-read-button {
    right: 7%;
}

@media(max-width: 1300px) {
    .fixed-left-button, .fixed-top-button {
        left: 2%;
    }
    .fixed-right-button, .fixed-read-button {
        right: 2%;
    }
}

.progress-read {
    position: fixed;
    bottom: 10%;
    right: .5%;
    background: rgba(0, 0, 0, .4);
    border-radius: 3px;
    color: white;
    padding: 10px;
    z-index: 200;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}

.far-right {
    right: -20%;
}