﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #E6FADE;
    font-size: 11px;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #333;
    /* NOVO */
    background-image: url("../Images/page-background.png");
    background-repeat: repeat-x;
    background-color: white;
}

/*.headerNaslovi {color:#5c9641;font-weight:bold;font-style:italic;text-decoration:underline;}*/
.headerNaslovi {
    color: #5c9641;
    text-decoration: none;
    font-style: italic;
    font-size: 15px;
}

.headerHr {
    width: 90%;
    color: #5c9641;
    margin: 15px 0 15px 0;
}

.footerLinks {
    text-decoration: none;
    color: #5c9641;
}

    .footerLinks:hover {
        color: #ae0606;
    }

    .footerLinks:visited {
        text-decoration: none;
    }

.bold {
    font-weight: bold;
}

.red {
    color: red;
}

.rightAlign {
    text-align: right;
}

.leftAlign {
    text-align: left;
}

.centerAlign {
    text-align: center;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

*[readonly="readonly"] {
    background-color: #FFFFFF;
    color: #6D6D6D;
    border: 1px solid #B0B0B0;
}

input {
    vertical-align: middle;
}

/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 20px;
    padding: 0;
    margin: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

a img {
    border: none;
}

/* this rule styles <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/

#title .titleLogo {
    display: inline-block;
    vertical-align: top;
}

    #title .titleLogo img {
        vertical-align: middle;
    }

#actionBar {
    /*background-color: #BDEFA8;*/
    /*border-bottom: 2px solid #6D6D6D;*/
    border: 1px solid #6D6D6D;
    border-top: 0px;
    height: 46px;
    padding: 0px 0px 0px 20px;
    /*background-image: url("../Images/header/actions-background.png");
    background-repeat: repeat-x;*/
    line-height: 40px;
    position: relative;
}

#locationHierarchy {
    display: inline-block;
    height: inherit;
    font-size: 10px;
    color: #333333;
    height: inherit;
    line-height: 12px;
    overflow: clip;
    max-width: 400px;
}

    #locationHierarchy a {
        color: inherit;
    }

    #locationHierarchy h2 {
        margin: 0;
        display: inline-block;
        text-decoration: none;
        padding: 0;
        font-style: italic;
    }

        #locationHierarchy h2 a,
        #locationHierarchy h2 a:visited,
        #locationHierarchy h2 a:hover {
            font-size: 14px;
            color: inherit;
            text-decoration: none;
        }

/* ACTION BUTTONS */

.actionBarPrint {
    margin-top: 10px !important;
    border-top: 1px solid #6D6D6D !important;
}

.actionButtonsPrint {
    display: none;
}

#actionBar .actionButtons.actionButtonsMain {
    display: inline-block;
    height: inherit;
    overflow: hidden;
    position: absolute;
    vertical-align: middle;
    position: absolute;
    left: 20px;
    top: 6px;
    width: auto;
}

#actionBar .actionButtons {
    height: inherit;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    position: absolute;
    left: 330px;
    top: 6px;
    width: 740px;
}

    #actionBar .actionButtons img {
        vertical-align: top;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #actionBar .actionButtons .action {
        display: inline-block;
        text-align: center;
        height: inherit;
        cursor: pointer;
        width: 51px;
        overflow: hidden;
        float: left;
    }

        #actionBar .actionButtons .action.disabled {
            cursor: default;
            opacity: 0.3;
            filter: alpha(opacity=30);
        }

        #actionBar .actionButtons .action.right {
            float: right;
        }

    #actionBar .actionButtons .actionSeparator {
        display: inline-block;
        height: inherit;
        overflow: hidden;
        width: 25px;
        float: left;
    }

    #actionBar .actionButtons .actionButton {
        font-size: 10px;
        width: auto;
        color: #333333;
        vertical-align: top;
        height: 15px;
        line-height: 15px;
    }

    #actionBar .actionButtons a,
    #actionBar .actionButtons a:hover,
    #actionBar .actionButtons a:visited {
        text-decoration: none;
        color: #999;
    }

    #actionBar .actionButtons form {
        display: inline;
    }

div.inlineActions {
    margin: 10px;
    display: none;
}

    div.inlineActions .action img,
    div.inlineActions .action button {
        vertical-align: middle;
    }

.page {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

#header {
    display: flex;
    align-items: stretch;
    color: #333;
    margin: 0px;
    height: auto;
    background-image: url("../Images/header/header-background.png");
    background-repeat: repeat-x;
    border: 1px solid #6D6D6D;
    border-top: 0px;
    border-bottom: 0px;
    z-index: 2;
}

