.polls  {
  border-top: 2px solid $colorYellow;
  padding: 1em 0;
  margin: 0 0 5px;
  @media screen and (min-width: 45.000em) {
    padding: 1.5em 5% 2em;
  }
  &__title {
    color: $colorPink;
  }
  &__inner {
    overflow: auto;
    @media screen and (min-width: 62.000em) {
      display: flex;
      justify-content: space-between;
    }
  }
  &__form {
    input[type=radio]~label:before {
      border-radius: inherit;
    }
  }
  &__wrapper {
    padding: 2em 1em;
    @media screen and (min-width: 45.000em) {
      padding: 2em 5% 2em 30%;
    }
  }

  &-results {
    &__item {
      display: block;
      padding: 0 0 10px;
      label {
        text-align: left;
      }
    }
  }

  &__choices {
    &-title {
      margin: 0;
    }
    &-subtitle {
      margin: 0 10px;
    }
    &-bar {
      background: $colorPink;
      border-radius: 20px;
      padding: 5px 0;
      color: #FFF;
      font-size: $font-xx-small;
      display: block;
      vertical-align: middle;
    }
    &-percentage {
      background: #fff;
      border: 3px solid $colorPink;
      border-radius: 20px;

    }
  }
  &--homepage {
    @media screen and (min-width: 45.000em) {
      padding: 0;
    }
    .polls__wrapper {
      @media screen and (min-width: 45.000em) {
        padding: 2em 0;
      }
    }
  }

  section {
    margin: 0 0 1em;
    @media screen and (min-width: 62.000em) {
      width: 45%;
    }
  }

  aside {
    margin: 0 10px 0;
    @media screen and (min-width: 62.000em) {
      width: 50%;
    }
  }

  //FORM
  fieldset {
    margin: 10px;
  }
  label {
    font-size: 23px;
  }
  .heading__macro {
    font-family: "FedraSansDevanagariB-Demi";
    @media screen and (min-width: 62.000em) {
      font-size: 38px;
    }
  }

  //THIS STAYS
  .vote {
    &__item {
      display: inline-block;
      vertical-align: top;
    }
    &__icon {
      color: $colorGrey;
      display: inline-block;
      font-family: "FedraSansDevanagariB-Demi";
      font-size: 18px;
      font-weight: bold;
      text-align: center;
      vertical-align: middle;
      word-break: break-word;
      word-wrap: break-word;
      margin: 0 12px 6px 5px;
      &:before {
        background-image: url('/static/img/icons/chhaajaa/polls.png');
        background-position: 4px 0;
        background-repeat: no-repeat;
        background-size: 80%;
        content: "";
        display: block;
        height: 36px;
        width: 36px;
        margin: 0 auto 4px;
      }
      &:hover, &:focus, &:active {
        opacity: 0.8;
        transition: opacity 1s ease;
        &:before {
          background-position: 4px -45px;
        }
      }
    }
  }
}



//RADIO BUTTONS OVERRIDES
#polls_form {
  input[type="checkbox"] ~ label,
  input[type="radio"] ~ label {
    color: $colorPink;
    &:before {
      border: 5px solid $colorPink !important;
      transform: rotate(45deg);
      width: 18px;
      height: 18px;
    }
    &:active {
      color: $colorPink;
    }
  }

  input[type="checkbox"],
  input[type="radio"] {
    &:checked + label:before {
      background: $colorPink;
    }
  }
  
  .active:before {
    background: $colorPink;
  }
}
