@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

body {
 background-color: white !important; /*damit das Radzen-Farbschema nicht mehr angezeigt wird*/
 background: none !important; /*damit das Radzen-Farbschema nicht mehr angezeigt wird*/
}

@media print {
 .no-print, .no-print * {
  display: none !important;
 }
}

a.disabled {
 color: darkgray;
 /* disable the pointer events */
 pointer-events: none;
}

.itvbutton {
 color: white;
 background-color: #12B4FF !important;
 border-color: #12B4FF !important;
}

 .itvbutton:hover {
  background-color: #12B4FF !important;
  color: white !important;
  filter: brightness(85%);
 }

html, body {
 font-family: 'Poppins','Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
 position: relative;
 min-height: 100%;
}

body {
 margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
 position: absolute;
 bottom: 0;
 width: 100%;
 height: 60px; /* Set the fixed height of the footer here */
 line-height: 60px; /* Vertically center the text there */
 background-color: #f5f5f5;
}

li {
 list-style-type: square;
}

.TeacherZone {
 background-color: rgba(245, 173, 61, 0.15); /* weiches Orange */
 padding: 0.6rem 0.8rem;
 font-size: 0.95rem;
 border-left: 4px solid #f5ad3d; /* dezente Markierung */
 border-radius: 4px;
}

.TeacherZoneHeadline {
 font-weight: 600;
 padding: 0.2rem 0.4rem;
 background-color: rgba(0,0,0,0.06); /* helles Grau statt darkgrey */
 color: #222;
 border-radius: 3px;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
}

.badge-small {
 font-size: 0.6rem;
}

.TeacherZone .ZusatzInfoSmall {
 font-size: small;
 color: #8d650b !important;
}


hr {
 border: none;
 height: 3px;
 /* Set the hr color */
 color: #12B4FF; /* old IE */
 background-color: #12B4FF; /* Modern Browsers */
}

.headline {
 background: linear-gradient(135deg, #12B4FF, #0d8fd9);
 padding: 6px 12px;
 color: white;
 margin-top: 10px;
 border-radius: 8px;
 font-size: 1.2rem !important;
 font-weight: 600 !important;
}

a, .btn-link {
 color: #0366d6;
}

.btn-primary {
 color: #fff;
 background-color: #1b6ec2;
 border-color: #1861ac;
}

app {
 position: relative;
 display: flex;
 flex-direction: column;
}

.top-row {
 height: 3.5rem;
 display: flex;
 align-items: center;
}

.main {
 flex: 1;
}

 .main .top-row {
  background-color: #f7f7f7;
  border-bottom: 1px solid #d6d5d5;
  justify-content: flex-end;
 }

  .main .top-row > a, .main .top-row .btn-link {
   white-space: nowrap;
   margin-left: 1.5rem;
  }

  .main .top-row a:first-child {
   overflow: hidden;
   text-overflow: ellipsis;
  }


.nav-link {
 padding-top: 0px !important;
 padding-bottom: 0 !important;
}

.sidebar {
 background-image: linear-gradient(0deg, #12B4FF, #0D8FD9);
}

 .sidebar .top-row {
  background-color: rgba(0,0,0,0.4);
 }

 .sidebar .navbar-brand {
  font-size: 1.1rem;
 }

 .sidebar .oi {
  width: 2rem;
  font-size: 1.1rem;
  vertical-align: text-top;
  top: -2px;
 }

 .sidebar .nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  /*padding-bottom: 0.5rem;*/
  padding-bottom: -0.5rem;
  padding-left: 0.6rem !important;
 }

  .sidebar .nav-item:first-of-type {
   padding-top: 1rem;
  }

  .sidebar .nav-item:last-of-type {
   padding-bottom: 1rem;
  }

  .sidebar .nav-item a {
   color: #d7d7d7;
   border-radius: 8px;
   height: 25px;
   display: flex;
   align-items: center;
  }
/*line-height: 2rem;*/
}

.sidebar .nav-item a.active {
 background-color: rgba(255,255,255,0.25);
 color: white;
}

.sidebar .nav-item a:hover {
 background-color: rgba(255,255,255,0.1);
 color: white;
}

.content {
 padding-top: 1.1rem;
}

.navbar-toggler {
 background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
 outline: 1px solid #26b050;
}

.invalid {
 outline: 1px solid red;
}

.validation-message {
 color: red;
}

#blazor-error-ui {
 background: lightyellow;
 bottom: 0;
 box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
 display: none;
 left: 0;
 padding: 0.6rem 1.25rem 0.7rem 1.25rem;
 position: fixed;
 width: 100%;
 z-index: 1000;
}

 #blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
 }

@media (max-width: 767.98px) {
 .main .top-row:not(.auth) {
  display: none;
 }

 .main .top-row.auth {
  justify-content: space-between;
 }

 .main .top-row a, .main .top-row .btn-link {
  margin-left: 0;
 }
}

