body.index-index {
background:url('../images/stok.jpg'); 
background-size:cover;
}
/*body.home-index {
background:url('../images/stok.jpg'); 
background-size:cover;
}*/
/*
You can set styles for different pages
Examples:

body.products-index {
	background:url('../images/stok.jpg');
	background-size:cover;
}

body.products-view {
	background:url('../images/stok.jpg');
	background-size:cover;
}

body.products-index, body.products-view, body.products-view, body.products-edit {
	background:#fafafa;
	color:red;
}

body.index-index {

}

body.home-index {

}

body.index-register {
	
}
*/
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.ajax-progress-bar{
	display: none;
}
.ajax-page-load-indicator{
	position:absolute;
	z-index:9999;
	display: none;
	text-align: center;
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    background-position: center;
	background-repeat: no-repeat;
    content: "";
}
.ajax-page-load-indicator .load-indicator{
	margin: 20% auto;
	width: 150px;
	background-color: #fff;
	padding: 10px;
	border-radius:5px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.page-content.loading, table.loading{
	overflow: hidden;
	position: relative;
}

#page-content {
    min-height: 75vh;
}
.password-strength-msg .chip{
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.1);
	font-size: x-small;
	padding: 1px 3px;
	border-radius: 3px;

}
td, th{
	position:relative;
}

td .is-editable{
	border-bottom:none;
	border-bottom: 1px dashed #ccc;
}

td .is-editable:hover{
	border-bottom: 1px dashed rgba(40, 120, 50, 0.081);
}

.editable-error-block {
	color:red;
}

td .inline-edit-btn{
	position:absolute;
	right:10px;
	display:none;
	top:5px;
}

td:hover .inline-edit-btn{
	display:block;
}
.search-input{
	position: relative;
}
.search-input .holder{
	position: absolute;
	z-index: 1000;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
	width: 100%;
	display: none;
}
.search-input .search-result{
	max-height: 300px;
	overflow-y: auto;
}
.search-input .search-result .search-link{
	display: block;
	text-decoration: none;
	padding: 10px;
	border-bottom: 1px solid #eee;
}
.search-input .search-result .search-link:hover{
	background-color: rgba(40, 120, 50, 0.081);
}

