html,
body {
    height: 100%;
}

label {
    line-height: 34px;
    margin-bottom: 0px;
}

label.label-sm {
    line-height: 30px;
    margin-bottom: 0px;
}

.main {
    margin: 0;
    padding-bottom: 70px;
}

.footer,
.push {
    height: 50px;
    position: fixed;
    bottom: 0;
    width: -webkit-fill-available;
}

.body-wrapper {
    min-height: 100%;
}

.modal-spinner {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .7) url('/scan/img/spinner.gif') 50% 50% no-repeat;
}

body.loading .modal-spinner {
    overflow: hidden;
}

body.loading .modal-spinner {
    display: block;
}

input {
    background-color: #ffffff;
}

input[type=text],
input[type=password] {
    height: 36px;
    margin: 0px;
    padding: 0px 7px 0px 7px;
    border: 1px solid #a0a0a0 !important;
    border-radius: 3px;
}

input[type=checkbox] {
    margin: 2px 0px 0px 0px;
}

input[type=checkbox]:checked {
    background-color: red;
}

input[type="checkbox"]:focus,
input[type="text"]:focus {
    outline: 0;
}

th {
    text-align: center;
}

.scan-container,
.admin-container {
    margin: 0px 20px 0px 40px;
}

#scan-operation-barcodes {
    padding-bottom: 5px;
}

.scan-operation-barcode-container {
    display: inline-block;
    margin: -5px 50px 10px 50px;
    padding: 5px 5px 0px 5px;
    text-align: center;
    border: 3px solid #ffffff;
    cursor: pointer;
}

.scan-barcode-input {
    width: 400px;
}

.scan-barcode-type {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #202020;
    color: #202020;
    padding: 0px 3px 0px 3px;
    margin: 0px 0px 0px 10px;
}

.scan-barcode-type-uncertain {
    border: 3px solid #c0c0c0;
    color: #c0c0c0;
}

.scan-barcode-type-small {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid #606060;
    color: #444;
    padding: 0px 3px 0px 3px;
    margin: 0px 0px 0px 10px;
}

.scan-components-text-input {
    height: 24px !important;
}

.scan-components-pos {
    text-align: center;
    width: 40px;
}

.scan-components-cement {
    width: 80px;
}

.scan-components-delete {
    max-width: 57px;
    width: 57px;
    vertical-align: middle !important;
    text-align: center;
}

.scan-components-waste {
    max-width: 57px;
    width: 57px;
    vertical-align: middle !important;
    text-align: center;
}

.scan-components-description {
    max-width: 400px;
    vertical-align: middle !important;
}

.scan-components-lot {
    min-width: 159px;
    vertical-align: middle !important;
}

.scan-components-expires {
    width: 107px;
    vertical-align: middle !important;
}

.scan-components-ref {
    min-width: 176px;
    vertical-align: middle !important;
}

.scan-components-supplier {
    vertical-align: middle !important;
    min-width: 140px;
}

.scan-components-type {
    min-width: 140px;
    vertical-align: middle !important;
}

.scan-components-placement {
    min-width: 140px;
    vertical-align: middle !important;
}

.scan-components-usage {
    min-width: 140px;
    vertical-align: middle !important;
}

.scan-components-input {
    width: 100%;
}

.widget-scroll {
    overflow-x: auto;

}

.scan-print {
    background-color: #ffffff;
}

#product-table tr:hover {
    cursor: pointer;
}

#exceptions-table tr:hover {
    cursor: pointer;
}

.form-text {
    display: inline-block;
    word-wrap: break-word;
    line-height: 20px;
    padding-top: 7px;
}

.form-group-medium {
    margin-bottom: 5px;
}

.form-group-low {
    margin-bottom: 0px;
}

.option-faded {
    color: #a3a3a3;
}

.msgbox-subheader {
    font-weight: bold;
    font-size: 19px;
}

.alert-top-margin {
    margin-top: 15px;
}

.alert-info-inverse {
    color: #d9edf7;
    background-color: #3a87ad;
    border-color: #3a87ad;
    font-size: 15px;
}

#toPrint h3 {
    FONT-WEIGHT: 800;
    padding-bottom: 0;
    margin-bottom: 0px;
    padding-top: 15px;
    text-align: center;
}

#toPrint h4 {
    padding: 20px 0 20px 0;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
}

.table-no-padding {
    padding: 0px !important;
}

.table-no-border td
{
    border: none !important;
}

tr.table-headline > td {
    line-height: normal !important;
    border: none !important;
}

tr.table-headline:hover > td {
  background-color:transparent !important;
  border-color: transparent !important;
}

.print_operation > thead > tr > th {
    border-top: 2px solid #999999 !important;
    border-bottom: 2px solid #999999;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding: 7px 10px;
}