@media (min-width: 768px) {
 app {
  flex-direction: row;
 }

 .sidebar {
  width: 250px;
  height: 100vh;
  position: sticky;
  top: 0;
 }

 .main .top-row {
  position: sticky;
  top: 0;
 }

 .main > div {
  padding-left: 2rem !important;
  padding-right: 1.5rem !important;
 }

 .navbar-toggler {
  display: none;
 }

 .sidebar .collapse {
  /* Never collapse the sidebar for wide screens */
  display: block;
 }
}

/*Eigene */

.bigCheckbox {
 /*-moz-transform: scale(2);*/
 width: 25px;
 height: 25px;
 padding: 10px;
 display: inline;
}

.bigCheckboxLabel {
 margin-left: 15px;
 margin-top: 5px;
}

.ZusatzInfo {
 font-size: small;
 color: deepskyblue;
}

.ZusatzInfoSmall {
 font-size: small;
 color: deepskyblue;
}

.Aktiv {
 background-color: #DFEEFA;
}

.debug {
 background-color: darkorange;
 color: white;
}

/* -------------- Ladeanimation. Quelle: http://tobiasahlin.com/spinkit/*/

.spinner {
 margin: 100px auto;
 width: 50px;
 height: 40px;
 text-align: center;
 font-size: 10px;
}

 .spinner > div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
 }

 .spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
 }

 .spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
 }

 .spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
 }

 .spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
 }

@-webkit-keyframes sk-stretchdelay {
 0%, 40%, 100% {
  -webkit-transform: scaleY(0.4)
 }

 20% {
  -webkit-transform: scaleY(1.0)
 }
}

@keyframes sk-stretchdelay {
 0%, 40%, 100% {
  transform: scaleY(0.4);
  -webkit-transform: scaleY(0.4);
 }

 20% {
  transform: scaleY(1.0);
  -webkit-transform: scaleY(1.0);
 }
}

/* -------------- In Blazor vordefinierte Styles - neu ab v6*/
.blazor-error-boundary {
 background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
 padding: 1rem 1rem 1rem 3.7rem;
 color: white;
}

 .blazor-error-boundary::after {
  content: "Entschuldigung, es tut uns leid: Da klappt was gerade nicht :-( Bitte informieren Sie Kundenservice@IT-Visions.de mit einem Screenshot des ganzen Browserfensters. Vielen Dank!"
 }


/* 31.8.23 externe Links*/
a.external[href]:after {
 font-family: bootstrap-icons;
 content: "\f1c5"; /* https://icons.getbootstrap.com/icons/box-arrow-up-right/ */
 font-size: .6rem;
 margin: 0 .5em;
 display: inline-block;
}

/* 31.8.23 externe Links*/
a .externalbefore[href]:before {
 font-family: bootstrap-icons;
 content: "\f1c5"; /* https://icons.getbootstrap.com/icons/box-arrow-up-right/ */
 font-size: .6rem;
 margin: .5em 0;
 display: inline-block;
}

.blur {
 color: transparent;
 text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/*Striped lists mit Hover*/

ul.list-group.list-group-striped li:nth-of-type(odd) {
 background: #F9F9F9;
}

ul.list-group.list-group-striped li:nth-of-type(even) {
 background: #F1F1F1;
}

ul.list-group.list-group-hover li:hover {
 background: #e6f4ff;
}

/* ---------------- Tabellen */
.odd {
 background: #F9F9F9;
 margin-left: 10px;
 margin-right: 10px;
 padding-top: 10px;
 padding-bottom: 10px;
}

.even {
 background-color: #F1F1F1;
 margin-left: 10px;
 margin-right: 10px;
 padding-top: 10px;
 padding-bottom: 10px;
}

.neutral {
 margin-left: 10px;
 margin-right: 10px;
 padding-top: 10px;
 padding-bottom: 10px;
}

.even:hover {
 background: #e6f4ff;
}

.neutral:hover {
 background: #e6f4ff;
}


.odd:hover {
 background: #e6f4ff;
}

.myCard {
 margin-top: 10px;
 width: 100%;
 text-align: center;
 padding-top: 10px;
 height: 200px;
 cursor: pointer;
}


/* ---------------- Kundenportal */

.KPHeadline {
 padding: 0.75rem;
 border-bottom: 2px solid #12B4FF;
 background: linear-gradient(135deg, #12B4FF 0%, #0d8fd9 100%);
 color: white;
}

/* ---------------- Änderungen an Bootstrap Styles */

/* Hover bei Listen */
.list-group-item:hover {
 background-color: #f8f9fa;
 cursor: pointer;
}

/* Größere Radio-Buttons */
.form-check-input[type="radio"] {
 width: 1.5em;
 height: 1.5em;
 margin-top: 0.15em;
 cursor: pointer;
}

/* Größere Radio-Buttons */
.form-check-input[type="checkbox"] {
 width: 1.5em;
 height: 1.5em;
 margin-top: 0.15em;
 cursor: pointer;
}

.form-check-label {
 cursor: pointer;
 margin-left: 0.5em;
}

</style >