@import url("icons.css");
@import url("fonts.css");

:root {
  --akb-blau: rgb(0, 158, 224);
  --akb-blau-10: rgba(0, 158, 224, 0.1);
  --akb-nacht: rgb(0, 26, 65);
  --akb-nacht-70: rgba(0, 26, 65, 0.7);
  --akb-nacht-30: rgba(0, 26, 65, 0.3);
  --akb-nacht-10: rgba(0, 26, 65, 0.1);
  --akb-azur: rgb(0, 105, 167);
  --akb-azur-30: rgba(0, 105, 167, 0.3);
  --akb-azur-10: rgba(0, 105, 167, 0.1);

  --akb-grau: rgb(134, 136, 137);
  --akb-sand: rgb(177, 170, 154);
  --akb-rauch: rgb(100, 121, 130);
  --akb-rauch-20: rgb(100, 121, 130, 0.2);
  --akb-rauch-10: rgb(100, 121, 130, 0.1);

  --akb-petrol: rgba(62, 168, 172);
  --akb-petrol-50: rgba(62, 168, 172, 0.5);
  --akb-petrol-20: rgba(62, 168, 172, 0.2);
  --akb-rot: rgb(226, 0, 48);
  --akb-rot-30: rgba(226, 0, 48, 0.3);
  --akb-rot-20: rgba(226, 0, 48, 0.2);

  --akb-mango: rgb(250, 185, 80);

  --akb-cloud: rgb(244, 247, 248);
  --akb-cloud-80: rgb(244, 247, 248, 0.8);
  --akb-cloud-50: rgb(244, 247, 248, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  width: 100%;
  color: var(--akb-nacht);
  display: flex;
  flex-direction: column;
  font-family: "Poppins Regular", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--akb-blau);
}

h2 {
  margin: 95px 0 -30px 0;
  padding-left: 15px;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
}

pre {
  display: block;
  padding: 10px;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--akb-nacht);
  word-break: break-all;
  word-wrap: break-word;
  background-color: var(--akb-cloud);
  border: 1px solid var(--akb-rauch-20);
  border-radius: 8px;
  font-family: "Poppins Regular";
}

.btn {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin: 20px 0 0 0;
  border: 1px solid var(--akb-azur);
  outline: none;
  padding: 16px 24px;
  color: var(--akb-azur);
  background-color: inherit;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Poppins Regular", Helvetica, Arial, sans-serif;
}

.btn:hover {
  background-color: var(--akb-azur);
  color: #fff;
}

.btn-decline {
  border: 1px solid var(--akb-nacht-10);
  background-color: var(--akb-nacht-10);
  color: var(--akb-nacht);
}

.btn-sm {
  padding: 8px 16px;
}

.d-none {
  display: none !important;
}

.flex__box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

[class^="flex__box__item"] {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
  position: relative;
  margin-top: 5px;
  flex: 1 0 auto;
}

.flex__box__item-30 {
  width: calc(33% - 10px);
}

.flex__box__item-50 {
  width: calc(50% - 10px);
}

.flex__box__item-70 {
  width: 70%;
}

.flex__box__item-100 {
  width: 100%;
}

.header {
  width: 100%;
  height: 100px;
  margin: 0 auto;
}

