﻿/*Lista DropDown*/
.k-autocomplete.k-state-default, .k-dropdown-wrap.k-state-default, .k-numeric-wrap.k-state-default, .k-picker-wrap.k-state-default {
    background-color: #fff;
    border-color: #e0e0e0;
    height: 30px;
}


.k-popup .k-list .k-item {
    color: #707070;
}


.k-popup .k-list > .k-state-hover {
    background-color: #ebebeb;
}

.k-popup .k-list .k-state-selected {
    color: #fff;
    background-color: #f56600;
    border-color: #f56600;
}

    .k-popup .k-list .k-state-selected.k-state-hover {
        background-color: #f56600;
        border-color: #b3b3b3;
    }

    .k-popup .k-list .k-state-selected.k-state-focused {
        border-color: #f56600;
    }

    .k-popup .k-list .k-state-selected.k-state-focused { /*	afecta todas las listas popupselected*/
        border-color: #f56600;
        color: white;
        background-color: #f56600;
    }

.k-autocomplete.k-state-active, .k-dropdown-wrap.k-state-active, .k-numeric-wrap.k-state-active, .k-picker-wrap.k-state-active {
    color: #fff;
    background-color: #f56600;
    border-color: #f56600;
}



    .k-picker-wrap.k-state-active .k-select {
        border-color: #f56600;
        background-color: #f56600;
    }

.k-list-optionlabel.k-state-focused, .k-list-optionlabel.k-state-selected, .k-list-optionlabel.k-state-hover, .k-list-optionlabel.k-state-selected.k-state-focused {
    background-color: white !important;
    color: #d6d6d6;
    border: none;
    box-shadow: none;
}

span.k-dropdown-wrap {
    transition: border-color 250ms cubic-bezier(.455, .03, .515, .955);
}



.k-listbox .k-item.k-state-selected {
    background-color: #f56600;
}

    .k-listbox .k-item.k-state-selected:hover {
        background-color: #f56600;
    }

.k-listbox .k-item.k-state-focused {
    border-color: transparent;
}


.k-dropdown-wrap.k-state-default.k-state-focused {
    border-color: #f56600;
    color: white;
    background-color: #f56600;
}

    .k-dropdown-wrap.k-state-default.k-state-focused span {
        color: white;
    }


.placeholder {
    /*color: #9e9e9e;*/
    color: #32364c;
}

/*  Estilos kendoComboBox  */
span.k-combobox {
    width: 100% !important;
    height: 30px;
}

.k-list-scroller {
    height: 100% !important;
}

.k-popup .k-list .k-item.k-state-focused {
    border-color: transparent;
}

.k-widget.k-combobox ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #32364c !important;
}

.k-widget.k-combobox ::-moz-placeholder { /* Firefox 19+ */
    color: #32364c !important;
}

.k-widget.k-combobox :-ms-input-placeholder { /* IE 10+ */
    color: #32364c !important;
}

.k-widget.k-combobox :-moz-placeholder { /* Firefox 18- */
    color: #32364c !important;
}
/* FIN Estilos kendoComboBox    */


/*Estilo Calendario*/
.k-widget.k-calendar .k-header {
    background-color: #f56600;
    border-color: #f56600;
}

    .k-widget.k-calendar .k-header .k-link {
        background-color: #f56600;
    }

.k-picker-wrap.k-state-default.k-state-focused {
    border-color: #707070; /*borde del input de edición*/
}

.k-picker-wrap.k-state-default.k-state-active .k-icon {
    color: white; /*borde del input de edición*/
}

.k-popup.k-calendar-container tbody a.k-link {
    color: #707070; /*Números del calendario*/
}

.k-popup.k-calendar-container .k-footer a.k-link {
    color: #707070; /* footer del calendario*/
}

.k-calendar td {
    text-align: center;
}

.k-calendar .k-content .k-link {
    padding: 0 .45em 0 .45em;
}

.k-calendar .k-today {
    background-color: #f5f6f6 !important;
    border-color: #f5f6f6;
}

.k-calendar .k-state-selected {
    background-color: #f5f6f6 !important;
    border-color: #f5f6f6;
}

.k-calendar .k-today.k-state-selected .k-link {
    color: #707070;
}

.k-popup.k-calendar-container .k-footer a.k-link {
    text-decoration: none;
}

#dvDtpFechaInicial span.k-datepicker { /*Ajustar el ancho de Kendo Dropdownlist*/
    width: 130px !important;
    margin-bottom: 5px;
}

#dvDtpFechaFinal span.k-datepicker { /*Ajustar el ancho de Kendo Dropdownlist*/
    width: 130px !important;
    margin-bottom: 5px;
}


/*Estilo Grid*/

#contenedorGrid,
#grid {
    margin: 0;
    padding: 0;
    border-width: 0;
    height: 100%; /* DO NOT USE !important for setting the Grid height! */
}

.k-grid td.k-state-selected, .k-grid td.k-state-selected.k-state-focused, .k-grid tr.k-state-selected {
    background-color: #f5f6f6;
}

    .k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td {
        background-color: #f5f6f6;
    }

.k-grid-header-wrap.k-auto-scrollable {
    border: none;
}

#contenedorGrid .k-filter-row th, .k-grid-header th.k-header {
    white-space: normal;
}

