:root {
    --primary-color: #0B4F4E;
    --secondary-color: #3C3C3C;
    --accent-color: #E85D26;
    --body-color: #ffffff;
    --white-color: #ffffff;
    --black-color: #000000;
    --light-grey-color: #cccccc;
    --dark-text-color: #343a40;
    --light-text-color: #f8f9fa;
    --video-green-color: #63E80D;
    --bg-image: url("");
}

html {
    height: 100%;
}

body {
    height: 100%;
}

h1 {
  margin-bottom: 20px;
}

.form-control:not(#participant-points-purchase-modal *), .form-control:not(#participant-points-purchase-modal *):focus {
  background: none;
  border-color: var(--white-color);
  color: var(--white-color);
  border-radius: 0px;
}

.btn, label, #points-purchase-checkout-active-content a.btn {
  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: 1.75rem;
    }
    .btn, .btn-answer, label {
        font-size: 20px !important;
    }
}

.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !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: var(--white-color);
  font-size: 22px;
}
.btn-answer, .btn-answer:hover {
  background-color: var(--white-color);
  border-radius: 0px;
}
.btn-answer.active, .btn-answer.active:hover {
  color: var(--white-color);
}

.screen-bar {
    width: 100%;
    background-color: var(--white-color);
    overflow: hidden;
    min-height: 60px;
    position: relative;
}
.screen-bar.active {
    min-height: 60px;
    color: var(--white-color);
}
.screen-bar-meta {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    line-height: 1.2;
    pointer-events: none;
}
.screen-bar-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.78);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.78),
        1px -1px 0 rgba(0, 0, 0, 0.78),
        -1px 1px 0 rgba(0, 0, 0, 0.78),
        1px 1px 0 rgba(0, 0, 0, 0.78),
        -2px 0 0 rgba(0, 0, 0, 0.52),
        2px 0 0 rgba(0, 0, 0, 0.52),
        0 -2px 0 rgba(0, 0, 0, 0.52),
        0 2px 0 rgba(0, 0, 0, 0.52),
        0 3px 6px rgba(0, 0, 0, 0.45);
}
.screen-bar-percentage {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.82);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.82),
        1px -1px 0 rgba(0, 0, 0, 0.82),
        -1px 1px 0 rgba(0, 0, 0, 0.82),
        1px 1px 0 rgba(0, 0, 0, 0.82),
        -2px 0 0 rgba(0, 0, 0, 0.6),
        2px 0 0 rgba(0, 0, 0, 0.6),
        0 -2px 0 rgba(0, 0, 0, 0.6),
        0 2px 0 rgba(0, 0, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.5);
}
.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: var(--white-color);
    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;
    }
    .screen-bar,
    .screen-bar.active {
        min-height: 48px;
    }
    .screen-bar-meta {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    .response-count {
        display: none;
    }
    .progress-amount {
        top: -40px;
        font-size: 25px;
    }
}

input.form-control:not(#participant-points-purchase-modal *), input.form-control:not(#participant-points-purchase-modal *):focus,
textarea.form-control:not(#participant-points-purchase-modal *), textarea.form-control:not(#participant-points-purchase-modal *):focus,
select.form-control:not(#participant-points-purchase-modal *), select.form-control:not(#participant-points-purchase-modal *):focus {
    font-weight: 700;
    background-color: var(--white-color);
    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;
}

#screen img.video-ended-content-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.access-code-screen {
    text-align: center;
    font-size: 3.25em;
    font-weight: 900;
}
.access-code-screen img {
    border: 10px solid var(--black-color);
    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: var(--black-color); }
.t-black { color: var(--black-color); }

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

/* 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);
}

.card-body.bg-dark {
    color: var(--white-color);
}

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

.alert {
    background-color: var(--white-color);
    z-index: 10000;
    font-size: 18px;
    font-weight: 700;
}

/* 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;
}
