html,
body {
  margin: 0;
  padding: 0;
  background: #a7a9ac;
  min-height: 100%;
  height: 100%;
  /*overflow: hidden;*/
}

body {
  font-family: "Source Sans Pro";
  font-size: 15px;
  line-height: 1.2em;
  margin: 0;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
textarea {
  font-family: "Source Sans Pro";
}

img {
  height: auto;
}

hr {
  color: #00549E;
  border-color: #00549E;
}

em {
  color: black !important;
}

:focus {
  outline: 0;
}

a:hover {
  text-decoration: none;
  color: #00549E;
}

.uk-alert-primary {
  background: #e7f1f9;
  color: #000;
}

.uk-alert-secondary {
  background: #e8efea;
  color: #000;
}

.uk-button {
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 3px;
  height: 32px;
  line-height: 30px;
  padding: 0 15px;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
}

.uk-button:hover {
  background-color: #00549E;
  border-color: #00549E;
  color: #fff;
}

.uk-button-link {
  color: #000;
}

.uk-button-link:hover,
.uk-button-link:active,
.uk-button-link:focus {
  text-decoration: none;
}

.uk-button-primary,
.uk-button-primary:hover,
.uk-button-primary:focus {
  background: #00549E;
  border-color: #00549E;
  font-weight: bold;
  color: #fff;
}

.uk-button-primary:active {
  background: rgb(0%, 27.6247207744%, 51.9607843137%);
}

.uk-button-secondary,
.uk-button-secondary:hover,
.uk-button-secondary:focus {
  background: #006325;
  border-color: #006325;
  font-weight: bold;
  color: #fff;
}

.uk-button-secondary:active {
  background: rgb(0%, 28.8235294118%, 10.7724301842%);
}

.uk-button[disabled]:hover {
  background-color: transparent;
  color: #999;
  border-color: #e5e5e5;
}

.uk-link,
a {
  color: #00549E;
}

.uk-padding-small {
  padding: 5px;
}

.uk-padding {
  padding: 15px;
}

.uk-padding-large {
  padding: 30px;
}

.uk-margin-medium-left {
  margin-left: 30px !important;
}

.uk-margin-medium-right {
  margin-right: 30px !important;
}

.uk-margin-large-left {
  margin-left: 45px !important;
}

.uk-margin-large-right {
  margin-right: 45px !important;
}

.uk-checkbox:checked {
  background-color: #00549E;
}

.uk-checkbox:focus:not(:checked) {
  border-color: #ccc;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
  border-color: #00549E;
  color: #000;
}

.uk-text-primary {
  color: #00549E !important;
}

.uk-text-secondary {
  color: #006325 !important;
}

.uk-text-large {
  font-size: 1.25rem;
  line-height: 1.5;
}

.v-card__text {
  color: white !important;
}

:root {
  --etrainer-primary-color: #00549E;
  --etrainer-primary-color-complement: #C2DAFE;
  --etrainer-primary-accent-color: #ED4176;
  --etrainer-secondary-color: white;
  --etrainer-bg-subtle-color: whitesmoke;
  --etrainer-test-primary-color: #006325;
  --etrainer-test-secondary-color: #a4d265;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
  border-top: 1px solid rgba(22, 101, 192, 0.2);
  border-bottom: 1px solid rgba(22, 101, 192, 0.2);
  border-left: 1px solid rgba(22, 101, 192, 0.2);
}

::-webkit-scrollbar-thumb {
  background-color: var(--etrainer-primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(1.9607843137%, 54.0828989824%, 100%);
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/storage/fonts/SourceSansPro-Regular.ttf");
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/storage/fonts/SourceSansPro-Bold.ttf");
  font-weight: bold;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/storage/fonts/SourceSansPro-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/storage/fonts/SourceSansPro-Light.ttf");
  font-weight: 300;
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

body.development-mode {
  -webkit-touch-callout: auto;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

#preloader {
  background: #fff;
  z-index: 999;
}

#page {
  width: 1020px !important;
  margin: 0 auto;
}

#page #app {
  background: #fff;
  margin: 0;
  padding: 0;
}

#page,
#app,
.base-layout {
  height: 100vh;
  max-height: 960px;
  min-height: 375px;
}

[v-cloak] {
  display: none;
}

.flexing-out,
#loginView {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.center-content {
  text-align: center;
}

.clickable {
  cursor: pointer;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  /*visibility: hidden;*/
  display: none;
}

.vanish {
  display: none;
}

.disabled {
  opacity: 0.4;
}

.nobold {
  font-weight: normal;
}

.rightAnswer {
  color: #8ccc40 !important;
  border-left: 5px solid #8ccc40 !important;
  padding-left: 5px;
}

