html {
    height: 100%;
}

body {
    height: 100%;
}

h1 {
  margin-bottom: 20px;
}

.form-control, .form-control:focus {
  background: none;
  border-color: #fff;
  color: #fff;
  border-radius: 0px;
}

.btn, label {
  font-weight: 700;
  font-size: 30px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  border-radius: 0px;
  border: 0px;
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    .btn, .btn-answer, label {
        font-size: 20px !important;
    }
}

.split-screen-participant h1 {
    font-size: 1.5rem;
}
.split-screen-participant .btn, .split-screen-participant .btn-answer, .split-screen-participant label {
    font-size: 16px !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  text-transform: uppercase;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
}
.btn-link, .btn-link:hover {
  color: #fff;
  font-size: 22px;
}
.btn-answer, .btn-answer:hover {
  background-color: #fff;
  border-radius: 0px;
}
.btn-answer.active, .btn-answer.active:hover {
  color: #fff;
}

.screen-bar {
    width: 100%;
    background-color: #fff;
}
.correct-shown {
    opacity: 0.2;
}
.correct {
    opacity: 1.0;
}

.multiple-choice-icon {
    width: 175px;
}
.slider-wrapper {
  font-weight: 700;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 25%;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 25%;
  cursor: pointer;
}

.progress-wrapper {
    font-size: 50px;
    font-weight: 700;
}
.progress {
    border-radius: 0px;
    background-color: white;
    height: 60px;
}
.progress-line {
    height: 70px;
    width: 10px;
}
.progress-amount {
    top: -65px;
    left: -20px;
    font-size: 50px;
}

#participant-answer label {
  display: block;
  font-weight: 900;
  font-size: 30px;
  margin-top: 10px;
}
#participant-answer textarea {
  font-size: 22px;
}
#participant-answer .btn {
  padding: 20px;
}
#participant-answer .btn-link:hover {
    text-decoration: none;
}

@media only screen and (max-width: 576px) {
    #participant-answer .btn {
        padding: 10px;
    }

    .progress-wrapper {
        font-size: 25px;
    }
    .progress-wrapper .h3 {
        font-size: 1.1rem;
    }
    .progress-amount {
        top: -40px;
        font-size: 25px;
    }
}

input.form-control, input.form-control:focus,
textarea.form-control, textarea.form-control:focus,
select.form-control, select.form-control:focus {
    font-weight: 700;
    background-color: white;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
}

.logo {
    width: 200px;
}

.logo-screen {
    width: 200px;
    position: fixed;
    top: 25px;
    left: 25px;
}

.access-code-screen {
    text-align: center;
    font-size: 3.25em;
    font-weight: 900;
}
.access-code-screen img {
    border: 10px solid black;
    border-radius: 5%;
    box-shadow: 10px 10px 10px 2px rgba(0, 0, 0, 0.5);
}

.f-300 { font-weight: 300; }
.f-400 { font-weight: 400; }
.f-700 { font-weight: 700; }
.f-900 { font-weight: 900; }
.b-shadow { box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4); }
.t-shadow { text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2); }
.bg-black { background-color: #000; }
.t-black { color: #000; }

.modal .modal-header, .modal .modal-footer {
    font-weight: 900;
    color: white;
}

/* Make the assent/consent checkbox bigger, otherwise hard to hit on mobile. */
.form-check-input {
    height: 30px;
    width: 30px;
}
.form-check-label {
    margin-left: 30px;
}

.action-bar {
    background-color: rgba(0, 0, 0, 0.7);
}
.action-bar .submit-button {
    /* On smaller screens, the "I prefer not to answer..." goes 2 lines, adding padding below the Submit button.
    So, we disable the drop-shadow and give the column around it the same background color, making it appear to fill
    the whole vertical space. */
    box-shadow: none;
}
#participant-answer {
    /* Leave enough room between the last option and the action bar anchored to the bottom. */
    padding-bottom: 130px;
}

.powered-by {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.75);
    color: #3C3C3C !important;
}
.powered-by img {
    max-height: 30px;
    margin-left: 10px;
}

#reward-modal .modal-content, #participant-question-modal .modal-content {
    background-color: rgba(255, 255, 255, 0.85);
}

#leaderboard .table {
    font-size: 18px;
}

.alert {
    background-color: #fff;
    z-index: 10000;
    font-size: 18px;
    font-weight: 700;
}

/* screen-minimal */
#screen-minimal-video {
    height: 62vh;
}
.screen-minimal-video-bg {
    background-color: #63E80D;
}
#screen-bg {
    /*background-color: #000;*/
    position: fixed;
    top: 62vh;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
#screen-minimal #screen {
    height: 38vh;
}
#screen-minimal .progress-line {
    background-color: #000000;
}
#screen-minimal .progress-number-line {
    width: 100%;
    height: 60%;
    border-bottom: 5px solid #000000;
}
#screen-minimal .progress-amount {
    color: #000000;
}
#screen-minimal .question-text {
    font-size: 4vh;
    line-height: 5vh;
    max-height: 30vh;
    overflow: hidden;
    /* !important so that the brand themes can't override it */
    color: #fff !important;
    background-color: #000;
    padding: 1vh;
}
#screen-minimal .progress-wrapper, #screen-minimal .progress-amount  {
    font-size: 3vw;
}
#screen-minimal .progress-line {
    width: 5px;
}
#screen-minimal .question-option-container {
    height: 29vh;
    overflow: hidden;
}
#screen-minimal .question-option {
    height: fit-content;
    margin-bottom: 2vh;
    padding-top: 1vh;
}
#screen-minimal .question-option h5 {
    font-size: 3vh;
    line-height: 3.2vh;
}
#screen-minimal .free-form {
    height: 29vh;
    width: 100%;
    display: table;
}
#screen-minimal .free-form span {
    display: table-cell;
    vertical-align: middle;
}
#screen-minimal .progress-wrapper {
    height: 30vh;
}

/* Display Access Code */

.side-access-code {
    font-size: 1.25rem;
}
.side-access-code img {
    width: 200px;
    height:200px;
}
.top-right {
    position: absolute;
    top:40px;
    right:15px;
    z-index: 1;
}
.top-left {
    position: absolute;
    top:40px;
    left:15px;
    z-index: 1;
}
.bottom-right {
    position: absolute;
    top:calc(100% - 300px);
    right:15px;
    z-index: 1;
}
.bottom-left{
    position: absolute;
    top:calc(100% - 300px);
    left:15px;
    z-index: 1;
}