.header-navigation a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-navigation a i {
  display: flex;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo img {
  width: 200px;
}

.header-navigation ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navigation {
  position: relative;
  width: 100%;
  background-color: var(--akb-azur);
  color: #fff;
  height: 60px;
}

.navigation .dropdown {
  display: none;
  min-width: 150px;
}

.navigation .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.navigation .main-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navigation .main-navigation .title {
  font-size: 1.1rem;
  padding-bottom: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.navigation .markets a.active {
  font-family: "Poppins SemiBold";
}

.navigation .markets {
  position: relative;
}

.navigation .markets a:hover {
  color: var(--akb-cloud-80);
}

.navigation .search {
  position: relative;
}

.navigation .search input {
  height: 35px;
  border: none;
  outline: none;
  padding: 15px 30px 15px 15px;
  border-radius: 20px;
  width: 260px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  color: #ccc;
  transform: translateY(-50%);
}

.navigation .search-box {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background-color: #fff;
  border-radius: 12px;
  color: #2b2b2b;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 450px;
  min-height: 100px;
  padding: 15px 15px 5px 15px;
  flex-direction: column;
  z-index: 999;
  width: calc(100% - 30px);
  margin-right: 15px;
}

.navigation .search-box::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.navigation .search-box.active {
  display: flex;
}

.navigation .search-box .search-content {
  margin-bottom: 30px;
}

.navigation .search-box .search-content .title {
  font-family: "Poppins SemiBold";
  letter-spacing: 1px;
}

.navigation .search-box .search-content .results {
  padding: 10px 0 0 15px;
}

.navigation .search-box .search-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
}

.navigation .search-box .search-footer a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navigation .menu {
  display: none;
}

.sub-nav {
  background-color: var(--akb-azur-10);
  height: 150px;
}

.sub-nav ul {
  display: flex;
  padding: 40px 0 20px 0;
  letter-spacing: 1px;
  gap: 20px;
  overflow-x: auto;
}

.sub-nav ul::-webkit-scrollbar {
  background-color: var(--akb-nacht-10);
  border-radius: 5px;
  height: 3px;
}

.sub-nav ul::-webkit-scrollbar-thumb {
  background-color: var(--akb-azur);
  border-radius: 5px;
}

.sub-nav ul a {
  font-size: 1rem;
  color: var(--akb-nacht);
  position: relative;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.sub-nav ul a.selected {
  background: #fff;
}

.container {
  width: 100%;
  height: auto;
  max-width: 1080px;
  padding: 0 15px;
  margin: 0 auto;
}

.content-box {
  margin: -50px 0 30px 0;
}

.content-box .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.content-box .title {
  font-family: "Poppins SemiBold";
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.boxs {
  background-color: #fff;
  min-height: 150px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 -2px 12px 0 rgba(0, 105, 167, 0.1),
    0 6px 10px 0 rgba(0, 105, 167, 0.1);
  position: relative;
}

.outer-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.boxs-full {
  width: 100%;
  flex-basis: 100%;
}

.no-bg {
  box-shadow: none;
  padding: 0;
  background-color: transparent;
}

.w-50 {
  width: calc(50% - 15px);
}

.arrow-box-link .boxs.w-50:not(.chart)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%) rotate(-90deg);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 20px solid #fff;
  z-index: 2;
}

/* Chart */
.chart .title {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart .title img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.chart-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}

.chart-indicator .price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 14px;
  text-align: right;
}

.chart-indicator .change {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

akb-toggle-switch .switches-container {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--akb-azur-10);
  border-radius: 20px;
}

akb-toggle-switch .switches-container input {
  visibility: hidden;
  position: absolute;
  top: 0;
}

akb-toggle-switch .switches-container label {
  padding: 10px;
  margin: 0;
  cursor: pointer;
  z-index: 1;
  transition: 0.25s;
  font-size: 14px;
  text-align: center;
  width: 75px;
}

akb-toggle-switch .switches-container input:checked + label {
  cursor: default;
  color: var(--akb-nacht);
}

akb-toggle-switch .switch-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 3);
  padding: 2px;
  transition: transform 0.25s cubic-bezier(0.77, 0, 0.175, 1);
}

akb-toggle-switch .switch {
  border-radius: 22px;
  background: #fff;
  height: 100%;
  width: 100%;
}

/* slide the switch box from right to left */
akb-toggle-switch
  .switches-container
  input:nth-of-type(1):checked
  ~ .switch-wrapper {
  transform: translateX(0%);
}

/* slide the switch box from left to right */
akb-toggle-switch
  .switches-container
  input:nth-of-type(2):checked
  ~ .switch-wrapper {
  transform: translateX(100%);
}

