/* general elements */

html, body {
  height: 100%;
  background-color: #005870;
}

body {
  width: 100%;
  height: 100%;
  position: relative;
  font-family: 'Open Sans', sans-serif ;
  font-size: 15px;
}

button, button:focus {
  border: none;
  outline: none;
  cursor: pointer;
}

.logo-stark.red {
  display: none;
}

.accessibility,
.accessibility li,
.accessibility p{
  background-color: #333333 !important;
  color:  #f2f2f2 !important;
}
.accessibility .querver,
.accessibility h1 {
  color:  #D7E200 !important;
}

.accessibility img {
  background-color: white !important;
  border: 5px solid white;
  border-radius: 6px;
  box-sizing: content-box;
}
.accessibility.modal-content {
  border: 2px solid #005870;
}


/* Querverweise */
.querver,
.zrk {
	font-weight: bold;
}
.querver:hover,
.zrk:hover{
	cursor: pointer;
	text-decoration: underline;
}
.querver,
.zrk {
  color: #0099A9;
}
.icon {
  font-size: 150%;
  font-weight: 900;
  margin-right: 0.2em;
}

.zrk {
  position: absolute;
  top: 8px;
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Top section */

.top-section {
  position: fixed;
  top: 0;
  width: 100%;
  padding-top: 60px;
}

.input-group.input-group-lg {
  max-width: 600px;
  display: inline-block;
}

.wrapper-search {
  margin: 0 15px 30px 15px;
  width: 100%;
  min-width: 400px;
  position: relative;
}

.btn-clear-search {
  width: 24px;
  height: 24px;
  position: absolute;
  cursor: pointer;
  right: 10px;
  top: 20px;
  display: none;
}

.form-control:focus, .custom-select:focus {
  color: #495057;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  outline: none;
  box-shadow: 0 10px 20px -15px rgba(0, 0, 0, 0.7);
}

.input-group .form-control, .input-group .custom-select {
  border: none;
  border-radius: 6px;
  height: 60px;
  color: #333333;
  font-size: 16px;
  padding-right: 40px;
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #999999;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #999999;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #999999;
}

.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #999999;
}

.wrapper-alphabet {
  background-color: #FFFFFF;
  border-bottom: 1px solid #005870;
  border-right: none;
  border-left: none;
  width: 100%;
  padding: 20px 0;
}

