* {
  margin: 0;
  padding: 0;
}

body {
  background: #fff0dd;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, helvetica, arial, sans-serif;
}

body.big-screen {
  background: url(/images/bg.jpeg) no-repeat center center fixed;
  background-size: cover;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.gjett-hvem-title {
  text-align: center;
  font-family: 'Lobster Two';
  font-style: italic;
  font-weight: bold;
  transform: perspective(1em) rotateY(-5deg) skewY(-10deg);
  font-size: 7em;
  margin: 0.5em 0;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  display: none;
  color: white;
  -webkit-animation:jump 3s infinite ease-in-out alternate;
     -moz-animation:jump 3s infinite ease-in-out alternate;
          animation:jump 3s infinite ease-in-out alternate;
}

@-moz-keyframes jump { 100% { -moz-transform: skewY(-5deg); } }
@-webkit-keyframes jump { 100% { -webkit-transform: skwY(-5deg); } }
@keyframes jump { 100% { -webkit-transform: skewY(-5deg); transform:skewY(-5deg); } }

@-moz-keyframes zoom { 100% { -moz-transform: scale(1.5); } }
@-webkit-keyframes zoom { 100% { -webkit-transform: scale(1.5); } }
@keyframes zoom { 100% { -webkit-transform: scale(1.5); transform:scale(1.5); } }

body.jingle .gjett-hvem-title {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -100px;
    width: 100%;
    z-index: 5;
    font-size: 200px;
}

.current-answer {
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 10%;
    right: 10%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    display: block;
    text-align: center;
    font-size: 6em;
    font-weight: bold;
    padding-top: 2em;
    z-index: 10;
}
.hidden {
    display: none;
}

.message-popover {
  font-family: 'Lobster Two';
  font-style: italic;
  font-size: 4em;
}

.red {
    background-color: #E25151;
}
.blue {
    background-color: #389AFF;
}
.green {
    background-color: #69D071;
}
.orange {
    background-color: orange;
}

.icon {
    float: left;
    width: 40%;
    padding-bottom: 25%;
    margin: 0 5%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    transition: opacity .5s;
}
.disabled {
    opacity: 0.3;
}

.jingle .icon {
    -webkit-animation:spin 3s infinite linear;
       -moz-animation:spin 3s infinite linear;
            animation:spin 3s infinite linear;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.row {
    width: 98%;
    margin: 10px 1%;
    float: left;
    clear: left;
}

a {
    color: white;
    text-decoration: none;
    display: block;
}
a.answer {
    width: 50%;
    float: left;
    height: 100px;
    line-height: 100px;
    text-align: center;
}

input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"] {
    float: left;
    width: 100%;
    margin-right: 5%;
    height: 100px;
    border: 0;
    text-indent: 20px;
    font-size: 28px;
}

a#message-answer {
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    float: left;
}

.icon#call {
    background-image: url('/images/call.png');
}
.icon#publikum {
    background-image: url('/images/wine.png');
}
.icon#film {
    background-image: url('/images/film.png');
}
.icon#musikk {
    background-image: url('/images/musikk.png');
}


.cover {
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    z-index: 2;
    top: 0; right: 0; left: 0; bottom: 0;
}

body.big-screen .icon-wrapper {
    margin-top: 50px;
    float: left;
    width: 55%;
}

#pay {
    background-image: url('/images/pay.jpg');
    background-size: cover;
    vertical-align: bottom;
    background-repeat: no-repeat;
    background-position: center;
}

#paycontent {
    position: absolute;
    bottom: 5%;
    width: 100%;
    text-align: center;
}

#plot {
    background-color: #FFFFDD;
    padding: 15px;
    color: black;
}

