﻿* {
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    overflow: scroll;
    overflow-x: hidden;
    font-size: .875rem;
    font-weight: 500;
    table-layout: fixed !important;
    color: #484848;
}

.logo-letra-color {
    font-family: Arial, sans-serif;
    color: rgba(135, 167, 93, 1) !important;
    font-size: 1.25rem;
    font-weight: 100;
}

.logo-letra-color-menu {
    font-family: Arial, sans-serif;
    color: rgba(135, 167, 93, 1) !important;
    font-size: 0.7rem;
    font-weight: 100;
    margin-left: 0.6rem !important;
}

/*si width es <= 1024 entracard*/
@media screen and (max-width: 1024px) {
    .logo-letra-color-menu {
        font-size: 0.8rem;
        margin-left: 0.7rem !important;
    }

    /*Si en el menu lateral es solo el logo, quite la marca de comentario de la línea siguiente. */
    .navbar-vertical .navbar-brand-img, .navbar-vertical .navbar-brand > img {
        margin-top: 0.5rem;
    }

}

/*Barra botones inferior*/
/*Si width > = 1200 entra*/
@media screen and (min-width: 1200px) {
    .barra-botones {
        display: none;
    }
}

/*Si en el menu lateral es solo el logo, quite la marca de comentario de la línea siguiente. */
.navbar-vertical .navbar-brand-img, .navbar-vertical .navbar-brand > img {
    max-width: 100%;
    max-height: 100%;
}

/*Deja fija la barra superior*/
/*@media screen and (max-width: 1200px) {
    .menu-fixed {
        position: fixed;
        z-index: 1030;
        top: 0;
        right: 0;
        left: 0;
    }
    .encabezado-padding {
        padding-top: 3rem !important;
    }
}*/

.subtitulo-letra-color {
    /*font-family: Arial, sans-serif;*/
    color: rgba(135, 167, 93, 0.8) !important;
    /*font-size: 1.25rem;*/
    font-weight: 500;
}

/*Parrafos*/
p {
    margin-top: 0;
    margin-bottom: 0;
}

/*Links*/
a {
    color: rgba(135, 167, 93, 1);
}

    a:hover {
        /*color: rgba(106, 133, 72, 1) !important;*/
        /*text-decoration: underline !important;*/
    }

/*Grupo de Controles Formulario*/
.form-group {
    margin-bottom: 0.75rem;
}

/*Controles de Formmulario*/
.form-control {
    font-size: .85rem !important;
    height: calc(2.25rem + 2px);
    padding-top: 0.25rem;
    /*padding-right: 1.75rem;*/
    padding-bottom: 0.25rem;
    padding-left: 0.75rem;
    color: #484848;
}

    .form-control:focus {
        border-color: #c8cacc !important;
    }

.form-control-plaintext {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

/*Fondos color*/
.bg-primary {
    background-color: rgba(135, 167, 93, 1) !important;
}

.fill-primary {
    fill: rgba(135, 167, 93, 1) !important;
}

.bg-gradient-primary {
    background: linear-gradient(0deg, rgba(135, 167, 93, 1) 0, rgba(135, 167, 93, 1) 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(0deg, rgba(230, 230, 230, 1) 0, rgba(245, 245, 245, 1) 100%) !important;
}

/*Texto color*/
.text-primary {
    color: rgba(135, 167, 93, 1) !important;
}

.text-secondary {
    color: rgba(135, 167, 93, 1) !important;
}


/*Botones*/
.btn {
    font-weight: 100;
    font-size: .85rem;
    letter-spacing: 0rem;
    border: none;
    /*padding: .625rem 0.85rem;*/
}

    .btn:not(:last-child) {
        margin-right: 0rem;
    }

.btn-neutral {
    color: #8898aa;
}

.btn-primary {
    background-color: rgba(135, 167, 93, 1) !important;
    border-color: rgba(135, 167, 93, 1) !important;
}

    .btn-primary:hover {
        background-color: rgba(106, 133, 72, 1) !important;
        border-color: rgba(106, 133, 72, 1) !important;
    }

    .btn-primary:active {
        background-color: rgba(106, 133, 72, 1) !important;
        border-color: rgba(106, 133, 72, 1) !important;
    }

.btn-link {
    font-weight: 100;
    color: rgba(135, 167, 93, 1) !important;
    background-color: transparent;
}

/*CheckBox*/

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(235, 0, 0, 0.5);
}

/*Cards*/

.card {
    /*box-shadow: 0 0 2rem 0 rgba(139, 143, 148, 0.77);*/
}

.card-header {
    margin-bottom: 0;
    padding: 0.35rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
    background-color: #fff;
}

.card-body {
    padding: 0.75rem;
    flex: 1 1 auto;
}

.card-footer {
    padding: 0.35rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.05);
    background-color: #fff;
}

/*Navbar*/

.navbar-light .navbar-nav .nav-link {
    color: rgba(72, 72, 72, 1);
}

.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse]:after {
    color: rgba(72, 72, 72, 1) !important;
}

