/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

.previse_potroseno {
color:red;
} 

.dropdown-menu {
  width: auto !important;
}

.dropdown-menu li a {
  color: 9D9D9D !important;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px; 
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #12447f;
} 

/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


.table-striped>tbody>tr.change-up>td {
    color: white;
    background-color: #428bca;
    transition: all 1s;
  -webkit-transition: all 1s ease-in-out;
}
.table-striped>tbody>tr.change-up-remove>td{
    transition: all 1s;
  -webkit-transition: all 1s ease-in-out;
}
.table-striped>tbody>tr.change-up-add,.table-striped>tbody>tr.change-up-remove  {
  color: white;
  background-color: #428bca;
  transition: all 1s;
  -webkit-transition: all 1s ease-in-out;
}
.table-striped>tbody>tr.change-up-add-active>td {
  background-color: #428bca;
  color: white;
}
.table-striped>tbody>tr.change-up-remove {
    background-color: #428bca;
    color: white;
}
.table-striped>tbody>tr.change-up-remove-active {
  background-color: #428bca;
  color: white;
}

input, select {
  margin-bottom:5px;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}


form-element { 
  display:block;
  background-repeat: no-repeat;
  background-size: 4%;
  padding-left:4%;
  color:#333333; 
  }
  
  form-element span {
   font-size:14px; 
  }

.stavke {
  width:100%;
}
.stavke th , .stavke td  {
  width:50%;
  border: 1px solid grey;
  border-collapse: collapse;
  padding: 5px;
}
.stavke tr:nth-child(odd)	{
  background-color: #f1f1f1;
}
.stavke tr:nth-child(even) {
  background-color: #ffffff;
}

.tdbold {
  font-weight:bold;
  width:15%;
  color:black;
}

.errorMessage {
 color:red;
}

.changeMessage {
 color:red;
 font-weight:bold;
} 

.Message {
 color:green;
 margin-bottom:5px;
 margin-right:10px;
}

.boldText {
  font-weight: 800;
}

table thead th:hover{
 cursor: pointer;
}

.arrow-down:after,.arrow-up:after{
 content: ' ';
 position: relative;
 left: 2px;
 border: 8px solid transparent;
}

.arrow-down:after{
 top: 10px;
 border-top-color: red;
}

.arrow-up:after{
 bottom: 15px;
 border-bottom-color: red;
}

.arrow-down,.arrow-up{
 padding-right: 10px;
}


.tdbold {
  font-weight:bold;
  width:15%;
}

.tdboldmak {
  font-weight:bold;
  width:15%;
  background-image: url('../images/mak02-logo.png');
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center center; 
}

.panel-body { 
  padding: 15px; 
  overflow-x: auto;
} 

.veceIzmjene {
  color:red;
}

textarea.ng-invalid, select.ng-invalid, input.ng-invalid {
    border:1px solid pink;
    background-image: url('../images/star.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 15px;
}

.student {
  background-image:url('../images/s.png');       
  }
  
  .nastavnik{
  background-image:url('../images/m.png');
  }
  
  .povjerenstvo{
  background-image:url('../images/p.png');
  }
  
  .odbor{
  background-image:url('../images/o.png');
  }
  
  .tajnik{
  background-image:url('../images/t.png');
  }
  
  .sluzba{
  background-image:url('../images/ssl.png');
  background-size: 7%;
  }
  
  .inactive {
  color:#aaaaaa;
  }
  
  
.selected-row {
    background-color: black !important;
    color: white; 
}


.modal-lg {
    width: 95vw !important;
}

.generirajPonudu {
  padding:10px;
}

.status-green {
  color: green;
}

.status-orange {

  color: orange;
}

.status-red {
  color: red;
}

.status-grey {
  color: grey;
}

.status-purple {
  color: purple;
}

input[type=datetime-local]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
} 

input[type=datetime-local]{
  text-indent:-200px; 
  width:5%; 
  padding:0px;
  float: left;  
}

/*Za Firefox*/
@supports (-moz-appearance:none) {
  input[type=datetime-local]{
      background:url(../images/kalendar.png) no-repeat center center;
  }
}

input[type=datetime-local]::-webkit-calendar-picker-indicator {
  display: block;
  background:url(../images/kalendar.png) no-repeat left center;
  width: 20px;
  height: 20px;
  border-width: thin;   
  color: rgba(0, 0, 0, 0);
  opacity: 1;
}

#dateform {
width:93%;
float:left;
margin-right:1%;
}
.shortInput{
  width:44%;
  float:left;
  margin-left: 3%;
}

.formSelect {
  width:400px; 
  padding:5px; 
  border:1px solid grey;
}

.btn-blue {
  border-color:#12447f;
  color: #12447f;
  margin-bottom: 10px;
}

.documentPreview {
    display: flex; 
    align-items: flex-start;
    flex-wrap: wrap;
}


.documentPreview a img, .documentPreview a embed {
    width: 150px; 
    height: auto;
    margin-right: 10px; 
    margin-left: 0px; 
    z-index: 0 !important;
}

.documentPreview a {
  width: 170px;
}

.canvas-container {
  width: 300px;
  height: 300px;
  border: 1px solid black;
  margin-bottom: 10px;
  overflow: hidden; /* Hide overflowing content */
}

.shortForm {
  width:88% !important;
  float:left !important;
  margin-right:2%;
}

.shortFormDisabled {
  width:88% !important;
  float:left !important;
  margin-right:2%;
  background-color: #eeeeee;
}

.checkBoxForm {
  width:4% !important;
}

.listaKomentari {
  padding:10px;
  margin-top: 20px;
  border-bottom: 1px solid #eeeeee;
}

.checkBoxProvjera {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

.panel-body {
  min-height: 150px; 
}

.content-obavijest {
  padding: 15px;
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 4px;
  min-height: 150px;
  max-height: 600px;
  overflow-y: auto;
  margin-top:20px;
}

.list-group-item {
  margin-top: 20px;
}

select option:disabled {
  color: #aaa;
  background: #f5f5f5;
}

.content-upute {
  padding-top: 15px;
  padding-bottom: 15px;
}

.title-upute, .panel-heading {
  font-size: 18pt;
}

.panel-footer, .panel-heading {
  background-color: transparent !important;
  border-top: none !important;
}

.equal-height-row {
  display: flex;
  flex-wrap: wrap;
}

.equal-height-col {
  display: flex;
}

.equal-height-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.divGrupa {
  border: 1px solid #ddd;
  padding: 5px;
  margin-bottom: 15px;
}





