﻿body {
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: Verdana;
    background-color: #993133 !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 70px;
    box-shadow: 3px 2px 10px 5px rgba(0,0,0,.15);
    font-family: Verdana;
    font-size: 12px;
    background-color: white !important;
    border-radius: 5px;
    padding-top: 20px;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Set width on the form input elements since they're 100% wide by default */
button,
input,
select,
textarea,
a {
    /*max-width: 280px;*/
    outline: none;
}

    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        box-shadow: 0 0 0 0 !important;
        outline: 0;
    }

    a,
    a:hover,
    a:focus {
        text-decoration: none !important;
        transition: all 0.3s;
        cursor: pointer;
    }

.menu-panel {
    background: #750b0b;
    z-index: 9999;
    position: absolute;
    left: -15.625em; /*or width of your navigation panel*/
    width: 15.625em; /*should match the above value*/
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .menu-panel::-webkit-scrollbar {
        display: none;
    }

    .menu-panel ul {
        margin: 0;
        padding: 0;
    }

    .menu-panel li {
        list-style: none;
    }

        .menu-panel li.menu-header {
            margin-top: -2px;
            color: #fff;
            cursor: default;
            font-size: 12px;
            margin-top: 25px;
        }

    .menu-panel ul li.menu-header ul {
        font-size: 14px !important;
    }

    .menu-panel li.menu-header .menu-categoria {
        display: block;
        margin-top: -2px;
        color: #FFF;
        background-color: #5e0000;
        cursor: pointer;
        font-size: 14px;
        margin-top: 25px;
        font-weight: bolder;
        text-decoration: none;
    }

        .menu-panel li.menu-header .menu-categoria:after {
            content: "\f077";
            font-family: FontAwesome;
            font-size: .6rem;
            float: right;
        }

        .menu-panel li.menu-header .menu-categoria.collapsed:after {
            content: "\f078";
            font-family: FontAwesome;
            font-size: .6rem;
            float: right;
        }

        .menu-panel li.menu-header .menu-categoria:hover {
            background-color: #f7931e !important;
        }

.menu-header ul a {
    font-size: 0.9em !important;
    padding-left: 25px !important;
}


.menu-panel .menu-item {
    display: block;
    padding: 1em;
    text-decoration: none;
}

.menu-panel li.menu-header .menu-categoria {
    padding: 1em;
    margin: 0;
}

.menu-panel .menu-item:link,
.menu-panel .menu-item:visited {
    color: #fff;
}

.menu-panel .menu-item:hover {
    background: #f7931e;
    color: #FFF;
}

.menu-panel .menu-item.active {
    background: #f7931e;
}

#header {
    height: 60px !important;
    line-height: 50px;
    /*z-index: 9999;*/
    text-align: center;
    background-color: white !important;
    -webkit-box-shadow: 0 2px 10px 0 rgb(255,255,255);
    box-shadow: 3px 2px 10px 5px rgba(0,0,0,.15);
}

#menu-icon {
    position: absolute;
    top: 0px;
    left: 15px;
    font-size: 30px;
    z-index: 999;
}

    #menu-icon a {
        text-decoration: none;
    }

.menu-user {
    height: 70px;
    margin-top: -2px;
    color: #fff;
    background-color: #5e0000;
    cursor: default;
}

    .menu-user img {
        position: absolute;
        padding: 5px 0;
    }

    .menu-user p {
        margin: 0;
        font-size: 12px;
        padding-left: 60px;
    }

    .menu-user a {
        position: absolute;
        margin-top: -33px;
        font-size: 12px;
        margin-left: 200px;
        color: #FFF;
        border: 1px solid #FFF;
        border-radius: 4px;
        padding: 5px 5px 5px 5px;
        text-decoration: none;
    }

        .menu-user a:hover {
            background: #f7931e;
            color: white;
        }

/* SCROLL BAR (chrome) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(135, 90, 64, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #ae8888;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #896767;
    }

/* FIM - SCROLL BAR */

/* ----- TABLE ----- */