.wrongAnswer {
  color: #f14a50 !important;
  border-left: 5px solid #f14a50 !important;
  padding-left: 5px;
}

img.rightAnswer {
  border: 1px solid #8ccc40 !important;
}

img.wrongAnswer {
  border: 1px solid #f14a50 !important;
}

.secondaryTestBgColor {
  background-color: #e8efea !important;
}

.demo .secondaryTestBgColor,
.revision .secondaryTestBgColor {
  background-color: #E5EEF5 !important;
}

.exerciseColor {
  background-color: #00549E !important;
}

.testColor {
  background-color: #006325 !important;
}

.exerciseFgColor {
  color: #00549E !important;
}

.testFgColor {
  color: #006325 !important;
}

.test-mode .uk-button-primary {
  background: #006325 !important;
  border-color: #006325;
}

.test-mode a,
.test-mode .uk-link {
  color: #006325;
}

.bildunterschrift {
  font-size: 13px;
  line-height: 1;
}

.textbox {
  background: #ddd;
  padding: 15px;
  margin-right: 10px;
}

.uk-checkbox:disabled:checked {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23fff%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%2F%3E%0A%3C%2Fsvg%3E");
}

.uk-table-hover tbody tr:hover,
.uk-table-hover > tr:hover {
  background: #eee;
}

.uk-table {
  border-collapse: inherit;
  border-spacing: 2px;
  width: auto;
}

.uk-table th,
.uk-table td {
  padding: 8px 8px;
  background: #f3f3f3;
}

.uk-table th {
  background: #E0E0E0;
  color: #000;
  font-weight: 600;
}

table.table-collapse,
.table-collapse table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

table.table-center td,
table.table-center th,
.table-center table td,
.table-center table th {
  text-align: center !important;
}

table.table-expand,
.table-expand table {
  width: 100%;
}

table.table-padding-remove td,
table.table-padding-remove th,
.table-padding-remove table td,
.table-padding-remove table th {
  padding: 0 !important;
}

table.table-padding-small td,
table.table-padding-small th,
.table-padding-small table td,
.table-padding-small table th {
  padding: 3px !important;
}

table.table-white td,
.table-white table td,
table.table-white th,
.table-white table th {
  background: #fff;
}

td:empty {
  background: #fff;
}

th:empty {
  display: none;
}

.no-interaction {
  position: relative;
}

.no-interaction:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.img-no-scale img,
.table-no-scale img {
  max-width: none;
}

.uk-select {
  color: #000;
  border-color: #ccc;
}

.question .uk-checkbox {
  border-radius: 50%;
  border-color: #999;
  flex: none;
}

.uk-checkbox:checked {
  border-color: #00549E;
}

.input-white input[type=text] {
  background: #fff;
  border: 1px solid #999;
  padding: 1px;
}

textarea {
  border: 1px solid #999;
  box-sizing: border-box;
}

#subcategory-intro .startButtons .dropdown-button {
  padding-right: 25px !important;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.fade-enter-active {
  transition: opacity 1.25s ease;
}

.fade-enter-to,
.fade-leave {
  opacity: 1;
}

.fade-side-enter,
.fade-side-leave-to {
  opacity: 0;
}

.fade-side-enter-active,
.fade-side-leave-active {
  transition: opacity 150ms ease;
}

.fade-side-enter-to,
.fade-side-leave {
  opacity: 1;
}

.fade-page-enter,
.fade-page-leave-to {
  opacity: 0;
}

.fade-page-enter-active,
.fade-page-leave-active {
  transition: opacity 300ms ease;
}

.fade-page-enter-to,
.fade-page-leave {
  opacity: 1;
}

.slide-enter,
.slide-leave-to {
  width: 0;
}

.slide-enter-active,
.slide-leave-active {
  transition: width 100ms ease;
}

.slide-enter-to,
.slide-leave {
  width: 100%;
}

.hide-nav-enter,
.hide-nav-leave-to {
  height: 0;
}

.hide-nav-enter-active,
.hide-nav-leave-active {
  transition: height 150ms ease;
}

.hide-nav-enter-to,
.hide-nav-leave {
  height: -400;
}

.icon-large {
  opacity: 0.2;
  width: 200px;
}

.navbar-padding-20 {
  padding: 0 20px;
}

.navbar-padding-30 {
  padding: 0 30px;
}

.dropdown-selection {
  display: inline-block;
}

