/* CSS crunched with Crunch - http://crunchapp.net/ */
@import '../../../ionicons/2.0.1/css/ionicons.min.css';
@import '../../../font-awesome/4.3.0/css/font-awesome.min.css';
@import '../../../bootstrap/3.3.4/css/bootstrap.min.css';
.margin-top-10 {
  margin-top: 10px !important;
}
.margin-top-20 {
  margin-top: 20px !important;
}
.margin-top-30 {
  margin-top: 30px !important;
}
.margin-top-40 {
  margin-top: 40px !important;
}
.margin-top-50 {
  margin-top: 50px !important;
}
.margin-top-60 {
  margin-top: 60px !important;
}
.margin-top-70 {
  margin-top: 70px !important;
}
.margin-top-80 {
  margin-top: 80px !important;
}
.margin-top-90 {
  margin-top: 90px !important;
}
.margin-top-100 {
  margin-top: 100px !important;
}
.margin-right-10 {
  margin-right: 10px !important;
}
.margin-right-20 {
  margin-right: 20px !important;
}
.margin-right-30 {
  margin-right: 30px !important;
}
.margin-right-40 {
  margin-right: 40px !important;
}
.margin-right-50 {
  margin-right: 50px !important;
}
.margin-right-60 {
  margin-right: 60px !important;
}
.margin-right-70 {
  margin-right: 70px !important;
}
.margin-right-80 {
  margin-right: 80px !important;
}
.margin-right-90 {
  margin-right: 90px !important;
}
.margin-right-100 {
  margin-right: 100px !important;
}
.margin-bottom-10 {
  margin-bottom: 10px !important;
}
.margin-bottom-20 {
  margin-bottom: 20px !important;
}
.margin-bottom-30 {
  margin-bottom: 30px !important;
}
.margin-bottom-40 {
  margin-bottom: 40px !important;
}
.margin-bottom-50 {
  margin-bottom: 50px !important;
}
.margin-bottom-60 {
  margin-bottom: 60px !important;
}
.margin-bottom-70 {
  margin-bottom: 70px !important;
}
.margin-bottom-80 {
  margin-bottom: 80px !important;
}
.margin-bottom-90 {
  margin-bottom: 90px !important;
}
.margin-bottom-100 {
  margin-bottom: 100px !important;
}
.margin-left-10 {
  margin-left: 10px !important;
}
.margin-left-20 {
  margin-left: 20px !important;
}
.margin-left-30 {
  margin-left: 30px !important;
}
.margin-left-40 {
  margin-left: 40px !important;
}
.margin-left-50 {
  margin-left: 50px !important;
}
.margin-left-60 {
  margin-left: 60px !important;
}
.margin-left-70 {
  margin-left: 70px !important;
}
.margin-left-80 {
  margin-left: 80px !important;
}
.margin-left-90 {
  margin-left: 90px !important;
}
.margin-left-100 {
  margin-left: 100px !important;
}
.padding-10 {
  padding: 10px !important;
}
.padding-20 {
  padding: 20px !important;
}
.padding-30 {
  padding: 30px !important;
}
.padding-40 {
  padding: 40px !important;
}
.padding-50 {
  padding: 50px !important;
}
.padding-60 {
  padding: 60px !important;
}
.padding-top-10 {
  padding-top: 10px !important;
}
.padding-top-20 {
  padding-top: 20px !important;
}
.padding-top-30 {
  padding-top: 30px !important;
}
.padding-top-40 {
  padding-top: 40px !important;
}
.padding-top-50 {
  padding-top: 50px !important;
}
.padding-top-60 {
  padding-top: 60px !important;
}
.padding-top-65 {
  padding-top: 65px !important;
}
.rounded {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.hidden {
  display: none !important;
}
.visible {
  display: block !important;
}
.text-overflow {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.clearfix:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
html,
body {
  width: 100%;
  min-height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font: 400 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: whiteSmoke;
  -webkit-font-smoothing: antialiased;
}
#app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 20px;
  height: 50px;
  line-height: 40px;
  background: #e4e6e5;
  z-index: 5;
}
#app-header .brand {
  display: block;
  float: left;
  height: 100%;
  margin-right: 20px;
  border-right: 1px solid #fff;
  padding-right: 15px;
}
#app-header .brand img {
  height: 70%;
}
#app-header .brand i {
  color: #444;
  margin-left: 15px;
  font-size: 16px;
  line-height: 50px;
}
#app-header .brand:hover {
  text-decoration: none;
}
#app-header ul.parties {
  list-style: none;
  margin: 5px 0 0;
  padding: 0;
}
#app-header ul.parties li {
  float: left;
}
#app-header ul.parties li span {
  display: block;
  float: left;
  color: #000;
  font-size: 14px;
}
#app-header ul.parties li span.count {
  height: 30px;
  min-width: 30px;
  text-align: center;
  margin-right: 4px;
  line-height: 30px;
  margin-top: 5px;
}
#app-header ul.parties li span.name {
  padding-right: 10px;
}
#app-header ul.parties li.party-labour span.count {
  background: #da1815;
}
#app-header ul.parties li.party-conservative span.count {
  background: #3792d0;
}
#app-header ul.parties li.party-liberal-democrat span.count {
  background: #f7ba2e;
}
#app-header ul.parties li.party-green span.count {
  background: #75b72c;
}
#app-header ul.parties li.party-ukip span.count {
  background: #702a86;
}
#app-header ul.parties li.party-scottish-national-party span.count {
  background: #f7eb09;
}
#app-header ul.parties li.party-dup span.count {
  background: #c8292a;
}
#app-header ul.parties li.party-sinn-fein span.count {
  background: #439558;
}
#app-header ul.parties li.party-plaid-cymru span.count {
  background: #3f8433;
}
#app-header ul.parties li.party-respect span.count {
  background: #4b7e2f;
}
#app-header ul.parties li.party-alliance span.count {
  background: #f3ca2e;
}
#app-header ul.parties li.party-social-democratic-and-labour-party span.count {
  background: #006e51;
}
#app-header ul.parties li.party-independent span.count {
  background: #aaaaaa;
}
#app-header ul.parties li.party-speaker span.count {
  background: #000000;
  color: #fff;
}
.header-menu {
  position: fixed;
  top: 50px;
  z-index: 5;
  background: #e4e6e5;
  width: 198px;
  display: none;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.header-menu.in {
  display: block;
}
.header-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-menu ul li a {
  display: block;
  color: #555;
  padding: 10px;
}
.header-menu ul li a:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
}
#app-content {
  width: 100%;
  min-height: 100%;
  padding: 70px 5% 20px;
}
#app-content:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
#app-footer {
  margin: 20px 5% 0;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}
