<commit_before>// Table of Contents
//
// 01. Votes and supports
// 02. New participation
// 03. Show participation
// 04. List participation
// 05. Featured
// 06. Proposals successful
// 07. Polls
//

// 01. Votes and supports
// ----------------------

@mixin votes {
  background: $votes;
  margin: 0 rem-calc(-12);
  padding: rem-calc(14) rem-calc(12);
  position: relative;

  .icon-like, .icon-unlike {
    background: white;
    border: 2px solid $votes;
    border-radius: rem-calc(3);
    color: $text-light;
    display: inline-block;
    font-size: rem-calc(30);
    line-height: rem-calc(30);
    padding: rem-calc(3) rem-calc(6);
    position: relative;

    &:hover, &:active {
      border-color: white;
      color: white;
      cursor: pointer;
      opacity: 1 !important;
    }
  }

  .icon-like {

    &:hover, &:active {
      background: $like;
    }
  }

  .icon-unlike {

    &:hover, &:active {
      background: $unlike;
    }
  }

  .like, .unlike {
    line-height: rem-calc(48);
    vertical-align: super;

    span.percentage {
      color: white;
      display: inline-block;
      font-size: rem-calc(16);
      line-height: $line-height*2;
      padding-left: rem-calc(8);
      vertical-align: top;
    }
  }

  .voted {

    .icon-like, .icon-unlike {
      border-color: white;
      color: white;
    }

    .icon-like {
      background: $like;
    }

    .icon-unlike {
      background: $unlike;
    }
  }

  .no-voted {

    .icon-like, .icon-unlike {
      opacity: .5;
    }
  }

  .total-votes {
    color: white;
    float: right;
    line-height: $line-height*2;
  }

  .divider {
    margin: 0 rem-calc(6);
  }
}

@mixin supports {
  background: $proposals;
  margin: 0 rem-calc(-12);
  padding: rem-calc(14) rem-calc(12);
  position: relative;

  .progress {
    background-color: rgba(255,255,255,.8);
    height: $line-height/2;

    .meter {
      background: $like;
      display: block;
      height: $line-height/2;
    }
  }

  .percentage {
    font-size: rem-calc(10);
    color: $brand;
    vertical-align: top;
    position: absolute;
    top: 13px;
    right: 20px;
  }

  abbr {
    color: white;

    &[title] {
      border-bottom: 1px dotted white;
    }
  }

  .button-support {
    background: white;
    color: $text;
    display: inline-block;
    font-size: $small-font-size;
    margin-top: rem-calc(12);

    &:hover {
      background: darken($proposals, 35%);
      color: white;
      cursor: pointer;
    }

    &:active {
      opacity: .75;
    }
  }

  .total-supports {
    color: white;
    text-align: center;
    font-size: $small-font-size;

    span {
      display: block;
    }
  }

  .divider {
    margin: 0 rem-calc(6);
  }

  .supported {
    color: white;
    margin-top: rem-calc(12);
  }
}

.message {
  @include supports;
  background: none;
  border-top: 0;

  @include breakpoint(medium) {
    border-left: 1px solid $border;
    margin: $line-height rem-calc(-25) 0 rem-calc(12);
  }

  p {
    font-size: $small-font-size;
  }
}

.participation-not-allowed {
  background: $warning-bg;
  color: $color-warning;
  height: 100%;
  left: 0;
  line-height: $line-height;
  padding: $line-height $line-height/2;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 2;

  p {
    color: $color-warning !important;
    margin: 0 rem-calc(12);
    text-align: left;
  }

  a {
    color: $color-warning !important;
    font-weight: bold;
    text-decoration: underline;
  }
}

.reply .participation-not-allowed {
  padding-right: $line-height/2;
  padding-top: $line-height/6;
  text-align: right;
}

// 02. New participation
// ---------------------

.debate-form,
.proposal-form,
.spending-proposal-form {

  .icon-debates, .icon-proposals, .icon-budget {
    font-size: rem-calc(50);
    line-height: $line-height;
    opacity: .5;
  }

  .icon-debates {
    color: $debates;
  }

  .icon-proposals {
    color: $proposals;
  }

  .icon-budget {
    color: $budget;
  }

  .recommendations {
    list-style-type: none;
    margin-left: 0;
    margin-top: $line-height;

    li {
      font-size: $small-font-size;
      margin: $line-height/2 0;

      &:before {
        content: "l ";
        font-family: "icons" !important;
      }
    }
  }
}

.debate-form {

  .recommendations li:before {
    color: $debates;
  }
}

.proposal-form {

  .recommendations li:before {
    color: $proposals;
  }
}

// 03. Show participation
// ----------------------

