﻿/*.navbar-nav-main > li > a
    Bootstrap overrides
*/


@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 128px auto;
    }
}

/***
Customized Bootstrap Tables
***/
/***
Default table
***/
.table.table-bordered thead > tr > th {
    border-bottom: 0;
}

.table tr.heading > th {
    background-color: #eee !important;
}

.table td .img-responsive {
    width: 100%;
}

#admin-buttons {
    border-radius: 0.15px;
}


/* Contextual table row variants */
.table > thead > tr > td.active,
.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th {
    background: #a6c8e6;
    color: #132339;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
    background: #92bce0;
}

.table > thead > tr > td.success,
.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th {
    background: lightcyan;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
    background: #d0e9c6;
}

.table > thead > tr > td.info,
.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th {
    background: #d9edf7;
    color: #31708f;
}

.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
    background: #c4e3f3;
}

.table > thead > tr > td.warning,
.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th {
    background: #B4B7BA;

}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
    background: #faf2cc;
}

.table > thead > tr > td.danger,
.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th {
    background: #f2dede;
    color: #a94442;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
    background: #ebcccc;
}

/***
Responsive & Scrollable Tables
***/

/*#layout *, #layoutBottom *, #header-mobile * {
    color: white;
}*/
#titleBar > span.title > img {
    height: 2em;
}

li.dropdown:nth-child(3) > a:nth-child(1),
li.dropdown:nth-child(4) > a:nth-child(1),
#layoutBottom > li:nth-child(5) > a:nth-child(1),
li.hidden-xs > a:nth-child(1),
#layoutBottom > li:nth-child(6) > a:nth-child(1),
#layout > li:nth-child(1) > a:nth-child(1) {
    color: white;
}

.table-scrollable {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dddddd;
    margin: 10px 0 !important;
}

    .table-scrollable.table-scrollable-borderless {
        border: 0;
    }

    .table-scrollable > .table {
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 0;
        background-color: #fff;
    }

        .table-scrollable > .table > thead > tr > th,
        .table-scrollable > .table > tbody > tr > th,
        .table-scrollable > .table > tfoot > tr > th,
        .table-scrollable > .table > tfoot > tr > th,
        .table-scrollable > .table > tfoot > tr > td {
            white-space: nowrap;
        }

    .table-scrollable > .table-bordered {
        border: 0;
    }

        .table-scrollable > .table-bordered > thead > tr > th:first-child,
        .table-scrollable > .table-bordered > tbody > tr > th:first-child,
        .table-scrollable > .table-bordered > tfoot > tr > th:first-child,
        .table-scrollable > .table-bordered > thead > tr > td:first-child,
        .table-scrollable > .table-bordered > tbody > tr > td:first-child,
        .table-scrollable > .table-bordered > tfoot > tr > td:first-child {
            border-left: 0;
        }

        .table-scrollable > .table-bordered > thead > tr > th:last-child,
        .table-scrollable > .table-bordered > tbody > tr > th:last-child,
        .table-scrollable > .table-bordered > tfoot > tr > th:last-child,
        .table-scrollable > .table-bordered > thead > tr > td:last-child,
        .table-scrollable > .table-bordered > tbody > tr > td:last-child,
        .table-scrollable > .table-bordered > tfoot > tr > td:last-child {
            border-right: 0;
        }

        .table-scrollable > .table-bordered > thead > tr:last-child > th,
        .table-scrollable > .table-bordered > tbody > tr:last-child > th,
        .table-scrollable > .table-bordered > tfoot > tr:last-child > th,
        .table-scrollable > .table-bordered > thead > tr:last-child > td,
        .table-scrollable > .table-bordered > tbody > tr:last-child > td,
        .table-scrollable > .table-bordered > tfoot > tr:last-child > td {
            border-bottom: 0;
        }

