@font-face {
  font-family: "SuecaHdSans-Regular";
  src: url("../fonts/subset-SuecaHdSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SuecaHdSans-Medium";
  src: url("../fonts/subset-SuecaHdSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SuecaHdSans-Bold";
  src: url("../fonts/subset-SuecaHdSans-Bold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SuecaHdSans-SemiBold";
  src: url("../fonts/subset-SuecaHdSans-SemiBold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVD-serif-Semibold";
  src: url("../fonts/subset-SvDSerif-SemiBold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVD-serif-Bold";
  src: url("../fonts/subset-SvDSerif-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
  overflow-x: hidden;
  height: 100%;
  background-color: #faf0e8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image: url(../img/bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
a {
  color: #474747;
}
h1 {
  font-family: "SVD-serif-Semibold";
  transition: all 0.5s;
  font-size: 36px;
  line-height: 100%;
  margin-bottom: 30px;
  margin-top: 40px;
}

h2 {
  font-family: "SuecaHdSans-Medium";
  transition: all 0.5s;
  font-size: 20px;
  margin-bottom: 5px;
  line-height: 100%;
  margin-top: 15px;
}
h3 {
  font-family: "SuecaHdSans-Regular";
  font-weight: normal;
}
.button {
  font-family: "SuecaHdSans-SemiBold";
  transition: all 0.5s;
}
body,
p {
  font-family: "SuecaHdSans-Regular";
}
.footer {
  font-family: "SuecaHdSans-Medium";
}
.menu {
  font-family: "SuecaHdSans-Bold";
}

p {
  font-size: 18px;
}
.question {
  font-family: "SVD-serif-Semibold";
  font-size: 24px;
  text-align: center;
  margin: auto;
  margin-top: 4vh;
  margin-bottom: 4vh;
  width: 70%;
}
.button {
  font-size: 16px;
}
.checkbox-info {
  font-size: 14px;
}
.input-text {
  font-size: 14px;
}
.menu,
.footer {
  font-size: 14px;
  color: #474747;
}
.next {
  font-size: 18px;
}

.error-msg {
  color: #f00 !important;
}
p {
  margin-top: 0px;
}
.checkbox {
  width: 24px;
  height: 24px;
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  border: 2px solid #474747;
  vertical-align: top;
  margin-top: 8px;
  margin-right: 8px;
  border-radius: 4px;
}
.checked {
  background-image: url(../img/check.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: #0098da;
  border-color: #0098da;
}
.checkbox-info {
  margin-top: 6px;
  width: 90%;
  display: inline-block;
  vertical-align: top;
  padding-top: 6px;
}
.checkbox-container {
  margin-top: 1vh;
  margin-bottom: 1vh;
}
.container-main {
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1000;
}
.container-overlay {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
  opacity: 0;
}
.container-cards {
  width: 100vw;
  height: 100vh;
  position: relative;
  margin: auto;
  z-index: 10;
  max-width: 1024px;
  z-index: 50;
  margin-top: 6vh;
}
.card {
  background-color: #ffffff;
  width: 90%;
  height: 55vh;
  overflow-y: auto;
  position: absolute;
  color: #474747;
  opacity: 0;
  box-sizing: border-box;
  padding: 2vw;
  min-height: 600px;
  /*border-radius: 0px;*/
  display: none;
  /*  box-shadow: 0px 7px 21px rgba(0, 0, 0, 0.3);*/
}
.card01 {
  left: -86%;
  top: 10vh;
  rotate: -5deg;
  opacity: 0;
}

.card02 {
  left: 5%;
  top: 2vh;
  rotate: 0deg;
  opacity: 1;
}

.card03 {
  left: 96%;
  top: 10vh;
  rotate: 5deg;
  opacity: 0;
}

.card-overlay {
  rotate: 0deg;
  max-width: 900px;
  margin: auto;
  margin-top: 110vh;
  display: block;
  position: relative;
  padding: 4vw;
  font-size: 16px;
}
.card-overlay p {
  font-size: 16px;
}
.card-content {
  position: relative;
  z-index: 10;
  max-width: 790px;
  margin: auto;
  display: block;
}
.inner-start {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
}
.inner-thanks {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
  text-align: left;
}
.inner-rules {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
}
.inner-prizes {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
}
.inner-cookie {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
}
.inner-pii {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 790px;
}
.inner-form,
.inner-toplist {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 480px;
}
.quiz-container {
  display: block;
  margin: auto;
  width: 95%;
}
.inner-form p {
  margin-bottom: 2vh;
}
.next {
  font-family: "SuecaHdSans-SemiBold";
  background: blue;
  border-radius: 6px;
  padding: 20px;
  position: relative;
  z-index: 1000;
  margin: auto;
  width: 90%;
  text-align: center;
  box-sizing: border-box;
  max-width: 400px;

  display: none;
}
.next01 {
  color: #ffffff;
  background-color: #14558c;
}
.next02 {
  margin-top: 2vh;
  color: #ffffff;
  background-color: #1e8ccf;
}
.next03 {
  margin-top: 2vh;
  color: #ffffff;
  background-color: #143052;
}
.menu {
  display: block;
  position: absolute;
  width: 100vw;
  height: 43px;
  top: 0vh;
  left: 0vw;
  z-index: 100;
  text-align: right;
  box-sizing: border-box;
  z-index: 1100;
}
.menu-highlight {
  background-color: #e64751;
}
.clicked {
  width: 44px !important;
  height: 44px;
  /*
        margin-right: unset !important;
        margin-left: 5% !important;
        */
  background-image: url(../img/preload_spin.gif) !important;
  background-position: center center !important;
  background-size: 30px 30px !important;
  background-repeat: no-repeat !important;
  border-radius: 30px;
}
.footer {
  display: block;
  position: absolute;
  width: 100vw;
  height: 10vh;
  bottom: 0vh;
  left: 0vw;
  background-color: #0098da;
  z-index: 100;
  text-align: center;
  box-sizing: border-box;
  font-weight: bold;
  z-index: 110;
}
ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
li {
  display: inline-block;
  margin: 0vh 2vw 0vh 2vw; /*top right bottom left*/
}
.menu li,
.footer li {
  margin: 0vh 0vw 0vh 0vw; /*top right bottom left*/
  text-transform: uppercase;
}
.menu li a {
  padding: 31px 4vw 32px 4vw; /*top right bottom left*/
}

.footer li a {
  padding: 1.5vh 4vw 0.5vh 4vw; /*top right bottom left*/
}
.menu li a,
.footer li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color: #fefefe;
}
.overlay-link,
.inline-link {
  text-decoration: underline;
  color: #474747;
  cursor: pointer;
}
.active {
  text-decoration: underline !important;
}

.button-close-overlay {
  position: absolute;
  top: 4vw;
  right: 4vw;
  background-image: url(../img/cross.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px !important;
  height: 30px !important;
  color: #fff;
  z-index: 20;
  opacity: 1;
  box-sizing: border-box;
  transition: all 0.5s;
  border: 3px solid #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 5px #000;
}
.btn-back {
  width: 1px;
  height: 1px;
  background: url("../img/arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50%;
  position: absolute;
  bottom: 30px;
  left: 30px;
  border-radius: 100%;
  border: 3px solid #767571;
  transition: all 0.5s;
  opacity: 0;
}
.activeCard,
.formCard,
.startCard {
  z-index: 1000;
}
.formCard {
  height: 61vh;
}
.activeCard .btn-back,
.infoCard .btn-back {
  opacity: 0;
}
.fade {
  background-image: url(../img/colorfade.png);
  background-repeat: repeat-y;
  width: 234px;
  height: 100vh;
  position: absolute;
  top: 0px;
  right: 0px;
}
.fade-right {
  transform: rotate(180deg);
  left: 0px;
}
.fade-container-left {
  position: absolute;
  top: 0px;
  height: 100vh;
  width: 100vw;
  z-index: 100;
}
.fade-container-right {
  position: absolute;
  top: 0px;
  height: 100vh;
  width: 100vw;
  z-index: 100;
}
.fade-fill {
  width: 50vw;
  height: 100vh;
  background-color: #faf0e8;
  position: absolute;
  top: 0px;
}
.fade-fill-left {
  right: 234px;
}
.fade-fill-right {
  left: 234px;
}
.button {
  cursor: pointer;
  display: block;
  margin: auto;
  box-sizing: border-box;
  padding-top: 1vh;
  padding-bottom: 1vh;
  padding-left: 1vw;
  padding-right: 1vw;
  text-align: center;
  color: #fff;
  max-width: 300px;
  width: 70vw;
  border: 0px;
}
.non-quiz-button {
  /*border-radius: 30px;*/
}
.start-btn,
.external-button,
.restart-button {
  padding-top: 2vh;
  padding-bottom: 2vh;
  border-radius: 6px;
}
.start-btn,
.end-btn,
.cookie-btn,
.external-button,
.restart-button {
  color: #fefefe;
  background-color: #000000;
}
.external-button {
  text-decoration: none;
}
.cookie-btn {
  width: 60vw;
}
.end-btn {
  margin-top: 3vh;
  margin-left: 0px;
  width: 10vw;
  min-width: 210px;
  background-color: #00355f;
  border-radius: 6px;
}
.std-label {
  font-family: "SuecaHdSans-SemiBold";
  display: block;
  color: rgba(0, 0, 0);
  transition: all 0.5s;
  font-size: 14px;
  margin-bottom: 6px;
}
.err-label {
  color: #fff;
  font-family: "SuecaHdSans-Regular";
  font-size: 12px;
}
form {
  display: block;

  margin: auto;
}
.input-text,
textarea {
  font-family: "SuecaHdSans-Regular";
  display: block;
  color: #474747;
  background-color: #fff;
  padding: 0.5vw;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.5s;
  border-radius: 5px;
  border-width: 2px;
  margin-bottom: 0.5vh;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.err {
  color: #f00;
}
.input-text.err {
  /*border-bottom: 2px #f00 solid;*/
}
.input-name {
  /*background-image: url(../img/name.png);*/
  background-repeat: no-repeat;
  background-position: center right 20px;
}
.input-tele {
  /*background-image: url(../img/phone.png);*/
  background-repeat: no-repeat;
  background-position: center right 25px;
}
.input-email {
  /*background-image: url(../img/icon-email.svg);*/
}
.logo {
  /* background-image: url(../img/Bragdguldet_by_SVD_logo_white.svg); */
  background-image: url(../img/bragdguldet_logga_horisontalt.svg);
  background-color: #0098da;
  background-repeat: no-repeat;
  background-position: 50px 20px;
  background-size: 300px 43px;
  width: 100%;
  height: 80px;
  position: relative;
  margin: auto;
  margin-top: 0px;
  transition: all 0.5s;
  z-index: 1000;
}
table {
  width: 100%;
}
td {
  padding: 5px;
}
th {
  text-align: left;
  font-family: "LivelyHeadlineBold";
  padding-bottom: 20px;
}
.td-score,
.th-score {
  text-align: right;
}
.td-rk {
  width: 10%;
  font-family: "LivelyHeadlineBold";
  padding-top: 8px;
  padding-bottom: 7px;
}
.td-name {
  width: 60%;
}
.td-score {
  width: 20%;
}
tr {
  width: 100%;
}
.active-row {
  background-color: #f00;
  color: #fff;
}
.mob-dev {
  display: none;
}
.inner-toplist h2 {
  margin-bottom: 3vh;
}
.next-question {
  margin: auto;
  margin-top: 5vh;
  width: 90%;
  box-sizing: border-box;
  background: #feeae9;
  color: #fff;
  max-width: 90%;
}
.selected {
  background-color: #767571;
  color: #474747;
}
.inactive {
  opacity: 0.5;
}
.end-btn {
  margin-top: 4vh;
}
.next-question.selected {
  background-color: #0000f5;
  color: #fff;
}
.countdown {
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 3px;
  background: rgba(255, 0, 0, 0);
  display: none;
}
.content-heavy {
  line-height: 150%;
}
.container-cookie-consent {
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1010;
}
.cookie-inner {
  position: fixed;
  width: 80vw;
  left: 10vw;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #eee9de;
  text-align: center;
  bottom: 5vh;
}

.container-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 18px;
  margin-top: 16px;
  z-index: 1000;
}
.marquee-item {
  background-image: url(../img/100logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 87px;
  height: 18px;
  position: absolute;
  top: 0px;
  animation: marqueeItem 2s linear infinite;
}
@keyframes marqueeItem {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-87px);
  }
}
@media screen and (max-height: 900px) {
  .container-main {
    overflow-y: auto;
  }
  .logo {
    height: 50px;
    background-size: 250px 23px;
    background-position: 18px 15px;
  }
  .menu li a {
    padding: 18px 4vw 18px 4vw;
  }
  h1,
  h2 {
    font-size: 24px;
  }
  h1 {
    margin-top: 2vh;
  }
  p {
    font-size: 14px;
  }
  .button {
    font-size: 20px;
  }
  .checkbox-info {
    font-size: 16px;
  }
  .input-text {
    font-size: 16px;
  }
  .menu,
  .footer {
    font-size: 14px;
  }
  .question {
    font-size: 17px;
  }
  .next {
    font-size: 14px;
  }
  .input-text {
    padding: 5px;
    padding-left: 20px;
    min-height: 42px;
  }
  td {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
  .menu {
    height: 27px;
  }
  .footer {
    height: 4vh;
    position: fixed;
    bottom: 0px;
  }
  body {
    padding-bottom: 6vh;
  }
  .container-cards {
    margin-top: 3vh;
  }
}
@media screen and (min-height: 1000px) {
  .start-btn {
    margin-top: 8vh;
  }
}

@media screen and (max-width: 900px) {
  body {
    background-image: url(../img/bg_mob.jpg);
  }

  h1 {
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }
  h1 {
    margin-top: 2vh;
  }
  p {
    font-size: 17px;
  }
  .button {
    font-size: 20px;
  }
  .checkbox-info {
    font-size: 16px;
    width: 80%;
  }
  .input-text {
    font-size: 20px;
  }
  .menu,
  .footer {
    font-size: 14px;
  }
  .container-cards {
    margin-top: 1.5vh;
  }
  .question {
    font-size: 17px;
  }
  .next {
    font-size: 14px;
  }
  .footer {
    height: 6vh;
  }
  .footer li a {
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
  }
  .inner-form p {
    margin-bottom: 4px;
  }
  .input-text {
    min-height: 39px;
    font-size: 14px;
    padding-left: 3vw;
  }
  .checkbox-container {
    margin-bottom: 4vh;
  }
  .logo {
    height: 96px;
    background-position: center 50px;
    background-size: 298px 35px;
  }
  .menu {
    height: 30px;
    text-align: center;
  }
  .menu li a {
    padding: 13px 8vw 12px 8vw;
    font-size: 13px;
  }
  .menu,
  .footer {
    font-size: 12px;
  }
  .menu-left,
  .menu-right {
    position: absolute;
    top: 0px;
  }
  .menu-middle {
    padding-left: 0vw !important;
    width: 119px;
    text-align: left;
  }
  .menu-left {
    left: 0px;
  }
  .menu-right {
    right: 0px;
  }
  .card {
    height: 72vh;
  }
  .td-rk {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .start-btn {
    margin-top: 4vh;
    padding-top: 3vh;
    padding-bottom: 3vh;
  }
  .mob-dev {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100000;
    width: 100%;
    opacity: 0.5;
  }
  .end-btn {
    margin-bottom: 4vh;
    width: 100%;
    padding-top: 2vh;
    padding-bottom: 2vh;
  }
  textarea {
    height: 100px;
    padding-top: 11px !important;
  }
  .marquee-item {
    width: 60px;
    height: 13px;
  }
  @keyframes marqueeItem {
    0% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(-60px);
    }
  }
}

@media (hover: hover) {
  .menu li a:hover,
  .footer li a:hover {
    text-decoration: underline;
  }

  .alternative:hover {
    cursor: pointer;
    background: #000;
    color: #ffffff;
  }
  .button-close-overlay:hover {
    opacity: 1;
    cursor: pointer;
    rotate: 360deg;
  }
  .next-question.selected:hover {
    background: #70706d;
    color: #143052;
  }
  .selected:hover {
  }
  .start-btn:hover {
    color: #70706d;
    background-color: #143052;
  }
  .btn-back:hover {
    cursor: pointer;
    background-color: #143052;
  }
}