.navbar-vertical .navbar-nav .nav-link[data-toggle=collapse][aria-expanded=true]:after {
    color: rgba(72, 72, 72, 1) !important;
}

.navbar-search .input-group {
    border-radius: 0.25rem !important;
}

/*Navbar Vertical*/

.navbar-vertical {
    /*box-shadow: 0 0 2rem 0 rgba(139, 143, 148, 0.77);*/
}
.sidenav {
    transition-property: none;
    /*transition-duration: 0s;
    transition-timing-function:initial;
    transition-delay: 0s;*/
}

.sidenav.fixed-left + .main-content {
    transition-property: none;
    /*transition-duration: 0.15s;
    transition-timing-function: ease;
    transition-delay: 0s;*/
    }

/*Menu Drop*/
.dropdown-item {
    color: rgba(72, 72, 72, 1) !important;
}
/*Tabla*/

/*tamaño de la letra de la tabla*/
.table th, .table td {
    /*padding: .20rem;*/
    padding-top: 0.60rem !important;
    /*padding-right: 0.15rem !important;*/
    padding-bottom: 0.60rem !important;
    /*padding-left: 0.15rem !important;*/
    font-size: 0.7rem;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .table th, .table td {
        white-space: normal;
    }
}

.card .table td, .card .table th {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
}

.dataTables_info, .dataTables_length, .dt-buttons {
    padding-left: 0.1rem !important;
}

.page-item.active .page-link {
    border-color: rgba(135, 167, 93, 1) !important;
    background-color: rgba(135, 167, 93, 1) !important;
}

.dataTables_paginate {
    padding-right: 0.1rem;
}

.page-item .page-link, .page-item span {
    border-radius: 10% !important;
    margin: 0 1px;
}

/*table.dataTable.dtr-column > tbody > tr > td.dtr-control, table.dataTable.dtr-column > tbody > tr > th.dtr-control, table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control {
    font-size: 1rem;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before, table.dataTable.dtr-column > tbody > tr > th.dtr-control:before, table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: rgba(135, 167, 93, 1) !important;
    line-height: 0.9em;
}*/

/*color del boton +, cuando vemos la pag en el cel*/
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    background-color: rgba(135, 167, 93, 1) !important;
}

/*color del boton -, cuando vemos la pag en el cel*/
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    background-color: rgba(135, 167, 93, 1) !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    /*top: 5px !important;*/
}

div .dataTables_wrapper div.dataTables_filter input {
    width: 12rem;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        padding-top: 0.85em;
        justify-content: center;
    }
}

/*@media screen and (max-width: 991px) {

.dataTables_length, .dt-buttons {
    text-align: center !important;
}


}*/

.dataTables_filter {
    padding-right: 0.55rem !important;
}

table.dataTable > tbody > tr.child > td.child > table > tr > td {
    border: 0;
    padding: 0 0 0.5em 0.5em !important;
}

/*table.dataTable > tbody > tr.child {
    background-color: #c8cacc !important;
}*/

table.dataTable > tbody > tr.child ul.dtr-details > li {
    border-bottom: none;
    padding: 0.1em 0;
    /*list-style-type:circle;*/
}
/*table.dataTable > tbody > tr.child span.dtr-title {
    display: inline-block;
    min-width: 75px;
    font-weight: bold;
}*/

/*Tabla Flechas de orden*/
table .dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.45em;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #414242;
}

.color-tabla-tot1 {
    background-color: rgba(135, 167, 93, 0.5) !important;
    color: rgba(0, 0, 0, 1) !important;
    font-style: italic;
    font-weight: bold;

}

.color-tabla-tot2 {
    background-color: rgba(135, 167, 93, 0.2) !important;
    color: rgba(0, 0, 0, 1) !important;
    font-style: italic;
    font-weight: bold;
}

.color-tabla-resaltar1 {
    background-color: rgba(230, 230, 230, 1) !important;
    /*color: rgba(0, 0, 0, 1) !important;*/
    /*font-style: italic;*/
    /*font-weight: bold;*/
}

.table-action {
    font-size: .7rem;
    color: #172b4d;
}

.table tbody tr[subtotal=true] {
    font-weight: bold;
}

.list-group-item {
    border: 1px solid #c8cacc;
    /*border: 0px;*/
    background-color: transparent !important;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff url("../img/preloader.svg") no-repeat center center;
}

/*Para hacer agrandar y achicar una img*/
.spinner {
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }
    100% {
        -webkit-transform: scale(1.0);
        /*opacity: 0;*/
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        /*opacity: 0;*/
    }
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    /*min-width: 100% !important;*/
}

/*SweetAlert2*/
/*.swal2-container .swal2-popup.swal2-toast {
    flex-direction: column;
    align-items: start;
    position: relative;
}

.swal2-container .swal2-icon {
    position: absolute;
    top: 50%;
    margin-top: -20px !important;
}

.swal2-container .swal2-popup.swal2-toast .swal2-title,
.swal2-container .swal2-popup.swal2-toast .swal2-content {
    margin-left: 50px;
    text-align: left;
}*/