﻿body {
    padding-top: 43px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 15px;
    padding-top: 20px;
}

.page-header {
    margin-top: 0px;
}
/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.right-side,
.left-side {
    min-height: 100%;
    display: block;
}
/*right side - contins main content*/
.right-side {
    background-color: #f9f9f9;
    margin-left: 220px;
}
/*left side - contains sidebar*/
.left-side {
    position: absolute;
    width: 220px;
    /*top: 0;*/
}

.left-side {
    display: block;
    transition: all 0.4s ease 0s;
}

.content-body {
    display: block;
    transition: all 0.4s ease 0s;
}

.left-side-collapsed {
    display: block;
    margin-left: -220px;
    transition: all 0.4s ease 0s;
}

.content-collapsed {
    display: block;
    margin-left: -205px;
    transition: all 0.4s ease 0s;
}

.side-toggle {
    position: absolute;
    right: -13px;
    top: 0px;
}

.sidebar {
    margin-bottom: 5px;
}

    .sidebar .sidebar-form input:focus {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-color: transparent !important;
    }

    .sidebar .sidebar-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .sidebar .sidebar-menu > li {
            margin: 0;
            padding: 0;
        }

            .sidebar .sidebar-menu > li > a {
                padding: 12px 5px 12px 15px;
                display: block;
            }

                .sidebar .sidebar-menu > li > a:hover,
                .sidebar .sidebar-menu > li > a:active,
                .sidebar .sidebar-menu > li > a:focus {
                    outline: none;
                    text-decoration: none;
                }

                .sidebar .sidebar-menu > li > a > .fa,
                .sidebar .sidebar-menu > li > a > .glyphicon,
                .sidebar .sidebar-menu > li > a > .ion {
                    width: 20px;
                }

        .sidebar .sidebar-menu .treeview-menu {
            display: none;
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .sidebar .sidebar-menu .treeview-menu > li {
                margin: 0;
            }

                .sidebar .sidebar-menu .treeview-menu > li > a {
                    padding: 5px 5px 5px 15px;
                    display: block;
                    font-size: 14px;
                    margin: 0px 0px;
                }

                    .sidebar .sidebar-menu .treeview-menu > li > a > .fa,
                    .sidebar .sidebar-menu .treeview-menu > li > a > .glyphicon,
                    .sidebar .sidebar-menu .treeview-menu > li > a > .ion {
                        width: 20px;
                    }

.skin-blue .sidebar {
    border-bottom: 1px solid #fff;
}

    .skin-blue .sidebar > .sidebar-menu > li {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #dbdbdb;
        border-right: 1px solid #dbdbdb;
    }

        .skin-blue .sidebar > .sidebar-menu > li:first-of-type {
            border-top: 1px solid #dbdbdb;
        }

            .skin-blue .sidebar > .sidebar-menu > li:first-of-type > a {
                border-top: 1px solid #fff;
            }

        .skin-blue .sidebar > .sidebar-menu > li > a {
            margin-right: 1px;
        }

            .skin-blue .sidebar > .sidebar-menu > li > a:hover,
            .skin-blue .sidebar > .sidebar-menu > li.active > a {
                color: #222;
                background: #f9f9f9;
            }

        .skin-blue .sidebar > .sidebar-menu > li > .treeview-menu {
            margin: 0 1px;
            background: #f9f9f9;
        }

.skin-blue .left-side {
    background: #f4f4f4;
    -webkit-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.07);
}

.skin-blue .sidebar a {
    color: #555555;
}

    .skin-blue .sidebar a:hover {
        text-decoration: none;
    }

.skin-blue .treeview-menu > li > a {
    color: #777;
}

    .skin-blue .treeview-menu > li.active > a,
    .skin-blue .treeview-menu > li > a:hover {
        color: #111;
    }

