﻿/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

/* Reference classes, no implementation */
.js-waves-off, .js-waves-on, .js-get-date, .js-collapse, .js-modal-settings, .js-filter-message, .js-buttons, .js-icon-class, .js-icon-copy, .base, .needs-validation, .flex-start, .text-faded, .app-container-demo, .has-tooltip, .has-popover {
}

.js-bg-color, .js-bg-gradient, .js-bg-gradient-demo, .js-bg-target {
}



/******************************* Enter custom CSS rules for your application here ********************************/

/*#region BUTTON THEME OVERWRITE */

.btn-danger {
    background-color: rgb(231, 112, 112) !important;
    border-color: rgb(231, 112, 112) !important;
}

    .btn-danger:hover {
        background-color: rgb(221, 65, 65) !important;
        border-color: rgb(221, 65, 65) !important;
    }

/*#endregion*/


/* dodano zbog buga prilikom zatvaranja modalnog prozora (automatski dodaje desni padding od 15 px na body glavnog elementa ispod modalnog) */
body {
    padding-right: 0 !important;
    overflow: auto !important;
    height: 100%;
}

.row-items-center {
    justify-content: center;
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}

.validation-message {
    color: red !important;
}

.mr-3_5em {
    margin-right: 3.5em !important;
}

.mr-5_5rem {
    margin-right: 5.5rem !important;
}

