.my-icon {
  position: relative;
  display: inline-block;
  height: 1em;
}
.my-icon svg {
    width: auto;
    height: 100%;
}

/* Color palette */
:root {
  --sage: #8bc55e;
  --red: #f33f3e;
}
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  background-color: #eee;
  color: #212121;
  overflow: hidden;
}
.poll-app {
  position: relative;
  font-size: 17px;
  text-align: center;
  background-image: url("//cs.specials.pikabu.ru/apps/polls/assets/img/bg/pattern.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-transition: opacity .25s 0s ease;
  -o-transition: opacity .25s 0s ease;
  transition: opacity .25s 0s ease;
}
.poll-app.loading {
    pointer-events: none;
    opacity: .9;
}
.poll-app code {
    font-family: 'PT Mono', monospace;
    background: #e3e3e3;
    word-wrap: break-word;
    -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
    padding: 0.1rem 0.3rem 0.2rem;
    border-radius: 0.2rem;
    font-size: 90%;
    text-align: left;
    display: block;
}
.poll-question {
  position: relative;
  padding: 29px 24px 26px;
  max-width: 700px;
  margin: 0 auto;
}
.poll-question__numbers {
    margin-bottom: 11px;
    color: #a3a3a3;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.poll-question__numbers ._current {
      padding-right: 4px;
      font-weight: bold;
      color: #8bc55e;
      color: var(--sage);
}
.poll-question__numbers ._all {
      padding-left: 4px;
}
.poll-question__text {
    font-weight: bold;
}
.poll-question__text a {
      color: #8bc55e;
      color: var(--sage);
      text-decoration: none;
}
.poll-question__answers {
    position: relative;
    margin: 20px 0;
}
.poll-question__mstitle {
    font-size: 13px;
    padding-top: 8px;
    color: #666;
}
.poll-answer {
  position: relative;
  margin-bottom: 8px;
  padding: 8px 16px;
  border: 3px solid #e3e3e3;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: all .25s 0s ease;
  -o-transition: all .25s 0s ease;
  transition: all .25s 0s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.poll-answer__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.poll-answer__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #f2f2f2;
    -webkit-transition: all .5s 0s ease;
    -o-transition: all .5s 0s ease;
    transition: all .5s 0s ease;
}
.poll-answer__text {
    position: relative;
    font-size: 15px;
}
.poll-answer__result {
    position: relative;
    padding-top: 2px;
    font-size: 13px;
    color: #757575;
}
.poll-answer:hover {
    border-color: #d9d9d9;
}
.poll-answer.-voted {
    border-color: #8bc55e;
    border-color: var(--sage);
}
.poll-answer.-voted .poll-answer__bar {
      background-color: #e8f3df;
}
.poll-answer.-voted .poll-answer__result {
      font-weight: bold;
      color: #6c9b45;
}
.poll-answer.-nope {
    pointer-events: none;
}
.poll-answer.-wrong {
    border-color: #f33f3e;
    border-color: var(--red);
}
.poll-answer.-wrong .poll-answer__bar {
      background-color: #f3dfdf;
}
.poll-answer.-wrong .poll-answer__result {
      color: #e87473;
}
.poll-comment {
  position: relative;
  margin: 0 auto 16px;
  max-width: 400px;
}
.poll-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 20px;
  font-weight: bold;
}
.poll-nav__col.-first {
    min-width: 80px;
    text-align: left;
}
.poll-nav__col.-middle {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.poll-nav__col.-last {
    min-width: 80px;
}
.poll-nav__button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.poll-nav__button.-prev {
      color: #999;
}
.poll-nav__button.-prev .my-icon {
        position: relative;
        -webkit-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
                transform: rotate(-180deg);
        font-size: 12px;
        padding-right: 4px;
}
.poll-nav__button.-next {
      color: #8bc55e;
      color: var(--sage);
}
.poll-nav__button.-next .my-icon {
        padding-left: 4px;
        font-size: 12px;
}
@media screen and (max-width: 559px) {
.poll-question {
    padding: 24px 16px;
}
.poll-question__numbers {
      text-align: left;
}
.poll-question__text {
      text-align: left;
}
.poll-question__mstitle {
      text-align: left;
}
.poll-nav__col.-first {
    padding-right: 6px;
    min-width: 0;
}
.poll-nav__col.-last {
    min-width: 0;
}
.poll-nav__button {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    min-height: 42px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.poll-nav__button.-prev {
      color: #8bc55e;
      color: var(--sage);
      background-color: #eee;
      width: 42px;
}
.poll-nav__button.-prev ._text {
        display: none;
}
.poll-nav__button.-prev .my-icon {
        font-size: 14px;
        padding-right: 0;
}
.poll-nav__button.-next {
      font-size: 14px;
      text-transform: uppercase;
      background-color: #8bc55e;
      background-color: var(--sage);
      color: #fff;
}
.poll-nav__button.-next .my-icon {
        display: none;
}
}
@media screen and (min-width: 560px) {
.poll-question__answers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.poll-answer {
    height: 100%;
    margin-bottom: 0;
}
.poll-answer__container {
    margin-bottom: 8px;
    width: 50%;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}
.poll-answer__container:nth-child(odd) {
      padding-right: 4px;
}
.poll-answer__container:nth-child(even) {
      padding-left: 4px;
}
.poll-question__answers.-asColumn .poll-answer__container {
    width: 100%;
    padding: 0;
}
}

/* Color palette */
:root {
  --sage: #8bc55e;
  --red: #f33f3e; }

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0; }

body {
  font-size: 16px; }