/***
Responsive Flip Scroll Tables
***/
.flip-scroll table {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    /* 768px */
    .flip-scroll .flip-content:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    .flip-scroll * html .flip-content {
        zoom: 1;
    }

    .flip-scroll *:first-child + html .flip-content {
        zoom: 1;
    }

    .flip-scroll table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .flip-scroll th,
    .flip-scroll td {
        margin: 0;
        vertical-align: top;
    }

    .flip-scroll th {
        text-align: left;
        border: 0 !important;
        border-bottom: 1px solid #ddd !important;
        border-right: 1px solid #ddd !important;
        font-size: 13px !important;
        padding: 5px;
        width: auto !important;
    }

    .flip-scroll table {
        display: block;
        position: relative;
        width: 100%;
    }

    .flip-scroll thead {
        display: block;
        float: left;
    }

    .flip-scroll tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }

    .flip-scroll thead tr {
        display: block;
    }

    .flip-scroll th {
        display: block;
        text-align: right;
    }

    .flip-scroll tbody tr {
        display: inline-block;
        vertical-align: top;
        margin-left: -5px;
    }

    .flip-scroll td {
        display: block;
        min-height: 1.25em;
        text-align: left;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    /* sort out borders */
    .flip-scroll th {
        border-bottom: 0;
        border-left: 0;
    }

    .flip-scroll td {
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .flip-scroll tbody tr {
        border-left: 1px solid #ddd;
    }

    .flip-scroll th:last-child,
    .flip-scroll td:last-child {
        border-bottom: 1px solid #ddd;
    }
}
/***
Custom tables
***/
.table-toolbar {
    margin-bottom: 15px;
}

    .table-toolbar:before, .table-toolbar:after {
        content: " ";
        display: table;
    }

    .table-toolbar:after {
        clear: both;
    }

.table.table-full-width {
    width: 100% !important;
}

.table .btn {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 5px;
}

.table thead tr th {
    font-size: 14px;
    font-weight: 600;
}

.table-advance {
    margin-bottom: 10px !important;
}

    .table-advance thead {
        color: #999;
    }

        .table-advance thead tr th {
            background-color: #DDD;
            font-size: 14px;
            font-weight: 400;
            color: #666;
        }

    .table-advance div.success,
    .table-advance div.info,
    .table-advance div.important,
    .table-advance div.warning,
    .table-advance div.danger {
        position: absolute;
        margin-top: -5px;
        float: left;
        width: 2px;
        height: 30px;
        margin-right: 20px !important;
    }

    .table-advance tr td {
        border-left-width: 0px;
    }

        .table-advance tr td:first-child {
            border-left-width: 1px !important;
        }

        .table-advance tr td.highlight:first-child a {
            margin-left: 15px;
        }

    .table-advance td.highlight div.primary {
        border-left: 2px solid #428bca;
    }

    .table-advance td.highlight div.success {
        border-left: 2px solid #45B6AF;
    }

    .table-advance td.highlight div.info {
        border-left: 2px solid #89C4F4;
    }

    .table-advance td.highlight div.warning {
        border-left: 2px solid #dfba49;
    }

    .table-advance td.highlight div.danger {
        border-left: 2px solid #F3565D;
    }

@media (max-width: 767px) {
    /* 767px */
    .table-advance tr > td.highlight:first-child a {
        margin-left: 8px;
    }
}
/***
Light Table
***/
.table.table-light {
    border: 0 !important;
}

    .table.table-light > thead > tr:hover > th {
        background: none;
    }

    .table.table-light > thead > tr.uppercase {
        text-transform: uppercase;
    }

    .table.table-light > thead > tr > th {
        font-weight: 600;
        font-size: 13px;
        color: #93a2a9;
        font-family: "Raleway", sans-serif;
        border: 0;
        border-bottom: 1px solid #F2F5F8;
    }

    .table.table-light > tbody > tr:last-child > td {
        border: 0;
    }

    .table.table-light > tbody > tr > td {
        border: 0;
        border-bottom: 1px solid #F2F5F8;
        color: #8896a0;
        vertical-align: middle;
    }

        .table.table-light > tbody > tr > td.fit {
            width: 1px;
            padding-right: 3px;
        }

        .table.table-light > tbody > tr > td .user-pic {
            display: inline-block;
            vertical-align: middle;
            height: 30px;
            -webkit-border-radius: 100%;
            -moz-border-radius: 100%;
            -ms-border-radius: 100%;
            -o-border-radius: 100%;
            border-radius: 100%;
        }

    .table.table-light.table-hover > tbody > tr > td:hover,
    .table.table-light.table-hover > tbody > tr > th:hover, .table.table-light.table-hover > tbody > tr:hover > td, .table.table-light.table-hover > tbody > tr:hover > th {
        background: #f9fafb;
    }


/***
Responsive Flip Scroll Tables
***/

.table-scrollable {
    font-size: 13px;
}

    .table-scrollable table td {
        font-size: 13px;
    }

    .table-scrollable table th {
        font-family: 'Raleway';
        background-color: #ffffff;
        color: white;
        font-size: 13px;
        font-weight: 700;
        padding: 8px;
        text-align: left;
    }

        .table-scrollable table th a {
            font-weight: 700;
            text-decoration: none;
        }

    .table-scrollable table td {
        font-family: "Raleway";
        color: #333333;
        background-color: transparent;
        font-size: 13px;
        font-weight: 400;
        padding: 8px;
        text-align: left;
        text-decoration: none;
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-scrollable .grid-pager {
    text-align: center;
}

.table-scrollable .grid-dropdown {
    left: -102px;
}

.table-scrollable table.grid-table .grid-filter-btn.filtered {
    /*background: none;*/
}

.table-scrollable {
    border: none;
}

.row + .row > * {
    padding: 0 15px;
}

table.view-table td {
    font-size: 14px;
}

table.view-table > tbody > tr > td {
    text-align: left;
    padding: 10px 16px 6px 16px;
}

table.view-table td:first-child {
    text-align: right;
    font-weight: bold;
}

.button-toolbar {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.right {
    text-align: right;
}

.row-offset-16 {
    margin-top: 16px;
}

.row-offset-32 {
    margin-top: 32px;
}

body .list-group > a {
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}

.form-group > label {
    font-family: "Raleway";
    text-align: right;
}



/*Novo*/
#navbar-top {
    margin: 0;
    background: none;
    background-color: black;
}

.navbar-nav-user .open > a,
.navbar-nav-user .open > a:hover,
.navbar-nav-user .open > a:focus,
.navbar-nav-main .open > a,
.navbar-nav-main .open > a:hover,
.navbar-nav-main .open > a:focus {
    background-color: transparent;
    border-color: #337ab7;
}

.navbar-nav-user > li > a:hover,
.navbar-nav-user > li > a:focus,
.navbar-nav-main > li > a:hover,
.navbar-nav-main > li > a:focus {
    background-color: transparent;
}

/********************* IZMJENE GORNJIH LINKOVA***************/

@media (max-width: 768px) {
    #header-mobile li {
        float: right;
    }

    #navbar-top .navbar-brand img {
        height: 20px;
        width: auto;
        height: 40px
    }
}