.dropdown-selection .dropdown-button {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #00549E;
  height: 30px;
  background: #e5eef5;
  border: 1px solid #00549E;
  border-radius: 0;
  padding: 0 30px 0 8px;
  width: 100%;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.dropdown-selection .dropdown-button .uk-icon {
  position: absolute;
  right: 0;
}

.dropdown-selection .with-cursor {
  cursor: pointer;
}

.dropdown-selection .without-cursor {
  cursor: default !important;
}

.dropdown-selection .uk-dropdown {
  min-width: 0;
  overflow-y: scroll;
  padding: 0;
  z-index: 8;
}

.dropdown-selection .uk-dropdown .uk-dropdown-nav {
  max-height: 275px;
}

.dropdown-selection .uk-dropdown a {
  padding: 8px;
  min-width: 21px;
  min-height: 21px;
  border-bottom: 1px solid #e5eef5;
}

.dropdown-selection .uk-dropdown a:hover {
  background: #e5eef5;
}

.dd-select select {
  display: none;
}

.dd-select.frozen {
  border: 0 !important;
}

.dd-select.frozen .dd-selections {
  display: none;
}

.dd-select.frozen .dd-button {
  cursor: auto;
}

.dd-select.item-correct .dd-button {
  border: 1px solid #8ccc40 !important;
}

.dd-select.item-incorrect .dd-button {
  border: 1px solid #f14a50 !important;
}

.dd-select {
  display: inline-block;
  vertical-align: unset !important;
  height: 23px;
}

.dd-select .dropdown-selection {
  padding: 0;
}

.dd-select .dropdown-button {
  height: 23px;
  padding: 0 0 0 5px;
  border-color: #999;
  background: #fff;
}

.dd-select .uk-icon {
  color: #000;
}

.dd-select .value {
  height: 21px;
  line-height: 21px;
  color: #000;
  font-weight: normal;
  font-size: 15px;
}

.dd-select .value:after {
  content: ".";
  visibility: hidden;
}

.dd-select .uk-dropdown a {
  padding: 5px;
  font-weight: normal;
  font-size: 15px;
}

/* --- Responsive --- */

@media screen and (max-width: 768px) {
  html,
  body {
    background: #fff;
  }

  #page {
    width: 100% !important;
    min-height: 0;
    max-height: unset;
  }

  #page #app {
    min-height: 0;
    max-height: unset;
  }

  #page,
  #app,
  .base-layout {
    height: auto;
    max-height: unset;
    min-height: auto;
  }

  img {
    height: auto;
  }

  .exercise-mode #header,
  .test-mode #header {
    display: none;
  }

  .uk-table th,
  .uk-table td {
    padding: 4px;
  }

  .navbar-padding-20,
  .navbar-padding-30 {
    padding: 0;
  }

  textarea {
    max-width: 100%;
  }

  table.table-width-450,
  .table-width-450 table {
    width: 450px !important;
  }

  table.table-width-550,
  .table-width-550 table {
    width: 550px !important;
  }

  table.table-width-650,
  .table-width-650 table {
    width: 650px !important;
  }

  table.table-width-750,
  .table-width-750 table {
    width: 750px !important;
  }

  .img-width-450 img {
    max-width: none;
    width: 450px !important;
    height: auto;
  }

  .img-width-550 img {
    max-width: none;
    width: 550px !important;
    height: auto;
  }

  .img-width-650 img {
    max-width: none;
    width: 650px !important;
    height: auto;
  }

  .img-width-750 img {
    max-width: none;
    width: 750px !important;
    height: auto;
  }

  .icon-large {
    width: 150px;
  }

  .dropdown-selection {
    display: block;
  }

  .dropdown-selection .dropdown-button {
    width: 100%;
    background: #fff;
    border: 1px solid #e5eef5;
    font-size: 1rem;
  }

  .dropdown-selection .uk-dropdown {
    width: calc(100% - 40px);
    font-size: 1rem;
  }

  .dropdown-selection .uk-dropdown .uk-dropdown-nav {
    font-size: 1rem;
  }
}

#loginView {
  flex: 1;
  padding: 20px;
  margin: 0;
  background: url("/images/app/login_bg.jpg") center center no-repeat;
  background-size: cover;
  height: calc(100vh - 102px);
}

#loginView .container {
  background: #00549E;
  color: #fff;
  padding: 30px 45px;
  border-radius: 5px;
  width: 320px;
}

#loginView .uk-form-width-medium {
  width: 300px;
}

#loginView .uk-link-muted {
  color: rgba(255, 255, 255, 0.7);
}

#loginView .uk-button {
  border-color: #fff;
}

#loginView .uk-button:hover {
  background: #fff;
  color: #00549E;
}

#loginView .uk-checkbox {
  border-color: #fff;
  margin-left: -25px;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  #loginView {
    flex: none;
    height: calc(100vh - 167px);
    align-items: start;
  }

  #loginView .container {
    padding: 30px;
    width: 100%;
  }

  #loginView .uk-checkbox {
    margin-left: 0;
  }
}


