﻿@media (max-width: 575px) {
  h1,
  .h1 {
    font-size: 2rem;
  }
}
.avatar:hover .companion {
  animation: bounce;
  animation-duration: 1s;
  animation-iteration-count: 1;
}
.toolbar {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
@media print {
  .toolbar {
    display: none;
  }
}
.toolbar .btn {
  border: 1px solid white;
}
.toolbar > .dropdown {
  display: inline-block;
}
.toolbar form {
  display: inline-block;
}
.toolbar .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}
.container .content {
  margin-left: -1rem;
  margin-right: -1rem;
}
.content {
  padding: 1rem;
  border-radius: 0.25rem;
}
@media (min-width: 576px) {
  .content {
    background-color: rgba(255, 255, 255, 0.8);
  }
}
@media (max-width: 575px) {
  .content:before {
    content: '';
    position: fixed;
    z-index: -1 /* sorgt dafür, dass es hinter dem Header ist */;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
  }
}
@media (min-width: 992px) {
  html {
    overflow-y: scroll;
  }
}
/**
 * Cookie-Consent-Panel.
 */
#cookieConsent {
  margin-top: 1rem;
  padding-left: 7.5rem;
  border: 1rem solid #aedee6;
  box-sizing: border-box;
}
#cookieConsent:before {
  content: '';
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  width: 6.5rem;
  height: 6.28333333rem;
  background-image: url('../../../Shared/edugames_cookie_monster.svg');
  background-repeat: no-repeat;
  background-size: 6.5rem 6.28333333rem;
}
/*
 * Form-Validation
 */
.validation-summary-errors {
  color: #dc3545;
  background-color: #f5c4c9;
  border: 1px solid #dc3545;
  margin-bottom: 10px;
}
.validation-summary-errors ul {
  list-style-type: none;
  padding-left: 0;
  margin: 3px 5px 5px;
}
.field-validation-error {
  color: #dc3545;
}
.max-length-warning-label {
  font-size: 80%;
  padding: 0.25rem 0;
  color: #6c757d;
}
.max-length-warning-label-invalid {
  color: #dc3545;
}
/*
 * Cards / Panels.
 */
.card-box {
  background-color: white;
  padding: 10px;
  margin: 120px auto 1rem;
  text-align: center;
  max-width: 350px;
  border-radius: 3px;
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}
@media (max-width: 575px) {
  .card-box {
    margin: 60px auto 1rem;
  }
}
.card-box-wide {
  max-width: 500px;
}
/*
 * Tooltips.
 */
.tooltip-inner {
  max-width: 350px;
  text-align: left;
  text-transform: none;
}
.tooltip-inner p:last-child {
  margin-bottom: 0;
}
[rel=tooltip] {
  cursor: pointer;
}
/**
 * Bootstrap Modal Fixes.
 */
.modal-body {
  height: 100%;
}
/**
 * Formular-Elemente.
 */
.form-control-file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.form-control-file + label {
  cursor: pointer;
  /* "hand" cursor */
}
select[readonly] {
  pointer-events: none;
}
input[type=checkbox][readonly],
input[type=radio][readonly] {
  opacity: 0.3;
}
/**
 * Nav Tabs hübscher machen.
 */
