#sessionpoll.sessionpoll {
  position: fixed;
  z-index: 999999;
}
#sessionpoll.sessionpoll #edit-nid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9998;
  opacity: .5;
}
#sessionpoll.sessionpoll #poll_wrapper {
  width: 100%;
  max-width: 650px;
  height: fit-content;
  display: flex;
  justify-content: center;
  margin: 20vh auto 0 auto;
  z-index: 9999;
  position: relative;
  background: #fff;
}
#sessionpoll.sessionpoll #poll_body input.form-radio {
  position: absolute;
  margin-top: 10px;
  left: 10px;
}
#sessionpoll.sessionpoll #poll_body .fieldset-wrapper {
  padding-left: 40px;
  position: relative;
}
#sessionpoll.sessionpoll #poll_container {
  background-color: white;
  width: 100%;
  height: auto;
}
#sessionpoll.sessionpoll #poll_footer {
  padding: 10px;
  width: auto;
  height: auto;
}
#sessionpoll.sessionpoll #poll_body {
  overflow-y: scroll;
  max-height: 450px;
  background: #fff;
  padding: 10px;
}
#sessionpoll.sessionpoll #poll_header {
  width: 100%;
}
@media all and (max-width: 600px) {
  #sessionpoll.sessionpoll {
    position: absolute;
    z-index: 999999;
    font-size: .7em;
  }
  #sessionpoll.sessionpoll #poll_wrapper {
    margin-top: 20px;
  }
  #sessionpoll.sessionpoll #poll_container {
    background-color: white;
    width: 95vw;
    height: 100%;
    max-height: 95vw;
  }
  #sessionpoll.sessionpoll #poll_header {
    font-size: 16px;
  }
}

@media all and (min-width: 600px) and (max-height: 620px) {
  #sessionpoll.sessionpoll #poll_wrapper {
    margin: 0 auto;
    bottom: 0;
    max-height: 100vh;
    overflow: scroll;
    font-size: 70%;
  }
  #sessionpoll.sessionpoll #poll_body {
    height: auto;
    padding-bottom: 60px;
  }
  #sessionpoll.sessionpoll #poll_footer {
    bottom: 0;
  }
}