.debate-show, .proposal-show, .investment-project-show {

  p {
    word-wrap: break-word;
  }

  .callout.proposal-retired {
    font-size: $base-font-size;
  }

  .social-share-full .social-share-button {
    display:inline;
  }

  .whatsapp:before {
    background-color: #43d854;
    color: white;
    font-size: 1.7em;
    margin-left: rem-calc(0.5);
    padding: rem-calc(9.5) rem-calc(9.8);
    vertical-align: rem-calc(10);
  }

  .edit-debate, .edit-proposal {
    margin-bottom: 0;
  }

  .debate-info, .proposal-info, .investment-project-info {
    clear: both;
    color: $text-medium;
    font-size: $small-font-size;
    min-height: $line-height*2;
    position: relative;

    a {
      color: $text-medium;
    }

    p {
      font-size: $small-font-size;
      line-height: $line-height;
      margin: 0;
    }

    .author-deleted {
      left: 0;
      top: 4px;
    }

    .author.deleted {
      margin-left: rem-calc(48);
    }
  }

  .debate-description, .proposal-description {
    font-size: rem-calc(15);
    line-height: rem-calc(30);
  }

  ul, ol {
    margin: rem-calc(12) 0;

    li {
      font-size: rem-calc(15);
      margin-bottom: rem-calc(15);
    }
  }

  .author-photo {
    line-height: $line-height*2;
    margin-right: rem-calc(6);
    vertical-align: middle;
    width: 32px;
  }

  .author {
    font-weight: bold;

    a {
      color: $link !important;

      &:hover {
        color: $link-hover !important;
      }
    }
  }

  aside {

    h3 {
      border-top: 2px solid $brand;
      display: inline-block;
      font-size: rem-calc(16);
      margin: -1px 0 rem-calc(12);
      padding-top: rem-calc(6);
      text-transform: uppercase;
    }
  }

  blockquote {
    margin-top: rem-calc(12);
    padding-top: 0;
    font-size: rem-calc(15);
    line-height: rem-calc(30);
  }

  .document-link, .video-link {
    border: 1px solid $border;
    display: block;
    margin: $line-height/2 0;
    padding: $line-height/2;
    position: relative;

    a {
      padding-left: rem-calc(24);
    }

    :before {
      color: #007BB7;
      content: "G";
      font-family: "icons" !important;
      font-size: rem-calc(24);
      left: rem-calc(6);
      padding-top: rem-calc(3);
      position: absolute;
      top: 0;
    }
  }

  .video-link {

    :before {
      color: #CC181E;
      content: "D";
    }
  }

  .votes {
    @include votes;
    border: 0;
    border-radius: 0;
    margin: 0;

    .total-votes {
      display: block;
      float: none;
      line-height: $line-height;
    }

    @include breakpoint(small + rem-calc(1) and medium down) {
      .in-favor, .against {
        text-align: left;
        width: rem-calc(100);
      }
    }

    .divider {
      display: none;
    }

    @include breakpoint(medium) {
      .divider {
        display: inline-block;
      }
    }
  }

  .supports {
    @include supports;
    border: 0;
    border-radius: 0;
    margin: 0;

    .total-supports {
      display: block;
      float: none;
      line-height: $line-height;
    }
  }

  .leave-comment {
    display: inline-block;
    margin-top: rem-calc(24);
  }

  .tags {
    display: block;

    a {
      margin-right: rem-calc(6);
    }
  }
}

.bullet {
  color: $border;
}

.investment-project-show p {
  word-break: break-word;
}

// 04. List participation
// ----------------------

.debates-list, .proposals-list, .investment-projects-list {

  @include breakpoint(medium) {
    margin-bottom: rem-calc(48);
  }
}

.investment-projects-list {

  @include breakpoint(medium) {
    min-height: $line-height*15;
  }
}