#app-footer nav {
  text-align: right;
}
#app-footer nav a {
  display: inline-block;
  border-right: 1px solid #ccc;
  padding: 10px;
  color: #000;
}
#app-footer nav a:last-child {
  border-right: none;
}
#frontbench {
  margin: 0 0 10px;
  position: relative;
}
#frontbench:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
#frontbench .bench-pos {
  float: left;
  width: 9%;
  height: 100px;
  padding: 5px;
  position: relative;
  margin-bottom: 10px;
}
#frontbench .bench-pos .inner {
  height: 100px;
  width: 100%;
  padding: 3px;
  color: #fff;
}
#frontbench .bench-pos .inner.unfilled {
  background: #ddd;
  text-align: center;
  display: table;
  position: relative;
  font-size: 13px;
  color: #5e6263;
}
#frontbench .bench-pos .inner.unfilled span {
  display: table-cell;
  vertical-align: middle;
}
#frontbench .bench-pos .inner.unfilled a.more-info {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 18px;
  color: #666;
}
#frontbench .bench-pos .inner.pos-liberal-democrat {
  background: #f7ba2e;
}
#frontbench .bench-pos .inner.pos-conservative {
  background: #3792d0;
}
#frontbench .bench-pos .inner.pos-labour {
  background: #da1815;
}
#frontbench .bench-pos .inner.pos-green {
  background: #75b72c;
}
#frontbench .bench-pos .inner.pos-ukip {
  background: #702a86;
}
#frontbench .bench-pos .inner.pos-scottish-national-party {
  background: #f7eb09;
  color: #5e6263;
}
#frontbench .bench-pos .inner.pos-dup {
  background: #c8292a;
}
#frontbench .bench-pos .inner.pos-sinn-fein {
  background: #439558;
}
#frontbench .bench-pos .inner.pos-plaid-cymru {
  background: #3f8433;
}
#frontbench .bench-pos .inner.pos-respect {
  background: #4b7e2f;
}
#frontbench .bench-pos .inner.pos-alliance {
  background: #f3ca2e;
}
#frontbench .bench-pos .inner.pos-social-democratic-and-labour-party {
  background: #006e51;
}
#frontbench .bench-pos .inner.pos-independent {
  background: #aaaaaa;
}
#frontbench .bench-pos .inner.pos-speaker {
  background: #000000;
}
#frontbench .bench-pos .inner .candidate-photo {
  width: 30px;
  height: 39px;
  float: left;
  margin: 0 5px 5px;
  border: 1px solid #000;
  cursor: pointer;
}
#frontbench .bench-pos .inner .candidate-name {
  cursor: pointer;
  font-size: 11px;
  display: block;
}
#frontbench .bench-pos .inner span.position-name {
  display: block;
  clear: both;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
  cursor: pointer;
}
#frontbench .bench-pos a.remove {
  display: block;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #BD2B1E;
  color: #fff;
  text-align: center;
  line-height: 17px;
  z-index: 2;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