.selectize-control{
	min-width: 150px;
}
.was-validated .dropzone.required.dz-started{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.full{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.invalid{
	border-color:red !important;
}

.export-link-btn img{
	width:24px;
	height:24px;
}

.dropzone-input{
	opacity:0;
	position:fixed;
	width:0;
	height:0;
	left:0;
	top:0;
	display:none;
}
.sm-gutters {
    margin-right: -10px;
    margin-left: -10px;
}

.sm-gutters>[class*=col-] {
    padding-right: 10px;
    padding-left: 10px;
}

.md-gutters {
    margin-right: -20px;
    margin-left: -20px;
}

.md-gutters>[class*=col-] {
    padding-right: 20px;
    padding-left: 20px;
}

.lg-gutters {
    margin-right: -35px;
    margin-left: -35px;
}

.lg-gutters>[class*=col-] {
    padding-right: 35px;
    padding-left: 35px;
}

.pagination .material-icons {
    font-size: 15px;
}

.nav-tabs.flex-column {
    border-bottom: none !important;
}


.custom-file-label {
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-rating .star {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .9em;
	margin-right: .9em;
	margin-bottom: 1.2em;
	border-right: .3em solid transparent;
	border-bottom: .7em  solid #ccc;
	border-left: .3em solid transparent;
	/* Controlls the size of the stars. */
	font-size: 12px;
  }
.star-rating .star:before, .star-rating .star:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
top: .6em;
left: -1em;
border-right: 1em solid transparent;
border-bottom: .7em  solid #ccc;
border-left: 1em solid transparent;
-webkit-transform: rotate(-35deg);
		transform: rotate(-35deg);
}
.star-rating .star:after {
-webkit-transform: rotate(35deg);
		transform: rotate(35deg);
}
.star-rating .star.active{
	border-bottom-color: #fc0;
}
.star-rating .star.active:before, .star-rating .star.active:after{
	border-bottom-color: #fc0;
}

.td-check-button{
	font-size: 17px;
	color:#55cc55;
}
.td-check-button.checked{
	color:#d4d4d4;
}
.filter-chip{
    display: inline-block;
	margin-right:5px;
	margin-bottom:5px;
	padding:4px 5px;
}


.filter-chip .close-btn{
	text-decoration:none;
}

.accordion-group .accordion-header {
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.accordion-group .accordion-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.accordion-group .accordion-header .expand {
    position: absolute;
    right: 10px;
    top: 5px;
}

.dropdown-toggle[aria-expanded="true"]:after {
	transform: rotate(180deg);
  }
.dropdown-toggle.inverse:after {
	transform: rotate(180deg);
}
.dropdown-toggle:after {
	transition: 0.5s;
}

.sortedby{
	background: rgba(0, 0, 0, 0.06);
}
.sortedby .sort-icon{
	color: #55cc55;
}
.th-sort-link{
    display: block;
    text-decoration: none !important;
	position: relative;
	color: inherit;
}
.sort-icon{
	position: absolute;
	right: 10px;
	top: 10px;
}
.data-select .load-indicator {
    position: absolute;
    right: 30px;
    top: 7px;
}

.data-select {
    position: relative;
}

.page-footer {
    padding: 10px 0;
}

.page-header {
    padding: 10px 0;
}

.fixed-sticky {
    position: fixed;
}

hr.sm {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.popover.inline-page .popover-header{
	padding: 0;
	background: none;
	border: none;
	position: relative;
}

.popover.inline-page .popover-header .close{
	position: absolute;
	right:10px;
	top:10px;
	width: 30px;
	height: 30px;
	float: none;
	text-align: center;
	z-index: 3000;
}
.close {
	cursor: pointer;
}
.inline-page.popover{
    max-width:100%;
}
.inline-page .popover-body{
    padding: 0px !important; 
}
/* Reset any container in side a column to take the size of the column  */

.comp-grid .container-fluid,
.comp-grid .container {
    padding: 0 !important;
    width: auto !important;
}

.comp-grid .py-2,
.comp-grid .border-bottom {
    padding: 0 !important;
    border: none !important;
}

.reset-grids .container .comp-grid, .reset-grids .container-fluid .comp-grid{
	max-width:100% !important;
	flex:0 0 100% !important;
}
#main-page-modal .card-body{
	padding:0 !Important;
} 
.modal .modal-body.p-0 form{
    padding: 1.4rem;
}
.modal .container,
.modal .container-fluid {
    width: auto;
    padding: 0;
    margin: 0;
}

.page-modal .modal-header {
    display: none;
}

.page-modal .modal-footer {
    display: none;
}

.fixed-alert {
    position: fixed;
    z-index: 2000;
}

.fixed-alert.bottom-left {
    bottom: 10px;
    left: 10px;
}


input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
}

@media (min-width: 768px) {
	.collapse.collapse-lg {
		display: block;
		height: auto !important;
		visibility: visible;
	}
}

.menu-profile {
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    display: block;
}

.menu-profile a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-fixed-left .navbar-nav > li.menu-profile > a.avatar {
    padding: 0 !important;
}

.menu-profile .user-name {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.menu-profile .avatar-icon .material-icons {
    font-size: 64px;
}

.menu-profile img.user-photo {
    height: 60px;
    width: 60px;
    display: block;
}

.menu-profile .menu-dropdown {
    position: absolute;
    right: 15px;
    top: 15px;
}

.flex-column.nav a.nav-link .badge {
    position: absolute;
    right: 5px;
    top: 30%;
}

.nav a.nav-link {
    position: relative;
}

.jumbotron.mini {
    padding: 20px;
    margin-bottom: 0;
}

.jumbotron.sm {
    padding: 15px;
    margin-bottom: 0;
}

.jumbotron.xs {
    padding: 8px;
    margin-bottom: 0;
}




section.page .page-title {
    margin: 20px auto;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.flash-msg-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
}

.section-title {
    padding: 5px 0;
}

.table tr td {
    vertical-align: middle !important;
}

.bold {
    font-weight: bold;
}

.custom-list {
    position: relative;
}

.custom-list .menu-controls-holder {
    position: absolute;
    right: 10px;
    top: 10px;
}

.detail-list {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-list .title {
    font-weight: bold;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.option-btn {
    margin: 1px 0 1px;
}

.detail-list .value {
    font-weight: bold;
}

.btn.btn-flat {
    background: none;
}

.btn-group,
.btn-group-vertical {
    margin: 0;
}

.table {
    margin-bottom: 0;
}

.page-list-record-detail input {
    padding: 5px 5px;
    background: #fafafa;
    border: 1px solid #ddd;
    width: 50px;
    text-align: center;
}

.page-list-record-detail .info {
    padding: 5px 5px;
    background: #eee;
    display: inline-block;
}

.table>thead>tr>th {
    vertical-align: middle;
}

.pager {
    margin: 0;
}

.footer {
    margin-top: 30px;
    padding: 20px 0;
}

.footer .copyright {
    text-transform: capitalize;
}

.footer .footer-links a {
    display: inline-block;
    padding: 0 5px;
    text-transform: capitalize;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border: none;
}

.radius-5 {
    border-radius: 5px;
}

.pad-10 {
    padding: 10px;
}

.center-block {
    float: none;
}

.gutter-20.row {
    margin-right: -10px;
    margin-left: -10px;
}

.gutter-20>[class^="col-"],
.gutter-20>[class^=" col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.gutter-10.row {
    margin-right: -5px;
    margin-left: -5px;
}

.gutter-10>[class^="col-"],
.gutter-10>[class^=" col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.gutter-5.row {
    margin-right: -3px;
    margin-left: -3px;
}

.gutter-5>[class^="col-"],
.gutter-5>[class^=" col-"] {
    padding-right: 3px;
    padding-left: 3px;
}

.gutter-1.row {
    margin-right: -1px;
    margin-left: -1px;
}

.gutter-1>[class^="col-"],
.gutter-1>[class^=" col-"] {
    padding-right: 1px;
    padding-left: 1px;
}

.gutter-0.row {
    margin-right: 0;
    margin-left: 0;
}

.gutter-0>[class^="col-"],
.gutter-0>[class^=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

th.td-btn {
    white-space: nowrap;
    width: 1%;
}

table.table tr th.td-sno {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

table.table tr th.td-checkbox {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

.export-container {
    padding: 10px 0;
}

.form-inline .control-label {
    display: block;
}

.profile {
    padding: 20px;
}
a.avatar{
	padding:0 !Important;
}

.profile .avatar img{
   border-radius:50%;
   max-width:100px;
   max-height: 100px;;
}

.profile .title {
    text-transform: capitalize;
    color: #fff;
}

.record-count {
    display: block;
    padding: 10px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-count .material-icons {
    font-size: 32px !important;
}

.record-count.alert .material-icons {
    opacity: 0.3;
}

.record-count:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-count .title {
    font-weight: bold;
    margin-bottom: 2px;
}

.record-count .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-count .desc {
    display: block;
    margin-top: 4px;
}

.record-count .progress {
    height: 10px;
    margin: 0 0;
    margin-top: 5px;
    border-radius: 0;
}

.record-count .progress-bar {
    line-height: 10px !important;
}

.record-count .progress-label {
    font-size: 8px;
}

.record-progress {
    display: block;
    padding: 10px 15px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-progress .icon {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.5;
}

.record-progress .icon .material-icons {
    font-size: 36px !important;
}

.record-progress:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-progress .title {
    font-weight: bold;
    margin-bottom: 10px;
}

.record-progress .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-progress .desc {
    display: block;
    margin-top: 4px;
}

.record-progress .progress {
    height: 15px;
    margin: 5px 0;
    border-radius: 0;
}

.record-progress .progress-bar {
    line-height: 15px !important;
}

.record-progress .progress-label {
    font-weight: bold;
    font-size: 10px;
}

td.page-list-action {
    width: 50px;
}

td.page-list-action .dropdown-menu {
    min-width: auto !Important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #555;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.load-indicator {
    text-align: center;
}

.load-indicator.parallax {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.fullpage-parallax {
    margin: 0;
    position: fixed;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.dark {
    background: rgba(0, 0, 0, 0.2);
}

.load-indicator.white {
    background: rgba(255, 255, 255, 0.9);
}

.load-indicator .loading-text {
    display: inline-block;
    padding: 10px;
    font-size: 15px;
    font-weight: 100;
    vertical-align: middle;
}

.load-indicator .animator {
    font-weight: bold;
    display: inline-block;
    padding: 10px;
    vertical-align: middle;
}

.btn .load-indicator {
    display: inline-block !important;
    margin: 5px;
}

.range-slider {
    position: relative;
}

.range-slider .value {
    position: absolute;
    right: -30px;
    top: 20%;
    padding: 2px;
    min-width: 25px;
    height: 25px;
    vertical-align: middle;
    line-height: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #888;
    text-align: center;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 6.5px 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6.5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: rgba(36, 0, 0, 0.11);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: rgba(0, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-fill-upper {
    background: rgba(10, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    height: 7px;
}

input[type=range]:focus::-ms-fill-lower {
    background: rgba(10, 0, 0, 0.11);
}

input[type=range]:focus::-ms-fill-upper {
    background: rgba(36, 0, 0, 0.11);
}

.radial-progress-container {
    position: relative;
    margin: 0 auto;
}

.radial-progress-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-list {
    margin-bottom: 10px;
    padding: 5px;
}

.file-uploads {
    overflow: visible !important;
    margin-bottom: 0 !important;
}

label {
    margin-bottom: 0 !important;
}

.ajax-loader{
  color: #808080;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.inline-page form{
	position:relative !important;
}
.form-ajax-status{
	position:absolute;
	left:0;
	top: 0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.7);
	display:none;
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

.lds-dual-ring {
  display: block;
  width: 64px;
  height: 64px;
  margin:auto auto;
}
.lds-dual-ring:after {
  content: " ";
  display:block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #aaa;
  border-color: #aaa transparent #aaa transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.loader,
.loader:after {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display:inline-block;
}
.loader {
  position: relative;
  border-top: 0.3em solid rgba(0,0,128, 0.2);
  border-right: 0.3em solid rgba(0,0,128, 0.2);
  border-bottom: 0.3em solid rgba(0,0,128, 0.2);
  border-left: 0.3em solid #999;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

/* Track */
#sidebar::-webkit-scrollbar-track {
    background: #fff;
    border: 4px solid transparent;
    background-clip: content-box;
}

/* Handle */
#sidebar::-webkit-scrollbar-thumb {
    background: #555555;
}

.passtrengthMeter{
  position: relative;
  width: 100%;
}

.passtrengthMeter > input{
  width: 100%;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.passtrengthMeter > input:focus {
    outline-width: 0;
}

.passtrengthMeter::after{
  content: '';
  height: 3px;
  overflow: hidden;
  width: 0%;
  transition: width .5s;
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.passtrengthMeter.weak::after{
  background-color: #EC644B;
  width: 25%;
}

.passtrengthMeter.medium::after{
  content: '';
  background-color: #E87E04;
  width: 50%;
}

.passtrengthMeter.strong::after{
  content: '';
  background-color: #EFBF17;
  width: 75%;
}

.passtrengthMeter.very-strong::after{
  content: '';
  background-color: #42A72A;
  width: 100%;
}

.passtrengthMeter .showPassword{
  position: absolute;
  width: 20px;
  top: calc(50% - 10px);
  right: 10px;
}

.passtrengthMeter .showPassword.active{
  opacity: .5;
}

.passtrengthMeter .showPassword img{
  display: block;
  width: 100%;
  height: auto;
}

.passtrengthMeter .showPassword:hover{
  cursor: pointer;
}

.passtrengthMeter .tooltip {
  background: #000000;
  top: 100%;
  color: #fff;
  font-family:Arial;
  font-size: 12px;
  display: block;
  left: 50%;
  margin-bottom: 15px;
  opacity: 0;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  min-width: 70px;
  box-sizing: border-box;
  text-align: center;
  z-index: 10;
  -webkit-transform: translateY(5px);
     -moz-transform: translateY(5px);
      -ms-transform: translateY(5px);
       -o-transform: translateY(5px);
          transform: translateY(5px);
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
      -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
       -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
          box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

.passtrengthMeter.weak .tooltip{
  background-color: #EC644B;
}
.passtrengthMeter.weak .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EC644B 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.medium .tooltip{
  background-color: #E87E04;
}
.passtrengthMeter.medium .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #E87E04 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.strong .tooltip{
  background-color: #EFBF17;
}
.passtrengthMeter.strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EFBF17 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.very-strong .tooltip{
  background-color: #42A72A;
}
.passtrengthMeter.very-strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #42A72A 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.weak .tooltip:before {
  top: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}

.passtrengthMeter .tooltip:after {
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #000000 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
}

.passtrengthMeter:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(10px);
     -moz-transform: translateY(10px);
      -ms-transform: translateY(10px);
       -o-transform: translateY(10px);
          transform: translateY(10px);
}

.lte8 .passtrengthMeter .tooltip {
  display: none;
}

.lte8 .passtrengthMeter:hover .tooltip {
  display: block;
}
body{
	padding-top:50px;
}
#page-wrapper{
	display: flex;
    width: 100%;
    align-items: stretch;
}
#sidebar {
    min-width: 250px;
    max-width: 250px;
	min-height: 100vh;
	transition: all 0.3s;
}
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
}
#main-content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

/* telefon: levi meni je fioka preko sadrzaja - vidi "Мобилни приказ" na kraju fajla */



#sidebar.active .navbar-nav  li a{
	text-align: center;
}

#sidebar.active .navbar-nav  li a .menu-label{
   display: block;
   font-size: xx-small;
}
#sidebar.active .navbar-nav  li a .material-icons{
   font-size: 28px;
}

#sidebar .submenu{
	margin-left: 20px;
}
#sidebar.active .submenu{
	margin-left: 2px;
}

#sidebar .navbar-nav a.nav-link {
	padding: 8px !important;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
#sidebar .navbar-nav a.nav-link:hover{
	background: rgba(0,0,0,0.05);
}
#sidebar .navbar-nav a.dropdown-toggle::after {
	float: right;
	margin-right:7px;
	margin-top:7px;
}
#sidebar.active .navbar-nav a.dropdown-toggle::after {
	float: none;
	margin:0 auto;
	display: block;
	margin-top:7px;

}
#sidebar.active .navbar-nav a.dropdown-toggle::after {
	float: none;
}

#sidebar .menu-profile > a.avatar {
    padding: 0 !important;
}

#sidebar.active .menu-profile .user-name {
	text-align: center;
	font-size: small;
}

#sidebar.active .menu-profile .menu-dropdown {
    display: none;
}