.debate, .proposal, .investment-project {
  margin-bottom: 0;
  margin-top: 0;

  .panel {
    background: white;
    border: 1px solid;
    border-color: #e5e6e9 #dfe0e4 #d0d1d5;
    border-radius: 0;
    box-shadow: 0px 1px 3px 0 $border;
    margin-bottom: rem-calc(12);
    min-height: rem-calc(192);
    padding: rem-calc(12) rem-calc(12) 0 rem-calc(12);

    @include breakpoint(medium) {
      margin-bottom: rem-calc(-1);
      padding-bottom: rem-calc(12);
    }

    .label-debate, .label-proposal, .label-investment-project {
      background: none;
      clear: both;
      display: block;
      font-size: rem-calc(12);
      font-weight: bold;
      line-height: $line-height;
      padding-bottom: 0;
      padding-left: 0;
      padding-top: 0;
      text-transform: uppercase;
    }

    .label-debate {
      color: $debates;
    }

    .label-proposal {
      color: $proposals;
    }

    .label-investment-project {
      color: $budget;
    }

    h3 {
      font-weight: bold;
      margin: 0;

      a {
        color: $text;
      }
    }

    .debate-content, .proposal-content, .investment-project-content {
      margin: 0;
      min-height: rem-calc(180);
      position: relative;

      .tags {
        display: block;
      }
    }

    .icon-debates, .icon-proposals, .icon-budget {
      font-size: rem-calc(18);
      line-height: $line-height;
      margin-left: rem-calc(6);
      top: 0;
    }

    .icon-debates {
      color: $debates;
    }

    .icon-proposals {
      color: $proposals;
    }

    .icon-budget {
      color: $budget;
      font-size: $small-font-size;
    }

    .debate-info, .proposal-info, .investment-project-info {
      color: $text-medium;
      font-size: $small-font-size;
      margin: rem-calc(6) 0 0;

      .icon-comments {
        font-size: rem-calc(16);
        vertical-align: top;
      }

      a {
        color: $text-medium;
      }
    }

    .debate-description, .proposal-description, .investment-project-description {
      color: $text;
      font-size: rem-calc(13);
      height: rem-calc(72);
      line-height: $line-height;
      margin-bottom: rem-calc(12);
      margin-top: 0;
      overflow: hidden;
      position: relative;

      a {
        color: $text;
      }

      ul, ol {

        li {
          font-size: rem-calc(13);
          margin-bottom: rem-calc(12);
        }
      }
    }

    .truncate {
      background: image-url('truncate.png');
      background-repeat: repeat-x;
      bottom: 0;
      height: 24px;
      position: absolute;
      width: 100%;
    }

    p {
      color: $text;
    }
  }

  .divider {
    display: none;
  }

  @include breakpoint(medium) {
    .divider {
      display: inline-block;
    }
  }
}

.more-info {
  clear: both;
  color: $text-medium;
  font-size: $small-font-size;

  a {
    color: $text-medium;
  }
}

.debate {

  .votes {
    @include votes;
    border: 1px solid $votes;
    margin: 0 rem-calc(-12);

    @include breakpoint(medium) {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      margin: 0 rem-calc(-25) 0 rem-calc(12);
    }

    &:after {
      content: none;
      position: absolute;
      display: block;
      border-style: solid;
      border-color: #166387 transparent transparent transparent;
      bottom: -14px;
      border-left-width: 0;
      border-right-color: transparent;
      right: -1px;
      border-width: 13px 13px 0 0;

      @include breakpoint(medium) {
        content: "";
      }
    }

    .total-votes {
      display: inline-block;
      line-height: $line-height;
      margin-left: rem-calc(24);
      padding-top: rem-calc(12);
      vertical-align: top;

      @include breakpoint(medium) {
        display: block;
        float: none;
        line-height: $line-height*2;
        margin-left: 0;
        padding-top: 0;
      }
    }

    @include breakpoint(medium) {
      .like, .unlike {

        span.percentage {
          display: block;
          line-height: $line-height/2;
        }
      }
    }
  }
}

.proposal {

  .supports {
    @include supports;
    border: 1px solid $proposals;
    margin: 0 rem-calc(-12);

    @include breakpoint(medium) {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      margin: 0 rem-calc(-25) 0 rem-calc(12);
    }

    &:after {
      content: none;
      position: absolute;
      display: block;
      border-style: solid;
      border-color: #664212 transparent transparent transparent;
      bottom: -14px;
      border-left-width: 0;
      border-right-color: transparent;
      right: -1px;
      border-width: 13px 13px 0 0;

      @include breakpoint(medium) {
        content: "";
      }
    }

    .total-supports {
      display: inline-block;
      line-height: $line-height;
      padding-top: rem-calc(12);
      vertical-align: top;

      @include breakpoint(medium) {
        display: block;
        float: none;
        margin-left: 0;
        padding-top: 0;
      }
    }
  }
}

.investment-project, .investment-project-show {

  .supports {
    @include supports;
    background: none;
    border: 0;
    border-left: 1px solid $border;
    margin: 0 rem-calc(-12);
    min-height: rem-calc(180);
    padding-top: 0;

    @include breakpoint(medium) {
      padding-top: $line-height*1.5;
    }

    &:after {
      content: none;
    }

    .investment-project-amount {
      color: $budget;
      font-size: rem-calc(20);
      font-weight: bold;
      margin-bottom: 0;
    }

    .button-support {
      background: $budget;
      color: white;

      &:hover {
        background: $budget-hover;
        color: white;
        cursor: pointer;
      }

      &:active {
        opacity: .75;
      }
    }

    .total-supports {
      color: $budget;
      font-size: $base-font-size;
      font-weight: bold;
    }

    .supported {
      color: $budget;
      margin-top: 0;
      width: 100%;
    }

    .remove .icon-check-circle {
      display: block;
      font-size: rem-calc(70);
      line-height: rem-calc(70);
    }

    .share-supported {

      .ssb-twitter,
      .ssb-facebook,
      .ssb-google_plus {
        color: $budget;
      }
    }
  }
}