#frontbench .bench-pos a.remove:hover {
  text-decoration: none;
  background: #cc0000;
}
#frontbench .bench-pos .enqueue {
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: -5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.2);
  z-index: 10;
  cursor: pointer;
  line-height: 100px;
  text-align: center;
  color: #fff;
  font-size: 40px;
}
#frontbench .bench-pos .voting-score {
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: -5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 4;
  cursor: pointer;
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding-top: 40px;
}
.save-row:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
.position-select {
  width: 100%;
  margin-top: 10px;
}
.position-select > .header {
  padding: 5px;
  background: #ddd;
  font-weight: bold;
  border: 1px solid #aaa;
  border-bottom: none;
}
.position-select > .header:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
.position-select > .header .selected {
  display: inline-block;
  cursor: pointer;
  border: 1px solid #aaa;
  background: #fff;
  padding: 5px 10px;
  height: 30px;
  width: 70%;
  float: left;
}
.position-select > .header .selected i {
  margin-left: 10px;
  color: #666;
}
.position-select > .header input {
  font-size: 15px;
  width: 70%;
  height: 30px;
}
.position-select > .header .button {
  float: right;
  color: #666;
  background: #ccc;
  border: 1px solid #aaa;
  height: 30px;
  width: 30px;
  line-height: 30px;
  font-size: 20px;
  margin-left: 5px;
  text-align: center;
  display: block;
}
.position-select .options {
  border: 1px solid #aaa;
  overflow-y: auto;
  height: 300px;
}
.position-select .options .nothing-found {
  text-align: center;
  line-height: 30px;
  color: #aaa;
  font-size: 18px;
  font-weight: bold;
}
.position-select .options .option {
  display: block;
  height: 40px;
  line-height: 39px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  position: relative;
}
.position-select .options .option:before {
  position: absolute;
  content: '';
  width: 6px;
  top: 0;
  bottom: 0;
  left: 0;
}
.position-select .options .option.disabled .add-to-bench {
  color: #eee;
  cursor: not-allowed;
}
.position-select .options .option.disabled .add-to-bench:hover {
  background: #fff;
  color: #eee;
}
.position-select .options .option.option-labour:before {
  background: #da1815;
}
.position-select .options .option.option-conservative:before {
  background: #3792d0;
}
.position-select .options .option.option-liberal-democrat:before {
  background: #f7ba2e;
}
.position-select .options .option.option-ukip:before {
  background: #702a86;
}
.position-select .options .option.option-green:before {
  background: #75b72c;
}
.position-select .options .option.option-scottish-national-party:before {
  background: #f7eb09;
}
.position-select .options .option.option-dup:before {
  background: #c8292a;
}
.position-select .options .option.option-sinn-fein:before {
  background: #439558;
}
.position-select .options .option.option-plaid-cymru:before {
  background: #3f8433;
}
.position-select .options .option.option-respect:before {
  background: #4b7e2f;
}
.position-select .options .option.option-alliance:before {
  background: #f3ca2e;
}
.position-select .options .option.option-social-democratic-and-labour-party:before {
  background: #006e51;
}
.position-select .options .option.option-independent:before {
  background: #aaaaaa;
}
.position-select .options .option.option-speaker:before {
  background: #000000;
}
.position-select .options .option a.info {
  float: left;
  width: 30px;
  display: block;
  text-align: center;
  color: #5e6263;
  font-size: 20px;
  width: 40px;
}
.position-select .options .option .name {
  display: inline-block;
  padding-right: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #5e6263;
  float: left;
}
.position-select .options .option .filter-val {
  display: block;
  text-align: center;
  position: absolute;
  right: 50px;
  top: 10px;
  line-height: normal;
  font-size: 12px;
  background: #fff;
  color: #5e6263;
  padding: 4px 4px 4px 10px;
}
.position-select .options .option a.add-to-bench {
  float: right;
  display: block;
  width: 40px;
  color: #5e6263;
  border-left: 1px solid#ddd;
  text-align: center;
  font-size: 17px;
  height: 39px;
}
.position-select .options .option a.add-to-bench:hover {
  background: whiteSmoke;
  color: #777;
}
.position-select .options .option:last-of-type {
  border-bottom: none;
}
.position-select.sorting:after {
  position: absolute;
  top: 10px;
  left: 15px;
  right: 15px;
  bottom: 0;
  background: #fff;
  background: rgba(255, 255, 255, 0.5);
  content: 'Sorting Candidates';
  text-align: center;
  padding-top: 200px;
}
.nav-tabs li {
  margin-right: 5px;
}
.nav-tabs li a {
  border: none;
  color: #5e6263;
  background: #c2c4c4;
  font-weight: bold;
  font-size: 16px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.nav-tabs li a:hover {
  background: #b5b7b7;
}
.nav-tabs li.active {
  
}
.nav-tabs li.active a {
  background: #dee0e0;
}
.nav-tabs li.active a:hover,
.nav-tabs li.active a:focus {
  background: #dee0e0;
  border: none;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  border: none !important;
  margin-bottom: 0 !important;
}
#bench-selection {
  padding: 10px;
  background: #dee0e0;
}
#bench-stats {
  padding: 20px 0;
}
#bench-stats.loading {
  height: 200px;
  background: url('../img/loader.gif') no-repeat center center;
}
#bench-stats .col-md-3 .row .metric {
  text-align: center;
  margin-bottom: 20px;
  color: #72bebb;
  font-weight: bold;
  padding-top: 40px;
}
#bench-stats .col-md-3 .row .metric span {
  display: block;
}
#bench-stats .col-md-3 .row .metric span.val {
  font-size: 80px;
  color: #666;
  line-height: 150px;
  font-weight: normal;
  margin-bottom: 8px;
}
#bench-stats .col-md-3 .row .metric span.title {
  font-size: 13px;
  color: #333333;
}
.stat-tabs a {
  color: #fff !important;
  font-size: 13px !important;
  padding: 8px 4px !important;
}
.stat-tabs .profile a {
  background: #72bebb !important;
}
.stat-tabs .policy a {
  background: #51b79b !important;
}
.stat-tabs .social a {
  background: #293b84 !important;
}
.stat-tabs .welfare a {
  background: #912d8d !important;
}
.stat-tabs .tax a {
  background: #d58333 !important;
}
.stat-tabs .business a {
  background: #6e7a87 !important;
}
.stat-tabs .health a {
  background: #ea4768 !important;
}
.stat-tabs .education a {
  background: #74a247 !important;
}
.stat-tabs .reform a {
  background: #43818d !important;
}
.stat-tabs .home a {
  background: #c3b844 !important;
}
.stat-tabs .environment a {
  background: #ac9762 !important;
}
.stat-container .tab-content {
  background: #e4e6e5;
  padding: 20px;
}
.section-title {
  margin: 10px 0;
  position: relative;
}
.section-title:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
.section-title h3 {
  position: relative;
  z-index: 1;
  font-weight: normal;
  font-size: 16px;
  display: inline-block;
  background: #dee0e0;
  padding: 0 20px 0 0;
  margin: 0;
}
.section-title:after {
  content: '';
  width: 100%;
  border-bottom: 1px solid #c4c7c7;
  position: absolute;
  top: 55%;
  z-index: 0;
}
.party-select-options {
  position: absolute;
  z-index: 2;
  height: 300px;
  background: #fff;
  border: 1px solid #000;
  overflow: auto;
}
.party-select-options span {
  display: block;
  width: 100%;
  line-height: 40px;
  padding: 0 10px;
  font-weight: bold;
  cursor: pointer;
}
.party-select-options span:hover {
  background: whiteSmoke;
}
.person-filters {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 300px;
}
.person-filters > .header {
  padding: 10px;
  background: #ddd;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid #000;
}
.person-filters .section a.trigger {
  line-height: 29px;
  height: 30px;
  color: #fff;
  display: block;
}
.person-filters .section a.trigger:hover {
  text-decoration: none;
}
.person-filters .section a.trigger .icon {
  float: left;
  width: 30px;
  text-align: center;
  font-size: 18px;
}
.person-filters .section a.trigger .arrow {
  float: right;
  width: 30px;
  text-align: center;
  font-size: 18px;
}
.person-filters .section .filters {
  display: block;
  height: 0;
  position: absolute;
  overflow: auto;
  width: 100%;
  top: 30px;
  -webkit-transition: height .15s ease;
}
.person-filters .section .filters a {
  display: block;
  line-height: 35px;
  color: #fff;
  padding: 8px;
  position: relative;
}
.person-filters .section .filters a:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
}
.person-filters .section .filters a.active {
  background: rgba(0, 0, 0, 0.4);
}
.person-filters .section .filters a i {
  position: absolute;
  display: block;
  width: 30px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  top: 8px;
  right: 8px;
}
.person-filters .section .filters a i:hover {
  background: rgba(0, 0, 0, 0.3);
}
.person-filters .section.social-issues a.trigger {
  background: #293b84;
}
.person-filters .section.defence a.trigger {
  background: #51b79b;
}
.person-filters .section.welfare a.trigger {
  background: #912d8d;
}
.person-filters .section.taxation a.trigger {
  background: #d58333;
}
.person-filters .section.business a.trigger {
  background: #6e7a87;
}
.person-filters .section.health a.trigger {
  background: #ea4768;
}
.person-filters .section.education a.trigger {
  background: #74a247;
}
.person-filters .section.reform a.trigger {
  background: #43818f;
}
.person-filters .section.home a.trigger {
  background: #c3b844;
}
.person-filters .section.misc a.trigger {
  background: #ac9762;
}
.person-filters .section.social-issues .filters {
  background: #354cab;
}
.person-filters .section.defence .filters {
  background: #75c6b0;
}
.person-filters .section.welfare .filters {
  background: #b839b3;
}
.person-filters .section.taxation .filters {
  background: #de9d5d;
}
.person-filters .section.business .filters {
  background: #89949f;
}
.person-filters .section.health .filters {
  background: #ef758e;
}
.person-filters .section.education .filters {
  background: #8eba62;
}
.person-filters .section.reform .filters {
  background: #559fb0;
}
.person-filters .section.home .filters {
  background: #cfc76b;
}
.person-filters .section.misc .filters {
  background: #bead83;
}
.person-filters .voting-history-desc {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 8px;
  color: #fff;
}
.person-filters .voting-history-desc h5 {
  margin-top: 0;
  margin-bottom: 8px;
}
.person-filters .voting-history-desc a {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  cursor: pointer;
  color: #eee;
  font-weight: bold;
  font-size: 16px;
}
.person-filters .voting-history-desc a:hover {
  color: #fff;
  text-decoration: none;
}
.person-filters .voting-history-desc p {
  font-size: 13px;
}
#save-frontbench,
#share-facebook,
#share-twitter,
#clear-frontbench,
#randomly-fill {
  margin-left: 5px;
  border: none;
  background: #5e6263;
  color: #fff;
  cursor: pointer;
  padding: 10px 15px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
