﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.imgLoading {
    position: absolute;
    height: 120px;
    top: 50%;
    left: 50%;
    margin-top: -120px;
    margin-left: -60px;
}

.trGreen {
    background-color: #9acb9a !important;
}

.trRed {
    background-color: #FFD5CC !important;
}

    .trRed:hover {
        background-color: #FFC0B3 !important;
        cursor: pointer;
    }

.trYellow {
    background-color: #FFFF8F !important;
}

    .trYellow:hover {
        background-color: #DFFF00 !important;
        cursor: pointer;
    }

.trDoubleBorder {
    border-top: 3px solid #005696;
    margin-top: 3px;
}

    .trDoubleBorder ~ .trDoubleBorder {
        border-top: none;
        margin-top: 0px;
    }

.tdMinWidth200 {
    min-width: 150px;
}

.tdMinWidth80 {
    min-width: 80px;
}

.tdMinWidth50 {
    min-width: 50px;
    width: 60px;
}

.tdMinWidth250 {
    min-width: 200px;
}

.divBackgroundLoading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}

.divLabel {
    display: inline-block;
    max-width: 100%;
    width: 170px;
    vertical-align: top;
}

.divValue {
    display: inline-block;
    max-width: 100%;
    width: 370px;
}

.divValueS {
    display: inline-block;
    max-width: 100%;
    width: 200px;
}

.divValue1 {
    display: inline-block;
    max-width: 100%;
    width: 340px;
}

.divValue2 {
    display: inline-block;
    max-width: 100%;
    width: 400px;
}

.divValue3 {
    display: inline-block;
    max-width: 100%;
    width: 800px;
}

.divValue4 {
    display: inline-block;
    max-width: 100%;
}

.divData {
    vertical-align: top;
    max-width: 100%;
    background-color: #e6eeee;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.divDataBox {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    background-color: #e6eeee;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.divDataBox1 {
    display: inline-block;
    vertical-align: top;
    width: 520px;
    max-width: 100%;
}

.divDataBox2 {
    display: inline-block;
    vertical-align: top;
    width: 580px;
    max-width: 100%;
}

.divDataBox3 {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.divLblVal {
    margin-bottom: 10px;
    margin-right: 10px;
    width: 100%;
}

.txtBold {
    font-weight: bold;
}

.txt100, .multiselect {
    width: 100%;
}

.txt50 {
    max-width: 100%;
    width: 175px;
}

.tableH1 {
    background-color: #005696;
    color: white;
}

.tableH1Fixed {
    background-color: #005696;
    color: white;
    position: sticky;
    height: 25px;
    top: 0;
}

.tableR1, .tableA1 {
    border-bottom: 1px solid #005696;
    margin-bottom: 2px;
}

    .tableR1:hover, .tableA1:hover {
        background-color: #ccddea;
        cursor: pointer;
    }

.tableR2 {
    background-color: #eff6ef;
    border-bottom: 1px solid #9acb9a;
    margin-bottom: 2px;
}

    .tableR2:hover {
        background-color: #cde5cd;
        cursor: pointer;
    }

.tableA1 {
    background-color: #e6eef5;
}

#divAlert {
    display: none;
}

#divAlertExpired {
    display: none;
}