.investment-project-show .supports {
  border: 0;
}

.proposals-summary {

  .panel {
    min-height: 0;
  }
}

.investment-project .supports .total-supports.no-button,
.investment-project-show .supports .total-supports.no-button {
  display: block;
  margin-top: $line-height*1.5;
}

// 05. Featured
// ------------

.featured-debates, .featured-proposals,
.enquiries-list {
  padding: $line-height/2 0;

  @include breakpoint(medium) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  h2 {
    font-size: $small-font-size;
    line-height: $line-height;
    text-transform: uppercase;
  }

  h3 {
    margin-bottom: 0;

    a {
      color: $text;
      font-size: rem-calc(24);
    }
  }

  a, .info {
    color: lighten($text, 15%);
    font-size: $small-font-size;
  }

}

.featured-debates {
  background: $highlight;
}

.featured-proposals {
  background: $featured;

  .proposal-featured {
    min-height: $line-height*3.5;
  }

  .supports {
    @include supports;
    background: none;
    border: 0;
    padding-bottom: 0;
    padding-top: 0;

    &:after {
      content: none;
    }

    .total-supports {
      display: none;
    }

    .button-support {
      margin-top: 0;
    }

    .participation-not-allowed {
      background: $featured;
      font-size: $small-font-size;
      padding-top: 0;

      a {
        color: $color-warning;
      }

      p {
        color: $color-warning;
        font-size: $small-font-size;
        line-height: $line-height;
      }
    }

    .supported {
      margin-top: 0;
    }

    .share-supported {

      .ssb-twitter,
      .ssb-facebook,
      .ssb-google_plus {
        height: rem-calc(33);

        &:before {
          font-size: rem-calc(18);
          line-height: rem-calc(33);
        }
      }
    }
  }
}

// 06. Proposals successful
// -------------------------

.sucessfull-proposals-banner {
  background: #2D3E50 image-url("ballot_tiny.gif") no-repeat;
  background-position: 75% 0;
  position: relative;

  h2, a:hover h2 {
    color: #FFD200 !important;
  }

  p {
    color: white;
  }

  @include breakpoint(medium) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  @include breakpoint(large) {
    background: #2D3E50 image-url("ballot.gif") no-repeat;
    background-position: 90% 0;
  }
}

.sucessfull-proposals-banner,
.successful .panel {

  .icon-successful {
    border-right: 60px solid #FFD200;
    border-top: 0;
    border-bottom: 60px solid transparent;
    height: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;

    &:after {
      color: #1B254C;
      content: "\59";
      font-family: "icons" !important;
      left: 34px;
      position: absolute;
      top: 5px;
    }
  }
}

.successful {

  .panel {
    position: relative;
  }

  .truncate {
    display: none;
  }

  .message {
    @include supports;
    background: none;
    border-top: 0;

    @include breakpoint(medium) {
      border-left: 1px solid $border;
      margin: $line-height rem-calc(-25) 0 rem-calc(12);
    }
  }
}

// 07. Polls
// ----------------------

.dark-heading {
  background: #2D3E50;
  color: white;

  .title {
    color: #FFD200;
  }

  .info {
    background: #314253;
    padding: $line-height;

    @include breakpoint(medium) {
      border-top: rem-calc(6) solid #FFD200;
    }

    a {
      color: white;
      text-decoration: underline;
    }

  }

  &.poll-show {
    min-height: $line-height*8;
  }
}

.poll, .poll-question {
  background: white;
  border-bottom: 1px solid $border;
  margin-bottom: $line-height/2;
  padding: $line-height;

  .date {
    color: $brand;
    font-size: $small-font-size;
  }

  h3 a {
    color: $text;
  }
}<commit_msg>improves styles for polls views<commit_after>// Table of Contents
//
// 01. Votes and supports
// 02. New participation
// 03. Show participation
// 04. List participation
// 05. Featured
// 06. Proposals successful
// 07. Polls
//

// 01. Votes and supports
// ----------------------

