﻿/* DEFAULTS
----------------------------------------------------------*/
/*
    start = 16px
    8px = .5rem
    10px = .63rem
    12px = .75rem
    14px = .88rem
    16px = 1rem
    18px = 1.13rem
    20px = 1.25rem
    24px = 1.5rem
    28px = 1.75rem
    32px = 2rem
*/


html {
    min-width: 980px;
    box-sizing: border-box;
    font-size: 16px;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    line-height: 1.13rem;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

a:link, a:visited {
    color: #034af3;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: .63rem;
    line-height: 1.5rem;
}

td {
    /*vertical-align: top;*/
}

/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0;
}

h1 {
    font-size: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    font-size: 1.38rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.13rem;
}

h5, h6 {
    font-size: 1rem;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

form {
    background-color: rgb(255,255,255);
    width: 100%;
    min-height: 400px;
}

.page {
    padding: .75rem;
}

.header-login {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 60%;
}

.header {
    position: relative;
    background: #364143;
    color: #fff;
    width: 100%;
}

    .header a:link, .header a:visited {
        color: #FFF;
        text-decoration: none;
    }

    .header a:hover, .header a:active {
        color: #FF0000;
        text-decoration: none;
    }

.main {
    background-color: #fff;
}

.footer {
    padding: .5rem 0 0 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 60%;
}

    .footer > div {
        width: 350px;
        margin: 0 auto;
    }

.header-div {
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
}

.header-logo {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink {
    background-color: #fff;
    min-height: 550px;
    padding-right: 30px;
    padding-top: 15px;
}

div.menu {
    padding: 4px 0 4px 0;
}

    div.menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: auto;
    }

        div.menu ul li a, div.menu ul li a:visited {
            background-color: #465c71;
            border: 1px #4e667d solid;
            color: #dde4ec;
            display: block;
            line-height: 1.35em;
            padding: 3px 12px;
            text-decoration: none;
            white-space: nowrap;
        }

            div.menu ul li a:hover {
                background-color: #bfcbd6;
                color: #465c71;
                text-decoration: none;
            }

            div.menu ul li a:active {
                background-color: #465c71;
                color: #cfdbe6;
                text-decoration: none;
            }


.level1 {
    font-weight: bold;
    padding: 0 20px;
}

.level2 {
    font-weight: bold;
    padding: 0 30px 0 30px;
}

.level3 {
    font-weight: normal;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

img {
    border: 0;
}

th {
    text-align: left;
    font-weight: normal;
    vertical-align: baseline;
    white-space: nowrap;
}


fieldset {
    border: 1px solid #ccc;
    padding: 0 1em 1em 1em;
    border-radius: 4px;
    margin: 0 5px;
    height: 100%;
}

    fieldset p {
        margin: 1px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}


textarea {
    border: 1px solid #9F9F9F;
    border-radius: 3px;
}

    textarea:focus {
        background-color: #465C82;
        border: #0861A0 1px solid;
        color: #FFF;
    }

    textarea:hover {
        border: #4992C4 1px solid;
    }


[type=submit] {
    height: 1.75rem;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
    margin-left: 0;
}

    [type=submit][disabled=disabled]:not(.btnChoose) {
        background-color: #CCC;
    }

[type=checkbox] {
    transform: scale(2);
    padding: 10px;
    margin-left: 10px;
}

    [type=checkbox] ~ label {
        padding-left: 10px;
    }

[type=text] {
    height: 1.75rem;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
    margin-left: 0;
}

    [type=text]:focus {
        background-color: #465C82;
        color: #FFF;
        border: #0861A0 1px solid;
    }

    [type=text]:hover {
        border: #4992C4 1px solid;
    }

select {
    height: 2rem;
    min-width: 100px;
    width: 100%;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
}

    select:focus {
        background-color: #465C82;
        color: #FFF;
        border: #0861A0 1px solid;
    }


.DropDown {
    width: 320px;
    border: 1px solid #ccc;
}


button.ui-datepicker-trigger {
    height: 1.75rem;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
    margin-left: 0;
    vertical-align: text-bottom;
    padding-left: 6px;
    width: 30px;
}

.datepicker, .datepicker, .hasDatepicker {
    width: 80px;
    vertical-align: text-bottom;
    margin-right: 4px;
}

.timepicker, .VrijemeOdlaskaTextBox, .VrijemeOdlaskaTextBoxRelacije {
    width: 50px;
}

/* MISC  
----------------------------------------------------------*/

.clearfix::after .clear::after {
    display: block;
    clear: both;
    content: "";
}

.title {
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.failureNotification {
    display: block;
    font-size: 1.0rem;
    color: Red;
}

.bold {
    font-weight: bold;
}

.submitButton {
    text-align: right;
}


/* naše */
.th_right {
    max-width: 100px;
    width: 80px;
    text-align: right;
    font-weight: normal;
    vertical-align: baseline;
}

.th_datetime_right {
    max-width: 150px;
    width: 120px;
    text-align: right;
    font-weight: normal;
    vertical-align: baseline;
}

/* detaljni div na svim stranicama*/
#divDetail {
    min-width: 980px;
    width: 100%;
}

    #divDetail p {
        height: 1em;
        margin: 0;
    }

    #divDetail > div {
        min-width: 350px;
        width: 100%;
    }

    #divDetail td, th {
        vertical-align: middle;
    }

    #divDetail th {
        padding-right: 10px;
    }