#titleLogo {
    flex: 0 0 auto;
    display: flex;
    padding: 4px;
}
/* 2. i 3. div – dijele ostatak */
#locationHierarchy
 {
    min-width: 0;          /* obavezno */
    padding: 8px 12px;
    box-sizing: border-box;
}

/* poravnanja */
#logindisplay {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
}

#locationHierarchy {
    white-space: nowrap;   /* da ne lomi breadcrumb */
}

#main {
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#footer {
    /*color: #333;*/
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: 12px;
    border-top: 1px solid rgb(58,92,16);
}

    #footer * {
        vertical-align: middle;
    }

div.column1 {
    vertical-align: top;
    display: inline-block;
    width: 320px;
    margin: 10px 5px 5px 5px;
    max-height: 700px; /* miće skroll bar */
    vertical-align: top;
    overflow-y: auto;
}

    div.column1 #minifiedEntityListTable {
        width: 100%;
    }

div.column2 {
    vertical-align: top;
    display: inline-block;
    width: 730px;
    margin: 10px 5px 5px 5px;
}

.xScroll {
    overflow-x: scroll;
}

.yScroll {
    overflow-y: scroll;
}

/* MISC
----------------------------------------------------------*/
.hidden {
    display: none !important;
}

.clear {
    clear: both;
}

.error {
    color: Red;
}

.center {
    text-align: center;
}

.middle {
    vertical-align: middle;
}

.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.floatRight {
    float: right;
}

.floatLeft {
    float: left;
}

.sup {
    vertical-align: super;
    font-size: 80%;
}

.sub {
    vertical-align: sub;
    font-size: 80%;
}

#menucontainer {
    margin-top: 10px;
}

div#title {
    font-size: 14px;
    display: block;
    float: left;
    text-align: left;
    margin-left: 0px;
    height: inherit;
}

.iznosi {
    width: 90px;
}

/* LOGGED USER INFO */
#logindisplay {
    font-size: 1.1em;
    text-align: right;
    margin: 10px;
    color: #333;
    margin: 3px;
}

    #logindisplay #loginInfo {
        float: right;
    }

    #logindisplay a:link {
        color: #333;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: #333;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: #333;
        text-decoration: none;
    }

    #logindisplay ul.usernameOptions {
        margin: 0;
        display: inline-block;
        vertical-align: top;
        padding-left: 3px;
    }

        #logindisplay ul.usernameOptions li {
            margin: 0 5px;
            padding: 0 0 8px;
            float: left;
            position: relative;
            list-style: none;
        }

        #logindisplay ul.usernameOptions a {
            text-decoration: none;
        }

        #logindisplay ul.usernameOptions ul li:hover a,
        #logindisplay ul.usernameOptions li:hover li a {
            background: none;
            border: none;
            color: #fff;
        }

        #logindisplay ul.usernameOptions ul {
            display: none;
            margin: 0;
            padding: 0;
            width: 165px;
            position: absolute;
            top: 20px;
            right: 0;
            border: solid 1px #b4b4b4;
            border-radius: 10px;
            z-index: 99;
            background: rgb(106,145,56);
        }

            #logindisplay ul.usernameOptions ul a {
                font-weight: bold;
                color: #FFF;
                text-decoration: none;
                display: block;
                padding: 8px 20px;
                margin: 0;
            }

                #logindisplay ul.usernameOptions ul a:hover {
                    background: #0399d4 !important; /* for non-css3 browsers */
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#04acec', endColorstr='#0186ba'); /* for IE */
                    background: -webkit-gradient(linear, left top, left bottom, from(#02AD30), to(#02611B)) !important; /* for webkit browsers */
                    background: -moz-linear-gradient(top, #02AD30, #02611B) !important; /* for firefox 3.6+ */

                    color: #fff !important;
                    -webkit-border-radius: 0;
                    -moz-border-radius: 0;
                }

            #logindisplay ul.usernameOptions ul li {
                float: none;
                margin: 0;
                padding: 0;
            }
        /* dropdown */
        #logindisplay ul.usernameOptions li:hover > ul {
            display: block;
        }

        #logindisplay ul.usernameOptions ul li {
            float: none;
            margin: 0;
            padding: 0;
        }

        #logindisplay ul.usernameOptions ul a {
            font-weight: normal;
            /*text-shadow: 0 1px 1px rgba(255, 255, 255, .9);*/
        }