@mixin votes {
  background: $votes;
  margin: 0 rem-calc(-12);
  padding: rem-calc(14) rem-calc(12);
  position: relative;

  .icon-like, .icon-unlike {
    background: white;
    border: 2px solid $votes;
    border-radius: rem-calc(3);
    color: $text-light;
    display: inline-block;
    font-size: rem-calc(30);
    line-height: rem-calc(30);
    padding: rem-calc(3) rem-calc(6);
    position: relative;

    &:hover, &:active {
      border-color: white;
      color: white;
      cursor: pointer;
      opacity: 1 !important;
    }
  }

  .icon-like {

    &:hover, &:active {
      background: $like;
    }
  }

  .icon-unlike {

    &:hover, &:active {
      background: $unlike;
    }
  }

  .like, .unlike {
    line-height: rem-calc(48);
    vertical-align: super;

    span.percentage {
      color: white;
      display: inline-block;
      font-size: rem-calc(16);
      line-height: $line-height*2;
      padding-left: rem-calc(8);
      vertical-align: top;
    }
  }

  .voted {

    .icon-like, .icon-unlike {
      border-color: white;
      color: white;
    }

    .icon-like {
      background: $like;
    }

    .icon-unlike {
      background: $unlike;
    }
  }

  .no-voted {

    .icon-like, .icon-unlike {
      opacity: .5;
    }
  }

  .total-votes {
    color: white;
    float: right;
    line-height: $line-height*2;
  }

  .divider {
    margin: 0 rem-calc(6);
  }
}

@mixin supports {
  background: $proposals;
  margin: 0 rem-calc(-12);
  padding: rem-calc(14) rem-calc(12);
  position: relative;

  .progress {
    background-color: rgba(255,255,255,.8);
    height: $line-height/2;

    .meter {
      background: $like;
      display: block;
      height: $line-height/2;
    }
  }

  .percentage {
    font-size: rem-calc(10);
    color: $brand;
    vertical-align: top;
    position: absolute;
    top: 13px;
    right: 20px;
  }

  abbr {
    color: white;

    &[title] {
      border-bottom: 1px dotted white;
    }
  }

  .button-support {
    background: white;
    color: $text;
    display: inline-block;
    font-size: $small-font-size;
    margin-top: rem-calc(12);

    &:hover {
      background: darken($proposals, 35%);
      color: white;
      cursor: pointer;
    }

    &:active {
      opacity: .75;
    }
  }

  .total-supports {
    color: white;
    text-align: center;
    font-size: $small-font-size;

    span {
      display: block;
    }
  }

  .divider {
    margin: 0 rem-calc(6);
  }

  .supported {
    color: white;
    margin-top: rem-calc(12);
  }
}

.message {
  @include supports;
  background: none;
  border-top: 0;

  @include breakpoint(medium) {
    border-left: 1px solid $border;
    margin: $line-height rem-calc(-25) 0 rem-calc(12);
  }

  p {
    font-size: $small-font-size;
  }
}

.participation-not-allowed {
  background: $warning-bg;
  color: $color-warning;
  height: 100%;
  left: 0;
  line-height: $line-height;
  padding: $line-height $line-height/2;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 2;

  p {
    color: $color-warning !important;
    margin: 0 rem-calc(12);
    text-align: left;
  }

  a {
    color: $color-warning !important;
    font-weight: bold;
    text-decoration: underline;
  }
}

.reply .participation-not-allowed {
  padding-right: $line-height/2;
  padding-top: $line-height/6;
  text-align: right;
}

// 02. New participation
// ---------------------

.debate-form,
.proposal-form,
.spending-proposal-form {

  .icon-debates, .icon-proposals, .icon-budget {
    font-size: rem-calc(50);
    line-height: $line-height;
    opacity: .5;
  }

  .icon-debates {
    color: $debates;
  }

  .icon-proposals {
    color: $proposals;
  }

  .icon-budget {
    color: $budget;
  }

  .recommendations {
    list-style-type: none;
    margin-left: 0;
    margin-top: $line-height;

    li {
      font-size: $small-font-size;
      margin: $line-height/2 0;

      &:before {
        content: "l ";
        font-family: "icons" !important;
      }
    }
  }
}

.debate-form {

  .recommendations li:before {
    color: $debates;
  }
}

.proposal-form {

  .recommendations li:before {
    color: $proposals;
  }
}

// 03. Show participation
// ----------------------

