/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container-fluid {
  padding: 60px 0px 0;
}
.modal-body {
	padding:1px;
}
.footer > .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}
.modal-header {
	padding: .3em;
}
.nav-link {
	
	padding: .3em;
}

 .nav-tabs .nav-link {
	
	border-left:1px solid #4c4c4c;
}

code {
  font-size: 80%;
}
.kapija_bg {
	background:url(img/kapija_bg.png) center no-repeat;
	background-size:100% 100%;
	min-height:430px;
}
.rotateimg180 {
  -webkit-transform:rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.bg_prolaz_zelena {
	background:url(img/strelica_zelena.png) center no-repeat;
	min-height:80px;
	background-size:auto 100%;
}
.bg_prolaz_crvena {
	background:url(img/strelica_crvena.png) center no-repeat;
	min-height:80px;
	background-size:auto 100%;
}
.form-group {
	margin-bottom:3px;
}
.custom-checkbox {
	margin-left:15px;
}

.stranice { 
	width:100%;
}
.err {
	color:red;
	font-weight:bold;
}
.dataTable td, .dataTable button {
	line-height: 1em !important;
	vertical-align:middle;
}
.bg_slider_1 {
	background-color:#d5d5d5;
}
.bg_slider_2 {
	background-color:#b2edeb;
}
.bg_slider_3 {
	background-color:#ede0b2;
}
.bg_slider_4 {
	background-color:#a9f9ba;
}

#div_pregled_racuna div {
   padding: 0 !important;
   margin: 0 !important;
}
/* prikaz sirovina */
.chart-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	justify-content: center;
}
.chart-item {
	width: 70px;
	text-align: center;
	flex-shrink: 0;
	cursor: move;
	position: relative;
}
.chart-bar-container {
	height: 150px;
	width: 100%;
	position: relative;
	border: 1px solid #ddd;
	margin-bottom: 5px;
	background-color: #f9f9f9;
}
.chart-bar {
	width: 100%;
	position: absolute;
	bottom: 0;
	transition: height 0.5s ease;
}
.chart-label {
	font-size: 10px;
	word-break: break-word;
	margin-top: 3px;
	font-weight: bold;
	cursor: pointer;
	color: #007bff;
}
.chart-value {
	font-size: 10px;
	font-weight: bold;
}
.recommended-line {
	position: absolute;
	width: 100%;
	border-top: 2px dashed #ff6b00;
	z-index: 10;
}
.recommended-label {
	position: absolute;
	right: 0;
	font-size: 8px;
	color: #ff6b00;
	transform: translateY(-50%);
	background: white;
	padding: 0 2px;
}
.percentage-label {
	position: absolute;
	top: 2px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 9px;
	font-weight: bold;
	color: #333;
}
.warning-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20;
}
.warning-icon {
	font-size: 24px;
	color: red;
}
.popis-btn {
	font-size: 10px;
	padding: 2px 5px;
	margin-top: 5px;
	width: 100%;
}
.dragging {
	opacity: 0.5;
	border: 2px dashed #007bff;
}
.chart-item.ui-sortable-helper {
	transform: rotate(3deg);
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
/* kraj prikaza sirovina */