/*
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", "Fira Sans", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #212529;
  margin: 0 0 60px;
  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);
}

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

fieldset {
  background-color: #fff;
}

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

h3, .h3 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: .4px;
  color: #212529;
  margin-bottom: 0;
}

h4 {
  font-weight: bold;
}

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

.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;
}

#scrolltop {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 15px;
    right: 15px;
    transition: background-color .3s,opacity .5s,visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000
}

#scrolltop:after {
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 32px;
    line-height: 34px;
    color: #f06105
}

#scrolltop:active,#scrolltop:hover {
    cursor: pointer
}

#scrolltop.show {
    opacity: 1;
    visibility: visible
}

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;
  /*padding: .375rem .75rem;*/
}

.form-select {
  /*padding: .525rem .75rem;*/
}

.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;
}

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

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

.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;
}
}

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

.container-shadow {
  background: #383838;
}

fieldset {
  background-color: #212529;
}

.border {
  border: 1px solid #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: #757575;
  background-color: unset;
}

.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;
}

a, .text-dark {
  color: #bfb9ad;
}

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

.card {
  color: #bfb9ad;
  background-color: #212529;
  border: 1px solid rgba(160, 160, 160, 0.125);
}

.modal-content {
  background-color: #454545;
}

.table > :not(caption) > * > * {
  color: unset;
}

td {
  background-color: initial !important;
}
}