#contenedorGrid thead tr {
    height: 42px;
}

#contenedorGrid {
    font-size: 12px;
}

div.k-grid-header {
    /*scrollable pero con perfectScrollBar*/
    padding-right: 0 !important;
}

/*Flat table*/
.k-animation-container, .k-animation-container *, .k-animation-container :after, .k-block .k-header, .k-dialog .k-window-content, .k-list-container, .k-widget, .k-widget *, .k-widget :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.k-grid table {
    font-size: 14px;
    border-collapse: collapse;
}

.k-filter-row th, .k-grid-header th.k-header {
    border: none;
}

.k-grid-footer, .k-grid-footer td, .k-grid-header, .k-grid-header .k-header, .k-pager-numbers .k-state-selected, .k-pager-wrap, .k-scheduler-header, .km-pane-wrapper .k-grid-header .k-header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    color: #757575;
    font-weight: 400;
}


.k-grid td {
    padding: 6px 8px;
    line-height: 20px;
    vertical-align: middle;
    border: none;
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 300;
}


/*Estilo a encabezados particulares*/


/*	FACTURAR RECIBOS	Estilo a encabezados particulares*/
.k-grid-header th.k-header[data-field="numeroRecibo"],
.k-grid-header th.k-header[data-field="remision"],
.k-grid-header th.k-header[data-field="factura"],
.k-grid-header th.k-header[data-field="ordenCompra"],
.k-grid-header th.k-header[data-field="item"],
.k-grid-header th.k-header[data-field="descripcionItem"] {
    text-align: left;
}

.k-grid-header th.k-header[data-field="fecha"],
.k-grid-header th.k-header[data-field="unidadMedida"] {
    text-align: center;
}




.k-grid-header th.k-header[data-field="cantidadRecibida"],
.k-grid-header th.k-header[data-field="cantidadAplicadaAP"],
.k-grid-header th.k-header[data-field="montoAplicadoAP"],
.k-grid-header th.k-header[data-field="cantidadPorAplicar"] {
    text-align: right;
}

div.k-grid-header {
    /* Sombra inferior
border: none;
margin-bottom: 2px;
box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, .3);*/
}

div.k-grid-header {
    border: 1px solid #e0e0e0;
    margin-bottom: 0;
    box-shadow: none;
}


.k-grid-content.k-auto-scrollable {
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}


.k-grid-header-wrap {
    line-height: 2em;
}

input.mdinputborder, input.mdinputborder[type=text] {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    transition: border-color 250ms cubic-bezier(.455, .03, .515, .955);
    outline: 0;
    width: 100%;
}

    input.mdinputborder:focus {
        border-bottom: 1px solid #f56600;
    }

    input.mdinputborder + div::before {
        box-sizing: border-box;
        background-color: #f56600;
        bottom: 0;
        content: '';
        height: 2px;
        width: 100%;
        position: absolute;
        transition: .5s cubic-bezier(.4,0,.2,1);
        transform: scaleX(0);
    }

    input.mdinputborder:focus + div::before {
        transform: scaleX(1);
        visibility: visible;
    }


.btn.btn-deshabilitado {
    filter: grayscale(100);
    opacity: .2;
    pointer-events: none;
}


th.k-header.k-with-icon.k-filterable {
    padding-left: 20px;
    position: relative;
}

    th.k-header.k-with-icon.k-filterable a {
        position: absolute;
        bottom: .5em;
        left: 0px;
    }


/*Estilo mensaje de error */
.k-widget.k-tooltip-validation {
    /*color: #ffc147;*/
    color: #ffc147;
    background-color: transparent;
    border-color: transparent;
    position: absolute;
    top: 36px;
    min-width: 120px;
    /*font-size: 12px;*/
    font-size: 13px;
    text-align: right;
    z-index: 9999;
    left: 0;
}


/*Estilo mensaje de error mdinputborder */
input.mdinputborder + div + span.k-tooltip {
    top: 28px;
}

.k-widget.k-tooltip-validation span {
    color: #ffc147;
    display: none;
}

.k-widget.k-tooltip-validation {
    left: 100%;
    width: 100%;
}

input.mdinputborder + div + span.k-tooltip {
    top: 10px;
}

.k-invalid {
    border-color: red !important;
}

span.k-widget.k-tooltip.k-tooltip-validation.k-invalid-msg {
    top: 31px;
    z-index: 0;
    font-weight: 500;
    left: 0;
}

a.k-grid-filter.k-state-active span {
    color: #f56600;
}

/*Ajustar el ancho de Kendo dropdown de filtros*/
span.k-dropdown {
    width: 100% !important;
    height: 30px;
}

    /*Ajustar el ancho de Kendo dropdown de filtros*/
    span.k-dropdown .k-input {
        height: 100%;
    }


span.k-dropdown-wrap.k-state-disabled span {
    cursor: not-allowed !important;
}

/*
    Ajuste estilo input del datepicker
*/
.k-picker-wrap .k-input {
    height: 100%;
}


span.k-dropdown-wrap.k-state-disabled span {
    cursor: not-allowed !important;
}

/* spinner visible en combo deshabilitado*/
span.k-dropdown-wrap.k-state-disabled .k-icon {
    opacity: 1;
}
