﻿body {
    color: #666;
}

/*componente de autoupdate*/
body .pwa-updater[b-pwa-updater] {
    --pwa-updater-bar-z-index: 9999;
}

.bg-warning {
    background-color: lightcoral;
}

.bg-danger {
    background-color: lightpink;
}

.bg-success {
    background-color: lightgreen;
}

.clicavel {
    cursor: pointer;
}

tr.clicavel:hover {
    background-color: #96e1fa; /* Esta é a cor de fundo quando o mouse passa sobre a linha, escolha a cor que preferir */
}

.preload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    z-index: 9999;
}

    .preload-overlay i {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 60px;
        color: #CCC;
    }

.modal {
    overflow-y: auto;
}

    .modal[size='custom-lg'] {
        background: white;
    }

    .modal[size="modal-login"] {
        background-image: url('/img/bg_duotone.png');
        background-color: #FFF;
        background-size: cover;
        background-position: top left;
    }

.modal-lg {
    width: 80%;
}

.main-header .sidebar-toggle {
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
    /* font-family: fontAwesome; */
    font-family: "Font Awesome\ 5 Free";
    /* cjr */
}

    .main-header .sidebar-toggle:before {
        content: "\f0c9";
        font-weight: 900;
        /* cjr */
    }

.cursor-pointer {
    cursor: pointer;
}

.form-control.invalid {
    border-color: #dc3545;
}

