[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

body {
    font-size: 17px;
    line-height: 1.45;
}

.redlink {
  color: #F64D4D;
}

.redlink:hover {
  color: #D34141;
}

.orangelink {
  color: #ffa630;
}

.orangelink:hover {
  color: #ff9811;
}

.bg-primary {
  background-color: #3F88C5;
}

.header {
  height: 60% !important;
  min-height: 300px;
}

.leftalign {
  text-align: left;
}

.header h1 span{
  background-color: rgb(249,249,249);
  background-color: rgba(249,249,249,0.6);
  padding: 0 10px;
}

.header h3 span{
  background-color: rgb(249,249,249);
  background-color: rgba(249,249,249,0.6);
  padding: 0 10px;
}

.foreground {
  position: absolute;
  width: inherit;
  height: inherit;
  top: 40%;
}

.d3-background {
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #FFF;
}

.no-bg {
    background: none !important;
}


.contentitem-ihs{
  position:relative;
  margin-top:20px;
  margin-bottom:30px;
  border-top: 2px solid #F9F9F9;
  border-bottom: 2px solid #F9F9F9;
}

.contentitem-ihs-iframe{
  display:block;
  height:568px;
  border: 0;
}

@media (min-width:1200px){
.container {
  width: 920px;
}
}

@media (max-width:660px){
  .contentitem-ihs-iframe{
    height:480px;
  }
}

@media (max-width:370px){
  .contentitem-ihs-iframe{
    height:426px
  }

  .contentitem-ihs {
    padding-right: 5px;
    padding-left: 5px;
  }
}

.background {
  background-color: #F9F9F9 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  text-align: center !important;
}

.app-container {
    height: 100vh;
    padding: 0;
    width: 100%;
}

.select-container {
    text-align: center;
    height: 30%;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    padding: 10px 5px 0px 5px;
    z-index: 200;
}

.select-container .gemeente-search {
  height: 30%;
}

.select-container .gemeente-search input {
  font-size: 16px;
}

.select-container .gemeente-search input::-webkit-input-placeholder { text-align: center; }
.select-container .gemeente-search input:-moz-placeholder { text-align: center; }
.select-container .gemeente-search input::-moz-placeholder { text-align: center; }
.select-container .gemeente-search input:-ms-input-placeholder { text-align: center; }

.select-container .angucomplete-holder .angucomplete-dropdown {
  display: block;
  width: 100%;
  z-index: 200;
  height: auto !important;
  margin-top: 0;
}

.select-container .angucomplete-holder .angucomplete-dropdown .highlight {
  color: #F64D4D;
}

.app-container .d3-container {
    height: 70%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0px;
    background-color:#FFF;
}

.bottom-text-area {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 30%;

    padding: 0;

    font-family: Georgia, serif;
    font-size: 17px;

    border-top: solid 1px #EEE;

    background-color: #fff;

    transition: background-color .5s, padding-left 1s, padding-left 1s;
    -webkit-transition: background-color .5s, padding-left 1s, padding-right 1s;
    -moz-transition: background-color .5s, padding-left 1s, padding-right 1s;
    -o-transition: background-color .5s, padding-left 1s, padding-right 1s;
}

.app-container .d3-layover-container {

  height: 70%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0px;
  text-align: center;
  vertical-align: middle;
}

.app-container .d3-layover-container .d3-layover-background {
  background: rgba(255,255,255,0.95);
  height: 100%;
  width: 100%;
}

.app-container .d3-layover-container .d3-layover-background.d3-layover-background-transparent {
  background: rgba(255,255,255,0);
}

.app-container .d3-layover-container .d3-layover-text {
  background: rgba(255,255,255,0.8);
  color: black;
  font-size: 24px;
  padding: 5px;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.app-container .d3-layover-container .d3-layover-text.d3-layover-text-newpaper {
  font-family: 'Faustina', serif;
  font-size: 28px;
}

.app-container .d3-layover-container .d3-layover-grade-input {
  position: relative;
  top: 10%;
}
.app-container .d3-layover-container .d3-layover-grade-input p {
  margin: 0;
}

.bar-holder rect.bar {
  fill: #3F88C5;
}

.bar-holder rect.bar.selected {
  fill: #F64D4D;
}

.bar-holder rect.bar-background {
  /* fill: #30DBB5; */
  fill: #BBB;
}

.bottom-text-area p {
    padding-top: 15px;
    color: black;
    text-align: left;
}

.bottom-text-area.background p {
  text-align: center !important;
}

.show-snapstat p {
    opacity: 1.0;
}

.hide-snapstat p {
    opacity: .1;
}

.show-button {
    opacity: 1.0;
}

.hide-button {
    opacity: 0;
}

.bottom-text-area a {
    color: #DF5B57;
}

.button-group {
  display: inline-block;
}

.button-group {
    padding: 0;
    margin: 0;
    display: table;
    position: fixed;
    bottom: 15px;
    left: 0;
}

.start-button {
  width: 100%;
  height: 100%;
  max-height: 50px;
}

.button-group li {
    display: table-cell;
    padding: 0 5px 0 0;
}

.new-action-button {
    display: inline-block;
    background: #F64D4D;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    max-width: 600px;
    white-space: normal;
    text-transform: uppercase;
    text-align: center;
    border: none;
    padding: 15px 20px;
    vertical-align: middle;
    outline: none;
    opacity: 1;
}

.new-action-button span.buttonText {
    display: inline-block;
    vertical-align: middle;
}

.new-action-button:hover {
    cursor: pointer;
    background: #D34141;
}

.new-action-button:disabled {
    background: #666;
    opacity: 0.1;
}

.new-action-button {
  transition: opacity .5s;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
}

.country-header {
    color: black;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.explainer-header {
  color: #DF5B57;
  font-size: 20px;
  font-weight: bold;
  fill: #DF5B57;
  opacity: 1;
  cursor: pointer;
}

.ihs-header {
    color: black;
    font-size: 18px;
    cursor: pointer;
    fill: #999;
}

.country-subheader {
    color: black;
    font-family: Georgia, serif;
    font-size: 14px;
}

.ihs-subheader, .explainer-subheader {
    color: #999;
    font-family: Georgia, serif;
    fill: #999;
    font-size: 14px;
}

.end-text {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.8;
}

.end-term {
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.8;
    font-weight: 500;
}

.poll-counter {
    font-weight: bold;
    font-family: 'Bree Regular', serif;
    font-size: 30px;
}

.poll-counter.shadow {
    stroke: white;
    stroke-width: 5px;
    opacity: 0.8;
}

.pollname,
.partyname,
.ihsname,
.firstbartext {
    font-family: 'Bree Regular', serif;
    font-size: 17px;
}

.ihsname {
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
    fill: #BBB;
    opacity: 0.7;
    cursor: pointer;
}

.footer-title {
    font-family: 'Bree Regular', serif;
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
    fill: #BBB;
    opacity: 0.7;
    cursor: pointer;
}

.ihsname:hover {
    fill: #DF5B57;
}

.top-header-text {
    font-family: 'Bree Regular', serif;
    font-size: 13px;
    opacity: 1.0;
    font-style: italic;
    fill: #AAA;
}

.errormargin,
.barnumber {
    font-family: 'Bree Light', serif;
    font-size: 15px;
}

.logo {
    cursor: pointer;
}

.startbutton {
  fill: #DF5B57;
}

.startbutton:hover {
  fill: #D34141;
  cursor: pointer;
}

.startbutton:active {
  fill: #D34141;
  cursor: pointer;
}

.startbutton-text {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  fill: #FFF;
}
.startbutton-text:hover {
  cursor: pointer;
}

.start-screen-text {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
}

@media screen and (max-width: 660px) {
    body {
        font-size: 15px;
    }

    .app-container .d3-container {
        height: 67%;
    }

    .end-term {
        font-size: 18px;
    }

    .barnumber,
    .pollname,
    .partyname,
    .firstbartext {
        font-size: 13px;
    }

    .end-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .new-action-button {
        font-size: 13px;
        padding: 7px 10px;
    }

    .bottom-text-area {
        font-size: 15px;
        height: 33%;
    }

    .bottom-text-area p {
      padding-top: 15px;
    }

    .button-group {
      bottom: 10px;
    }
}

@media screen and (max-width: 370px) {
    .bottom-text-area {
        font-size: 14px;
    }

    .bottom-text-area p {
        padding-top: 5px;
    }

    .pollname {
      font-size: 14px;
    }

    .barnumber,
    .partyname,
    .ihsname,
    .footer-title,
    .firstbartext {
        font-size: 10px;
    }

    .start-screen-text {
        font-size: 16px;
    }

    .button-group {
      bottom: 10px;
    }
}