.skin-blue .sidebar-form {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #dbdbdb;
    margin: 10px 10px;
}

    .skin-blue .sidebar-form input[type="text"],
    .skin-blue .sidebar-form .btn {
        box-shadow: none;
        background-color: #fafafa;
        border: 1px solid #fafafa;
        height: 35px;
    }

    .skin-blue .sidebar-form input[type="text"] {
        color: #666;
        -webkit-border-top-left-radius: 2px !important;
        -webkit-border-top-right-radius: 0 !important;
        -webkit-border-bottom-right-radius: 0 !important;
        -webkit-border-bottom-left-radius: 2px !important;
        -moz-border-radius-topleft: 2px !important;
        -moz-border-radius-topright: 0 !important;
        -moz-border-radius-bottomright: 0 !important;
        -moz-border-radius-bottomleft: 2px !important;
        border-top-left-radius: 2px !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 2px !important;
    }

        .skin-blue .sidebar-form input[type="text"]:focus,
        .skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
            background-color: #fff;
            color: #666;
        }

            .skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
                border-left-color: #fff;
            }

    .skin-blue .sidebar-form .btn {
        color: #999;
        -webkit-border-top-left-radius: 0 !important;
        -webkit-border-top-right-radius: 2px !important;
        -webkit-border-bottom-right-radius: 2px !important;
        -webkit-border-bottom-left-radius: 0 !important;
        -moz-border-radius-topleft: 0 !important;
        -moz-border-radius-topright: 2px !important;
        -moz-border-radius-bottomright: 2px !important;
        -moz-border-radius-bottomleft: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 2px !important;
        border-bottom-right-radius: 2px !important;
        border-bottom-left-radius: 0 !important;
    }

.btn.btn-default.fa {
    box-shadow: none;
    background-color: initial;
}

    .btn.btn-default.fa:hover {
        color: #2196f3;
        background-color: initial;
    }

#opposingType select {
    display: inline-block;
}

form-group.rezultat {
    margin-top: 23px;
    margin-bottom: 23px;
    border: 0;
    border-top: 1px solid #eeeeee;
}

#addItemService {
    float: right;
    margin-right:200px;
}

#changeItemService {
    padding: 1px;
    margin-left: 15px;
}

#deleteItemService {
    padding: 1px;
}

#servicetable td {
    border: 1px #000 solid;
    padding: 5px;
    cursor: pointer;
}

#servicetable th {
    border: 1px #000 solid;
    padding: 5px;
}

#servicetable .selected {
    background-color: #DDD;
}

#editorRowsServices .well {
    border-bottom: 1px solid #eee;
}

.table.table-bordered.adresses {
    overflow: scroll;
    display: block;
    border: 0;
}

    .table.table-bordered.adresses td {
        min-width: 180px;
    }

    .table.table-bordered.adresses th {
        border-top: 1px solid #ddd !important;
        min-width: 180px;
    }

@media only screen and (max-width: 992px) {
    .table.table-bordered.invoice-table {
        display: block;
        overflow: scroll;
    }

        .table.table-bordered.invoice-table td {
            min-width: 180px;
        }

    .table.table-bordered.invoice-payments {
        display: block;
        overflow: scroll;
        border: 0;
    }

        .table.table-bordered.invoice-payments td {
            min-width: 180px;
        }

        .table.table-bordered.invoice-payments th {
            border-top: 1px solid #ddd !important;
        }
}


.e-rowcell.e-templatecell.e-selectionbackground.e-active span a {
    color: #fff;
}


@media only screen and (max-width: 1199px) {
    .e-rowcell.e-templatecell a {
        padding: 6px 8px !important;
    }

    #dashboard-container .col-md-6 {
        width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    .content-body-collapsed {
        display: block;
        margin-left: -205px;
        transition: all 0.4s ease 0s;
    }

    .left-side-collapsed {
        display: block;
        margin-left: -220px;
        transition: all 0.4s ease 0s;
    }
}

@media only screen and (min-width: 992px) {
    .left-side {
        display: block;
        transition: all 0.4s ease 0s;
    }

    .content-body {
        display: block;
        transition: all 0.4s ease 0s;
    }
}

@media only screen and (min-width:480px) and (max-width:959px) {
    .e-rowcell.e-templatecell a {
        padding: 5px !important;
    }

    .e-grid .e-table-priority-3,
    .e-grid .e-table-priority-2 {
        display: none !important;
    }

    .e-filterbar {
        display: none;
    }

    .e-grid .e-rowcell {
        white-space: unset;
    }
}

