﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.navbar > .container {
    margin: 0 calc(5vw - 0.5rem);
    margin-left: calc(5vw - 0.5rem);
    padding: 0;
    max-width: calc(100vw - 10vw);
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #fafafa;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

form i {
    cursor: pointer;
}

/*-----------------------GRID-----------------------*/

/*.k-grid-content {
    min-height: 60vh !important;
}*/

/*.k-loading-image {
    background-image: none !important;
    display: inline-block;
    top: unset !important;
    left: unset !important;
    width: 2rem !important;
    height: 2rem !important;
    border: 0.25em solid black;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: 0.75s linear infinite spinner-border;
    animation: 0.75s linear infinite spinner-border;
}

.k-loading-mask {
    display: flex;
    justify-content: center;
    align-items: center;
}*/

.k-grid-delete span, .customDelete span {
    cursor: pointer;
    color: red !important;
}

/*versão 2022 do kendo adiciona tamanho minimo nos botões custom da grid, isto retira*/
.k-icon-button.k-button-md > .k-button-icon {
    min-width: unset !important;
    min-height: unset !important;
}

.k-grid-delete:hover span, .customDelete:hover span {
    color: #df0000;
}

/*.k-link {
    font-weight: bold !important;
}*/
.customHeader {
    background-color: aliceblue;
    font-size: 12.5px;
    color: black;
    font-weight: bold !important;
}

.k-grid td {
    font-size: 13px;
}

/*.k-grid {
    font-size: 10px !important;
}

    .k-grid td {
        font-size: 10px !important;
        line-height: 2em !important;
    }*/

/*Change header height*/

.k-header {
    padding: 10px 20px !important;
}

.k-filter-row th {
    padding: 5px 20px !important;
}

.k-master-row td {
    padding: 2px 20px !important;
}


/*@media (-webkit-device-pixel-ratio: 1.50) {
    :root {
        zoom: 0.95;
    }
}*/

.showLoaded {
    height: calc(100vh - 60px - 1.25rem);
    width: 100%;
    position: absolute;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    color: gray;
}

/*.k-loading-image {
    background-image: url("data:image")
}*/

/*.form-control:invalid, .form-check-input:required {
    border: 1px solid red;
}*/

.k-form-error {
    padding-left: 0 !important;
}

.k-grid tr.k-alt {
    background-color: #ffffff !important;
}

.k-grid tr:hover {
    background-color: #ededed !important;
}

.k-grid tbody td {
    border-top: 1px solid #f4f4f4 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.k-button.disabled {
    pointer-events: none;
    cursor: default;
    color: lightgray;
}

.cellsEdit, .pushEdit, .phaseOutEdit {
    cursor: pointer;
}

    .cellsEdit:hover, .pushEdit:hover, .phaseOutEdit:hover {
        filter: brightness(0.9);
        background-color: #d5d5d5;
    }

.qtyDetails {
    border: solid 1px lightgray;
}

.qtyEdit-custom-border {
    border-left: solid 1px darkgray !important;
}

/*------------------KENDO NOTIFICATIONS----------------------*/
.k-notification {
    border: 0;
    z-index: 999;
}

.k-notification-tudook {
    background-color: rgb(4,193,4) !important;
    color: #fff;
}

    .k-notification-tudook.k-group {
        background-color: rgb(4,193,4) !important;
        color: #fff;
    }

.tudook-notification {
    background-color: rgb(4,193,4) !important;
    width: 390px;
    height: auto;
    color: #FFF;
}

    .tudook-notification h3 {
        font-size: 1em;
    }

.k-notification-error.k-group {
    background: rgba(60%,0%,0%,.7);
    color: #ffffff;
}

.k-widget.k-notification.k-notification-error {
    background: rgb(215 29 29 / 90%);
}

.error-notification {
    width: 390px;
    height: auto;
    color: #FFF;
}

    .error-notification h3 {
        font-size: 1em;
    }

.k-notification-warning.k-group {
    background: rgba(100%,50%,0%,.7);
    color: #ffffff;
}

.k-widget.k-notification.k-notification-warning {
    background: rgba(100%,50%,0%,.9);
}

.warning-notification {
    width: 390px;
    height: auto;
    color: #FFF;
}

    .warning-notification h3 {
        font-size: 1em;
    }

    .warning-notification img {
        float: left;
        margin: 30px 15px 30px 30px;
    }

.k-notification-sessionExpired.k-group {
    background: rgba(100%,50%,0%,.9);
    border: 1px solid rgba(100%,50%,0%,1);
    color: #fff;
}

.options-notification {
    width: 180px;
    height: 100px;
}

.k-notification-optionsTemplate.k-group {
    background: rgba(48,81,81,.9);
    border: 1px solid rgba(48,81,81,1);
    color: #fff;
}

/*quando as colunas estão com filter menu e dão para ordenar, fica ativa uma regra com .k-filterable>.k-cell-inner que*/
/*faz com que o botão do filtro fique metade escondido por trás da coluna*/
/*esta é a regra original do k-cell-inner*/
.k-header > .k-cell-inner {
    margin: -8px calc(-1 * calc( calc( 1.4285714286em + 8px + 2px) - 12px)) -8px -12px !important;
}