#sidebar::-webkit-scrollbar-track
 {
	 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	 background-color: #F5F5F5;
	 border-radius: 2px;
 }
 
 #sidebar::-webkit-scrollbar
 {
	 width: 6px;
	 background-color: #F5F5F5;
 }
 
 #sidebar::-webkit-scrollbar-thumb
 {
	 border-radius: 2px;
	 background-color: #444;
 }




.navbar-brand{
	min-width:15%;
}

.navbar-brand img{
	display:inline;
	max-height:30px;
}

.print-only { display: none; }

@media print {
    .print-only { display: block !important; }
    .no-print { display: none !important; }

    #topbar, #sidebar, footer.footer,
    .flash-msg-container, #main-page-modal,
    #delete-record-modal-confirm, .ajax-progress-bar {
        display: none !important;
    }

    body { padding-top: 0 !important; }

    /* On home page: hide everything except the stats section */
    body.home-index * { visibility: hidden; }
    body.home-index #stats-printable,
    body.home-index #stats-printable * { visibility: visible; }
    body.home-index #stats-printable {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    body.home-index a.record-count {
        color: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* Stranice sa spiskovima (zahtevi, odluke, planovi, izvestaji...) ne razvlace se preko cele
   sirine velikih ekrana - centrirane su, malo sire od pocetne strane (.container = 1140px)
   Na uzim ekranima tabela se horizontalno pomera. */
@media screen {
    section.page[data-page-type="list"] .container-fluid {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Dugmad u redu spiska (Преглед, Акције, sledeci korak) ostaju u jednom redu */
.td-btn {
    white-space: nowrap;
}
.td-btn .btn-group {
    vertical-align: middle;
}

/* Skolska godina u zaglavlju - klikom se bira ranija godina (appheader.php) */
#topbar .sk-god-switch {
    margin-right: auto;
}
#topbar .sk-god-switch > a {
    color: rgba(255, 255, 255, .85);
    font-size: .9em;
    text-decoration: none;
    padding: 4px 8px;
}
#topbar .sk-god-switch > a:hover {
    color: #fff;
}
#topbar .sk-god-switch > a.badge-warning {
    color: #17141F;
    font-weight: normal;
}
.sk-god-traka {
    font-size: .95em;
}