#share-facebook {
  background: #3b5998;
}
#share-twitter {
  background: #55acee;
}
.sorts h3 {
  margin: 10px 0 20px;
}
.sorts h3 .btn {
  float: right;
}
.sorts h3.filter-title {
  font-size: 15px;
  display: inline-block;
  margin: 0 0 10px;
  color: #8e9293;
  font-weight: bold;
}
.sorts .filter-row {
  padding: 8px;
  background: #8e9091;
  margin-bottom: 10px;
}
.sorts .filter-row:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
.sorts .filter-row label {
  display: inline-block;
  float: left;
  font-weight: bold;
  color: whiteSmoke;
  line-height: 25px;
  margin-bottom: 0;
}
.sorts .filter-row .buttons {
  float: right;
}
.sorts .filter-row .buttons button {
  display: block;
  float: left;
  padding: 5px 8px;
  background: whiteSmoke;
  color: #333;
  border: none;
  margin-left: 8px;
}
.sorts .filter-row .buttons button.active {
  background: #ccc;
}
.sorts .filter-row .btn {
  outline: none;
}
.sorts .filter-row:last-of-type {
  margin-bottom: 0;
}
.sorts .filter-row:first-child {
  margin-top: 10px;
}
.legend {
  margin-left: -10px;
}
.legend:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
.legend span {
  float: left;
  display: block;
}
.legend span.color {
  width: 15px;
  height: 15px;
  margin-right: 3px;
}
.legend span.title {
  font-size: 12px !important;
  line-height: 15px;
}
.legend .metric {
  margin-right: 5px;
  display: block;
  float: left;
  font-weight: normal;
  color: #333;
}
.legend .metric:after {
  content: '';
  display: table;
  clear: both;
  overflow: hidden;
}
#candidate-vcard {
  display: none;
  position: absolute;
  z-index: 11;
  top: 5%;
  bottom: 5%;
  width: 48%;
  left: 50%;
  margin-left: -24%;
  background: #fff;
  border: 5px solid #ccc;
  padding: 15px;
  overflow-y: auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.75);
}
#candidate-vcard a.close-card {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background: #5e6263;
  color: #fff;
  border: 3px solid #fff;
  z-index: 20;
  font-size: 25px;
  top: 10px;
  right: 10px;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