.table-striped tbody tr:nth-child(odd) {
    background-color: #fbf4f4 !important;
}

table.table-hover tbody tr:hover {
    background-color: #ae8888 !important;
    color: white;
}

tr.hasWarnings {
    background-color: #fcf8e3;
}

    tr.hasWarnings:hover {
        background-color: #faebcc !important;
        color: black !important;
    }

tr.hasErrors {
    background-color: #ffd2d2;
}

    tr.hasErrors:hover {
        background-color: #f1b1b1 !important;
        color: black !important;
    }

th {
    cursor: pointer;
}

td {
    /*max-width: 100px;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.table th {
    padding: .6rem !important;
    vertical-align: middle !important;
}

.table td {
    padding: .4rem !important;
    vertical-align: middle !important;
}

table tbody td {
    white-space: normal;
    word-wrap: break-word;
}

.table-nowrap tbody td {
    white-space: nowrap;
}

.line-selectable {
    cursor: pointer;
}

    .line-selectable.selected,
    .line-selectable.selected:hover,
    .table-striped tbody tr:nth-child(odd).selected {
        background-color: #ae8888 !important;
        color: white;
}

.line-selectable-bas {
    cursor: pointer;
}

    .line-selectable-bas.selected,
    .line-selectable-bas.selected:hover,
    .table-striped tbody tr:nth-child(odd).selected {
        background-color: #ae8888 !important;
        color: white;
}

.selectable {
    background-color: #e2edf0 !important;
}


.table-title tr th {
    cursor: default;
    background-color: #ebecf1;
}

.table-last-border > tbody > tr:last-child {
    border-bottom: 1px solid #dee2e6;
}

.formulario,
#formulario {
    background-color: #ebecf1;
    border-radius: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.btn-light {
    border-color: #dee2e6 !important;
}

/*.btn {
    border-radius: 25rem !important;
}*/


/* ----- BOX FILTER ----- */

.card-filter {
    background: #ebecf1;
    border-radius: 10px;
    padding: 20px 0;
    display: none;
}

.btn-filter.filter:before {
    content: "\f058";
    font-family: FontAwesome;
    position: absolute;
    color: #007BFF;
    top: -7px;
    margin-left: 10px;
}

.btn-filter.open:after {
    content: '';
    position: absolute;
    border-bottom: 8px solid #ebecf1;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    top: 46px;
    margin-left: -15px;
}

.filter-add, .filter-del {
    position: relative;
}

    .filter-add:after {
        position: absolute;
        font-family: FontAwesome;
        content: "\f067";
        font-size: 8px;
        top: -11px;
        right: -13px;
        color: #FFF;
        background-color: #28a745 !important;
        padding: 2px 3px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
    }

    .filter-del:after {
        position: absolute;
        font-family: FontAwesome;
        content: "\f00d";
        font-size: 8px;
        top: -11px;
        right: -13px;
        color: #FFF;
        background-color: #dc3545 !important;
        padding: 2px 3px;
        border-radius: 10px;
        -moz-border-radius: .10px;
        -webkit-border-radius: 10px;
    }

/* MARGIN'S / PADDING'S  */
.add-margin-top-10 {
    margin-top: 10px;
}

.add-margin-top-15 {
    margin-top: 15px;
}

.add-margin-top-20 {
    margin-top: 20px;
}

.add-margin-top-30 {
    margin-top: 30px;
}

.add-padding-top-20 {
    padding-top: 20px;
}

/* ----- STYLE RADIO ----- */

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    opacity: 0;
}

    [type="radio"]:checked + label,
    [type="radio"]:not(:checked) + label {
        position: relative;
        padding-left: 25px;
        cursor: pointer;
        line-height: 1.4;
        display: inline-block;
    }

        [type="radio"]:checked + label:before,
        [type="radio"]:not(:checked) + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            border: 1px solid #ddd;
            border-radius: 100%;
            background: #fff;
        }

        [type="radio"]:checked + label:after,
        [type="radio"]:not(:checked) + label:after {
            content: '';
            width: 12px;
            height: 12px;
            background: #28a745;
            position: absolute;
            top: 3px;
            left: 3px;
            border-radius: 100%;
            -webkit-transition: all 0.2s ease;
            transition: all 0.2s ease;
        }

        [type="radio"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0);
            transform: scale(0);
        }

        [type="radio"]:checked + label:after {
            opacity: 1;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

[type="radio"]:disabled + label {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* ----- FIM STYLE RADIO ----- */

/* ----- STYLE CHECKBOX ----- */
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

    [type="checkbox"]:checked + label,
    [type="checkbox"]:not(:checked) + label {
        position: relative;
        padding-left: 22px;
        cursor: pointer;
        line-height: 20px;
        display: inline-block;
    }

        [type="checkbox"]:checked + label:before,
        [type="checkbox"]:not(:checked) + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: #fff;
        }

        [type="checkbox"]:checked + label:after,
        [type="checkbox"]:not(:checked) + label:after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            background: #dfffe6;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0);
            transform: scale(0);
        }

        [type="checkbox"]:checked + label:after {
            opacity: 1;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

[type="checkbox"] + label + span {
    display: none;
    pointer-events: none;
    position: absolute;
    left: 18px;
    top: 3px;
}

[type="checkbox"]:checked + label + span {
    display: block;
}

[type="checkbox"]:disabled + label {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* ----- FIM STYLE CHECKBOX ----- */

.card-header, .card-body {
    background-color: white !important;
}

.card-header {
    padding: .5rem !important;
}

.card-body {
    padding: 0 !important;
}

.card-padding {
    padding: 0 .5rem !important;
}

.tipo_volume {
    margin-top: 5px;
    border: 1px solid;
    box-shadow: 0 0 0 0 !important;
}

/* ----- SORTING TABLES ----- */
.sorting,
.sorting_asc,
.sorting_desc {
    position: relative;
    padding-right: 30px;
}

    .sorting::after,
    .sorting_asc::after,
    .sorting_desc::after {
        right: .5em;
        content: "\f0de";
        font-family: FontAwesome;
        font-size: 1rem;
    }

    .sorting::before,
    .sorting_asc::before,
    .sorting_desc::before {
        right: .5em;
        content: "\f0dd";
        font-family: FontAwesome;
        font-size: 1rem;
    }

    .sorting::after,
    .sorting_asc::after,
    .sorting_desc::after,
    .sorting::before,
    .sorting_asc::before,
    .sorting_desc::before {
        position: absolute;
        bottom: .45em;
        display: block;
        opacity: .3;
    }

    .sorting_asc::before,
    .sorting_desc::after {
        opacity: 0;
    }

.sorting_asc_disabled::after,
.sorting_desc_disabled::before {
    opacity: 1;
}

/* Loader */
.background-loader {
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    /*z-index: 9999;*/
    z-index: 1;
    background-color: #993133 !important;
}

.lds-white {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: 45%;
    left: 49%;
}

    .lds-white div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: white;
        border-radius: 50%;
        animation: lds-white 1.2s linear infinite;
    }

        .lds-white div:nth-child(1) {
            animation-delay: 0s;
            top: 29px;
            left: 53px;
        }

        .lds-white div:nth-child(2) {
            animation-delay: -0.1s;
            top: 18px;
            left: 50px;
        }

        .lds-white div:nth-child(3) {
            animation-delay: -0.2s;
            top: 9px;
            left: 41px;
        }

        .lds-white div:nth-child(4) {
            animation-delay: -0.3s;
            top: 6px;
            left: 29px;
        }

        .lds-white div:nth-child(5) {
            animation-delay: -0.4s;
            top: 9px;
            left: 18px;
        }

        .lds-white div:nth-child(6) {
            animation-delay: -0.5s;
            top: 18px;
            left: 9px;
        }

        .lds-white div:nth-child(7) {
            animation-delay: -0.6s;
            top: 29px;
            left: 6px;
        }

        .lds-white div:nth-child(8) {
            animation-delay: -0.7s;
            top: 41px;
            left: 9px;
        }

        .lds-white div:nth-child(9) {
            animation-delay: -0.8s;
            top: 50px;
            left: 18px;
        }

        .lds-white div:nth-child(10) {
            animation-delay: -0.9s;
            top: 53px;
            left: 29px;
        }

        .lds-white div:nth-child(11) {
            animation-delay: -1s;
            top: 50px;
            left: 41px;
        }

        .lds-white div:nth-child(12) {
            animation-delay: -1.1s;
            top: 41px;
            left: 50px;
        }

@keyframes lds-white {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }
}