/* Извештај коришћења (super admin) */
.izvestaj-koriscenja .ik-mapa th,
.izvestaj-koriscenja .ik-mapa td {
    font-size: .72em;
    text-align: center;
    padding: 2px 3px;
    min-width: 24px;
}
.izvestaj-koriscenja .ik-trace {
    max-height: 260px;
    overflow: auto;
    background: #f8f9fa;
    padding: 6px;
    white-space: pre-wrap;
}
.izvestaj-koriscenja .ik-greske summary,
.izvestaj-koriscenja .ik-log {
    word-break: break-word;
}
.izvestaj-koriscenja .ik-greske summary {
    cursor: pointer;
}

/* Stranice gresaka (app/views/partials/errors) */
.stranica-greske {
    max-width: 640px;
    margin: 40px auto;
    text-align: center;
}
.stranica-greske .sg-ikona {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 8px;
}
.stranica-greske .sg-kod {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 8px;
}
.stranica-greske h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.stranica-greske .sg-dugmad {
    margin-top: 20px;
}
.stranica-greske .sg-dugmad .btn {
    margin: 4px;
}
.stranica-greske .sg-referenca {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 12px;
    font-family: monospace;
}
.stranica-greske .sg-detalj {
    margin-top: 16px;
    color: #6c757d;
}

