﻿@media print {
    @page {
        size: auto !important
    }
}

html {
    font-size: 12px;
    min-width: 550px;
}

ul {
    padding: 0;
}

/*login*/
.lang_select ul li {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
    padding-left: .8rem;
}

.lang_select li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5rem;
    width: .5rem !important;
    height: .5rem !important;
    background-color: darkred;
}

.login-form {
    width: 350px;
    margin: 50px auto;
    padding-top: 4em;
}

    .login-form form {
        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 .btn {
        min-height: 38px;
        border-radius: 2px;
    }

.animate {
    animation: animatezoom 1s;
}

@keyframes animatezoom {
    from {
        margin-top: -800px;
        transform: scale(0)
    }

    to {
        margin-top: 0;
        transform: scale(1);
    }
}
/*end login*/

#cookiealert.modal.fade .modal-dialog {
    transform: translate3d(0, 100vh, 0);
    transition: transform 1s ease-out;
}

#cookiealert.modal.show .modal-dialog {
    transform: translate3d(0, 0, 0);
    transition: transform 1s ease-out;
}

/*left sined nav menu*/

.wrapper {
    display: block;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: auto;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

    #sidebar.active {
        left: 0;
    }

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

    #dismiss:hover {
        background: #fff;
        color: #7386D5;
    }

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: gray;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .overlay.active {
        display: block;
        opacity: 1;
    }

#sidebar H3 {
    padding-left: 1rem;
}

#sidebar .sidebar-header {
    padding: 2rem;
    background: #6d7fcc;
}

#sidebar ul p {
    color: #fff;
    padding: .5rem;
}

#sidebar ul li a {
    padding: .5rem;
    font-size: 1.1rem;
    display: block;
    background: #7386D5;
    color: #fff;
    text-decoration: none;
}

    #sidebar ul li a:hover {
        color: #7386D5;
        background: #fff;
    }

#sidebar ul li.active > a,
#sidebar a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 1rem !important;
    padding-left: 1rem !important;
    background: #6d7fcc;
}

#sidebar ul ul ul a {
    font-size: .8rem !important;
    padding-left: 2rem !important;
    background: #6d7fcc;
}

/* submenu fix for bootstrap*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

    .dropdown-submenu .dropdown-menu-right {
        top: 0;
        left: 0;
        margin-left: .1rem;
        margin-right: .1rem;
    }

    .dropdown-submenu .active-language {
        font-weight: bold;
    }

    .dropdown-submenu .inactive-language {
        font-weight: normal;
    }

/* form control f2list*/

.form-control-f2container {
    position: absolute;
    max-height: 2rem;
    max-height: calc(2rem * 12);
    min-height: 2rem;
    max-width: 400px;
    min-width: 100%;
    width: 200%;
    height: auto;
}

.form-control-f2list {
    position: relative;
    width: 100%;
    max-height: calc(2rem * 9);
}

    .form-control-f2list .f2header {
        height: 2rem;
    }

    .form-control-f2list .f2list {
        overflow-y: scroll;
        max-height: calc(2rem * 8);
    }

        .form-control-f2list .f2list a:hover {
            background-color: #e9ecef;
        }

    .form-control-f2list .pager {
        top: 0;
        height: 2rem;
        width: 100%;
    }

    .form-control-f2list .hover:hover {
        background-color: #e9ecef;
        cursor: pointer;
    }

.fa-home {
    font-size: large;
    color: dodgerblue;
}

tr.group, tr.group:hover {
    background-color: #ddd !important;
    font-weight: bold;
}

/*bootstrap overrides/addons*/

.card-header-slim {
    padding-top: .15rem;
    padding-bottom: .15rem;
}

textarea.form-control {
    min-height: calc(1.5em + .75rem + 2px);
}

.text-blend {
    color: gray;
    mix-blend-mode: difference;
}

.info-zabrana {
    padding: .7em;
    margin: 0.7em 0 0.7em 0;
    border-radius: .5em;
    border: 1px solid darkgray;
    text-align: left;
    vertical-align: text-top;
    background-color: red;
    color: white;
    font-weight: bold;
}

.active-tick a::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    float: right;
}

/* table column auto fit*/
.table td.fit-vcenter,
.table th.fit-vcenter {
    white-space: nowrap;
    width: 1%;
    flex: 0;
    margin: auto .25rem auto .25rem;
}

html, body {
    height: 100%
}

#page-wrapper {
    min-height: 100%;
    position: relative;
}

#page-content {
    padding-bottom: 2.5rem;
}

#page-footer {
    color: whitesmoke;
    background-color: #545454;
    bottom: 0;
    height: 2.5rem;
    left: 0;
    position: absolute;
    right: 0;
    padding: 0.5rem;
}

#footer-wrapper {
    text-align: center;
}

.text-invert {
    margin: 0;
    background: inherit;
    /* ReSharper disable once InvalidValue */
    background-clip: text;
    color: transparent;
    filter: invert(1) grayscale(1) contrast(20)
}