.RequiredLabel {
    visibility: hidden;
}

.RecordIdHidden, .FocusTextBox, .SelectorId, .SelectorField, .Selector2Id, .Selector2Field, .TableToShowLabel, .labelHidden, .SelektorLabel, .RecordIdHidden, .Hidden {
    display: none;
}



/*chooser - polje za unos sa pozivom  šifarnika */
.RecordIDTextBox {
    width: 80px;
}

.RecordTextBox {
    display: none;
}

.chooserLabel {
    width: calc(100% - 120px);
    position: absolute;
    display: inline-block;
    top: 0;
    overflow: hidden;
    height: 2em;
    padding-top: .2rem;
    padding-left: .5rem;
}

.RecordTextLabel {
    width: calc(100%);
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;    
    overflow: hidden;
}

div[id$='_chooser_wrapper'] {
    position: relative;
    height: 2em;
    overflow: hidden;
    width: 100%;
}









.lblReq, .ErrorMessage {
    color: #FF0000;
}

.spacer {
    height: 1.8em;
}


.PopUpHeaderLabel, .DodatnoDestination, .Dodatno2Destination {
    visibility: hidden;
}

.cssID {
    width: 40px;
}

.cssValue {
    width: 450px;
}








.middle {
    vertical-align: middle;
}

.right {
    text-align: right;
}

.btnMali, .submit {
    background-color: #008AD1;
    width: 110px;
    height: 2rem;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 1rem;
    padding-bottom: 2px;
    border: 0;
    color: #FFF;
}

.submit {
    width: 120px;
    height: 24px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    font-size: 0.92em;
}

    .btnMali:hover, .submit:hover {
        cursor: pointer;
        opacity: 0.9;
    }

#reqFields {
    margin-top: 10px;
}



input.no-disable:disabled {
    background-color: White;
}




#subMenuLine {
    height: 30px;
    margin-bottom: 0;
    border-bottom: 1px solid #000;
}

    #subMenuLine UL {
        list-style: none outside none;
        margin: 0;
        padding: 0 0 0 10px;
    }

    #subMenuLine LI {
        float: left;
        padding: 0 1px;
        margin-top: -2px;
    }

        #subMenuLine LI A:link, #subMenuLine LI A:visited {
            background-color: #465C82;
            border: 1px solid #000;
            color: #FFF;
            display: block;
            font-size: 0.92em;
            padding: 6px 15px;
            text-decoration: none;
            -webkit-border-top-left-radius: 5px;
            border-top-left-radius: 5px;
        }

        #subMenuLine LI A:hover {
            background-color: #FFF;
            color: #000;
        }

        #subMenuLine LI A.current {
            background-color: #FFF;
            color: #000;
            font-weight: bold;
            border-bottom: 1px solid #fff;
        }


