/*
https://www.nway.cz/
Jun, 2025.
*/
@import url(fonts.css);
@import url(fontawesome.min.css);

:root {
  color-scheme: light dark;
}

html {
  scroll-behavior: smooth;
  position: relative;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Cairo", "Helvetica Neue", Arial, sans-serif;
  color: #212529;
  margin: 0 0 60px;
  padding-top: 4.5rem;
  background-color: #f8f9fa;
}

.container-shadow {
  margin: auto;
  background: #fff;
  padding: 5px 25px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn {
  font-family: -apple-system, BlinkMacSystemFont, "Play", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: #212529;
  text-decoration: none;
}

li, .li {
  font-size: 14px;
}

fieldset {
  background-color: #fff;
}

.navbar-dark .navbar-toggler {
  color: unset;
  border: 0;
}

h1, .h1 {
  font-size: 24px;
}

h2, .h2 {
  font-size: 22px;
  font-weight: bold;
}

.small, small {
  font-size: 13px;
}

table {
  position: relative;
  z-index: 1;
}

th {
  position: sticky;
  top: 56px;
  z-index: 2;
}

.copyright {
  font-family: -apple-system, BlinkMacSystemFont, "Titillium Web", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.closebtn {
  font-weight: bold;
  float: right;
  font-size: 28px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.form-control, .form-select {
  color: darkblue;
}

.form-check-input:checked {
  background-color: darkblue;
  border-color: darkblue;
}

.form-check-input:focus {
  border-color: rgba(0,0,0,.25);
  outline: 0;
  box-shadow: unset;
}

.col-form-label, .form-label {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.on {
  color: #dedede;
}

.off {
  background: #eee;
  color: #eee;
}

#discipline-tab {
  position: fixed;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  background-color: #0067b8;
  color: #f8f9fa;
  padding: 12px 0px 12px 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  cursor: default;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "Play", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 60px;
  width: 100%;
}

@media (max-width: 767px) {
.wrapper {
  padding-top: 0px;
}

.card-body {
  padding: 1rem 0.5rem;
}
}

@media (max-width: 991px) {
.wrapper .main-style .content-sidebar h2 {
  font-size: 24px;
  line-height: 28px;
}
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
.wrapper .main-style .content-sidebar h2 {
  font-size: 32px;
  line-height: 36px;
}
}

/* DARK THEME */
@media (prefers-color-scheme: dark) {
body {
  color: #bfb9ad;
  font-weight: 300;
  background-color: #212529;
}

a {
  color: #bfb9ad;
}

a.btn {
  color: #fff !important;
}

input {
  border: 1px solid #666 !important;
}

.container-shadow {
  background: #383838;
}

fieldset {
  background-color: #212529;
}

.border {
  border: 1px solid #757575 !important;
}

.border-top {
  border-color: #757575 !important;
}

.form-control, .form-control:focus {
  color: #bfb9ad !important;
  background-color: #212529;
  border: 1px solid #757575;
}

.form-check-input:checked {
  background-color: #bfb9ad;
  border-color: #bfb9ad;
}
  
.form-control::placeholder {
  color: #bfb9ad !important;
  background-color: #383838;
}

.form-control:disabled {
  background-color: #383838;
}

.form-select {
  color: #bfb9ad !important;
  background-color: #212529;
  border: 1px solid #757575;
}

.form-select:disabled {
  color: #6c757d;
  background-color: #383838;
}

.form-check-input {
  background-color: #383838;
  border: 1px solid #757575;
}

.input-group-text {
  color: #bfb9ad;
  background-color: #212529;
  border: 1px solid #757575;
}

.btn-secondary {
  color: #bfb9ad;
  background-color: #5c636a;
  border-color: #565e64;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  color: #999;
}

.card {
  color: #bfb9ad;
  background-color: #212529;
  border-color: #757575;
}

.card-header {
  background-color: #454545;
  border-bottom: var(--bs-card-border-width) solid #757575;
}

.table > :not(caption) > * > * {
  color: unset;
  border-color: #757575;
}

td {
  background-color: initial !important;
}

.list-group-item {
  color: unset;
  background-color: #212529;
  border-color: #757575;
}

.text-muted {
  color: #bfb9ad !important;
}

.alert-light {
  color: #bfb9ad;
  background-color: #212529;
  border-color: #757575;
}

.pagination {
  --bs-pagination-disabled-color: #bfb9ad;
  --bs-pagination-disabled-bg: #212529;
  --bs-pagination-border-color: #757575;
}

.page-link, .page-item, .page-item.disabled {
  color: #bfb9ad;
  background-color: #212529;
  border-color: #757575;
}

.disabled > .page-link, .page-link.disabled {
  color: #bfb9ad;
  pointer-events: none;
  background-color: #757575;
  border-color: #757575;
}

li.page-item > .page-link:hover {
  color: #fff;
  background-color: #454545;
  border-color: #757575;
}

.page-link:hover {
  color: #fff;
  border-color: #757575;
}

.on {
  color: #777;
}

.off {
  background: #555;
  color: #555;
}
}