.list-characters {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.list-characters li {
  list-style: none;
  text-transform: uppercase;
  font-weight: 600;
  color: #666666;
  font-size: 16px;
  min-height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: #efefef;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-characters li:last-child {
  background: none;
  text-transform: none;
  color: #61B0BB;
  cursor: pointer;
  margin-left: 15px;
}

.list-characters li.selected {
  background-color: #61B0BB;
  color: #ffffff;
}

.list-characters .swiper-slide {
  width: 36px !important;
  height: 36px;
}

/* -- Top section -- */

/* Content */

.wrapper-content {
  position: fixed;
  top: 228px;
  height: calc(100% - 228px);
  width: 100%;
}

.col-left {
  float: left;
  width: 400px;
  background-color: #ffffff;
  height: 100%;
  border-right: 1px solid #efefef;
  overflow-y: auto;
}

.col-left:focus {
  outline: none;
}

.col-left::-webkit-scrollbar {
  width: 14px;
  height: 18px;
}

.col-left::-webkit-scrollbar-thumb {
  height: 6px;
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  -webkit-border-radius: 7px;
  background-color: rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.col-right {
  float: left;
  padding: 40px;
  height: 100%;
  width: calc(100% - 400px);
  overflow-y: auto;
  background: #DAD9D7;
  box-shadow: -2px 0px 6px #B2B2B2;
}

.box-content {
  width: 100%;
  max-width: 840px;
  /* height: 100%;
  max-height: 500px; */
  position: relative;
  padding: 40px;
  background-color: #ffffff;
}

.box-content.empty {
  background: url("../img/book.png") no-repeat center, #ffffff;
}

.text-empty {
  color: #999999;
  font-size: 16px;
  font-weight: 600;
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
}

.box-content .text-empty {
  display: none;
}

.box-content.empty .text-empty {
  display: inline;
}

.box-content h1 {
  margin-bottom: 20px;
  color: #005870;
  font-size: 30px;
}

.box-content p {
  color: #666666;
  font-size: 18px;
}

.btn-audio {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  padding: 15px;
  cursor: pointer;
  background: url("../img/icon_voice.png") content-box, rgba(132, 189, 0, 1);
  background: url("../img/icon_voice.png") content-box, -moz-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: url("../img/icon_voice.png") content-box, -webkit-gradient(left top, right bottom, color-stop(0%, rgba(132, 189, 0, 1)), color-stop(100%, rgba(0, 134, 56, 1)));
  background: url("../img/icon_voice.png") content-box, -webkit-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: url("../img/icon_voice.png") content-box, -o-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: url("../img/icon_voice.png") content-box, -ms-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: url("../img/icon_voice.png") content-box, linear-gradient(135deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transition: all .3s;
  transform: scale(1);
}

.btn-audio:hover {
  animation: pulse 2s infinite;
  /* background: url("../img/player_play.png") no-repeat center center, linear-gradient(135deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background-size: 40px 40px, auto; */
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 134, 56, 0.6);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(0, 134, 56, 0.01);
  }
  100% {
    -webkit-box-shadow: 0 0 0 10px rgba(0, 134, 56, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 134, 56, 0.6);
    box-shadow: 0px 0px 0px 0px rgba(0, 134, 56, 1);
  }
  70% {
    -moz-box-shadow: 0px 0px 0px 10px rgba(0, 134, 56, 0.01);
    box-shadow: 0px 0px 0px 10px rgba(0, 134, 56, 0.01);
  }
  100% {
    -moz-box-shadow: 0px 0px 0px 10px rgba(0, 134, 56, 0);
    box-shadow: 0px 0px 0px 10px rgba(0, 134, 56, 0);
  }
}

#dynamic {
  display: block;
  margin: 0 auto;
  margin-top: 25px;
  max-width: 400px;
  width: 100%;
  height: auto;
}

/* // Content */