/* LOADER MODAL */
.loader-modal {
    display: inline-block;
    position: relative;
    width: 35px;
    height: 35px;
}

    .loader-modal div {
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        animation: loader-modal 1.2s linear infinite;
        background-color: rgb(70, 71, 78);
    }

        .loader-modal div:nth-child(1) {
            top: 0px;
            left: 0px;
            animation-delay: 0s;
        }

        .loader-modal div:nth-child(2) {
            top: 0px;
            left: 15px;
            animation-delay: -0.4s;
        }

        .loader-modal div:nth-child(3) {
            top: 0px;
            left: 30px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(4) {
            top: 15px;
            left: 0px;
            animation-delay: -0.4s;
        }

        .loader-modal div:nth-child(5) {
            top: 15px;
            left: 15px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(6) {
            top: 15px;
            left: 30px;
            animation-delay: -1.2s;
        }

        .loader-modal div:nth-child(7) {
            top: 30px;
            left: 0px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(8) {
            top: 30px;
            left: 15px;
            animation-delay: -1.2s;
        }

        .loader-modal div:nth-child(9) {
            top: 30px;
            left: 30px;
            animation-delay: -1.6s;
        }

@keyframes loader-modal {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* FIM - LOADER MODAL */

/* Loader Grid's */
.background-loader-grid {
    background-color: black;
    position: absolute;
    width: 100%;
    height: 1000px;
    z-index: 999;
    opacity: 0.5;
    margin-top: -10px;
    display: none;
}

.lds-white {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: 45%;
    left: 49%;
}

    .lds-white div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: #fff;
        border-radius: 50%;
        animation: lds-white 1.2s linear infinite;
    }

        .lds-white div:nth-child(1) {
            animation-delay: 0s;
            top: 29px;
            left: 53px;
        }

        .lds-white div:nth-child(2) {
            animation-delay: -0.1s;
            top: 18px;
            left: 50px;
        }

        .lds-white div:nth-child(3) {
            animation-delay: -0.2s;
            top: 9px;
            left: 41px;
        }

        .lds-white div:nth-child(4) {
            animation-delay: -0.3s;
            top: 6px;
            left: 29px;
        }

        .lds-white div:nth-child(5) {
            animation-delay: -0.4s;
            top: 9px;
            left: 18px;
        }

        .lds-white div:nth-child(6) {
            animation-delay: -0.5s;
            top: 18px;
            left: 9px;
        }

        .lds-white div:nth-child(7) {
            animation-delay: -0.6s;
            top: 29px;
            left: 6px;
        }

        .lds-white div:nth-child(8) {
            animation-delay: -0.7s;
            top: 41px;
            left: 9px;
        }

        .lds-white div:nth-child(9) {
            animation-delay: -0.8s;
            top: 50px;
            left: 18px;
        }

        .lds-white div:nth-child(10) {
            animation-delay: -0.9s;
            top: 53px;
            left: 29px;
        }

        .lds-white div:nth-child(11) {
            animation-delay: -1s;
            top: 50px;
            left: 41px;
        }

        .lds-white div:nth-child(12) {
            animation-delay: -1.1s;
            top: 41px;
            left: 50px;
        }

@keyframes lds-white {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }
}

.background-block-grid {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9997;
    opacity: 0.6;
}

.disabled, select.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    /* display: inline-block; /*Edge*/
    color: #999;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    cursor: not-allowed !important;
}

a.btn.disabled, fieldset:disabled a.btn {
    pointer-events: auto !important;
}

/* UPLOAD IMAGEM */
.upload-drop-zone {
    width: 150px;
    height: 150px;
    border-width: 2px;
    margin-bottom: 10px;
    color: #ccc;
    border-style: dashed;
    border-color: #ccc;
    line-height: 150px;
    text-align: center;
    cursor: pointer;
}

    .upload-drop-zone:hover {
        color: #222;
        border-color: #222;
    }

.deleteImage {
    position: absolute;
    bottom: 20px;
    opacity: 0.5;
    z-index: 1001;
    text-align: left;
}

    .deleteImage:hover {
        opacity: 1;
    }

#deleteImageProduto {
    margin-left: 115px;
}