#candidate-vcard a.close-card:hover {
  background: #000;
  text-decoration: none;
}
#candidate-vcard .party-logo {
  height: 45px;
  margin-bottom: 20px;
}

.labour .party-logo,
.conservative .party-logo {
  height: 35px;
}

.dup .party-logo {
  margin-left: -7px;
}

.socialist-labour-and-democratic-party .party-logo {
  margin-left: -4px;
}

.ukip .party-logo,
.green .party-logo {
  margin-left: -10px;
}

#candidate-vcard .party-logo img {
  max-width: 100%;
  max-height: 100%;
}
#candidate-vcard p {
  margin-bottom: 0;
}
#candidate-vcard img.profile {
  float: left;
  width: auto;
  height: 140px;
  margin: 0 15px 15px 0;
}
#candidate-vcard h1 {
  margin-top: 0;
  font-size: 25px;
  font-weight: bold;
}
#candidate-vcard h1 small {
  display: block;
  font-style: italic;
}
#candidate-vcard.liberal-democrat {
  border-color: #f7ba2e;
}
#candidate-vcard.conservative {
  border-color: #3792d0;
}
#candidate-vcard.labour {
  border-color: #da1815;
}
#candidate-vcard.green {
  border-color: #75b72c;
}
#candidate-vcard.ukip {
  border-color: #702a86;
}
#candidate-vcard.scottish-national-party {
  border-color: #f7eb09;
}
#candidate-vcard.dup {
  border-color: #c8292a;
}
#candidate-vcard.sinn-fein {
  border-color: #439558;
}
#candidate-vcard.plaid-cymru {
  border-color: #3f8433;
}
#candidate-vcard.respect {
  border-color: #4b7e2f;
}
#candidate-vcard.alliance {
  border-color: #f3ca2e;
}
#candidate-vcard.social-democratic-and-labour-party {
  border-color: #006e51;
}
#candidate-vcard.independent {
  border-color: #aaaaaa;
}
#candidate-vcard.speaker {
  border-color: #000000;
}
#candidate-vcard table.voting-history {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin-top: 20px;
}
#candidate-vcard table.voting-history td,
#candidate-vcard table.voting-history th {
  padding: 10px;
  border: 1px solid #ccc;
}
#candidate-vcard table.voting-history th {
  color: #fff;
}
#candidate-vcard table.voting-history tr:nth-child(odd) td {
  background: #eee;
}
#candidate-vcard.liberal-democrat table.voting-history thead {
  background: #f7ba2e;
}
#candidate-vcard.conservative table.voting-history thead {
  background: #3792d0;
}
#candidate-vcard.labour table.voting-history thead {
  background: #da1815;
}
#candidate-vcard.green table.voting-history thead {
  background: #75b72c;
}
#candidate-vcard.ukip table.voting-history thead {
  background: #702a86;
}
#candidate-vcard.scottish-national-party table.voting-history thead {
  background: #f7eb09;
}
#candidate-vcard.dup table.voting-history thead {
  background: #c8292a;
}
#candidate-vcard.sinn-fein table.voting-history thead {
  background: #439558;
}
#candidate-vcard.plaid-cymru table.voting-history thead {
  background: #3f8433;
}
#candidate-vcard.respect table.voting-history thead {
  background: #4b7e2f;
}
#candidate-vcard.alliance table.voting-history thead {
  background: #f3ca2e;
}
#candidate-vcard.social-democratic-and-labour-party table.voting-history thead {
  background: #006e51;
}
#candidate-vcard.independent table.voting-history thead {
  background: #aaaaaa;
}
#candidate-vcard.speaker table.voting-history thead {
  background: #000000;
  color: #fff;
}
#candidate-vcard.liberal-democrat table.voting-history tbody th {
  background: #d19408;
}
#candidate-vcard.conservative table.voting-history tbody th {
  background: #236897;
}
#candidate-vcard.labour table.voting-history tbody th {
  background: #94100e;
}
#candidate-vcard.green table.voting-history tbody th {
  background: #4e791d;
}
#candidate-vcard.ukip table.voting-history tbody th {
  background: #3f184c;
}
#candidate-vcard.scottish-national-party table.voting-history tbody th {
  background: #aea506;
}
#candidate-vcard.dup table.voting-history tbody th {
  background: #891c1d;
}
#candidate-vcard.sinn-fein table.voting-history tbody th {
  background: #2b6039;
}
#candidate-vcard.plaid-cymru table.voting-history tbody th {
  background: #254d1e;
}
#candidate-vcard.respect table.voting-history tbody th {
  background: #2a461a;
}
#candidate-vcard.alliance table.voting-history tbody th {
  background: #c9a20c;
}
#candidate-vcard.social-democratic-and-labour-party table.voting-history tbody th {
  background: #002219;
}
#candidate-vcard.independent table.voting-history tbody th {
  background: #848484;
}
#candidate-vcard.speaker table.voting-history tbody th {
  background: #000000;
  color: #fff;
}
#candidate-vcard #vcard-image-credit {
  margin-top: 10px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