/* slide the switch box from left to right */
akb-toggle-switch
  .switches-container
  input:nth-of-type(3):checked
  ~ .switch-wrapper {
  transform: translateX(200%);
}

/* News */
.news-box.v2 .news-table {
  margin-top: 10px;
}

.news-box .news-item:nth-child(1) {
  border-top: 1px solid var(--akb-rauch-20);
  margin-top: 20px;
}

.news-box.v2 .news-item {
  display: flex;
  gap: 10px;
  border: none;
  padding: 15px 0 15px 15px;
  border-bottom: 1px solid var(--akb-rauch-20);
}

body:not(.loggedInMode, .eBankingMode) .news-box.v2 a.news-item:hover {
  color: var(--akb-nacht);
  cursor: default;
}

.news-box.v2 .news-item:nth-child(1) {
  border-top: 1px solid var(--akb-rauch-20);
  margin-top: 20px;
}

.news-box.v2 .news-item:nth-child(even) {
  background-color: var(--akb-cloud-50);
}

.news-box span {
  display: block;
  font-size: 0.7rem;
  margin-top: 10px;
}

.news-item.news-overview .news-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-item.news-overview .news-title {
  word-break: break-word;
  hyphens: auto;
}

.news-item .news-content {
  width: 100%;
}

#newsModal .news-content {
  margin-top: 20px;
}

.news-item.news-overview .news-content {
  width: 100%;
}

.news-item.news-overview .news-date,
.news-item.news-overview .news-date {
  min-width: 75px;
}

.news-date,
.news-time {
  color: var(--akb-nacht-70);
  font-size: 0.75rem;
}

.news-title {
  margin: 10px 10px 10px 0;
}

.news-item i {
  margin: auto 15px auto auto;
}

.more-news {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin: 20px 0 0 auto;
  border: 1px solid var(--akb-azur);
  outline: none;
  padding: 8px 16px;
  color: var(--akb-azur);
  cursor: pointer;
}

.more-news i {
  margin-top: 3px;
}

.more-news:hover {
  background-color: var(--akb-azur);
  color: #fff;
}

.newsModal p {
  padding-bottom: 10px;
}

.search-filter-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 20px 30px 20px;
}

.filter-icon {
  background-color: var(--akb-nacht-10);
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: none;
}

.news-search {
  position: relative;
  border: 1px solid var(--akb-nacht-30);
  width: 100%;
  border-radius: 20px;
}

.news-search input {
  height: 35px;
  border: none;
  outline: none;
  padding: 15px 30px 15px 15px;
  width: 100%;
  border-radius: 20px;
}

.news-search .search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  color: #ccc;
  transform: translateY(-50%);
}

.filter {
  margin: 0 20px;
}

.filter-news-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 15px;
  margin-bottom: 50px;
}

.filter-item .dropdown {
  width: 100%;
}

.filter-item .dropdown-menu {
  top: 40px;
}

.filter-item .dropdown-button {
  color: var(--akb-nacht-30);
}

/* Table */
table thead th:first-of-type {
  border-top-left-radius: 8px;
}

table thead th:last-of-type {
  border-top-right-radius: 8px;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  min-width: 100%;
  table-layout: fixed;
  color: var(--akb-nacht);
  text-align: left;
  font-size: 14px;
}

table .right-aligned {
  text-align: right;
}

table .center-aligned {
  text-align: center;
}

table .overview {
  position: relative;
  padding-left: 25px;
}

table .sort-icon {
  position: absolute;
  top: -5px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--akb-azur-30);
}

table .sort-icon .akb-iconfont-arrow-down-1 {
  margin-top: -8px;
}

table th.active.asc .akb-iconfont-arrow-down-1 {
  color: var(--akb-nacht);
}

table th.active.desc .akb-iconfont-arrow-up-1 {
  color: var(--akb-nacht);
}

.positive {
  color: var(--akb-petrol) !important;
}