.phonetic {
  color: #008638;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

/* List Glossary */

.list-glossary {
  padding: 0;
  padding-right: 30px;
  text-align: right;
  padding-top: 1em;
}

.list-glossary li {
  list-style: none;
  margin-bottom: 5px;
  margin-top: 5px;
  color: #333333;
  font-size: 18px;
}

.list-glossary li span {
  display: inline-block;
  padding: 0 10px;
  cursor: pointer;
}

.list-glossary li span.selected {
  background: rgba(132, 189, 0, 1);
  background: -moz-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(132, 189, 0, 1)), color-stop(100%, rgba(0, 134, 56, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: linear-gradient(135deg, #61B0BB 0%, #61B0BB 100%);
  border-radius: 13px;
  color: #ffffff;
}

.size-big .list-glossary li span.selected {
  border-radius: 18px;
}

.size-extrabig .list-glossary li span.selected {
  border-radius: 26px;
}

/* -- Content -- */

/* -- modali -- */

.modal-dialog {
  max-width: 560px; /*460px;*/
}

.modal-content {
  position: relative;
}

.modal-header, .modal-body {
  padding: 20px;
}

.modal-header {
  padding-bottom: 0px;
  border-bottom: 0px;
}

.modal-body {
  padding-top: 10px;
}

.modal-title {
  color: #007FA3;
}

.modal-body ul {
  /*border-bottom: 1px solid #efefef;*/
  clear: both;
  overflow: auto;
  margin: 0px;
  /*! padding: 20px 0 0; */
}

.modal-body ul::after {
  content: "";
  clear: both;
  display: table;
}

.modal-body ul:last-child {
  border: none;
}

.modal-body #check_bis {
  display: none;
  text-align: center;
}

.modal-body #check_bis li {
  display: inline-block;
  width: calc(20% - 4px);
}

/* Swiper */

.swiper-container {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  cursor: move;
  /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
#lettersContainer {
 transform: translate3d(0px, 0px, 0px);
}

.swiper-container:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.list-characters {
  justify-content: flex-start;
  padding-left: 53px;
}

.swiper-button-next, .swiper-button-prev {
  cursor: pointer;
  width: 40px;
  height: 100%;
  background: white;
  margin: 0;
  top: 0;
}

.swiper-button-prev {
  background: url("../img/icon-prev.png"), rgba(255, 255, 255, 1);
  background: url("../img/icon-prev.png"), -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  background: url("../img/icon-prev.png"), -webkit-gradient(left top, right top, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
  background: url("../img/icon-prev.png"), -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  background: url("../img/icon-prev.png"), -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  background: url("../img/icon-prev.png"), -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  background: url("../img/icon-prev.png"), linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
  background-size: 24px, 100%;
  background-position: center;
  background-repeat: no-repeat;
  left: 0;
}

.swiper-button-next {
  background: url("../img/icon-next.png"), rgba(255, 255, 255, 0);
  background: url("../img/icon-next.png"), -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  background: url("../img/icon-next.png"), -webkit-gradient(left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
  background: url("../img/icon-next.png"), -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  background: url("../img/icon-next.png"), -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  background: url("../img/icon-next.png"), -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  background: url("../img/icon-next.png"), linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  background-size: 24px, 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
  right: 0;
}

/* -- Swiper -- */

/* media query */

@media (min-width: 1200px) {
  .swiper-button-next, .swiper-button-prev, .swiper-button-disabled {
    background-image: none;
  }
}

@media (max-width: 600px) {
    .box-content {
    padding: 0; /*30px;*/
  }
}

@media (max-width: 767px) {
  .col-left {
    width: 250px;
  }
  .list-glossary {
    padding-right: 10px;
  }
  .col-right {
    width: calc(100% - 250px);
  }
  .box-content h1 {
    font-size: 26px;
  }
  .box-content p, .phonetic {
    font-size: 16px;
  }
  .btn-audio {
    flex: 0 0 40px;
    height: 40px;
    margin-right: 10px;
    padding: 10px;
  }
  .list-glossary li {
    font-size: 15px;
  }
}

@media (min-width: 601px) {
  .modal-content .input-group {
    display: none;
  }
}

@media (min-width: 1080px) {
  .flex.img {
    flex-wrap: nowrap;
  }
  .flex.img > div:nth-child(1) {
  margin-right:3em;
  }
}

@media (max-width: 600px) {
  .col-left {
    width: 100%;
  }
  .col-right {
    display: none;
  }
  .list-glossary {
    text-align: left;
    padding-right: 0px;
    padding-left: 20px;
  }
  .list-glossary li span {
    display: inline-block;
    padding: 0 40px 0 20px;
    font-size: 18px;
  }
  .top-section .custom-select {
    display: none;
  }
  .input-group .custom-select {
    border: 1px solid #ddd;
    width: 100%;
    margin: 40px 15px 10px 15px;
  }
  .wrapper-search {
    min-width: inherit;
  }
}

@media (max-width: 600px) {
  .btn-setting {
    width: 40px;
    height: 40px;
  }
  .wrapper-content {
    top: 224px;
    height: calc(100% - 224px);
  }
  .top-section {
    padding-top: 80px;
  }
  #search {
    height:initial;
  }
  .btn-clear-search {
    top: 7px;
  }
}

@media (min-width: 600px) and (max-width: 1079px) {
  .btn-setting {
    width: 40px;
    height: 40px;
  }
  .wrapper-content {
    top: 160px;
    height: calc(100% - 160px);
  }
  .top-section {
    padding-top: 16px;
  }
  #search {
    height:initial;
  }
  .btn-clear-search {
    top: 7px;
  }
  .input-group.input-group-lg {
    max-width: 350px;
  }
  .wrapper-search {
    min-width: 350px;
  }
}

.absatz {
	padding-top: 12px;
}

mjx-container[display="true"] {
	display: block;
	overflow-y: hidden;
	margin: 0 !important;
	text-align: left !important;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex > div:nth-child(1) {
  margin-right:3em;
}
.flex.img > div:nth-child(1) {
  margin-right:0;
}

.d-flex select {
  display: none;
}