#candidate-vcard #vcard-no-history {
  margin-top: 20px;
  float: none;
  width: 100%;
  color: #aaa;
  font-size: 16px;
  text-align: center;
}
#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: #fff;
  background: rgba(255, 255, 255, 0.95);
}
#loading .inner {
  width: 400px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -200px;
}
#loading .inner .progress-text {
  text-align: center;
}
#ajax-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  background: rgba(255, 255, 255, 0.65);
  z-index: 10;
}
#ajax-overlay .loading-indicator {
  width: 200px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -100px;
  text-align: center;
}
#ajax-overlay .loading-indicator span {
  display: block;
  color: #000;
  margin-top: 10px;
}
.stat-container h4 {
  width: 100%;
  font-size: 13px;
  text-align: center;
  font-weight: bold;
  color: #333;
}
.stat-container canvas {
  display: block;
  margin: 25px auto 10px;
  width: 100%;
  height: 150px;
}
.stat-container p.no-voting-data {
  text-align: center;
  font-size: 20px;
  color: #aaa;
  width: 150px;
  height: 150px;
  line-height: 150px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid #aaa;
  margin: 25px auto 10px;
}
#prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  background: rgba(0, 0, 0, 0.7);
  z-index: 20;
}
#save-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 300px;
  margin-top: -150px;
  margin-left: -200px;
  z-index: 21;
  background: #fff;
}
#save-prompt h3 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px 0;
}
#save-prompt p {
  padding: 10px 20px;
}
#save-prompt form {
  padding: 10px 20px;
}
#save-prompt input {
  display: block;
  padding: 9px;
  border: 1px solid #aaa;
  width: 100%;
  margin-bottom: 10px;
}
#save-prompt input:focus {
  outline: none;
  border-color: #000;
}
#save-prompt input:last-child {
  margin-bottom: 0;
}
#save-prompt input.error {
  border-color: red;
}
#save-prompt .save-footer {
  background: whiteSmoke;
  border-top: 1px solid #ccc;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}