@media only screen and (max-width:767px) {
    .e-parentmsgbar span {
        display: none;
    }

    /*GRID*/
    .e-grid.e-responsive > [id*='Dlg_wrapper'] {
        width: 130px !important;
    }

    .e-grid.e-responsive .e-rowcell {
        display: block;
        height: 27px;
        text-align: left !important;
    }

    .e-grid.e-responsive .e-gridcontent .e-ejinputtext {
        display: block;
    }

    .e-grid.e-responsive .e-gridcontent td:before {
        content: attr(data-cell);
        top: 6px;
        left: 13px;
        width: 45%;
        white-space: nowrap;
        position: absolute;
        padding-right: 10px;
        font-weight: bolder;
    }

    .e-grid.e-responsive .e-table, .e-grid.e-responsive .e-table tbody, .e-grid.e-responsive .e-table tr, .e-grid.e-responsive .e-table td {
        display: block !important;
    }

    .e-grid.e-responsive .e-gridcontent td[data-cell] {
        position: relative;
        padding-left: 55%;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .e-grid.e-responsive .e-gridcontent .e-normaledit .e-rowcell {
        padding-left: 1%;
        padding-right: 1%;
        height: auto !important;
        border-top-width: 0;
    }

        .e-grid.e-responsive .e-gridcontent .e-normaledit .e-rowcell:before {
            position: static;
            bottom: 6px;
        }

    .e-grid.e-responsive .e-gridheader {
        border-bottom-width: 0;
    }

    .e-grid.e-responsive .e-inlineformedit .e-editform-btn {
        float: none;
    }

    .e-grid.e-responsive > .e-gridheader {
        display: none;
    }

    .e-grid.e-responsive .e-rowcell {
        border-width: 0;
        padding: 0;
        line-height: normal;
        white-space: normal;
        width: auto;
        vertical-align: middle;
    }

    .e-grid.e-responsive .e-inlineformedit .e-label {
        text-align: left !important;
    }

        .e-grid.e-responsive .e-inlineformedit .e-label,
        .e-grid.e-responsive .e-inlineformedit .e-label *:first-child,
        .e-grid.e-responsive .e-inlineformedit .e-rowcell,
        .e-grid.e-responsive .e-inlineformedit .e-rowcell *:first-child,
        .e-grid.e-responsive .e-inlineformedit form div {
            width: 100% !important;
        }

    .e-grid.e-responsive .e-inlineformedit .e-editform-btn {
        padding-top: 13px;
    }

        .e-grid.e-responsive .e-inlineformedit .e-editform-btn input:first-child {
            margin-left: 20px !important;
        }

    .e-grid.e-responsive, .e-grid.e-responsive .e-rowcell {
        font-size: 12px;
        font-family: segoe ui;
    }

        .e-grid.e-responsive .e-pager {
            position: relative;
            height: 38px;
            margin-bottom: -5px;
            font-family: segoe ui;
        }

            .e-grid.e-responsive .e-pager .e-parentmsgbar {
                position: absolute;
                top: 0;
                padding-top: 0;
                margin-left: 24%;
            }

            .e-grid.e-responsive .e-pager .e-pagercontainer {
                position: absolute;
                bottom: 0;
                margin-left: 16%;
                margin-bottom: 5px;
            }

            .e-grid.e-responsive .e-pager .e-PP, .e-grid.e-responsive .e-pager .e-NP {
                display: none !important;
            }

        .e-grid.e-responsive,
        .e-grid.e-responsive .e-gridcontent td.e-rowcell,
        .e-grid.e-responsive .e-gridcontent,
        .e-grid.e-responsive .e-gridcontent table,
        .e-grid.e-responsive .e-gridcontent table tr {
            -ms-touch-action: auto !important;
            touch-action: auto !important;
        }

            .e-grid.e-responsive .e-toolbaricons.e-searchfind {
                padding-left: 0px !important;
            }

            .e-grid.e-responsive .e-gridcontent.e-scroller {
                -ms-touch-action: none !important;
                touch-action: none !important;
            }

            .e-grid.e-responsive td.e-rowcell {
                border-bottom-width: 1px;
                border-bottom-style: solid;
            }

    .e-grid .e-gridcontent .e-normaledit td.e-rowcell {
        border-bottom-width: 0;
        height: auto !important;
        border-bottom-style: solid;
    }

    .e-grid.e-responsive .e-table > tbody > tr:last-child td:last-child {
        border-bottom-width: 0;
    }

    .e-grid.e-responsive .e-rowcell div.e-error {
        position: relative;
    }

    .e-grid:not(.e-responsive) .e-gridtoolbar .e-ejinputtext {
        width: 97px !important;
    }

    .e-rowcell.e-templatecell {
        padding-left: 0px !important;
    }

        .e-rowcell.e-templatecell span {
            position: relative;
            padding-left: 55%;
        }
}

.panel-dismissable .close, .panel-dismissible .close {
    position: relative;
    top: 2px;
    right: 4px;
    color: inherit;
}

.ui-autocomplete {
    z-index: 11000;
}