/* ===== Статус ученика - kartice sa vremenskom linijom (status/list.php) ===== */
.status-ucenika .sl-brojaci .badge {
    font-size: .85em;
    font-weight: normal;
    padding: 6px 10px;
    margin: 0 4px 4px 0;
    border: 1px solid #dee2e6;
    color: #333;
    background: #fff;
}
.status-ucenika .sl-brojaci .badge.aktivan,
.status-ucenika .sl-brojaci .badge-dark {
    background: #343a40;
    color: #fff;
    border-color: #343a40;
}
.status-ucenika .sl-faza-warning b { color: #c77c02; }
.status-ucenika .sl-faza-success b { color: #28a745; }
.status-ucenika .sl-faza-info b { color: #17a2b8; }
.status-ucenika .sl-faza-vdp b { color: #6f42c1; }
.status-ucenika .sl-brojaci .aktivan b { color: #fff; }
.badge.sl-faza-vdp { background: #6f42c1; color: #fff; }

/* kartica u jednom redu: levo ucenik, desno vremenska linija */
.status-kartica {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.status-kartica .sk-ucenik {
    flex: 0 0 225px;
    min-width: 0;
    padding-right: 10px;
    margin-right: 8px;
    border-right: 1px solid #eef0f2;
    line-height: 1.25;
}
.status-kartica .sk-ime { font-weight: 600; font-size: 1.12em; margin-bottom: 1px; }
.status-kartica .sk-odeljenje { font-size: .85em; color: #495057; }
.status-kartica .sk-meta {
    color: #8a939b;
    font-size: .75em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.status-kartica .sk-oznake .badge { font-size: .7em; font-weight: normal; margin-top: 2px; }

/* linija: koraci jednake sirine povezani horizontalnom crtom */
.sl-linija {
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}
.sl-korak {
    flex: 1 1 0;
    position: relative;
    text-align: center;
    min-width: 0;
    padding: 0 4px;
}
.sl-korak::before { /* crta ka prethodnom koraku */
    content: "";
    position: absolute;
    top: 14px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}
.sl-korak:first-child::before,
.sl-razdvajac + .sl-korak::before,
.sl-korak.opciono::before { display: none; }
.sl-korak.uradjeno::before { background: #28a745; }
.sl-korak.sledeci::before { background: linear-gradient(90deg, #28a745, #f0ad4e); }

.sl-krug {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 600;
    background: #f1f3f5;
    color: #adb5bd;
    border: 2px solid #dee2e6;
    text-decoration: none !important;
}
.sl-korak.uradjeno .sl-krug {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.sl-korak.uradjeno a.sl-krug:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, .2);
}
.sl-korak.sledeci .sl-krug {
    background: #fff8ec;
    border-color: #f0ad4e;
    color: #c77c02;
    animation: sl-puls 2s infinite;
}
@keyframes sl-puls {
    0% { box-shadow: 0 0 0 0 rgba(240, 173, 78, .5); }
    70% { box-shadow: 0 0 0 8px rgba(240, 173, 78, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 173, 78, 0); }
}
.sl-korak.opciono .sl-krug { border-style: dashed; }
.sl-korak.opciono.uradjeno .sl-krug { border-style: solid; }
.sl-korak.vdp.uradjeno .sl-krug {
    background: #6f42c1;
    border-color: #6f42c1;
    color: #fff;
    border-radius: 8px;
    transform: rotate(45deg);
    cursor: default;
}
.sl-korak.vdp.uradjeno .sl-krug i { transform: rotate(-45deg); }
.sl-naziv { font-size: .8em; font-weight: 600; margin-top: 3px; line-height: 1.2; }
.sl-opis { font-size: .72em; color: #6c757d; line-height: 1.25; }
.sl-razdvajac {
    flex: 0 0 1px;
    align-self: stretch;
    border-left: 2px dotted #ced4da;
    margin: 0 6px;
}
.sl-dodaj {
    font-size: .75em;
    padding: 1px 6px;
    margin-top: 3px;
}
.sl-legenda .sl-krug-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: .8em;
    margin: 0 3px 0 10px;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
    color: #adb5bd;
}
.sl-legenda .sl-krug-mini.uradjeno { background: #28a745; border-color: #28a745; color: #fff; }
.sl-legenda .sl-krug-mini.sledeci { background: #fff8ec; border-color: #f0ad4e; color: #c77c02; }
.sl-legenda .sl-krug-mini.vdp { background: #6f42c1; border-color: #6f42c1; color: #fff; border-radius: 3px; }

/* telefon: koraci jedan ispod drugog, crta vertikalno */
@media (max-width: 575px) {
    .status-kartica { flex-direction: column; align-items: stretch; }
    .status-kartica .sk-ucenik {
        flex-basis: auto;
        border-right: 0;
        border-bottom: 1px solid #eef0f2;
        margin: 0 0 8px;
        padding: 0 0 6px;
    }
    .sl-linija { flex-direction: column; }
    .sl-korak {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        text-align: left;
        width: 100%;
        padding: 0 0 8px;
    }
    .sl-korak .sl-krug { grid-row: 1 / 3; }
    .sl-naziv { margin-top: 2px; }
    .sl-korak::before {
        top: -12px;
        left: 14px;
        width: 3px;
        height: 14px;
    }
    .sl-razdvajac {
        border-left: 0;
        border-top: 2px dotted #ced4da;
        margin: 2px 0 12px;
        align-self: auto;
        flex-basis: auto;
    }
}

/* izvestaj bez pozitivnih promena - PVR se nastavlja (narandzasto umesto zeleno) */
.sl-korak.uradjeno.nastavlja .sl-krug {
    background: #f0ad4e;
    border-color: #f0ad4e;
}
.sl-korak.uradjeno.nastavlja a.sl-krug:hover { box-shadow: 0 0 0 5px rgba(240, 173, 78, .25); }
.sl-korak.uradjeno.nastavlja::before { background: linear-gradient(90deg, #28a745, #f0ad4e); }
.sl-nastavlja-tekst { color: #c77c02; }
.sl-legenda .sl-krug-mini.nastavlja { background: #f0ad4e; border-color: #f0ad4e; color: #fff; }

/* ===== Редослед активности од. старешине - interaktivni carobnjak (home/_widget_koraci.php) ===== */
.rk-wizard {
    --rk-boja: #0066cc;
    --rk-napredak: 0;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 18px 20px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    outline: none;
}
.rk-naslov { text-align: center; margin-bottom: 18px; font-weight: 600; }

/* stepper: krugovi spojeni linijom, linija napretka do izabranog koraka */
.rk-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.rk-stepper::before,
.rk-stepper::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 10%;
    height: 4px;
    border-radius: 2px;
}
.rk-stepper::before { right: 10%; background: #e9ecef; }
.rk-stepper::after {
    width: calc(80% * var(--rk-napredak));
    background: var(--rk-boja);
    transition: width .35s ease;
}
.rk-korak {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}
.rk-krug {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #dee2e6;
    background: #fff;
    color: #868e96;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.rk-krug:hover { border-color: var(--rk-boja); color: var(--rk-boja); transform: translateY(-2px); }
.rk-krug:focus { outline: none; box-shadow: 0 0 0 4px rgba(0, 102, 204, .2); }
.rk-krug .rk-ikona { font-size: 18px; }
.rk-broj {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #adb5bd;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    transition: background .25s ease;
}
.rk-korak.predjen .rk-krug { border-color: var(--rk-boja); color: var(--rk-boja); }
.rk-korak.predjen .rk-broj { background: var(--rk-boja); }
.rk-korak.aktivan .rk-krug {
    background: var(--rk-boja);
    border-color: var(--rk-boja);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 102, 204, .35);
}
.rk-korak.aktivan .rk-broj { background: #f0ad4e; }
.rk-korak-naziv {
    margin-top: 8px;
    font-size: .82em;
    color: #6c757d;
    line-height: 1.2;
    padding: 0 4px;
}
.rk-korak.aktivan .rk-korak-naziv { color: #212529; font-weight: 600; }

/* panel izabranog koraka */
.rk-paneli { position: relative; }
.rk-panel {
    display: none;
    background: #f8fafc;
    border: 1px solid #e9eef5;
    border-radius: 10px;
    padding: 16px 20px 8px;
}
.rk-panel.aktivan { display: block; animation: rk-ulaz .3s ease; }
@keyframes rk-ulaz {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.rk-panel-glava { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rk-panel-ikona {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 102, 204, .1);
    color: var(--rk-boja);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.rk-panel-korak { font-size: .78em; text-transform: uppercase; letter-spacing: .5px; color: #868e96; }
.rk-panel-naziv { margin: 0; font-size: 1.2rem; font-weight: 600; }
.rk-panel-opis { color: #495057; margin-bottom: 14px; }
.rk-panel-akcije { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rk-panel-akcije .btn { border-radius: 8px; padding: 8px 16px; }
.rk-napomena { color: #6c757d; font-size: .9em; }
.rk-panel-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    border-top: 1px solid #e9eef5;
}
.rk-panel-nav .rk-napred { margin-left: auto; }
.rk-panel-nav .btn-link { font-size: .85em; }

@media (max-width: 575px) {
    .rk-wizard { padding: 14px 10px 10px; }
    .rk-krug { width: 38px; height: 38px; border-width: 2px; }
    .rk-krug .rk-ikona { font-size: 14px; }
    .rk-stepper::before, .rk-stepper::after { top: 17px; }
    .rk-korak-naziv { font-size: .68em; }
    .rk-panel { padding: 12px 12px 6px; }
    .rk-panel-akcije .btn { width: 100%; }
}

/* ===== Istaknuti naslovi sekcija na pocetnoj strani (pocetna_sekcija() u Functions.php) ===== */
.pocetna-sekcija {
    margin-top: 2.2rem;
    margin-bottom: .9rem;
}
.pocetna-sekcija .ps-naslov {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3e8ef;
    position: relative;
}
.pocetna-sekcija .ps-naslov::after { /* plavi akcenat ispod naslova */
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 90px;
    height: 2px;
    background: #0066cc;
}
.pocetna-sekcija .ps-ikona {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 10px;
    background: #0066cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0, 102, 204, .25);
}
.pocetna-sekcija .ps-tekst { flex: 1 1 auto; min-width: 0; }
.pocetna-sekcija h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d2b3a;
}
.pocetna-sekcija .ps-podnaslov { font-size: .85em; color: #6c757d; margin-top: 2px; }
.pocetna-sekcija .ps-desno { flex: 0 0 auto; }
/* sadrzaj sekcije "Ученици који чекају" - spiskovi malo odvojeni jedan od drugog */
.ps-sadrzaj .card { margin-bottom: 1.2rem !important; }
@media (max-width: 575px) {
    .pocetna-sekcija .ps-naslov { flex-wrap: wrap; }
    .pocetna-sekcija .ps-desno { flex-basis: 100%; }
}

/* Brzi pristup na pocetnoj strani (home/_brzi_pristup.php) i vise vrsta dokumenata u koraku carobnjaka */
.bp-dugmad { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-dugmad .btn { border-radius: 8px; padding: 7px 14px; }
.rk-panel-akcije + .rk-panel-akcije { margin-top: 8px; }

/* Статус ученика - zaglavlje: faze u padajucem meniju desno od naslova, pretraga ispod */
.status-ucenika .sl-zaglavlje .record-title { line-height: 1.4; }
.status-ucenika .sl-trazi { width: 280px !important; }
.status-ucenika .custom-select.sl-uzak { width: auto !important; min-width: 0; }
.status-ucenika .sl-faza-meni { margin-left: 1.75rem; } /* malo odvojen od skolske godine u naslovu */
.status-ucenika .sl-faza-meni .dropdown-menu { min-width: 300px; }
.status-ucenika .sl-faza-meni .dropdown-item.active b { color: #fff; }
@media (max-width: 575px) {
    .status-ucenika .sl-faza-meni { margin-left: 0 !important; margin-top: 8px; }
    .status-ucenika .sl-trazi { width: 100% !important; }
}

/* Анализа ПВР-а (pvr_analiza) - vodoravne trake bez biblioteke za grafikone */
.pvr-analiza .an-kutija { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px; text-align: center; height: 100%; }
.pvr-analiza .an-broj { font-size: 1.8em; font-weight: 700; color: #0066cc; line-height: 1.1; }
.pvr-analiza .an-opis { color: #495057; font-size: .88em; }
.pvr-analiza .an-kutija-uspeh .an-broj { color: #1e7b34; }
.pvr-analiza .an-kartica { border: 1px solid #e3e6ea; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pvr-analiza .an-kartica-istaknuta { border-left: 4px solid #1e7b34; }
.pvr-analiza .an-naslov { font-size: 1.05em; font-weight: 600; color: #0b3d6e; margin-bottom: 12px; }
.pvr-analiza .an-naslov .fa { color: #0066cc; margin-right: 4px; }
.pvr-analiza .an-red { display: flex; align-items: center; margin-bottom: 7px; }
.pvr-analiza .an-red-tekst { flex: 0 0 38%; padding-right: 10px; font-size: .9em; line-height: 1.25; }
.pvr-analiza .an-red-kratko { flex-basis: 22%; }
.pvr-analiza .an-red-dugo { flex-basis: 60%; }
.pvr-analiza .an-red-broj { flex: 0 0 72px; text-align: right; font-size: .9em; white-space: nowrap; }
.pvr-analiza .an-traka { flex: 1 1 auto; min-width: 60px; height: 10px; background: #edf0f3; border-radius: 5px; overflow: hidden; }
.pvr-analiza .an-traka span { display: block; height: 100%; background: #4a90d9; border-radius: 5px; }
.pvr-analiza .an-traka .an-plava, .pvr-analiza .badge.an-plava { background: #4a90d9; }
.pvr-analiza .an-traka .an-narandzasta, .pvr-analiza .badge.an-narandzasta { background: #e8912d; }
.pvr-analiza .an-traka .an-crvena, .pvr-analiza .badge.an-crvena { background: #d9534f; }
.pvr-analiza .an-traka .an-zelena { background: #3a9d52; }
.pvr-analiza .an-traka .an-ljubicasta { background: #7b5fc4; }
.pvr-analiza .an-oznaka { color: #fff; font-weight: normal; font-size: .72em; vertical-align: middle; }
.pvr-analiza .an-rb { color: #8a939b; }
.pvr-analiza .an-grupa { font-weight: 600; color: #0066cc; border-bottom: 1px solid #d6e4f2; margin: 12px 0 7px; padding-bottom: 2px; font-size: .92em; }
.pvr-analiza .an-tabela td, .pvr-analiza .an-tabela th { vertical-align: middle; font-size: .9em; }
.pvr-analiza .an-tabela thead th { background: #eef3f8; border-top: 0; }
.pvr-analiza .an-posto { flex: 0 0 62px; text-align: right; white-space: nowrap; }
.pvr-analiza .an-ispod { color: #b36b00; }
.pvr-analiza .an-nivo-1 { background: #fff6e0; }
.pvr-analiza .an-nivo-2 { background: #ffe3c2; }
.pvr-analiza .an-nivo-3 { background: #f9c9c7; font-weight: 600; }
.pvr-analiza .an-napomena { color: #6c757d; font-size: .82em; }
@media (max-width: 575px) {
    .pvr-analiza .an-red { flex-wrap: wrap; }
    .pvr-analiza .an-red-tekst, .pvr-analiza .an-red-kratko, .pvr-analiza .an-red-dugo { flex-basis: 100%; padding: 0 0 2px; }
}

/* Захтев за ПВР - forma u tri kartice (pvr_zahtev/_forma.php) */
.zf-kontejner { max-width: 920px; }
.zahtev-forma .zf-kartica { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 16px 18px 6px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); transition: border-color .2s; }
.zahtev-forma .zf-kartica.zf-greska { border-color: #dc3545; box-shadow: 0 0 0 2px rgba(220, 53, 69, .12); }
.zahtev-forma .zf-naslov { font-weight: 600; font-size: 1.05em; color: #0b3d6e; margin-bottom: 12px; display: flex; align-items: center; }
.zahtev-forma .zf-broj { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #0066cc; color: #fff; font-size: .85em; margin-right: 8px; }
.zahtev-forma label { font-weight: 500; font-size: .92em; margin-bottom: 4px; }
.zahtev-forma .zf-auto { color: #495057; font-size: .9em; background: #f1f6fb; border-radius: 6px; padding: 6px 10px; margin-bottom: 10px; display: inline-block; }
.zahtev-forma .zf-oznaka-auto { display: none; font-size: .72em; font-weight: normal; color: #1e7b34; background: #e3f4e8; border-radius: 8px; padding: 1px 7px; margin-left: 4px; }
.zahtev-forma .zf-oznaka-auto.vidljiva { display: inline-block; }
.zahtev-forma select:disabled { background-color: #f1f3f5; cursor: not-allowed; }
.zahtev-forma #pa-napomena { margin: -6px 0 10px; }
/* izbor klikom (Чувам те, претходне активности) */
.zahtev-forma .zf-izbori { display: flex; flex-direction: column; gap: 6px; }
.zahtev-forma .zf-izbori-red { flex-direction: row; }
.zahtev-forma .zf-izbor { margin: 0; cursor: pointer; font-weight: normal; }
.zahtev-forma .zf-izbor input { position: absolute; opacity: 0; pointer-events: none; }
.zahtev-forma .zf-izbor span { display: block; border: 1px solid #ced4da; border-radius: 6px; padding: 7px 12px; background: #fff; transition: all .15s; }
.zahtev-forma .zf-izbori-red .zf-izbor span { min-width: 72px; text-align: center; }
.zahtev-forma .zf-izbor:hover span { border-color: #80b3e6; }
.zahtev-forma .zf-izbor input:checked + span { border-color: #0066cc; background: #e8f1fb; color: #0b3d6e; box-shadow: inset 3px 0 0 #0066cc; }
.zahtev-forma .zf-izbor input:focus-visible + span { outline: 2px solid #80b3e6; outline-offset: 1px; }
.zahtev-forma.was-validated .zf-izbori:has(input:invalid) .zf-izbor span { border-color: #dc3545; }
.zahtev-forma.was-validated .zf-izbori:has(input:invalid) + .zf-izbori-greska { display: block; }
/* dugmad uvek vidljiva na dnu ekrana */
.zahtev-forma .zf-dugmad { position: sticky; bottom: 0; z-index: 5; background: rgba(248, 249, 250, .96); border-top: 1px solid #e3e6ea; padding: 10px 0; margin-top: 4px; text-align: right; }
.zahtev-forma .zf-dugmad .btn { min-width: 120px; margin-left: 6px; }
@media (max-width: 575px) {
    .zahtev-forma .zf-kartica { padding: 12px 12px 4px; }
    .zahtev-forma .zf-dugmad { text-align: center; }
}

/* План активности - blok po nosiocu aktivnosti (pvr_plan_aktivnosti/_forma.php) */
.plan-forma .pf-nosilac { border: 1px solid #e3e6ea; border-left: 3px solid #0066cc; border-radius: 8px; padding: 10px 12px 2px; margin-bottom: 12px; background: #fbfcfd; }
.plan-forma .pf-nosilac.pf-bez-okvira { border: 0; padding: 0; background: none; margin-bottom: 0; }
.plan-forma .pf-nosilac-naslov { font-weight: 600; color: #0b3d6e; margin-bottom: 8px; }
.plan-forma .pf-nosilac-naslov .fa { color: #0066cc; width: 18px; }
.plan-forma .pf-ime { max-width: 460px; }
.plan-forma .pf-red .form-group { margin-bottom: 8px; }
.plan-forma .pf-dugmad { margin: -4px 0 6px -8px; }
.plan-forma .pf-dugmad .btn-link { font-size: .85em; }
.plan-forma select.pf-aktivnost { text-overflow: ellipsis; }

/* Извештај о ПВР - podsetnik sa aktivnostima iz plana i brze fraze (pvr_izvestaj/_forma.php) */
.izvestaj-forma .if-plan { background: #f1f6fb; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: .88em; }
.izvestaj-forma .if-plan-naslov { font-weight: 600; color: #0b3d6e; margin-bottom: 4px; }
.izvestaj-forma .if-plan ul { padding-left: 18px; }
.izvestaj-forma .if-nosilac { color: #6c757d; }
.izvestaj-forma .if-fraze .btn { font-size: .78em; white-space: normal; text-align: left; margin: 0 4px 4px 0; }
.izvestaj-forma .zf-izbori-red .zf-izbor { flex: 1 1 0; }
@media (max-width: 575px) { .izvestaj-forma .zf-izbori-red { flex-direction: column; } }

/* Одлука о васпитној мери (odluka_vaspitna_mera/_forma.php) */
.vm-forma .zf-izbori-red .zf-izbor { flex: 1 1 0; }
.vm-forma .vm-mere .zf-izbor span { text-align: center; }
.vm-forma input[readonly] { background-color: #f1f6fb; }
@media (max-width: 575px) { .vm-forma .zf-izbori-red { flex-direction: column; } }
/* План - liste aktivnosti (selectize): meni sirok koliko polje, dugacak tekst se prelama */
.plan-forma .pf-red .form-group { position: relative; }
.plan-forma .pf-red .selectize-control.single .selectize-input { min-height: 38px; padding-right: 48px; white-space: normal; line-height: 1.35; }
.plan-forma .pf-red .selectize-control.single .selectize-input > .item { white-space: normal; display: inline; }
.plan-forma .pf-red .selectize-dropdown { width: 100% !important; left: 0 !important; height: auto !important; background: #fff !important; border: 1px solid #80b3e6; border-radius: 0 0 6px 6px; z-index: 1060; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); padding: 0; }
.plan-forma .pf-red .selectize-dropdown-content { max-height: 320px; }
.plan-forma .pf-red .selectize-dropdown .option { white-space: normal; line-height: 1.35; padding: 7px 10px; border-bottom: 1px solid #f1f3f5; }
.plan-forma .pf-red .selectize-dropdown .option.active { background: #e8f1fb; color: #0b3d6e; }
.plan-forma .pf-obrisi { position: absolute; right: 30px; top: 8px; z-index: 3; color: #8a939b; cursor: pointer; font-size: 1.2em; line-height: 1; display: none; }
.plan-forma .pf-obrisi:hover { color: #dc3545; }
.plan-forma .form-group:has(.selectize-input.has-items) > .pf-obrisi { display: block; }
.plan-forma.was-validated select.pf-aktivnost:invalid + .selectize-control .selectize-input { border-color: #dc3545; }
.plan-forma.was-validated select.pf-aktivnost:invalid ~ .invalid-feedback { display: block; }
.plan-forma .pf-red .selectize-control { height: auto; padding: 0; border: 0; background: none; }
.plan-forma .pf-red .selectize-control.single .selectize-input { border: 1px solid #ced4da; border-radius: 6px; box-shadow: none; background: #fff; font-size: .95em; padding: 8px 48px 8px 12px; }
.plan-forma .pf-red .selectize-control.single .selectize-input.focus { border-color: #80b3e6; box-shadow: 0 0 0 .2rem rgba(0, 102, 204, .15); }
.plan-forma .pf-red .selectize-control.single .selectize-input.dropdown-active { border-radius: 6px 6px 0 0; }
.plan-forma .pf-red .selectize-control.single .selectize-input:after { right: 12px; }
.plan-forma .pf-red .selectize-dropdown .option { font-size: .92em; }

/* Објединени извештај о ПВР - делови стручних сарадника (prikaz izvestaja i forma) */
.izv-prilozi { margin: 6px 16px 14px; border-top: 2px solid #e3e6ea; padding-top: 10px; }
.izv-prilozi-naslov { font-weight: 600; color: #0b3d6e; margin-bottom: 8px; }
.izv-prilog { background: #f8fafc; border-left: 3px solid #0066cc; border-radius: 4px; padding: 8px 12px; margin-bottom: 8px; }
.izv-prilog-autor { font-weight: 600; }
.izv-prilog-meta { font-weight: normal; font-size: .85em; color: #6c757d; }
.izv-prilog-stavka { margin-top: 3px; font-size: .95em; }
.izvestaj-forma .if-delovi { border: 1px solid #e3e6ea; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; background: #fbfcfd; }
.izvestaj-forma .if-deo { border-top: 1px dashed #d6dde5; padding-top: 8px; margin-top: 8px; }
.izvestaj-forma .if-deo:first-child { border-top: 0; margin-top: 4px; padding-top: 0; }
.izvestaj-forma .if-deo-naslov { margin-bottom: 4px; }
.status-kartica .sl-delovi { font-size: .78em; color: #b36b00; margin-top: 2px; white-space: nowrap; }

/* Захтев - претходно предузете активности: "ко" + "са ким" (pvr_zahtev/_forma.php) */
.zahtev-forma .pa-red { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.zahtev-forma .pa-oznaka { flex: 0 0 140px; font-size: .9em; color: #495057; }
.zahtev-forma .pa-izbori { flex-wrap: wrap; gap: 6px; }
.zahtev-forma .pa-red .zf-izbori-greska { flex-basis: 100%; margin-left: 140px; }
.zahtev-forma .pa-recenica { background: #f1f6fb; border-radius: 6px; padding: 7px 10px; margin: 4px 0 8px; font-size: .92em; color: #0b3d6e; }
@media (max-width: 575px) { .zahtev-forma .pa-oznaka { flex-basis: 100%; margin-bottom: 3px; } .zahtev-forma .pa-red .zf-izbori-greska { margin-left: 0; } }
/* Статус - krug sledeceg koraka vodi na formu (isto kao dugme ispod) */
.status-kartica a.sl-krug-dodaj { cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.status-kartica a.sl-krug-dodaj:hover { transform: scale(1.12); box-shadow: 0 0 0 3px rgba(230, 126, 34, .25); }

/* Извештај одељења (izvestaj_odeljenja/list.php) - zbirne tabele */
.izvestaj-odeljenja .io-kartica { border: 1px solid #e3e6ea; border-radius: 8px; overflow: hidden; }
.izvestaj-odeljenja .io-naslov { background: #0066cc; color: #fff; font-weight: 600; font-size: .9em; padding: 6px 10px; }
.izvestaj-odeljenja .io-kartica td { font-size: .88em; padding: 4px 10px; vertical-align: middle; }
.izvestaj-odeljenja .io-broj { width: 52px; text-align: right; font-weight: 700; color: #0b3d6e; }
.izvestaj-odeljenja tr.io-svi td { background: #eef3f8; font-weight: 600; }

/* Назив школе у заглављу: дуги називи се скраћују ("…", цео назив у title), да се заглавље не прелама у два реда */
#topbar .navbar-brand .nb-skola { display: inline-block; max-width: 24vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; opacity: .8; font-weight: normal; font-size: .9em; }
/* супер администратор има још два менија у заглављу (Промена школе, Администрација) */
#topbar .navbar-brand .nb-skola.nb-skola-uska { max-width: 15vw; }

/* ==========================================================================
   Мобилни приказ (телефон). Сва правила су у @media упитима, па рачунар
   (768 px и више) изгледа исто као раније.
   ========================================================================== */

/* падајући прозори у заглављу (обавештења, промена школе) - на рачунару као раније */
#topbar .nb-padajuci { min-width: 320px; max-height: 420px; overflow-y: auto; }
#topbar .nb-skole { min-width: 360px; max-height: 520px; }
.meni-pozadina { display: none; }

@media (max-width: 767.98px) {
	/* заглавље у једном реду: иконица, школска година, звонце, (супер админ) администрација, мени */
	#topbar .container-fluid { padding-left: 8px; padding-right: 8px; flex-wrap: nowrap; }
	#topbar .navbar-brand { flex: 0 0 auto; min-width: 0; margin-right: 6px; }
	#topbar .navbar-brand .nb-naziv,
	#topbar .navbar-brand .nb-skola { display: none; }
	#topbar .sk-god-switch { margin-right: auto; }
	#topbar .sk-god-switch > a { padding: 4px 6px; white-space: nowrap; }
	#topbar .navbar-responsive-collapse { display: none !important; }
	#topbar .nb-tel { order: 5; }
	#topbar #sidebarCollapse { order: 10; padding: 4px 8px; margin-left: 2px; }
	#topbar .nb-tel-dugme { position: relative; display: inline-block; color: #fff; font-size: 1.25rem; padding: 4px 10px; }
	#topbar .nb-tel-dugme .badge { position: absolute; top: -1px; right: 0; font-size: .55em; padding: 2px 5px; }
	#topbar .nb-tel .dropdown-menu { position: fixed !important; top: 54px !important; right: 8px !important; left: auto !important; transform: none !important;
		width: calc(100vw - 16px); max-width: 360px; min-width: 0; max-height: 70vh; overflow-y: auto; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
	#topbar .nb-tel .dropdown-item { white-space: normal; }

	/* леви мени: фиока преко садржаја (отвара је дугме ☰, затвара додир позадине или избор ставке) */
	#sidebar {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 1045;
		min-width: 270px; max-width: 270px; width: 270px; min-height: 0; margin-left: 0;
		overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease;
	}
	#sidebar.active { min-width: 270px; max-width: 270px; transform: none; box-shadow: 4px 0 18px rgba(0, 0, 0, .3); }
	#sidebar.active .navbar-nav li a { text-align: left; }
	#sidebar.active .navbar-nav li a .menu-label { display: inline; font-size: inherit; }
	#sidebar.active .submenu { margin-left: 20px; }
	#sidebar.active .navbar-nav a.dropdown-toggle::after { float: right; display: inline-block; margin: 7px 7px 0 0; }
	#sidebar.active .menu-profile .user-name { font-size: 1.1rem; }
	#sidebar.active .menu-profile .menu-dropdown { display: block; }
	#sidebar .navbar-nav a.nav-link { padding: 11px 12px !important; }
	.meni-pozadina { position: fixed; inset: 0; z-index: 1040; background: rgba(0, 0, 0, .45); }
	body:has(#sidebar.active) .meni-pozadina { display: block; }
	body:has(#sidebar.active) { overflow: hidden; }
}

/* Спискови као картице (page-scripts.js: spisakKartice) и филтери под једним дугметом */
.kt-filteri-dugme { display: none; }
@media (max-width: 767.98px) {
	table.kt-tabela,
	table.kt-tabela > tbody,
	table.kt-tabela > tbody > tr,
	table.kt-tabela > tbody > tr > td,
	table.kt-tabela > tbody > tr > th { display: block; width: auto; }
	table.kt-tabela > thead { display: none; }
	table.kt-tabela > tbody > tr {
		display: flex; flex-wrap: wrap; align-items: baseline; position: relative; margin: 0 0 10px; padding: 10px 12px;
		background: #fff !important; border: 1px solid #e3e6ea; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
	}
	table.kt-tabela > tbody > tr > td,
	table.kt-tabela > tbody > tr > th { flex: 0 0 100%; border: 0; padding: 1px 0; font-size: .88rem; font-weight: normal; text-align: left; white-space: normal; }
	table.kt-tabela > tbody > tr > td[data-label]:not(.kt-naslov):not(.kt-razred):not(.kt-odeljenje)::before {
		content: attr(data-label) ": "; color: #6c757d; font-size: .8rem;
	}
	table.kt-tabela > tbody > tr > .kt-naslov { flex: 0 1 auto; display: inline-block; font-size: 1rem; font-weight: 600; color: #0b3d6e; padding-right: 4px; }
	table.kt-tabela > tbody > tr > .kt-razred,
	table.kt-tabela > tbody > tr > .kt-odeljenje { flex: 0 0 auto; display: inline-block; font-size: .78rem; font-weight: 600; color: #0b3d6e; background: #e8f0fb; padding: 1px 4px 1px 7px; border-radius: 10px 0 0 10px; vertical-align: 1px; }
	table.kt-tabela > tbody > tr > .kt-odeljenje { padding: 1px 7px 1px 0; border-radius: 0 10px 10px 0; }
	table.kt-tabela > tbody > tr > .kt-odeljenje::before { content: "/"; }
	table.kt-tabela > tbody > tr > .kt-razred + .kt-naslov,
	table.kt-tabela > tbody > tr > .kt-naslov:first-child { margin-top: 0; }
	table.kt-tabela > tbody > tr > .kt-dugmad { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef0f2; }
	table.kt-tabela > tbody > tr > .kt-dugmad .btn { margin: 2px 4px 2px 0; }
	table.kt-tabela > tbody > tr > .kt-skriveno,
	table.kt-tabela > tbody > tr > .kt-prazno { display: none; }
	/* табела у картици (почетна): без оквира картице око картица */
	.card-body > table.kt-tabela { padding: 10px 10px 0; }

	.kt-filteri-dugme { display: block; }
	.row.kt-filteri { display: none; }
	.row.kt-filteri.otvoreno { display: flex; }
	.row.kt-filteri > .comp-grid { flex: 0 0 50%; max-width: 50%; margin-bottom: 6px; }
	.row.kt-filteri > .comp-grid .dropdown > .btn { width: 100%; }
	.row.kt-filteri > .comp-grid:last-child { flex-basis: 100%; max-width: 100%; }
}
@media (max-width: 767.98px) {
	/* Збирни извештај (pvr_statistika): број у плочици не прекрива дуги наслов */
	.record-count .row > .col-2 { flex: 0 0 34px; max-width: 34px; }
	.record-count .row > .col-10 { flex: 1 1 0; max-width: none; padding-right: 46px; }
}
@media (max-width: 767.98px) {
	/* картице не треба померати бочно - падајући мени „Акције“ у последњој картици не сме бити одсечен */
	.table-responsive:has(> table.kt-tabela) { overflow: visible; }
}