.negative {
  color: var(--akb-rot) !important;
}

table thead th {
  background-color: var(--akb-rauch-10);
  border-right-color: #fff;
  vertical-align: top;
  border-bottom: 0;
  white-space: normal;
}

table thead th.esg {
  hyphens: auto;
}

table th:nth-child(1) {
  min-width: 130px;
  max-width: 130px;
}

table .nested-box {
  display: flex;
  flex-direction: column;
}

table .nested {
  font-size: 0.75rem;
  margin-top: 5px;
  color: var(--akb-nacht);
}

table tbody th {
  background-color: var(--akb-cloud);
  padding: 0.75rem;
  font-size: 1rem;
}

table:not(.no-hover) tr:hover {
  background-color: var(--akb-cloud-50);
}

table th,
table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--akb-rauch-10);
  border-right: 1px solid inherit;
}

table th {
  border-right: 1px solid transparent;
}

table tr {
  position: relative;
}

table tr td:not(:last-child) {
  max-width: 200px;
  overflow: hidden;
}

table tr.active {
  background-color: var(--akb-azur-10);
}

table tr.active :is(th, td) {
  border-right: 1px solid var(--akb-azur-10);
}

.arrow-negative,
.arrow-positive {
  color: var(--akb-nacht);
  color: #fff;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 1rem;
}

.arrow-negative {
  color: var(--akb-rot);
}

.arrow-positive {
  color: var(--akb-petrol);
}

.arrow-negative::before {
  transform: rotate(45deg);
}

.arrow-positive::before {
  transform: rotate(-45deg);
}

table .trend-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.v2 .arrow-negative {
  background-color: transparent;
  color: var(--akb-rot);
}

.v2 .arrow-positive {
  background-color: transparent;
  color: var(--akb-petrol);
}

table td:first-child img {
  max-width: 25px;
  max-height: 25px;
  object-fit: contain;
  aspect-ratio: 1/1;
}

table td img {
  max-height: 45px;
}

table .region {
  padding-right: 0;
  min-width: 45px;
  width: 45px;
  font-size: 1.4rem;
}

table a {
  color: var(--akb-azur);
  font-family: "Poppins SemiBold";
}

table .star-filled {
  color: var(--akb-azur);
}

.stars {
  --percent: calc(var(--rating) / 4 * 100%);
  display: block;
  font-size: 1.5rem;
  padding: 0;
  margin-top: -5px;
}

.stars::before {
  content: "★★★★";
  background: linear-gradient(
    90deg,
    var(--akb-nacht) 0%,
    var(--akb-nacht) var(--percent),
    var(--akb-rauch-20),
    var(--percent),
    var(--akb-rauch-20) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

table .icon-download {
  display: block;
  transform: rotate(90deg);
}

table .actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

table .short-actions {
  display: flex;
  gap: 5px;
}

table .short-actions i {
  font-size: 1rem;
  padding: 3px;
  cursor: pointer;
}

table .short-actions i:hover {
  color: var(--akb-azur);
}

.trade-button {
  border: 1px solid var(--akb-nacht);
  background-color: transparent;
  outline: none;
  padding: 8px 16px;
  color: var(--akb-nacht);
  cursor: pointer;
  border-radius: 0;
  min-width: 68px;
}

.trade-button:hover {
  background-color: var(--akb-rauch-20);
}

.trade-button.primary {
  border: 1px solid var(--akb-azur);
  background-color: var(--akb-azur);
  color: #fff;
}

.trade-button.primary:hover {
  background-color: #fff;
  color: var(--akb-azur);
}

.table-download-button {
  display: flex;
  justify-content: flex-end;
  padding: 0 5px 10px 0;
  margin-left: auto;
  color: var(--akb-petrol);
  cursor: pointer;
  width: fit-content;
  font-size: 1.2rem;
}

/* Pagination */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pagination-list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 20px 0;
}

.pagination-item.disabled a {
  opacity: 0.5;
  cursor: default;
}

.pagination-item a {
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--akb-rauch-20);
  color: var(--akb-nacht);
  margin-left: -1px;
  font-size: 14px;
}

