body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.nav-link svg path{
  fill: currentcolor;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 0rem;
  }

  .hidden-mobile {
    display: none;
  }
}

@media (min-width: 767.99px) {
  .hidden-pc {
    display: none;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.nav-item .nav-link {
  font-weight: 500;
  color: #333;
  border-radius: var(--or-karty) ;
}

.nav-item .nav-link.active {
  font-weight: 500;
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1.25rem;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

/*
.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
*/

.datatable {
  cursor: pointer;
}

th.text-right {
    text-align: right !important;
}

body a {
  color: var(--dark);
  text-decoration: underline;
}

body a:hover {
  color: rgb(var(--primarni));
}

.form-signup input[type="email"] {
  border-radius: var(--or-karty) ;
}

.form-signup input[type="password"] {
  border-radius: var(--or-karty) ;
}

.form-signup input[type="text"] {
  border-radius: var(--or-karty) ;
}

.form-pwd input[type="email"] {
  border-radius: var(--or-karty) ;
}

.form-pwd input[type="password"] {
  border-radius: var(--or-karty) ;
}

.form-pwd input[type="text"] {
  border-radius: var(--or-karty) ;
}

.form-signin input[type="email"] {
  border-radius: var(--or-karty) ;
}

.form-signin input[type="password"] {
  border-radius: var(--or-karty) ;
}

.form-signin input[type="text"] {
  border-radius: var(--or-karty) ;
}

.form-group {
  border-color: var(--pozadi-sv);
  box-shadow: 0 0 0 0.25rem var(--pozadi-nejsv);
}

.form-control:focus {
  border-color: var(--pozadi-sv);
  box-shadow: 0 0 0 0.25rem var(--pozadi-nejsv);
}

.form-select:focus {
  border-color: var(--pozadi-sv);
  box-shadow: 0 0 0 0.25rem var(--pozadi-nejsv);
}

.form-check-input {
  outline: 0;
  border-color: var(--pozadi-sv);
}

.form-check-input:focus {
  outline: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
  border-color: var(--pozadi-sv);
  box-shadow: 0 0 0 0.25rem var(--pozadi-nejsv);
}

.form-check-input:checked {
  background-color: rgb(var(--primarni));
  border-color: rgb(var(--primarni));
}

.link {
  color: var(--dark);
  text-decoration: underline;
  font-weight: bold;
}

.link:hover {
  color: rgb(var(--primarni));
}

.rounded-portal {
  border-radius: var(--or-karty) !important;
}

.card-body-hover:hover {
  background-color: var(--pozadi-nejsv);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card-header {
  color: var(--light);
  background-color: var(--dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header-link {
  color: var(--light);
  background-color: var(--dark);
  text-decoration: none;
}

.card-header-link:hover {
  color: rgb(var(--primarni));
}

.card-header:first-child {
  border-top-left-radius: var(--or-karty) ;
  border-top-right-radius: var(--or-karty) ;
}

.list-group {
  border-radius: var(--or-seznamy);
}

.sidebar .nav-link.active {
  color: rgb(var(--primarni));
}

.header-bg {
  background-color: rgb(var(--pozadi-header)) !important;
}

.sidebar-bg {
  background-color: rgb(var(--sekundarni)) !important;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.nav-link {
  color: rgb(var(--primarni));
  font-weight: bolder;
}

.nav-link:hover, .nav-link:focus {
  color: rgb(var(--primarni-tm));
}

.nav-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--pozadi-sv);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--dark);
}

/* datatables */
div.dt-autofill-handle{position:absolute;height:8px;width:8px;z-index:102;box-sizing:border-box;background:rgb(var(--primarni));cursor:pointer}div.dtk-focus-alt div.dt-autofill-handle{background:#ff8b33}div.dt-autofill-select{position:absolute;z-index:1001;background-color:rgb(var(--primarni));background-image:repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px)}div.dt-autofill-select.top,div.dt-autofill-select.bottom{height:3px;margin-top:-1px}div.dt-autofill-select.left,div.dt-autofill-select.right{width:3px;margin-left:-1px}div.dt-autofill-list{position:fixed;top:50%;left:50%;width:500px;margin-left:-250px;background-color:white;border-radius:6px;box-shadow:0 12px 30px rgba(0, 0, 0, 0.6);border:1px solid black;z-index:11;box-sizing:border-box;padding:1.5em 2em;padding-top:2em}div.dt-autofill-list div.dtaf-popover-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dt-autofill-list ul{display:table;margin:0;padding:0;list-style:none;width:100%}div.dt-autofill-list ul li{display:table-row;cursor:pointer}div.dt-autofill-list ul li:last-child div.dt-autofill-question,div.dt-autofill-list ul li:last-child div.dt-autofill-button{border-bottom:none}div.dt-autofill-list ul li:hover{background-color:#f6f6f6}div.dt-autofill-list ul li:hover button.btn{background-color:#548bbb}div.dt-autofill-list div.dt-autofill-question{display:table-cell;padding:.5em 0;padding-left:5px;border-bottom:1px solid #ccc}div.dt-autofill-list div.dt-autofill-question input[type=number]{padding:6px;width:30px;margin:-2px 0}div.dt-autofill-list div.dt-autofill-button{display:table-cell;padding:.5em 0;padding-right:5px;border-bottom:1px solid #ccc;text-align:right}div.dtaf-popover-closeable{padding-top:2.5em}div.dt-autofill-background{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);background:radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:10}@media screen and (max-width: 767px){div.dt-autofill-handle{height:16px;width:16px}div.dt-autofill-list{width:90%;left:74.5%}}div.dt-autofill-list div.dt-autofill-question input[type=number]{padding:6px;width:60px;margin:-2px 0}

div.DTCR_pointer {
  width: 1px;
  background-color: rgb(var(--primarni));
  z-index: 201;
}

table.dataTable tbody th.focus,
table.dataTable tbody td.focus {
  outline: 2px solid rgb(var(--primarni));
  outline-offset: -2px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  background-color: rgb(var(--primarni));
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
  background-color: rgb(var(--primarni));
}

table.dt-rowReorder-float {
  position: absolute !important;
  outline: 2px solid rgb(var(--primarni));
}

div.dt-button-collection button.dt-btn-split-drop-button:active {
  background-color: rgb(var(--primarni)) !important;
  border-radius: var(--or-karty) !important;
}

.dataTables_wrapper .dataTables_paginate {
  color: white !important;
}

.dataTables_wrapper .dataTables_paginate li a {
  color: var(--dark);
  border-radius: var(--or-karty) !important;
}

.dataTables_wrapper .dataTables_paginate li a:hover {
  background-color: rgb(var(--primarni));
  border-color: var(--pozadi-sv);
  color: #fff;
  border-radius: var(--or-karty) !important;
}

.dataTables_wrapper .dataTables_paginate li a:focus {
  border-color: var(--pozadi-sv) !important;
  box-shadow: 0 0 0 0.25rem var(--pozadi-nejsv) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  background-color: rgb(var(--primarni));
  border-radius: var(--or-karty) !important;
}

.paginate_button.active .page-link {
  background-color: rgb(var(--primarni));
  border-color: var(--pozadi-sv);
  color: #fff;
  border-radius: var(--or-karty) !important;
}

/* tlačítka */
.btn {
  /*color: var(--dark);*/
  border-radius: var(--or-tlacitka);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: rgb(var(--primarni));
  border-color: rgb(var(--primarni));
}
.btn-primary:hover {
  color: #fff;
  background-color: rgb(var(--primarni-tm));
  border-color: rgb(var(--primarni-tm));
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
  color: #fff;
  background-color: rgb(var(--primarni-tm));
  border-color: rgb(var(--primarni-tm));
  box-shadow: 0 0 0 0.25rem rgba(var(--primarni-tm), 0.5);
}
.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: rgb(var(--primarni-tm));
  border-color: rgb(var(--primarni-tm));
}
.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgb(var(--primarni-tm));
  color: #ffffff;
  background-color: rgb(var(--primarni-tm));
  border-color: rgb(var(--primarni-tm));
}
.btn-primary:disabled, .btn-primary.disabled {
  color: #fff;
  background-color: rgb(var(--primarni));
  border-color: rgb(var(--primarni));
}

/* alerty */
.alert-danger {
  color: var(--light);
  background-color: var(--danger);
  border-color: var(--danger);
}
.alert-danger .alert-link {
  color: var(--light);
  text-decoration: underline;
}

.alert-success {
  color: var(--light);
  background-color: var(--success);
  border-color: var(--success);
}
.alert-danger .alert-link {
  color: var(--light);
  text-decoration: underline;
}

.form-select {
  border-radius: var(--or-karty) !important;
}

.form-control {
  border-radius: var(--or-karty) !important;
}

.iconlink {
  opacity: 33%;
}

.iconlink:hover {
  opacity: 100%;
}

.accordion-button:focus {
  z-index: 3;
  border-color: rgb(var(--primarni-tm));
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--primarni-tm), 0.25);
}

.accordion-button:not(.collapsed) {
  color: var(--dark);
  background-color: var(--pozadi-nejsv);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-item {
  border-radius: var(--or-karty) !important;
}

.accordion-button {
  border-radius: var(--or-karty) !important;
}

.btn-selector {
  font-weight: 500;
  border-width: thin;
}

.content_inside {
  display: none;
}

.content_inside_active {
  display: block;
}

.responsive-map {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.custom-disabled {
  background-color: #f0f0f0; /* Add a background color */
  color: #999999; /* Change the text color */
  cursor: not-allowed; /* Change the cursor style */
  pointer-events: none; /* Disable pointer events */
}