.pl-6em {
    padding-left: 6em !important;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.w-10 {
    width: 10px !important;
}

.f-size-smaller {
    font-size: smaller;
}

.f-size-normal {
    font-size: small;
}

.text-black {
    color: black !important;
}

.text-gray {
    color: #666666 !important;
}

.font-size-xs {
    font-size: x-small;
}

.font-size-s {
    font-size: small;
}

.font-size-m {
    font-size: medium;
}

.font-size-l {
    font-size: large;
}

.font-size-xl {
    font-size: x-large;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

.mb-4pcnt {
    margin-bottom: 4% !important;
}

.mb-5pcnt {
    margin-bottom: 5% !important;
}

.radzen-modal {
    z-index: 2000 !important;
}

.div-sticky {
    position: sticky;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.msg-sticky {
    position: sticky;
    top: 10px;
    z-index: 2;
}

.pl-10 {
    padding-left: 10em !important;
}

.pl-15 {
    padding-left: 15em !important;
}

.pl-16 {
    padding-left: 16em !important;
}

.pl-19 {
    padding-left: 19em !important;
}

.pl-20 {
    padding-left: 20em !important;
}

.pl-22 {
    padding-left: 22em !important;
}

.mb-3 {
    margin-bottom: 3.6em !important;
}

/*#region NAVBAR */
.bckg-green {
    background: #84a737 !important;
}

.bckg-light-green {
    background: #f0f5e3 !important;
}

.bck-green-report {
    background-color: #bbd7bb !important;
}

.nav-link-text-subtitle {
    color: white !important;
}

.icon-subtitle {
    color: white !important;
}

/*#endregion*/

/*#region PANEL & FORM */
.btn-cst-collapse-full {
    border: 1px solid #c3c0c0;
}

.form-control-cst-input {
    height: 2.5em;
    padding: 0em 1em 0.2em 1em;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.47;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    width: 20em;
}

a[target]:not(.btn) {
    font-weight: 400;
    text-decoration: none !important;
}

a[target]:hover {
    color: black !important;
}

.f-size-tab-header {
    font-size: 0.8125rem !important;
}

.f-bold {
    font-weight: bold !important;
}

.f-medium-bold {
    font-weight: 500 !important;
}

.display-inline {
    display: inline;
}

.display-inline-block {
    display: inline-block;
}

.display-webkit-box {
    display: -webkit-box;
}

.btn-primary {
    color: white !important;
}

    .btn-primary:hover {
        color: white !important;
    }

.input_link {
    display: block;
    width: 100%;
    height: calc(1.47em + 1rem + 2px);
    padding: 0.5em 0.5em 0.5em 1em;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.47;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    background-color: #f3f3f3;
    opacity: 1;
}

a:hover {
    color: #000 !important;
    text-decoration: underline;
}

.partner-panel {
    border-bottom: 1px solid #e0e0e0;
    padding-left: 2em;
    padding-top: 1em;
    padding-bottom: 2em;
}

.panel-tab {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
 
.panel-min-height-40 {
    min-height: 40em !important;
}

.panel-min-height-44 {
    min-height: 44em !important;
}

.btn-bottom-right {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    margin-bottom: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.sub-header {
    background-color: #f3f3f3 !important;
}

.border-top-1px {
    border-top: 1px solid #666666 !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.form-group-mb-05 {
    margin-bottom: 0.5rem;
}

.prevent:disabled {
    background: #dddddd;
}


/*#endregion*/

/*#region CUSTOM CHECKBOXES */
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #9fcb3d;
    background-color: #9fcb3d;
}
/*#endregion*/

/*#region DATA TABLES */
table.dataTable > thead > tr > td {
    background-color: #444444 !important;
    color: white !important;
}

th.dt-center, td.dt-center {
    text-align: center;
}


.pagination .page-item:first-child:not(.active) .page-link,
.pagination .page-item:last-child:not(.active) .page-link,
.pagination .page-item.disabled:first-child .page-item.disabled:last-child .page-link {
    color: #444444 !important;
    border: 1px solid #444444;
    background-color: white !important;
}

.tbl-border-bottom-green-px3 {
    border-bottom: 3px solid #617a28 !important;
}

    .tbl-border-bottom-green-px3 > tr:last-child > td:last-child {
        padding-bottom: 1.5em !important;
    }

.tbl-pading-top-1_5 > tr:first-child > td {
    padding-top: 1.5em !important;
}

tr.equalization td {
    color: #d00000 !important;
}

/*#endregion*/

/*#region SEARCH FORM */
#formFilter > div > .btn-primary {
    color: white !important;
}

#btnFilter {
    color: #fff;
    background-color: #444444 !important;
    border-color: #738e34;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
}
/*#endregion*/

/*#region BTN - REQUEST STATUSES */
.btn-right-border-none {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}

.statusBlue, .statusGreen, .statusOrange, .statusRed, .statusYellow, .statusDarkGreen {
    background-image: none;
    color: white;
}

.statusBlue {
    background-color: #009ECE;
}

.statusOrange {
    background-color: #FF9E00;
}

.statusYellow {
    background-color: #F7D708;
    color: black;
}

.statusRed {
    background-color: #CE0000;
}

.statusGreen {
    background-color: #9CCF31;
}

.statusDarkGreen {
    background-color: #738e34;
}

.btn [class^="thumbs icon-"], .btn [class*="thumbs icon-"] {
    vertical-align: text-top;
}
/*#endregion */

/*#region DATA LIST HORIZONTAL */
dl {
    margin-bottom: 20px;
}

dt,
dd {
    line-height: 20px;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 10px;
}

.dl-horizontal {
    *zoom: 1;
}

    .dl-horizontal:before, .dl-horizontal:after {
        display: table;
        content: "";
        line-height: 0;
    }

    .dl-horizontal:after {
        clear: both;
    }

    .dl-horizontal dt {
        float: left;
        width: 160px;
        clear: left;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 180px;
    }
/*#endregion */

/*#region MEDIA QUERIES */
@media (max-width: 990px) {
    .header-btn[data-class='mobile-nav-on'] {
        background-color: #444444 !important;
        border-color: #444444 !important;
        background-image: none !important;
    }
}
/*#endregion */

/*#region COMMISSION */
.organoleptic-custom-header {
    background-color: #99af69 !important;
    min-height: 2em !important;
    height: 2.5em !important
}

    .organoleptic-custom-header > h2 {
        color: white !important;
    }

.organoleptic-table > thead > tr:first-child > td {
    padding-top: 1em !important;
}

.highlightedSample {
    background-color: #1b7edf;
}

.sampleDone {
    background-color: #99af69 !important;
}

.sampleInProgress {
    background-color: #de7c3b !important;
}

.organoleptic-custom-scrollbar {
    position: relative;
    height: 290px;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
}

.btn-commission-gradeing-group {
    width: 95%;
}

    .btn-commission-gradeing-group .btn-outline-primary {
        color: black;
        font-size: 14px;
        padding-inline: 10px;
        max-width: 85%;
    }


/*.btn-commission-gradeing-group span {
    display: block;
}*/

.organoleptic-table,
.organoleptic-table thead,
.organoleptic-table td {
    padding: 0.25rem !important;
}


.organoleptic-table-results,
.organoleptic-table-results thead,
.organoleptic-table-results tr,
.organoleptic-table-results td {
    padding: 0.25rem !important;
    text-align: center;
    font-weight: bold;
}

.organoleptic-table-results-names {
    background-color: #617a28 !important;
}

.organoleptic-table-results-online-tr td {
    color: #000000a1;
}

.organoleptic-table-results-offline-tr td {
    color: #b1b1b1;
}

.organoleptic-table-results thead tr:nth-child(1) td {
    border-bottom: 2px solid #9f9f9f !important;
}

.organoleptic-table-results thead tr:nth-child(2) td {
    border-bottom: 2px solid #9f9f9f !important;
}

.organoleptic-table-results tbody tr:last-child td {
    border-bottom: 2px solid #9f9f9f !important;
}

.bl-2 {
    border-left: 2px solid #9f9f9f !important;
}

.br-2 {
    border-right: 2px solid #9f9f9f !important;
}

.custom-active-btn {
    background-color: #44444 !important;
    color: black !important;
}

.custom-danger-btn {
    background-color: #dc4b92 !important;
    color: black !important;
}

.display-flex-cst {
    display: flex !important;
}
/*#endregion */

/*#region BARCODE PRINT */

#barcode-window {
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    width: 100%;
}

#table-barcode-print > tbody > tr {
    height: 7em !important;
}

    #table-barcode-print > tbody > tr:nth-child(2) > td {
        padding-top: 26.5px !important;
    }

    #table-barcode-print > tbody > tr:nth-child(3) > td {
        padding-top: 26.5px !important;
    }

    #table-barcode-print > tbody > tr:nth-child(4) > td {
        padding-top: 26.5px !important;
    }

    #table-barcode-print > tbody > tr:nth-child(5) > td {
        padding-top: 26.5px !important;
    }

    #table-barcode-print > tbody > tr:nth-child(6) > td {
        padding-top: 26.5px !important;
    }