.debate-show, .proposal-show, .investment-project-show {

  p {
    word-wrap: break-word;
  }

  .callout.proposal-retired {
    font-size: $base-font-size;
  }

  .social-share-full .social-share-button {
    display:inline;
  }

  .whatsapp:before {
    background-color: #43d854;
    color: white;
    font-size: 1.7em;
    margin-left: rem-calc(0.5);
    padding: rem-calc(9.5) rem-calc(9.8);
    vertical-align: rem-calc(10);
  }

  .edit-debate, .edit-proposal {
    margin-bottom: 0;
  }

  .debate-info, .proposal-info, .investment-project-info {
    clear: both;
    color: $text-medium;
    font-size: $small-font-size;
    min-height: $line-height*2;
    position: relative;

    a {
      color: $text-medium;
    }

    p {
      font-size: $small-font-size;
      line-height: $line-height;
      margin: 0;
    }

    .author-deleted {
      left: 0;
      top: 4px;
    }

    .author.deleted {
      margin-left: rem-calc(48);
    }
  }

  .debate-description, .proposal-description {
    font-size: rem-calc(15);
    line-height: rem-calc(30);
  }

  ul, ol {
    margin: rem-calc(12) 0;

    li {
      font-size: rem-calc(15);
      margin-bottom: rem-calc(15);
    }
  }

  .author-photo {
    line-height: $line-height*2;
    margin-right: rem-calc(6);
    vertical-align: middle;
    width: 32px;
  }

  .author {
    font-weight: bold;

    a {
      color: $link !important;

      &:hover {
        color: $link-hover !important;
      }
    }
  }

  aside {

    h3 {
      border-top: 2px solid $brand;
      display: inline-block;
      font-size: rem-calc(16);
      margin: -1px 0 rem-calc(12);
      padding-top: rem-calc(6);
      text-transform: uppercase;
    }
  }

  blockquote {
    margin-top: rem-calc(12);
    padding-top: 0;
    font-size: rem-calc(15);
    line-height: rem-calc(30);
  }

  .document-link, .video-link {
    border: 1px solid $border;
    display: block;
    margin: $line-height/2 0;
    padding: $line-height/2;
    position: relative;

    a {
      padding-left: rem-calc(24);
    }

    :before {
      color: #007BB7;
      content: "G";
      font-family: "icons" !important;
      font-size: rem-calc(24);
      left: rem-calc(6);
      padding-top: rem-calc(3);
      position: absolute;
      top: 0;
    }
  }

  .video-link {

    :before {
      color: #CC181E;
      content: "D";
    }
  }

  .votes {
    @include votes;
    border: 0;
    border-radius: 0;
    margin: 0;

    .total-votes {
      display: block;
      float: none;
      line-height: $line-height;
    }

    @include breakpoint(small + rem-calc(1) and medium down) {
      .in-favor, .against {
        text-align: left;
        width: rem-calc(100);
      }
    }

    .divider {
      display: none;
    }

    @include breakpoint(medium) {
      .divider {
        display: inline-block;
      }
    }
  }

  .supports {
    @include supports;
    border: 0;
    border-radius: 0;
    margin: 0;

    .total-supports {
      display: block;
      float: none;
      line-height: $line-height;
    }
  }

  .leave-comment {
    display: inline-block;
    margin-top: rem-calc(24);
  }

  .tags {
    display: block;

    a {
      margin-right: rem-calc(6);
    }
  }
}

.bullet {
  color: $border;
}

.investment-project-show p {
  word-break: break-word;
}

// 04. List participation
// ----------------------

.debates-list, .proposals-list, .investment-projects-list {

  @include breakpoint(medium) {
    margin-bottom: rem-calc(48);
  }
}

.investment-projects-list {

  @include breakpoint(medium) {
    min-height: $line-height*15;
  }
}