.validation-message {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.strong {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.top-space {
    margin-top: 25px;
}

.top-space-xs {
    margin-top: 10px;
}

.left-space-xs {
    margin-left: 5px;
}

.bottom-space {
    margin-bottom: 25px;
}

.bottom-space-xs {
    margin-bottom: 10px;
}

.info-box.better_price {
    background: #d5ffd5;
}

.unit-selection {
    padding: 7px;
}

    .unit-selection > span {
        color: #FFF;
        margin-right: 10px;
    }

    .unit-selection > * {
        display: inline-block;
        width: auto;
    }


.h4, h4 {
    font-size: 16px !important;
}

.table-condensed > tbody > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > thead > tr > th {
    padding: 1px;
}

.well {
    padding: 5px;
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.h3, h3 {
    font-size: 20px;
}

.col-limited {
    width: 50px;
}

.col-limited-sm {
    width: 40px;
}

.col-limited-md {
    width: 60px;
}

.col-limited-lg {
    width: 75px;
}

.content-wrapper {
    font-size: 12px;
}

.btn {
    font-size: 12px;
}

.form-control {
    padding: 3px 5px;
    height: 30px;
}

.rota-info .col-xs-4:not(:first-child)::before, .rota-info .col-sm-6:not(:first-child)::before {
    content: " ";
    position: absolute;
    width: 1px;
    height: 30px;
    background: #CCC;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.smaller-icons i {
    font-size: 10px;
}

.shipment-info {
    font-size: 13px;
}

#mapControl {
    width: 100%;
    height: 100%;
    min-width: 600px;
    min-height: 400px;
    position: relative;
}

.modal.semi-large .modal-dialog {
    width: 1550px;
}

.label-orange {
    background-color: #FF7701 !important;
}

.top-padding {
    padding-top: 20px !important;
}

hr {
    border-top: 1px solid #EEE;
    margin-top: 10px;
    margin-bottom: 10px;
}



.order-status {
    margin-top: 70px;
    margin-bottom: 50px;
}

.order-information .icon {
    color: #CCC;
    background: #FFF;
    font-size: 25px;
    display: inline-block;
    border: 4px solid #CCC;
    margin: 0 auto;
    padding: 10px;
    border-radius: 50%;
    line-height: 30px;
}

.order-information .info {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #003c71;
    font-size: 12px;
    position: absolute;
    width: 100%;
    left: 0;
}

.order-information .icon:not(.active):hover {
    background: #EEE;
}

.order-information .icon.active {
    background: #b7bf10;
    color: #003c71;
    border-color: #003c71;
}

.order-information {
    position: relative;
    margin-top: 50px;
}

    .order-information.flexOrdemInformation {
        display: flex;
        justify-content: space-around;
        z-index: 10;
    }

@media screen and (min-width:576px) {
    .order-information .info {
        position: absolute;
    }

    .order-information::before {
        content: "";
        position: absolute;
        width: calc(100%/8*7);
        height: 4px;
        background: #003c71;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        z-index: -1;
        left: 50%;
    }
}

.env-PROD {
}

.env-UNKNOW {
    background-color: orangered !important;
}

.env-QA {
    background-color: #4cff00 !important;
}

.env-DEV {
    background-color: lightgreen !important;
}

.color-54G {
    background-color: #3c8dbc;
}

.color-540 {
    background-color: #BED600;
}

.color-54A {
    background-color: #002264;
}

.color-54P {
    background-color: #ff008f;
}

.color-54R {
    background-color: #ff0000;
}

.color-54M {
    background-color: darkgreen;
}

.color-delivered {
    background-color: #4cff00;
}

.color-not-delivered {
    background-color: #ff0000;
}

.main-header.c54P .navbar {
    background-color: #ff008f;
}

.main-header.c54G .navbar {
    background-color: #3c8dbc;
}

.main-header.c54A .navbar {
    background-color: #002264;
}

.main-header.c540 .navbar {
    background-color: #BED600;
}

.main-header.c54R .navbar {
    background-color: #ff0000;
}

.main-header.c54N .navbar {
    background-color: #A020F0;
}

.label {
    font-size: 10px;
    padding: 1px 5px;
}

.tabela-anp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input.form-control-small {
    font-size: 12px;
    font-style: normal;
}

.disabled {
    color: #cacaca !important;
    background: #ECF0F5 !important;
}

/*Necessario reforcar os detalhes do popup para exibir acima do Header do Bootstrap*/
.blazored-modal-container {
    z-index: 2000 !important;
}

.blazored-modal-overlay {
    z-index: 2001 !important;
}

.blazored-modal {
    z-index: 2002 !important;
}

/*Estilo do DRAG DROP*/
﻿ /*add this to avoid flickering*/
.plk-dd-inprogess > * {
    pointer-events: none;
}

/*dropzone style style*/
.plk-dd-dropzone {
    min-height: 50px;
    min-width: 500px;
}

/*drag drop styles*/

.plk-dd-spacing {
    height: 10px;
}

.plk-dd-spacing-dragged-over {
    padding: 25px;
}

.plk-dd-dragged-over {
    background-color: lightgray;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

    .plk-dd-dragged-over > div {
        background-color: lightgray;
        opacity: 0.6;
        animation: blinker 1s linear infinite;
    }

.plk-dd-in-transit {
    opacity: 0;
}

    .plk-dd-in-transit > div {
        opacity: 0;
    }

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.blink_me {
    animation: blinker 1s linear infinite;
}

/*for flex demo*/

.plk-flex .plk-dd-spacing {
    width: 20px;
    height: auto;
}

.plk-flex .plk-dd-dragged-over {
    background-color: lightgray;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

    .plk-flex .plk-dd-dragged-over > div {
        background-color: lightgray;
        opacity: 0.9;
        animation: blinker 1s linear infinite;
    }

.plk-flex .plk-dd-in-transit {
    background-color: orangered;
}

    .plk-flex .plk-dd-in-transit > div {
        background-color: orangered;
    }
/*FIM ESTILO DRAG DROP*/

/*ANimacao PIN Mapa Veiculo*/
.pulse {
    background: #d6d4d4;
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 11px 0px 0px -12px;
    transform: rotateX(55deg);
    z-index: -2;
}

    .pulse:after {
        content: "";
        border-radius: 50%;
        height: 40px;
        width: 40px;
        position: absolute;
        margin: -13px 0 0 -13px;
        animation: pulsate 1s ease-out;
        animation-iteration-count: infinite;
        opacity: 0;
        box-shadow: 0 0 1px 2px #00cae9;
        animation-delay: 1.1s;
    }

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}


/*Deixar o scroll na ultima posicao*/
.scroll-to-end {
    /*height: auto;*/
    overflow-x: hidden;
    overflow-y: auto;
    transform: rotate(180deg);
    direction: rtl;
    text-align: left;
}

.item-scroll-end {
    overflow: hidden;
    transform: rotate(180deg);
}

.custom_chat_frame {
    left: 10px !important;
    bottom: 30px !important;
}

.custom-icon-delivered {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: limegreen;
    color: white;
    padding: 10px;
    border-radius: 50%; /* Borda arredondada */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra */
}

.custom-icon-not-delivered {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 10px;
    border-radius: 50%; /* Borda arredondada */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra */
}


/*Alerta de sucesso no para download do relatório nas listas de romaneio*/
.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    background-color: #5cb85c;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 16px;
}

    .custom-alert .close {
        float: right;
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 1;
        text-shadow: 0 1px 0 #fff;
        opacity: 0.5;
        cursor: pointer;
    }

        .custom-alert .close:hover {
            opacity: 0.75;
        }

    .custom-alert .message {
        margin-bottom: 5px;
        font-weight: bold;
    }

/*personificação tabela de entregas*/
.custom-table-header {
    font-size: 1.25rem;
}

.highlight-panel {
    border: 1px solid #337ab7;
    border-radius: 4px;
    background-color: #f5f5f5;
}

    .highlight-panel .panel-body {
        padding: 15px;
    }


/*ordenação de tabela */

th.sortable {
    cursor: pointer;
    background-color: #F0FFFF;
}

    th.sortable:hover {
        background-color: #E0FFFF;
    }