#table-barcode-print-right > tbody > tr:nth-child(1) > td {
    padding-bottom: 4.5em !important;
}

#table-barcode-print-right > tbody > tr:nth-child(2) > td {
    padding-bottom: 4.5em !important;
}

#table-barcode-print-right > tbody > tr:nth-child(3) > td {
    padding-bottom: 4.5em !important;
}

#table-barcode-print-right > tbody > tr:nth-child(4) > td {
    padding-bottom: 4.5em !important;
}

#table-barcode-print-right > tbody > tr:nth-child(5) > td {
    padding-bottom: 4.5em !important;
}

#table-barcode-print-right > tbody > tr:nth-child(6) > td {
    padding-bottom: 1em !important;
}



#table-barcode-print-right-inspection > tbody > tr:nth-child(1) > td {
    padding-bottom: 4.4em !important;
}

#table-barcode-print-right-inspection > tbody > tr:nth-child(2) > td {
    padding-bottom: 4.4em !important;
}

#table-barcode-print-right-inspection > tbody > tr:nth-child(3) > td {
    padding-bottom: 4.4em !important;
}

#table-barcode-print-right-inspection > tbody > tr:nth-child(4) > td {
    padding-bottom: 4.4em !important;
}

#table-barcode-print-right-inspection > tbody > tr:nth-child(5) > td {
    padding-bottom: 4.4em !important;
}

#table-barcode-print-right-inspection > tbody > tr:nth-child(6) > td {
    padding-bottom: 0em !important;
}

/*#endregion */