table.print_operation {
    margin-bottom: 20px !important;
}

.print_operation > thead > tr > th.center {
    text-align: center;
}

.print_operation > tbody > tr > td {
    border-bottom: 1px solid #999999;
    color: #555555;
    font-size: 14px;
    font-weight: 300;
}

.print_operation > tbody > tr > td.number {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}

.print_operation > tbody > tr > td > div {
    padding: 7px 10px;
}

.print_operation_detail > tbody > tr > td {
    border-top: none;
    padding: 7px 10px;
    font-weight: 300;
}


.exception-barcode-list
{
    margin: 0 15px;
}

.exception-barcode-list > .form-group
{
    padding: 8px 0;
    margin-bottom: 0px;
}

.exception-barcode-list > .form-group .form-text
{
    padding-top: 0;
}

.exception-barcode-list > .form-group:nth-child(odd)
{
    background: #e5e4e4;
    border-radius: 10px;
}

.exception-barcode-list .exception-status {
    background-color: #ffffff;
    display: inline-block;
    padding: 0px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: #6b6b6b;
    margin-top: 4px;
    border: 1px solid #b7b7b7;
}

.exception-barcode-list .exception-status:first-child {
    margin-top: 0px;
}


.exception-barcode-list .exception-status > .material-symbols-rounded {
    color: #116511;
    font-size: 13px;
    vertical-align: text-top;
}

div.center-text {
    text-align: center;
}


div.bottom-margin {
    margin-bottom: 15px;
} 

input.standard-height {
    height: 28px;
} 

div.scan-components-icon-button {
    color: #8d8c84;
    cursor: pointer;
    -webkit-transition: color .5s;
    transition: color .5s; 
}

div.scan-components-icon-button > span 
{
    vertical-align: middle;
}

div.hover-red:hover
{
    color: #d07970;
}

div.hover-orange:hover
{
    color: #e0bf87;
}

.table-bordered tbody tr td {
    border-left: 1px solid #FFF;
    border-right: 1px solid #efefef;
}

.tooltip-inner
{
    background-color: #fff;
    color:#606060;
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-top-color: #fff;
    border-width: 5px 5px 0;
  }
  
  .tooltip.top-left .tooltip-arrow,
  .tooltip.top-right .tooltip-arrow {
    border-top-color: #fff;
  }
  
  .tooltip.right .tooltip-arrow {
    border-right-color: #fff;
  }
  
  .tooltip.left .tooltip-arrow {
    border-left-color: #fff;
  }
  
  .tooltip.bottom .tooltip-arrow {
    border-bottom-color: #fff;
  }
  
  .tooltip.bottom-left .tooltip-arrow,
  .tooltip.bottom-right .tooltip-arrow {
    border-bottom-color: #fff;
  }

/* material icons */

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 1,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24
}

.navbar .material-symbols-rounded {
    font-size: 15px;
    line-height: 20px;
    vertical-align: bottom;
}

.widget-header > .material-symbols-rounded {
    vertical-align: middle;
    margin-left: 13px;
    margin-top: -3px;
    font-size: 20px;
    color: #555;
}

.widget .widget-header h3 {
    left: 5px !important;
}

.mainnav .material-symbols-rounded {
    font-size: 36px;
    height: 44px;
    padding-top: 6px;
}

.mainnav .material-symbols-large {
    font-size: 45px;
    padding-top: 2px;
}

.shortcuts .shortcut .shortcut-icon {
    font-size: 46px;
    height: 46px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
}

.shortcuts .shortcut-label {
    margin-top: -6px;
}

#back-to-top .material-symbols-rounded {
    font-size: 42px;
}

.alert-metodika {
    padding: 15px;
    margin: 5px 0px 10px 0px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: none;
}

.alert-reorder {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: none;
}

.metodika_popover .msgBoxContent {
    margin: 0 0 6px 0;
}


/* reorder feature */

.supplier-hidden {
    display: none;
}

h4.supplier-headline {
    padding: 12px 0 12px 0;
    font-weight: 600;
    font-size: 20px;
    margin: 0;
}

.reorder-supplier-select
{
    width: 200px;
}

div.reorder-alert-headline {
    font-size: 20px;
    font-weight: bold;
}

table.reorder-ordertable {
    border-collapse: separate;
    border-spacing: 0px 6px;
    width: 400px;
    margin-top: 10px;
}

table.reorder-ordertable > tbody > tr > td
{
    background-color: aliceblue;
    padding: 9px 15px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    vertical-align: middle;
}