/* FIM - UPLOAD IMAGEM */

.center-block {
    margin-left: auto;
    margin-right: auto;
}

.displayNone {
    display: none;
}

/* LOGIN */

.content-login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

    .content-login .content-login-box {
        max-width: 400px;
        background-color: #F8F9FA;
        border-radius: 5px;
        padding: 30px;
    }

.box-logo {
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 10px;
}

    .box-logo > img {
        width: 160px;
    }

.card-formulario {
    background-color: #ebecf1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none !important;
    border-radius: 5px;
    background-color: #fdfdfe;
    border: 1px solid #dee2e6;
}

.pagination li.active a {
    background-color: #f7931e;
    border-radius: 5px;
    color: white;
}

.pagination li:hover:not(.active) a {
    background-color: #f7dccf;
}

.pagination li a:focus {
    outline: none;
}

.select2 {
    width: 100% !important;
}

.form-control, .input-group-text {
    border-color: #aaa !important;
}

    .form-control:disabled, .form-control[readonly],
    .select2-container--disabled {
        opacity: 0.8 !important;
    }

.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    font-size: 1rem;
    line-height: 1.5;
    padding: .375rem .25rem;
}

.select2-hidden-accessible {
    margin-top: 55px !important;
    left: 17px !important;
}

.box-home {
    background-color: white;
    border: 1px solid white;
    -webkit-box-shadow: inset 0px 1px 15px -8px #993133, 1px 1px 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0px 1px 15px -8px #993133, 1px 1px 1px 1px rgba(0,0,0,0);
    border-radius: 5px;
    color: #625152 !important;
    padding: 20px;
    text-transform: uppercase;
}

    .box-home h4 {
        text-align: center;
    }

    .box-home table {
        margin-bottom: 0 !important;
    }