.dataTables_wrapper .page-item.active .page-link {
    background: linear-gradient(white, lightgray) !important;
    color: inherit;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover {
    background: none;
    border-color: transparent;
}

.dataTables_wrapper .dataTables_processing {
    height: 60px !important;
}

    .dataTables_wrapper .dataTables_processing .fa-spinner {
        margin-top: -15px;
    }

.table td, .table th {
    vertical-align: middle;
}

.table .input-group {
    width: auto;
}

.btn-status {
    width: 10rem;
    margin-right: 1em;
    margin-bottom: 1em;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.check-group, .check-all {
    margin-right: 0.8rem;
}

.dt-buttons {
    margin-right: 0.8rem;
    padding-bottom: .5em;
}

    .dt-buttons .buttons-html5 {
        margin-right: 0.4rem;
    }

        .dt-buttons .buttons-html5.buttons-copy:before {
            font-family: "FontAwesome";
            font-weight: 400;
            content: "\f0c5";
            margin-right: 0.4rem;
        }

        .dt-buttons .buttons-html5.buttons-csv:before {
            font-family: "FontAwesome";
            font-weight: 400;
            content: "\f0ce";
            margin-right: 0.4rem;
        }

    .dt-buttons .buttons-print:before {
        font-family: "FontAwesome";
        font-weight: 400;
        content: "\f02f";
        margin-right: 0.4rem;
    }

table.dataTable thead th, table.dataTable thead td {
    padding-left: 10px !important;
}

.dataTables_length select, .dataTables_filter input {
    display: inline-block;
    width: auto;
}

.rd-neradni {
    background-color: gainsboro;
    color: darkred;
}

.rd-praznik {
    background-color: lightcyan;
    color: darkred;
}

.rd-iznimka {
    font-weight: bold;
    background-color: lightgray;
    margin: -.75rem;
    padding: .75rem;
}

.rdc-dan {
    text-align: center;
}

.rd-danas {
    border-left: 2px solid red !important;
    border-right: 2px solid red !important;
}

.centercol {
    text-align: center;
}

.vrsta-rada {
    padding: 4px;
    margin: 4px;
    font-weight: bold;
    display: inline-block;
}

.kalendar-tjedan {
    font-size: larger;
    font-weight: bolder;
}

.kalendar-danas {
    outline: 3px solid red;
}

.kalendar-neradni-head {
    color: darkred;
}

/*.row-put, .row-sk, .row-sk-put {
    cursor: pointer;
}*/

.row-put img, .row-sk img, .row-sk-put img {
    cursor: grab;
}

table tr td a.btn-hover-visible {
    visibility: hidden;
}

table tr td:hover a.btn-hover-visible {
    visibility: visible;
}

.niski-red {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.erveviden-stavka {
    position: absolute;
    padding: 5px;
    margin: 0;
    border: 1px dotted black;
    width: 240px;
    overflow: auto;
}

.erveviden-stavka-tjedno {
    position: absolute;
    padding: 5px;
    margin: 0;
    border: 1px dotted black;
    width: auto;
    max-width: 140px;
    overflow: auto;
}

.vrijeme-trenutno {
    position: absolute;
    border: 1px solid red;
    height: 1px;
    left: 15px;
    right: 15px;
    z-index: 999;
}

.vtt {
    position: absolute;
    border: 1px solid red;
    height: 1px;
    z-index: 999;
}

.bootstrap-select.form-control.dropdown {
    border: 1px solid #ced4da;
}

.bootstrap-select button.btn.btn-light {
    background-color: #fff;
    cursor: default;
}

    .bootstrap-select button.btn.btn-light.dropdown-toggle:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
        background-color: #fff !important;
    }

    .bootstrap-select button.btn.btn-light.dropdown-toggle:active {
        background-color: #fff !important;
    }

.bootstrap-select button.dropdown-toggle:focus {
    outline: 0 !important;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder {
    color: rgb(73, 80, 87) !important;
}

.kal-tab {
    height: 1px;
}

.kal-tr {
    height: 100%;
}

.kal-dan-td {
    padding: 0 !important;
    height: 100%;
}

.kal-dan-div {
    font-weight: bold;
    height: 100%;
    width: 100%;
    padding: .4rem;
}

.dots {
    outline: 2px gray dotted;
}

.kal-dan-broj {
    margin: -.5rem;
    margin-bottom: .5rem;
    font-size: large;
    border-bottom: 1px dotted black;
}

.kal-dan-cell {
    vertical-align: top !important;
    padding: .1rem !important;
    border: 1px dotted black !important;
    min-height: 7rem;
}

.prisutno {
    color: green;
}

.odsutno {
    color: red;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90%;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 80%;
    }
}

.bottom-0 {
    bottom: 0;
}

#table-statistika-list_wrapper,
#table-zahtjev-list_wrapper {
    overflow: auto;
}

#table-statistika-list,
#table-zahtjev-list {
    min-width: 550px;
}

/*clearfix*/
.group::before,
.group::after {
    content: "";
    display: table;
}

.group::after {
    clear: both;
}

.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
/*clearfix*/



@media screen and (max-width: 768px) {
    div.dt-buttons /*,
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter*/ {
        float: none !important;
        text-align: center !important;
        margin-top: 0.5em;
    }
}



.gumbi a {
    margin-top: .5em;
}