/*
 * 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;
}

                   

/*
 * 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: #A0A0A0;
}

/*
 * 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: #A0A0A0;
    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: #A0A0A0;
  transition: all 1s;
  -webkit-transition: all 1s ease-in-out;
}
.table-striped>tbody>tr.change-up-add-active>td {
  background-color: #A0A0A0;
  color: white;
}
.table-striped>tbody>tr.change-up-remove {
    background-color: #A0A0A0;
    color: white;
}
.table-striped>tbody>tr.change-up-remove-active {
  background-color: #A0A0A0;
  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, .modal-title {
    color:#333333;         
}

.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;
 width:100%;
}

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

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

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

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

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

input[type=date]::-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:42%;
  float:left;
  margin-right:1%;
}

#dateform1 {
  width:88%;
  float:left;
  margin-right:2%;
}

#dateform2 {
  width:88%;
  float:left;
  margin-right:2%;
}

.shortInput{
  width:44%;
  float:left;
  margin-left: 3%;
}

.deleteButton {
  width: 10%;
  padding:8px; 
}

.datespan {
  display:block;
}

.divDrzava {
  border-bottom: 2px solid #eee;
  margin-top: 10px;
  padding-bottom: 5px;
}

.btn-info {
  width: 40%;
}

.btn-success, .btn-success:hover, .btn-success:active {
  background-color: #585858;
  border-color: #585858;
}

textarea.ng-invalid, select.ng-invalid, input.ng-invalid {
    border-color:pink;
}

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