.divAlertBackground {
    background: black;
    opacity: 0.5;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.divMsgContainer {
    position: fixed;
    max-width: 100%;
    width: 300px;
    z-index: 9999;
    top: 40%;
    left: 50%;
    margin-left: -150px;
    background: White;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
}

.imgProfile {
    max-height: 30px;
    border-radius: 10px;
}

h2 {
    margin-bottom: 30px;
}

.divMarginTop30 {
    margin-top: 30px;
}

.divNaslov {
    margin-bottom: 15px;
}

.ajax__tab_xp .ajax__tab_header .ajax__tab_outer {
    background-image: none !important;
}

.ajax__tab_xp .ajax__tab_header .ajax__tab_inner {
    background-image: none !important;
}

.ajax__tab_xp .ajax__tab_header .ajax__tab_tab {
    background-image: none !important;
    font-size: 14px;
}

.ajax__tab_xp .ajax__tab_header .ajax__tab_active .ajax__tab_tab {
    background-color: #e6eeee !important;
}

.ajax__tab_default .ajax__tab {
    height: 28px !important;
}

.marginTop30 {
    margin-top: 30px;
}

.marginTop10 {
    margin-top: 10px;
}

.btnRed {
    background-color: red;
    color: white;
    border: none;
}

.btnYellow {
    background-color: yellow;
    border: none;
}

.btnGreen {
    background-color: green;
    margin-right: 150px;
    color: white;
    border: none;
}

.btnRed:hover {
    background-color: #AB442E;
    color: white;
    border: none;
}

.btnYellow:hover {
    background-color: #F4FAA7;
    border: none;
}

.btnGreen:hover {
    background-color: #105411;
    color: white;
    border: none;
}

.txtRight {
    text-align: right;
}

.txtKolicina {
    width: 50px;
}

.txtCijena {
    width: 110px;
}

.txtPopust {
    width: 70px;
}

.btn-group {
    width: 100% !important;
    display: block;
}

.txtGvField {
    width: 100%;
}

#divNapomenaTemplate {
    display: none;
}

th a {
    color: white;
}

    th a:hover {
        color: white;
    }

.divGv {
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    position: relative;
}

.divGv2 {
    width: 100%;
    overflow-x: auto;
    position: relative;
}

.hidden {
    display: none;
}

.acList {
    min-width: 250px;
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

.divBox {
    width: 570px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}

.divBoxSmall {
    width: 450px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}

.divBoxBig {
    width: 910px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}

.divButtonsRight {
    float: right;
    margin-top: 20px;
    margin-bottom: 15px;
}

.h2Left {
    display: inline-block;
}

.divInline {
    display: inline-block;
}

.divOpis {
    position: absolute;
    width: 300px;
    max-width: 100%;
    background-color: white;
    padding: 7px;
    z-index: 1000000;
    display: none;
    margin-top: 0px;
}

.divOpis2 {
    position: absolute;
    width: 300px;
    max-width: 100%;
    background-color: white;
    padding: 7px;
    height: 160px;
    z-index: 1000000;
    display: none;
    margin-top: -160px;
}

.divOpisText {
    margin-bottom: 10px;
    width: 100%;
    overflow: auto;
    height: 100px;
}

.divOpisTextPopup {
    margin-bottom: 10px;
    width: 100%;
    overflow: auto;
    max-height: 100px;
}

.btnOpisOk {
}

.divGvContainer {
    position: relative;
}

.tdValuta {
    padding-left: 5px;
}

.divPopup {
    display: none;
}

.divPopupBackground {
    background: black;
    opacity: 0.5;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 90;
}

.divPopupContainer {
    z-index: 91;
    position: fixed;
    max-width: 100%;
    width: 350px;
    top: 40%;
    left: 50%;
    margin-left: -150px;
    background: White;
    overflow: hidden;
}

.divPopupContent {
    padding: 20px;
}

.divPopupHeader {
    color: white;
    background-color: #005696;
    height: 35px;
    position: relative;
    font-weight: bold;
    padding-left: 20px;
    line-height: 35px;
}

.divClosePopup {
    height: 35px;
    line-height: 35px;
    width: 35px;
    float: right;
    text-align: center;
    cursor: pointer;
}

.btn-height{
    height: 25px;
    line-height: 25px;
    padding: 0px 6px;
}

.tblPonuda td {
    border-right: 1px solid #005696;
}

.tdPadding{
    padding-left: 5px;
    padding-right: 5px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 1223px) {
    .jumbotron {
        margin-top: 20px;
    }

    .grid {
        display: table;
    }
}

.tdPaddingRight30{
    padding-right: 30px;
}

.tdMargin {
    padding-left: 7px;
    padding-right: 7px;
}

.ui-autocomplete {
    max-height: 200px; /* Set the maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrolling if content overflows */
    z-index: 1000; /* Ensure it appears above other elements */
}

.hMarginBottom{
    margin-bottom: 15px;
}