.pagination-item:first-child a {
  border-radius: 4px 0 0 4px;
}

.pagination-item:last-child a {
  border-radius: 0 4px 4px 0;
}

.pagination-item i {
  font-size: 10px;
}

.pagination-item.active a {
  background-color: var(--akb-azur);
  color: #fff;
}

.pagination-item:not(.active):not(.disabled) a:hover {
  background-color: var(--akb-rauch-10);
}

/* Dropdown / Filter */
.filter-box {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dropdown {
  position: relative;
  width: 225px;
}

.dropdown.align-right {
  margin-left: auto;
}

.dropdown label {
  font-size: 14px;
}

.dropdown-picker {
  background-color: var(--akb-blau-10);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--akb-nacht);
  width: 175px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.dropdown-icon.v2 {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--akb-azur);
  border-radius: 2px;
}

.dropdown-icon {
  transform: rotate(90deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 66px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  z-index: 5;
  background-color: #fff;
  width: 100%;
}

.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu ul li a {
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

/* Detailseite */
.details-nav ul {
  display: flex;
  gap: 5px;
  padding: 0 10px 9px 10px;
  border-bottom: 1px solid var(--akb-azur-30);
  margin-top: 25px;
}

.details-nav ul a {
  background-color: var(--akb-azur-10);
  padding: 10px 20px;
  white-space: nowrap;
  cursor: pointer;
}

.details-nav ul a:hover {
  color: inherit;
  background-color: var(--akb-azur-30);
}

.details-nav ul a.selected {
  color: inherit;
  background-color: #fff;
  border: 1px solid var(--akb-azur-30);
  border-bottom-color: transparent;
}

.details-nav .container .boxs-full {
  padding: 5px 0;
  margin: 30px 0;
  min-height: auto;
  overflow-x: auto;
}

.detail-header {
  max-width: 350px;
}

.detail-title {
  font-size: 2.5rem;
  padding-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.detail-infos {
  display: flex;
  align-items: center;
  margin-top: 45px;
  gap: 25px;
}

.detail-price {
  font-size: 2.5rem;
}

.detail-changes-values {
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail-change {
  text-align: right;
  font-size: 1rem;
}

.detail-rate {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  gap: 5px;
}

.detail-currency {
  opacity: 0.5;
  margin-bottom: -10px;
}

.detail-date {
  font-size: 0.75rem;
  opacity: 0.5;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-actions .trade-button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}

.detail-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.75rem;
  margin-top: 25px;
}

.detail-footer span {
  font-family: "Poppins SemiBold";
}

.contents.tab.hide {
  display: none !important;
}

.tab .title {
  font-family: "Poppins SemiBold";
}

/* Produkte */
.esg-rating {
  background-color: var(--akb-kiwi-40);
  width: 35px;
  height: 35px;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.risk-level {
  display: flex;
  gap: 1px;
}

.risk-level div {
  width: 12px;
  height: 20px;
  border: 1px solid var(--akb-nacht);
  color: #fff;
  text-align: center;
}

.risk-level div.active {
  background-color: var(--akb-azur);
}

/* Datepicker */
.calendar {
  padding: 10px;
}

.datepicker input {
  border: 1px solid var(--akb-nacht-10);
  outline: none;
  width: 50%;
  height: 35px;
  padding: 2px 10px;
  letter-spacing: 0.5px;
  font-size: 16px;
  margin: 10px 0;
}

.datepicker:focus {
  color: var(--akb-nacht);
  background-color: #fff;
  border-color: #f28388;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(219, 61, 68, 0.25);
}

.calendar .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin: 5px 0;
}

.title .arrow-control {
  border: none;
  border-radius: 50px;
  background-color: transparent;
  width: 35px;
  height: 35px;
  color: var(--akb-nacht);
}

.title .arrow-control:hover {
  background-color: var(--akb-azur);
  color: white;
  cursor: pointer;
}

.week .day {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14.28%;
  font-weight: bold;
}

.list,
.week {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.list .date {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14.28%;
  height: 28px;
  margin-top: 1em;
  border: none;
  border-radius: 50px;
  background-color: transparent;
  color: var(--akb-nacht);
}

.list .date:hover,
.list .date:focus,
.list .mon:hover,
.list .mon:focus {
  background-color: var(--akb-azur);
  color: white;
  cursor: pointer;
}

.calendar .active {
  background-color: var(--akb-azur) !important;
  color: white !important;
}

.list .fadeout {
  color: var(--akb-nacht-30);
}

.list .today {
  border: 1px solid var(--akb-blau);
}

.datepicker {
  display: flex;
  gap: 5px;
  position: relative;
}

.calendar hr {
  border: 1px solid var(--akb-nacht-10);
  margin: 20px 0;
}

.fast-dial {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fast-dial div {
  padding: 8px 12px;
  border: 1px solid var(--akb-azur);
  cursor: pointer;
}

.fast-dial div:hover {
  background-color: var(--akb-azur);
  color: #fff;
}

/* Main-Data */
.maindata-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.maindata-container table {
  width: calc(50% - 10px);
  min-width: auto;
}

.maindata-container table tr {
  height: 45px;
}

.maindata-container table tr:nth-child(odd) {
  background-color: var(--akb-cloud-50);
}

.maindata-container table td {
  padding: 0.25rem 0.5rem;
}

.maindata-container span {
  font-size: 0.75rem;
}

/* Marktmeinung */
.akb-reports ul .title {
  margin-bottom: 5px;
}

.akb-reports ul li {
  display: flex;
  gap: 15px;
  margin: 10px 0 20px 0;
}

.akb-reports ul img {
  width: 125px;
  border-radius: 8px;
  height: 80px;
  object-fit: cover;
}

/* Formular */
form {
  display: flex;
  flex-direction: column;
}

form label {
  color: var(--akb-nacht);
  margin-bottom: 5px;
}

form input {
  max-width: 450px;
  height: 45px;
  padding: 5px 10px;
  border: 1px solid var(--akb-azur);
  margin-bottom: 15px;
  outline: none;
  font-size: 1rem;
}

.input-profil {
  height: 45px;
  padding: 5px 10px;
  background-color: var(--akb-rauch-10);
  margin-bottom: 15px;
  outline: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.flex__box__item-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.flex__box__item-checkbox label {
  margin-left: 5px;
  margin-top: 2px;
  width: calc(100% - 40px);
}

.flex__box__item-checkbox input {
  margin-bottom: 3px;
}

.confirmation__box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.info-box {
  background-color: var(--akb-nacht-10);
  height: 100%;
  padding: 15px;
}

.info-box a,
a.underline {
  text-decoration: underline;
}

.error-message,
.success-message {
  padding: 8px 10px;
  margin: 0 0 20px 0;
  background: var(--akb-rot);
  color: #fff;
  position: relative;
}

.error-message a {
  color: #fff !important;
}

/* Logged In */
/* mein-profil */
.action-box a {
  display: flex;
  flex-direction: column;
}

.action-box-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.action-box-head .title {
  margin-bottom: 0;
}

.action-box-head i {
  font-size: 1.5rem;
  display: inline-block;
}

.action-box-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.action-box a:hover .action-box-body {
  color: var(--akb-nacht);
}

.action-box-body .text {
  font-size: 0.75rem;
  margin-top: 5px;
}

.action-box-body .align-right {
  text-align: right;
}

.changes-values {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

/* portfolio */
.portfolio-overview {
  display: flex;
  gap: 15px;
  margin: 5px 0 -10px 0;
  overflow-y: hidden;
  overflow-x: auto;
  min-height: 195px;
}

.portfolio-box {
  background-color: var(--akb-azur-10);
  border: 2px solid var(--akb-azur-10);
  flex: 1 0 auto;
  width: 300px;
  max-width: 350px;
  padding: 15px;
  cursor: pointer;
  border-radius: 8px;
  height: 160px;
  display: flex;
  flex-direction: column;
}

.portfolio-box.selected {
  background-color: var(--akb-azur-30);
  border: 2px solid var(--akb-azur-30);
}

.portfolio-box.positive {
  background-color: var(--akb-petrol-20);
  border: 2px solid var(--akb-petrol-20);
}

.portfolio-box.negative {
  background-color: var(--akb-rot-20);
  border: 2px solid var(--akb-rot-20);
}

.portfolio-box.positive.selected {
  background-color: var(--akb-petrol-50);
  border: 2px solid var(--akb-petrol-50);
}

.portfolio-box.negative.selected {
  background-color: var(--akb-rot-30);
  border: 2px solid var(--akb-rot-30);
}

.portfolio-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.portfolio-box .title {
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.action-edit-menu {
  position: relative;
  cursor: pointer;
}

.edit-menu {
  display: none;
  position: absolute;
  top: 31px;
  right: -12px;
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 225px;
  border-radius: 8px;
  z-index: 2;
}

.edit-menu.active {
  display: block;
}

.edit-menu ul {
  display: flex;
  flex-direction: column;
}

.edit-menu ul li:first-child {
  border-radius: 8px 8px 0 0;
}

.edit-menu ul li:last-child {
  border-radius: 0 0 8px 8px;
}

.edit-menu ul li {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--akb-nacht-10);
}

.edit-menu::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  z-index: -1;
}

.edit-menu ul li:hover {
  background-color: var(--akb-nacht-10);
}

.secondary-text {
  font-size: 0.75rem;
  margin: 0 0 15px 0;
}

.portfolio-box * {
  color: var(--akb-nacht);
}

.divider {
  display: flex;
  margin: 25px 0;
}

.indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.indicator .dot {
  width: 10px;
  height: 10px;
  background-color: var(--akb-nacht-10);
  border-radius: 50%;
}

.indicator .dot.active {
  background-color: var(--akb-azur);
}

.download-portfolio {
  padding-right: 0;
  border: none;
  background: none;
}

.download-portfolio:hover {
  background: none;
  color: var(--akb-blau);
}

/* The Modal (background) */
.wb-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0 15px;
}

/* Modal Content/Box */
.wb-modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  margin: 50px auto;
  padding: 20px 45px 20px 20px;
  max-width: 1050px;
}

/* The Close Button */
.wb-close {
  position: absolute;
  color: var(--akb-nacht-70);
  font-size: 1.2rem;
  font-weight: 600;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.wb-close:hover,
.wb-close:focus {
  color: var(--akb-nacht);
}

.wb-modal-content > h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.wb-modal-content input {
  max-width: 100%;
}

.top-right-action {
  margin-top: 0;
  z-index: 1;
}

.password-forget {
  max-width: 450px;
  font-size: 0.75rem;
  display: inline-flex;
}
.password-forget a {
  margin-left: auto;
}

/* Footer */
.footer-box {
  background-color: #f4f7f8;
  margin-top: 50px;
  padding: 24px 0;
  font-size: 0.8rem;
}
.footer-box .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-box-left,
.footer-box-right {
  width: calc(50% - 15px);
}
.footer-box-right {
  text-align: right;
}

.footer-box a {
  text-decoration: underline;
}

/* eBankingMode */
body.eBankingMode .navigation {
  background-color: #fff;
}

body.eBankingMode .navigation .search input {
  border: 1px solid var(--akb-azur);
}

body.eBankingMode .navigation .menu i {
  background-color: var(--akb-azur);
  padding: 8px 10px;
}

body.eBankingMode .sub-nav {
  display: none;
}

body.eBankingMode .content-box {
  margin-top: 25px;
}

body.eBankingMode .navigation .markets {
  min-width: 260px;
}

body.eBankingMode .navigation ul li {
  flex: 1 0 auto;
}

body.eBankingMode .navigation .dropdown {
  min-width: 150px;
}

body.eBankingMode .navigation .dropdown li {
  padding: 5px 0;
}

body.eBankingMode .navigation .markets .dropdown {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 15px;
  width: 100%;
  z-index: 1000;
}

body.eBankingMode .navigation .main-navigation {
  display: none;
  gap: 15px;
}

body.eBankingMode .navigation .menu {
  display: block;
  cursor: pointer;
}

body.eBankingMode .navigation.active .main-navigation {
  position: absolute;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  top: 65px;
  left: 50%;
  width: calc(100% - 30px);
  max-width: 1080px;
  padding: 15px;
  background-color: #0069a7;
  transform: translate(-50%);
  z-index: 1000;
}

body.eBankingMode .navigation.active .menu-icon,
body.eBankingMode .navigation .close-icon {
  display: none;
}

body.eBankingMode .navigation.active .close-icon {
  display: block;
}

body.eBankingMode .navigation .markets .dropdown {
  position: relative;
  display: block;
  top: inherit;
}

body.eBankingMode .navigation .search input {
  width: 220px;
}

body.eBankingMode .navigation .search-box {
  max-width: unset;
}

body.eBankingMode .navigation .search-box::after {
  left: 20px;
  right: unset;
}

@media screen and (max-width: 915px) {
  .flex__box {
    flex-wrap: wrap;
  }

  .flex__box__item-50,
  .flex__box__item-70 {
    width: 100%;
  }
  .footer-box-left,
  .footer-box-right {
    width: 100%;
  }
  .footer-box-right {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .flex__box__item-30 {
    width: 100%;
  }

  .d-none {
    display: block;
  }

  .mobile-hidden {
    display: none;
  }

  .edit-menu ul li {
    display: flex !important;
  }

  .navigation .dropdown {
    min-width: 150px;
  }

  .navigation .dropdown li {
    padding: 5px 0;
  }

  .navigation .markets .dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    width: 100%;
    z-index: 1000;
  }

  .navigation .main-navigation {
    display: none;
    gap: 15px;
  }

  .navigation .menu {
    display: block;
    cursor: pointer;
  }

  .navigation.active .main-navigation {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    top: 65px;
    left: 50%;
    width: calc(100% - 30px);
    max-width: 1080px;
    padding: 15px;
    background-color: var(--akb-azur);
    transform: translate(-50%);
    z-index: 1000;
  }

  .navigation.active .menu-icon,
  .navigation .close-icon {
    display: none;
  }

  .navigation.active .close-icon {
    display: block;
  }

  .navigation .markets .dropdown {
    position: relative;
    display: block;
    top: inherit;
  }

  .navigation .search input {
    width: 220px;
  }

  .navigation .search-box {
    max-width: unset;
  }

  .navigation .search-box::after {
    left: 20px;
    right: unset;
  }

  .w-50 {
    width: 100%;
  }

  .detail-head {
    flex-direction: column;
  }

  .detail-infos {
    margin: -1px 20px 20px auto;
  }

  .detail-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .chart {
    display: none;
  }

  .maindata-container table {
    width: 100%;
  }

  .boxs {
    padding: 15px 10px;
  }

  table .region {
    min-width: 0;
    width: 0;
    padding: 0;
    font-size: 0rem;
  }

  .filter-icon {
    display: flex;
  }

  .filter-news-box {
    display: none;
  }

  .filter-news-box.active {
    display: grid;
  }

  .header-navigation ul li a span {
    display: none;
  }

  .dropdown.align-right {
    margin-left: 0;
  }

  table th,
  table td {
    padding: 0.75rem 0.5rem;
  }

  table tr td {
    max-width: 155px;
  }

  tr th:nth-child(3) {
    border-top-right-radius: 8px;
  }
}