.debate, .proposal, .investment-project {
  margin-bottom: 0;
  margin-top: 0;

  .panel {
    background: white;
    border: 1px solid;
    border-color: #e5e6e9 #dfe0e4 #d0d1d5;
    border-radius: 0;
    box-shadow: 0px 1px 3px 0 $border;
    margin-bottom: rem-calc(12);
    min-height: rem-calc(192);
    padding: rem-calc(12) rem-calc(12) 0 rem-calc(12);

    @include breakpoint(medium) {
      margin-bottom: rem-calc(-1);
      padding-bottom: rem-calc(12);
    }

    .label-debate, .label-proposal, .label-investment-project {
      background: none;
      clear: both;
      display: block;
      font-size: rem-calc(12);
      font-weight: bold;
      line-height: $line-height;
      padding-bottom: 0;
      padding-left: 0;
      padding-top: 0;
      text-transform: uppercase;
    }

    .label-debate {
      color: $debates;
    }

    .label-proposal {
      color: $proposals;
    }

    .label-investment-project {
      color: $budget;
    }

    h3 {
      font-weight: bold;
      margin: 0;

      a {
        color: $text;
      }
    }

    .debate-content, .proposal-content, .investment-project-content {
      margin: 0;
      min-height: rem-calc(180);
      position: relative;

      .tags {
        display: block;
      }
    }

    .icon-debates, .icon-proposals, .icon-budget {
      font-size: rem-calc(18);
      line-height: $line-height;
      margin-left: rem-calc(6);
      top: 0;
    }

    .icon-debates {
      color: $debates;
    }

    .icon-proposals {
      color: $proposals;
    }

    .icon-budget {
      color: $budget;
      font-size: $small-font-size;
    }

    .debate-info, .proposal-info, .investment-project-info {
      color: $text-medium;
      font-size: $small-font-size;
      margin: rem-calc(6) 0 0;

      .icon-comments {
        font-size: rem-calc(16);
        vertical-align: top;
      }

      a {
        color: $text-medium;
      }
    }

    .debate-description, .proposal-description, .investment-project-description {
      color: $text;
      font-size: rem-calc(13);
      height: rem-calc(72);
      line-height: $line-height;
      margin-bottom: rem-calc(12);
      margin-top: 0;
      overflow: hidden;
      position: relative;

      a {
        color: $text;
      }

      ul, ol {

        li {
          font-size: rem-calc(13);
          margin-bottom: rem-calc(12);
        }
      }
    }

    .truncate {
      background: image-url('truncate.png');
      background-repeat: repeat-x;
      bottom: 0;
      height: 24px;
      position: absolute;
      width: 100%;
    }

    p {
      color: $text;
    }
  }

  .divider {
    display: none;
  }

  @include breakpoint(medium) {
    .divider {
      display: inline-block;
    }
  }
}

.more-info {
  clear: both;
  color: $text-medium;
  font-size: $small-font-size;

  a {
    color: $text-medium;
  }
}

.debate {

  .votes {
    @include votes;
    border: 1px solid $votes;
    margin: 0 rem-calc(-12);

    @include breakpoint(medium) {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      margin: 0 rem-calc(-25) 0 rem-calc(12);
    }

    &:after {
      content: none;
      position: absolute;
      display: block;
      border-style: solid;
      border-color: #166387 transparent transparent transparent;
      bottom: -14px;
      border-left-width: 0;
      border-right-color: transparent;
      right: -1px;
      border-width: 13px 13px 0 0;

      @include breakpoint(medium) {
        content: "";
      }
    }

    .total-votes {
      display: inline-block;
      line-height: $line-height;
      margin-left: rem-calc(24);
      padding-top: rem-calc(12);
      vertical-align: top;

      @include breakpoint(medium) {
        display: block;
        float: none;
        line-height: $line-height*2;
        margin-left: 0;
        padding-top: 0;
      }
    }

    @include breakpoint(medium) {
      .like, .unlike {

        span.percentage {
          display: block;
          line-height: $line-height/2;
        }
      }
    }
  }
}

.proposal {

  .supports {
    @include supports;
    border: 1px solid $proposals;
    margin: 0 rem-calc(-12);

    @include breakpoint(medium) {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      margin: 0 rem-calc(-25) 0 rem-calc(12);
    }

    &:after {
      content: none;
      position: absolute;
      display: block;
      border-style: solid;
      border-color: #664212 transparent transparent transparent;
      bottom: -14px;
      border-left-width: 0;
      border-right-color: transparent;
      right: -1px;
      border-width: 13px 13px 0 0;

      @include breakpoint(medium) {
        content: "";
      }
    }

    .total-supports {
      display: inline-block;
      line-height: $line-height;
      padding-top: rem-calc(12);
      vertical-align: top;

      @include breakpoint(medium) {
        display: block;
        float: none;
        margin-left: 0;
        padding-top: 0;
      }
    }
  }
}

.investment-project, .investment-project-show {

  .supports {
    @include supports;
    background: none;
    border: 0;
    border-left: 1px solid $border;
    margin: 0 rem-calc(-12);
    min-height: rem-calc(180);
    padding-top: 0;

    @include breakpoint(medium) {
      padding-top: $line-height*1.5;
    }

    &:after {
      content: none;
    }

    .investment-project-amount {
      color: $budget;
      font-size: rem-calc(20);
      font-weight: bold;
      margin-bottom: 0;
    }

    .button-support {
      background: $budget;
      color: white;

      &:hover {
        background: $budget-hover;
        color: white;
        cursor: pointer;
      }

      &:active {
        opacity: .75;
      }
    }

    .total-supports {
      color: $budget;
      font-size: $base-font-size;
      font-weight: bold;
    }

    .supported {
      color: $budget;
      margin-top: 0;
      width: 100%;
    }

    .remove .icon-check-circle {
      display: block;
      font-size: rem-calc(70);
      line-height: rem-calc(70);
    }

    .share-supported {

      .ssb-twitter,
      .ssb-facebook,
      .ssb-google_plus {
        color: $budget;
      }
    }
  }
}