table.reorder-ordertable > tbody > tr > td:first-child
{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

table.reorder-ordertable > tbody > tr > td:last-child
{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: right;
}

div.reorder-ordertable-supplier
{
    font-size: 21px;
}

div.reorder-ordertable-smalltext
{
    font-size: 13px;
    line-height: 20px;
}

div.reorder-ordertable-orderid
{
    font-size: 24px;
}





/* checkbox toggle */

input.toggle {
    cursor: pointer;
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 10px;
    outline: none;
    background-color: #ccc;
    appearance: none;
    -webkit-appearance: none;
    transition: background .3s,opacity .2s ;
    margin-bottom: -2px;
}

input.toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    height: 15px;
    width: 15px;
    background-color: white;
    transition: left .2s ease-in;
}

input.toggle:checked {
    background-color: #1eade3;
}



input.toggle:disabled
{
    opacity: 0.3;
}

input.toggle:checked::after {
    left: 70%;
}

input.toggle-right {
    float: right;
    margin-top: 3px;
}

/* check all toggle */


div.check-all-toggle {
    cursor: pointer;
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 10px;
    outline: none;
    background-color: #e3e3e3;
    appearance: none;
    -webkit-appearance: none;
    transition: background .3s,opacity .2s ;
    margin-bottom: -2px;
}

div.check-all-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    height: 15px;
    width: 15px;
    background-color: white;
    transition: left .2s ease-in;
}

div.check-all-toggle.checked {
    background-color: #929292;
}


div.check-all-toggle.checked::after {
    left: 70%;
}

div.check-all-toggle.partial {
    background-color: #b1b1b1;
}

div.check-all-toggle.partial::after {
    left: 50%;
}

div.check-all-toggle.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
/*  table styles */
td.center-middle,
th.center-middle
{
    vertical-align: middle !important;
    text-align: center;
}

td.right-middle,
th.right-middle
{
    vertical-align: middle !important;
    text-align: right;
}

td.contract,
th.contract
{
    white-space: nowrap;
    width: 30px;
}

td.center,
th.center {
    text-align: center;
}

td.middle,
th.middle
{
    vertical-align: middle !important;
}

/* popover */

div.pscan-popover-overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1500;
}

div.pscan-popover {
    border-radius: 25px;
    background-color: #fff;
    position: relative;
    z-index: 1050;
    -webkit-box-shadow: 0px 10px 50px rgba(0,0,0,0.2);
    box-shadow: 0px 10px 50px rgba(0,0,0,0.2);
    max-width: calc(100vw - 60px);
    z-index: 1501;
}

div.pscan-popover-width-max {
    width: calc(100vw - 60px);
}

div.pscan-popover h1 {
    font-size: 20px;
    margin-bottom: 0;
}

div.pscan-popover-header {
    padding: 25px 30px 20px 30px;
    border-bottom: 1px solid #dcdcdc;
}

div.pscan-popover-content {
    padding: 20px 30px;
}

div.pscan-popover-footer {
    text-align: right;
    border-top: 1px solid #dcdcdc;
    padding: 15px 30px;
}

div.pscan-popover input[type=button],
div.pscan-popover input[type=submit],
div.pscan-popover button,
div.pscan-popover input[type=reset]
{
    cursor: pointer;
    margin: 2px;
    padding: 4px 14px;
    min-width: 90px;
    background-color: #004076;
    color: #FFFFFF;
    border-radius: 10px;
    outline: none;
    border: none;
    -webkit-transition: background .5s;
    transition: background .5s;
}

div.pscan-popover input[type=button]:hover,
div.pscan-popover input[type=submit]:hover,
div.pscan-popover button:hover,
div.pscan-popover input[type=reset]:hover
{
    background-color: #3d80b7;
}

div.pscan-popover-close
{
    position: absolute;
    right: 35px;
    top: 20px;
    color: #c5c5c5;
    cursor: pointer;
}

/* log in*/

.login-popover {
    width: 450px;
}

.login-fields input {
    font-family: 'Open Sans';
    font-size: 13px;
    color: #8e8d8d;
    padding: 11px 15px 10px 50px !important;
    background-color: #fdfdfd;
    width: 100%;
    display: block;
    margin: 0;
    box-shadow: inset 2px 2px 4px #f1f1f1;
    height: 40px;
}

.login-field {
    margin-bottom: 10px;
}

div.login-popover-error {
    font-weight: bold;
    padding-bottom: 15px;
    color: #bd3e3e;
}

.username-field {
    background: url(../../img/signin/user.png) no-repeat;
}

.password-field {
    background: url(../../img/signin/password.png) no-repeat;
}

/* single-sign-on */

.single-sign-on-error {
    width: 800px !important;
}

.single-sign-on-error h1 {
    color: #57524b !important;
    font-size: 26px !important;
    margin-bottom: 20px !important;
}


/* ordered */
.ordered {
    color: #1eade3;
    font-size: 30px;;
}