.nav-tabs .nav-item .nav-link {
  border-top: 3px solid #dee2e6;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-item .nav-link.active {
  border-top: 3px solid #f2561e;
  background-color: white;
  border-bottom: 1px solid transparent;
}
.tab-pane.card {
  border-top: none;
}
.nav-tabs {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
/**
 * Tabellen
 */
@media (max-width: 991px) {
  .mobile-hidden-column {
    display: none;
  }
}
.table > thead > tr > th {
  border-top: none;
}
.table tr.selected td {
  background-color: #f89e7e;
}
.table-themed {
  border-radius: 0.25rem 0.25rem 0 0;
}
@media screen {
  .table-themed {
    border: 0.2rem solid #f2561e;
  }
}
.table-themed .table-themed-header > * {
  background-color: #f2561e;
  padding-top: 5px;
  padding-bottom: 8px;
  margin-bottom: 0.3rem;
  margin-top: -1px;
}
.table-themed .row {
  margin-right: 0;
  margin-left: 0;
  padding-top: 0.6rem;
}
.table-themed .row:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}
@media print {
  .table-themed .collapse {
    display: block;
  }
}
table.table-themed {
  border-top: none;
}
table.table-themed th:first-child {
  border-radius: 0.25rem 0 0 0;
}
table.table-themed th:last-child {
  border-radius: 0 0.25rem 0 0;
}
table.table-themed thead th {
  background-color: #f2561e;
  border: none;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: normal;
}
table.table-themed tbody tr td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
table.table-themed tbody tr:not(:last-child) > td {
  border: none;
  border-bottom: 1px solid #dee2e6;
}
.table-fixed {
  table-layout: fixed;
}
.table-fixed td:not(.actions-column-dropdown) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dataTables_wrapper .dataTables_length {
  margin-top: 1rem;
  margin-left: 1rem;
}
.dataTables_wrapper .dataTables_filter {
  margin-top: 1rem;
  margin-right: 1rem;
}
.dataTables_wrapper .dataTables_paginate {
  margin-bottom: 1rem !important;
  margin-right: 1rem !important;
}
.quiz-frage-checkbox {
  background-repeat: no-repeat;
  background-image: url('/css/Spiel/checkbox.svg');
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  display: inline-block;
  margin-top: -3px;
  margin-right: 7px;
}
@media print {
  .quiz-frage-checkbox {
    -webkit-print-color-adjust: exact;
    /* Chrome, Safari */
    color-adjust: exact;
    /*Firefox*/
  }
}
.quiz-frage-checkbox.quiz-frage-checkbox-checked {
  background-image: url('/css/Spiel/checkbox-checked.svg');
}
.achievement {
  position: relative;
  border: 0.3em solid;
  border-radius: 1.2em;
  padding: 0.7em 1em 1em;
  min-height: 150px;
}
.achievement.achievement-common {
  background-color: #ced4da;
  background-image: linear-gradient(to bottom right, #ffffff, #ced4da, #ffffff);
}
.achievement.achievement-uncommon {
  background-color: #86e29b;
  background-image: linear-gradient(to bottom right, #ffffff, #86e29b, #ffffff);
}
.achievement.achievement-rare {
  background-color: #99caff;
  background-image: linear-gradient(to bottom right, #ffffff, #99caff, #ffffff);
}
.achievement.achievement-epic {
  background-color: #ffe7a0;
  background-image: linear-gradient(to bottom right, #ffffff, #ffe7a0, #ffffff);
}
.achievement.unclaimed-achievement {
  opacity: 0.5;
}
.achievement .achievement-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75em;
}
.achievement .achievement-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 5px solid;
  border-radius: 50%;
  width: 2.75em;
  height: 2.75em;
}
.achievement .achievement-image img {
  width: auto;
  height: 85%;
}
.achievement .achievement-image.achievement-bronze {
  background-color: #696969;
  border-color: #696969;
}
.achievement .achievement-image.achievement-silver {
  background-color: #C8BFBF;
  border-color: #C8BFBF;
}
.achievement .achievement-image.achievement-gold {
  background-color: #DFD267;
  border-color: #DFD267;
}
.achievement .achievement-title {
  display: inline-block;
  font-weight: bold;
  font-size: 1.25em;
  text-transform: uppercase;
}
.achievement .achievement-stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.achievement .achievement-stars clr-icon {
  width: 20px;
  height: 20px;
}
.achievement .achievement-stars .star-top {
  flex-basis: 100%;
}
.achievement .achievement-description {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.achievement .achievement-footer {
  position: absolute;
  bottom: 0;
  right: 0.8em;
  text-align: right;
}
.frage-antwort-icon {
  float: left;
  width: 25px;
}
.frage-antwort-text {
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}
.table-deine-antwort-loesung td {
  white-space: normal !important;
}
@media print {
  footer {
    display: none;
  }
}
/**
 * Ladekringel.
 */
.loading-panel {
  z-index: 1000;
  position: fixed;
  height: 100px;
  width: 100px;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}
.loading-panel .spinner-border {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1rem;
  margin-left: -1rem;
}
/**
 * Bootstrap4 Modal-Fix: Wenn Modals mit fade geöffnet werden, springt alles 17px nach links.
 * https://stackoverflow.com/questions/32862394/bootstrap-modals-keep-adding-padding-right-to-body-after-closed
 */
.modal {
  padding-right: 0px !important;
}
body {
  padding-right: 0px !important;
}
/**
 * QR-Code in Kurs- und Quiz-Publikation-Modal und Stats
 */
div.qr-code {
  text-align: center;
}
div.qr-code > img {
  width: 250px;
  height: 250px;
  margin: 20px;
}
.persistent-scroll-state-loading > *:not(.loading-panel),
.persistent-tab-selection-loading,
.persistent-tab-selection-loading + .tab-content,
.data-table-loading {
  opacity: 0;
}