.cabinet-pos-desc {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60%;
  margin-left: -30%;
  background: #fff;
  border: 5px solid #7f8080;
  padding: 10px;
  display: none;
  z-index: 20;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.cabinet-pos-desc h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
.cabinet-pos-desc .close {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  background: #7f8080;
  color: #fff;
  top: -15px;
  right: -15px;
  line-height: 25px;
  text-align: center;
  opacity: 1;
  font-weight: normal;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.cabinet-pos-desc .close:hover {
  background: #666666;
}
#clear-filters,
#clear-filters2 {
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  background: #5e6263;
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
#share-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}
#share-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  height: 200px;
  width: 400px;
  z-index: 11;
  padding: 10px;
  margin-left: -200px;
  margin-top: -100px;
  background: #fff;
  border: 4px solid #555;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
#share-modal h3 {
  margin-top: 5px;
}
#share-modal a {
  display: block;
  width: 100%;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background: #666;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#share-modal a:hover {
  background: #555;
  text-decoration: none;
}
#no-stats {
  text-align: center;
  color: #777;
  font-size: 20px;
  line-height: 75px;
}
#countdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 500;
}
#countdown .container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  margin-left: -25%;
  height: 260px;
  margin-top: -130px;
  text-align: center;
}
#countdown .container img {
  width: 200px;
  display: block;
  margin: 0 auto;
}
#countdown .container h3 {
  font-size: 30px;
  text-align: center;
  margin: 30px 0;
}
#countdown .container .time-val {
  font-size: 80px;
}
#prompt {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  border: 3px solid #ccc;
  padding: 10px;
  background: #fff;
}
#prompt h4 {
  margin-top: 0;
  margin-bottom: 10px;
}
#prompt a.button {
  display: block;
  padding: 8px;
  color: #fff;
  background: #666;
  text-align: center;
}
#prompt a.hide {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #aaa;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 25px;
  height: 25px;
  line-height: 20px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  font-size: 20px;
  display: block !important;
  cursor: pointer;
}
  #prompt a.hide:hover {
    background: #000;
    text-decoration: none;
  }
button {
  outline: none;
}