.investment-project-show .supports {
  border: 0;
}

.proposals-summary {

  .panel {
    min-height: 0;
  }
}

.investment-project .supports .total-supports.no-button,
.investment-project-show .supports .total-supports.no-button {
  display: block;
  margin-top: $line-height*1.5;
}

// 05. Featured
// ------------

.featured-debates, .featured-proposals,
.enquiries-list {
  padding: $line-height/2 0;

  @include breakpoint(medium) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  h2 {
    font-size: $small-font-size;
    line-height: $line-height;
    text-transform: uppercase;
  }

  h3 {
    margin-bottom: 0;

    a {
      color: $text;
      font-size: rem-calc(24);
    }
  }

  a, .info {
    color: lighten($text, 15%);
    font-size: $small-font-size;
  }

}

.featured-debates {
  background: $highlight;
}

.featured-proposals {
  background: $featured;

  .proposal-featured {
    min-height: $line-height*3.5;
  }

  .supports {
    @include supports;
    background: none;
    border: 0;
    padding-bottom: 0;
    padding-top: 0;

    &:after {
      content: none;
    }

    .total-supports {
      display: none;
    }

    .button-support {
      margin-top: 0;
    }

    .participation-not-allowed {
      background: $featured;
      font-size: $small-font-size;
      padding-top: 0;

      a {
        color: $color-warning;
      }

      p {
        color: $color-warning;
        font-size: $small-font-size;
        line-height: $line-height;
      }
    }

    .supported {
      margin-top: 0;
    }

    .share-supported {

      .ssb-twitter,
      .ssb-facebook,
      .ssb-google_plus {
        height: rem-calc(33);

        &:before {
          font-size: rem-calc(18);
          line-height: rem-calc(33);
        }
      }
    }
  }
}

// 06. Proposals successful
// -------------------------

.sucessfull-proposals-banner {
  background: #2D3E50 image-url("ballot_tiny.gif") no-repeat;
  background-position: 75% 0;
  position: relative;

  h2, a:hover h2 {
    color: #FFD200 !important;
  }

  p {
    color: white;
  }

  @include breakpoint(medium) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  @include breakpoint(large) {
    background: #2D3E50 image-url("ballot.gif") no-repeat;
    background-position: 90% 0;
  }
}

.sucessfull-proposals-banner,
.successful .panel {

  .icon-successful {
    border-right: 60px solid #FFD200;
    border-top: 0;
    border-bottom: 60px solid transparent;
    height: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;

    &:after {
      color: #1B254C;
      content: "\59";
      font-family: "icons" !important;
      left: 34px;
      position: absolute;
      top: 5px;
    }
  }
}

.successful {

  .panel {
    position: relative;
  }

  .truncate {
    display: none;
  }

  .message {
    @include supports;
    background: none;
    border-top: 0;

    @include breakpoint(medium) {
      border-left: 1px solid $border;
      margin: $line-height rem-calc(-25) 0 rem-calc(12);
    }
  }
}

// 07. Polls
// ----------------------

.dark-heading {
  background: #2D3E50;
  color: white;

  .title {
    color: #FFD200;
  }

  .info {
    background: #314253;
    padding: $line-height;

    @include breakpoint(medium) {
      border-top: rem-calc(6) solid #FFD200;
    }

    a {
      color: white;
      text-decoration: underline;
    }

  }

  &.poll-show {
    min-height: $line-height*8;
  }
}

.poll, .poll-question {
  background: white;
  border-radius: rem-calc(6);
  margin-bottom: $line-height/2;
}

.poll {
  padding: $line-height;

  .dates {
    color: $text-medium;
    font-size: $small-font-size;
  }

  h3 a {
    color: $text;
  }
}

h2.questions-callout {
  font-size: $base-font-size;
}

.poll-question {
  padding: 0 $line-height;

  h3 {
    padding-top: $line-height;

    a {
      color: $text;
    }
  }
}

.poll-question-answers {

  .button {
    margin-right: $line-height/4;
    min-width: rem-calc(168);

    &.answered {
      background: #F4F8EC;
      border: 2px solid #92BA48;
      color: $text;
      position: relative;

      &:after {
        background: #92BA48;
        border-radius: rem-calc(20);
        content: "\6c";
        color: white;
        font-family: "icons" !important;
        font-size: rem-calc(12);
        padding: $line-height/4;
        position: absolute;
        right: -6px;
        top: -6px;
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.15375823218853754, 'fraction_numerical': 0.02601643716322865, 'mean_word_length': 1.8776037588097103, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3420682', 'n_tokens_mistral': 14297, 'n_tokens_neox': 13250, 'n_words': 2641}