#minifiedEntityListTable a,
#minifiedEntityListTable a:hover,
#minifiedEntityListTable a:visited {
    text-decoration: none;
}

.charWidth2 {
    width: 16px !important;
}

.charWidth3 {
    width: 24px !important;
}

.charWidth4 {
    width: 32px !important;
}

.charWidth5 {
    width: 40px !important;
}

.charWidth10 {
    width: 80px !important;
}

.charWidth15 {
    width: 120px !important;
}

.width100percent {
    width: 100% !important;
}

/* MESSAGE BOXES
 * http://www.jankoatwarpspeed.com/post/2008/05/22/CSS-Message-Boxes-for-different-message-types.aspx
 */
.info, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../Images/message-boxes/info.png');
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url('../Images/message-boxes/success.png');
}

.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../Images/message-boxes/warning.png');
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../Images/message-boxes/error.png');
}

.validation {
    color: #D63301;
    background-color: #FFCCBA;
    background-image: url('../Images/message-boxes/validation.png');
}

/* PAGE CONTENT */
div.set {
    vertical-align: top;
    margin-top: 10px;
    border: 1px solid black;
}

div.setHeader {
    height: 10px;
    background-color: rgb(160,160,160);
    font-size: 12px;
    color: Black;
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
    text-align: left;
    padding-left: 15px;
    font-weight: bold;
    cursor: pointer;
}

    div.setHeader img.setHeaderArrowImage {
        vertical-align: middle;
    }

div.setContent {
    padding: 10px;
}

    div.setContent table.sortableTable {
        border: 0px;
    }

/* BUTTONI SA IKONICAMA */
.actionButtonContainer {
    margin-left: 5px;
    display: inline-block;
}

    .actionButtonContainer * {
        vertical-align: middle;
        cursor: pointer;
    }

    .actionButtonContainer.disabled * {
        cursor: default;
    }

    .actionButtonContainer.neverDisabled * {
        cursor: pointer;
    }

.postupciOporabeList.disabled *, .postupciZbrinjavanjaList.disabled *, .karakteristikeOtpadaList.disabled * {
    cursor: default !important;
}

/* DATE RANGE POPUP */
.dateRangeContainer {
    margin-top: 10px;
}

    .dateRangeContainer .okButton {
        margin: 10px;
    }

    .dateRangeContainer .fixedWidth {
        display: inline-block;
        width: 130px;
    }

    .dateRangeContainer input.dateInput {
        text-align: right;
    }

/* DELETE POPUP */
#confirmDeletePopupContainer .list {
    margin: 10px 10px 10px 30px;
}

#confirmDeletePopupContainer .buttons {
    margin-top: 10px;
}

#confirmDeletePopupContainer .button {
    margin: 0px 10px;
}

/* EDIT MASK */
.mask {
    background-color: #000000;
    z-index: 100;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.headerMask {
    display: none;
    position: absolute;
    top: 0px;
    width: 1080px;
    height: 115px;
}

.leftColumnMask {
    display: none;
    position: absolute;
    width: 330px;
    /* top, left, height: javascript izracun */
}

.notEditableInput {
    background-color: #EEEEEE;
    cursor: default;
}

/* DATEPICKER INPUT */
input.datepicker {
    width: 75px !important;
}

/* VALIDACIJA */
.validationErrors ul li {
    margin-left: 15px;
}

/* HELP */
#helpAction {
    z-index: 100;
    position: relative;
}

#helpMessage {
    display: none;
}

.inlineHelp {
    display: none;
    vertical-align: middle;
}

.errKBO {
    color: #FF0000;
}

select.invalid{
    border-color: red;
}
input.invalid{
    border-color: red;
}

.helpdesk-btn {
    position: relative;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.helpdesk-btn img {
    vertical-align: middle;
}

.helpdesk-btn .status-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;  /* prilagodi veličinu */
    height: 10px;
}

/* Pročitano chip za helpdesk */
.helpdesk-btn .mark-read {
    display: none;
    position: absolute;
    top: 28px; /* ispod teksta Podrška */
    right: 0;
    background: #94d259;
    border: 1px solid #689040;
    color: #333;
    font-size: 11px;
    line-height: 1;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 5;
}

/* Prikaži na hover samo kad ima promjena */
.helpdesk-btn.has-changes:hover .mark-read {
    display: inline-block;
}

.select2-selection--multiple {
    max-height: 5rem;
    overflow: auto
}

.select2-search--dropdown {
    display: block;
    padding: 2px;
    top: -1.85rem !important;
    position: absolute;
    width: 90%;
}