.serving-image {
    background: url(/images/serving-image.jpg) no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bonus-runde-image {
    background: url(/images/bonus-runde.jpg) no-repeat;
    background-size: cover;
    position: absolute;
    inset: 0;
}

.bonus-runde-image .progress-bar {
    position: absolute;
    background-color: red;
    left: 40px;
    bottom: 40px;
    width: calc(100% - 80px);
    height: 40px;
    transition: width 88s;
}

.bonus-runde-image .progress-bar.small {
  width: 0;
}

#video-popover {
    padding: 0;
    background: black;
}

.video-player {
    max-width: 100%;
}

.embed-wrapper {
    width: 80%;
    margin: 5% 10%;
    overflow: hidden;
}

.embed-item {
    width: 45%;
    margin: 0 2.5% 35px;
    float: left;
    height: 0;
    padding-bottom: 27%;
}

iframe {
    width: 100%;
    height: 100%;
}

@media all and (max-width: 1000px) {
    .embed-item {
        width: 95%;
        float: none;
        padding-bottom: 57%;
    }
}

#show-team-wrapper, #bonus {
    background-color: white;
    padding-top: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
}

#bonus h2 {
    font-size: 75px;
    color: #222;
    margin: 20px 0;
}

.current-answer.board {
  padding: 10px;
  background: white;
  top: 0;
  bottom: 0;
}


body.big-screen .candidate-name {
    font-weight: 400;
}

body.big-screen .candidate[data-eliminated] .candidate-image {
    opacity: 0.6;
}

body.big-screen .candidate[data-eliminated]::before {
    background-size: 100px;
}

body.big-screen .candidate[data-highlighted] img {
    border: 4px solid #29A100;
    margin-left: -2px;
    margin-top: -2px;
}

body.big-screen .candidate {
    height: 130px;
}

body.big-screen .candidate-name {
    margin-top: -10px;
}

body.big-screen .candidate-image {
    width: 100px;
    height: 100px;
}

.typing-silhouette {
  position: absolute;
  right: 20%;
  bottom: 0;
  width: 40%;
}

.typing-indicator {
  width: 25%;
  position: absolute;
  bottom: 40%;
  left: 20%;
}

.no-pointer-events {
  pointer-events: none;
}

body.hide-aid-icons .icon-wrapper,
body.hide-aid-icons #team-collection {
  display: none;
}

.splash-screen {
  background: linear-gradient(to left, #43cea2 , #185a9d);
  background-size: cover;
  text-align: center;
  padding: 100px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.splash-screen .gjett-hvem-title {
  display: block;
}


.knut-borge {
  background: #dbfdff;
  padding: 1em;
  display: flex;
}
.knut-borge h2 {
  color: #333;
  font-size: 0.5em;
}

.knut-borge-image {
  flex: 1;
  background: url('/images/knutborge.jpg') no-repeat center;
  background-size: contain;
}

.call-view {
  background: #fff;
  padding: 0;
}

.call-view img {
  width: 100%;
}

.current-answer.scores {
  padding: 0;
  background: white;
}

.current-answer.scores .chart-wrapper {
  width: 1200px;
  height: 550px;
  position: relative;
  margin: 0 auto;
}

.current-answer.question {
  padding: .5em;
  background-color: #add3e4;
  color: #333;
  font-size: 2.5em;
}

.question {
  color: #333;
}

.question-list,
.presented-question-list,
.hidden-question-list {
  float: left;
  width: 300px;
  margin: 0 1em;
}

.question strong {
  display: block;
}

#team-collection {
    overflow: auto;
    font-size: 2em;
    background: rgba(0,0,0,0.5);
    float: left;
    list-style-type: none;
    margin: 50px 0 50px 5%;
    width: 35%;
}

#team-collection li {
    padding: 3px;
    margin: 5px;
    display: flex;
    align-items: center;
}

#team-collection .team-name {
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  color: white;
}

.highlighted {
    background: rgba(150, 219, 255, 0.9);
}

#team-collection .team-photo {
  float: left;
  max-width: 50px;
  margin-right: 5px;
  position: static;
  height: auto;
}

#team-collection .highlighted .team-photo {
  max-width: 250px;
}

.current-answer#block {
  background: red;
}