/*dodan div s novom klasom*/
/*sa 10px na 20px radi novog logoa*/
.gornji {
    line-height: 10px;
    margin-top: 35px;
}

/*izbaćeno iz admin-reset.css i tu dodano*/
a#logo img {
    display: unset;
    width: 250px;
}

/*prebrikano iz reset.css*/
.navbar-brand {
    padding: 15px;
}

/************************************************************/

.navbar-nav-main > li > a {
    color: #333;
    /*font-weight: 700;*/
}

@media (min-width: 768px) {
    .navbar-nav-user > li > a,
    .navbar-nav-main > li > a {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

#user-container h1 {
    font-family: "Neuton";
    margin-top: 6px;
    margin-bottom: 10px;
}

#main-wrapper {
    padding: 24px 0;
    background: #F7f7f7;
    background-attachment: fixed;
    background-image: url('/Content/erdesign/css/images/bg.svg');
    background-position: center center;
    background-repeat: repeat;
}

.navbar-div {
    overflow: hidden;
}

.status10 {
    background-color: #d9edf7;
}

.status30 {
    background-color: #fcf8e3;
}

.status40 {
    background-color: #dff0d8;
}

.status45 {
    background-color: #85c557;
}

.status50 {
    background-color: #f2dede;
}

#footer-menu .nav,
#footer-menu .nav > li {
    float: none;
    display: inline-block;
    *display: inline; /* ie7 fix */
    *zoom: 1; /* hasLayout ie7 trigger */
    vertical-align: top;
}

#footer-menu > div {
    margin-top: 25px;
    text-align: center;
}

.advanced-search {
    display: none;
}

.advanced-search-toggle {
    display: block;
    padding: 0 0 10px;
}

.highlight {
    padding: 9px 14px;
    margin-bottom: 14px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    font-size: 13px;
    line-height: 20px;
}
