#poll-container {
  border-radius: 3px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  transition: all 0.8s ease 0s;
  z-index: 998;
  position: fixed;
}

#poll-container h1 {
  font-size: 20px;
}

#poll-container iframe, #poll-container iframe:focus {
  border: 0 !important;
}

@media only screen and (max-width: 800px) {
  #poll-container {
    display: none;
  }
}

#poll-container.scroll {
  bottom: -500px;
  right: 100px;
}

body.poll-open #poll-container.scroll {
  bottom: -10px;
}

body.poll-recs-open .top-bar-wrapper,
body.poll-recs-open #header,
body.poll-recs-open #footer {
  z-index: 0;
}

body.poll-recs-open #sidebarRight .contentPageSelection-recommendations {
  box-shadow: 0 0 50px black;
  position: relative;
  z-index: 999;
  background: white;
  border-radius: 3px;
  padding: 10px;
}

body.poll-recs-open #sidebarRight #poll-container.recommendations {
  opacity: 1;
  z-index: 999;
  left: -380px;
  top: 0;
  position: absolute;
}

body.poll-recs-open #sidebarRight #poll-container.recommendations:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  right: -20px;
  top: 50%;
  margin-top: -10px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid white;
}

body.poll-recs-open #sidebarRight #poll-container.recommendations a.close-poll {
  color: white;
}

body.poll-recs-open .poll-overlay {
  opacity: .75;
  z-index: 998;
}

#poll-container.recommendations,
.poll-overlay {
  opacity: 0;
  z-index: -1;
}

.poll-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  position: fixed;
}

#poll-container.popup {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  padding: 0;
}

#poll-container.popup div {
  border-radius: 3px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0s ease 0s, all 0.3s ease 0s, all 0s ease 0s;
  background: white;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  position: absolute;
  width: 70%;
  z-index: 999;
  cursor: default;
}

#poll-container.popup div a.close-poll {
  color: white;
}

body.poll-popup-open #poll-container.popup {
  z-index: 998;
  opacity: 1;
}

a.close-poll {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 14px;
  line-height: 13px;
  cursor: pointer;
}

a.close-poll i {
  display: inline-block;
  vertical-align: baseline;
}

a.help {
  cursor: help;
}