.subMenu {
    min-width: 600px;
}

hr {
    color: #466EA3;
    height: 1px;
    border-bottom: none;
}

.Naslov {
    padding-right: 30px;
    font-variant: small-caps;
    text-transform: none;
    font-weight: bold;
    font-size: 1.5em;
}


.GridHeader {
    background: #364143;
    color: #fff;
}

.BrojDokumenta {
    font-size: 1.15em;
    font-weight: bold;
}

.primaryStaticMenu {
    background-color: transparent;
    z-index: 33333;
}

.primaryStaticMenuItem {
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.6rem;
    padding: 3px 12px;
    text-decoration: none;
    white-space: nowrap;
    z-index: 33333;
    font-size: 1.1em;
    font-weight: bold;
}

.primaryStaticHover {
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
    z-index: 33333;
}

.primaryDynamicMenu {
    background-color: #f0e7d7;
    border: solid 1px Black;
    z-index: 33333;
}

.primaryDynamicMenuItem {
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.6rem;
    padding: 3px 12px;
    text-decoration: none;
    white-space: nowrap;
    z-index: 33333;
    font-size: 1.1em;
    font-weight: bold;
}

.primaryDynamicHover {
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
    z-index: 33333;
}

.HomeIdLabel, .HomeNazivLabel, .KmButton, .OdMjestaLabel, .DoMjestaLabel, .KmLabel, .BrisanjeButton, .ObradaButton {
    display: none;
}

.ProcesLabel {
    font-size: 1.3em;
    color: Green;
}

.uprCentered {
    position: fixed;
    min-width: 0;
    top: 50%;
    left: 50%;
    width: 48px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    opacity: 0.6;
}

.gridpager {
    background-color: #fff;
    padding: 2px;
    margin: 2% auto;
}

    .gridpager > td {
        padding: 1em;
    }

    .gridpager a {
        margin: auto 1%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        background-color: rgb(0, 138, 209);
        padding: 5px 10px 5px 10px;
        color: #fff;
        text-decoration: none;
        -moz-box-shadow: 1px 1px 1px #111;
        -webkit-box-shadow: 1px 1px 1px #111;
        box-shadow: 1px 1px 1px #111;
    }

        .gridpager a:hover {
            background-color: #1e8d12;
            color: #fff;
        }

    .gridpager span {
        background-color: #ae2676;
        color: #fff;
        -moz-box-shadow: 1px 1px 1px #111;
        -webkit-box-shadow: 1px 1px 1px #111;
        box-shadow: 1px 1px 1px #111;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        padding: 5px 10px 5px 10px;
    }




.gridpager_small {
    background-color: #fff;
    padding: 2px;
    margin: 2% auto;
    border-top: 1px solid gray;
}

    .gridpager_small a {
        margin: auto 1%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        background-color: rgb(0, 138, 209);
        padding: 1px 6px 1px 6px;
        color: #fff;
        text-decoration: none;
        -moz-box-shadow: 1px 1px 1px #111;
        -webkit-box-shadow: 1px 1px 1px #111;
        box-shadow: 1px 1px 1px #111;
    }

        .gridpager_small a:hover {
            background-color: #1e8d12;
            color: #fff;
        }

    .gridpager_small span {
        background-color: #ae2676;
        color: #fff;
        -moz-box-shadow: 1px 1px 1px #111;
        -webkit-box-shadow: 1px 1px 1px #111;
        box-shadow: 1px 1px 1px #111;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        padding: 1px 6px 1px 6px;
    }

/*     table   sa div  */

.ttable_wrap100 {
    width: 100%;
}

.ttable_wrap50 {
    width: 50%;
    min-width: 500px;
}

.ttable_fieldset {
    display: table;
    width: 100%;
    padding: 0.5em;
    border-collapse: separate;
    border-spacing: 0.8em;
}

