//Css for the home page

$main-color: #473161;
$turquoise: #29abe2;

.container h2 {
  font-size: 17px;
  text-transform: uppercase;
  color: $main-color; 
}

.top_drafts, .top_ideas {
  h2 {
    //Refactor border to application.css 
    -moz-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    -webkit-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    -o-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    border-width: 6px;
    border-top: 0px none;
    border-left: 0px none;
    border-right: 0px none;
    margin-bottom: 0;
  }
}

.top_proposals, .top_ideas {
  h2 {
    //Refactor border to application.css 
    -moz-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    -webkit-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    -o-border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    border-image:url("/assets/border-double-dotted.png") 0 0 6 0 repeat;
    border-width: 6px;
    border-top: 0px none;
    border-left: 0px none;
    border-right: 0px none;
    margin-bottom: 0;
  }
}

.top_drafts {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom:  10px solid $main-color; 
}

.news, .newsletter {
  padding: 5px;
  background: #eeeeee;
  border-top: 3px solid #000000;
}

.author a{
  font-weight: bold;
  color: #29abe2;
  text-transform: uppercase;
}

.author a:hover {
  text-decoration: underline;
}
.author a:link {
  text-decoration: none;
}
.author a:visited {
  text-decoration: none;
}

.news-item .datetime {
  margin-left: 15px;
}

.news .content {
  margin-bottom: 15px;
} 

.news .content a {
  color: $main-color;
}
.news .content a:hover {
  text-decoration: underline;
}
.news .content a:link {
  text-decoration: none;
}
.news .content a:visited {
  text-decoration: none;
}

.all-blogs a {
  color: $turquoise;
  font-weight: bold;
  font-size: 14px;
}
.all-blogs a:hover {
  text-decoration: underline;
}
.all-blogs a:link {
  text-decoration: none;
}
.all-blogs a:visited {
  text-decoration: none;
}

input#mce-EMAIL {
  margin: 10px 0px;
}

.proposals_carousel {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 50px;
  position: relative;
}

.proposals_carousel ul {
  margin: 0;
  margin-left: 22px;
  padding: 0;
  list-style: none;
  display: block;
}

.proposals_carousel li {
  font-size: 30px;
  color: #666;
  text-align: center;
  border: 1px;
  -moz-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -webkit-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -o-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  border-image: url("/assets/border-dotted-vertical.png") 1 1 1 1 repeat;
  width: 260px;
  height: 232px;
  padding: 0;
  margin: 5px;
  display: block;
  float: left;
}

.low_limit_proposals_carousel {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 50px;
  position: relative;
}

.low_limit_proposals_carousel ul {
  margin: 0;
  margin-left: 22px;
  padding: 0;
  list-style: none;
  display: block;
}

.low_limit_proposals_carousel li {
  font-size: 30px;
  color: #666;
  text-align: center;
  border: 1px;
  -moz-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -webkit-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -o-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  border-image: url("/assets/border-dotted-vertical.png") 1 1 1 1 repeat;
  width: 260px;
  height: 232px;
  padding: 0;
  margin: 5px;
  display: block;
  float: left;
}

.drafts_carousel {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 50px;
  position: relative;
}

.drafts_carousel ul {
  margin: 0;
  margin-left: 22px;
  padding: 0;
  list-style: none;
  display: block;
}

.drafts_carousel li {
  font-size: 30px;
  color: #666;
  text-align: center;
  border: 1px;
  -moz-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -webkit-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  -o-border-image: url("/assets/border-double-dotted.png") 1 1 1 1 repeat;
  border-image: url("/assets/border-dotted-vertical.png") 1 1 1 1 repeat;
  width: 260px;
  height: 160px;
  padding: 0;
  margin: 5px;
  display: block;
  float: left;
}

.clearfix {
  float: none;
  clear: both;
}

#proposals_list_pag.pagination, #drafts_list_pag.pagination {
  text-align: center;
}

#proposals_list_pag.pagination a, #drafts_list_pag.pagination a {
  background: url("/assets/circle_violet.png") no-repeat transparent;
  width: 15px;
  height: 15px;
  margin: 0 5px 0 0;
  display: inline-block;
}

#proposals_list_pag.pagination a.selected, #drafts_list_pag.pagination a.selected {
  background: url("/assets/circle_violet_selected.png") no-repeat transparent;
  cursor: default;
}

#proposals_list_pag.pagination a span, #drafts_list_pag.pagination a span {
  display: none;
}

.clearfix {
  float: none;
  clear: both;
}

.bar {
  margin-top: 10px;
  height: 19px;
  overflow: hidden;
}

.collecting {
  margin-left:auto;
  margin-right:auto;
  width:80%;
  font-size: 12px;
}

.stamp-show {
  position: absolute;
  margin-left: -174px;
  margin-top: -31px;
  width:200px;
}

.impressions-count {
  font-weight: bold;
  color: #473161;
}

a#proposals_list_next.next, a#drafts_list_next.next {
  background: url("/assets/next.png");
}

a#proposals_list_prev.prev, a#drafts_list_prev.prev {
  background: url("/assets/prev.png");
}

a.prev, a.next {
  background: url("/assets/miscellaneous_sprite.png") no-repeat transparent;
  width: 10px;
  height: 50px;
  position: absolute;
  top: 85px;
}

a.prev {      
  left: -8px;
  background-position: 0 0; 
}

a#proposals_list_prev.prev {
  top: 240px;
  left: -8px;
  background-position: 0 0; 
}

a.prev:hover {    
  background-position: 0 -50px; 
}

a.prev.disabled { 
  background-position: 0 -100px !important;  
}

a.next {      
  right: -8px;
  background-position: -50px 0; 
}

a#proposals_list_next.next {
  top: 240px;
  right: -8px;
  background-position: -50px 0; 
}

a.next:hover {    
  background-position: -50px -50px; 
}

a.next.disabled { 
  background-position: -50px -100px !important;  
}

a.prev.disabled, a.next.disabled {
  cursor: default;
  pointer-events: none;
}

a.prev span, a.next span {
  display: none;
}

.days_left, .votes_total {
  padding: 5px;
  font-size: 12px;
}

.days_left {
  float: left;
}

.votes_total {
  float: right;
}

#old_fail.proposal {
  background: #F7E6F6;
}

#old_success.proposal {
  background: #E6F7E9;
}