.back-home-peq .box-home i.fa {
    float: left !important;
    color: #f7931e;
}

.back-home-peq .box-home p:not(span) {
    font-weight: bold;
}

.tab-content {
    padding: 20px 0;
    border: 1px solid #DEE2E6;
    border-top-color: rgb(222, 226, 230);
    border-top-style: solid;
    border-top-width: 1px;
    border-top: 0 !important;
}

/*Search */
.close-icon {
    border: 1px solid transparent;
}

    .close-icon:after {
        content: "\f00d";
        font-family: "FontAwesome";
        display: block;
        height: 20px;
        position: absolute;
        /*z-index: 1;*/
        right: 30px;
        top: 0;
        bottom: 0;
        margin: auto;
        padding: 2px;
        color: #6c6c6c;
        font-weight: normal;
        font-size: 12px;
        cursor: pointer;
    }

    .close-icon:hover::after {
        color: #212529;
    }

.search-box.searchNotNull ~ .close-icon {
    opacity: 1 !important;
}

/* Close tabs */
.close-tab {
    font-size: 16px !important;
    margin-top: -3px;
}

    .close-tab:not(:disabled):not(.disabled):hover {
        color: #b50000 !important;
        opacity: .5 !important;
    }

.nav-link {
    display: flex !important;
    align-items: center !important;
}

.btn-busca {
    display: block;
    margin: 5px;
}

/* CURSOR */

.cursor-default {
    cursor: default;
}

.cursor-pointer {
    cursor: pointer;
}

/* BORDER */

.border-0 {
    border: 0;
}