.ttable {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.2em;
}

    .ttable.fixed {
        table-layout: fixed;
    }


.trow {
    display: table-row;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
}

.tcell50 {
    display: table-cell;
    width: 50% !important;
    max-width: 600px;
    min-width: 400px;
}

.tcell33 {
    display: table-cell;
    width: 33% !important;
}

.tcell66 {
    display: table-cell;
    width: 66% !important;
}

    .tcell66 textarea {
        width: 66%;
        min-height: 5em;
    }

.tcell100 {
    display: table-cell;
    width: 100% !important;
}

.fieldset {
    border: 1px solid #ccc;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    padding: 0 1em 1em 1em;
}

.fieldset_no_border {
    width: 100%;
    padding: 0 1em 1em 1em;
}

.fieldset h1 {
    font-size: 1em;
    text-align: left;
    margin-left: 2em;
}

    .fieldset h1 span {
        display: inline;
        background: #fff;
        padding: 0 1em;
        position: relative;
        top: -1.3em;
    }

.vtop {
    vertical-align: top;
}


.smalltable {
    border-collapse: collapse;
}

    .smalltable th {
        background-color: lightgray;
        padding: 2px;
    }

    .smalltable tr:nth-child(2n) {
        background-color: #FFFFFF;
    }

    .smalltable tr:nth-child(2n+1) {
        background-color: #F1F1F1;
    }

.chooser-div, .numeric, .PopUpOrganizacija, .PopupPlanVeza, .FilterSifraTextBox, .LoadingImage, .FilterAnomenDropDownList {
    /*empty classes for javascript use*/
    z-index: 1;
}

.form-group {
    margin-bottom: 1rem;
    display: block;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
    }

/*.form-control::placplaceholder {
        color: #6c757d;
        opacity: 1;
    }*/


.login-form {
    width: 350px;
    margin: 0 auto;
    padding-top: 2em;
}

    .login-form .div-frame {
        margin-bottom: 15px;
        background: #f7f7f7;
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
        padding: 30px;
    }

    .login-form h2 {
        margin: 0 0 15px;
    }

    .login-form .form-control, .login-form .login-button, .login-form .half-button {
        min-height: 38px;
        border-radius: 4px;
    }

    .login-form .half-button {
        width: 49%;
        display: inline-block;
    }

    .login-form .login-button, .login-form .half-button {
        background-color: #008AD1;
        border: 0;
        color: #FFF;
    }


        .login-form .login-button:hover, .login-form .half-button:hover {
            cursor: pointer;
            opacity: 0.9;
        }





.nowrap {
    white-space: nowrap;
}


.max-width100p {
    max-width: 100%;
}

.width300 {
    width: 300px;
}

.width350 {
    width: 350px;
}

.width200 {
    width: 200px;
}

.width150 {
    width: 150px;
}

.width100 {
    width: 100px;
}

.width50 {
    width: 50px;
}


.width300p {
    width: 300%;
}

.width250p {
    width: 250%;
}

.width200p {
    width: 200%;
}

.width100p {
    width: 100%;
}

.width80p {
    width: 80%;
}

.width70p {
    width: 70%;
}

.width60p {
    width: 60%;
}

.width50p {
    width: 50%;
}

.width40p {
    width: 40%;
}

.width30p {
    width: 30%;
}

.width20p {
    width: 20%;
}

.clearfix::after .clear::after {
    display: block;
    clear: both;
    content: "";
}


.b0 {border-width: 0}

.p0 {padding: 0}

.p1 {
    padding: .5rem
}

.p1-b {
    padding-bottom: .5rem
}

.p1-l {
    padding-left: .5rem
}


.p2 {
    padding: 1rem
}

.p2-b {
    padding-bottom: 1rem
}

.p2-l {
    padding-left: 1rem
}


.bold {
    font-weight: bold
}

.text-center {
    text-align: center;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

.inline-block {
    display: inline-block;
}
.block {
    display: block;
}