:root {
  --color1: #2b509d;
  --color2: #57dc80;
}

body {
  overflow-wrap: break-word;
}

/***********************************************************************************************************************
* HEADER
***********************************************************************************************************************/
.navbar {
  background: linear-gradient(to right, var(--color1), var(--color2));
  color: #fff;
}
.dropdown .dropdown-menu {
  left: auto;
  right: 0;
}
.dropdown .dropdown-item,
.nav-item .nav-link {
  cursor: pointer;
  user-select: none;
}


/***********************************************************************************************************************
* LOGIN
***********************************************************************************************************************/
.login {
  font-size: 13.3px;
}
.login-button {
  background: linear-gradient(to right, #2b509d, #57dc80);
}


/***********************************************************************************************************************
* SURVEY
***********************************************************************************************************************/
.survey {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 420px) {
  .survey {
    border: 5px solid black;
    border-radius: 40px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 420px;
  }
}

.header {
  background: linear-gradient(to right, var(--color1), var(--color2));
  color: #fff;
}

.header-text {
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
}

.poll {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: hidden;
}

.logoImage {
  max-height: 150px;
  max-width: 150px;
  height: auto;
  width: auto;
}

.list-group-item:first-child,
.list-group-item:last-child {
    border-radius: 0px;
}

.progressbar-bg {
    height: 20px;
    background-color: #777;
    display: inline-block;
}

.percent {
    float: right;
}

.highlight {
    background-color: green;
}

.radio-container {
    display: block;
    position: relative;
    padding: 1rem 0px 1rem 35px;
    margin-bottom: 0px;
    cursor: pointer;
    font-size: 1rem;
    min-height: 4rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* .answer {
  word-break: break-all;
} */

/* Hide the browser's default checkbox */

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}


/* Create a custom checkbox */

.radiomark {
    position: absolute;
    top: 50%;
    left: 0;
    height: 20px;
    width: 20px;
    margin-top: -12px;
    font-size: .8rem;
    background-color: #eee;
}


/* On mouse-over, add a grey background color */

.radio-container:hover input~.radiomark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.radio-container input:checked~.radiomark {
    background-color: #57dc80;
}


/* Create the radiomark/indicator (hidden when not checked) */

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the radiomark when checked */

.radio-container input:checked~.radiomark:after {
    display: block;
}


/* Style the radiomark/indicator */

.radio-container .radiomark:after {
    left: 8px;
    top: 3px;
    width: 6px;
    height: 13px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*	Radio button style */

.radio-container.radio .radiomark {
    border-radius: 50%;
}


/*	Ranked style */

.radio-container.ranked .radiomark:after {
    transform: rotate(0deg);
    border: none;
    content: attr(data-content);
    top: 0;
    text-align: center;
    color: #fff;
}


/* 
.radio-container.radio .radiomark:after {
    margin: 0 auto 0 10px;
    width: 13px;
    height: 13px;
    border: solid 2px #ccc;
    background-size: 13px;
    content: "";
    text-align: center;
    border-radius: 50%;
    line-height: 14px;
} */


/*	Radio button style END */

.list-group-item {
    padding: 0 3px 0 10px;
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.survey-button {
  font-size: 1rem;
  border: none;
  border-radius: 3px;
  padding: 10px 80px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.divider {
  height: 30px;
  width: 100%;
}

.question h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1rem .5rem;
}

.questionImage > img {
  max-height: 150px;
  max-width: 150px;
  height: auto;
  width: auto;
}

.answers {
  /* flex-grow: 1; */
  overflow-y: auto;
  scrollbar-width: thin;
}

.answers .list-group .form-control {
    width: auto;
}

.answerImage {
  max-height: 100px;
  max-width: 100px;
  height: auto;
  width: auto;
}
.video-container {
  position: relative;
  margin: .25rem 0;;
}
.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 10;
}
.play-button {
  max-height: 150px;
  max-width: 150px;
  height: auto;
  width: auto;
}


/***********************************************************************************************************************
* GENERATE
***********************************************************************************************************************/
.generate-header {
  background: linear-gradient(to right, #2b509d, #57dc80);
  border-radius: .5rem .5rem 0 0;
  color: #fff;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 900px;
}

.generate-main {
  border: 1px solid rgb(203 213 225);
  border-radius: 0 0 .5rem .5rem;
  display: flex;
  font-family: monospace;
  font-size: 13.3px;
  height: 404px;
  left: 50%;
  line-height: 1.2;
  width: 900px;
  white-space: pre;
  position: relative;
  transform: translateX(-50%);
  overflow: hidden;
}

.rownr {
  background-color: #ccc;
  border: none;
  border-right: 1px solid rgb(203 213 225);
  color: white;
  text-align: right;
  padding: .1rem .5rem;
  resize: none;
  overflow: hidden;
  scrollbar-width: thin;
  outline: none;
  user-select: none;
  vertical-align: top;
}

.txt {
  border: none;
  flex: 1;
  outline: none;
  padding: .1rem .5rem;
  resize: none;
  scrollbar-width: thin;
}

.scroll-x {
  overflow-x: scroll;
}

.button_div {
  left: 50%; 
  position: relative;
  transform: translateX(-50%);
  width: 900px;
}
.generate-button {
  background: linear-gradient(to right, #2b509d, #57dc80);
  border: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 3px;
  /* left: 50%; */
  padding: 10px 80px;
  /* position: relative;
  transform: translateX(-50%); */
}

